words per second fix

time.time() is measured in seconds, so step_time holds the total number of seconds that have transpired between stats.
So I think this line
speed = checkpoint_total_count / (1000 * step_time )

is calculating words per millisecond, not wps as is being reported.

Ah... your wps units are "thousands of words"


Update azure-vm-cannot-rdp-working-features.md

Link fix
Pull request guidance
Thank you for submitting your contribution to our support content! Our team works closely with subject matter experts in CSS and PMs in the product group to review all content requests to ensure technical accuracy and the best customer experience. This process can sometimes take one or more days, so we greatly appreciate your patience.
We also need your help in order to process your request as soon as possible:

We won't act on your pull request (PR) until you type "#sign-off" in a new comment in your pull request (PR) to indicate that your changes are complete.

After you sign off in your PR, the article will be tech reviewed by the PM or SME if it has more than minor changes. Once the article is approved, it will undergo a final editing pass before being merged.

@travismaier Thanks for your contribution. The PR is merged.


Fixes "The value for 'sideEffects' must be a boolean or an array [package.json]"

Summary
I'm currently trying out solid with solid-element & esbuild.
While compiling I got following warning on every build:
▲ [WARNING] The value for "sideEffects" must be a boolean or an array [package.json]

    node_modules/solid-element/package.json:15:17:
      15 │   "sideEffects": "false",
         ╵                  ^

This PR aims to fix this warning.
How did you test this change?
I linked it locally into my project and the warning vanished.

Thank you.. I don't know how that ended up in there still. We had this issue before and fixed it I thought.. maybe I missed a package. Well thank you.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.013%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1252

Relevant Lines:
1335

💛  - Coveralls


[Backport 7.61.x] [CWS] Fix cgroup dentry resolution for RHEL 7 (#31666)

(cherry picked from commit d667639fb43d0e417ad9207bfbd9de78af52022e)

What does this PR do?
Backports https://github.com/DataDog/datadog-agent/pull/31666 to the 7.61.x branch.
The automatic backport failed and I needed to fix some conflicts.
Motivation
Describe how you validated your changes

Possible Drawbacks / Trade-offs
Additional Notes

/merge


How to train the model using my own dataset?

Can someone tell me how to train the model using my own dataset? is it like below？But I have many images and texts...
# train by giving CoCa your text and images with `return_loss = True`
loss = coca(
    text = text,
    images = images,
    return_loss = True  # set this to True to get the full caption + contrastive loss
)

You could check openclip training scripts as an example.
You need to train this model for several thousand GPU hours to get a small
model trained.
On Tue, Aug 23, 2022, 13:52 keepcodeandsmile @.***>
wrote:

Can someone tell me how to train the model using my own dataset? is it
like below？But I have many images and texts...
train by giving CoCa your text and images with return_loss = True
loss = coca(
text = text,

images = images,

return_loss = True  # set this to True to get the full caption + contrastive loss

)
—
Reply to this email directly, view it on GitHub
https://github.com/lucidrains/CoCa-pytorch/issues/9, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAR437QJIVOC5V5TH64DNTLV2S3P3ANCNFSM57LFNPLQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


sass/global: badge: fix positioning (Dogfalo/materialize#1298)

Not all points in Dogfalo/materialize#1298 are addressed -- the "new"
text is still hard-coded and cannot easily be replaced for translation
purposes.
This also resolves positioning issues when badges are used on
.collapsible-header containers, though line height will need to be
addressed separately before that working completely.

:+1:


Form Recognizer: Don't expose ModelsAsyncPageable in public API

ModelsAsyncPageable : AsyncPageable {
KrzysztofCwalina2 days ago
Why do you need to create this subtype?
ctstone2 days ago
Please clarify. Operation is abstract.
KrzysztofCwalina2 days ago
I assume you meant AsyncPagable. ... Sorry, I meant that we don't expose these subtypes publicly in other libraries.

Status: proposed design; will discuss with service team and arch board. @mayurid

Addressed.


Import error in react-native-web app.

Describe the bug
Got error when tried  to import TrackPlayer in my react-native-web app. Works normaly when i start it on android device or emulator with npx react-native run-android but throwing error when i trying to open it in web with npx react-scripts start.
To Reproduce
Just init any react-native-web project, put a rn-trackplayer import in it and run 'npx react-scrpits start'
Environment (please complete the following information):
React version 16.13.1
React-native version 0.63.1
React-native-web version 0.13.4
React-native-trackplayer version 1.2.3
OS: Windows.
Code
Error:
Attempted import error: 'STATE_BUFFERING' is not exported from './index' (imported as 'TrackPlayer'). Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\hiberfil.sys'

I have the absolutely same bug. Have you figured out by now how to fix it?

I have the absolutely same bug. Have you figured out by now how to fix it?

I solved this by creating a wrapping component which uses platform specific extensions, and anytime I need to import TrackPlayer I'd import it from this file, not from the package.
Obviously additional work would be required to port the functionality over to web, and I haven't gotten that far yet, this is just to get passed those errors you identified.
// TrackPlayerWrapper/index.js

import TrackPlayer from 'react-native-track-player'
export default TrackPlayer

// TrackPlayerWrapper/index.web.js

const TrackPlayer = {
  seekTo: () => {
  },
  registerPlaybackService: () => {
  },
  // etc
}

export default TrackPlayer


CCITTFaxStream problem when EndOfBlock is false

I have been working on the JBIG2 decoder to add support for the Huffman coding. When a JBIG2 region uses the Huffman option, its bitmaps (1-bit images) are compressed using the MMR coding. MMR is exactly the same algorithm as the PDF filter CCITTFaxDecode with /K -1. Thus I would like to use the existing decoder CCITTFaxStream that PDF.js already has.
MMR bitmaps in JBIG2 typically have no end-of-data codes (EOFB), so I must set the parameter EndOfBlock to false when using CCITTFaxStream. This seems to cause a problem: the last pixel row of decoded images ends prematurely.
In the JBIG2 decoder, bitmaps have no alpha channel, so the incomplete row appears as a nasty black line. Here is a screenshot of a Huffman coded JBIG2 image whose text symbols were decoded using CCITTFaxStream:

I created a PDF test file and I found out that the same problem affects also CCITTFaxDecode images in PDFs when they have /EndOfBlock false.
ccitt_EndOfBlock_false.pdf
In each pair of images the top one has /EndOfBlock false, so the last row is incomplete.
The parameter /EndOfBlock false is very rare in real-world PDFs (default value is true). The files that I have found have no problems in PDF.js. It is impossible to see any missing pixels because the images have a high resolution and their last row is white against a white page background.
In CCITTFaxStream the property eoblock corresponds to the PDF parameter EndOfBlock. When its value is false, the decoding must end when all rows have been decoded (and EOFB is not expected), as specified in the PDF standard. The function lookChar() in CCITTFaxStream does exactly that and sets this.eof to true when the last row has been decoded. However, the function returns only a few bits from the start of the last pixel row. lookChar() is called only once in the last row because setting this.eof = true stops the whole decoding process in readBlock(). The rest of the decoded pixels of the last row remain in the array codingLine but they are never returned because lookChar() is not called anymore.
In this PR, I add a new property rowsDone. When EndOfBlock is false and the CCITT data of the last row has been decoded, rowsDone is set to true and eof remains false. The value eof is not set to true until all the buffered contents of codingLine have been consumed too. That happens when this.outputBits becomes zero.

/botio-linux preview

/botio test

/botio-linux preview

/botio test

/botio makeref


Left navigation links with tree view enabled- Missing when page converted to Modern

Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you. Thanks!
Category
[ ] Bug
[ *] Enhancement
Problem Area
[ ] Page Transformation: Error during the setup/use of the Page Transformation UI solution (did you check our troubleshooting guide?)
[ ] Page Transformation: Error during the use of page transformation from PnP PowerShell
[ ] Page Transformation: Error during the use of page transformation from .Net
[*] Page Transformation: Page is not looking correct after transformation
[ ] Modernization Scanner: something went wrong...
Expected or Desired Behavior
Tree view left navigation links to be available in modern pages after transformation
Observed Behavior
Left navigation tree view missing
Steps to Reproduce
Enable tree view navigation in site settings. Page will get new set of left navigation links with a tree format. Convert the page to modern.

Hi @InfosysAdmin,
Left treeview navigation (the "Enable Tree View" option in the "Navigation Elements" site setting) does not exist anymore on modern pages, this is not related to page transformation. You however should be able to configure up to three levels in the regular left navigation.

Closing this one as it's not about page transformation and the asked question has been answered


Openstack integration test

Coverage is back to > 90%, more coverage would be done during/after the refactoring.


Fixing build error during merge of APPKI code

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@koushikchitta I think we need to fix the tests in this project.  It looks like they are MSBuild but not project file exists.  This needs to be fixed to make sure we do not introduce any new issues.


Local testing branch

DO NOT MERGE - this contains changes for building on the datascience-util machine

Removed changes for datascience-util


request help:  How do i access APISIX variables

Issue description
I want to access APISIX variables(https://apisix.apache.org/zh/docs/apisix/apisix-variable/) like route_name, service_name in my own plugin, how to achieve this?
Environment

APISIX Go Plugin Runner's version:
APISIX version:
Go version:
OS (cmd: uname -a):

In RequestFilter, you can use the Var method to get variables: https://github.com/apache/apisix-go-plugin-runner/blob/master/pkg/http/http.go#L61

Thanks, accessing variable will make a RPC to APISIX, right?

Yes.
In addition, pay attention that the Var method is currently only available in RequestFilter, and not yet supported in ResponseFilter.

Looks like it's solved, reopen if needed.


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

common-dev-assets

digest
ef9143b -> ab267b7

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
minor
v1.25.7 -> v1.26.0

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.26.0
Compare Source
Features

expose checkConsistency with public function (#724) (f9ab5b8)

v1.25.8
Compare Source
Bug Fixes

deps: update gomod (#723) (7596e10)

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

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

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

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


Pinecone Native Integration

Pinecone Integration with Comprehensive Testing Suite
Overview
This PR introduces a comprehensive Pinecone integration along with extensive testing coverage across vector operations, RAG implementations, inference capabilities, and assistant functionalities.
Key Features
PineconeProvider Class

Implements a robust provider class that wraps Pinecone's functionality with instrumentation.
Handles both data plane and control plane operations.
Includes comprehensive error handling and event tracking.
Supports both traditional Pinecone operations and newer features like the Assistant API.
Note: Currently, there is no support for evaluating answers using the Assistant API.

Testing Suites
RAG Pipeline Test (pinecone_rag_test.py)

Tests the complete RAG (Retrieval-Augmented Generation) workflow.
Covers index creation, document embedding, and semantic search.
Implements vector operations (upsert, update, delete).
Tests collection management.
Includes real-world query testing with context retrieval.

Inference API Test (pinecone_inference_test.py)

Tests Pinecone's embedding generation capabilities.
Implements document reranking functionality.
Validates usage tracking and response formatting.
Tests various embedding models and configurations.

Assistant API Test (pinecone_assistant_test.py)

Tests Pinecone's Assistant API functionality.
Covers assistant creation, updating, and deletion.
Implements file upload and management.
Tests chat completions using an OpenAI-compatible interface.
Note: There is currently no support for evaluating answers within the Assistant API (premium tier feature)

Implementation Details

Comprehensive error handling and logging are included.
Event tracking for all operations is implemented.
Support for both synchronous and streaming responses is provided.
Proper cleanup of resources after each test is ensured.
Integrated with AgentOps for monitoring and tracking.

Testing Instructions

Ensure that the required environment variables are set:

PINECONE_API_KEY
OPENAI_API_KEY (for RAG testing)

Run individual test suites with the following commands:
python tests/core_manual_tests/providers/pinecone_rag_test.py
python tests/core_manual_tests/providers/pinecone_inference_test.py
python tests/core_manual_tests/providers/pinecone_assistant_test.py

Notes

All tests are designed to be idempotent, ensuring no repeated impact on test results.
Comprehensive resource cleanup is included in all test flows.
Tests include rate limiting and appropriate delays to ensure API stability.
Extensive error handling and detailed reporting are part of the suite.

Future Improvements

Add support for batch operations to enhance efficiency.
Implement retry logic for handling transient failures.
Integrate custom embedding model support.
Enhance streaming response handling for smoother real-time interactions.

For more information, refer to the Pinecone Documentation.

Amazing-- this is actually the first vectorDB integration PR we've seen so far. Will take a look soon @monami44.
In the meantime-- can you resolve the merge conflict?

Hey @areibman , I just resolved the merge conflict. Also here is a video-walkthrough I sent to Adam as I submitted the PR. Hit me up if you want anything else to be changed

Super cool! @the-praxs and I can take a look

@monami44 can you add an example notebook as well? That would be super helpful!

@monami44 I would request to do the following modifications -

Ensure that the chat_completions are stored as LLMEvent instead of ActionEvent. On the dashboard we use the LLM Chat tab to show the conversation between the user and the agents. Hence the chat_completions object's contents can be used for such tracking ability.
Create examples notebooks under examples directory so that one can understand how to use Pinecone and AgentOps together.

Hey @areibman @the-praxs @teocns !
I've updated to match the new version, created example notebooks, applied LLMEvent to pinecone assistant chat function as well as did tests with temporary files as asked. Please tell me if anything else needs changes.
Cheers,
Maksym

I will look in a while. Thanks a lot!

Linting is failing so please resolve that.


Corporate Console - ACCEPT button is displayed in the popup when CLA Manager request for the company is declined

Background
Prerequisite
CLA Manager should have requested CLA Manager access for a company
Steps to Follow

Launch Corporate Console
Login as CLA Manager of the company
Click on the company
Click DECLINE
Observed ACCEPT button is displayed in the decline popup

Created pull request: https://github.com/communitybridge/easycla/pull/1082

Deploying to DEV - ready for review @nirupamav

Verified that the issue is fixed

The old console is deprecated and removed.


Expected/actual should be swapped for ContainerBuilderHasParameterConstraint

...
There was 1 failure:

1) Symfony\Cmf\Bundle\RoutingBundle\Tests\Unit\DependencyInjection\CmfRoutingExtensionTest::testRouteBasepathsMerging with data set #2 (null, array('/cms/test'), array('/cms/routes', '/cms/test'), '/cms/routes')
The value of parameter "cmf_routing.dynamic.persistence.phpcr.route_basepaths" (Array &0 (
    0 => '/cms/routes'
    1 => '/cms/test'
)) does not match the expected value (Array &0 (
    0 => '/cms/test'
))
Failed asserting that Symfony\Component\DependencyInjection\ContainerBuilder Object &000000004ae804bd0000000034c3290d (
    ...
    'parameterBag' => Symfony\Component\DependencyInjection\ParameterBag\ParameterBag Object &000000004ae8069d0000000034
c3290d (
        'parameters' => Array &5 (
            ...
            'cmf_routing.dynamic.persistence.phpcr.route_basepaths' => Array &11 (
                0 => '/cms/test'
            )
            ...
    )
    ...
) has a parameter "cmf_routing.dynamic.persistence.phpcr.route_basepaths" with the given value.

As you can see, the actual value of the parameter is array('/cms/test'), while the expected was array('/cms/routes', '/cms/test'). The failure message says the opposite.

see #50

Also released, as v0.7.5.


Data download problem

I couldn't open https://drive.google.com/drive/folders/1LrtGru7Srj_62WMR4Zcfs7xJ3GZr9N4E?usp=sharing.
Is there any other way to download the data?
Thank you very much!

have you figured out this problem, now the dataset is empty.


Support mutually exclusive members in interface

Search Terms

mutually exclusive
interface
optional

Suggestion
TypeScript currently supports optional properties in interfaces.
It'd be a good idea to also allow creating mutually exclusive groups for options that cannot coexist, when declaring variables in an interface.
Say, we have 2 properties declared in a mutually exclusive group in an interface. Now, exactly one of those properties can exist, with no two properties coexisting simultaneously in an object having type of that interface. (See Examples)
interface args {
  (arg1: string | arg2: string);
}

Additionally, we can also think of making the entire group optional, maybe with something like this:
interface args {
  ?(arg1: string | arg2: string);
}

Use Cases
Many APIs have filters of which exactly one can be used at a time. So to define their schemas, such a feature can prove to be really helpful.
Also, there are many options/flags which cannot be used simultaneously in one command line.
Optional properties do not solve this problem, since they make a property independently optional, without checking against other properties.

Examples
interface args {
  (arg1: string | arg2: string);
}

Now, if this interface is used as a function parameter:
function command(params:args) {
  //do something
}

let obj: args = {arg1: "foo", arg2: "bar"};
command(obj);

The following code snippet should throw an error, since the two properties arg1 and arg2 cannot coexist in the same object.

Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

Duplicate #14094

OP: This is already possible. You just want to use a pattern along the lines of
type Arg1 = { arg1: string, arg2?: undefined };
type Arg2 = { arg1?: undefined, arg2: string };
type args = Arg1 | Arg2;

Then your example,
function command(params:args) {
  //do something
}

let obj: args = {arg1: "foo", arg2: "bar"}; // should error right here, as this literal isn't exactly one of the args object types

@weswigham  I agree this is a possible workaround for lesser number of arguments, but as the number of arguments increases, the following solution becomes much longer, complex and difficult to debug.
In the use cases that I have mentioned, there is a need of much more properties than just two. Creating a separate type alias for each property will just make the code messier.
A separate feature would rather be more sensible for a larger number of properties.
As also mentioned in the discussion in #14094.


working around changes in OCP 4.7.x

Recent changes in OCP/CoreOS cause the OVS config to get lost in between reboots. This change will delete the OvS bridge if it exists before recreating them. This will now happen on every boot.

Hi folks,
I had to do some more testing since I was having some issues. Issue number 1 was because I originally tested the change after OCP was deployed, not as a day 1 manifest. In testing day1, I noticed some issues around systemd unit dependencies, so I have a change to the MCO template to push as well.
Issue 2 is because of this: https://github.com/RHsyseng/rhcos-slb/commit/a0e0047fbfbc9c7fb9765eaa95e01f8502a55096#diff-0a9487990caae3642584ba9967e53397d40b4b458900cd045dd87e4cef11198d
I believe the advice in the linked BZ was misinterpreted. The clone-mac-address option was removed from the ovs-interface device, not the ovs-bridge. I'm consistently coming up with the wrong MAC -> IP -> hostname with it just on the ovs-bridge, however leaving it only on the ovs-interface device as suggested in the BZ, everything works fine.
Should my PR include a change to fix that file as well, or should that be a separate PR?

Now I question myself how did I manage to misinterpret "Did you try setting the cloned-mac-address only on the OVS interface?"... Sorry about that.
If you don't mind opening a different PR, that would be preferable.
Thanks David!

No sweat @phoracek . Will do.
I've pushed my systemd changes, so once this is good for review. Once its merged, I'll create a new PR.


Pressing Caps Lock with electron-v76-darwin-x64 crashes Electron App with no errors

Expected Behavior
Pressing of Caps Lock shouldn't crash an electron app
Current Behavior
Pressing Caps Lock with electron-v76-darwin-x64 crashes Electron App with no errors
Steps to Reproduce (for bugs)
Not so many steps TBH. The error reproduces right after I import or require from iohook.
Then start an electron app - click on it to put window on focus and just press Caps Lock. The app will crash with no issues and logs even in debug mode.
Your Environment

Version used: "iohook": "^0.6.5"
Environment name and version (e.g. Chrome 39, node.js 5.4): "electron": "^8.2.0", nodejs: 12.16.1
Operating System and version (desktop or mobile): MacOS Catalina 10.15.4

From my own debugging I found out that issue is definitely within native code somewhere:

As only import is enough to reproduce the issue - I blame IOHook constructor code at line this.load(). Once I commented out code in load method app wasn't crash anymore but hooks didn't work either.
I was trying to play within this._handler method and place next code inside at the very beginning of the function to not perform any operation if it was Caps Lock.

if (msg.keyboard && msg.keyboard.keycode === 58) {
      console.log('CAPS LOCK PRESSED');
      return;
    }

I saw the console printed CAPS LOCK PRESSED but app failed anyway so it's not because of handler logic.
So that's why I decided it is somewhere in native code and just for MacOS as I wasn't able to reproduce the issue on Windows.
I'd be happy to hear from you guys and what I can do more in order to have further steps.
Thank you.

FWIW I can't reproduce, tested on latest Catalina 10.15.5 as well as High Sierra 10.13.6 in a packaged app using iohook 0.6.6, electron 8.4.0, node 12.13.0.

Hey @marcelblum! Thanks for such a quick response!
I'll give another try for me to create a small repo with reproducible issue in it and get back here.

I've created a test case using one of Electron's "Simple Samples". To reproduce:

git clone git@github.com:defano/hash-iohook.git
yarn
yarn start
After app has opened, press caps lock and it will crash. Seems the same issue exists with a few other keys, too. For example, pressing the mute key (F10) will also crash the app (on my Apple Magic Keyboard with Numeric Keypad).

As noted in package.json this is based on Electron 8.4.0 and iohook 0.6.6. I am running macOS Catalina 10.15.5.
This app is identical to the one posted here, https://www.electronjs.org/blog/simple-samples, except:

I added iohook as a dependency in package.json
I added const iohook = require('iohook') to app.js.

Hope this helps--

Based on recent findings from https://github.com/wilix-team/iohook/issues/246, the issue only applies to when iohook is used in the main process. require it in the renderer process instead (BrowserWindow must have webPreferences: {nodeIntegration: true}) and these crashes do not occur. Which is not to say that this isn't a legitimate issue, but I think for most Electron use cases exposing iohook in the renderer has many advantages anyway. Might want to change the issue title/description to reflect this.

Thanks @marcelblum. I can confirm it doesn't crash when loaded in the renderer process. This seems to be a dup of #246.

@marcelblum Our use-case is to recognize key-presses in the system, not inside the Electron window. We even "disable" keyboard recognition when the Electron window is focused! This is because our app provides global, system-wide shortcut recognition (see https://github.com/quickwords/quickwords as an example of we are trying to achieve in our app).
@kwhat something I forgot to mention. This happens only when the Chromium window of our Electron app is focused. In other cases, crashes do not happen.

@DCzajkowski iohook can still detect global key presses even if you instantiate it in the renderer. And you could use BrowserWindow.isFocused() in the key handling logic (or track window.onfocus/window.onblur).

Well, I may have found a solution but I cant get it to compile locally because CMake suddenly cannot find Java despite my JAVA_HOME variable pointing right at it.  This is what I waste most of my free time dealing with, not fixing bugs but fighting with sub-par tooling.

I have indeed found a solution, it is going to take some time to fully implement but it stops the segfault for me in Java.

Alright, I had some unexpected free time on Monday / Tuesday and was able to get a fix in PR #108.  I still need to do some more work fixing up some of the per-processor defines and other minor things, but it seems pretty stable. I am not sure if this library will be migrating to my upstream or continue the fork.  If you are going to fork, the lines of interest are R476-R560 and possibly a few more bits near the top of the file.
The problem:  Turns out this was related to the same random crashes the TIS keycode stuff was experiencing so I have it setup to run on the main runloop as long as you are on 10.6+.  Fallback is kind of hacky for 10.5, but it works, doesn't require OBJC or the main runloop.
Any code review would be appreciated.  Let me know if there are any issues.

@matthewshirley Do you have time to update libuiohook to version 1.2 ? thanks.

Following 🙏 Same thing here and iohook can't be loaded renderer side on latest versions of Electron (non-context aware modules are not allowed on the renderer anymore). Thanks!


INSTALL script adapted to work with Ubuntu >=18.04 and Debian >=10.

Brief summary of changes
Debian can now be supported by the INSTALL script. These are the main changes:

I have added an elsif  section checking for Debian version.
In debian ldconfig commands require sudo privileges, so now it is called using sudo.
I have added the --jdkhome variable to the desktop entry, since openjdk-8-jdk is deprecated in Debian +10, and I am using temurin-8-jdk.

Testing I've completed
Completed full build and installation process in the following OS:
Debian:

[x] Debian 10
[x] Debian 11

Ubuntu:

[x] Ubuntu 18.04
[x] Ubuntu 20.04
[x] Ubuntu 22.04

CHANGELOG.md (choose one)

no need to update because OpenSim does not officially support Debian.

@aymanhab I have tested this in Ubuntu 18.04, 20.04 and 22.04, and in Debian 10 and 11. Everything looks fine. Should we merge?


integration with mongo?

i try to integrate project with mongo but it not working ,can u please tell  me

@ghatul , I was thinking about it, when I will have a free time I will implement integration with mongo :)

@ghatul , can you provide more details what are not working for you ?

i use https://github.com/mgechev/angular2-seed this seed project and build my client and server in  nodejs with typescript with mongo , i try to integrate client and server as per your seed ,i suceesfully integrate client but i getting confused for integration of server ...

@ghatul , any errors? Have you read the documentation in README.md ?

yes , i read that

@ghatul , can you show your .ts or .js code to connect with MongoDB ?

`import Mongoose = require("mongoose");
class DataAccess {
static mongooseInstance:any;
static mongooseConnection:Mongoose.Connection;
constructor() {
    DataAccess.connect();
}

static connect():Mongoose.Connection {
    if (this.mongooseInstance) return this.mongooseInstance;

    this.mongooseConnection = Mongoose.connection;
    this.mongooseConnection.once("open", () => {
        console.log("Connected to mongodb.");
    });
    /*  var host = config.get("database.host");
     var port = config.get("database.port");
     var dbName = config.get("database.name");
     console.log("Using Database: Host: %s | Port: %s | Name: %s", host, port, dbName);
     /!*connection = mongoose.connect('mongodb://' + host + ':' + port + '/' + dbName);*!/
     */
    // this.mongooseInstance = Mongoose.connect('mongodb://-:-:-:-/seed-backend');
    this.mongooseInstance = Mongoose.connect('mongodb://<IP_ADDRESS>/seed-backend');
    return this.mongooseInstance;
}

}
DataAccess.connect();
export = DataAccess;
`

@ghatul , have you installed typings install dt~mongoose --save --global ?
You MongoDB is running ? What error do you have? Maybe you have some debug log ?

Hi, i'm using mongoose in my project with this seed and it's working as expected...

typings.json
"mongoose": "registry:dt/mongoose#4.5.4+20160807120805",
db.conf.ts
'use strict';

import * as mongoose from 'mongoose';

export class DBConfig {

  static init(): void {

    const URL = 'mongodb://xxxxx/database';
    mongoose.connect(URL, (err) => {

      if (err) {

        console.log(err.message);
        console.log(err);

      } else {

        console.log('Connected to MongoDb');
      }
    });
  }
}

then in server/index.ts we just need to init the DBConfig
import { DBConfig } from './configs/db.conf';

var _clientDir = '../client';
var app = express();

export function init(port: number, mode: string) {

  app.use(bodyParser.urlencoded({extended: false}));
  app.use(bodyParser.json());
  app.use(bodyParser.text());
  app.use(compression());

  // DB Init
  DBConfig.init();
...
}

thanks !
typings install dt~mongoose --save --global   work for me


No module named 'pykg2vec.core.SMEBilinear'

Issue Template
First of all, thank you for finding the bugs. Please help us improve by providing the bug report as much as possible in the following format.
Describe the bug
Tried running one of your notebooks
To Reproduce
`# Author: Sujit Rokka Chhetri and Shiy Yuan Yu
License: MIT
import tensorflow as tf
from pykg2vec.core.TransE import TransE
from pykg2vec.core.TransH import TransH
from pykg2vec.core.TransR import TransR
from pykg2vec.core.Rescal import Rescal
from pykg2vec.core.SMEBilinear import SMEBilinear
from pykg2vec.core.SMELinear import SMELinear
from pykg2vec.config.config import TransEConfig, TransHConfig, TransRConfig, RescalConfig, SMEConfig
from pykg2vec.utils.dataprep import DataPrep
from pykg2vec.utils.trainer import Trainer
def experiment():
# preparing dataset.
knowledge_graph = DataPrep('Freebase15k')
# preparing settings.
epochs = 5
batch_size = 128
learning_rate = 0.01
hidden_size = 50

transEconfig = TransEConfig(learning_rate=learning_rate,
                            batch_size=batch_size,
                            epochs=epochs, hidden_size=hidden_size)

transHconfig = TransHConfig(learning_rate=learning_rate,
                            batch_size=batch_size,
                            epochs=epochs, hidden_size=hidden_size)

transRconfig = TransRConfig(learning_rate=learning_rate,
                            batch_size=batch_size,
                            ent_hidden_size=64,
                            rel_hidden_size=32,
                            epochs=epochs)

rescalconfig = RescalConfig(learning_rate=0.1,
                            batch_size=batch_size,
                            epochs=epochs, hidden_size=hidden_size)

smeconfig = SMEConfig(learning_rate=learning_rate,
                      batch_size=batch_size,
                      epochs=epochs, hidden_size=hidden_size)

configs = [transEconfig, transHconfig, transRconfig, rescalconfig, smeconfig]

for config in configs:
    config.test_step = 2
    config.test_num = 100
    config.save_model = True
    config.disp_result = False

# preparing models.
models = []
models.append(TransE(transEconfig, knowledge_graph))
models.append(TransH(transHconfig, knowledge_graph))
models.append(TransR(transRconfig, knowledge_graph))
models.append(Rescal(rescalconfig, knowledge_graph))
models.append(SMEBilinear(smeconfig, knowledge_graph))
models.append(SMELinear(smeconfig, knowledge_graph))

# train models.
for model in models:
    print("training model %s" % model.model_name)
    trainer = Trainer(model=model)

    trainer.build_model()
    trainer.train_model()
    trainer.full_test()

    tf.reset_default_graph()

if name == "main":
experiment()`
Expected behavior
Perfect run
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Linux

SDK Conda

Dependency (please complete the following information):

Current version of the dependencies
tensorflow>=2.1.0
sphinx>=2.1.2
networkx>=2.2
setuptools>=40.8.0
matplotlib>=3.0.3
numpy>=1.16.2
seaborn>=0.9.0
scikit_learn>=0.20.3
hyperopt>=0.2.1
pathlib>=1.0.1
numpydoc>=0.9.1
sphinx-gallery>=0.3.1
sphinx-rtd-theme>=0.4.3
pytest>=3.6
Additional context
Any clues?

Hello, thank you for reporting this issue.
The notebook is kind of out-of-date. We will work on revising them asap.
For now, if you want to try training KGE, I will suggest you run the scripts in [root folder]/pykg2vec/example/train.py. and by modifying argument followed by "-mn", you can toggle between models.!

Thanks again @louisccc . It seems that needs to be done quick;y cos its affecting the entire notebook SDK.

We have updated the example scripts so you may want to check them out under [root]/examples.
We are still actively updating the user documents. so you can expect a better version to be coming up in a short while!
Thanks!


Possible error created in linux

We are seeing this happen in chalk:
node_modules/gulp-ruby-sass/node_modules/chalk/node_modules/escape-string-regexp/index.js:4
throw new TypeError('Expected a string');
    ^

This was not previously happening. Appears to be related to the changes made 3 days ago. I cannot reproduce this in OSX
The command we're running is gulp sass, which apparently depends on chalk.

FWIW my team and I are seeing the exact same error, seems to be something to do with npm running test command, running mocha w/ ts-node runtime TypeScript compilation.
➜  node -v
v8.6.0
➜  npm -v
5.4.2

Will update here if we solve it. But this one is pretty nasty!


Add a link to the webmasters help forum in the footer

Page Affected: https://developers.google.com/web
What needs to be done?
Hello! Not sure if this is the right place to send this feedback but didn't find anywhere else to do it. Since Google offers a help forum for webmasters, I think the website could add a link on the footer or somewhere else so users can go there and ask for help.

[ ] general-feedback

Can I take up this issue?

@google-admin


chore: implement basic workspace file functionality

Description
implement basic workspace file functionality
Problem
step towards https://github.com/noir-lang/noir/issues/794
Summary
PR Checklist

[ ] I have tested the changes locally.
[ ] I have formatted the changes with Prettier and/or cargo fmt on default settings.

I don't think we want a package manifest and a workspace manifest represented by the same struct. these two things are separate in my mind.


[Enhancement]: Home link on Whack a  mole game

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Game enhancement
There is no home link on whack a mole .Please assign me the task to add one.
Describe the solution you'd like
Solution steps
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @kashisharora9462 , You can't have another issue before completing the previous one 😀
you already have the following 1 open issues 👀 ! :
#3584

Hey @kashisharora9462 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

Hey @kashisharora9462 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹


Use the new schema tooling to pre-process the EXIF GPS and date fields

There's currently some pretty unwieldy code in gallery.exif that transforms the EXIF date fields and the GPSLatitude and GPSLongitude fields. It will be much cleaner if this is updated to use the new schema module, and will allow for consistent field prioritisation, rather than having to rely on PRIORITIZED_DATE_KEYS.
As part of this fix, the gallery.Exif class should be removed.

Done. 👌🏻


url with keys doesn't work

The url https://contoso.b2clogin.com/contoso.onmicrosoft.com/b2c_1_signupsignin1/discovery/v2.0/keys no longer works.

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

ID: b05bb7df-98fc-1342-640d-02063f6d8a11
Version Independent ID: f6ac357f-f846-83c5-f19f-91e1bc0954e3
Content: Overview of tokens - Azure Active Directory B2C
Content Source: articles/active-directory-b2c/tokens-overview.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@spam0115
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

There is no any change to this endpoint. Could you check the policy well known configuration endpoint. There you will be able to see the keys endpoint URI


Add global require rails helper for RSpec

This removes the individual require rails_helper for each rspec test by adding global require for all rspec tests.
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠

Is there any chance we can get rid of the need for a rails helper and a spec helper? as per: https://docs.publishing.service.gov.uk/manual/conventions-for-rails-applications.html#testing-utilities ?
It always seems to end up being a pain having information in both when you need both nearly all the time.

@kevindew good point! Done and removed a lot of the generic comments, that we can find in RSpec documentation anyway.

That was meant to be a comment rather than approve, but since they're minor changes it doesn't matter if you merge it without a re-review.


Passing a layout to extend from to the rendered template

Hi! I couldn't find it in the docs and wonder if its is possible to pass to the jade task a layout which all rendered templates extend from. So basically I want to remove the 'extend myLayout' part from my templates as in
extend myLayout

template content...

and pass 'myLayout' to the grunt jade task maybe as an option parameter or even more dynamic, as a variable to the data object.
Do you see any possibility?

@thomasklein You can add extend myLayout\n to every file with grunt-contrib-concat.


Support dumping JSON config in conjurize

This is to support easy Windows configuration.
Also refactor the code while I'm at it.

Needs a Changlog entry

Done!


Add IPv6 to firewalld xml generation when available

Description
Currently we are only generating IPv4 rules in firewalld's direct.xml file

This one is blocked by: https://github.com/kumahq/kuma-net/issues/62


[regression] Hint displays '[object]'

See: https://github.com/phpmyadmin/phpmyadmin/issues/14475
Introduced by: 6041c2280e29e0b62302ca91d657767b23c5a983 PR #5348

Making a PR !

Fixed by: #5819


Docs: Navigation Prop doc should discuss the navigator's navigation prop

The top of the Navigation Prop doc should be rewritten to explain that the navigation prop is passed to every navigation-aware component, including navigators. The big exception is that a navigator's navigation prop may not have the helper functions on it, it may only have state and dispatch.
Also, people don't always hook things up to redux correctly, because they mis-understand the navigator's top-level API, where the navigation prop is optional. The navigator will maintain its own state if it doesn't get a navigation prop, but this is not a feature you generally want to use when hooking your app up with redux. For navigators that are nested inside of your main navigator, you always want to pass the screen's navigation prop down. This allows your top-level navigator to communicate and provide state for all the children navigators. Only your top-level router needs to be integrated with redux, because all the other routers are inside it.
Who would like to take on this docs improvement work? I've seen a lot of confusion around these things, so I hope we can make it more clear to the community what the difference is between a navigator's navigation prop in comparison to a navigation screen prop.

Closing as changes were implemented already.


Unable to load DLL avformat.58

The bug
Hello,
I've created a docker linux container using the 7.17 version and asp.net core web api, I had a hard time fixing the ffmpeg recognition problem by installing it globally in the image when it was created (unfortunately this problem could not be solved just by setting ffmpeg.RootPath)
Part of my Dockerfile:
FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base
RUN apt update
RUN apt-get install ffmpeg -y
WORKDIR /app
EXPOSE 80
everything was going well but after upgrading to version 8, Whatever I do, even though ffmpeg is installed globally in my linux image, and yet I put the ffmpeg files in a folder and set the path, I still face with "Unable to load DLL 'avformat.58 under /app/lib': The specified module could not be found." error.
ffmpeg.RootPath = $"{Environment.CurrentDirectory}/lib";
Screenshots

Desktop (please complete the following information):

OS: Windows 11, (But I have faced this issue in docker Debian linux container)
Visual Studio 2022
Browser Microsoft Edge

I have installed latest version of ffmpeg.AutoGen nuget package (v<IP_ADDRESS>) but my problem is still there.

You don't need to set the FFmpeg path explicitly.
The library is aware of the OS on which you are loading it.
In this case, apt-get install ffmpeg should suffice for the library to find it.
The following paths will be probed: {"/usr/lib", "/usr/lib/x86_64-linux-gnu", "/usr/lib/aarch64-linux-gnu"};

Thanks,


Create and mock any integration points or data required by PASS to operate in a Sandbox environment

With the goal of a Sandbox PASS for demonstration purpose, mock and create necessary integration point and data to enable PASS to operate.
THis will likely become an epic, with multiple integration point and mock datasets to be created.
A follow up work from  #176

Closing as complete. Mocks have been created. List can be found here: https://github.com/eclipse-pass/pass-ui/blob/main/mirage/config.js
Action to create sample data for Sandbox is being addressed in #361


v6 Checklist

Running list of changes to make in the next major version of pulumi-azure:

[ ] Remove resources like NamespaceAuthorizationRule which were renamed and are deprecated. Example: https://github.com/pulumi/pulumi-azure/issues/998
[ ] Remove type overrides for azurerm_availability_set.

@mikhailshilkov Is this repo still maintained? I'm using the Azure-Native provider for almost everything, but some things are not supported in the native provider, e.g., creating Azure Keyvault Access Rules as independent Resources. I tried to use this provider alongside the native provider, but this repo misses some tags for the go SDK. For the latest version, there is no Tag available:

I'm happy to contribute the missing resource to the native provider, but I wonder what the intention is within the community.

I tried to use this provider alongside the native provider, but this repo misses some tags for the go SDK.

That's unexpected! Could you please file a separate issue and we'll fix it asap? Thank you!


Preparations for auto-formatting with JuliaFormatter

We should maybe merge this PR before #1513 such that people can get the .JuliaFormatter by merging main manually up to the commit before the merge of #1513.

Not required anymore


Implement all romanization methods

Closing because multiple romanization methods aren't very interesting in the scope of the program.


WIP - Image Optimization

Added pre-processing functionality which can optimize jpg & png images, which consists of two parts:

Creating a webp version of all the images.
Creating a compressed version of the images in the same format as the source.

The HTML produced for the image looks like:
<picture>
    <source srcset="./assets/no-idea-dog.webp" type="image/webp">
    <img src="./assets/no-idea-dog.png" alt="Markdown to HTMl" title="testing test">
</picture>

This helps make sure that if the client does not support webp, it can fall back to the source format safely.
The image also supports title which can be specified in markdown file as a second parameter, following the href of image:
![Markdown to HTMl](./assets/no-idea-dog.png "This is a title")

Changes to package.json
The pre-built command now executes pre-process.js script which optimize images of specific formats and copies rest of the files as is to the target directory of build/assets. This script supports optional commands:

dontCompressImages: add this flag to prevent any optimizations for images. This also prevents webp image generation.
dontGenerateWebp: add this flag to prevent webp generation of images in assets.
Example usage:
npm run pre-build -- --dontCompressImages
npm run pre-build -- --dontGenerateWebp

TODO:

[ ] Add support for more image formats.
[ ] Configure script arguments to be more user friendly.
[ ] Provide the ability to turn off image compression only and keep webp generation active.
[x] Support script arguments with build command as well.

I'll pull this down later and try using a shellscript instead of the build.js (eliminates some packages).
Also instead of command line arguments, we can make a config.json file where you can update some settings.
{
    author: "Zeeshan",
    authorImage: "../assets/image",
    preprocessImages: true,
    preprocessAuthorImage: true,
}

Made some updates in the rysolv branch (https://github.com/rysolv/markdown_ssg/tree/rysolv) that I'll try to push to master. I've added a few things already (share links, config file, publish (t/f) flag) that should be pretty easy to work in without an issue.


OADP-2139: [oadp-1.2] remove old restic DaemonSet and old CRD

Remove old restic DaemonSet and old CRD (if user is coming from OADP 1.1) and documentation for needed manual steps.
what was done to achieve the result
Studied the changes from OADP 1.1 to 1.2
How to test
Create fake restic DaemonSet from
apiVersion: v1
items:
- apiVersion: apps/v1
  kind: DaemonSet
  metadata:
    annotations:
      deprecated.daemonset.template.generation: "1"
    generation: 1
    labels:
      component: velero
    name: restic
    namespace: openshift-adp
    # ownerReferences:
    # - apiVersion: oadp.openshift.io/v1alpha1
    #   blockOwnerDeletion: true
    #   controller: true
    #   kind: DataProtectionApplication
    #   name: test-update-1-1
    #   uid: eb9d2796-599b-4a82-99fb-156ee58e276a
  spec:
    revisionHistoryLimit: 10
    selector:
      matchLabels:
        component: velero
        name: restic
    template:
      metadata:
        creationTimestamp: null
        labels:
          component: velero
          name: restic
      spec:
        containers:
        - args:
          - restic
          - server
          command:
          - /velero
          env:
          - name: NODE_NAME
            valueFrom:
              fieldRef:
                apiVersion: v1
                fieldPath: spec.nodeName
          - name: VELERO_NAMESPACE
            valueFrom:
              fieldRef:
                apiVersion: v1
                fieldPath: metadata.namespace
          - name: VELERO_SCRATCH_DIR
            value: /scratch
          image: registry.redhat.io/oadp/oadp-velero-rhel8@sha256:2c1c645410a77569705e5521f8abb652b2b46bcb6ee06b9650bde78fcf3e3061
          imagePullPolicy: Always
          name: restic
          resources:
            requests:
              cpu: 500m
              memory: 128Mi
          securityContext:
            privileged: true
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
          volumeMounts:
          - mountPath: /host_pods
            mountPropagation: HostToContainer
            name: host-pods
          - mountPath: /scratch
            name: scratch
          - mountPath: /etc/ssl/certs
            name: certs
        dnsPolicy: ClusterFirst
        restartPolicy: Always
        schedulerName: default-scheduler
        securityContext:
          runAsUser: 0
        serviceAccount: velero
        serviceAccountName: velero
        terminationGracePeriodSeconds: 30
        volumes:
        - hostPath:
            path: /var/lib/kubelet/pods
            type: ""
          name: host-pods
        - emptyDir: {}
          name: scratch
        - emptyDir: {}
          name: certs
    updateStrategy:
      rollingUpdate:
        maxSurge: 0
        maxUnavailable: 1
      type: RollingUpdate
  status:
    currentNumberScheduled: 3
    desiredNumberScheduled: 3
    numberAvailable: 3
    numberMisscheduled: 0
    numberReady: 3
    observedGeneration: 1
    updatedNumberScheduled: 3
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""

and have the old resticrepositories.velero.io CRD in cluster, run make deploy-olm and create DPA. restic DaemonSet and old CRD should be deleted.

/ok-to-test

Might wanna be careful here.. removing CRD in essence = removing CRs as well.. so customers would lose history for debugging where things were for instance. I think the proper approach is warn rather than delete.. the CRD part at least.

I believe that we already migrated this CRD to the renamed one (someone can correct me if I am wrong)
We do need to make sure that the migration is complete, but once it is finished, nothing is keeping these in sync(AFAIK). I would instead remove the old one as it will cause less confusion when debugging.
What is the scenario you are worried about @kaovilai ? User has backup X and it ...... Trying to understand, because my understanding is that velero manages this CRD and that it will fully use the new one. Can you help me see where a user is losing context and info?

It will fully use a new one for new backup.
I'm not so sure if velero have during backup sync automatically migrate.
Scenario: user used oadp 1.0 backup with restic, user upgraded to oadp 1.x with this CRD deleting code, does that backup from 1.0 does or does not still work as restore source on upgraded oadp 1.x

/hold
Discuss CRD deletion
Wait TODOs discussions

/unhould
QE was not able to run upgrade suite from the PR, so we need to discuss if we want to delete it (and we can also merge with some doubt and check if it passes QE)

/test 4.13-operator-e2e-aws

/lgtm


PGWU: Not able to launch, failed to create Rx/Tx rings.

PGWU failed to launch due to RX/TX ring creation is failed.
RING: Cannot reserve memory
EAL: Error - exiting with code: 1
Cause: Cannot create RX ring 0

We have faced this same issue as well. Is there any work around for this?

By the way SGWU is running properly.
And both running SGWU and failed PGWU run.sh logs are attached.
omec-pgwu.txt
omec-sgwu.txt

/cc @suresh-marikkannu @ajamshed

To make some notes -

You are using AF_PACKET instead of KNI (because of some other error you saw)
Seems like the processing stage initialization is duplicated in case of pgwu?

DP Port initialization completed.
ARP-ICMP Core on:               3
CP-DP IFACE Core on:            4
SPNS DNS Core on:               4
STATS-Timer Core on:            3

API: Netlink socket event reader thread created successfully...!!!
Uplink Core on:                 5
Downlink Core on:               6
ARP-ICMP Core on:               3
CP-DP IFACE Core on:            4
SPNS DNS Core on:               4
STATS-Timer Core on:            3
RING: Cannot reserve memory
EAL: Error - exiting with code: 1
  Cause: Cannot create RX ring 0

I tried KNI and after running ./kni-S1Udevcfg.sh, we get "SIOCSIFFLAGS: Operation not permitted". And when we check to run.sh log, we see below error.
i40e_alloc_rx_queue_mbufs(): Failed to allocate mbuf for RX
i40evf_dev_rx_queue_start(): Failed to allocate RX queue mbuf
i40evf_start_queues(): Fail to start queue 0
i40evf_dev_start(): enable queues failed
i40evf_add_del_all_mac_addr(): fail to execute command OP_DEL_ETHER_ADDRESS
And the output of lshw -c network output related to S1U and SGI is below. These are disabled and i don't know why seen as Wireless interface.
*-network:0 DISABLED
description: Wireless interface
physical id: 1
logical name: SGIdev
serial: fa:16:3e:e0:e8:7c
capabilities: ethernet physical wireless
configuration: broadcast=yes ip=<IP_ADDRESS> multicast=yes
*-network:1 DISABLED
description: Wireless interface
physical id: 2
logical name: S1Udev
serial: fa:16:3e:e4:75:6c
capabilities: ethernet physical wireless
configuration: broadcast=yes ip=<IP_ADDRESS> multicast=yes

Raised PR addressing this issue of error creating Rx/Tx rings in case of PGWU config.


feat(aws): add new check iam_root_credentials_management_enabled

Context
Centralized root credentials management in AWS Organizations is critical for securing root access across member accounts. When this new feature is enabled, member accounts no longer have direct control over their root credentials, mitigating risks associated with root misuse or compromise. See more info about this new feature in https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html#id_root-user-access-management.
Fixes #5804
Description
This PR introduces a new check, iam_root_credentials_management_enabled, to verify if centralized root credentials management is enabled. Additionally:

The checks iam_root_hardware_mfa_enabled, iam_no_root_access_key, and iam_root_mfa_enabled have been updated to skip findings if centralized root credentials management is active, as root credentials are no longer directly managed by member accounts.

The organizations attribute was converted to a single organization attribute since there is only a single organization per AWS account.

Checklist

Are there new checks included in this PR? Yes / No

If so, do we need to update permissions for the provider? Please review this carefully.

[ ] Review if the code is being covered by tests.
[ ] Review if code is being documented following this specification https://github.com/google/styleguide/blob/gh-pages/pyguide.md#38-comments-and-docstrings
[ ] Review if backport is needed.

License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This is excellent @MrCloudSec thank you!


Request for information: Specify folder for projects in 4.2

Hi there,
I am wondering if you could point me in the right direction in documentation, as I have been unable to locate this information after some time searching..
I am trying to update my old(er) website to be compatible with the current  version. Previously I had used the project widget several times on my homepage with the ability to specify the path to associated markdown pages for each individual widget with a "folder" key in the front matter.
It now appears that the project (portfolio?) widget no longer support this key, and I don't see how the functionality I previously used can still be applied. Any direction would be much appreciated for where I can find relevant information.
Thanks,
Stephanie

Figured out how to deal w/ this using sets of tags, but if this functionality still exists it would be great to know about, thanks!


Image not loading in brackets

I have a 900x300 .png 169 KB image file made in photoshop, and brackets does notice it (as in it shows it in the left sidebar) but when I click on it the image doesnt show, instead it shows the ripped file image. what's wrong?

nvm, first time I saved it I saved it with a psd format, I just saved it like a png now


Add fpu.MXCSRRegister tool for controlling the FZ/DAZ bits in SSE registers

As in the title.
Running algorithms tests within MXCSRRegister()(FZ=True) context is equivalent to running the corresponding JAX algorithms on CPU arrays (read: JAX enables FTZ mode in operations on CPU arrays).

See https://stackoverflow.com/questions/11671430/flushing-denormalised-numbers-to-zero for a ARM specific solution.

To enable FZ in a CUDA program, use nvcc command line option -ftz=true:
https://docs.nvidia.com/cuda/cuda-c-best-practices-guide/index.html#precision-related-compiler-flags


On flask run "AttributeError: module 'colorama' has no attribute 'AnsiToWin32'"

Instead starting and beginning to listen for requests on flask run, I recieve the error below
* Tip: There are .env or .flaskenv files present. Do "pip install python-dotenv" to use them.
 * Serving Flask app 'app.py' (lazy loading)
 * Environment: development
 * Debug mode: on
Traceback (most recent call last):
  File "/Users/kjaymiller/.pyenv/versions/edu-flask/bin/flask", line 8, in <module>
    sys.exit(main())
  File "/Users/kjaymiller/.pyenv/versions/3.9.1/lib/python3.9/site-packages/flask/cli.py", line 990, in main
    cli.main(args=sys.argv[1:])
  File "/Users/kjaymiller/.pyenv/versions/3.9.1/lib/python3.9/site-packages/flask/cli.py", line 596, in main
    return super().main(*args, **kwargs)
  File "/Users/kjaymiller/.pyenv/versions/3.9.1/lib/python3.9/site-packages/click/core.py", line 1059, in main
    rv = self.invoke(ctx)
  File "/Users/kjaymiller/.pyenv/versions/3.9.1/lib/python3.9/site-packages/click/core.py", line 1665, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/kjaymiller/.pyenv/versions/3.9.1/lib/python3.9/site-packages/click/core.py", line 1401, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/kjaymiller/.pyenv/versions/3.9.1/lib/python3.9/site-packages/click/core.py", line 767, in invoke
    return __callback(*args, **kwargs)
  File "/Users/kjaymiller/.pyenv/versions/3.9.1/lib/python3.9/site-packages/click/decorators.py", line 84, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/Users/kjaymiller/.pyenv/versions/3.9.1/lib/python3.9/site-packages/click/core.py", line 767, in invoke
    return __callback(*args, **kwargs)
  File "/Users/kjaymiller/.pyenv/versions/3.9.1/lib/python3.9/site-packages/flask/cli.py", line 849, in run_command
    run_simple(
  File "/Users/kjaymiller/.pyenv/versions/3.9.1/lib/python3.9/site-packages/werkzeug/serving.py", line 990, in run_simple
    log_startup(s)
  File "/Users/kjaymiller/.pyenv/versions/3.9.1/lib/python3.9/site-packages/werkzeug/serving.py", line 935, in log_startup
    _log(
  File "/Users/kjaymiller/.pyenv/versions/3.9.1/lib/python3.9/site-packages/werkzeug/_internal.py", line 223, in _log
    _logger.addHandler(_ColorStreamHandler())
  File "/Users/kjaymiller/.pyenv/versions/3.9.1/lib/python3.9/site-packages/werkzeug/_internal.py", line 201, in __init__
    stream = colorama.AnsiToWin32(sys.stderr)
AttributeError: module 'colorama' has no attribute 'AnsiToWin32'

import os

from flask import Flask

# Create Flask App
app = Flask(__name__)
app.secret_key = os.urandom(16)

if __name__ == "__main__":
    app.run(debug=True)

Environment:

Python version: 3.9.1
Flask version: 2.0.0
Using Pyenv, pip-tools, and a virtualenv

I can't reproduce this. The example given works as expected. Since you're not on Windows, you shouldn't have colorama installed (it does nothing). Maybe it's coming from another dependency. But it still has the class on Linux, so I'm not sure what's causing the error in your case.

Issue is apparently IDE related as in terminal alone it seems to function. Closing this.


adeded utkarsh1042005 in README.md

I have added my  name and github user in README.md ie Utkarsh Kumar(https://github.com/utkarsh1042005)
Related issue
No issue
What changes does this PR do?
I have added my  name and github user in README.md ie Utkarsh Kumar(https://github.com/utkarsh1042005)
Screenshots (If any)
Questions

Ok I have updated please check.


[wip] Settings page addition

Fixes #109
Changes
This pull request adds an area inside the admin dashboard for users to select options.

No longer valid.


css: support sass, less, stylus

Currently, only .scss modules are supported, and the entire bundle is processed as SCSS when at least one .scss module exists.
Battle plan
If the entry module is not plain CSS, the compiled bundle will be processed as that language, and other languages are processed at the package level (so packages cannot mix SCSS and LESS, for example).
Otherwise, all languages are processed at the package level.
Side note: SASS and SCSS can be mixed in the same package, since they share the same processor.

Minor change: When a non-CSS module imports a module of the same extension, they will be processed together, even if not in the same package.
Also: If the root package (which contains the main module) has node-scss as a dev dependency, the entire bundle is compiled as SCSS. This will work with Stylus and LESS, too.


added content disclaimer

Please use this template to ensure easier processing of your pull request
Category

[x ] Content fix
[ ] New article
[x] Example checked item (delete this line)

Docs Build status updates of commit fdc3d39:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Community/powerplatformlicensingforcitizendeveloper.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Error for unexpected command exaggerates when using command groups

> ./app xxxx
app: xxxx is not a command, expected spit-echo-deployment, system-user-snip, gnip-echo-echo, or one thousand four hundred and ninety-eight other commands; use app help to list commands

That error is composed from all 1500 commands, not the 250 command groups.

On further examination, it's because the setup code for the uber app wasn't creating groups, so all commands ended up in the root namespace.  Using groups worked as expected.


How to support WebSocke？

client os server?

server

added example https://github.com/ntex-rs/ntex-mqtt/blob/master/examples/mqtt-ws-server.rs


[client] Adds signWithEckoWallet and quicksignWithEckoWallet functions

Adds two functions to sign a transaction with the Ecko Wallet API.
Usage, where unsignedTransaction is a IPactCommand:
const signWithEckoWallet = createEckoWalletSign();
await signWithEckoWallet(unsignedTransaction);

const quicksignWithEckoWallet = createEckoWalletQuicksign();
await quicksignWithEckoWallet(unsignedTransaction);

On both signWithEckoWallet and quicksignWithEckoWallet there are several helpers available:
const isInstalled = signWithEckoWallet.isInstalled();
const isConnected = await signWithEckoWallet.isConnected();
const accountInfo = await getAccountInfo();
await signWithEckoWallet.connect();

connect() is also automatically called when signing for a transaction

Maybe instead of exposing createEckoWalletSign and createEckoWalletQuicksign we can have one creator like createEchoWalletConnector

export interface IEckoWalletConnector {
   isInstalled: typeof isInstalled;
   isConnected: typeof isConnected;
   connect: typeof connect;
   sign : ISingleSignFunction,
   quickSign : ISignFunction,
}
const echoWalletConnector: IEckoWalletConnector = createEchoWalletConnector();

Maybe instead of exposing createEckoWalletSign and createEckoWalletQuicksign we can have one creator like createEchoWalletConnector
export interface IEckoWalletConnector {
   isInstalled: () => boolean;
   isConnected: (networkId:string) => Promise<boolean>;
   connect: (networkId:string) => Promise<boolean>;
   sign : ISingleSignFunction,
   quickSign : ISignFunction,
}
const echoWalletConnector: IEckoWalletConnector = createEchoWalletConnector();

What do you say @alber70g Maybe we even can have a separate package for connectors? like @kadena/wallet-connectors then we can focus of creating some connectors for common wallets there.

There are multiple things at hand here

as said in above comment, we wanted to make it as uniform as possible when working with the wallets and sign functions
we want to deprecate sign at some point. It's easier to deprecate that function when it has its own separate code-branch
A separate package would be nice. This would provide a clear entry point into all the external connections that can be made and provide an easy way to integrate new connections. Let's think about this, and create an issue for that

Do we still want to merge this pull request?


Pinned our deps to decrease vulnerability risks

Pinned our deps to decrease vulnerability risks
Changes

Changed from ^ to pinned version numbers in package.json

Testing

run /.frontend.sh and everything should be the same as what you had

Review

@ascott1
@KimberlyMunoz
@anselmbradford
@sebworks

Notes

I wanted to get this in before updating CF as an example of how updating a dep like that should probably be done in the future.

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

:+1:

:+1:


update function writeStringSafe so as to print diff string

@waret: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

operator-lint-master
d5ec8c00f68358065aa5dc4b58c9738befac4957
link
/test operator-lint-master

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

@waret: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

operator-lint-master
fb05921b6683ccb77772561a46f5e24df3347fbd
link
/test operator-lint-master

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


Change Fab menu colors dynamically.

Hi,
My requirement is to change the fab menus and mini buttons background color and icons color dynamically, Please tell me is it possible to do the same?
I have used this code, but it's not working
floatingActionMenu.setBackgroundTintList(ColorStateList.valueOf(modifyThemeColour.getCompanyPrimaryColor()));
fab1.setBackgroundTintList(ColorStateList.valueOf(modifyThemeColour.getCompanyPrimaryColor()));
fab2.setBackgroundTintList(ColorStateList.valueOf(modifyThemeColour.getCompanyPrimaryColor()));

This library is not maintained anymore. Checkout this forked repo(uses androidx)
You can set the color of the menu button with setMenuButtonColorNormal. For the mini button you can use setColorNormal.
Setting the icon color is not possible. In the forked repo, you can set icon color of the menu button(but not of the mini icon yet), setIconTint


Add a landing page for Beat Mods with basic info.

When users visit https://beatmods.com they are immediately forwarded to https://beatmods.com/#/mods and shown the list of mods with no instructions on how to install them.
https://beatmods.com/ should really have a landing page with basic install instructions and useful links.
Really basic example
**Beat Mods**

This is a mod repository for Beat Saber!

If you need help installing mods, visit
https://bsmg.wiki/beginners-guide

I'll do that with the other stuff.


drivers: i2c: esp32: fix timing and stop bit

Current implementation fails due to missing stop bit
when reading data. This fixes it and refactor the implementation
by adding k_busy_wait when waiting I2C bus completion.
Also, this implementation is based on esp-idf v3.0.
It will be refactored based on latest esp-idf v4.3 using proper
low level calls.
Signed-off-by: Sylvio Alves<EMAIL_ADDRESS>Fixes #34015

I tagged this to v2.6.0 if still within the window frame.

@sylvioalves - I re-requested review from @mniestroj . I'll approve / merge if he is able to re-review.


Utility Classes: Left and Right Align need to be only medium and up

Description
The Utility classes .left-align and .right-align should not apply to small-and-down screen sizes, this is because all text on small screens centers itself, and right-aligned, left aligned text defying this is ugly.
Solution:
@media only screen and (min-width: 601px){
  .left-align {
  text-align: left;
  }

  .right-align {
    text-align: right;
  }
}

While what you're proposing isn't necessarily incorrect, I believe text alignment should be application specific. What you consider "ugly" is largely due to the default text-alignment not working with your application's overall design. For a different application, with its own design, this may not work. For example, what if you need to consider LTR vs RTL languages?
I disagree that this should be part of the library, although your snippet would fit in nicely with other site-specific overrides to the materialize library.

I shouldn't have used the word ugly, it was lazy of me, I meant that it produced unexpected inconsistencies when you move from larger screens to smaller ones. However, you're absolutely right, I never considered RTL languages.
While this might make the codebase much bulkier, could we add separate utility classes that specifically don't interfere with small screens (and/or medium screens) - think .left-align-s-down and .left-align-m-down. Obviously, these are poor names.
But I fear that this kind of expansion of utility classes with unnecessarily bulk up the library.

We want to keep utility classes very simple and in this case making these particular ones not work on only mobile may be confusing.


Exceptions / errors in dataproviders are not output

If there is an exception in a data provider, paratest fails but the error is not shown.
The output of paratest is:
FAILURES!
Tests: 11214, Assertions: 44655, Failures: 1, Errors: 0.

In PHPUnit, there is a warning and the warning is shown:
There was 1 warning:

1) Warning
The data provider specified for myTest::testSomething is invalid.
Cannot access private const myclass::MY_CONST

What version of paratest and PHPUnit are you running? I believe this quirk was fixed in the latest version(s). I just tested it like so:
michael@comp:~/PhpstormProjects/paratest_test_latest$ vendor/bin/phpunit test/
PHPUnit 6.4.3 by Sebastian Bergmann and contributors.

W                                                                   1 / 1 (100%)

Time: 13 ms, Memory: 4.00MB

There was 1 warning:

1) Warning
The data provider specified for Test1Test::stringsAreStrings is invalid.
Trying to invoke private method Test1Test::stringProvider() from scope ReflectionMethod

WARNINGS!
Tests: 1, Assertions: 0, Warnings: 1.
michael@comp:~/PhpstormProjects/paratest_test_latest$ echo $?
1
michael@comp:~/PhpstormProjects/paratest_test_latest$ vendor/bin/paratest -p4 test/

Running phpunit in 4 processes with /home/michael/PhpstormProjects/paratest_test_latest/vendor/bin/phpunit

Configuration read from /home/michael/PhpstormProjects/paratest_test_latest/phpunit.xml.dist

.W

Time: 55 ms, Memory: 4.00MB

There was 1 warning:

1) The data provider specified for Test1Test::stringsAreStrings is invalid.

FAILURES!
Tests: 1, Assertions: 0, Failures: 1, Errors: 0.
michael@comp:~/PhpstormProjects/paratest_test_latest$ echo $?
1

You can see that either running PHPUnit alone, or running with paratest, both generate the warning and show the result. They also both result in a 1 exit status code, indicating an error.
I do realize this was an issue in older versions, and as a work-around I created a global test listener for my test suite (see the PHPUnit documentation) and simply throw a RuntimeException when a warning occurs.

This is a bit of a late response, but we're still having this issue. We're using paratest version 2.2.0, because we're still using PHPUnit 7. I just confirmed that upgrading to paratest version 3.1.0 fixes this issue.
Note that this is not really limited to dataproviders. I was able to reproduce the same error by expecting a non-existing method to be called, like this:
$mock = $this->createPartialMock(MyClass::class, []);
$mock
    ->expects($this->any())
    ->method('foobar');

With paratest 2.2.0 this results in the following output:
$ ./vendor/bin/paratest tests/

Running phpunit in 12 processes with /Users/daanvanmarsbergen/tmp/paratest/vendor/phpunit/phpunit/phpunit

Configuration read from /Users/daanvanmarsbergen/tmp/paratest/phpunit.xml.dist

.

Time: 229 ms, Memory: 4.00 MB

FAILURES!
Tests: 1, Assertions: 0, Failures: 1, Errors: 0.

With paratest 3.1.0 it works as expected:
$ ./vendor/bin/paratest tests/

Running phpunit in 12 processes with /Users/daanvanmarsbergen/tmp/paratest/vendor/phpunit/phpunit/phpunit

Configuration read from /Users/daanvanmarsbergen/tmp/paratest/phpunit.xml.dist

W

Time: 219 ms, Memory: 4.00 MB

There was 1 warning:

1) MyFirstTest::testParatest
Trying to configure method "foobar" which cannot be configured because it does not exist, has not been specified, is final, or is static

FAILURES!
Tests: 1, Assertions: 0, Failures: 1, Errors: 0.

@Daanvm Thank you for your feedback. Unfortunately, we're not going to backport fixes due to limited time as it's "just" an OSS project. I'm sorry to not have better news regarding a backport. You might apply a patch manually to version 2.2.0 though.
Thus, I'll close this issue now.


Cannot load pretrain pth.tar

when I load pth.tar, RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

Hi, could you please provide more details? like the error message?

Hi, could you please provide more details? like the error message?

I use torch.load this ImageNet pretrain pth, the error is as follows: RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory. Some blogs suggest that pth.tar may be damaged. Have you tried using torch.load to load the pth.tar you shared on Google?


KAFKA-1548 Refactor the "replica_id" in requests

@guozhangwang @gwenshap  plz review

Looks reasonable to me overall. cc @hachikuji

@guozhangwang Should we make similar changes in o.a.k.c.requests or is this only for the old consumer?

hmm good question, I created the JIRA only for the old consumer but maybe we can refactor it for both. @baluchicken could you check if o.a.k.c.requests on the client side need to be refactored as well?

Yeah, sure

@guozhangwang I don't think the o.a.k.c.requests need refactoring, but I am pretty new to this, and I have to learn a lot about the code.

I looked through the client side code and I think we do not need to add the describe yet until we are about to remove the old server side code. So I'm happy to merge it if @hachikuji agreed.

@hachikuji how should I proceed with this one?

@baluchicken Apologies for the delay. From what I can tell, the JIRA is about improving the ability to distinguish between offset/fetch requests from replicas and those from consumers. Only we no longer use the scala FetchRequest or OffsetFetchRequest objects on the broker, so it may make more sense to make these changes in the new request objects instead.

Just noticed this. As @hachikuji said, the Scala classes are mostly not used and will be removed once the old clients are removed. Changes, if required, should focus on the Java classes.

Shall we close this PR then?

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6568/
Test PASSed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6553/
Test PASSed (JDK 8 and Scala 2.12).

Closing for cleanup.


Cannot catkin_make

Hi~ I have a little problem
I use ubuntu 14.04 , ROS:indigo
When i catkin_make, i encounter a problem:

How to fix this problem?
Thanks you!

Hi,
I think the gnu compiler 4.8 does not fully support c++11. Please try to use gnu 4.9.2 or higher. For reference: I am using version 5.4.0 on my tx2.
Best,
Marko

I have install gcc version 4.8.5 and g++ version 7.1.0, and I don't know what is gnu.

Check out this: https://gcc.gnu.org/
Updating gcc is exactly what I meant. Is it still not working?

Yes! It is still not working

I had the same problem and i'm still using gcc 4.8. you can fix it by adding --std=c++11 to NVCC_FLAG in the CMakeLists.txt. i created a pull request about this problem

I think this has to do with the darknet architecture supports. I think the original darknet had commoned out the line -gencode arch=compute_20,code=[sm_20,sm_21] of the  darknet_ros/darknet_ros/CMakeLists.txt try it without that line


Bundles stats not generated when running $ gulp bundle

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior
Bundle stats written to disk after running $ gulp bundle.
Observed Behavior
Bundle stats are not written to disk.
Steps to Reproduce

build new project using the v1.3.2 generator
choose online as the platform
run $ gulp bundle
bundle stats are not written to disk

Same here, any news?

The Webpack plugin that was generating the stats was removed because of a license issue, but you're free to add it back yourself.
To add it back, install the webpack-bundle-analyzer package in your project (npm install webpack-bundle-analyzer --save-dev) and include this snippet in your gulpfile.js:
'use strict';

const gulp = require('gulp');
const path = require('path');
const build = require('@microsoft/sp-build-web');
const bundleAnalyzer = require('webpack-bundle-analyzer');

build.configureWebpack.mergeConfig({
  additionalConfiguration: (generatedConfiguration) => {
    const lastDirName = path.basename(__dirname);
    const dropPath = path.join(__dirname, 'temp', 'stats');
    generatedConfiguration.plugins.push(new bundleAnalyzer.BundleAnalyzerPlugin({
      openAnalyzer: false,
      analyzerMode: 'static',
      reportFilename: path.join(dropPath, `${lastDirName}.stats.html`),
      generateStatsFile: true,
      statsFilename: path.join(dropPath, `${lastDirName}.stats.json`),
      logLevel: 'error'
    }));

    return generatedConfiguration;
  }
});

build.initialize(gulp);

You can find more information on extending the webpack configuration here.
I believe @chakkaradeep was going to write an article about how to do this specifically.

Thanks for clarification @iclanton. It would be helpful if this was communicated with the release of the generator.

@waldekmastykarz check https://www.npmjs.com/package/source-map-explorer ... I prefer this than the bloated one that was included before.


cpplint warnings: removed all from src/stan/math

Summary:
Removes all cpplint warnings from src/stan/math.
Intended Effect:
Note: this does not change code behavior.
Removes cpplint warnings by:

changing casts
changing whitespace
adding braces where necessary ({ and })
in a very few places, added // NOLINT to disable cpplint rules

How to Verify:
The tests haven't changed, so passing all tests show that it works as intended.
The way to verify this is by eye, but it should be good if it passes tests. Someone should spot-check some of the changes by hand, though.
Side Effects:
This may affect existing pull requests. If this is ok, I'll handle the merges.
Documentation:
None.
Reviewer Suggestions:
Anyone.

Jenkins, retest this please.

The failure comes from the test-math-dependencies having added a few more issues for:
#include <vector>

in places where it was missing. I'm going to relax the test-math-dependencies test because I think this is fine for this pull request and we still need to think about how to break apart the dependencies in another effort.

Jenkins, retest this please.

OK by me.
I don't think std::vector is such a big deal if used
internally --- it's the API and dependencies on
Eigen that we should try to tease apart.  At least in
my opinion.

Bob

On Mar 31, 2015, at 4:36 AM, Daniel Lee<EMAIL_ADDRESS>wrote:
The failure comes from the test-math-dependencies having added a few more issues for:
#include
in places where it was missing. I'm going to relax the test-math-dependencies test because I think this is fine for this pull request and we still need to think about how to break apart the dependencies in another effort.
—
Reply to this email directly or view it on GitHub.


Cannot update a message in DM

(Filling out the following details about bugs will help us solve your issue sooner.)
Reproducible in:
        ts_new = client.chat_postMessage(
            channel='UF0LMSUDT',
            text='eeee'
        )

        client.chat_update(
            channel='UF0LMSUDT',
            ts=ts_new['ts'],
            blocks=[],
            text=f'update success')

Try to add as_user=True but still doesn't work
        client.chat_update(
            as_user=True,
            channel='UF0LMSUDT',
            ts=ts_new['ts'],
            blocks=[],
            text=f'update sucess')

Try to change  client.chat_delete, message will be deleted ==> There is no problem with ts
        client.chat_delete(
            as_user=True,
            channel='UF0LMSUDT',
            ts=ts_new['ts'],
            blocks=[],
            text=f'update sucess')

The slack_bolt version
(Paste the output of pip freeze | grep slack)
slack-bolt==1.13.0
slack-sdk==3.15.2
slackeventsapi==3.0.1
Python runtime version
(Paste the output of python --version)
Python 3.7.4
OS info
(Paste the output of sw_vers && uname -v on macOS/Linux or ver on Windows OS)
Darwin Kernel Version 19.6.0: Sun Nov 14 19:58:51 PST 2021; root:xnu-6153.141.50~1/RELEASE_X86_64
Steps to reproduce:
(Share the commands to run, source code, and project settings (e.g., setup.py))

Create a message and get ts
Update message with this ts

Expected result:
Message is updated
(Tell what you expected to happen)
Actual result:
Got error:
The server responded with: {'ok': False, 'error': 'message_not_found'})
(Tell what actually happened with logs, screenshots)
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Hi @jimmymaise, thanks for asking the question.
chat.postMessage API can accept a user ID instead of a channel ID and the API automatically starts a new DM with the given user for you. However, chat.update does not work in the same way as it needs a valid channel ID to identify the message to update.
The API response from chat.update should have the message's channel ID (it should start with D prefix). Please use the ID instead of the user ID.
I hope this helps!

@seratch: Thank you for your support. Just have a question why I still can use the user_id as a channel id to delete the message?

@jimmymaise Oh, honestly I didn't know that you can use user_id for chat.delete too.
Either way, we generally recommend always using channel ID. For DMs, you can call conversations.open at any time for knowing a DM's channel ID. If there is no DM yet, it opens a new DM. If the DM already exists, the API just returns the ID.
Is everything clear now?

Yes. It's clear now

Hi @seratch
I am facing a similar issue. Getting cant_update_message error when using client.chat_update.
Can you help me with this?
Environment
Slack Free Plan
Python 3.11.4
slack-bolt==1.18.0
slack-sdk==3.21.3
App Bot Scopes

app_mentions:read
channels:join
chat:write
im:write
reactions:write
commands

from slack_sdk import WebClient
from .models import SlackInstallation

@slack_app.event(event="message")
def scann_message(logger, message, context: BoltContext):
    text = message.get('text','')
    bot_app = SlackInstallation.objects.filter(client_id=settings.SLACK['CLIENT_ID']).order_by('-installed_at').first()
    slack_client = WebClient(token=bot_app.bot_token)

    slack_client.chat_update(
                channel=message['channel'],
                ts=message['ts'],
                as_user=True,
                text=f"::::{text}::::"
            )

@nil12285 Your question is a different one. The message you're attempting to update was posted by a human user (or a bot user from a different app). Naturally, your app can't modify this message since it was not posted by the app itself. If your app has received a user token with the chat:write scope from the human who posted the message, your app can update the message on their behalf. Without this, there is no way to update other people's messages solely using a bot user token.

@seratch thanks for getting back to me this quickly and for clarification.  Really appreciated.
I have chat:write  in my scope,  but I don't get user_token in the payload for the message event. Can you please guide me on how can I get the user token?
Values for scope are mentioned above and user_scope = chat:write
slack_app = App(
    signing_secret=settings.SLACK["SIGNING_SECRET"],
    oauth_settings=OAuthSettings(
        client_id=settings.SLACK["CLIENT_ID"],
        client_secret=settings.SLACK["CLIENT_SECRET"],
        scopes=settings.SLACK["SCOPES"].split(","),
        user_scopes=settings.SLACK.get("USER_SCOPES","search:read").split(","),
         installation_store=DjangoInstallationStore(
            client_id=settings.SLACK["CLIENT_ID"],
            logger=logger,
        ),
        state_store=DjangoOAuthStateStore(
            expiration_seconds=120,
            logger=logger,
        ),
        callback_options=callback_options
    ),
)

Payload  of message in @slack_app.event(event="message")
{
	'client_msg_id': '1099ac7d-57d2-4429-8drb-ca2a5f3c07e7',
	'type': 'message',
	'text': 'hi',
	'user': 'U01HFY2JQ84',
	'ts': '168949568.523379',
	'blocks': [{
		'type': 'rich_text',
		'block_id': 'LRA',
		'elements': [{
			'type': 'rich_text_section',
			'elements': [{
				'type': 'text',
				'text': 'hi'
			}]
		}]
	}],
	'team': 'T01H9AB99MH',
	'channel': 'C01LA3RHV98',
	'event_ts': '1689181568.561079',
	'channel_type': 'channel'
}

@seratch thanks


VCXProj Fixes

The dna.sln was pointing at VCXPROJ files that did not exist in the project.  This adds the VCXPROJ files as well as fixes some issues with the post build steps it had previously.  With this I was able to properly build and run DNA.exe and Snake.exe.

This project is inactive and won't be accepting any more PRs. Please fork ;)

Hi @chrisdunelm!
No problem.... totally understandable.
Still I would like you to know that this was one of the projects inspired me back in 2013 to write my own alternative .NET runtime.  We did this a totally different way than you did (transpiled IL to native C++ code and the Boehm GC), but it did make me think about C# differently than I did before.  That tech was specifically targeted at C# games and was used to port dozens of indie games to PS4, Vita, Xbox One, and Nintendo Switch today.

@tomspilman Thanks for your comment. Glad to hear I wasn't the only one messing around with .NET runtimes back then :)


Planning: add a common function for trajectory bundles generation with a given initial and  end conditions.

Planning: add a common function for trajectory bundles generation with a given initial and  end conditions.
Use the common function to generate trajectory bundles, making codes more concise and easier to maintain.

@kechxu
I have added a template parameter to support different curve generator. I think it should work.

@kechxu There may be a problem in your new docker image. I cannot pull it from China even if I have added a "-C" option. Therefore, I cannot build my latest project and correct any compiling errors. Please check your new docker image. Thanks.

Thank you so much for your effort. Since there have been so many commits and it seems a little bit messy. Could you please resubmit a new pull request with only one commit for your changes? That will be much more clear. Thanks a lot!

@kechxu Sure, no problem. Please close the current request so that I can send a new pull request.


Make scripts pass with Standard JS code style 16.0.1

Hello @d-r-q, could you push your branch directly to https://github.com/tiliado/nuvola-app-yandex-music (branch standardjs)? You should have commit access to that repository. If not, let me know.

Ok, I will commit it tomorrow

@fenryxo
done: https://github.com/tiliado/nuvola-app-yandex-music/tree/standardjs

Ok, please create a pull request from that branch :+1:


Fix compile error in Xcode9-beta3

check_compile_time had been replaced with __Check_Compile_Time in file “AssertMacros.h”

Any news about this ?

@umbri You can see the notes in the file <AssertMacros.h>. Apple notes that macOS High Sierra and iOS 11 will now require that clients move to the new macros. As follows:
/*

For time immemorial, Mac OS X has defined version of most of these macros without the __ prefix, which
could collide with similarly named functions or macros in user code, including new functionality in
Boost and the C++ standard library.

macOS High Sierra and iOS 11 will now require that clients move to the new macros as defined above.

If you would like to enable the macros for use within your own project, you can define the
__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES macro via an Xcode Build Configuration.
See "Add a build configuration (xcconfig) file" in Xcode Help.

To aid users of these macros in converting their sources, the following tops script will convert usages
of the old macros into the new equivalents.  To do so, in Terminal go into the directory containing the
sources to be converted and run this command.
find . -name '*.[c|cc|cp|cpp|m|mm|h]' -print0 |  xargs -0 tops -verbose
replace "check()" with "__Check()"
replace "check_noerr()" with "__Check_noErr()"
replace "check_noerr_string()" with "__Check_noErr_String()"
replace "check_string()" with "__Check_String()"
replace "require()" with "__Require()"
replace "require_action()" with "__Require_Action()"
replace "require_action_string()" with "__Require_Action_String()"
replace "require_noerr()" with "__Require_noErr()"
replace "require_noerr_action()" with "__Require_noErr_Action()"
replace "require_noerr_action_string()" with "__Require_noErr_Action_String()"
replace "require_noerr_string()" with "__Require_noErr_String()"
replace "require_string()" with "__Require_String()"
replace "verify()" with "__Verify()"
replace "verify_action()" with "__Verify_Action()"
replace "verify_noerr()" with "__Verify_noErr()"
replace "verify_noerr_action()" with "__Verify_noErr_Action()"
replace "verify_noerr_string()" with "__Verify_noErr_String()"
replace "verify_string()" with "__Verify_String()"
replace "ncheck()" with "__nCheck()"
replace "ncheck_string()" with "__nCheck_String()"
replace "nrequire()" with "__nRequire()"
replace "nrequire_action()" with "__nRequire_Action()"
replace "nrequire_action_quiet()" with "__nRequire_Action_Quiet()"
replace "nrequire_action_string()" with "__nRequire_Action_String()"
replace "nrequire_quiet()" with "__nRequire_Quiet()"
replace "nrequire_string()" with "__nRequire_String()"
replace "nverify()" with "__nVerify()"
replace "nverify_string()" with "__nVerify_String()"
replace "require_action_quiet()" with "__Require_Action_Quiet()"
replace "require_noerr_action_quiet()" with "__Require_noErr_Action_Quiet()"
replace "require_noerr_quiet()" with "__Require_noErr_Quiet()"
replace "require_quiet()" with "__Require_Quiet()"
replace "check_compile_time()" with "__Check_Compile_Time()"
replace "debug_string()" with "__Debug_String()"

*/

Could you please confirm the new checking worked in old versions, such as xcode 7 iOS7?

@Daemonson

@dustturtle Yes, I just now tested the code with Xcode7.2 and iPhone 5C(iOS7.1.2), all goes well.

Thanks a lot for your great efforts!


PMM-12453 added tests

automated:

https://jira.percona.com/secure/Tests.jspa#/testCase/PMM-T1726
https://jira.percona.com/secure/Tests.jspa#/testCase/PMM-T1790

https://pmm.cd.percona.com/blue/organizations/jenkins/pmm2-ui-test-nightly/detail/pmm2-ui-test-nightly/2023/tests/