Add rockset feature

Rockset: a set of Luarocks rocks for specific Lua version
This PR adds a rockset management plugin to luaver.
This plugin can manage named rocksets for each Lua version:
myrockset_5.2.4
myrockset_5.3.1
my_rockset_system
The rockset feature can be loaded by sourcing luaver_rockset.
The usage can be gotten by running luaver rockset after sourcing.
Currently, the following commands are supported:
luaver rockset create myrockset 2.4.1
luaver rockset use myrockset
luaver rockset delete myrockset
luaver rockset current
luaver rockset list
where 2.4.1 is the Luarocks version.
Closes #10

Thank you once again!
I'd like to add usage information and proper installation before I merge this. Keeping it on hold for a while.

Any update on this PR?


Extract telescope positions from DB

Address selection of telescopes to form an array from the DB and add functionality to plot_array_layout (plot_array_layout is a great application to test this). Reduce dependency on ArrayLayout class (which should be used only for coordinate transformations).
Improved functionality for ArrayModel in array_element selections to describe an array:

use a list of telescopes in a ecsv file (as before)
use a pre-defined array layout name; layouts are defined in the DB in the parameter array_layouts stored in the `sites collection (new); see gitlab merge request
provide a list of telescope on the command line (new)

For 2.: allowed is e.g., LSTN-01 LSTN-02 MSTN, meaning 2 LSTs plus all northern MSTs. This required to add a function db_handler.get_available_array_elements_of_type
Improved additionally documentation. Note that in all cases changes are applied to the modules touched in this PR to pass the "D" (documentation) checks by ruff.
Remove dependency on array_layout model for plot_array_layout and make_regular_arrays.
Remove names.validate_array_layout_name(): this is not needed anymore as the call to the DB with throw an error when an array layout with a given name is not found in the DB.
Note: a lot of changes are from the renaming of [Test-Layout, test-layout, TestLayout, testlayout] to test_layout (names.py mapped all in the brackets to the same name; which confused me!). A number of file name changes are from changes in the automatic file name generation in plot_array.py
Added a statement to suppress debug messages from mongoDB: this is useful, as it is very hard to debug issue especially in tests; mongoDB is printing a lot of debug statements which makes it hard to impossible to debug the actually issues.

@tobiaskleiner - thanks a lot for the quick review. I fixed all your suggestions, let me know if there is anything else (other just approve).


[Bug]: Save button is not acting correctly when saving via the file explorer

Apache Hop version?
2.10.0-SNAPSHOT
Java version?
17
Operating system
macOS
What happened?
Steps to reproduce:
Launch Hop and open the File Explore panel
Make some changes on the REAMME file and click the 'Save' button
Expected results:
The changes are saved (was able to commit and Push to Git), and the Save button is gray out (not active, this has been seen before).
Actual results:

The changes are saved but the Save button is still active(not gray out).

Issue Priority
Priority: 3
Issue Component
Component: Hop Gui

.take-issue


some build task with java-test-fixtures failed in gradle 8.4, if jar task disabled

Current Behavior
When I build project, happens error like
* What went wrong:
Execution failed for task ':projectname:kaptGenerateStubsTestFixturesKotlin'.
> Could not resolve all files for configuration ':projectname:detachedConfiguration8'.
   > Failed to transform projectname-0.0.1-SNAPSHOT-plain.jar to match attributes {artifactType=classpath-entry-snapshot, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
      > Execution failed for ClasspathEntrySnapshotTransform: /projectpath/build/libs/projectname-0.0.1-SNAPSHOT-plain.jar.
         > Check failed.

Expected Behavior
Should run successfully
Context (optional)
using spring boot3, jdk 17
It works if I downgraded gradle to version 8.3
Steps to Reproduce

clone this project https://github.com/hanqyu/gradle-27042-reproducer
run ./gradlew build

Gradle version
8.4
Build scan URL (optional)
No response
Your Environment (optional)
No response

Sorry that you're having trouble with Gradle!
We appreciate the effort that went into filing this issue, but we must ask for more information.
As stated in our issue template, a minimal reproducible example is a must for us to be able to track down and fix your problem efficiently. Our available resources are severely limited, and we must be sure we are looking at the exact problem you are facing.
If we have a reproducer, we may be able also to suggest workarounds or ways to avoid the problem.
The ideal way to provide a reproducer is to leverage our reproducer template. You can also use Gradle Project Replicator to reproduce the structure of your project.
This issue will be closed after 7 days unless you provide more information.

I just updated about reproducer, to original content

Steps to Reproduce

clone this project hanqyu/gradle-27042-reproducer
run ./gradlew build

and you can find the result
https://github.com/hanqyu/gradle-27042-reproducer/actions/runs/6887183372/job/18733979742
in attached repo's action.

Thank you for providing a valid report.
The issue is in the backlog of the relevant team and is prioritized by them.

@hanqyu When I try to build your reproducer with 8.3, I get the same failure: https://scans.gradle.com/s/m2moa4s25meck/failure#1
Is there something else you're changing than just the Gradle version?

This looks similar: https://youtrack.jetbrains.com/issue/KT-62101/IC-Execution-failed-for-ClasspathEntrySnapshotTransform-when-using-tools.jar-as-dependency
Could you try running with 8.3 and a clean build?

I tried again with 8.3, and I found the same error, you was right.
I agree with the idea that it is not about the gradle wrapper version.
This is the how I found the error in first time.

I added the plugin java-test-fixtures to the module, where jar task disabled.
I found some error, and I changed the gradle wrapper version to 8.3

but somehow it is obviously step 2 was not the clean state.
Is there anything I can help?

I think this is the underlying problem: https://github.com/gradle/gradle/issues/11100
When a task is disabled, we keep executing things that depend on it.


Cloudtrail logvalidation

Issue #, if available:
Description of changes:
Added cfn hook rule for check cloudtrail log file validation
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ericzbeard
Updated with setup.yaml. I think I did it right ?
please let me know !
thank you

@ericzbeard Updated with setup.yaml. I think I did it right ? please let me know !
thank you

I don't see it

@ericzbeard my fault missed it.. updated now thank you


Unicode text wrapping in comments and string literals.

This PR includes several fixes related to #3235 .
Clearing the terminology: Replaced some identifier's "chars" into "width".
Introduce unicode_width crate, which implements UAX#11: Replaced some of the str::len() calls into this unicode width method calls to support characters occupying != 1 width (e.g. CJK, combined chars).
Introduce unicode_categories crate just to make is_punctuation() method unicode supported: Without this CJK strings almost cannot be wrapped because it does not include whitespaces, and the old is_punctuation() method was only supporting ASCII delimiters.
But by this fix we may over-detect the punctuation characters. For example, do we really want to insert newline after like "§" or "¶"? I'm not sure.
I believe the next step is to support UAX#14, which is defining the line-breaking algorithm. Then we can completely solve this punctuation issue.

Hello, does someone have a time to review this PR? Thanks,


Create Taylor_series.cpp

Description
Finding sum of Taylor Series of e^x
Fixes #1746
Replace issue_no with the issue number which is fixed in this PR
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] 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
[ ] Documentation Update

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

hello sir, I made a pr. please guide me if any changes required @Ayush7614 sir.


As a curator I want to be able to move a citation from the Browse nomenclature page the corresponding Browse OTU page

Feature or enhancement
All citations from the old Species File program migrated onto the Browse Nomenclature page. Some of those citations actually belong under Browse OTU, not nomenclature. It would be useful to have a tool that just moves that entry and its tags and corresponding reference to the Browse OTU page.
Location
Browse nomenclature and classification page
Screenshot, napkin sketch of interface, or conceptual description

I envision this being a pie slice on the radial annotator that occurs at the end of each citation on the Browse nomenclature page. The slice would allow the user to click on a "move" command to move that entry from nomenclature to OTU.
Your role
Curator of species files.

See also #3572


make postBuild executable

While running a workshop, the only step we couldn't do with the GitHub web UI was to make postBuild executable. Making files executable is also cumbersome on Windows. Since we require that postBuild is executable, we could ensure it is executable in the Dockerfile rather than assert that it is, so we make it executable rather than failing if it isn't. I think this would be a simpler, friendlier experience, especially for novices.

+1
On Thu, Feb 15, 2018 at 8:09 AM, Min RK<EMAIL_ADDRESS>wrote:

While running a workshop, the only step we couldn't do with the GitHub web
UI was to make postBuild executable. Making files executable is also
cumbersome on Windows. Since we require that postBuild is executable, we
could ensure it is executable in the Dockerfile rather than assert
that it is, so we make it executable rather than failing if it isn't. I
think this would be a simpler, friendlier experience, especially for
novices.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jupyter/repo2docker/issues/240, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB23k8_qejrTry6A-fkyTGkW7YsdwQ9ks5tVFapgaJpZM4SHFtu
.

--
Yuvi Panda T
http://yuvi.in/blog

+1
it’d be helpful to know more about what you mean by “the GitHub web UI”

it’d be helpful to know more about what you mean by “the GitHub web UI”

I mean doing the whole process of creating a repository and adding files to it via the GitHub website and its 'upload file' and 'edit file' buttons, which is nice in a workshop where you don't want to deal with everyone setting up git, ssh keys, etc. The only step we couldn't do via the website is change permissions on a file.


ServerPushSetupBanner: Fix conditional for showing admin-facing message

Somehow I got this conditional backwards when I wrote it in cb301ec23.

Thanks! Merging.


Syntax Error when using extraChromeFlags option

Hi,
When attempting to use the extraChromeFlags option in the library, the server throws error TypeError: Assignment to constant variable.
Code:
const prerender = require('prerender');
const server = prerender({extraChromeFlags:['--no-sandbox']});
server.start();

Console:

2024-04-18T16:55:30.460Z Starting Prerender
2024-04-18T16:55:30.463Z Starting Chrome
2024-04-18T16:55:30.465Z Prerender server accepting requests on port 3000
2024-04-18T16:55:30.466Z TypeError: Assignment to constant variable.
at /Users/User/Desktop/Test/pre/node_modules/prerender/lib/browsers/chrome.js:43:51
at new Promise ()
at Object.chrome.spawn (/Users/User/Desktop/Test/pre/node_modules/prerender/lib/browsers/chrome.js:26:9)
at Object.server.spawnBrowser (/Users/User/Desktop/Test/pre/node_modules/prerender/lib/server.js:130:22)
at /Users/User/Desktop/Test/pre/node_modules/prerender/lib/server.js:81:8
at new Promise ()
at Object.server.startPrerender (/Users/User/Desktop/Test/pre/node_modules/prerender/lib/server.js:80:9)
at Object.server.start (/Users/User/Desktop/Test/pre/node_modules/prerender/lib/server.js:60:7)
at Object. (/Users/User/Desktop/Test/pre/server.js:3:8)
at Module._compile (node:internal/modules/cjs/loader:1198:14)
2024-04-18T16:55:30.471Z Failed to start and/or connect to Chrome. Please make sure Chrome is running
2024-04-18T16:55:30.471Z Stopping Chrome

Fixed by https://github.com/prerender/prerender/pull/783 and released 5.20.4


chore: adds redirects example

Description
Adds example redirects CMS and Next.js front-end to the /examples directory.

[x] I have read and understand the CONTRIBUTING.md document in this repository

Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] Existing test suite passes locally with my changes

All tests are passing locally but Playwright browsers are getting hung up in GitHub Actions. This is approved on my end once we can get those passing.


Fragments sometimes fail to resolve

If you have two fragment or more that imports and exports two packages or more between them selves and they have bundle ids below the host bundle, then if you resolve the host the fragments will not attach properly.

Added test case for this Frame555a.

Fix available in framework 7.2.6 and 8.0.4. Master branch snapshot build:
https://bintray.com/knopflerfish/master/download_file?file_path=distrib_6.0.0.snapshot-1701160935-master%2Fknopflerfish_osgi_sdk_6.0.0.snapshot-1701160935-master.jar


Further cleanups and fixes for dashboard styles.

Remove unnecessary CSS in favour of Bootstrap defaults (also remove some completely unused CSS).
Remove use of btn-lg in the dashboard, whose presentation was being overridden in CSS to make it look like a normal button anyway.
Fix a few classes on HTML elements.

I think you can also remove the rules below from src/oscar/static_src/oscar/scss/dashboard/base.scss:
.bs-docs-sidenav .nav-link.active {
  color: $link-color;
  &:hover {
    background: $gray-200;
    color: $link-color;
  }
}

You can also remove the .btn-lg in src/oscar/templates/oscar/dashboard/login.html?

@jwayodi I've addressed your comments. I had left the btn-lg on the login form deliberately... seemed like a bigger button in that context was not necessarily a bad thing :smile:


Add your JAVA code in Java Folder.

You can add your Code in JAVA Programming Language in this folder for the hacktoberfest 2022.

Hi @rohansaini886
I would like to do this. Can you explain what type of code i can add in JAVA folder?

@Tathagat27  any code in java language which is valid.

Do I need to get assigned for contributing??

Hello, can I also contribute to this project?

Hey! Can I contribute any code in Java? Can you please assign it to me? Thanks!


My website shows no updates even though the .html source files have changed

Acknowledge the following

[x] I carefully read and followed the Getting Started guide.
[x] I read through FAQ and searched through the past issues, none of which addressed my issue.
[x] The issue I am raising is a potential bug in al-folio and not just a usage question.  [For usage questions, please post in the Discussions instead of raising an issue.]

Describe the bug
My website shows no updates even though the .html source files have changed in the repo. I checked the commit log and found in the gh-pages branch the comment of my commit has a [ci skip] side note. But I did not include "[ci skip]" in the comment in my master branch when committing and pushing.
I enabled the automatic deployment. So I just made changes in the master branch and pushed it.

System (please complete the following information):

OS: Windows 11
Chrome Version 110.0.5481.104

This is my workflow file when deploying:
name: deploy

on:
  push:
    branches:
      - master
      - main
  pull_request:
    branches:
      - master
      - main

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout code
      uses: actions/checkout@v2
    - name: Setup Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: '3.0.2'
    - name: Enable bundler cache
      uses: actions/cache@v2
      with:
        path: vendor/bundle
        key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
        restore-keys: |
          ${{ runner.os }}-gems-
    - name: Install deps
      run: |
        gem install bundler
        bundle config path vendor/bundle
        bundle install --jobs 4 --retry 3
        npm install -g mermaid.cli
    - name: Setup deploy options
      id: setup
      run: |
        git config --global user.name "GitHub Action"
        git config --global user.email<EMAIL_ADDRESS>        if [[ ${GITHUB_REF} = refs/pull/*/merge ]]; then # pull request
          echo "::set-output name=SRC_BRANCH::${GITHUB_HEAD_REF}"
          echo "::set-output name=NO_PUSH::--no-push"
        elif [[ ${GITHUB_REF} = refs/heads/* ]]; then # branch, e.g. master, source etc
          echo "::set-output name=SRC_BRANCH::${GITHUB_REF#refs/heads/}"
        fi
        echo "::set-output name=DEPLOY_BRANCH::gh-pages"
    - name: Deploy website
      run:  yes | bash bin/deploy --verbose ${{ steps.setup.outputs.NO_PUSH }}
                    --src ${{ steps.setup.outputs.SRC_BRANCH }}
                    --deploy ${{ steps.setup.outputs.DEPLOY_BRANCH }}

same here...

Does your website work locally? Is the problem only when uploading to Github?

Except for the publications section, the rest of the website works well
locally. I followed the standard procedure of git add/commit/push, and all
the files on GitHub are fully updated with the local folder.
On Mon, Mar 13, 2023 at 11:33 PM George @.***> wrote:

Does your website work locally? Is the problem only when uploading to
Github?
—
Reply to this email directly, view it on GitHub
https://github.com/alshedivat/al-folio/issues/1204#issuecomment-1467067486,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIXSEKQ4HN5K2VFQZPJPEPTW36OEBANCNFSM6AAAAAAVEN6GTQ
.
You are receiving this because you commented.Message ID:
@.***>

I mean, does it update when running locally? For example, running like this?
If you followed everything in the deployment section, everything should work fine. I would recommend making small changes, one at a time, before commiting. This way, it is easier to find out where it breaks. Start by just changing the address in _config.yml to see if it is able to upload the template site to your github.io address.

thanks for the help!

I also ran into the same issue. OP is saying that the gh-pages branch won't get updated even though the master branch contains the correct index.html's. While one would expect that deploy.yml (after execution) automatically copies the most up-to-date codes from the master branch to the gh-pages branch, the reality is that gh-pages branch never gets updated after pushing new codes into master.

Have you followed the section To enable automatic deployment in README carefully?


Wrong capabilties

In the windows tab it is written

Under the  node, add <uap:Capability Name="microphone"/> and <uap:Capability Name="webcam"/>

These two capabilties are not listed in https://docs.microsoft.com/fr-fr/uwp/schemas/appxpackage/uapmanifestschema/element-uap-capability and when we add it the compilation failed :

The app manifest must be valid as per schema: [...] Reason: 'webcam' violates enumeration constraint of 'documentsLibrary picturesLibrary videosLibrary musicLibrary enterpriseAuthentication sharedUserCertificates userAccountInformation removableStorage appointments contacts phoneCall blockedChatMessages objects3D voipCall chat'.

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

ID: 1e5277f4-f2e4-dffe-0c08-06531d4145a1
Version Independent ID: 1e5277f4-f2e4-dffe-0c08-06531d4145a1
Content: Media picker - .NET MAUI
Content Source: docs/platform-integration/device-media/picker.md
Product: dotnet-mobile
Technology: dotnet-maui
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @gldfdp
Try switching them to:
    <DeviceCapability Name="microphone"/>
    <DeviceCapability Name="webcam"/>

Hi @gldfdp
Try switching them to:
    <DeviceCapability Name="microphone"/>
    <DeviceCapability Name="webcam"/>

Thank you for the tip, the compilation error is not more here. The doc should be updated.


Is this all good?

https://github.com/astorm/pestle/pull/258

Can probably validate if input is  a valid Controller/Action combination. Index/Index was always valid.
For instance, AFAIK, Magento2 always took a controllers/actions(classes in general) that began with a block case, we could check for that.
At a base level we can check if the class names requested are valid php class names to begin with.

thanks @QwertyZW -- this is more a reminder to me that I should check the docs/and posts I've written about this command and make sure they're updated to use the new arguments.  Appecaite the enthusiasm though!


Not getting live video on hyperion

Good day!
Thanks for your good work! Tell me, please, I can not set up the transfer of images to hyperion. I have PicCap installed on webos 4.9.0, software version 05.00.15, libdile_vt library, resolution 192x108, framerate 0. PicCap starts, writes that the picture is being transmitted. I open Hyperion (installed on BananaPi M2 Zero or on a PC, the situation is the same). In Remote Control, a Flatbuffers server with the correct IP address of the TV is determined. But when you turn on live video, there is only one static blurry first frame. And nothing changes. Tell me what could be a problem?
Some addition: all it works over ethernet, no wifi.

Sounds like that issue:
https://github.com/webosbrew/hyperion-webos/issues/23 (tl;dr you'll probably need to update to the latest TV Software Version [and possibly root again])
Also check this branch/build first - this fixes some issue on that platform
https://github.com/webosbrew/hyperion-webos/pull/47 / https://github.com/webosbrew/hyperion-webos/actions/runs/1799404765
You'll need to download "hyperion_webos" artifact zip from there, then extract and upload its contents to /media/developer/apps/usr/palm/services/org.webosbrew.piccap.service (you can use something like scp or WinSCP on Windows, after setting up SSH connection to the TV) - then make sure the main binary is executable: chmod +x /media/developer/apps/usr/palm/services/org.webosbrew.piccap.service/hyperion-webos)

Tried these libraries, same situation. I really do not want to update the firmware and re-root the TV. Here the person writes that he successfully works with my firmware https://github.com/webosbrew/hyperion-webos/issues/16#issuecomment-1021146604 . Can you tell me where can I download the libraries that he uses?

Are you using the same resolution as they do? Revision posted by PinkyJie should be pretty much the same to the one that is in currently released piccap app.

The resolution is exactly the same, I wrote in the first post. And in the versions, probably, something is still different, because even with this resolution, only the January releases work for me, but they only give the first frame to hyperion. February releases (including the latest ones) do not start at all for me. They give an error when autostarting after a reboot. May be some logs helps you to understand? How can I get logs to post it?

Sorry, missed that.
Correction to my previous message: version of PicCap currently released on Homebrew Channel contains hyperion-webos in exactly the same version as the one posted by PinkyJie - you can verify this here: https://github.com/TBSniller/piccap/tree/0.2.3 → hyperion-webos submodule leads to 45f2514 commit. I suspect there are still some other config-related differences we are unaware of.
For debugging you can do two things:

Run hyperion-webos manually:

# Kill the service running in the background probably
pkill -9 -f hyperion-webos

/media/developer/apps/usr/palm/service/org.webosbrew.piccap.service/hyperion-webos -S --verbose --backend libdile_vt --address HYPERION-IP -x 192 -y 108

Check /var/log/messages (see: https://www.webosbrew.org/pages/logging.html)

# Enable low-level system logging
luna-send -n 1 -f luna://com.webos.service.config/setConfigs '{"configs": {"system.collectDevLogs": true}}'
tail -F /var/log/messages

Single still frame looks like something that should have been fixed by https://github.com/webosbrew/hyperion-webos/pull/47 - are you sure you've correctly replaced all the binaries in /media/developer/apps/usr/palm/service/org.webosbrew.piccap.service? Single still frame was occuring fairly randomly, only in some specific situation - I don't remember whether it was when playing video content from webOS apps, or during TV/HDMI input use.

Yes - that's because the frame in the vfb (to simplify - a memory buffer) we get from libdile_vt (that is the system library we use for capture in "libdile_vt backend" handling code on our side) just does not change. This is what was happening sometimes before a fix from hyperion-webos#47.
Try updating the binaries with ones from https://github.com/webosbrew/hyperion-webos/pull/47 (https://github.com/webosbrew/hyperion-webos/actions/runs/1799404765) and check again (unless in the log above you are already using that version)
To clarify we are talking about the same version, please show the result of:
sha256sum /media/developer/apps/usr/palm/services/org.webosbrew.piccap.service/*

Ok, I updated the binaries and started the service manually, it works the same as the previous one, it sends frames to the server. But there is one frame on the server... here are the screenshot

:

So, are there really no other options and I will have to update the firmware and re-root the TV? Why don't new versions work?

It confuses me that the pickup regularly sends frames to the hyperion server, this can also be seen from the traffic entering the hyperion IP. And yet, the hyperion only shows one frame. Maybe something is blocking it and you need to allow some kind of connection on the router?

After update TV to newest 05.20.09 software version and re-root via RootMy.tv v. 2.0, piccap perfect works both Old TV (libvt+libgm) and libdile_vt. Moreover, it works even on air, without rebboting TV afrer save settings!!!


Explicitly state that changes to base permissions impact both new and existing members.

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
<EMAIL_ADDRESS>What part(s) of the article would you like to see updated?
Add a note explicitly stating changes will occur on both new and existing members.
Additional information
No response

Code of Conduct

[x]  I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
<EMAIL_ADDRESS>What part(s) of the article would you like to see updated?
Add a note explicitly stating changes will occur on both new and existing members.
Additional information
No response
. #24144

I am pleased to join you, mainly for the diversity of personality and culture, religion, beliefs, gender. The codes are put in place for good reason.
But we are all very different with different situations, desires and qualities, and talents.
I have a project I feel will be of great benefit. But I have many other resources and responsibilities. I have been very slow in starting, here, but the information I am gathering could not wait.
I look forward meeting everyone, and have a great respect for your organization.
Pavel

50 $   please  give me ❤<PHONE_NUMBER>566356
сб, 25 лют. 2023, 23:58 користувач Pavel-padev @.***>
пише:

I am pleased to join you, mainly for the diversity of personality and
culture, religion, beliefs, gender. The codes are put in place for good
reason.
But we are all very different with different situations, desires and
qualities, and talents.
I have a project I feel will be of great benefit. But I have many other
resources and responsibilities. I have been very slow in starting, here,
but the information I am gathering could not wait.
I look forward meeting everyone, and have a great respect for your
organization.
Pavel
—
Reply to this email directly, view it on GitHub
https://github.com/github/docs/issues/24144#issuecomment-1445214078, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A6BYUXG6Y5LPRCNBBLB4A53WZJ6B3ANCNFSM6AAAAAAVHHL6JU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I had an issue in hydra trying to download the Enterprise 3.8 but I ran into a problem with the connection string on a line
Stopping the program from being excited.
So I had to load up 3.7 version up..

Ok that nice

You welcome ! I think it's best to inscribe also ..


Update datafile refresher script and data

No way of checking this one so I'll take your word for  : )

@JujuAdams simply buy a Miller Lite Cantroller


feat(multi-replica-snapshot): Handle multireplica snapshot in control-plane

Add multi-replica snapshot capability in control-plane.
Limit snapshot creation based on new environment variable. (max_snapshots)

@hrudaya21 this is a big chunk to review, next please please split this into separate work items / pr's

@hrudaya21 this is a big chunk to review, next please please split this into separate work items / pr's

Yes. I understand, next time, I will make different PR for easy review and rework. For current PR, what is your suggestion ? I am okay to split to multiple PRs now as well as it has separate commit and not much effort to split.

@hrudaya21 this is a big chunk to review, next please please split this into separate work items / pr's

Yes. I understand, next time, I will make different PR for easy review and rework. For current PR, what is your suggestion ? I am okay to split to multiple PRs now as well, as it has separate commit and not much effort to split.

It's fine now that it's here, it's not so much about the 2 commits, but rather each commit actually should be spread into multiple commits. For large pieces of work we tend to split into separate commits and/or pr's for rest, grpc, csi and core agent for example.

oohh.. understood. make sense as well. Will takecare in coming PRs. Thank you.

bors try

bors try

bors merge

bors merge


Main links fail WCAG2 tests in pa11y

I've found that the HTML structure required by this JS library results in WCAG2 test failures in pa11y

WCAG2AA.Principle2.Guideline2_4.2_4_1.G1,G123,G124.NoSuchId
This link points to a named anchor "[link target]" within the document, but no anchor exists with that name.

https://github.com/pa11y/pa11y/wiki/HTML-CodeSniffer-Rules
Unfortunately adding role="button" to the HTML doesn't appease the test because it's so strict.

FYI this can be worked around using the following:
pa11y --standard=WCAG2AA --timeout=120000 --ignore=WCAG2AA.Principle2.Guideline2_4.2_4_1.G1,G123,G124.NoSuchID https://example.om/


Exclude tbb_bind.cpp for v2020

This file is used for a new sub-library linked to hwloc

ping @wjakob

@wjakob are you still there ?

Thanks, sorry about the delay!


(refactor) Added return to link functions on Chain

This commit modifies Chain.link(), Chain.link_before(), Chain.link_after(), and Chain.around() to return a reference to the current Chain. This allows the, ahem, "chaining" of calls to these functions, which is slightly more ergonomic than the way things are now.
All tests pass locally with these changes, but I'm not sure how to best add tests to check this specific change.
This addresses issue #353.

You probably meant to return &mut Chain, not &Chain. The calls cannot actually be chained on a &Chain, which is immutable.

Oh geez, you're right. Fixing.

This seems like a pure win to me, it isn't even too bad of a breaking change.

Can you squash and I will merge?

Squashed. :smile:

Awesome!


Surfaces io::Error from H264Reader read.

This is useful for custom streams, that aren't blocking and implement a non-blocking IO model, where io::ErrorKind::WouldBlock is returned, along with other custom io::Error return values that are valid, but right now not exposed once the reader is wrapped within the H264Reader.

I have a project that this would be nice to use in. When this gets merged, can this issue a new release, please and thank you!

My project would benefit from this too!


[BEAM-13088] Load BigQuery temp tables into different dataset

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @pabloem, would you help me to review this?

sorry about the delay. taking a look now

LGTM. Just added a small comment. Ready to merge after that's addressed @benWize
Sorry about the long delay : ( life is busy : )

Thanks @pabloem

Run Java PreCommit

Run Java PostCommit

LGTM thanks!


Doing a 'make dev' fails during CCR due to missing recipe

Repro'd on a Mac OSX.

Clone delivery-cli (master).
Follow the instructions in README.md by doing a 'make dev all'

Result:
Chef client run fails with error:
================================================================================
Recipe Compile Error
Chef::Exceptions::RecipeNotFound
could not find recipe _openssl for cookbook delivery_rust

This was fixed a long time ago, closing this but thank you for the feedback Salim! ✌


Cent v5: latest API, async client , GRPC client

@KatantDev - great work here, I'll continue pushing this to the release in v5_dev branch


Patch Batch Request not remove items in a collection

Hello, I am using slBatchRequests PATCH, to eliminate some elements from the collection, it does not give an error but it does not make the change and this that I specify the WithReplaceCollectionsOnPatch extension, it should be noted that only in the Batch I present the problem because in PatchStringAsync it works fine, but Since there are several changes, that's why I want it to go in Batch.
The code
var req1 = new SLBatchRequest(
HttpMethod.Patch,
"WHS1('BV-091')",
"{"WHS2Collection": [{ "LineId":1,"U_Usuario": "manager","U_DesUsuario":"manager" }]}")
.WithReplaceCollectionsOnPatch()
.WithReturnNoContent();
            HttpResponseMessage[] batchResult = await _serviceLayer
            .PostBatchAsync(req1);

thanks for the help, great library B1Slayer

Hi, @mruiz-GIEG.
I did a quick test on the Items resource and I was not able to reproduce the issue. Here are my results:
The collection to be updated with a line removed:

My request:
var reqBody = new { ItemPreferredVendors = new[] { new { BPCode = "V10000" } } };

var req1 = new SLBatchRequest(HttpMethod.Patch, "Items('A00001')", reqBody)
    .WithReplaceCollectionsOnPatch()
    .WithReturnNoContent(); // not really necessary as PATCH requests don't return any content

HttpResponseMessage[] batchResult = await serviceLayer.PostBatchAsync(req1); // 204 response

The collection after the request above was made (line successfully removed):

Do you observe the same issue on other resources as well?

Not only do I have a problem with Batch, but PatchStringAsync works great, no way am I going to have to make several calls to the server, I'll tell you about any news, thanks

Not only do I have a problem with Batch, but PatchStringAsync works great, no way am I going to have to make several calls to the server, I'll tell you about any news, thanks

@mruiz-GIEG, try sending the batch request through Postman (like shown here) and see if works. Remember to use the same parameters (B1S-ReplaceCollectionsOnPatch=true in the request header).
If you get the same issue, then I guess it could be a Service Layer bug and not something related to B1SLayer.

Hello @bgmulinari  , good morning, do the tests attached to the screens, first do a get to see how many records there are, then do the batch successfully and then do a get again and the element collection was successfully updated.
Note: It is a master data type user table.
Batch code:
--batch_36522ad7-fc75-4b56-8c71-56071383e77c
Content-Type: application/http
Content-Transfer-Encoding:binary
PATCH /b1s/v1/WHS1('BV-091')
{"WHS2Collection": [
{
"LineId": 4,
"U_Usuario": "manager",
"U_DesUsuario": "manager"
}
]
}
--batch_36522ad7-fc75-4b56-8c71-56071383e77c--

Hello @bgmulinari , good morning, I proceeded with the tests, I attached the screens, first I did a get to see how many records there are, then I did the batch successfully and then I did a get again and the element collection was successfully updated.
Note: It is a master data type user table.
Batch code:
--batch_36522ad7-fc75-4b56-8c71-56071383e77c
Content-Type: application/http
Content-Transfer-Encoding:binary
PATCH /b1s/v1/WHS1('BV-091')
{"WHS2Collection": [
{
"LineId": 4,
"U_Usuario": "manager",
"U_DesUsuario": "manager"
}
]
}
--batch_36522ad7-fc75-4b56-8c71-56071383e77c--

@mruiz-GIEG, I see that you put your B1S-ReplaceCollectionsOnPatch=true header in the main request, that's not what B1SLayer does. The header is put in the inner request inside your batch request body.
Can you test it again like this?

--25f775be-0f5a-4bb0-bbd4-0b239a9b5eff
Content-Type: multipart/mixed; boundary="changeset_a02032b8-d3eb-4d8b-94b2-f5d72a467577"

--changeset_a02032b8-d3eb-4d8b-94b2-f5d72a467577
Content-Type: application/http; msgtype=request
content-transfer-encoding: binary

PATCH /b1s/v1/Items('A00001') HTTP/1.1
Host: <IP_ADDRESS>:50000
B1S-ReplaceCollectionsOnPatch: true
Prefer: return-no-content
Content-Type: application/json; charset=utf-8

{"ItemPreferredVendors":[{"BPCode":"V10000"}]}
--changeset_a02032b8-d3eb-4d8b-94b2-f5d72a467577--

--25f775be-0f5a-4bb0-bbd4-0b239a9b5eff--

I tried with the code provided from postam, and it works correctly, I batch successfully and update the values, then I modify it for my user table and it gives ok without errors, but it does not update the data collection, unless I add in the header B1S-ReplaceCollectionsOnPatch to true, then I can come to the conclusion that if the sap system table works fine from B1SLayer, the batch does it satisfactorily including the ReplaceCollectionsOnPatch in each request, but if it is the user table it must go in the global header otherwise the request does not update the collection.
I attach the code:
Code with system tables:
--25f775be-0f5a-4bb0-bbd4-0b239a9b5eff
Content-Type: multipart/mixed; boundary="changeset_a02032b8-d3eb-4d8b-94b2-f5d72a467577"
--changeset_a02032b8-d3eb-4d8b-94b2-f5d72a467577
Content-Type: application/http; msgtype=request
content-transfer-encoding: binary
PATCH /b1s/v1/Items('AF02-000087') HTTP/1.1
Host: <IP_ADDRESS>:50000
B1S-ReplaceCollectionsOnPatch: true
Prefer: return-no-content
Content-Type: application/json; charset=utf-8
{"ItemPreferredVendors":[{"BPCode":"V10000"}]}
--changeset_a02032b8-d3eb-4d8b-94b2-f5d72a467577--
--25f775be-0f5a-4bb0-bbd4-0b239a9b5eff--
Code with user tables:
--changeset_a02032b8-d3eb-4d8b-94b2-f5d72a467577
Content-Type: application/http; msgtype=request
content-transfer-encoding: binary
PATCH /b1s/v1/WHS1('BV-091') HTTP/1.1
Host: <IP_ADDRESS>:50000
B1S-ReplaceCollectionsOnPatch: true
Prefer: return-no-content
Content-Type: application/json; charset=utf-8
{"WHS2Collection": [
{
"LineId": 4,
"U_Usuario": "manager",
"U_DesUsuario": "manager"
}
]
}
--changeset_a02032b8-d3eb-4d8b-94b2-f5d72a467577--

@mruiz-GIEG, I tested it again with an UDO this time (master data type) and it still worked as expected, both on Postman and on B1SLayer. Are you able to test it in a different SAP environment to check if you get a different result?
GET request before PATCH:

PATCH request within a batch:
string reqBody = "{\"UDOTestLinesCollection\":[{\"Code\":\"UDO_Record1\",\"U_LineDesc\":\"Line1\",\"LineId\":1}]}";
var req1 = new SLBatchRequest(HttpMethod.Patch, "UDOTest('UDO_Record1')", reqBody).WithReplaceCollectionsOnPatch();
HttpResponseMessage[] batchResult = await serviceLayer.PostBatchAsync(req1);

PATCH request above captured in Fiddler Classic (monitoring tool):
--40a099f9-0f2d-4a20-bc15-820b07bb6a91
Content-Type: multipart/mixed; boundary="changeset_8dc20042-49fe-43f9-b476-92a724a05408"

--changeset_8dc20042-49fe-43f9-b476-92a724a05408
Content-Type: application/http; msgtype=request
content-transfer-encoding: binary

PATCH /b1s/v1/UDOTest('UDO_Record1') HTTP/1.1
Host: <IP_ADDRESS>:50000
B1S-ReplaceCollectionsOnPatch: true
Content-Type: application/json; charset=utf-8

{"UDOTestLinesCollection":[{"Code":"UDO_Record1","U_LineDesc":"Line1","LineId":1}]}
--changeset_8dc20042-49fe-43f9-b476-92a724a05408--

--40a099f9-0f2d-4a20-bc15-820b07bb6a91--

GET request after PATCH (line successfully removed):

I tried with another udo that I have but with the same result, excuse my ignorance, modify the B1SLayer library, and add B1S-ReplaceCollectionsOnPatch in the general request and it works fine for me, I ask if I leave it like this, that can impact me in something negative, or It will be a version issue, the one I have is Sap Bussiones One 9.2 PL:08 (64 bits), I would not want to be modifying the library because when there is an update I would not like to lose the changes I make, what version of sap do you have.

@mruiz-GIEG, that version was released quite a while ago, so it's very much possible this is an issue that was fixed in later releases. I'm on version 10.0 FP2208.
Can you try one last test? Try changing your Service Layer URL in your SLConnection instance from /b1s/v1 to /b1s/v2. This will use OData v4 and could result in a different outcome.

@mruiz-GIEG, were you able to perform the test?

@bgmulinari , Good morning, yes, I did the tests without success, we are evaluating how to migrate to version 10 next year, thank you very much.

@bgmulinari , Excellent news with Version 1.3.2, the problem has been solved, thank you very much.


Allow for customizing the read and write timeouts

Description
Allows for setting the read and write timeouts using the read_timeout and write_timeout environment variables.
Closes #9.
How Has This Been Tested?
I've tested this by setting the aforementioned values to 10s (hence more than the default of 3s) and executing a piece of code that takes a while to complete:
2019/06/12 15:56:23 stderr: 2019/06/12 15:56:23 entered Handle
(...)
2019/06/12 15:56:27 exited Handle
2019/06/12 15:56:27 POST / - 200 OK - ContentLength: 0

Before this change, I would get something like the following:
2019/06/12 15:01:03 stderr: 2019/06/12 15:01:03 entered Handle
(...)
2019/06/12 15:01:07 exited Handle
2019/06/12 15:01:07 Upstream HTTP request error: Post http://<IP_ADDRESS>:8082/: EOF

How are existing users impacted? What migration steps/scripts do we need?
I am not really sure, since I am fairly new to OpenFAAS.
Checklist:
I have:

[ ] updated the documentation and/or roadmap (if required)
[x] read the CONTRIBUTION guide
[x] signed-off my commits with git commit -s
[ ] added unit tests

Hi Bruno
Thanks for your contribution.
We need to be backwards compatible with integer format.
Please see how this is done in the openfaas-incubator/of-watchdog or openfaas/faas/watchdog and copy the approach.
Regards,
Alex

Hi @alexellis,
Thanks for reviewing!

We need to be backwards compatible with integer format.
Please see how this is done in the openfaas-incubator/of-watchdog or openfaas/faas/watchdog and copy the approach.

Are you referring to this function? If that is the case, I'd like to point out that, IMHO, that function has a few problems: it is neither compatible with integer values (as is being requested), nor is the default value observed properly whenever an environment variable cannot be parsed as a duration. I have put together an example here.
I will happily amend my commits in order to address your request, but I don't really feel like copying from https://github.com/openfaas-incubator/of-watchdog is the best approach. 🙂 Thoughts?

Please check both watchdogs. I also mentioned openfaas/faas/watchdog

but I don't really feel like copying from X

Why?

Thanks for your comment. I've updated the code and raised an issue for the discrepancy you found in how of-watchdog parses user-supplied durations. Please feel free to work on the issue linked above. https://github.com/openfaas-incubator/of-watchdog/issues/64

Hi @bmcstdio, I was under the impression from @ewilde that this was urgently needed. Please let us know if your issue has been addressed and works as expected.
https://github.com/openfaas-incubator/golang-http-template/pull/22#issuecomment-501794638
See comment above for contributing the fix to the other issue you found whilst investigating the solution.
Cheers,
Alex

@alexellis it was indeed urgently needed - fortunately #23 fixed the problem, so thank you very much for that.


feat: support @yields and @throws tag blocks

Fixes #225
Fixes #151
Adds the following to syntax highlighted JSDoc tag blocks:

@returns
@yields
@yield
@throws
@exception

See https://doc-website-m9hog6kqk-denoland.vercel.app for testing, e.g. https://doc-website-m9hog6kqk-denoland.vercel.app/https/raw.githubusercontent.com%2Fdenoland%2Fdeno_std%2F0fc3b2e75e73892a8f4310798584bf052ba34dd0%2Fhttp%2Fserver.ts.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

While variants like @returns and @yields are technically valid JSDoc, I personally don't really agree with them as they cause discussion over something that doesn't matter all that much(basically the argument for no-config, which while I disagree with it for formatters and stuff I think it makes sense here)

Personally, I think we should avoid supporting JSDoc that doesn't impact how TypeScript analyses the types.  Specifically there is a @yields request open and if you read the issue, it is rather complex, because there are several interfaces that could be applied to a @yields value that are totally ambiguous with that tag.

While variants like @returns and @yields are technically valid JSDoc, I personally don't really agree with them as they cause discussion over something that doesn't matter all that much(basically the argument for no-config, which while I disagree with it for formatters and stuff I think it makes sense here)

I guess it depends on what we deem the purpose / value of the docs website? Afaik it is a useful utility to allow Deno module authors to have out of the box documentation for their module, not in itself a style guide or formatter. Abusing Postel’s law somewhat, I’m all for being strict in the deno fmt and lint builtins but here I feel it makes sense to have elegant documentation for users that have chosen to make use of a greater set of jsdocs given we give the impression of supporting them (another opportunity perhaps to reduce friction for Node authors contemplating supporting Deno?).
If folks are to start relying on this docs as a source of truth it is an omission to not document the likes of what can be thrown (whereas including immediately guides your error handling behaviour), and simply wrong if the lack of @yields support started to encourage users to use @returns instead which is semantically wrong.

But where do you draw the line? JSDoc list 67 block tags and then there are the other variations of non-standard ones.

Yeah get your point - it would be good to define the exact set desired, and then document that so it is transparent to users 😄 currently you might assume it fully supports JSDocs (indeed the likes of https://deno.land/manual/tools/documentation_generator#documentation-generator both has an unsupported @returns tag and perhaps implies that JSDocs are supported) which it doesn’t.
This is a separate issue(s) though, so will close this and raise something to that effect.

Raised https://github.com/denoland/doc_website/issues/228


Volhovm/csl1598 addr listen topology kademlia dup

Moved tcpAddr to NetworkConfig.
Removed TransportConfig as it was holding tcpAddr only.
Changed binding CLI logic:

Bind address is unchanged
External address is taken from cli or taken as bind address if absent (no need to specify same address twice explicitly)
If kademlia external address is not equal to CLI external address, exception is thrown

Formatted Pos.Network according to the style guide.

I need to rebase and test it first.

@gromakovsky First commit of this PR is mostly cosmetic, you can review other commits explicitly, they are smaller.


emails: Cleanup email CSS.

This PR removes unused CSS styles from the emails.css file. Deleted styles have been identified as no longer in use in any part of the email templates.
The goal of this change is to improve the readability and maintainability, making it easier to make updates and changes in the future.

Resolved merge conflicts, which resulted in fewer changes in this PR. No other changes were made, so if there are no additional comments except for the ones above, it is ready for integration review.

I'll do an audit for whether any of these are used for something sneaky before merging this; probably not today.

OK I think I've confirmed that I don't believe any of this CSS is operative, except https://github.com/zulip/zulip/pull/25166#discussion_r1337639952 seems like it is (at least to the extent the other stuff in that section is), so I left it in. Thanks @shameondev!


attempting to improve recovery of a cluster post-reboot

ensure zookeeper is available before starting marathon and chronos (fixes #533)
preserve internal dns resolution (improves #538 but #544 also needed)
require at least ansible 1.9.1 so that services can properly be enabled/disabled (fixes #549)

@ryane is this ready to merge?

Yes, I believe so. I have successfully tested on vagrant, digitalocean, aws and gce. But, we'll have to keep an eye out for issues on other platforms

Testing in progress.

This fails for me after reboot:
TASK: [wait for consul to listen] *********************************************
failed: [sborrell-worker-02] => {"elapsed": 300, "failed": true}
msg: Timeout when waiting for <IP_ADDRESS>:8500

FATAL: all hosts have already failed -- aborting

Ah, that looks like it might be due to https://github.com/CiscoCloud/microservices-infrastructure/pull/544. Without that fix, there is still going to be a problem on the worker nodes after they are rebooted.
diff --git a/roles/consul/tasks/distributive.yml b/roles/consul/tasks/distributive.yml
index bd14f56..d1cba03 100644
--- a/roles/consul/tasks/distributive.yml
+++ b/roles/consul/tasks/distributive.yml
@@ -27,6 +27,7 @@
   copy:
     src: distributive-consul-config.json
     dest: /etc/consul
+  when: "'{{ consul_servers_group }}' in group_names"
   notify:
     - reload consul
   tags:

works for me.

Still failing:
Process: 5164 ExecStartPre=/bin/bash -c (echo > /dev/tcp/zookeeper.service.consul/2181) &> /dev/null (code=exited, status=1/FAILURE)

Looks like it is failing because /etc/resolv.conf is being overwritten.
cat /etc/resolv.conf
; generated by /usr/sbin/dhclient-script
search cisco.com novalocal
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>

I think we need to configure dhclient to prepend the domain so that we don't see these issues after reboot:
Make sure the following line is in /etc/dhcp/dhclient-eth0.conf (or similar file):
prepend domain-name-servers <IP_ADDRESS>;


RuntimeError: CUDA error: CUBLAS_STATUS_INVALID_VALUE

What
I am trying to get this to run on a NVIDIA T4. However I always get an error. When I run it on a cpu it works great. Just a bit too slow for larger files.
The error:
lh2dg 2022-11-13T10:55:35.504Z layer_outputs = layer( l
h2dg 2022-11-13T10:55:35.504Z encoder_outputs = self.encoder(
lh2dg 2022-11-13T10:55:35.504Z File "/opt/conda/lib/python3.9/site-packages/transformers/models/wav2vec2/modeling_wav2vec2.py", line 872, in forward
lh2dg 2022-11-13T10:55:35.504Z return forward_call(*input, **kwargs)
lh2dg 2022-11-13T10:55:35.504Z return forward_call(*input, **kwargs) lh2dg 2022-11-13T10:55:35.505Z attn_weights = torch.bmm(query_states, key_states.transpose(1, 2))
lh2dg 2022-11-13T10:55:35.505Z **RuntimeError: CUDA error: CUBLAS_STATUS_INVALID_VALUE when calling `cublasSgemmStridedBatched( handle, opa, opb, m, n, k, &alpha, a, lda, stridea, b, ldb, strideb, &beta, c, ldc, stridec, num_batches)`**

Also on CPU I noticed that for recordings longer than 1 minute, the program crashes. Is there something I can configure to make longer recordings work?


Very funny problem

Hello all,
I have a recent problem with one of my web applications where I use the plugin jQuery Flip.
It used to work flawlessly, and since I don't use the web application that often anymore, I found out relatively late that a very strange phenomenon is occurring.
It is very difficult to describe, in principle the flip works, but the animation goes over the whole window and is therefore very unsightly.
Since I do not know exactly since when the problem occurred, I have now used some older versions of jQuery Flip to check whether I can clean up the problem, but unfortunately had no success.
I attached a short video where you can see the problem and have the link to my application here (http://homawog.bplaced.net/ChordInversions/ChordInversions.php).
Maybe anyone has had a similar problem and may have a solution, I'm a bit at a loss.
Many thanks and kind regards
Martin
https://user-images.githubusercontent.com/96771161/147790329-57b60faf-92da-4197-a107-940c4421de21.mp4

You can fix it by adding this css:
#card{
perspective: 100px !important;
}

I'm so glad I looked for existing issues before filing on this same behavior.
https://github.com/nnattawat/flip/assets/4670942/d6aff8f4-467d-4baf-83da-c9e6cd43c963

I'm so glad I checked here before filing a new bug on this same behavior.  It was so disappointing to see it happening but I'm equally relieved there's a simple fix.
https://github.com/nnattawat/flip/assets/4670942/b2e665ee-76eb-4bb3-a90a-56bc990be862


Fall back to direct subtype comparison at the end in dropIfSuper and dropIfSub

Improve compiling in #20516.
We need to be careful to check branches of AndTypes and OrTypes in correct order,  see discussion in issue #20516.
Fall back to direct subtype comparison at the end in dropIfSuper and dropIfSub.
We may need to improve subtype checking for large intersections further to be able to fully test the example.
Currently, tests/pos-deep-subtype/i20516.scala compiles in 5s with this PR, and in 40s on the main branch.

test performance please

Can you run the test cases mentioned there and check whether they become significantly slower?

@odersky  I compared the compiling time of i19907_*.scala, i12915.scala, i7034.scala, and other tests in deep-subtype between my fix and the main branch, and there is no difference.


Update

Update de README

Why you want to merge the GHpages branch into the main branch?

Why you want to merge the GHpages branch into the main branch?

Bro the truth I don't understand much github and I'm writing randomly xd

Hey do the changes on the main branch. Closing this PR as this will not be merged under any circumstances.
If you need any help, do ping us on the #help channel on EddieHub Discord

Bro I dont understand github and you xd


[csl] simplify calculating CSL phase

This commit simplifies the calculation of CSL phase. The previous expression is only correct if the CSL phase is smaller than the CSL period, which may not be true when the CSL period is updated and the new CSL sample time is not updated yet, this can happen because the CSL IE is supposed to be filled in an ISR handler.

It turns out the current CslSampleTime is not exactly the upcoming sample's time, but depending on whether it's in the sample's ahead time or not. So the modulo cannot be saved in the current implementation.


Windows specific patches

So I finally get time trying to address issue #133. These patches include:

Use subprocess.Popen instead of os.fork. As os.fork is dropped in Python 3.8, and doesn't work on Windows, I believe using subprocess.Popen is a better choice. Use multiprocessing now, see #136
Default tcp address: <IP_ADDRESS>:6789 on Windows. Before build 17063 Windows doesn't support unix socket, so we use a tcp address. On *nix system, still use /tmp/nvimsocket.
Fix --serverlist on Windows. --serverlist arg didn't work on Windows, this fixes it.
Also produce gnvr binary for GUI use. If you want to right-click something in file explorer and open it, just use gnvr. The difference from nvr is it doesn't bring up the ugly command line window if you are working on GUI desktop.
Use double quotes in doc. It seems on Windows args parsing is more strict/limited, outer single quotes usually are considered as errors. We use double quotes to avoid confusion.
Make noise only if user makes mistakes. i.e. nvr now should work out of the box. If no neovim instance is found, it will automatically help launch one(and do the rest work in queue, remote-expr, remote-send... etc). It also launches another instance if user explicitly designate an address with --servername to attach(but without success), unless --nostart is also given. This makes nvr flexible enough to run multiple neovim instances, and user friendly.

These patches also obsolete my invr.au3 script.
Let me know if I break something :)

Please drop the double-quote commit, since I don't see the technical merit. Let's concentrate on the process handling for now. :)

I wonder if subprocess is even applicable in this case. On Unix, it does use os.fork() and os.execvp() in the child, but that makes nvim spawn in the background without any way to get it into the foreground. But that's what we want. If nvr finishes, we should be in a nvim process.
Maybe the correct approach would be to replace the current process via os.execvpe() (like master does), but somehow use multiprocessing (?) before that to keep nvr running in the background (instead of the other way around).

The issue I get on Unix with this PR is the same as if I'd using master but switching the bodies of if/else here: https://github.com/mhinz/neovim-remote/blob/master/nvr/nvr.py#L69-L86

@mhinz I've made some improvement, and did some test under alpinelinux(clearly not enough). Can you pull the latest commits and see if things get better?

Could you try master again?
The latest commit replaces os.fork() by multiprocessing and does the opposite of what subprocess would be doing: It replaces the current process with the new nvim process and before that starts a new child process that makes nvr attach to the new process, does its thing, and then exits.
Theoretically, this should work for Win as well. If it does, I'll cherry-pick your other commits from this PR onto master.

Emm, the lastest commit says:  parameter error.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Program Files\Python38-32\lib\multiprocessing\spawn.py", line 102, in spawn_main
    source_process = _winapi.OpenProcess(
OSError: [WinError 87] 参数错误。

Maybe you pass wrong paremeters? I will investigate the code.

Maybe it's a Python bug? https://bugs.python.org/issue37549

Looks ok to me on Windows 10.
>>> import os
>>> os.dup(1)
3
>>>

Hmm, there are so many issues when you search for OSError: [WinError 87]... why can't stuff just work?

I think I kinda figure it out. os.execvpe will replace the current process immediately, open file objects and descriptors are not flushed. From what i see, unless we are 100% sure the job is done, we are never supposed to replace the current process. If we have to use os.execvpe, it'd better be our last step or in another python interpreter process, not in main loop.
I'll create a PR,  please pull it and see if it works.

@mhinz I revert subprocess.Popen related commits, and make minor fixes about show_message function.
Please merge #136 first, then this PR will be ready to be merged. :)

Thanks to this pull request (and #136), I now have access to a core functionality that previously stalled my full workflow migration from gVim to Neovim on Windows 10. However, I did have to manually update nvr.py to ensure the nvim-qt process is called upon instead of the default terminal nvim process. As a layman, I do not know how to best handle all scenarios graciously, but I do think the end-user shouldn't have to recompile code based off whether her/his workflow is nvim-centric or nvim-qt-centric. I would have expected nvr and gnvr to be different in that respect; both call the same process from what I currently understand.
See the following line where I updated 'nvim' to 'nvim-qt' to support my specific workflow:
https://github.com/ashfinal/neovim-remote/blob/100a1f854ee96cca82fa3d19b1b06fd94acfd0e2/nvr/nvr.py#L65
Thanks again!

Glad to hear that! :) That's nice.
Did you also merge #136 or just #135 alone? These two PRs should make neovim-remote work on Windows and Unix platforms.
Tips: you don't have to recompile code to be able to run nvim-qt. You just need to set environment variable 'NVR_CMD' to 'nvim-qt'. And, nvr and gnvr are the same thing for the most part, except gnvr doesn't depend on Command Prompt, while nvr does. When using  context menu's "Edit with Neovim-qt" in Explorer, you certainly don't want to see the big black Command Prompt.

Thanks for the tip, I must have read the README a bit too literally. Might I suggest rewording the following passage to confirm NVR_CMD can be used on any platform ?
If the targeted address does not exist, nvr starts a new process by running "nvim". You can change the command by setting $NVR_CMD. (This requires forking, so it won't work on Windows.)
FYI, I did merge #136, then #135 as requested above. Setting the proper registry for file right click support worked flawlessly when using either nvr or gnvr as the called process. Therefore I didn't have the black window you mentioned even using nvr, just the actual nvim terminal.

Sure, we should definitely change that paragraph since neovim-remote will work on most platforms, of course, after @mhinz has merged these two PRs. On Windows, the environment variable is %NVR_CMD%.

Therefore I didn't have the black window you mentioned even using nvr, just the actual nvim terminal.

That's strange. When using nvr, you should see Command Prompt window flashing by very quickly. Maybe it's related to specific version? My Windows version is 10.0.14393, and Python version is 3.8.1. Anyway, it's a tiny flaw, should not matter much.

@ashfinal Thanks! I am using your branch directly and it works flawlessly!


Setting datum_tries to 0 actually retries 3 times & disabling retries for a pipeline

What happened?:
Setting datum_tries in the pipeline spec to 0 actually retries 3 times
What you expected to happen?:
I actually expected it to not retry at all.
I have a good user story to justify 0 retries if needed:
I have a pipeline that does a reduce where some of the reductions might fail. 1% failure is common, and  and since some of the code is third party i cant turn this into a warning. So this always get retried and succeeds with an error_cmd which wastes quite alot of run time.
If 0 is not a valid value id expect pachyderm to fail when updating the pipeline spec. But i would really appreciate the option to disable retries for some pipelines.
How to reproduce it (as minimally and precisely as possible)?:
As described above.
Environment?:
Pachyderm hub 1.11.3

I seem to have misunderstood the docs, it is not datum_retries but 'datum_tries' meaning how many times to attempt the datum. So 'datum_tries' = 1 will have no retries.


fix(updater): doesn't shutdown app gracefully

Fix #1014

The downside about this is that we will have to assume ShellExecute will run successfully, since we need to clean up before the installer gets executed (installer will kill all running instances)

And, I'm not familiar with how updaters shutdown the app on other platforms, is this just a Windows problem or we need to do something for other platforms as well?

And, I'm not familiar with how updaters shutdown the app on other platforms, is this just a Windows problem or we need to do something for other platforms as well?

correct, other platforms update without restarting and wait for users to relaunch.

they are exposed https://docs.rs/tauri-plugin-updater/latest/tauri_plugin_updater/struct.Update.html#method.download

I think a better way to handle this would be to take a generic callback to be executed on before restart

I'll take a look

they are exposed https://docs.rs/tauri-plugin-updater/latest/tauri_plugin_updater/struct.Update.html#method.download

I mean the JavaScript side

I mean the JavaScript side

yeah sure, was hoping to do it at some point


BR (Bayerischer Rundfunk) broken download

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
Germany
Provide a description that is worded well enough to be understood
Links from https://br.de do not work anymore.
BR: Bayerischer Rundfunk is mentioned under https://ytdl-org.github.io/youtube-dl/supportedsites.html as supported site.
The users of our frontend to yt-dlp also mentioned, that it worked in the past.
I do not know, if the BR site structure for offering the content changed.
Example Link: https://www.br.de/br-fernsehen/import/audiovideo/erinnerungsprojekt-caro-matzko-100.html
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', 'https://www.br.de/br-fernsehen/import/audiovideo/erinnerungsprojekt-caro-matzko-100.html']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds [168e72dcd] (pip)
[debug] Python 3.10.6 (CPython x86_64 64bit) - Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.35 (OpenSSL 3.0.2 15 Mar 2022, glibc 2.35)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.11.0, brotli-1.0.9, certifi-2020.06.20, mutagen-1.47.0, pyxattr-0.7.2, requests-2.31.0, secretstorage-3.3.1, sqlite3-3.37.2, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1810 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds)
WARNING: The program functionality for this site has been marked as broken, and will probably not work.
[BR] Extracting URL: https://www.br.de/br-fernsehen/import/audiovideo/erinnerungsprojekt-caro-matzko-100.html
[BR] erinnerungsprojekt-caro-matzko-100: Downloading webpage
ERROR: [BR] erinnerungsprojekt-caro-matzko-100: Unable to extract XMLURL; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/home/chris/.local/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 734, in extract
    ie_result = self._real_extract(url)
  File "/home/chris/.local/lib/python3.10/site-packages/yt_dlp/extractor/br.py", line 84, in _real_extract
    xml_url = self._search_regex(
  File "/home/chris/.local/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 1321, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)

Duplicate of #8740


Avoid undefined methods for nil class

For a URL like https://facebook.com/something, I get NoMethodError: undefined method encode for nil:NilClass when I call the grab method. The commit here just calls to_s before the encode method in order to make sure that the it runs over a string.

Great, thank you!


allowed_file uploading bypass by simply changing file extension

Hi,
When I try the product, I find that it is easy to bypass the file type restriction on the uploading functionality.  The issue is CWE-646: Reliance on File Name or Extension of Externally-Supplied File
You could rename any file with the extension types presented in here to bypass the limitation. Only checking extension suffix in the filename is not enough, using magic number to check would be a better approach.
Thanks for your time reading.

Thanks for your advice. This is indeed vulnerable. Would you like to open a PR to improve it? We'll be glad to have more contributors!


How to handle Slack actions that take longer than 3 seconds

Hello!
According to the source code https://github.com/dempfi/xene/blob/master/packages/slack/src/middleware/middlewares.ts#L31
It calls a callback passing a context object, awaits it and then it compares the object message field with the original message and formats a response.
However, some handlers can take more than 3 seconds and Slack automatically marks them as failed.
In theory, we are able to send 200 and some body (with ephemeral message for example), finish the job and update the original message later.
According to MiddlewareContext  interface it's not clear what we can use to achieve this. It expects only changes on message or ephemeral fields.

Hear you, will fix in next release.

Closed in<EMAIL_ADDRESS>


Why can't the mobile end use only the point can not slide[BUG]

When using this on mobile terminals, it is found that the mask to remove the watermark can only be tapped and not swiped

me too


Music Video / Artist Images

I have a Music Videos folder. Inside, each Artist has a folder, with a few of their music videos inside. As a Music Video library/channel, it works, however in Jellyfin there is no image for each music video or artist, just the grey placeholder

What does one need to do to display an artist image? Also, when I place an .nfo into the artist folder and scan the library, that artist is removed from the Music library until I delete the .nfo. Just to double-check, on the ErsatzTV dashboard, under Media, are Music Videos supposed to come under the heading "Music" (as they do for me) or "Music Videos" (which I haven't seen)?

Please include your ErsatzTV version, found below the left menu, when posting.
Music Videos support artist NFO metadata (name, genre, style, mood, biography), and artists will show up in the Music section.
Currently (v0.8.6-beta), the music video XMLTV template receives music video thumbnails, not artist thumbnails. If that is desired, we can make this a feature request.

ErsatzTV Version
v0.8.6-beta-win-x64
Thanks for the speedy reply, the problem stands, if I place artist.nfo in the relevant artist's folder, the artist is removed from the Music section and there is a warning in the Logs. Is it a problem with the nfo? I've tried a few artists, this is the gorillaz' Artist.nfo

Gorillaz are an English virtual band created in 1998 by Damon Albarn and Jamie Hewlett. The band consists of four animated members: 2D (lead vocals, keyboard), Murdoc Niccals (bass guitar), Noodle (guitar, keyboard, and backing vocals) and Russel Hobbs (drums and percussion).
false
2022-09-17 22:09:30
Gorillaz
0
111393
e21857d5-3256-4547-afb3-4b6ded592596

Z:\Music\Gorillaz\Folder.jpg
C:\ProgramData\Jellyfin\Server\metadata\library\7b\7bab1c6f5757735ff03909176a04166b\backdrop.jpg

Plastic Beach

and this is the error
Error indexing artist with metadata {"Disambiguation":null,"Biography":"Gorillaz are an English virtual band created in 1998 by Damon Albarn and Jamie Hewlett. The band consists of four animated members: 2D (lead vocals, keyboard), Murdoc Niccals (bass guitar), Noodle (guitar, keyboard, and backing vocals) and Russel Hobbs (drums and percussion).","Formed":null,"ArtistId":4874,"Artist":null,"Styles":[],"Moods":[],"Id":134,"MetadataKind":"Sidecar","Title":null,"OriginalTitle":null,"SortTitle":null,"Year":null,"ReleaseDate":null,"DateAdded":"2024-04-06T14:58:08.5736954","DateUpdated":"2023-02-09T13:09:40.0658344","Artwork":null,"Genres":[],"Tags":null,"Studios":null,"Actors":null,"Guids":[],"Subtitles":null,"$type":"ArtistMetadata"}

Thanks I'm gonna go buy some clown makeup

No worries, happy to help.


Redis integration with Saga pessimistic lock

Optimistic locking is a good solution but pessimistic lock is way better. If Saga machine is hosted on multiple instances than only one solution is to use storage with a pessimistic locking mechanism. Since now Redis integration brings this feature to Saga.
Prefixes of keys improve readability and organization in Redis storage.
Screenshot example:

To soon.

RedisSagaRepository was tested under heavy stress, multiple writes to same saga instance in a distributed environment.

I need to look at locking but I don't think prefixing the keys with a default value is a good idea. If I now deploy this - it will break all running sagas. It is not backwards compatible.

Concerning the locking - I think, again, for compatibility it should support new way of locking in additon to the the existing one, using some configuration.

I tend to agree, it should be an option. Thoughts on how to adjust? A flag, etc? And yeah, the prefix breaks things.

EF persistence has a flag with a default.
var repository = new EntityFrameworkSagaRepository<SagaInstance>(
    contextFactory, optimistic: true);

Right on, I'll work on those changes now.

I'm trying to figure out why my unit test won't connect to Redis running on my mac using Rider...

I think I cleaned all this up, and now support both locking methods.
Also, the keys/locks are compatible with the previous version.

Cool stuff
On Sat, 21 Apr 2018 at 04:08, Chris Patterson<EMAIL_ADDRESS>wrote:

I think I cleaned all this up, and now support both locking methods.
Also, the keys/locks are compatible with the previous version.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MassTransit/MassTransit/pull/1103#issuecomment-383259653,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACsMVT2uvXtqGFE9Bu5Epo54WkMFbY2iks5tqpSWgaJpZM4TdO4z
.

--
Med vennligst hilsen / Best regards,
Alexey V. Zimarev

Yeah! It's clear now and backward compatible, constructor parameters it's a good way to provide configuration.
Maybe method async Task UpdateRedisSaga<T>(ITypedDatabase<TSaga> sagas, TSaga instance)  when using pessimistic lock shouldn't get and compare version?
StackExchange.Redis has some issues on Linux environment since <IP_ADDRESS>, perhaps on Mac too.
Prefix option is pretty cool but if AcquireLockAsync   stays as an extension method it will be hard to implement it as an option.
I think DataCacheLock  should be defined in a separate file, AcquireLockAsync should be a private method in RedisSagaRepository.
Should I make a pull request with prefix option this way?

@alexeyzimarev @phatboyg  one more thought.
SagaRedisRepository should not decide if use optimistic or pessimistic locking mechanism, a decision should be taken by an implementation of IVersionedSaga or not.

It is too implicit. What is the problem with having a configuration option?

Now we use optimistic locking even if the repository was configured to not use optimistic locking. I think is overkill for Redis. Pessimistic is enough, therefore, Version property in my Saga is useless.


Example to migrate Horizon

I have just discovered the BREF package (via Serverless Chats Podcast) and I am very interested in trying it out.  One of my pain points in my AWS deployment is my queue workers.  I would love to move those to Lambda.
The application currently uses Laravel Horizon.  I am not familiar enough with the underpinnings of horizon to apply the given documentation to a Horizon context.  An example, or some documentation on converting Horizon to use this package would be a welcome addition.

Hi! Laravel Horizon unfortunately targets Redis only, and using Lambda would make sense only with SQS.
Switching from Redis to SQS is fairly easy, however you would loose the Horizon dashboard :/
(unless I missed a way to use Horizon with SQS)

Ah, I missed this.  The former developers used SQS in the past, but must have added horizon after they switched to Redis.
That may delay my interest, but it sounds like a safe migration path is, remove Horizon and move to Laravel Queue Workers, then switch to SQS, then switch to serverless workers.
I'll do some research on SQS dashboards that might fill the Horizon dashboard function.  Feel free to close the issue.  I can now see why this is out of scope.

👍
FYI it is possible to create some dashboards with AWS CloudWatch, but it requires a bit of effort, and there are not as nice as Horizon.
This is a topic I want to work on (to provide useful dashboards with SQS).


Box  redirect_uri_mismatch

Hi,
I get redirect_uri_mismatch  when trying to authorizing box.
Error Details
response_type=code
redirect_uri=https://localhost/oauth
client_id=xxx
thx
Leo

Same.

Same


Error when running the cmake

Hello, this is my error:
`-- Could NOT find Boost (missing: timer iostreams filesystem system chrono) (found version "1.67.0")
CMake Error at CMakeLists.txt:290 (message):
  Cannot find Boost libraries.  Terminating.

-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring incomplete, errors occurred!
See also "C:/Users/PC-1/Desktop/ThesisRelated/Paper/previous_works/news-translit-nmt-master/tools/marian-dev/build/CMakeFiles/CMakeOutput.log".`

I've tried reinstalling boost, different versions, and it doesn't seem to help.
How can I overcome it?
I've also opened stackoverflow post regarding this problem: (I want to run this code and cite it in my paper)
https://stackoverflow.com/questions/57444278/cmake-doesnt-find-boost-windows
Thanks

Do you have installed all required Boost libraries? I don't have much experience with compiling Marian on Windows. What works fine for me is compilation within WSL (Windows Subsystem for Linux). You may also try providing a Boost path to the cmake command directly via -DBOOST_ROOT=..., please see https://marian-nmt.github.io/docs/#custom-boost

Thanks, I've just tried but received similar output:
`C:\Users\PC-1\Desktop\ThesisRelated\Paper\previous_works\marian\build>cmake .. -DBOOST_ROOT="C:\Program Files\boost\boost_1_67_0"
-- Project name: marian
-- Project version: v1.7.6+1d4ba732
-- Found CUDA libraries: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/lib/x64/curand.lib C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/lib/x64/cusparse.lib C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/lib/x64/cublas.lib
-- Using std::regex
-- Found OpenSSL
-- Could NOT find Boost (missing: timer iostreams filesystem system chrono) (found version "1.67.0")
CMake Error at CMakeLists.txt:315 (message):
Cannot find Boost libraries.  Terminating.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring incomplete, errors occurred!
See also "C:/Users/PC-1/Desktop/ThesisRelated/Paper/previous_works/marian/build/CMakeFiles/CMakeOutput.log".
`

Have you seen the instructions in marian/vs and are they helpful? https://github.com/marian-nmt/marian/tree/master/vs

Yes, i've tried it now. I'm getting the following error:
"--Configuring incomplete, errors occurred!
CMake Error:
Generator
  Visual Studio 15 2017 Win64

could not find any instance of Visual Studio"
Of course that I have Visual Studio 2019 & VS Code...
In addition, I'm trying with WSL as you suggested.
I've installed Ubuntu 16.04 on WSL, installed gcc, g++, essentials, python, and now trying to install cuda.
I've downloaded the relevant cuda installation file (sudo sh cuda_10.1.168_418.67_linux.run) and ran it, but getting the following error:
"WARNING: The file '/proc/sys/kernel/modprobe' is unavailable; the X server will use /sbin/modprobe as the path to the modprobe utility.  This path differs from the one determined by nvidia-installer, /bin/kmod.  Please verify that /sbin/modprobe works correctly or mount the /proc file system and verify that '/proc/sys/kernel/modprobe' reports the correct path.
ERROR: Unable to find the kernel source tree for the currently running kernel.  Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed.  If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option."
To sum up what I've tried:

Windows (Not finding boost, unable to supply custom boost-still not finding)
Linux in WSL
Linux in VirtualBox
Getting the same error for linux in WSL and in VirtualBox

This is my current status:
I built boost successfully:
`The Boost C++ Libraries were successfully built!
The following directory should be added to compiler include paths:
C:\Program Files\boost\boost_1_67_0

The following directory should be added to linker library paths:
C:\Program Files\boost\boost_1_67_0\stage\lib`

But when performing again cmake .. -DBOOST_ROOT="C:\Program Files\boost\boost_1_67_0" i'm receiving the same error again:
`-- Could NOT find Boost (missing: timer iostreams filesystem system chrono) (found version "1.67.0")
CMake Error at CMakeLists.txt:290 (message):
Cannot find Boost libraries.  Terminating.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring incomplete, errors occurred!
See also "D:/ThesisResources/previous_works/news-translit-nmt-master/tools/marian-dev/build/CMakeFiles/CMakeOutput.log".
`
I've tried to set variables to the compiler include paths and the linker library paths but I think I'm doing it wrong.
I feel close to the solution, but I'm still not sure how to continue.

Updated status with screenshots here:
https://stackoverflow.com/questions/57444278/cmake-doesnt-find-boost-windows

Please keep also in mind that all scripts for reconstructing experiments have been prepared for and tested only on Unix.

Yes, I see. Tomorrow I'll install Ubuntu 16.04 instead of my 17.10 and try again.

I reinstalled Ubuntu 16.04 and the problem was solved. Still don't know how to solve it in windows, but i'll continue use Ubuntu 16.04.


Sent and deliver always 0

parse-server: 2.3.7
parse dashboard: 1.0.25
If I sent an push notification with parse dashboard or rest api the sent and deliver number is always 0. The push notifications always received and displayed on iOS device.

2017-04-25T20:15:04.409579+00:00 app[web.1]: verbose: REQUEST for [POST] /parse/push: {
2017-04-25T20:15:04.409587+00:00 app[web.1]:   "where": {},
2017-04-25T20:15:04.409588+00:00 app[web.1]:   "data": {
2017-04-25T20:15:04.409589+00:00 app[web.1]:     "alert": "Test 1"
2017-04-25T20:15:04.409590+00:00 app[web.1]:   }
2017-04-25T20:15:04.409592+00:00 app[web.1]: } method=POST, url=/parse/push, host=whispering-spire-56438.herokuapp.com, connection=close, origin=https://parse-playground-dashboard.herokuapp.com, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36, content-type=text/plain, accept=/, referer=https://parse-playground-dashboard.herokuapp.com/apps/ParsePlayground/push/new, accept-encoding=gzip, deflate, br, accept-language=de,en;q=0.8, x-request-id=ce50e75d-1369-4316-a5ec-7f0bf3e10852, x-forwarded-for=<IP_ADDRESS>, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=0, x-request-start=1493151304405, total-route-time=0, content-length=203, , alert=Test 1
2017-04-25T20:15:04.416818+00:00 app[web.1]: verbose: RESPONSE from [POST] /parse/push: {
2017-04-25T20:15:04.416820+00:00 app[web.1]:   "headers": {
2017-04-25T20:15:04.416822+00:00 app[web.1]:     "X-Parse-Push-Status-Id": "CUW9Lq7jRd"
2017-04-25T20:15:04.416822+00:00 app[web.1]:   },
2017-04-25T20:15:04.416823+00:00 app[web.1]:   "response": {
2017-04-25T20:15:04.416823+00:00 app[web.1]:     "result": true
2017-04-25T20:15:04.416823+00:00 app[web.1]:   }
2017-04-25T20:15:04.416824+00:00 app[web.1]: } X-Parse-Push-Status-Id=CUW9Lq7jRd, result=true
2017-04-25T20:15:04.423496+00:00 app[web.1]: verbose: _PushStatus CUW9Lq7jRd: sending push to 1 installations
2017-04-25T20:15:04.432339+00:00 app[web.1]: verb parse-server-push-adapter APNS APNS Connection 0 Notification transmitted to 3a1c76787c06397ff726a0464a7e34a5971e5eb1a4d5dec8eaffaa7c98822a3e
2017-04-25T20:15:04.432663+00:00 app[web.1]: verbose: _PushStatus CUW9Lq7jRd: sent push! 0 success, 0 failures
2017-04-25T20:15:04.447282+00:00 app[web.1]: verb parse-server-push-adapter APNS APNS Connection 1 Notification transmitted to 3a1c76787c06397ff726a0464a7e34a5971e5eb1a4d5dec8eaffaa7c98822a3e
2017-04-25T20:15:04.449121+00:00 app[web.1]: verb parse-server-push-adapter APNS APNS Connection 0 Disconnected
2017-04-25T20:15:04.738997+00:00 app[web.1]: verb parse-server-push-adapter APNS APNS Connection 0 Connected

same problem!

What version is the push adapter?

@flovilmart I use "parse-server-push-adapter": "1.3.0"

I believe I understand the issue, if you swap the order of your push options, this should be reported correctly. Actually, the next release of parse-server will probably come with APN 2.0 with uses HTTP/2 instead of the binary API, and this will most likely solve the issue.

How long I have to wait?

A few days, note that the next version of he push adapter is in it's early stages, I need to run more tests.
You could test it yourself by installing the latest version https://www.npmjs.com/package/parse-server-push-adapter

Push sent Success but for APNs still show 0 sent and status waiting...

I found the issue; I'm running more tests to isolate correctly and will provide a fix soon

Thank you :+1:  :)

Also, the issue is fixed with version 2.0.0-alpha.1 that leveraged the modern HTTP/2 endpoints

I had test alpha version, but i got 0 sent for iOS push.

How did you test the alpha version?

I had install @2.0.0-alpha.1 version with NPM in my current parse-server parse-dashboard  project and test it. wrong?

@flovilmart hey, i hope you don't get mad but its been a long time. It does not look like its being maintained, should I fork this or one-signal adapter and fix issues ? Or would you like to give the project someone can maintain this package ?

This works correctly with the 2.0.0 alpha version, I just need to make it mainline now that I have it running in production for a while without issues

so should i just install in my project with @v2.0.0-alpha.1 tag and everything should be smooth right ?

We’ll probably release 2.0.0 as a real release before next week and release parse-server alongside. If you wanna try out the alpha, you need to treat it as a custom push adapter

Next release of parse-server (2.5.1) will feature the new push adapter (v2.0.0) it's being built at the moment and from what I see by running the alpha in production for a while, the issue should be closed by then.

@flovilmart updated to new versions but still not getting notifications

@mzgnr can you please open a new issue with the logs of the server when running with VERBOSE=1 and sending push?


Add power calculation / math

See #44
As the current is known, the library can provide the power if the voltage is known.  Watts = amperes * voltage
This is pretty simple to calculate but might still be useful as it fits the context of the library.
There are two options.
float power = ACS712.getPower(float voltage);

or

ACS712.setPowerVoltage(float voltage);  e.g 110.2 or 230.5
float power = ACS712.getPower();

As voltage may fluctuate, the first makes slightly more sense.
The second one could be faster although making measurements of current exceeds by far the parameter passing.
Also needs 4 bytes to cache the float.
One alternative is to cache last current and last voltage .... but then one need timestamps to see the validity....
Another problem is that the library does not know if it needs to measure AC or DC
so think of this interface
float power = ACS712.getPowerAC(float voltage);
float power = ACS712.getPowerDC(float voltage);

This interface is as easy as
float power = ACS712.mA_AC() * voltage;

so does not add any substantial value.


turn off DeprecationWarnings from matplotlib

============================================================================================= warnings summary =============================================================================================
/home/peisenha/.local/share/anaconda3/lib/python3.7/site-packages/matplotlib/rcsetup.py:20: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Iterable, Mapping
/home/peisenha/.local/share/anaconda3/lib/python3.7/site-packages/matplotlib/colors.py:53: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Sized
/home/peisenha/.local/share/anaconda3/lib/python3.7/site-packages/yaml/constructor.py:126: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
if not isinstance(key, collections.Hashable):
-- Docs: https://docs.pytest.org/en/latest/warnings.html

At this point, we simply turn off all DepreciationWarnings during py.test. However, going forward we want to be more selective. For example, only turn them off during PRODUCTION. This requires us to set up the DEBUG / PRODUCTION distinction in the package. We will discuss this later.

Outdated


cve-bin-tool: 3.1.2 -> 3.2

Description of changes
Adding pip as a propagated dependency for the python checker. Especially useful is the newly added --export flag.
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 210230 run on x86_64-linux 1

1 package built:

cve-bin-tool

Is the postPatch section still needed?

Nope, removed. Well-spotted, thanks!

@ofborg build cve-bin-tool cve-bin-tool.passthru.tests

ERROR: Could not find a version that satisfies the requirement packaging<22.0 (from cve-bin-tool) (from versions: none)
ERROR: No matching distribution found for packaging<22.0

Well, another postFetch is needed.

Heh, it was fine when I tested it (on top of 0c4800d579af4ed98ecc47d464a5e7b0870c4b1f), but indeed it now fails (probably since 32283aa1de03fe3549e7f0c9052ca258d35e2a39). This might need an upstream fix since the packaging dependency was downgraded intentionally there (https://github.com/intel/cve-bin-tool/pull/2436).

The upstream fix might still take a while. Should we consider pinning packaging?

The upstream fix might still take a while. Should we consider pinning packaging?

I personally don't have a problem waiting for upstream, but if you have a need for the update then I'm happy to take a patch that pins packaging and undraft


update simdjson to 3.6.4

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (b845f8f) 91.86% compared to head (3ec2df6) 91.86%.

Files
Patch %
Lines

src/main.cc
0.00%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #72   +/-   ##
=======================================
  Coverage   91.86%   91.86%
=======================================
  Files           6        6
  Lines         430      430
  Branches       11       11
=======================================
  Hits          395      395
  Misses         35       35

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


QSP-3 address 0 check on admin

Description
address 0 check on admin

Checklist:

[ ] Pull Request references Jira issue
[ ] Pull Request applies to a single purpose
[ ] I've added comments to my code where needed
[ ] I've updated any relevant docs
[ ] I've added tests to show that my changes achieve the desired results
[ ] I've reviewed my code
[ ] I've followed established naming conventions and formatting
[ ] I've generated a coverage report and included a screenshot
[ ] All tests are passing locally

Maybe you can add a test for that ?


Microsoft.Web/sites/siteExtensions PUT definition has no body defined

https://github.com/Azure/azure-rest-api-specs/blob/88e7838a09868a51de3894114355c75929847a46/specification/web/resource-manager/Microsoft.Web/stable/2021-01-15/WebApps.json#L8344-L8368
This is causing https://github.com/Azure/bicep/issues/4271.

I was hoping I could move away from ARM templates in my Terraform provisioning for site extensions, but this issue is blocking specifying a particular site extension version to be used.
Site extensions are not supported in Terraform, Powershell and CLI, there seems to be no priority for this rather often used feature (for example when using AppDynamics in your environment).
I hope this issue will get some priority.


Implement CheckBytes on ArchivedOptionBox and ArchivedOptionNonZeroN, plus ArchivedOptionNonZeroN::take()

As the title says.
Closes #474
Closes #368
The ArchivedOptionNonZeroN::take() is a bit extra, but I was in the file.

I need to test the ArchivedOptionBox more.

Is it okay to leave that test where it is or should I move it to rkyv_test?
I did have to reimplement it to bypass ArchivedBox::verify, as that fails with null pointers required for the None variant. It's a bit awkward, but should work fine.

Is it okay to leave that test where it is or should I move it to rkyv_test?

In the future I'd like to move the tests out of rkyv_test and back into the main codebase, so this is actually a step in the right direction.

Should be good to go. You're welcome to squash this.

Thanks for the PR! Sorry for the delay!


No obvious way to disable caching

The README reads:

When disabling the cache, it can be useful to specify a default tab to load which is not the first one. You can select this by passing the defaultTabHash option.

However, there is no documentation on how to actually disable the cache. Setting cache-lifetime to 0 does not work (it is still cached, even if it instantly expires). Examining the code, it does not seem that any option exists to control the caching feature - on each change, it is just getting stored.
I am happy to contribute a PR for this feature, either not caching if cache-lifetime is zero, or having a separate cache option - whatever you prefer.

Hello,
I agree with the proposed solution that setting the cache-lifetime prop to 0 should disable the cache.
Version 1.3.1 has been released which contains this change.


Fix fetching multiple pages of streams API requests

Due to wrong indentation the loop incorrectly always returned after the first page.

Thanks!


comments support in reader, initial version

fix #653

@larshp before un-drafting, I'd like your opinion on the linter message:
Method "get_attribute_node_ns" not found, methodCallChain
The call was reworked because of a previous error for 702 compatibility, related to "CAST if_ixml_element" in that call.

@AndreaBorgia-Abo You need to add the signature of get_attribute_node_ns in abaplint/deps of if_ixml_element: `https://github.com/abaplint/deps/blob/main/src/ixml/if_ixml_element.intf.abap

Done, thanks.

found an edge case, commit incoming

I'll check your PR tomorrow, and when it's no more a draft.


Group Chat

Replace this comment with:

Description: Fixed bug with space in agent name. Added docs and tests

:books: Documentation preview :books:: https://swarms--102.org.readthedocs.build/en/102/

@GoldenWind8 submit a new pr on the groupchat class with the latest changes and make sure you can basically infinitely scale the number of agents in the groupchat, there have been many new changes!


Add support for both of the acceptable npm workspace notations

Currently neoscopes only supports one of the two possible workspace configurations from package.json. It only supports the the nested workspace format, this patch consists of a small change to support for both formats as listed below:

Nested Format

"workspaces": {
  "packages": [ ... ]
}

Non-Nested Workspace Format

"workspaces": [ ... ]

As a side note, unrelated to the PR, just wanted to say, really enjoying this great little plugin. Great work :)

Thanks!