text:
[Breaking] Feedback for 1.0.0 with .nfo support

The 1.0.0 branch completely revamps the way libraries work, how metadata is persisted, and how subtitles are handled. These changes will bring out-of-the-box support for Jellyfin and Emby using new .nfo files. On the other hand, Plex and Kodi do not support season/episode naming via .nfo, so they will remain unsupported. The new structure of files is as followed:
I've Been Killing Slimes For 300 Years And Maxed Out My Level
  I've Been Killing Slimes For 300 Years And Maxed Out My Level
    I've Been Killing Slimes For 300 Years And Maxed Out My Level 01 [AnimeSync].mkv
    I've Been Killing Slimes For 300 Years And Maxed Out My Level 01 [AnimeSync].nfo
    I've Been Killing Slimes For 300 Years And Maxed Out My Level 01 [AnimeSync]-thumb.jpg
  poster.jpg
  tvshow.nfo

The primary entry will be tvshow.info. This will contain the series metadata, and serve as a continuation point. For that reason, a custom animesync element is added to the .nfo. These files are by animesync to check for updates, such as new episodes or metadata. This makes the old library structure obsolete, and all related CLI actions for it are removed. An example tvshow.nfo:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<tvshow>
  <animesync>https://www.crunchyroll.com/ive-been-killing-slimes-for-300-years-and-maxed-out-my-level</animesync>
  <title>I've Been Killing Slimes For 300 Years And Maxed Out My Level</title>
  <plot>After dying of overwork in the real world, I’m reincarnated as an immortal witch, and I spend 300 years enjoying a relaxing life. At some point, though, I end up at level 99! All those years spent killing slimes to make the money to pay the bills gave me a ton of experience points. Rumors of the level 99 witch spread, and soon I’m up to my ears in curious adventurers, duelist dragons, and even a monster girl calling me her mom! I’ve never been on an adventure, but I’m the strongest in the world… What’s going to happen to my relaxing life?!</plot>
  <genre>fantasy</genre>
  <genre>comedy</genre>
</tvshow>

Each season has its own directory inside the series directory, and each episode has its own .nfo file. This file contains the metadata, but also the season and episode number. That's the magic that enables Jellyfin and Emby to properly map any anime season structure, instead of strictly adhering to S01E01-type of structure. And that's why Plex and Kodi won't work; because they don't allow that.
The way to map episodes is rather straightforward; the season and episode index translate to season and episode number. If there are specials inside a season, such as episode 13.5, it will simply become episode 14, shifting every subsequent episode by one. The alternative is detecting when an episode is a special, and moving it to a Special folder, but that requires detection that may or may not work and have various side-effects. Therefore simply counting is the most robust and reliable solution. An example .nfo file:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<episodedetails animesync="https://www.crunchyroll.com/ive-been-killing-slimes-for-300-years-and-maxed-out-my-level/episode-1-i-maxed-out-my-level-811093">
  <season>1</season>
  <episode>1</episode>
  <title>I Maxed Out My Level</title>
  <plot>Aizawa Azusa, a corporate drone who died of exhaustion from overwork in her previous life, is reincarnated in another world, where she decides to live out a slow and uneventful life forever. But then, 300 years later, she discovers that the experience she earned by defeating slimes every day just to keep up her easy lifestyle has brought her to level 99 and made her the strongest in the world. The rumors begin to spread, and soon trouble comes knocking...</plot>
</episodedetails>

And this is what that looks like in Jellyfin. I've added a fake Season 2 for illustration purposes:

Furthermore, subtitles are automatically embedded after animeloyalty-style rescaling. The changes in file structure and library structure therefore introduces a breaking change. However, seeing as this feature makes interoperability with the Jellyfin and Emby ecosystem possible, and therefore the ability to leverage Kodi through add-ons as well, I believe that this change is worth it.
This makes animeloyalty in its entirely redundant as well, and will allow animesync to become leaner and more readily be expanded to support other sites by keeping the core focus as tight as possible. The APIs and scrapers for page contexts, searches, pagination, and so forth, will therefore be dropped. This makes the amount of implementation for a new site much reduced, and keeps maintenance as light as possible. This also means that the animeloyalty project comes to a mandatory stop, as well.
You can install v1 right now using npm -g i animesync@beta.
Feedback is much appreciated.

v1.0.0-beta.1:
This beta package has two major changes. Firstly, Funimation episode naming has been streamlined; this breaks backwards compatibility with beta.0; this is why it's still a beta. Secondly, metadata is now generated for the whole series before downloads begin. This allows animesync update [urls...] to function as intended, and integration with media centers allows them to understand that local episodes are missing. It also allows custom tooling to stream the episode using the .nfo element animesync. This may very well be the future of animeloyalty; a media player for streaming purposes by double clicking the .nfo.

v1.0.0-beta.2
This beta package has the following changes:

Fix ass-compiler parsing ass subtitles incorrectly.
Fix cache pruning causing exceptions in a multi-process environment.
Fix piece emulation to solve issues with recent Funimation episodes.
Fix server not shutting down immediately upon work completion.
Reduced console logging; errors & warnings are now delegated to the log.
Removed context, page and search APIs. This reduces maintenance complexity.
Removed nordvpn support. This reduces maintenance complexity.
Removed plugin support. This reduces maintenance complexity.
Removed Funimation region normalization; they've been removed.

If this package proves to be sufficiently stable over the coming days, it'll replace the 0.x branch.
Feedback, as always, is appreciated.

Reworked ffmpeg. Linux versions are downloaded again, but any ffmpeg in your PATH takes priority over it. This ensures that setting up animesync takes minimal effort on most common systems. If you have an issue with the bundled ffmpeg, you can simply install a different version via your favorite package manager and it will override the bundled one, without ever having to touch the animesync configuration. This should make it easier to work with custom ffmpeg binaries.

v1.0.0

Fix ffmpeg OpenAPI documentation.
Fix remote episode composition when recomposing synopsis.
Migrate to uniqueid .nfo element instead of custom animesync element.
Rename server.json to settings.json, and cli.json to library.json.

Migration
Since the v1.0.0 release uses a completely different library mechanism than 0.1.x, there will be some manual actions required to have your own files recognized in the new file structure.
Step 01
Move your old anime directories to a temporary location.
We'll move episode files from here into the new library once we've created it.
Step 02
It's time to add your series. Get the URLs for your series and put them into the add command.
For example:
animesync add https://www.crunchyroll.com/a-certain-scientific-railgun
animesync add https://www.crunchyroll.com/my-hero-academia
animesync add https://www.crunchyroll.com/my-next-life-as-a-villainess-all-routes-lead-to-doom

You'll see that the series metadata will be downloaded.
Now that all the metadata is available, it's time to move your video files.
Step 03
Finally, move the video files from your temporary file into the appropriate location in the new library.
Make sure that the episode names match the .nfo names. Once you've aligned everything, simply run:
animesync download

Missing episodes will be downloaded, and everything will be ready for you.
Need to get new episodes? Just run that command again!

repo: animeloyalty/animesync


text:
Add Loading indicator when a task is created and marked as complete

Is your feature request related to a problem? Please describe.
Yes.

When a user creates a task, after clicking create button, there is a delay of 1-2 seconds for a response from the app which is not user-freindly.
Similar situation when a user marks a task as completed it stands still for 2sec.

Describe the solution you'd like
When a user creates a task, it has to show a loading indicator.
Similarly when a user checks the task item as completed it has to show a loading indicator.
Additional context
Current version of Task created:

Current version of Task marked as complete:

A similar issue had been already submitted (#67) and the PR for it is already up (#83) . Will merge changes for this PR in that.

source: gharchive/issue

authors: HaripriyaB Techno-Disaster

repo: anitab-org/mentorship-flutter

license: MIT

license_type: permissive

license_source: github-api


text:
Fix InfiniteScroll to work with zoom levels (browser)

Hi all,
I found an issue related with InfiniteScroll component when the zoom level, in the browser, is different to 100%. You can check on your own Demo page if you select a different zoom level, for example 33%, isElementAtBottom always return false.
This change only normalize the target scrolled value with the devicePixelRatio to allow library works with zoom levels (browser).
Thanks!

Thanks so much, this looks great. I didn't know about devicePixelRatio. I'd request you to make one small change, for browsers which don't support this could you change the expression to (window.devicePixelRatio || 1)
To be safe just in case the multiplication results in NaN. I hope this is okay?

Hi,
I've encountered this issue as well. I don't know if this helps but for me the fix was to replace
    const clientHeight = (target === document.body || target === document.documentElement)
    ? window.screen.availHeight : target.clientHeight;

in isElementAtBottom with just
    const clientHeight = target.clientHeight;

as target.clientHeight takes into account the zoom level (at least on Chrome it does). I don't know why you are using window.screen.availHeight but I assume there is a use-case that I am not encountering.

source: gharchive/pull-request

authors: ankeetmaini mschezrp stevearoonie


text:
jira init ignores JIRA_AUTH_TYPE and prompts instead

Describe the bug
In version 1.5, jira init appears to ignore JIRA_AUTH_TYPE and always prompts for the authentication type.

JiraCLI Version:

(Version="1.5.0", GitCommit="8449ab0c27b60caf7ca8bc5fdd5fff876e3672f5", CommitDate="2024-01-09T20:30:43+00:00", GoVersion="go1.21.5", Compiler="gc", Platform="linux/amd64")

Are you using Jira cloud or on-premise jira server?

SERVER INFO
-----------

Version:         9.5.1
Build Number:    950001
Deployment Type: Server
Default Locale:

What operating system are you using? Also mention version.

PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

What terminal are you using? Also mention version.

Running in Docker container.

To Reproduce
Steps to reproduce the behavior:
$ export JIRA_API_TOKEN='secret'
$ export JIRA_AUTH_TYPE='bearer'
$ jira init --installation=local --login my.username --board 'My Board' --project MYPROJ --server https://my.jira --force

Expected behavior
Expect the config file to be generated immediately with no console interaction.  Instead I am prompted for the authentication type.  Once that is selected the file is generated.
Additional context
This seems to be due to changes between 1.4 and 1.5.  Reverting to 1.4 restores the original behaviour.

Hi @biskinis, this should already be fixed with https://github.com/ankitpokhrel/jira-cli/pull/701.
I will make a new release this weekend. Meanwhile if you wish to test the fix,  you can do so by installing the main branch.
# Docker
$ docker run -it --rm ghcr.io/ankitpokhrel/jira-cli:main

# Golang
$ go install github.com/ankitpokhrel/jira-cli/cmd/jira@main

# Homebrew
$ brew tap ankitpokhrel/jira-cli
$ brew install jira-cli --HEAD

This should be fixed in the latest release v1.5.1

authors: ankitpokhrel biskinis

repo: ankitpokhrel/jira-cli


text:
菜单配置项(不是路由的)提供了hideMenu和disabled选项，但是并不生效

文档里,menu有提供这两个配置项，但是看到代码里计算是否显示菜单的时候并没有把menu相关的加进去，只加了路由的配置
在simpleSubMenu.vue下建议将下面这句话改下，至少hideMenu就生效了
const getShowMenu = computed(() => !props.item?.meta?.hideMenu);
改为
const getShowMenu = computed(() => !props.item?.meta?.hideMenu && !props.item?.hideMenu);
disabled暂时没看到相关代码，期待你们的下次完善
另：你们的权限控制只针对了路由，没有针对菜单，未来会对菜单进行权限控制吗（主要是同一路由，传参不同的菜单要权限配置，这个路由里没法同步办到）
再次感谢~！

可以切换成路由映射菜单模式就可以了

authors: anncwb brandyjoxic

repo: anncwb/vue-vben-admin


text:
feat(form): 去除addTab的return

General

✏ Mark the necessary items without changing the structure of the PR template.

[ ] Pull request template structure not broken

Type

ℹ What types of changes does your code introduce?

👉 Put an x in the boxes that apply

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

ℹ Check all checkboxes - this will indicate that you have done everything in accordance with the rules in CONTRIBUTING.

👉 Put an x in the boxes that apply.

[ ] My code follows the style guidelines of this project
[ ] Is the code format correct
[ ] Is the git submission information standard?
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

这样还是会存在一些问题


text:
Resource Neo, from and to Noun

We create from and to Nouns, these will be very important for a few things:

Making dialyzer pass on the reosurce-neo branch
writing ResourceLogic.verify

The first commit of this topic creates enough to do 2. but not enough to do 1., the second commit in the series of commits will allow 1.  in #1350 to actually be fulfilled

A lot of this logic is manual as I was avoiding the great to_noun and from_noun, as the choice around it are not liked, here are some nice uses of it that would streamline this work
iex(anoma@YU-NO)22> Noun.Nounable.to_noun(%{1 => 2, 2 => 3})
[[1 | 2], [2 | 3] | 0]
iex(anoma@YU-NO)23> Noun.Nounable.Map.from_noun(v(22))
{:ok, %{1 => 2, 2 => 3}}

@agureev One thing I noticed that is wrong with my topic
+$  logic-proof
  [resource=resource inputs=[public-inputs private-inputs]]
+$  compliance-proof  %compliance
+$  proof  ?(compliance-proof logic-proof)

I don't take in account that a proof can be a compliance-proof.
I may need to update this topic to account for those

repo: anoma/anoma


text:
🛑 APRO IT Solutions is down

In 77bf1ca, APRO IT Solutions (https://aproitsolutions.in/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: APRO IT Solutions is back up in 3851a00.

repo: anonxrider/uptime


text:
Critical: readline-sync crashes in latest version of npm (7.9)

npm ERR! npm install test-readline-sync: c:\ws\src\node_file.cc:1724: Assertion `(argc) == (5)' failed.
npm ERR!  1: 00007FF71147046F napi_wrap+109311
npm ERR!  2: 00007FF711415156 v8::internal::OrderedHashTablev8::internal::OrderedHashMap,2::NumberOfElementsOffset+333
02
npm ERR!  3: 00007FF7114154D1 v8::internal::OrderedHashTablev8::internal::OrderedHashMap,2::NumberOfElementsOffset+341
93
npm ERR!  4: 00007FF7114093B7 v8::base::CPU::has_sse+13095
npm ERR!  5: 00007FF711C8FC2F v8::internal::Builtins::builtin_handle+321439
npm ERR!  6: 00007FF711C8F1C4 v8::internal::Builtins::builtin_handle+318772
npm ERR!  7: 00007FF711C8F4B7 v8::internal::Builtins::builtin_handle+319527
node: v14.16.1
npm: 7.9.0
I see that you keep closing this same crash report:
https://github.com/anseki/readline-sync/issues/94
https://github.com/anseki/readline-sync/issues/98
Why did you do that?  Unless readline-sync is abandoned, you need to fix crashes!  Otherwise I will have to replace it as a dependency.

Hi @CalculonPrime, thank you for the comment.
Do you mean that you want to redirect input?
If so, fs.c doesn't work now.
Also, you don't need this module now because Node.js already implemented the features. I think that the module have already finished its part at that time.
You can use Readline (not readlineSync) or another module now, it's better choice.

Well readline isn't synchronous, so I'd have to wrap it, and more importantly, readline doesn't support hiding password typing like readline-sync.  The key API I'm using is readline-sync.question().

If you don't want to wrap that (but you can wrap it easily) or you want something like utility method, you can use another module instead.

What other module?  I've tried using async/await around the built-in readline question() API and it doesn't block the calling function.  How do I get synchronous readline?

I don't know what module you want but you can search modules in https://www.npmjs.com/ and find modules that read via TTY such as prompts.
See document for async/await: https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Asynchronous/Async_await

I know how to search modules.  I'm not aware of any that replace readline-sync.  As far as async/await, that isn't a replacement either, as it requires the entire hierarchy of calling functions to be made async.

Sorry, I don't know what module you want and problem about async/await in your app.
However, async/await and Promise are very important for JavaScript.
In general, module such as the prompts and async/await can be used instead of readlineSync. I don't know why you can't that because I don't know what you want to do.

You had better search modules by yourself if you know how to that and you don't like the module that I told.

No reply came, then this abandoned issue is closed.

authors: CalculonPrime anseki

repo: anseki/readline-sync

license: mit

license_source: bigquery


text:
Q2 à fermer

supprimer CDA_HL7_Q2 : faut-il gérer la cohérence entre les métadonnées DMPMSS du document stocké dans le DMP et les métadonnées de ce même document géré dans les logiciels métier ? et si oui, comment gérer cette cohérence.
Par exemple, dans le cas où le PS a alimenté le DMP du patient avec un document clinique et que le patient a exprimé le souhait de ne pas donner accès à ce document aux PS, alors est-il permis d’échanger ce même document au travers de la MSSanté ?
Le cas d’usage qui nous a été soumis est le suivant :
Le médecin de l’établissement alimente le DMP en positionnant le masquage aux PS à vrai à l’instant T (CR opératoire du patient) ;
Le médecin souhaite solliciter l’avis d’un collègue ;
La secrétaire médicale ou le médecin envoie par MSSanté ce même document à un collègue pour avis à T+1 jour.

[x] https://github.com/ansforge/IG-hl7v2-volet-transmission-document-cda-r2/discussions?discussions_q=
[ ] modif IG page d'accueil


text:
Check mode missing in one task

Hello,
In the task Create temporary file for raw gossip encryption key in the file nix.yml check mode is missing. This task sets the variable consul_raw_key_file, and it must do so also in check mode, otherwise the following task fails: Write gossip encryption key locally for use with new servers
This is simple to fix by adding check_mode: false on line 111 in nix.yml.
Thanks a lot for your effort and support!

Sure, no problem. See https://github.com/ansible-community/ansible-consul/pull/580.

authors: jstenvall-ducksify nre-ableton

repo: ansible-community/ansible-consul


text:
Added +x ACL on .local directory task

.local might be created without o+x flag

recheck

recheck

authors: CMartinUdden goldyfruit ssbarnea

repo: ansible-community/molecule-libvirt


text:
Opensuse image does not contain sysvinit by default

If package not installed, problems to test services will happens even
command: /sbin/init has been configured

I have been tried to run services for a while, everything works in centos and oraclelinux but fails in opensuce, using docker driver.
PR Type

Bugfix Pull Request

I am not sure if we really want this by default as systemd with containers is a mined-field.
I think that this may be a case where you need to build your own container.
I will not close this right away, maybe I am missing some good reason for including it.

If not apply this... the following modules not working in test for opensuse:

service
systemd

In documents has no infomantion how to solve it. only this notation for centos:
....
platforms:
  - name: instance
    image: centos:7
    command: /sbin/init
    tmpfs:
      - /run
      - /tmp
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
....

Everythings works in centos, because it have /sbin/init by default.

repo: ansible-community/molecule


text:
how to run this ansible

i am new to ansible. can you please explain me how to run this ansible script

Hi skrishsen,
Check out the Ansible docs.
You'll need to install the role, create a playbook and inventory, then execute the playbook.

Hello,
I wanted to reach out and let you know that this issue is being closed. We have re-worked the role and want to start with a fresh issues list with this latest version. There was a post in the Ansible-Lockdown google group (https://groups.google.com/g/ansible-lockdown) with the details of the changes that are coming. Please checkout the thread titled RHEL 7 CIS and STIG Changes for all of the details, I also have the message pasted at below.
Please as you use the latest version and open issue tickets as you find them, it is the best way for us to improve the role for everyone. Thank you for being part of the community and providing awareness of problems or advice on improvement. Reporting is a huge part of improving this project.

Hello,
Thank you to everyone in the Ansible-Lockdown community who has contributed to RHEL7 STIG/CIS. Our team at MindPoint Group has been working with the entirety of the Ansible-Lockdown project, and we have some significant updates for both RHEL 7 STIG and CIS. With these updates, some larger changes have been made. I have these changes/updates outlined below.
Testing:

CI/CD - We have implemented some automated testing pipelines to test pull requests into the devel and main branches. With the current workflow, the community will PR into the devel branch (never the main branch) for review by the administrators. When your PR is created, the first check will remain the DCO check. The second check is a functional testing pipeline that will automatically perform a functional test of the branch the PR is initiated from. Once both tests pass, someone from the Administrator Team will review the changes and merge them into the devel branch. From there, an additional review is completed before the devel branch is merged into the main branch. Only the Admin Team will perform PRs/merges into the main branch. There is also an automated pipeline for PRs from devel to main. Please do not edit the .github/workflows files since those are used as part of the pipeline.
Compliance Checking – MindPoint Group has been working to create our own compliance audit scan tool. The tool uses a goss framework executable to run custom checks that we have created. The goal is to provide a more thorough check for control compliance and decrease the number of false positives/negatives. For example, it will check the configuration file related to the control and as well as checking if that configuration is active. With a smarter scan, we can hopefully identify attempts to trick scanners as well (for example stacking a parameter in a config file where the first instance is enabled and second disabled. Most audit tools search for the first instance but the application might look for the last instance of the parameter, thus making the scanning tool think it's enabled). In testing, we have found that our audit scan runs significantly faster than other audit tools, reducing audit times. Our audit tool and profiles will have their own repositories in the Ansible-Lockdown org, but within the remediation role there will be an integrated way to incorporate the audit. Keep an eye out for the audit tools as they are released. We plan on developing a goss audit profile for each current remediation role. Going forward, we plan to release a remediation role and goss audit tool profile simultaneously.
Role Updates:
RHEL 7 STIG/CIS – We have re-written much of the RHEL 7 STIG and CIS roles to increase clarity and readability and address some functionality items. We performed these updates while creating our goss testing framework for each of these roles. We plan on pushing our update to the devel and main branches. We will move the current devel and master branches to a devel_stable_ and master_stable_ branch in the respective repositories. Accordingly, community members who rely on the current version can still use that version going forward; this process will not remove what is currently there. The latest versions of the roles have also been updated to comply with the latest benchmarks.
Role Architecture – All roles will change with regard to the structure in the tasks folder. Taking CIS as an example, there will be a folder per section and yaml files for each sub-section. For example control 1.2.1 in CIS will be located in RHEL7-CIS/tasks/section_1/cis_1.2.x.yml. The cis_1.2.x.yml file will contain all controls related to section 1.2.x. This will hopefully make updates to roles a bit easier with less risk. This matches the architecture of our audit tool, creating consistency across remediation and audit platforms. The end goal is to repeat this architecture (the best we can) on STIG roles, but we are starting with CIS.
Existing PRs and Issues – With all of these changes comes the task of cleaning up existing PR’s and issues. Our plan is to close all of the existing PR’s and issues because of the re-work. Our team is growing and should be able to stay on top of the new issues and PRs as they come in.
Again, I would like to thank the community for your involvement in this project. The input and work from the community has contributed significantly to the success of this project. Please keep an eye out for these changes, which will be rolling out in the coming weeks.

authors: benformosa georgenalen skrishsen


text:
Ensure mounting of XXX filesystems is disabled check maybe wrong

Question
Hi,
In section_1/cis_1.1/cis_1.1.1.1_7.yml file all modprobe command contains jffs instead of proper module name.
  cramfs:
    title: 1.1.1.1 | Ensure mounting of cramfs filesystems is disabled
    exit-status: 0
    exec: if [ `lsmod | grep -c cramfs` != 0 ]; then  "modprobe -n -v jffs | grep -E '(cramfs|install)'"; else echo OK; fi

  freevxfs:
    title: 1.1.1.2 | Ensure mounting of freevxfs filesystems is disabled
    exit-status: 0
    exec: if [ `lsmod | grep -c freevxfs` != 0 ]; then  "modprobe -n -v jffs | grep -E '(freevxfs|install)'"; else echo OK; fi

...
and other

I have opened only question instead of bug ticket, because I'm not entirely sure is this a bug or not.
Environment (please complete the following information):

goss version: v0.3.18
OS version: Ubuntu 20.04

hi @arvatoth-vcc
Thank you for taking the time to feedback. Its only by feedback we can continue to improve. Apoloigies for the delay on this one client requirements take priorities. This is now incorporated into a new PR that we hope to release asap.
Hoping in the next couple of days to get this released.
best regards
uk-bolly

authors: arvatoth-vcc uk-bolly


text:
ansible-navigator not able to list roles in a collection

ISSUE TYPE

Bug Report

SUMMARY
While we can list roles and check the documents for roles from automation hub, we cannot list roles with cli ansible-navigator ('ansible-navigator collections').
ANSIBLE-NAVIGATOR VERSION

ansible-navigator 1.1.0

CONFIGURATION

LOG FILE

STEPS TO REPRODUCE

ansible-navigator collections
select a collection with roles, for example 'redhat.insights'. type the number to enter content list of the collection.
check if all content of the selected collection shows roles.

EXPECTED RESULTS

expected: the roles in a collection should be shown.
ACTUAL RESULTS

actual: roles are missing from the content of the collection.
ADDITIONAL INFORMATION

As a comparison, please check following link for example collection to show roles in its content:
https://console.redhat.com/ansible/automation-hub/repo/published/redhat/insights/content?showing=all

Thanks @cidrblock
Good to know this is duplicated. Looking forward the release.
It is not very convenient that not able to get information of roles in cli.

@cidrblock
I tried to run this pre-release version 'ansible-navigator-2.0.0b0' in rhel8, with python39, but got error (i installed with 'pip install --user'):
FileNotFoundError: [Errno 2] No such file or directory: '/root/.local/share/ansible_navigator/utils/key_value_store.py'
Do you know the fix?

@patrick-tang-redhat I see root there, can you try and install it with the --use flag?  (if you didn't)
pip install ansible-navigator==2.0.0b0 --user
Still working to get the release candidate out today, keep me posted please

Sorry, I see you did, let me look

Can you run it with:
ansible-navigator --ll debug --la false and send the resulting log file over?

@cidrblock
please find below the logs:
[root@rhel8 share]# ansible-navigator --ll debug --la false Traceback (most recent call last):   File "/bin/ansible-navigator", line 11, in <module>     load_entry_point('ansible-navigator==1.1.0', 'console_scripts', 'ansible-navigator')()   File "/usr/lib/python3.8/site-packages/ansible_navigator/cli.py", line 102, in main     new_messages, new_exit_messages = parse_and_update(sys.argv[1:], args=args, initial=True)   File "/usr/lib/python3.8/site-packages/ansible_navigator/initialization.py", line 194, in parse_and_update     new_messages, new_exit_messages, cache = get_and_check_collection_doc_cache(   File "/usr/lib/python3.8/site-packages/ansible_navigator/initialization.py", line 113, in get_and_check_collection_doc_cache     collection_cache = _get_kvs(share_directory, collection_doc_cache_path)   File "/usr/lib/python3.8/site-packages/ansible_navigator/initialization.py", line 139, in _get_kvs     spec.loader.exec_module(mod)   File "<frozen importlib._bootstrap_external>", line 779, in exec_module   File "<frozen importlib._bootstrap_external>", line 915, in get_code   File "<frozen importlib._bootstrap_external>", line 972, in get_data FileNotFoundError: [Errno 2] No such file or directory: '/root/.local/share/ansible_navigator/utils/key_value_store.py'

@cidrblock
seems the key_value_store.py is not in the place:
`
[root@rhel8 share]# ls -l
total 0
drwxr-xr-x. 5 root root 48 Apr  7 13:30 ansible_navigator
-rw-r--r--. 1 root root  0 Apr  7 13:31 ansible-navigator.log
drwxr-xr-x. 3 root root 19 Apr  7 11:35 ansible-runner
[root@rhel8 share]# ls ansible_navigator/
grammar  themes  utils
[root@rhel8 share]# ls ansible_navigator/utils
catalog_collections.py  image_introspect.py  init.py  pycache
`

Somehow I think your installation is odd, your first message has a mention of _get_kvs which is not in the current code base, and also mentions load_entry_point('ansible-navigator==1.1.0', 'console_scripts', 'ansible-navigator') which is the old version

Can you try with an install in a virtual environment?  I can provide the steps

@cidrblock could you provide the steps for virtual environment? I'm not familiar with it.
In the meantime, let me clean up the environment to put back.
I installed python39 as module, so everything goes together

step coming

@cidrblock
it might have something to do with the ee environment.
I have tried to use venv, and 2.0.0b0 worked for me.
However, I noticed there is a big difference:
with venv, it tried to pull down a new ee image: quay.io/ansible/creator-ee:v0.4.0.
While i was using non virtual env, it was using: registry.redhat.io/ansible-automation-platform-21/ee-supported-rhel8:latest
The old error log:
`
[root@rhel8 tmp]# ansible-navigator collections
Execution environment image and pull policy overview
Execution environment image name:  registry.redhat.io/ansible-automation-platform-21/ee-supported-rhel8:latest
Execution environment image tag:   latest
Execution environment pull policy: tag
Execution environment pull needed: True
Updating the execution environment
Trying to pull registry.redhat.io/ansible-automation-platform-21/ee-supported-rhel8:latest...
Getting image source signatures
Checking if image destination supports signatures
Copying blob 510abfcdf6bc skipped: already exists
Copying blob 4aa6faa2acb0 skipped: already exists
Copying blob 916e0bda4eea skipped: already exists
Copying blob 4a3604715398 skipped: already exists
Copying blob 6ccfcef17d4b skipped: already exists
Copying config 43cfa4a7f9 done
Writing manifest to image destination
Storing signatures
43cfa4a7f9f7176c797dfc05a211cc754e0cb29e1ffd0d2a1ad954a8dd690b81
Traceback (most recent call last):
File "/bin/ansible-navigator", line 11, in
load_entry_point('ansible-navigator==1.1.0', 'console_scripts', 'ansible-navigator')()
File "/usr/lib/python3.8/site-packages/ansible_navigator/cli.py", line 141, in main
return_code = run(args)
File "/usr/lib/python3.8/site-packages/ansible_navigator/cli.py", line 82, in run
wrapper(ActionRunner(args=args).run)
File "/usr/lib64/python3.8/curses/init.py", line 105, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/lib/python3.8/site-packages/ansible_navigator/action_runner.py", line 58, in run
self.initialize_ui(DEFAULT_REFRESH)
File "/usr/lib/python3.8/site-packages/ansible_navigator/action_runner.py", line 48, in initialize_ui
self._ui = UserInterface(
File "/usr/lib/python3.8/site-packages/ansible_navigator/ui_framework/ui.py", line 123, in init
super().init(ui_config=ui_config)
File "/usr/lib/python3.8/site-packages/ansible_navigator/ui_framework/curses_window.py", line 63, in init
self._set_colors()
File "/usr/lib/python3.8/site-packages/ansible_navigator/ui_framework/curses_window.py", line 189, in _set_colors
with open(self._ui_config.terminal_colors_path) as data_file:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.local/share/ansible_navigator/themes/terminal_colors.json'
`

You can use the supported ee bu supplying it on the command line:
ansible-navigator --eei registry.redhat.io/ansible-automation-platform-21/ee-supported-rhel8:latest
Or putting it in a ansible-navigator settings file.
The upstream releases will point to the creator-ee

@cidrblock I just tried with --eei to specify ee-supported image, but it just ran fine in venv. So not sure why i got issue in non-venv .

Something about the way it was installed outside the virtual environment...
If you want to use it without the virtual environment, you can
deactivate the virtual environment
$ deactivate
and then remove the RPM installed ansible-navigator
and remove the previously installed pip package
$ pip uninstall ansible-navigator
and try to install if fresh:
$ pip install ansible-navigator==2.0.0b0 --user
this might work, I haven't tried a pip install on top of an RPM...

@patrick-tang-redhat JSYK:
pip install ansible-navigator==2.0.0rc1
Just released.
Let me know if it's ok to close this issue now :)

@cidrblock
sorry. was caught in customer work.
I uninstalled the rpm, and used pip to install 2.0.0rc1 ('pip3 install ansible-navigator==2.0.0rc1'),
but got error:
`
[root@rhel8 ~]# /usr/local/bin/ansible-navigator --version
ansible-navigator 2.0.0rc1
[root@rhel8 ~]# /usr/local/bin/ansible-navigator collections --eei ee-supported-rhel8
Execution environment image and pull policy overview
Execution environment image name:     ee-supported-rhel8:latest
Execution environment image tag:      latest
Execution environment pull arguments: None
Execution environment pull policy:    tag
Execution environment pull needed:    True
Updating the execution environment
Running the command: podman pull ee-supported-rhel8:latest
Trying to pull registry.redhat.io/ansible-automation-platform-21/ee-supported-rhel8:latest...
Getting image source signatures
Checking if image destination supports signatures
Copying blob 4a3604715398 skipped: already exists
Copying blob 4aa6faa2acb0 skipped: already exists
Copying blob 6ccfcef17d4b skipped: already exists
Copying blob 916e0bda4eea skipped: already exists
Copying blob 510abfcdf6bc skipped: already exists
Copying config 43cfa4a7f9 done
Writing manifest to image destination
Storing signatures
43cfa4a7f9f7176c797dfc05a211cc754e0cb29e1ffd0d2a1ad954a8dd690b81
Traceback (most recent call last):
File "/usr/local/bin/ansible-navigator", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.9/site-packages/ansible_navigator/cli.py", line 159, in main
run_return = run(args)
File "/usr/local/lib/python3.9/site-packages/ansible_navigator/cli.py", line 97, in run
wrapper(ActionRunner(args=args).run)
File "/usr/lib64/python3.9/curses/init.py", line 94, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/local/lib/python3.9/site-packages/ansible_navigator/action_runner.py", line 90, in run
self.initialize_ui(DEFAULT_REFRESH)
File "/usr/local/lib/python3.9/site-packages/ansible_navigator/action_runner.py", line 73, in initialize_ui
self._ui = UserInterface(
File "/usr/local/lib/python3.9/site-packages/ansible_navigator/ui_framework/ui.py", line 154, in init
super().init(ui_config=ui_config)
File "/usr/local/lib/python3.9/site-packages/ansible_navigator/ui_framework/curses_window.py", line 64, in init
self._set_colors()
File "/usr/local/lib/python3.9/site-packages/ansible_navigator/ui_framework/curses_window.py", line 198, in _set_colors
with open(self._ui_config.terminal_colors_path, encoding="utf-8") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/ansible_navigator/themes/terminal_colors.json'
`
I guess I just wait for the new release.

hmmm I'm wondering if the RPM uninstall didn't remove some of the directories
try deleting the /usr/share/ansible_navigator directory

I uninstall rpm ansible-navigator then install 2.0.0rc1 with pip. So yum should not remove any rc1 directories.
When I was uninstalling, yum removed some python38 dependencies together:
`
Removing:
ansible-navigator                                    noarch                         1.1.0-1.el8ap                          @ansible-automation-platform                         1.1 M
Removing unused dependencies:
python38-importlib-resources                         noarch                         1.1.0-2.el8ap                          @ansible-automation-platform                         109 k
python38-onigurumacffi                               x86_64                         1.1.0-1.el8ap                          @ansible-automation-platform                          45 k
Transaction Summary
`

@cidrblock
After removing /usr/share/ansible_navigator directory, I'm able to run new rc1 successfully to see roles and its related docs.
What is explanation about the removed directory? and similar '~/.local/share/ansible_navigator' directory when using 'pip install --user'.

It seems the RPM uninstall doesn't remove the directory it created, so when the pip installed version runs it finds that directory, even though it is empty, and tries to load from it.  We are trying to get rid of the share directory entirely, which is the real long term fix, given that I'm not sure there is a reason to do anything right now.  I think it would be rare for someone to be switching from RPM to pip, unless they are testing or developing...

It seems the RPM uninstall doesn't remove the directory it created, so when the pip installed version runs it finds that directory, even though it is empty, and tries to load from it. We are trying to get rid of the share directory entirely, which is the real long term fix, given that I'm not sure there is a reason to do anything right now. I think it would be rare for someone to be switching from RPM to pip, unless they are testing or developing...

@cidrblock
Thanks for the explanation.

@cidrblock
Since the change is planned and on the way, I think this can be closed.

Resolved by #1059

repo: ansible/ansible-navigator


text:
Add example for results in global coordinates

closes #434

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

Project coverage is 92.11%. Comparing base (2649cb0) to head (e5439a8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #456      +/-   ##
==========================================
- Coverage   92.13%   92.11%   -0.02%
==========================================
  Files          49       49
  Lines        3304     3299       -5
==========================================
- Hits         3044     3039       -5
  Misses        260      260

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

LGTM, I only wonder if this is prominent enough, or if it should be a separate example for increased visibility.

LGTM, I only wonder if this is prominent enough, or if it should be a separate example for increased visibility.

I would say this is more of niche use case and fits well with the filtering examples (it does not make much sense to analyse data in global coordinates without filtering by ply). So I would keep it here.

repo: ansys/pydpf-composites


text:
Update python version

changed python 3.8 to 3.11

There seem to be more places where Python 3.7 is mentioned, Can you please update those too?

Changed the remaining places mentioning Python 3.7, and updated the FAQ to use version v232, as that is the first ANSYS release that includes a Python version newer than 3.7 (it includes Python 3.10).

Related issue: https://github.com/ansys/pyfluent/issues/1590

 There seem to be more places where Python 3.7 is mentioned, Can you please update those too?

Yes, sure. Thank you.

Changed the remaining places mentioning Python 3.7, and updated the FAQ to use version v232, as that is the first ANSYS release that includes a Python version newer than 3.7 (it includes Python 3.10).

@raph-luc  Thank you..

authors: hpohekar mkundu1 raph-luc

repo: ansys/pyfluent


text:
Interpretability of models

Hi,
Thanks for this great open source project. It definitely is a great tool to solve many real life problems. Since I am a total newbie to this domain, I hope you could give me some advices regarding the interpretability.
For example, I get a prediction saying the next event will be event A. Is possible to get something like “the model predicts the coming of event A because there are events B and C in the input event sequence”?
Thank you.

Hi,
The prediction is better interpreted as "the model predicts event A given the history of the events (which contains a sequence of event A, B, C etc)". You can have a look at Neural Hawkes Process (https://arxiv.org/abs/1612.09328) or other papers for a more detailed explanation.

Hi,
Thanks for the pointer. I will check that.
Regarding the interpretability, I am sorry I didn't address my question clearly. What I meant is, can we get an estimation about how much event B (or any other event) contributes to the prediction of event A? Something similar to the feature importance in Gradient Boosted Decision Trees.

Hi,
The causality matrix can solve your problem. You can have a look at this paper https://arxiv.org/abs/2002.07906.
However, we have not implemented this model in EasyTPP as it is not a standard tpp, which is hard to fit in our current codebase.

Hi,
Understood. Thanks a lot for your advice.

authors: cckao iLampard

repo: ant-research/EasyTemporalPointProcess


text:
Strange issue while making new product

Hey so, when i tried to create new product got this:

So i opened the editor played for a while and after changing this block of code:

( The strange thing is that this key/value pair syntax is absolutely valid )
TO:

For some strange reason it worked:

( With some mess with the new lines )

well, this is very wired because I just tested it and i worked fine locally.. I ll give it a look

Hey i forgot to say that this second foreach that i applied works ONLY when creating new products, but when i go in catalog and try to see some product it breaks to this:
]

Actually with this second foreach i can browse and see only products created by the seller account ( not seeded )

This is because each feature is assumed to return a string, but instead it returns a array like this:
Dimensions: ['blablabla', '']
I think the problem is in function validateFeatures(), which is called when storing or updating a product.
if ($row['help_message'] != '' && (strpos('video image document', $row['input_type']) === false)) {
                    $message = '';
                    if (isset($row['helpMessageArray']['general'])) {
                        $message = $row['helpMessageArray']['general'];
                    } elseif (isset($row['helpMessageArray']['general_selection'])) {
                        $message = $data['help_msg_'.$row['indexByName']];
                    }
                    $values = [$data['feature_'.$row['indexByName']], $message];
                } else {
                    $values = $data['feature_'.$row['indexByName']];
                }

Notice the if statement in the first line is like if ($row['help_message'] != ''), but the help_message column of each productdetails is actually seeded like this:
// ProductsDetailTableSeeder.php

        ProductDetail::create([
            'name'             => 'virtual weight',
            'input_type'       => 'text',
             'status'          => 'active',
            'default_values'   => '{}',
            'validation_rules' => '{}',
            'help_message'     => '{}',
            'type_products'    => 'key',
            'max_num_values'   => 1,
        ]);

so the if statement here returns a TRUE, while we expect it to be a FALSE. So each values of features returns a 2-list like $values = [$data['feature_'.$row['indexByName']], $message]; istead of the data only. That result in the failure of function ucwords() in the blade template file.

I will do a deed check because for some reason everything is bad. Those erros are not in the demo page and I need to find out what's goong on

I just merged a fix for this issue to development branch. Please, check if resolved your problem.
Commit: https://github.com/ant-vel/antVel/commit/044dad27baaeeb3d55d3a1e9dd4d71a65fa02c8c
thanks for testing!

Yes, it works great now!

authors: TsenkoTsenov gocanto riverrun46

repo: ant-vel/antVel


text:
vue3在script上使用setup后引入的组件无法解析到

Describe the bug
在vue文件中通过给script设置setup后组件可以使用，但是在无法解析到
组件模板：
<script setup lang="ts">
import { ProCard } from 'element-pro-components';

</script>

vue.config.js配置方式
require('unplugin-vue-components/webpack')(
        {
          resolvers: [
            (name) => {/*  */
              if (name.startsWith('Pro')) {
                const fileName = name.slice(3).replace(/\B([A-Z])/g, '-$1').toLocaleLowerCase();
                return {
                  importName: name,
                  path: 'element-pro-components',
                  from: 'element-pro-components/lib',
                  sideEffects: `element-pro-components/lib/styles/${fileName}`
                }
              }
            }
          ],
        })

无法解析到引用的组件
Reproduction
none
System Info
window10
chrome:107.0.5304.87

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

The resolver is not correct.
https://github.com/antfu/unplugin-vue-components/blob/c1ffcd665d283ecb0c2453ac5c8ad7affb73b09e/src/types.ts#L30-L32
if you ref  to the type
ComponentInfo should be
{
  as?: string
  name?: string
  from: string
  sideEffects?: SideEffectsInfo
}

So I think you should return
        (name) => {
          if (name.startsWith('Pro')) {
            const fileName = name.slice(3).replace(/\B([A-Z])/g, '-$1').toLocaleLowerCase()
            return {
              name,
              from: 'element-pro-components',   //define is not in lib
              sideEffects: `element-pro-components/lib/styles/${fileName}`,
            }
          }
        },

authors: Yxiuchao azaleta

repo: antfu/unplugin-vue-components


text:
bug: mismatching HTML output

Describe the bug
vite-ssg generates mismatching server-generated and frontend HTML.
Specifically, this is happening because JSDOM is used to modify the input HTML structure during the server-side rendering process.
Input
<!DOCTYPE html>

      span

h1

JSDOM Output
JSDOM is changing the input HTML structure. It is moving the h1 tag outside of the p tag.
<!DOCTYPE html>

      span

h1

So technically, this is actually correct behavior because apparently by HTML spec, h1 tag cannot be inside a p tag.
However, in my case, the HTML is generated by vite-plugin-vue-markdown (which uses markdown-it) when I provide it with the following input:
span
h1

Proposed solution
Using happy-dom instead of jsdom yields the expected behavior.
Happy DOM Output
<!DOCTYPE html>

      span

h1

Reproduction
https://stackblitz.com/edit/stackblitz-starters-pcu9op?file=index.mjs
System Info
N/A

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Upon trying to open a fix, I realized critters will apply the same fix too, moving the h1 out of the p tag. Also prettier complains if there's a h1 inside of a p tag.
This may have to be fixed on the HTML generation side when parsing the markdown.

repo: antfu/vite-ssg


text:
managing index templates in elasticsearch

Hi,
When using this jmeter plugin, I noticed that the mapping in elasticsearch indexes was not consistent.
Sometimes date fields are mapped to long type.
 "Timestamp" : {
          "type" : "long"
        },

I suggest to use an index template to define mapping explicitly.
PUT _template/jmeter-2.6.10
 {
   "index_patterns":[
        "jmeter-2.6.10-*"
     ],
   "aliases" : { },
   "mappings" : {
     "properties" : {
       "AllThreads" : {
         "type" : "long"
       },
       "BodySize" : {
         "type" : "long"
       },
       "Bytes" : {
         "type" : "long"
       },
       "ConnectTime" : {
         "type" : "long"
       },
       "ContentType" : {
         "type" : "text",
         "fields" : {
           "keyword" : {
             "type" : "keyword",
             "ignore_above" : 256
           }
         }
       },
       "DataType" : {
         "type" : "text",
         "fields" : {
           "keyword" : {
             "type" : "keyword",
             "ignore_above" : 256
           }
         }
       },
       "ElapsedTime" : {
         "type" : "date"
       },
       "ErrorCount" : {
         "type" : "long"
       },
       "FailureMessage" : {
         "type" : "text",
         "fields" : {
           "keyword" : {
             "type" : "keyword",
             "ignore_above" : 256
           }
         }
       },
       "GrpThreads" : {
         "type" : "long"
       },
       "IdleTime" : {
         "type" : "long"
       },
       "InjectorHostname" : {
         "type" : "text",
         "fields" : {
           "keyword" : {
             "type" : "keyword",
             "ignore_above" : 256
           }
         }
       },
       "Latency" : {
         "type" : "long"
       },
       "ResponseCode" : {
         "type" : "text",
         "fields" : {
           "keyword" : {
             "type" : "keyword",
             "ignore_above" : 256
           }
         }
       },
       "ResponseTime" : {
         "type" : "long"
       },
       "SampleCount" : {
         "type" : "long"
       },
       "SampleEndTime" : {
         "type" : "date"
       },
       "SampleLabel" : {
         "type" : "text",
         "fields" : {
           "keyword" : {
             "type" : "keyword",
             "ignore_above" : 256
           }
         }
       },
       "SampleStartTime" : {
         "type" : "date"
       },
       "SentBytes" : {
         "type" : "long"
       },
       "Success" : {
         "type" : "boolean"
       },
       "TestElement" : {
         "properties" : {
           "name" : {
             "type" : "text",
             "fields" : {
               "keyword" : {
                 "type" : "keyword",
                 "ignore_above" : 256
               }
             }
           }
         }
       },
       "TestStartTime" : {
         "type" : "date"
       },
       "ThreadName" : {
         "type" : "text",
         "fields" : {
           "keyword" : {
             "type" : "keyword",
             "ignore_above" : 256
           }
         }
       },
       "Timestamp" : {
         "type" : "date"
       },
       "URL" : {
         "type" : "text",
         "fields" : {
           "keyword" : {
             "type" : "keyword",
             "ignore_above" : 256
           }
         }
       }
     }
   },
   "settings" : {
     "index" : {
       "number_of_shards" : "1",
       "number_of_replicas" : "1"
   	}
   }
}

Hi @WassimDhib,
The field timestamp should technically always be a long - it's a timestamp in millisecond.  For a full list of types used when sending the documents to the index:
https://github.com/delirius325/jmeter-elasticsearch-backend-listener/blob/master/src/main/java/io/github/delirius325/jmeter/backendlistener/elasticsearch/ElasticSearchMetric.java#L52-L101
As well as JMeter's documentation:
https://jmeter.apache.org/api/org/apache/jmeter/samplers/SampleResult.html

Yes, from the point of view of jmeter, the timestamp is always a long
But, if you don't provide mapping information, elasticsearch won't be able to map this field to a date (the behavior may be inconsistent).
from elasticsearch docs :

You know more about your data than Elasticsearch can guess, so while dynamic mapping can be useful to get started, at some point you will want to specify your own explicit mappings.

It's a problem since your time series require a field with date type to create charts/visualizations

Are you using Kibana or Grafana to generate your dashboard? Because I have been using Grafana with the dynamic mapping and never really had any issues.

I use kibana

kibana being generally less aimed towards time series graphs, I'd suggest using Grafana to create your dashboards.
As for the change, you are more than welcome to suggest the changes through a pull request :smile:

I had the same problem, solved it with a template. Would like to point out that while kibana is geared towards time series, its grouping/bucketing of graphs is quite ahead of Graphana.

It's not only a kibana problem, since the mapping is also responsible of optimizing the disk space allocated to indices in elasticsearch .
You can also specify index settings in template to improve indexing speed (number of primary shards, refresh interval ... ).
I'll take the time to make a PR to be able to manage templates.

Thanks, the timeout issue is resolved.
What would be the way to resolve the timestamp as it is displayed in ms to be used in Kibana?
E.G.    currently  "Timestamp": 1590995355655
Can we get the same format -  yyyy-MM-dd'T'HH:mm:ss.SSSZZ
which would also apply to
"ElapsedTime": 1577829723000,
"TestStartTime": 1590995232368,

I'm new with ELK. I have already activated the k8s pods on ELK and Grafana. I have already created a test plan with the plugin. Grafana can communicate with ELK, but I don't know how to import this model index. Could someone help me?

authors: WassimDhib bratwurzt clefego delirius325 gholtzhausen


text:
Empty response from Bedrock Claude Haiku

Hello,
I wrote my own wrapper as seen below, and for a majority of my responses (90%), I'm getting message.content = [].
Is this expected? I am not getting errors thrown, it's just returning an empty list. I'm running it in batches of 10 requests at a time, seen below. Please do let me know if there's something obvious I'm not understanding correctly.
row.convert_anthropic() just returns the dict of {role, content}
Edit: Fixed this by having the whole prompt + content in 'user' role. Using 'assistant' as the final message makes the response enter completion mode, as the docs described, which for some reason can return nothing sometimes.
async def async_get_chat_response(
        self,
        prompts: List[ModelMessage],
        user_id: str | None,
        model_name: str,
        **kwargs,
    ) -> Optional[str]:
        max_tokens = kwargs.pop("max_tokens", 1000)
        message: Message = await self.async_client.messages.create(
            messages=[row.convert_anthropic() for row in prompts],
            model=self._get_model_name(model_name),
            # metadata={"user_id": user_id},
            max_tokens=max_tokens,
            **kwargs,
        )
        if len(message.content) == 0:
            return None
        return message.content[0].text

for row in rows:
  if row['passageId'] not in completed:
    tasks.append(client.async_get_chat_response([ModelMessage(row['content'], 'user'), ModelMessage(prompt, 'assistant')], 'system', 'claude-3-haiku@20240307', temperature=0.2, max_tokens=64))

chunkSize = 10

print("executing tasks", len(tasks))

with open('passage_embedding_concept.jsonl', 'a') as f:
  for i in tqdm(range(0, len(tasks), chunkSize)):
    realI = i * chunkSize
    responses = await asyncio.gather(*tasks[realI:realI+chunkSize])
    _rows = rows[realI:realI+chunkSize]
    for index, response in enumerate(responses):
      if response is not None and len(response) > 0:
        f.write(json.dumps({
          **_rows[index],
          'concepts': response.split('\n')
        }) + '\n')

@nicholas-tutorme Hi Nicholas can you please share the document where you saw "Using 'assistant' as the final message makes the response enter completion mode"?

https://docs.anthropic.com/en/api/messages
" If the final message uses the assistant role, the response content will
continue immediately from the content in that message. This can be used to
constrain part of the model's response."
Hope this helps.
On Wed, 5 Jun 2024 at 22:12, xhw1 @.***> wrote:

@nicholas-tutorme https://github.com/nicholas-tutorme Hi Nicholas can
you please share the document where you saw "Using 'assistant' as the final
message makes the response enter completion mode"?
—
Reply to this email directly, view it on GitHub
https://github.com/anthropics/anthropic-sdk-python/issues/499#issuecomment-2150970528,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBPNZPHFYH2S6HJEBG4SNCTZF55LTAVCNFSM6AAAAABHYGOMKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJQHE3TANJSHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

repo: anthropics/anthropic-sdk-python


text:
不定期打印Time has been called back错误

请问如下的错误是何原因？有什么影响？谢谢
github.com/antlabs/timer:Time has been called back?from(165726941031)(165726941036)
github.com/antlabs/timer:Time has been called back?from(165726941031)(165726941036)
github.com/antlabs/timer:Time has been called back?from(165726941032)(165726941036)
github.com/antlabs/timer:Time has been called back?from(165726941032)(165726941036)
github.com/antlabs/timer:Time has been called back?from(165726941032)(165726941036)

机器的时间准吗?

可否发下用法的代码?

可否发下用法的代码?

就是简单的使用，类似
if retryNext != time.Duration(0) {
TM.AfterFunc(retryNext,  callback)
}

最新版本暂未发现问题，先关闭了

authors: guonaihong marsbible

repo: antlabs/timer


text:
Improve documentation

[x] ~Rename "Getting started" to "Background" /"Why use phantom types?"~
[ ] Write a new Getting started section focusing on using predicate functions.
[ ] Add section about bounds
[x] Write a small example to include in readme.
[x] Address todos.
[x] Move predicate and type descriptions into docstrings and use autodoc.
[x] Use a theme that renders autodocs nicely.
[x] Build docs in CI.
[x] Document Phantom 🤦♂

The section about bounds should Bounds start out from the current text in Phantom docstrings and comments, and possibly reduce the length of those and making them refer to this new longer documentation.
It should cover:

Resolution order: class arg, implicit, inherited.
Allowed to be abstract.
Covariance, e.g. must be subtype (>=) to super.bound.
Introspectable as __bound__
Relation to argument type of __predicate.
Relation to runtime type.

repo: antonagestam/phantom-types


text:
Support other link selectors

Is it possible to include

meta itemprop=“image”
meta property=“og:image”

as link selectors for the images grabbed? I'm trying to grab larger favicons (not just 16x16) but a lot of websites are moving away from including larger sized favicon images in favor of these tags.
Otherwise the api is easy to use and works well, thanks!

Yes, it is possible. I will add support for og:image.
Thank you.

Sounds great, thanks for the reply and I look forward to testing it out!

authors: antongunov mawarijo


text:
Suggestion: Unfocused Apps

What are you experiencing an issue with?

[ ] Aurora
[ ] Aurora supported game, (Fill in the game)
[ ] Aurora Wrapper
[ ] Aurora Profile
[ ] Aurora supported device, (Fill in problematic devices)
[ ] Aurora Scripts
[ ] Aurora Updater
[ ] Aurora Lighting issue
[X] Other, (Suggestion)

What kind of an issue is it?

[ ] Crash
[ ] Performance problems
[ ] Visual bug
[ ] Localization issue
[X] Enhancement suggestion
[ ] Device issue
[ ] Other, (Fill in another type of issue here)

Expected behavior:
Create a rule/checkbox that allows Aurora to "prefer" a certain app (and its corresponding app profile) if that app is detected running; i.e., Spotify Music or the desktop version of Google Play Music, so visualizer support and lighting can continue while music plays in background.
Actual behavior:
Switching away from Spotify or the relevant music app causes the keyboard to revert to the desktop profile. Setting the desktop profile to the Equalizer effect works, but I have a Corsair CUE profile for default lighting, and only want the Equalizer profile running when a music app is running.
How often does this problem occur?

This problem occurs... Everytime
Please describe the steps to reproduce this issue:
The issue can be reproduced by doing following steps:

N/A, Suggestion

What is the version of Aurora you are experiencing this issue with?

My version is... (0.6.0b)
Does the previous version of Aurora have this issue?
N/A, Suggestion
Please include any logs, screenshots, or files that are related to this issue:

For logs, you can use: http://pastebin.com/
For screenshots, you can use: http://imgur.com/
For files, you can use: http://www.tinyupload.com/ , https://www.dropbox.com/ , or attach them to the issue.

I've got exactly this planned already for v0.7.0 using the Layer Logic, I'll use this for tracking the feature.

Excellent, thanks for the awesome job! Really glad to see Aurora evolved to include bridging all the various RGB products and add awesome new features to them! Is there a donation link available somewhere?

@Dreadp1r4te You can see the details of the development team and donations here

You can now do this with overlay layers.

repo: antonpup/Aurora


text:
Use private function instead of CONSTRUCT() macro

What kind of change does this pull request introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style update
[x] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Describe your Pull Request:
This is related to #9.

LGTM :+1: , Thank you!

authors: antony-jr technic

repo: antony-jr/AppImageUpdaterBridge


text:
Support for barrels?

Issue Overview
Weird issue when trying to use barrels.
Issue Description
I've forked your starter and updated the styles to use my LESS files. Site comes up fine.
Now I've replaced the navbar component with my own header component, and I've moved the logger into a shared folder with a few of my own common components. In both of those cases, I've used an index.ts file to create a barrel (I'm trying to follow the style guide.
The site recompiles with no errors, but I'm getting a pair of 404s now in the browser:

/tmp/app/header.js
/tmp/app/shared.js

I can't figure out why or where these urls are being generated -- too much typescript magic for me since I'm new to .ts. Is there a missing configuration to support using barrels?
Information

Operating System
Arch Linux 4.5.2

Node version
6.2.0

NPM Version
3.9.2

Environment
Browser

Ah - it was a system js configuration I was missing. Needed to add to the packages in system.conf.js:
var packageNames = [
    '@angular/common',
    '@angular/compiler',
    '@angular/core',
    '@angular/http',
    '@angular/platform-browser',
    '@angular/platform-browser-dynamic',
    '@angular/router',
    '@angular/testing',
    'lodash',
    'app/shared',
    'app/header',
    'app/header/shared'
];

@finleysg , yes you need to register them there or you must put suffix like
import {any} from 'app/shared/index'

of course i prefer registering them first

authors: antonybudianto finleysg


text:
Use customized Equal to reduce memory footprint

reflect.DeepEqual is generic but has some extra overhead like detecting
cycle and constructing intermediate slices for map keys.
endpointsChangesTracker.OnEndpointUpdate is called quite often and it
uses reflect.DeepEqual to check if an Endpoints object is changed.
pprof heap shows reflect.DeepEqual called by it contributed 10% of
alloc_space.
This patches adds a customized Equal method to EndpointsMap which avoids
the above overhead.
benchmark comparison with an Endpoints having 10 EndpointAddresses:
EndpointsChangesTrackerOnEndpointUpdate/equal-48                          49.2µs ± 2%    25.4µs ± 2%  -48.34%  (p=0.008 n=5+5)
EndpointsChangesTrackerOnEndpointUpdate/not_equal,_same_length-48         38.1µs ± 3%    24.1µs ± 1%  -36.68%  (p=0.008 n=5+5)
EndpointsChangesTrackerOnEndpointUpdate/not_equal,_different_length-48    24.6µs ± 2%    22.2µs ± 2%   -9.77%  (p=0.008 n=5+5)

name                                                                    old alloc/op   new alloc/op   delta
EndpointsChangesTrackerOnEndpointUpdate/equal-48                          7.91kB ± 0%    4.67kB ± 0%  -40.96%  (p=0.016 n=5+4)
EndpointsChangesTrackerOnEndpointUpdate/not_equal,_same_length-48         6.53kB ± 0%    4.67kB ± 0%  -28.53%  (p=0.008 n=5+5)
EndpointsChangesTrackerOnEndpointUpdate/not_equal,_different_length-48    4.80kB ± 0%    4.62kB ± 0%     ~     (p=0.079 n=4+5)

name                                                                    old allocs/op  new allocs/op  delta
EndpointsChangesTrackerOnEndpointUpdate/equal-48                             151 ± 0%        74 ± 0%  -50.99%  (p=0.008 n=5+5)
EndpointsChangesTrackerOnEndpointUpdate/not_equal,_same_length-48            118 ± 0%        74 ± 0%  -37.29%  (p=0.008 n=5+5)
EndpointsChangesTrackerOnEndpointUpdate/not_equal,_different_length-48      74.0 ± 0%      71.0 ± 0%   -4.05%  (p=0.008 n=5+5)

Signed-off-by: Quan Tian qtian@vmware.com
For #2457

Codecov Report

Merging #2470 (4334e03) into main (cdc8453) will decrease coverage by 0.04%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main    #2470      +/-   ##
==========================================
- Coverage   59.82%   59.78%   -0.05%
==========================================
  Files         284      284
  Lines       22168    22185      +17
==========================================
+ Hits        13263    13264       +1
- Misses       7483     7496      +13
- Partials     1422     1425       +3

Flag
Coverage Δ

kind-e2e-tests
46.96% <66.66%> (-0.12%)
:arrow_down:

unit-tests
42.06% <0.00%> (+0.03%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/agent/proxy/types/types.go
56.25% <64.70%> (+9.58%)
:arrow_up:

pkg/agent/proxy/endpoints.go
65.00% <100.00%> (ø)

pkg/controller/traceflow/controller.go
71.68% <0.00%> (-4.22%)
:arrow_down:

pkg/flowaggregator/flowaggregator.go
63.01% <0.00%> (-3.40%)
:arrow_down:

pkg/apis/controlplane/v1beta2/sets.go
66.66% <0.00%> (-2.57%)
:arrow_down:

pkg/controller/networkpolicy/status_controller.go
70.96% <0.00%> (-1.94%)
:arrow_down:

pkg/agent/flowexporter/exporter/exporter.go
79.76% <0.00%> (-0.24%)
:arrow_down:

pkg/agent/openflow/network_policy.go
75.82% <0.00%> (+0.14%)
:arrow_up:

pkg/agent/nodeportlocal/k8s/npl_controller.go
59.65% <0.00%> (+1.03%)
:arrow_up:

pkg/apiserver/storage/ram/watch.go
94.23% <0.00%> (+3.84%)
:arrow_up:

... and 1 more

/test-integration
/test-conformance
/test-e2e
/test-networkpolicy

authors: codecov-commenter tnqn

repo: antrea-io/antrea


text:
Reduce AppliedTo state handling

AppliedToGroup delete doesnt depend on NetworkPolicy delete. Hence removing the check in deletion and reduce unneccessary notify trigger from networkPolicy delete/update.

/nephe-test-e2e-kind

repo: antrea-io/nephe


text:
F2 条形图如何根据传入数据量自动撑开高度

目前使用版本3.7.7，然后条形图不会根据传入的数据量自动撑开高度，默认都是150px，不管是3条数据还是10条数据，请问如何设置自动撑开高度？

没看懂，给下你的demo，然后描述下你期望的效果

@ChenMuzhan 这个高度是根据你的 Chart 所挂载的 dom 节点的高度确定的，如果想要根据数据量动态改变高度，可以在拿到数据之后，初始化 Chart 之前，手动去改一下 dom 的高度。
从设计原则上看，Chart 是不应该去改变外部容器的大小的，以防对外部造成干涉，影响其他布局。

authors: ChenMuzhan benvirus zengyue


text:
how to use branch4.3.5？

how to use branch4.3.5？

It is being developed, and will be released next week

released

authors: Yanyan-Wang damnright


text:
使用updateItem 刷新自定义节点，节点的label更新了，但是节点的其它属性未更新。

问题描述
使用graph.updateItem 更新自定义节点数据时，节点的label更新了，但是其它自定义属性未更新。已知数据更新了。
重现链接
https://codesandbox.io/s/elated-darkness-kj3xf9?from-embed=&file=/src/App.js
重现步骤
1.进入页面
2.点击node节点
预期行为
我期望看到label 和describe的值都更新了，但是没更新
平台

操作系统: [macOS]
网页浏览器: [Google Chrome]
G6 版本: [4.3.11]

屏幕截图或视频（可选）

补充说明（可选）
No response

问题描述
使用graph.updateItem 更新自定义节点数据时，节点的label更新了，但是其它自定义属性未更新。已知数据更新了。
重现链接
https://codesandbox.io/s/elated-darkness-kj3xf9?from-embed=&file=/src/App.js
重现步骤
1.进入页面 2.点击node节点
预期行为
我期望看到label 和describe的值都更新了，但是没更新
平台

操作系统: [macOS]
网页浏览器: [Google Chrome]
G6 版本: [4.3.11]

屏幕截图或视频（可选）

补充说明（可选）
No response
@LixHu 这个你有解决么

我自定义节点的时候没加update方法，加上update方法写上对应的更新值就好了


text:
fix: css selector is too normal

Checklist

[ ] npm test passes
[ ] tests and/or benchmarks are included
[x ] commit message follows commit guidelines

测试应该没覆盖css, 人肉测过
Description of change

存在冲突，已经在PR 合并

authors: OuyangQianba lzxue


text:
【急】请问有手动创建连线，并且能高亮锚点的例子吗，无法实现就要改需求了

参照这个例子写了个，手动创建连线的功能，可是发现无法高亮锚点。如果这个功能无法实现，就能改需求了，但感觉这种方式比较好，用户体验好
https://antv-x6.gitee.io/zh/examples/interaction/edge#create
请问有办法解决吗

https://x6.antv.vision/zh/examples/showcase/practices#validate-connection

https://x6.antv.vision/zh/examples/showcase/practices#validate-connection

您好，您这个是基于锚点连线的，当然是可以的，我说的是通过js自己创建一条线，就这个链接里这种方式
https://antv-x6.gitee.io/zh/examples/interaction/edge#create

我在解释下为什么会有这个需求吧，主要原因就是锚点范围小，不好选择， 我们的设置是想，在table一行内右半部分就可以开始连线，这样连线操作比较容易。
如果把锚点变大，也会存在几个问题，我们设计让锚点在table内部，太大会覆盖内容，还比较丑，不连线的时候可以隐藏，连线时在table内部展示的话，如果已有连线，就会导致位置偏移，也比较丑。所以才想的这种手动创建连线的方式

authors: NewByVector social-uni


text:
自定义链接桩和数据一一对应

x6的自定义节点，链接桩能否跟数据一一对应，并且可随数据滚动
参考G6 ：https://g6.antv.vision/zh/examples/case/simpleCase#ER   节点内容可滚动的ER图

可以参考这个 demo：https://github.com/antvis/X6/tree/master/examples/x6-example-features/src/pages/react/table

好的，我研究下，麻烦了

authors: NewByVector frienkiss


text:
e.get(...).getShapeObj(...).getSelectedOutterStyle is not a function,这个报错是什么原因啊

G6 Version:
Platform:
Mini Showcase(like screenshots):
CodePen Link:

写个 codepen https://codepen.io/DoriTong/pen/pKbLVw

authors: TomHuangCN kingwubin


text:
动态设置f2高度，在android手机上不显示图表

F2 Version:
Platform:
Mini Showcase(like screenshots):
CodePen Link:

在小程序中动态设置定高度

page里面设定初始值为200
height:200
获取到数据之后根据数据内容重新设置高度 ，并刷新当前数据 ，但是在android手机上图表不会显示 。在开发工具 和 IOS手机上显示正常

调用chart.changeSize(width, height) 重新设置下试试

这个问题不同android手机上会有一个默认最大高度,超过这个高度就不会显示了 . 并且在华为手机上刷新数据图表不显示了

这个问题不同android手机上会有一个默认最大高度,超过这个高度就不会显示了 . 并且在华为手机上刷新数据图表不显示了

没看懂

authors: licandroid zengyue


text:
Rename repo to allow-list?

In keeping up with https://github.com/github/renaming it'd be nice to have this repo and https://github.com/anudeepND/blacklist updated to be allow-list and deny-list respectively.
Since GitHub will forward the old names over this shouldn't be much of a chance nor should I cause any issues for users.

As long as pihole is still using white- and blacklist I wouldn't rename the repo.

Okay, so I’ll go and open a request with them to do the same. Once that’s done you’ll be fine renaming these?

I wouldn't mind but I can't decide that.

GitHub virtue signaling will save the world 🤣🤣🤣

What do you mean? 🤔

Please refer This has been already discussed - https://github.com/anudeepND/blacklist/issues/112

Changing the name wouldn’t cause any issue as the redirect works. Changing the branch would but I’m sure GitHub is going to address that later this year when they add the migration tools in.

but it also wouldn't make any sense. look up "blacklist" and "whitelist" in a dictionary. those are real words. "block-list" and "deny-list" are made up substitutes that noone in the tech community (apart from some twitter bubble echo chambers) ever used, so this is counterproductive.

The term 'master' does not refer to or imply racism. 'Master' can mean lots of things, and terms such as 'whitelist' and 'blacklist' have been in the tech world for a long time. I don't like the idea of comparing it to a particular community. These terms has been industry standard for quite some time.
As @spirillen said in an older post, many RFC-standards are using white/black-list and they will remain as it is.
Changing these terms does not prevent racism or improve the workplace culture for colored people. And the word master is present in Master's Degree, MasterCard an Master of Science etc. changing these terms does not make any sense.

So in other words “go away we don’t care”. Glad we got that sorted.
It’s honestly sad that you’d rather sit here and explain why this isn’t a problem instead of just changing the name. Really shows your priorities towards your users. 💁♀

I’ll be opening RFCs to change those existing projects over too. So I guess I’ll be able to force your hand that way then. So be it.

you are totally free to fork a project and name it anything you like, be it pink-unicorn-list or omgi-male-xis-list (could you change your name to something more inclusive please?). you are totally not free to force your opinion on anyone else, your mindset is very disturbing and reminds me of the darkest times in human history.
anyway, issues like this are totally off-topic as they do nothing to improve code quality, they do not fix bugs or request features, they are just personal opinion, divisive and disruputive, bringing in politics and ideology where it shouldn't be.

bringing in politics and ideology where it shouldn't be.

Open source is full of politics but a lot of times in the direction of privacy.

It is so sad to see how people reject knowledge for the sake of there own deception of how things is related.
As @anudeepND already mentioned and link to, this topic has already been enlightened with knowledge an the relation of the naming. The knowledge have been spooked.
To @OmgImAlexis I'll like to see you have all the RFC's https://github.com/anudeepND/whitelist/issues/176#issuecomment-697923269 changed, you'll be up against knowledge from the dawn of the bit of why the naming was chosen.
As a "thinking out loud"
Q: Wonder what the naming is in a computer cluster (aka cloud, to make it more likeable for the unknowing) like what GH, FB, and other big infrastructure in distributed on...??
A: Hmm (multi-)master and slaves :smiley: !!
Keep taking things out of contents, is not going to help anybody, actually, sadly only quiet the opposed and keeping people in the dark.
But would it be OK to call these kinds of lists as: red-, green-, yellow-, blue-, dark-list? or are these colors also racism?

authors: OmgImAlexis SuperSandro2000 anudeepND geeknik markusdresch spirillen

repo: anudeepND/whitelist


text:
BUG: Auth is not working

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?

Even after logged in using google , it is showing like this.
I will add authentication using firebase.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

This is auth based issue so that it can come under level 3?? Can u please assign level 3


text:
Feat: Making proper alignment of Login page and Make proper justification of text in home page

Describe the feature
In the Login page the alignment of sign in with google is not aligned properly it is places completely  left and the alignment of the text in the home page was aligned as center being a description it should be justified properly
Assign me this issue @anuragverma108 to make contribution to the project
Thank you
Add ScreenShots
Here the size of the email input also different with respect to password

instead of making center it is align justify.

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@GAVINESHWAR Assigned!
Make sure to attach before & after screenshots in your PR. Also, star the repo before working on it. While creating your PR, ensure you pull all existing changes beforehand to avoid conflicts.
Happy open-source contributing!


text:
Add accordion with Tailwind CSS

This accordion component is designed using Tailwind CSS to provide a responsive and visually appealing way to display collapsible content. Each section features a clickable header that, when toggled, reveals or hides associated content. The accordion uses utility classes for styling, ensuring a clean layout and smooth transitions. It can be easily integrated into any web application and customized to fit specific design needs.
Features:
Responsive Design: Adapts to various screen sizes.
Simple Toggle Functionality: Clickable headers to show or hide content.
Customizable Styles: Easily modify colors, spacing, and more using Tailwind's utility classes.

Resolve the conflicts in the mentioned files. Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!

authors: Sancharisingh rahulkhandait-sde


text:
Allow fetching wildcard certs from Let's Encrypt

v2 of LE's ACME server should be operational by now. v2 of LE's ACME server will be online by Feb 27 Wildcard certs are still in development, although staging envs are available right now for testing. This supports fetching certs for domains like this:
*.example.com

We should support this if someone passes a wildcard domain.
More details here: https://community.letsencrypt.org/t/staging-endpoint-for-acme-v2/49605

wildcard certs are live: https://community.letsencrypt.org/t/acme-v2-and-wildcard-certificate-support-is-live/55579
Highlights:

requires access to DNS, adding TXT records to prove control over domain. Unfortunately this will mean provider-specific code.
v1 isn't end-of-life yet, so we'll continue to work for one-domain certs with the HTTP challenge.

repo: anxiousmodernman/certnab


text:
Add python 3.11 to GitHub deploy

Python 3.11 is currently only in the build target for Windows and macOS.

Related to #436

repo: anyoptimization/pymoo


text:
分割大文件时拖动UI卡顿问题

描述错误(对错误的清晰而简明的描述)：
虽然现在已经采用其他线程处理IO任务，但是在拖拽UI界面时依然能感觉到界面闪烁
初步判断是连续发送事件信号self.trigger.emit(...)导致的QT渲染变慢

复现步骤(重现行为的步骤)：
选定一个大小在9G的csv文件，点击“分割文件”后观察，此时拖拽UI界面正常
在正式进入分割方法既进度条走动后，此时拖拽界面出现界面卡顿闪烁现象

预期行为(对您期望发生的事情的清晰而简明的描述)：

截图(如果可以，请添加截图以帮助解释您的问题)：

系统信息(请填写以下信息)：

操作系统：Windows
版本：Windows 11 专业版 23H2

附加上下文(在此处添加有关问题的任何其他上下文)：
我想讨论下如何优化现有逻辑

其实我技术也有限，对异步和多线程不是很了解。
但是我总觉得现在的 SplitFiles.py 和 GUI.py 还能继续解耦。
最好的情况就是 SplitFiles.py 只负责按行分割文件不对 GUI 做操作，也就是其中最好不涉及QT部分。
或者这种闪烁可能就是 QT 自身不可避免的问题。

或许可以新创建ProgressBarUI的python类，将所有的进度条的布局以及槽函数放到该类中。
SplitFiles.py 应该归回更纯粹的负责按行分割文件功能类的作用。
因为以后还打算支持多文本文件同时处理，你这样写只会增加代码耦合度。

repo: aoguai/SplitFiles


text:
fix styles in sticky sessions when navbar is collapsed

move the sticky session button up
move the sticky session detail up
fixes #1432

Good find. I am also confused why this is the "sticky sessions button" instead of the thumbtack button. But semantics aside, there was only one thing I noticed:

Close the toolbar
Open a sessions detail
From within the menu opened with the "sticky sessions" button" (It says "X open sessions" on the top") close all the open sessions. This hides the yellow button but keeps the same width on the navbar.

Also, I might be missing something, but why is 'setStickySessionsBtn' getting set to the store? Do we need it somewhere else?

Not sure what you mean by the thumbtack button. The thumbtack button is for the sticky visualizations and sticky sessions header. The sticky sessions button is the button for displaying the opened sessions in the body of the sessions table.
Nice find! I'll fix that.
The sticky sessions button needs to be in the store for two reasons:

I use it in Navbar.vue to add a class to the navbar so it knows to push the info to the left.
I set it in Sessions.vue to indicate that there are sessions opened.

repo: aol/moloch


text:
Support for Chainer 2.0

There are issues running the current build, due to code-breaking changes introduced in Chainer version 2.0.  We should specify the chainer version during the installtion process as 1.24.0 or make changes to the existing code to support v2.
@aonotas, Let me know if you need me to send a pull request.

hi @harsha-surukam and @aonotas, I have edited deep-crf for chainer v2 support last week.
so I make the pull request.
please tell me if there are something wrong... (I am newbie to chainer.

@himkt I guess, you have commented out the problematic parts. This definitely works, but, the better solution imho would be to upgrade from v1 to v2 according to the [guide].(http://docs.chainer.org/en/stable/upgrade.html).

@harsha-surukam thanks for reply 😃
I understand that it needs to follow the upgrade guide, I close the pull request.

@harsha-surukam Thank you for your comments!
If you have edited v2 support, please send me PR.

I think we need fix deep-crf code following points:

train argument in dropout
volatile  argument in Variable
use_cudnn  argument in L.NStepBiLSTM

Should we switch code according to chainer.__version__?

Yes, I think that should help identify the installed version of chainer. But, I'm not sure if it's a good idea to have two branches in the code, based on the version of a library. Is it the best practice?
Or, should we just enforce people to upgrade chainer? Because, currently the default chainer version installed is 2.0.

I asked Chainer developer just now.
He told me that we need to branch code based on chainer.__version__.

Cool. Let me send you a PR in a bit.

Thank you for your help!!

Hi @harsha-surukam
Now deep-crf can run on v2.0 and v1.24.0!

authors: aonotas harsha-surukam himkt

repo: aonotas/deep-crf


text:
Unit tests: ModuleNotFoundError: No module named 'utils'

Running the tests (after fixing #19 ) results in:
Traceback:
/opt/homebrew/Cellar/python@3.12/3.12.3/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/edit/test_clarify.py:4: in <module>
    from utils import create_workspace
E   ModuleNotFoundError: No module named 'utils'

And:
Traceback:
/opt/homebrew/Cellar/python@3.12/3.12.3/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/edit/test_edit.py:4: in <module>
    from utils import create_workspace
E   ModuleNotFoundError: No module named 'utils'

And:
Traceback:
/opt/homebrew/Cellar/python@3.12/3.12.3/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_rerun_trajectories.py:9: in <module>
    from utils import create_workspace, get_instance
E   ModuleNotFoundError: No module named 'utils'

Maybe I am simply invoking the tests wrong?

I haven't had time to adjust the tests for all the changes, so they probably don't work at all right now. I've only used test_rerun_trajectories.py to run regressions on the changes. But because of changes I did in the prompts to optimize for Clause 3.5 Sonnet, those also need to be rewritten. My plan right now is to rewrite test_rerun_trajectories.py so that I can at least test the entire flows and check regressions. But I don't have time to fix it right now.

authors: JensRoland aorwall

repo: aorwall/moatless-tools


text:
Create ISSUE_TEMPLATE.md

like #607 but for issues

@foxish thanks for reviewing, I updated with dev list and jira links


text:
Make it so the instance name is not highlighted in the monitor

Fixes #2944
This PR removes the underlining when hovering over the instance name in the top left corner of the monitor.
Before this change:

After this change:

Just curious - was the underlining a recent addition?

It must have been a change in the default behavior of some bootstrap class. The underline was not added intentionally at any point.

repo: apache/accumulo


text:
Move fate summary IT from ShellServerIT to its own class

Closes #2948

I didn't port the full test, think it's needed?


text:
Add Support for Apache AGE on Amazon RDS

Is your feature request related to a problem? Please describe.
I'm requesting the addition of Apache AGE support for Amazon RDS to address a problem faced by users. Currently, Apache AGE is not directly supported on Amazon RDS, limiting users' options for utilizing AGE's graph database capabilities.
Describe the solution you'd like
I would like to propose the addition of support for Apache AGE on Amazon RDS.

+1 - there is some ongoing positive effort - the recc is to raise a support request with your AWS support and raise with your TAM manager (if you have one with AWS) ... to raise viz with them to prioritise allowing load 'age' as a supported pg extension.

@JimFuller-RedHat quite interested in this

@eyab Eya?

nudge ... now we have official Apache Age releases for PG14/15 (https://age.apache.org/download) ... note we have pinged our AWS TAM to try and help raise visibility of this ... recc everyone doing the same.

Any update from AWS TAM ?

@JimFuller-RedHat, could you please share any updates and references with us?

@JimFuller-RedHat  any progress on these conversations?

I've received the following from my team's AWS TAM:

Apache AGE extension support is "being evaluated", but not tagged as "on roadmap". You can interpret this to mean it will not arrive in the next 12 months, if it does arrive at all.
For graph data, it is highly recommended that you leverage a Graph database such as Neptune or Neo4j. It is a common pattern to implement polygot persistence where you project data into the Graph that you also have in a relational database.

Unfortunately it doesn't look like AGE will be available from AWS any time soon

Please un-stale this issue. My work would also benefit from this.

I also represent a very interested, significant AWS customer.

I also represent a smaller, but very interested customer.

+1 for this

I am also a very interested customer.

we are very interested in this also! (we are using self-hosted today, and want more scalability) Thanks.

I'll throw this log on the fire. Azure Postgres Flexible Server just added support for it :)

As many have suggested, reaching out to your AWS account team and asking them to +1 you to the open PFR (product feature request) and that is the best course of action.
I would also suggest that those interested in graph support on PostgreSQL also begin to play closer attention to native SQL/PGQ support that is being developed in PostgreSQL.  While the mission of the Apache AGE project (IMO) is to use PostgreSQL as a graph store with an opinionated storage format and encapsulated openCypher, the idea of SQL/PGQ is to use data already residing in a PostgreSQL database by layering a "graph view" on top of the existing data model.  This then allows you to leverage Cypher/GQL-like motifs ( ()-[]-() ) in SQL to query the data as a logical graph.
The on-going dev thread for SQL/PGQ support starts in the pgsql-hackers dev list here:  https://postgrespro.com/list/thread-id/2684138.

authors: JimFuller-RedHat Omar-Saad ajackson-veza akamick86 bsuhagia eyab gigline jdanton jrgemignani kobynet ns-gzhang randymartinez shahbazshueb triggan

repo: apache/age


text:
bug: 如果配置了plugin，前端调用的时候就会跨域

APISIX VERSION:  2.10
APISIX-GO-PLUGIN VERSION: 0.2.0
问题描述：
在配置了plugin的情况下，前端调用后端接口会导致跨域。
本来就是从不同的域访问过来的，可是在APISIX的配置中已经允许所有的来源访问了。
但是在加了go-plugin的情况下就会报跨域。
APISIX配置如下:
"plugins": {
"proxy-rewrite": {
"regex_uri": [
"^/v1/admin/(.*)",
"/${1}"
],
"headers":{
"X-Forwarded-Prefix":"/v1/admin"
}
},
"cors": {},
"request-id": {
"include_in_response": true
},
"ext-plugin-pre-req": {
"conf": [
{
"name": "MicroserviceFilter",
"value": "{"strip_prefix":1}"
}
]
}
}
前端报错信息:
Access to fetch at 'xxxxx' from origin 'xxx' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

Look like an issue of your MicroserviceFilter plugin, which is not provided by this project.

repo: apache/apisix-go-plugin-runner


text:
Python FlightSQL Driver stuck on query execution

What would you like help with?
Hi,
I am running a Python 3.12 script following the recipes to try and use FlightSQL Postgresql adapter (v0.1.0) with the Python FlightSQL driver. This is on a Ubuntu WSL 1 VM on Windows 10 with Postgres 15 and FlightSQL adapter extension added to PG config as required from here
Authentication method on PG is set to password, that is, config is changed in pg_hba.conf
Script:
import adbc_driver_flightsql.dbapi

uri = "grpc://localhost:15432/"
username = 'postgres'
password = 'postgres'

conn = adbc_driver_flightsql.dbapi.connect(uri,
                                        db_kwargs={'username': username, 'password': password,
                                   'adbc.flight.sql.rpc.call_header.x-flight-sql-database': 'postgres'
                                   })

cur = conn.cursor()
cur.execute("SELECT 1;")   # stuck on this line
print(cur.fetchall())

This is what I see when I debug the code with a breakpoint on the call to execute:

The detail stacktrace for adbc_current_catalog:

Traceback (most recent call last):\n  File "/home/kunjmehta10/.vscode-server/extensions/ms-python.python-2021.5.926500501/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_resolver.py", line 193, in _get_py_dictionary\n    attr = getattr(var, name)\n           ^^^^^^^^^^^^^^^^^^\n  File "/home/kunjmehta10/miniconda3/lib/python3.12/site-packages/adbc_driver_manager/dbapi.py", line 531, in adbc_current_catalog\n    return self._conn.get_option(key)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "adbc_driver_manager/_lib.pyx", line 812, in adbc_driver_manager._lib.AdbcConnection.get_option\n  File "adbc_driver_manager/_lib.pyx", line 237, in adbc_driver_manager._lib.check_error\nadbc_driver_manager.ProgrammingError: NOT_FOUND: [Flight SQL] failed to get current catalog: Not Found: [Flight SQL] current catalog not supported\n'

I am not sure if I am doing anything wrong or if I missed something but any help is appreciated!

Hey - sorry, it may be a few days before I can get to this
In the meantime the env var ADBC_DRIVER_FLIGHTSQL_LOG_LEVEL=debug might show which call precedes the one it hangs on

Hi, no worries! I did enable the env variable and it does debug like in cases where connection not available. However, in the case of query execution getting stuck, it doesn't log anything until I force quit when it shows the screenshot below because token expired at timeout

Think it is just stuck without any error. Any idea?
Also checked if RPC URL is accessible via telnet, and it is.

I was able to get it unstuck following this parameter setting idea from here and this is the stack trace I got

Traceback (most recent call last):
File "/mnt/d/Projects/Timescale/sqlflight.py", line 53, in
cur.execute("SELECT $1;", parameters=(42,))
File "/home/kunjmehta10/miniconda3/envs/arrow/lib/python3.12/site-packages/adbc_driver_manager/dbapi.py", line 698, in execute
handle, self._rowcount = _blocking_call(
^^^^^^^^^^^^^^^
File "adbc_driver_manager/_lib.pyx", line 1552, in adbc_driver_manager._lib._blocking_call_impl
File "adbc_driver_manager/_lib.pyx", line 1545, in adbc_driver_manager._lib._blocking_call_impl
File "adbc_driver_manager/_lib.pyx", line 1195, in adbc_driver_manager._lib.AdbcStatement.execute_query
File "adbc_driver_manager/_lib.pyx", line 237, in adbc_driver_manager._lib.check_error
adbc_driver_manager.OperationalError: IO: [FlightSQL] error reading from server: EOF (Unavailable; ExecuteQuery)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/d/Projects/Timescale/sqlflight.py", line 52, in
with conn.cursor() as cur:
File "/home/kunjmehta10/miniconda3/envs/arrow/lib/python3.12/site-packages/adbc_driver_manager/dbapi.py", line 235, in exit
self.close()
File "/home/kunjmehta10/miniconda3/envs/arrow/lib/python3.12/site-packages/adbc_driver_manager/dbapi.py", line 637, in close
self._stmt.close()
File "adbc_driver_manager/_lib.pyx", line 1167, in adbc_driver_manager._lib.AdbcStatement.close
File "adbc_driver_manager/_lib.pyx", line 1173, in adbc_driver_manager._lib.AdbcStatement.close
File "adbc_driver_manager/_lib.pyx", line 237, in adbc_driver_manager._lib.check_error
adbc_driver_manager.OperationalError: IO: [FlightSQL] connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:15432: connect: connection refused" (Unavailable; ClosePreparedStatement)
Exception ignored in: <function Cursor.del at 0x7f95a7df82c0>
Traceback (most recent call last):
File "/home/kunjmehta10/miniconda3/envs/arrow/lib/python3.12/site-packages/adbc_driver_manager/dbapi.py", line 795, in del
File "/home/kunjmehta10/miniconda3/envs/arrow/lib/python3.12/site-packages/adbc_driver_manager/dbapi.py", line 637, in close
File "adbc_driver_manager/_lib.pyx", line 1166, in adbc_driver_manager._lib.AdbcStatement.close
File "adbc_driver_manager/_lib.pyx", line 303, in adbc_driver_manager._lib._AdbcHandle._close_child
File "adbc_driver_manager/_lib.pyx", line 305, in adbc_driver_manager._lib._AdbcHandle._close_child
RuntimeError: Underflow in closing this AdbcStatement

Hi @kunjmehta ,
It looks like 0.1.0 is a fairly old version of the PostgreSQL Flight SQL Adapter. There were improvements made, including those around prepared statements afterwards but you'll need to build from source.

Oh, I thought the problem was still around ClosePreparedStatement but then saw this:
cur.execute("SELECT $1;", parameters=(42,))
The Flight SQL adapter for PostgreSQL doesn't support bound parameters. It supports only prepared statements without parameters.

@jduo I did build from source following instructions from here. It says to use version 0.1.0
If you can tell me what the latest is, I can rebuild

The latest is actually just the head of the main branch

authors: jduo kunjmehta lidavidm

repo: apache/arrow-adbc


text:
[Python] Create connection how to set the database

What would you like help with?
Is there a config option which allows one to set the catalog rather than running cursor=conn.cursor() cursor.execute("use catalog")
thanks.
    conn = flight_sql.connect(uri=my_uri, db_kwargs={
                adbc_driver_manager.DatabaseOptions.USERNAME.value: "root",
                adbc_driver_manager.DatabaseOptions.PASSWORD.value: "",
                })
    cursor = conn.cursor()
    start_time = datetime.now()
    cursor.execute("use tpch;")
    cursor.execute(sql)

db = adbc_driver_flightsql.connect(uri=my_uri, db_kwargs={
                adbc_driver_manager.DatabaseOptions.USERNAME.value: "root",
                adbc_driver_manager.DatabaseOptions.PASSWORD.value: "",
            })
    conn = adbc_driver_manager.AdbcConnection(db)
    stmt = adbc_driver_manager.AdbcStatement(conn)
    stmt.set_sql_query(sql)
    stream, rows = stmt.execute_query()

https://arrow.apache.org/adbc/current/python/api/adbc_driver_manager.html#adbc_driver_manager.dbapi.Connection.adbc_current_catalog
https://arrow.apache.org/adbc/current/python/api/adbc_driver_manager.html#adbc_driver_manager.ConnectionOptions.CURRENT_CATALOG

This depends on server support, of course

This depends on server support, of course

Thanks! I will consider support it.

authors: lidavidm xinyiZzz


text:
Stop Executor Impl, Executor Graceful Shutdown

Which issue does this PR close?

This PR covers below parts:

Implement Stop Executor grpc call

Graceful shutdown executor and related internal components.
a). Graceful shutdown arrowflight and executor server grpc services.
b). Graceful shutdown heartbeat loop, task runner loop and task status report loop
c). Graceful shutdown and clean up shuffle data on the Executor

Better error handling and propagation during Executor startup

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@thinkharderdev @yahoNanJing @andygrove  Please help to take a look.

@alamb @andygrove
]Please help to approve and merge the PR.

Thanks @mingmwang for the work and thank you, @thinkharderdev @yahoNanJing and @avantgardnerio for reviewing. I will merge this now.

authors: andygrove mingmwang

repo: apache/arrow-ballista


text:
Add a test grouping on null (showing incorrect answers)

Which issue does this PR close?
Re https://github.com/apache/arrow-datafusion/issues/782
Rationale for this change
I wrote this test while working on another issue and I felt it was good coverage to add. I can be convinced it is not a good idea, however
What changes are included in this PR?
A test (with incorrect answers) showing https://github.com/apache/arrow-datafusion/issues/782
Are there any user-facing changes?
No

superceded by https://github.com/apache/arrow-datafusion/pull/793

repo: apache/arrow-datafusion