Implement AI-Driven Optimizations and Enhanced Error Handling for libxgboost Build Process

This Pull Request introduces AI-driven optimizations to the build process of libxgboost, enhancing both efficiency and error handling. The changes include integration with a new AI module for optimizing build parameters, predictive error handling, and the generation of an AI-enhanced build report.
Changes Made:

AI Integration:

Added AI Module: Integrated AIBuildOptimizer from the ai_optimizer module to optimize build parameters such as build tool selection and the number of cores to use.
Predictive Error Handling: Implemented AI-driven error checking and handling to preemptively address potential issues during the build process.

Build Process Enhancements:

Optimized Build Tool Selection: The AI module selects the most suitable build tool (ninja or make) based on system configuration and build parameters.
Error Handling Improvements: Enhanced error handling with AI-driven strategies for managing build failures and generating a detailed build report.

Conditional Build Configuration:

System vs. Local Library Handling: Added logic to locate and use a system-installed libxgboost if available, falling back to local build if necessary.

Build Reporting:

AI-Enhanced Build Report: Added functionality to generate a comprehensive build report using AI, which includes insights into build performance and potential optimizations.

Details:

Updated build_libxgboost function to utilize AI for optimizing build parameters and handling errors.
Refactored the build process to include AI-driven predictive error checks and a detailed build report.
Modified locate_or_build_libxgboost function to support AI-driven optimizations and enhanced build configurations.

Benefits:

Improved Efficiency: The AI module optimizes build configurations for faster and more reliable builds.
Enhanced Error Handling: Predictive error handling reduces the likelihood of build failures and improves troubleshooting.
Comprehensive Reporting: Detailed build reports provide valuable insights for ongoing optimization.

This update introduces AI-driven enhancements to the libxgboost build process, focusing on optimizing build parameters and improving error handling. The key changes include:

AI-Driven Build Optimization: Integrated AIBuildOptimizer to automatically select the best build tool and optimize the number of cores based on the system and build configuration.

Predictive Error Handling: Added AI-powered predictive checks before the build process and implemented advanced error handling to automatically address and recover from build failures.

Dynamic Generator Selection: Updated the build process to dynamically select the appropriate CMake generator based on available tools and system platform, improving build compatibility and efficiency.

Enhanced Build Reporting: Introduced AI-generated build reports to provide detailed insights into the build process and identify areas for further optimization.

Code Refactoring: Simplified the build logic and refactored code to reduce complexity and improve maintainability.

These changes aim to enhance build efficiency, reduce errors, and provide better diagnostics during the build process.
Testing and Validation

Verified that AI optimization correctly selects build tools and parameters.
Ensured that predictive error handling effectively manages build failures.
Tested compatibility with different CMake generators and build systems.
Reviewed AI-generated reports for accuracy and usefulness.


Error [TypeError: Network request failed]

Description
I'm having this error right now, everything worked fine, but i don't understand why i'm facing this error,
I've tried many solutions fot two days that's why i'm opening this issue
solutions that i've tried
changing url to my machine ip address
added paermission on AndroidManifest
added dns <IP_ADDRESS> to my network pereferences
created new simulator
tried on physical device

const handleSubmit = ({ question }) => {

     let headers: {
          'Accept': 'application/json',
          'Content-Type': 'application/json',
        };

   let data = JSON.stringify({
      question: question,
    });

    let options = {
      method: 'POST',
      headers: headers,
      data: data,
    };

    fetch('http://<IP_ADDRESS>:8081/answer/', options)
      .then((response) => response.text())
      .then((result) => console.log(result))
      .catch((error) => console.log('error', error));
  };

Version
0.68.2
Output of npx react-native info
System:
OS: macOS 12.4
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 993.57 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.0.0 - /usr/local/bin/node
Yarn: Not Found
npm: 8.6.0 - /usr/local/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK:
API Levels: 28, 29, 30, 31
Build Tools: 29.0.0, 29.0.1, 29.0.2, 29.0.3, 30.0.0, 30.0.1, 30.0.2, 30.0.3, 31.0.0, 32.0.0
System Images: android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom_64, android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom_64, android-30 | Intel x86 Atom_64, android-30 | Google APIs Intel x86 Atom, android-30 | Google APIs Intel x86 Atom_64, android-31 | Intel x86 Atom_64, android-31 | Google APIs Intel x86 Atom_64
Android NDK: Not Found
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7784292
Xcode: 13.4/13F17a - /usr/bin/xcodebuild
Languages:
Java: 18.0.1 - /usr/local/opt/openjdk/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.68.2 => 0.68.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
expo init
i'm facing this error with a private project which was working but also when inilializing a new expo or react native projects
Snack, code example, screenshot, or link to a repository

fixed TypeError: Network request failed when upload file to http not https with Android debug builds

Hey I'm having the same issue.
I also tried
     android:usesCleartextTraffic="true"
      android:networkSecurityConfig="@xml/network_security_config"

and configured the XML and nothing works. This only started to happen when I upgraded my react native from 0.68 to 69.5. In ios all works fine.

using react-native-debugger solved the issue for me.
but still having it without it

fixed TypeError: Network request failed when upload file to http not https with Android debug builds

I have same issue. still need a solution


Request: API to determine NVS size and utilization ...

The amount of storage set aside for the NVS component is defined at flash time.  This issue requests an additional API to run-time query the amount of NVS storage space in use and free.
The background to this request is that NVS seems to be a simple enough mechanism to be used as a poor man's storage system when a file system might not be needed.  However, the desire to know how much space is in use would be extremely useful.

I agree, I need to store a stream of sensor readings. The file system is a bit overkill because I basically need a giant buffer. Thanks!

@forthlightning stream data is not something NVS is designed for. It's a key-value storage. If you need a giant buffer, take a look at partition API. You can add a partition to the partition table and then write to the partition at runtime.

There was also some talk about a file system technology to be released as part of ESP-IDF 1.0.  I'm not sure if that is still in plan or what kind of file system it may be, but this might also give you some form of balancing or wear leveling that might be important if you are writing lots and frequently.  I'm not sure what the technology specs say these days, but there were only a finite amount of writes one could perform against a specific flash set of cells.  So if you pick a specific flash area and keep over-writing it all the time, there may be problems.


Transaction Search Time Range Limitations

Have an App Insights resource which has 730 days of data retention.
And I noticed in the Transaction Search the time range is limited to 90 days only.

And as per the limit summery  it should match the data retention that is set for the resources.
Could you please clarify if this is by design?

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

ID: 3e8d2de3-73e5-857c-f87e-38ad9ed1358d
Version Independent ID: 86ad9550-7a64-948e-440a-4b97bf5c812d
Content: Using Search in Azure Application Insights - Azure Monitor
Content Source: articles/azure-monitor/app/diagnostic-search.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @lgayhardt
Microsoft Alias: lagayhar

@v-lyivan Thanks for your comment. We will review the issue and get back to you shortly.

@lgayhardt  Seems the data retention values in this document and other document are mismatch.  From my analysis, as @v-lyivan mentioned , Transaction Search is limited to 90days unlike Metrics Explorer and Analytics.
Can you please check and update the document accordingly?

Hi @v-lyivan, sorry for the delay.
The Manage Azure resource doc that @SwathiDhanwada-MSFT  mentioned is out of date, it wasn't updated when Application Insights variable retention was introduced.
Log data retention is 30-730 days for classic Application Insights resources.  (For Application Insights resources sending their data to Log Analytics, individual data types can be set to retention as low as 4 days).  In both cases, the default retention is 90 days. Data retention beyond 90 days will incur data retention charges. Metric data retention is still 90 days.
I created a work item to update the Manage Azure resource documentation.
Thank you
#please-close


Exception when using run_yextend to run a ruleset on a pdf file

Exception when using run_yextend to run a ruleset on a pdf file
Traceback (most recent call last):
File "./run_yextend", line 169, in
print_yextend_output(out=out)
File "./run_yextend", line 120, in print_yextend_output
rmdspl_offset, rmdspl_label = rmdspl.split(':')
ValueError: need more than 1 value to unpack
Fermilab.pdf

Fixed - b847daa


Fix evaluation scripts

This should fix evaluation paths without modifying the script itself nerfstudio-project/gsplat#506  and also fix
"from gsplat.optimizers import SelectiveAdam" not found

Same with #509 .
@liruilong940607 @vye16 This is an obvious error and could be easily fixed.


Wants to save the pdf on server.

Thank you for submitting an issue to jsPDF. Please read carefully.
Are you using the latest version of jsPDF?
Have you tried using jspdf.debug.js?
Steps to reproduce
Ideally a link too. Try fork this http://jsbin.com/rilace/edit?html,js,output
What I saw
What I expected

Actually trying to save the pdf on server.

anyone help me to save the pdf on server, with php code.

This is a client side JS library. PHP is a server side language. If you're using PHP and want to save the PDF on the server you'll need to use something more appropriate for your needs.

Hi @SkoZombie , how can we save pdf on the server using ReactJs NodeJS project?


Define term "telemetry item"

Term "Telemetry item" is used to refer key concepts but it's meaning has not been clearly stated. Please consider adding  a sentence defining the term.

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

ID: abec1591-e1ef-dcae-9cb7-8a6afd7de947
Version Independent ID: f6119b02-ee1a-6bdd-dc0a-c33a632c9546
Content: Azure Application Insights Telemetry Data Model - Azure Monitor
Content Source: articles/azure-monitor/app/data-model.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

Hi @jonira
Thank you for your question.
In the data model overview documentation telemetry item represents a component of data, its definition depends on the type of telemetry.  The article links to 6 different types of telemetry; Request, Exception, Dependency, Trace, Event and Metric.
For example, in the introduction of the request telemetry documentation it states "A request telemetry item (in Application Insights) represents the logical sequence of execution triggered by an external request to your application. "
"To associate telemetry with a logical operation, every telemetry item has a context field called operation_Id. This identifier is shared by every telemetry item in the distributed trace. So even if you lose telemetry from a single layer, you can still associate telemetry reported by other components." ( See Data model for telemetry correlation )Telemetry items all have a Tags property that contains information about the submitted telemetry, such as user, session, and device information.

#please-close


Python

Now using python as our host sys environment.
This should give us more stability for sys operations, but most importantly we have now access to a huge library of sys tools.
The biggest breaking change is that we now require python to be available. If the tool can't find python, just define DUELL_PYTHON in your environment.

Very good job !


Create aimbot

moin

@Zwiebelbande can you explain more of what this is?

I don't really understand this PR so I'll close it for now. If you can provide justification of how it will provide net value to the project I am happy to reopen it. Let me know

He copy pasted a cheat code for a game called "Valorant".
This PR is nothing from importance either his PR is a troll post or the user doesnt know how to use github yet(fresh account)


Support nested structs for min/max aggregations

Currently min and max aggregations can only operate on a single-level structs column. This PR adds full support for arbitrarily nested structs (aka Struct[Any] type) for those aggregations.
Depends on:

https://github.com/rapidsai/cudf/pull/13069

build

build

@ttnghia is there a reason that we can support a struct with an array in it, but not an array on it's own?

cudf can support min/max on any type now. So in the plugin we can just enable array type (with integration test).

cudf can support min/max on any type now. So in the plugin we can just enable array type (with integration test).

I tried that. I get a CUDF error when I do it.
ai.rapids.cudf.CudfException: CUDF failure at:/home/jenkins/agent/workspace/jenkins-spark-rapids-jni_nightly-dev-476-cuda11/thirdparty/cudf/cpp/src/groupby/sort/group_single_pass_reduction_util.cuh:108: Unsupported groupby reduction type-agg combination.
	at ai.rapids.cudf.Table.groupByAggregate(Native Method)

Here is the diff I used to enable it.
diff --git a/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala b/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala
index 709abacfc..03f0a38a7 100644
--- a/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala
+++ b/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala
@@ -2084,14 +2084,13 @@ object GpuOverrides extends Logging {
       "Max aggregate operator",
       ExprChecksImpl(
         ExprChecks.reductionAndGroupByAgg(
-          (TypeSig.commonCudfTypes + TypeSig.DECIMAL_128 + TypeSig.NULL + TypeSig.STRUCT)
-            .nested(TypeSig.commonCudfTypes + TypeSig.DECIMAL_128 + TypeSig.NULL +
-              TypeSig.STRUCT + TypeSig.ARRAY),
+          (TypeSig.commonCudfTypes + TypeSig.DECIMAL_128 + TypeSig.NULL + TypeSig.STRUCT +
+              TypeSig.ARRAY)
+            .nested(),
           TypeSig.orderable,
           Seq(ParamCheck("input",
-            (TypeSig.commonCudfTypes + TypeSig.DECIMAL_128 + TypeSig.NULL + TypeSig.STRUCT)
-              .nested(TypeSig.commonCudfTypes + TypeSig.DECIMAL_128 + TypeSig.NULL +
-                TypeSig.STRUCT + TypeSig.ARRAY),
+            (TypeSig.commonCudfTypes + TypeSig.DECIMAL_128 + TypeSig.NULL + TypeSig.STRUCT +
+                TypeSig.ARRAY).nested(),
             TypeSig.orderable))).asInstanceOf[ExprChecksImpl].contexts
           ++
           ExprChecks.windowOnly(
@@ -2111,14 +2110,12 @@ object GpuOverrides extends Logging {
       "Min aggregate operator",
       ExprChecksImpl(
         ExprChecks.reductionAndGroupByAgg(
-          (TypeSig.commonCudfTypes + TypeSig.DECIMAL_128 + TypeSig.NULL + TypeSig.STRUCT)
-            .nested(TypeSig.commonCudfTypes + TypeSig.DECIMAL_128 + TypeSig.NULL +
-              TypeSig.STRUCT + TypeSig.ARRAY),
+          (TypeSig.commonCudfTypes + TypeSig.DECIMAL_128 + TypeSig.NULL + TypeSig.STRUCT +
+              TypeSig.ARRAY).nested(),
           TypeSig.orderable,
           Seq(ParamCheck("input",
-            (TypeSig.commonCudfTypes + TypeSig.DECIMAL_128 + TypeSig.NULL + TypeSig.STRUCT)
-              .nested(TypeSig.commonCudfTypes + TypeSig.DECIMAL_128 + TypeSig.NULL +
-                TypeSig.STRUCT + TypeSig.ARRAY),
+            (TypeSig.commonCudfTypes + TypeSig.DECIMAL_128 + TypeSig.NULL + TypeSig.STRUCT +
+                TypeSig.ARRAY).nested(),
             TypeSig.orderable))).asInstanceOf[ExprChecksImpl].contexts
           ++
           ExprChecks.windowOnly(

Oh sorry, I missed that part. More accurately, cudf now supports finding min/max on any types, but it needs a bit more work to enable such functionality. It is similar to doing so for the plugin: we need to enable input type checks and add unit tests.
Please file an issue and I can work on it very soon.

I filed https://github.com/rapidsai/cudf/issues/13667 and https://github.com/NVIDIA/spark-rapids/issues/8668 for them


Wrong report header for the money spent

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number:
Reproducible in staging?: needs reproduction (card expense)
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @coleaeason
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1707427890816659
Action Performed:

User A spends using the card
Submits the bill to B
Check the report header as user A

Expected Result:
User A spent $x.xx should appear
Actual Result:
User B spent $x.xx appears
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub

Clarifying which wave here

Wave 6 @CortneyOfstad !

maybe related to https://github.com/Expensify/App/pull/35529 cc @mollfpr

Looking 👀

Wahoo! Thanks @grgia!

cc @abzokhattab

Not overdue 👍

Not overdue

Sorry for the delay! I have checked and the PR https://github.com/Expensify/App/pull/35529 doesn't make this issue. We don't have a check or utils function showing the spender's name on the money spent. It's default to use the manager name instead.
Here's are another place that using the display name wrong.

Thanks for the update @mollfpr! Any thoughts on the above @grgia?

Looks like we mistakenly only use the manager name, but it should be the spender in some cases. I think unless we make this change as an update from the linked PR, we can make this internal. It seems more like this is a forgotten case that we should have covered in that PR @mollfpr

@mollfpr in regards to @grgia's comment above, do you think a change is feasible from the PR here, or do you think it is better to just move this internally? I am not sure how much extra time/work a change/fix would be so looking for any insight you can provide. Thanks!

@mollfpr bump on the comment above ^^ Thanks!

Sorry, I forgot to reply here.

The changes to cover this issue might be similar to the https://github.com/Expensify/App/pull/35529. We just need to add another check hasNonReimbursableTransactions and isCardTransaction to use the requestor name.
To create the case for non-reimbursable transactions spent and eCard is a bit tricky. Som I'm not sure if that's all the step we need, if yes then we can make it external.

Thanks @mollfpr! I am going to bring this up to the team and see where we get. Thank you!

I made this external, I'm not sure if you'd like to take C+ since you have context here @mollfpr, other wise autoassigner assigned @aimane-chnaif

@grgia Sounds good to me!

Proposal
Please re-state the problem that we are trying to solve in this issue.
Expensify Cards: Wrong report header for the money spent
What is the root cause of that problem?
The root cause of the problem is here
https://github.com/godofoutcasts94/App/blob/4816890a1c63b64f7c3278fbd39c92a8db0b2759/src/languages/en.ts#L626
we are showing payer spent amount
What changes do you think we should make in order to solve the problem?

We need to change it to something like spender spent amount
What alternative solutions did you explore? (Optional)
N/A

I don't why my permalink is not working.

To be clear, the spender spent amount pattern should be used for nonreimbursable transactions, i.e transaction.reimbursable === false

Yes yes

I don't why my permalink is not working.

you meant
https://github.com/Expensify/App/blob/cfa0ae37156208ebecdc6b2126464ec462271b76/src/languages/en.ts#L627
?

Yes, correct that is not working @aimane-chnaif

Proposal
Please re-state the problem that we are trying to solve in this issue.
The manager's name is shown instead of the spender on the report preview and the report header.
What is the root cause of that problem?
Currently, we using the managerID to get the payer name, not just for the non-reimbursable transaction but also the card transaction.
https://github.com/Expensify/App/blob/cfa0ae37156208ebecdc6b2126464ec462271b76/src/components/ReportActionItem/ReportPreview.tsx#L201-L202
When the transaction is a non-reimbursable transaction/card transaction it should use the ownerAccountID for the payer name.
We also have the same place that uses the managerID.
https://github.com/Expensify/App/blob/cfa0ae37156208ebecdc6b2126464ec462271b76/src/libs/ReportUtils.ts#L2023-L2024
https://github.com/Expensify/App/blob/cfa0ae37156208ebecdc6b2126464ec462271b76/src/libs/ReportUtils.ts#L2325
What changes do you think we should make in order to solve the problem?

We should add a check for non-reimbursable transactions and card transactions to use the correct spender name which is the ownerAccountID from the IOU report instead the managerID.
To align the update on the above three places, we can create a new utils function to return the manager or spender name with a parameter from the IOU report and transaction.
What alternative solutions did you explore? (Optional)

@aimane-chnaif – looks like we have a few more proposals — can you please provide feedback by EOD today? Thanks!

Hi @joekaufmanexpensify! I am heading OoO and will be back March 11th, so reassigned to have someone keep this moving until I am back. At this stage, @aimane-chnaif is reviewing the proposals and should be providing feedback soon. Thanks!

all yours @mollfpr !

@mollfpr is there an ETA for a PR here?

@CortneyOfstad I see you're back, so going to let you keep this one. LMK if there's anything else I can help with!

Checking 👀

@grgia it shows that @mollfpr is waiting for confirmation on the PR here. Can you provide an update? Thanks!

@grgia bump on the above ^^^

@CortneyOfstad The PR is approved https://github.com/Expensify/App/pull/37773#pullrequestreview-1954553540 but needs more internal testing.

@mollfpr Can you complete the checklist before EOD tomorrow? Thanks!

@mollfpr bump on the checklist 👍

Payment Summary
@mollfpr to be paid $500 via NewDot
@aimane-chnaif paid $500 via Upwork

Sorry for the delay @CortneyOfstad

[@mollfpr] The PR that introduced the bug has been identified. Link to the PR:
[@mollfpr] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:

Not fully regression from https://github.com/Expensify/App/pull/35529 but we do some improvement and cover another case to show correct verb.

[@mollfpr] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:

The regression step should be enough.

[@mollfpr] Determine if we should create a regression test for this bug.
[@mollfpr] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.

Log in to your account with the Expensify Card transaction<EMAIL_ADDRESS>Go to the workspace chat with the transaction (https://staging.new.expensify.com/r/4612388815642526. If the transaction is settled, please create another Expensify Card transaction)
Verify the text on 3 places below correctly showing <requestor's name> spent

Alternate text on LHN
Report preview
Money report preview header

👍 or 👎

@CortneyOfstad The PR I worked for this issue has a regression but I have fixed it https://github.com/Expensify/App/pull/39208

@mollfpr I don't see a regression listed. Only that it was merged without testing, which @Gonals handled. We should be good 👍
I think the regression test looks good — @grgia any changes you would like to see made (if any)?

$500 approved for @mollfpr

Regression test created here — https://github.com/Expensify/Expensify/issues/386030
Thanks!


EOS build problem on Mac that may be related to Clang

Encountered a problem when trying to to build EOS on macOS Mojave (version 10.14.5).
The EOS version was the latest develop branch with commit 405dce4b71f6ff26ec1bc6069a8fb6bba814b835.
Problem
I started with running ~/eos/scripts/eosio_build.sh and confirmed to build at ~/eosio/1.9/.
The script terminated prematurely. The last line shown on the screen was
 - HomeBrew installation found @ /usr/local/bin/brew

With the help of echo, I managed to narrow down the problem -- the script stopped at function ensure-compiler() in ~/eos/scripts/helpers/eosio.sh.
The exact line at which the script stopped was
COMPILER_TYPE=$( eval $READLINK_COMMAND $(which $CXX) )

Workaround
Later I acquired a copy of the pre-built binaries of LLVM 8.0.0 from the official website. Then I moved the unzipped clang+llvm folder (renamed to clang8) to /usr/local/, and made a symbolic link from ~/eosio/1.9/opt/clang8 to it.
After this step, the building process seemed to be normal: It downloaded Boost, and started to compile, and ended reporting EOSIO has been successfully built.

This was fixed in
https://github.com/EOSIO/eos/pull/7525
https://github.com/EOSIO/eos/pull/7528

Whoops, didn't mean to close. Please let me know if the new changes resolved it for you.

Yes. It is fixed.
Previously the eosio_build.sh script stopped after printing
- HomeBrew installation found @ /usr/local/bin/brew

Now the script continues to print
[Ensuring HomeBrew dependencies]
 - cmake found!
 - graphviz found!
 - libtool found!
 - automake found!
 - wget found!
 - gmp found!
 - llvm@4 found!
 - pkgconfig found!
 - python found!
 - python@2 found!
 - doxygen found!
 - libusb found!
 - openssl found!
 - No required package dependencies to install.

[Ensuring LLVM 4 support]
 - LLVM successfully linked from /usr/local/opt/llvm@4 to /Users/aaron.fu/eosio/1.9/opt/llvm
[Ensuring Boost 1.70.0 library installation]
 - Boost library found with correct version @ /Users/aaron.fu/eosio/1.9/src/boost_1_70_0

========================================================================
======================= Starting EOSIO Build ===========================
...

Thanks!


iat and exp not present in token

@jfromaniello I generate a token from the data retrieved form database and it does not have exp and iat fields, due to this it is not checking expiration time and always verify token. and also when i decoded the token on jwt.io it says invalid token.
can you tell me the way to solve this? Here's my code

var token=jwt.sign(members,app.get('superSecret'),{
expiresInMinutes:40
});

@abhinav76 As I mention in the comments of another issue, you should provide me a token.
It is impossible to me to know from that line of code what's the content of the members variable.
Please paste here a generated token or provide a failing use case

this is the token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJlbWFpbCI6InJhY2hpdDlAZ21haWwuY29tIiwidXNlcm5hbWUiOiJSYWNoaXQ5IiwicGFzc3dvcmQiOiI3YzRhOGQwOWNhMzc2MmFmNjFlNTk1MjA5NDNkYzI2NDk0Zjg5NDFiIiwiZ2VuZGVyIjoiTWFsZSIsImZfbmFtZSI6IlJhY2hpdCIsImxfbmFtZSI6IkdpcmRoYXIiLCJzdGF0dXMiOiIiLCJkb2IiOjAsImNvdW50cnkiOiJpbmQiLCJpYXQiOjE0NDAxMzY2MTEsImV4cCI6MTQ0MDE0MDIxMX0.RiAWIax7fvGhKIjKiJkt7LYQn633GM0_kAs192-RD5g
It has eat now but still jwt.io shows it invalid

This token has iat.
JWT.io says invalid because it is not valid with the secret there, you can put your secret to check if is valid.

yeah i found that,thanks


ValueError for missing api_version when calling with_options() on an (Async)AzureOpenAI client instance

Confirm this is an issue with the Python library and not an underlying OpenAI API

[X] This is an issue with the Python library

Describe the bug
Calling with_options() on an AzureOpenAI or AsyncAzureOpenAI client instance throws a ValueError exception:

ValueError: Must provide either the api_version argument or the OPENAI_API_VERSION environment variable

To Reproduce
Initialize an AzureOpenAI client and call with_options() on it.
Code snippets
from openai import AsyncAzureOpenAI

client = AsyncAzureOpenAI(
    azure_endpoint="",
    api_key="mykey",
    api_version="2023-07-01-preview",
)

copied_client = client.with_options(timeout=30)

OS
ubuntu 22.04
Python version
v3.10.12
Library version
opeanai v1.1.2

Thanks for reporting, we'll try to fix this on Monday.

Still running into this on openai-1.3.3 client.

Thank you for following up @Mikkolehtimaki , I'm so sorry we let this slip! We'll take a look soon.

This will be fixed in the next release, sorry for the delay!

该问题将在下一个版本中修复，抱歉延迟了！

Still not fixed

This should have been fixed in https://github.com/openai/openai-python/pull/858 which was released in https://github.com/openai/openai-python/releases/tag/v1.3.5
Can you try that version and share the traceback you see, along with your code causing it?

I have same error with the following set of requirements:
openai==1.10.0
langchain==0.1.4
langchain-community==0.0.16
langchain-core==0.1.16
langchain-openai==0.0.5


Elfblocks

Please check elfblocks collection, and say me what's the trouble ?
Thanks
@MillHaus33
https://ordinalswallet.com/collection/elfblocks

added


Unable to sync ossf-tests/scorecard-action

Run: https://github.com/ossf-tests/scorecard-action/actions/runs/5602114749

Duplicate of #1233


Any interface to directly parsing existing bitcode/asm files?

Is it possible to directly parsing existing .bc/.ll files, instead of compiling .ll from source code?
I tried below code and raise RuntimeError:
with open(r'path/to/.ll', encoding='utf-8') as f:
    ll = f.read()
    a = R.LLVMGraphBuilder()
    info = a.string_to_info(ll)
    print(info)

Error:
Failed compiling to LLVM module
  File "/home/xxx/tmp/compylearn/compy-learn/compy/representations/llvm_graphs.py", line 248, in string_to_info
    return self.__extractor.GraphFromString(src)
  File "/home/xxx/tmp/compylearn/compy-learn/devmap_exploration.py", line 18, in <module>
    info = a.string_to_info(ll)

Tested in WSLv1 and virtualenv.

Issue resolved by #15


Tumblr's different rate limit between download image server and video server

Ripme version: 1.7.7
Java version: newest java8
Operating system: winver
Exact URL you were trying to rip when the problem occurred: all
Please include any additional information about how to reproduce the problem:

Tumblr have different download rate limit with his image and video server.
I hope have different download threads option with  image and video.

Can you explain in more detail? Are you getting rate limited?

RipMe 1.7.7 is very old, 'java8' is an invalid Java version string, not to mention 'winver' ain't a version string either, and 'all' for the 'exact URL' is as helpful as a placebo pill.


Coveralls, but not Coverage, broken for some packages

I'm not getting Coveralls reports for Images anymore, but I still get them for HDF5. I don't think this is a settings issue with Coveralls/Travis/etc, though of course it could be. On a lark: could it be a Unicode issue?
tim@diva:~/.julia/v0.3/HDF5/src$ enca -L none plain.jl
7bit ASCII characters
tim@diva:~/.julia/v0.3/HDF5/src$ enca -L none *
blosc_filter.jl: 7bit ASCII characters
datafile.jl: 7bit ASCII characters
HDF5.jl: 7bit ASCII characters
JLD00.jl: 7bit ASCII characters
JLD.jl: 7bit ASCII characters
jld_types.jl: 7bit ASCII characters
plain.jl: 7bit ASCII characters

By contrast:
tim@diva:~/.julia/v0.3/Images/src$ enca -L none *
algorithms.jl: Universal transformation format 8 bits; UTF-8      # Unicode
colortypes.jl: Unrecognized encoding
enca: Cannot read file 'compatibility': Is a directory
connected.jl: 7bit ASCII characters
core.jl: 7bit ASCII characters
edge.jl: Universal transformation format 8 bits; UTF-8          # Unicode
enca: Cannot read file 'gen': Is a directory
Images.jl: 7bit ASCII characters
enca: Cannot read file 'ioformats': Is a directory
io.jl: 7bit ASCII characters
jlimage.c: 7bit ASCII characters
labeledarrays.jl: 7bit ASCII characters
map.jl: 7bit ASCII characters
overlays.jl: 7bit ASCII characters

I don't think so: I'm getting 0% coverage for IPNets.jl but
seth@schroeder:~/.julia/v0.4/IPNets/src$ enca -L none *
IPNets.jl: 7bit ASCII characters
ipnet.jl: 7bit ASCII characters
ipnet.jl.cov: 7bit ASCII characters

In #38 it seems to be apparent that this is some random failure on the part of Coveralls.io.


Add disabledControllers to hack template

looks good to me. Since Joel wrote this, I prefer he looks too.
/cc @joelddiaz


feat: add generic nvme support

What?
This is my local work, trying to solve same issue as #1233
This PR makes NVMe transparent to rexray, as it translates between the NVMe logical device and the virtual device that is the udev symlink with the device name that rexray request EC2 to mount the EBS volume as
Tested on

[x] c4
[x] c5
[x] c5d
[x] m4
[x] m5
[x] m5d
[x] r4
[x] r5
[x] r5d
[x] i3.2xlarge

Requirements
Require a udev rule to alias the NVMe device to the path that rexray expects as mount point.
A similar udev rule is build into the Amazon Linux AMI already, and trivial to add to other linux distributions (see below)
An alternative is to manage the symlinks from the rexray driver (its just a symlink), but seem like feature creep to me, considering the low effort required to make the udev setup work
Example udev rule
# /etc/udev/rules.d/999-aws-ebs-nvme.rules
# ebs nvme devices
KERNEL=="nvme[0-9]*n[0-9]*", ENV{DEVTYPE}=="disk", ATTRS{model}=="Amazon Elastic Block Store", PROGRAM="/usr/local/bin/ebs-nvme-mapping /dev/%k", SYMLINK+="%c"

Helper script for udev rules
#!/bin/bash
#/usr/local/bin/ebs-nvme-mapping
vol=$(/usr/sbin/nvme id-ctrl --raw-binary "$1" | cut -c3073-3104 | tr -s ' ' | sed 's/ $//g')
vol=${vol#/dev/}
if [[ -n "$vol" ]]; then
  echo ${vol/xvd/sd} ${vol/sd/xvd}
fi

Signed-off-by: Christian Winther<EMAIL_ADDRESS>

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

Codecov Report

Merging #1252 into master will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1252      +/-   ##
==========================================
- Coverage   34.58%   34.54%   -0.05%
==========================================
  Files          36       36
  Lines        2362     2362
==========================================
- Hits          817      816       -1
- Misses       1441     1442       +1
  Partials      104      104

Impacted Files
Coverage Δ

libstorage/api/types/types_localdevices.go
84.21% <0%> (-1.76%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d14c3e3...c01de50. Read the comment docs.

cc @justinvenus @crapworks @codenrhoden
I do like the approach more. What does everyone feel about this path?

@clintkitson Can we please get the ball rolling on this? been a issue for many months now, slightly frustrating that its moving so slow :)

Thanks for the patience @jippi. Glad to see the community work through updates on this. Can you take a stab at updating the documentation that describe how to make this work in this pr?

@justinvenus Thoughts on this implementation versus the one you submitted?

TL;DR looks good, please shipit/merge ---
@clintkitson I haven't tested this PR, but this PR looks very straightforward and easy to maintain.  I personally would not hard code the path to the nvme-cli, but I'd worry about that nitpick if it ever became a real issue.

Just waiting on some doc updates and we will ship this in a minor release.

Assuming this get's approved and merged in the coming few days, about how long of a wait time would there be for a rexray release containing it?

We can turn this around within days, but am still waiting on some doc updates that indicate how to configure the new functionality.

The OP have the two steps. It's literally just putting the two files on disk and reboot / restart udev :)

Hi @jippi,
Once upon a time I wrote a blog that outlined how to reproduce REX-Ray locally down to the binaries' MD5 hash. In other words, even without this merged it shouldn't be too difficult for y'all to use it in your environment.

Bump.

Would really love to see this merged.

Hi @jippi / @matthewmrichter / @jwitko,
I'm going to merge this, but I'm holding one or all of you accountable (aka asking you nicely with a cherry on top) to please go file a PR that takes the instructions in this PR description and incorporates them into the RR docs all nice and pretty like. Once that's done, we can cut a patch release so this is available GA. At least merged you'll be able to pull it officially as the latest unstable bits.

Hi @jippi,
If you can't attend to the review comments, I'll take over the PR (keeping your commit) and get this merged by the end of the week.

Hi @jippi,
I just pushed e26cf35 to address my review comments. Please feel free to use it to update your PR.

@akutz feel free to highjack it - I'm on vacation this week - thank you  :)

Hi @jippi / @matthewmrichter / @jwitko,
This has been merged. Please see 407253f50421326b3f9d6aa93858af9ce65ba51e for the addendums I made to the PR. They include:

Documentation
Configurable path to nvme
More robust file detection
Contextual logging

cc @clintkitson @codenrhoden

Any plans for cutting a release? :)

Given its taking full 9 months from initial PR to any release, and 3 months from merge and still no release, I would probably start considering REXray for deprecated and unmaintained. I'm running my own fork internally at @seatgeek now, which is this branch. Got tired of waiting around

Yes, we are switching to the Cloudstor driver which is quite simple to set up and supports EFS as well. I believe it is maintained by Docker corporation themselves. Unfortunately they are dragging their heels on NVME a bit as well but hopefully that gets fixed soon.


add mouse events and keyboard handling for modifier keys

this PR includes changes to crossterm_input that:

enables mouse mode on both windows and unix systems
provides a translation layer to the windows-api that passes csi sequences so event handling is unified
supports ctrl+, shift+, and alt+ keyboard events
supports mouse left-, right-, middle- click events and mouse vertical scroll events
supports mouse release event
supports mouse click + drag events

to observe and see sample code: cargo run --example async_input within crossterm_input module
TODO:

this was a functional PR; a cleanup of code is required; please give guidance as to which branch to merge this into (probably not master) or create a branch specifically for this

Going to merge this, the cleanup will be done in a next PR


How to set full screen player when rotate device ? Thx for support

How to set full screen player when rotate device ? Thx for support
And How to get current time item player

+1

just ensure you're resizing the view on rotation and the video playback is set to aspectratio fit, that's about it

Hello,
I have been tinkering with this in a few sample project(s) these last few days and suddenly yesterday, the video while in playback won't rotate and neither will the sample video demo from the project here. See the following for example: https://www.screencast.com/t/1kexAbQ1cFkn
I do not believe I have changed the orientations of the any of the ViewControllers from the VCs themselves and the project solution orientation and even tried it on another laptop that has never had XCode and the same result. Thoughts?


Set a default port in Server.listen() too

This just adds the same behavior that already exists in Server

Hello @jrobeson
Seems good, merging. Thanks!


Provide an ES5 compiled version

Hello,
Can you provide an ES5 compiled version of this library?
I have troubles using it with laravel-mix because it does not compile scripts from node_modules. I tried to override the laravel-mix config to compile your script to ES5 but I have another error:
app.js:2106 Uncaught TypeError: Cannot read property 'Renderer' of undefined
    at Object.<anonymous> (app.js:2106)
    at __webpack_require__ (app.js:20)
    at Object.module.exports (app.js:1204)
    at __webpack_require__ (app.js:20)
    at Object.defineProperty.value (app.js:1194)
    at __webpack_require__ (app.js:20)
    at app.js:63
    at app.js:66

It seems that the default export is undefined.
If you wish, I can provide you the test project.
Thanks

Hi @alexisferat,
Unfortunately this is not the intention to provide an ES5 version of Highway for the moment.
However  I see in laravel-mix documentation you can provide a custom Webpack configuration.
If it's right you can check the basic-polyfill example and the Webpack configuration.
This configuration uses babel-loader to compile JS from ES6 to ES5.
It includes all files from a src and the node_modules/@dogstudio/highway package.
I think you could investigate this trail and let me know if it works.
Best regards,
Anthodpnt

I consider this issue out of the scope of Highway and will close it for now...


[FR] Support for Included/Excluded Applications in Android WG Client

In the Android WG Client it is possible to customize the set of apps using the VPN. In my case the download of attachments in GMail doesn't work if the WG VPN is active (I don't understand why) and Google Maps sometimes says it is not connected. As a workaround I use the white/blacklist mechanism of the client.
If I need to reimport the configuration from GuardMyWire (for example if I add another node on my mesh network) I have to rebuild by-hands my white/blacklist of apps.
Exporting the configuration from the client I discovered that the lists are saved in the standard configuration. I'm wondering if you could add such fields in the peer configuration. This extra fields should not harm the other clients.
This is an example of backlist configuration:
[Interface]
Address = <IP_ADDRESS>/24
ExcludedApplications = com.google.android.gm, com.google.android.apps.maps
PrivateKey = ...

This is an example of whitelist configuration:
[Interface]
Address = <IP_ADDRESS>/24
IncludedApplications = org.rm3l.container_companion, com.android.chrome
PrivateKey = ...

Interesting. I didn't know that IncludedApplication and ExcludedApplication exist ;-)

I can't spot any official documentation: I discovered them by attempts. On the other side the Android client is official one so the feature should be stable. In the worst case it will be ignored by the other clients.


Using RecordAR while using iOS Screen Recording causes crash

This happens both on record() and .photo() call.
Error:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[AVAssetWriterInput initWithMediaType:outputSettings:sourceFormatHint:] 4 is not a valid channel count for Format ID 'aac '.  Use kAudioFormatProperty_AvailableEncodeNumberChannels (<AudioToolbox/AudioFormat.h>) to enumerate available channel counts for a given format.'

I doubt it matters but I'm using the Swift 5 branch.

I believe this is related to the issue I'm seeing as well: https://github.com/AFathi/ARVideoKit/issues/118
Also on Swift 5 branch. Any updates on this from anyone?


PR: Overhaul "aces-dev" Reference Config Generator

Hi,
Allright, so this is a big one!
I first overhauled the spreadsheet so that we can generate a pivot table that can then be exported as a CSV file.
This file basically maps the aces-dev CTL Transforms to the OpenColorIO BuiltinTransform"s". The discovery code, not the graph one, is used to check that the CSV file CTL Transforms exist and another check verifies that the BuiltinTransform"s" exist, from that point a few hops to generate the ConfigData, which is then passed to the almost OpenColorIO v2 feature complete opencolorio_config_aces.generate_config definition and we get close to our final "aces-dev" Reference config.
Various things in random order:

This is not final and I have not tested the config at all and I don't think it works!
We really need the ACEStransformID to be fixed.
Given that we do not have any IDTs mapped beside the Venice, I think we should make a PR to get CSC variants of them and call it a day, i.e. no IDTs.
We should PR descriptions to the CSC and maybe standardise a mini one-liner for each one.
I need to add support to clamp, errrr range, the ViewTransform"s", damn I don't like that RangeTranform name...
It is pretty much impossible to track which CTL Transform correspond to which ViewTransform from the config, so I will add them to the description.
Some inconsistency in the builtins names: REC709 vs REC.709
The graph code is optional now, I keep it around because it has been and is still extremely useful.
I need to pop the sRGB display to make it first.
The non Gitflow workflow is still a pain as you can see in the commits list.

Reference Config: https://gist.github.com/KelSolaar/1e2b054080e074e7f3529439470ee643/802a3cdf4edb203095f93e6c2e9f94379b9ce505

I implemented support for Scott fork with the patched ACEStransformID: https://github.com/scottdyer/aces-dev/commit/4b88ef35afc41e58ea52d9acde68af24e75b58c5 and improved the description management.

Hello guys,
just wanted to say we tried to load the config in our DCC software and we maybe noticed that the definition of the XYZ colorspace was missing ? Is the White Point for XYZ, D65 ?
I was only wondering about the roles. Do we want to keep them that way or would we rather have a couple more like color_picking, rendering or texture_paint ?
Thanks,
Chris

just wanted to say we tried to load the config in our DCC software and we maybe noticed that the definition of the XYZ colorspace was missing ? Is the White Point for XYZ, D65 ?
I was only wondering about the roles. Do we want to keep them that way or would we rather have a couple more like color_picking, rendering or texture_paint ?

@chrisbrejon , the CIE-XYZ-D65 space should probably not be visible (I suggested Thomas add it to the inactive list as it is not useful for artists).  Regarding the white point, CIE XYZ is not really a color space by itself and does not have a fixed white point.  We are adding some things such as D65 adaptive white on top of CIE-XYZ here to make it more of a color space.
Michael and I suggested adding some roles.  We may want to discuss color_picking in the group since I know you have raised pros and cons to different possibilities.

Hi,
Been busy two weeks and I haven't got time to do much beside poking at the ordering and trying a few things.
I also removed the generated configs from the thread here as it clutters and slows down the discussions, they are available as a Gist.
Reference Config: https://gist.github.com/KelSolaar/1e2b054080e074e7f3529439470ee643/cd823328d060727ceaefb556120ec4709e8734d5

Hello,
I have just implemented support for the Look transform!
Reference Config: https://gist.github.com/KelSolaar/1e2b054080e074e7f3529439470ee643/bb6cec792cc80ef4008ec05dc2a95feb45533dfb

And with that last stack, we are done! 🎊

Support for user-friendly CSC names, not great for the Reference Config but... let's talk about it AGAIN tomorrow :)
Support for encoding and categories.
Support for default view transform

Reference Config: https://gist.github.com/KelSolaar/1e2b054080e074e7f3529439470ee643/317c6cca7577c069f75a64f5083961cf2cdb2643

@michdolan : Should be good now!

@doug-walker we can merge this once you approve. Merge is currently blocked by your requested changes. Thanks!

@doug-walker : Done!
Reference Config: https://gist.github.com/KelSolaar/1e2b054080e074e7f3529439470ee643/bb51d19155be8867a072bf6fb3ca488a3eccc5df


feat(utils): partitionByKey && mergeActiveKeys WIP

Hopefully this will allow us to deprecate the following utils:

split
collect
collectValues

While also providing a simpler way to create subscriptions for parametric bind Observables.
@voliva could you please finish this?

Code coverage went down to 99.53%...

Combinekeys test has a typo: emmit vs emit

Fixed! Thanks!


Grammar

It's "JavaScript" not "javascript"

Fixed: https://github.com/ktukker/adobe.io-jwt-postman/commit/37f24d4549f944aeb582bb58a6b9b06c418e52b9#diff-84604d4ef3f48508f6b5bebf0f591320


Next release

Hi there :v:
I was just about to send a patch to fix an issue in Nextcloud that we discovered when deserializing a persisted model but I found out this was addressed already: https://github.com/php-ai/php-ml/commit/0d5944132984e3ca29df347cc128959b788b7894#diff-ffbc73d957bf6caa7b026f8b44e91088R35.
So, I'm curious to hear if there is another release planned soon? :)
Please let me know if there is anything I could help with :pray:
Cheers

We can do release even today, I will prepare a changelog and let you know

Oh wow, thanks a lot :pray:

https://github.com/php-ai/php-ml/releases/tag/0.9.0

Thank you so much!


On this page, we find this text:
...Brenton Belmar, a STSM of the zMilicode Team, Mike Fulton, a DE...
I suggest changing it to:
...Brenton Belmar, a Senior Technical Staff Member of the zMilicode Team, Mike Fulton, a Distinguished Engineer...

Done. Thanks for the feedback.


Missing @growthbook/growthbook package in growthbook/proxy:git-e724f6d

Environments

Docker image: growthbook/proxy:git-e724f6d

Description
The growthbook/proxy:git-e724f6d image fails to start within a Docker container due to a missing dependency: the @growthbook/growthbook package. This results in the error message shown in the attached image.
Reproduction Steps:

Run the following command:

docker run -d -p 3300:3300 \
  -e "GROWTHBOOK_API_HOST=https://growthbook-api.example.com" \
  -e "SECRET_API_KEY=key_abc123" \
  --name gbproxy growthbook/proxy:git-e724f6d

Observe the container logs for the error message related to the missing package.

Very sorry about this! Just patched the issue in v1.1.7. Please let me know if you're still running into issues.
Closing the issue for now; feel free to re-open.


What if I am not building for daydream? Just for standard PC can I use it?

I am not building for VR, can I use it for standard PC build to get good quality and performance?
Rahul

Technically, yes. There's nothing fundamentally tied to mobile hardware.


Clean up code in the exploreMapBanner

the explore map banner seems to include lots of leftover code from the previous iteration of its development (isHome page). This should be clean to make sure we have a nice and clean environemtn
AC:

[ ] Remove unused code

No needed as we reverted to the old design


Huggingface

Issue
How dare you make a list of endpoints and forget to include Hugginface? The mother of all AI model repos? You my dear friend need an exorcist immediately and a baptism to align you with the cause. Repent from your ways and seek the kingdom. Bow before the throne that is hugginface and don't be disrespectful. Go and sin no more!
Version and model info
ALL versions my friend. wake up now!

Thanks for trying aider and filing this issue. Aider supports HF via LiteLLM.
https://litellm.vercel.app/docs/providers/huggingface

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.


Merge from 0.13 and regen projects.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

this is ok to test


Center heading of a textbox

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
About a textbox belonging "General",
I want to put only the heading in the center. However, I want to keep the text left justified.
Describe the solution you'd like
create the option of position of heading

Hi,
select a heading only (as shown in the image1) and then click "Center" in Format panel on the right > Text tab (image2)
Does this help?

Regards


Add profile recording kubectl run test

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
This test validates that the latest kubectl run --restart=Never fix
still applies. A profile has to be recorded even if the container never
reaches a visible running state.
Which issue(s) this PR fixes:

None
Does this PR have test?

Yes
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

/lgtm


Removed @quarckster from CODEOWNERS

Description
Please remove my user from CODEOWNERS.

Codecov Report

Merging #183 (5e10a38) into master (c546c9a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #183   +/-   ##
=======================================
  Coverage   90.84%   90.84%
=======================================
  Files          21       21
  Lines         808      808
=======================================
  Hits          734      734
  Misses         62       62
  Partials       12       12

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c546c9a...5e10a38. Read the comment docs.


Unit Test For API

Ill be working on this

I have started working on it, maybe you can complete it


[BUG] NAM kills ASIO drivers when Initializing or Swapping Models

Description
NAM works okay if I load up a project that already has an instance on a track. If I try to move it, add a new one or pick a new model, the ASIO driver just completely freaks out and the entire DAW becomes laggy and won't play back. I have to switch ASIO drivers or restart the app to get anything working again. It specifically happens on a system where I don't have a USB Audio Interface so I'm using ASIO4ALL and also sometimes the Built-in Steinberg ASIO driver (They both work though each has quirks).
To reproduce
Steps to reproduce the behavior:

Just add NAM to a track or move it from one track to another.
The ASIO driver goes berserk, the DAW becomes laggy and playback is impossible
Restart the DAW or switch ASIO drivers to get things working again

Kind of, it's still incredibly buggy and playback clips and stutters randomly.

Screenshots
If applicable, add screenshots to help explain your problem.
Computer & other info
(please provide the following information):

Windows 10
nVidia RTX 3050m
NAM 0.7.10
VST3
Cubase 13 (October '23 Build)
No USB Interface (Using ASIO4ALL 15 and Steinberg Generic ASIO, happens with either)
44.1 kHz Sample Rate
Buffer size: 512 samples
Happens with 1 Plexi 67 Low G8 - Emil Rohbe.nam (But also even if no model is selected)
Happens with Emil Rohbe YouTube IR.wav (But also with no IR loaded at all)

Additional context
The  takeaway here is that NAM does function if you save a project with NAM inserts already on tracks and load it up. The acts of adding a fresh plugin or moving the plugin from one track to another or selecting a new model causes the ASIO driver to just utterly break down. I can't tell if it's a memory leak or what (RAM usage does spike) but the entire DAW becomes unusable until the ASIO driver is restarted or the whole DAW is restarted.

Can you try the latest version just released today? Version 0.7.11 should fix this.

I just tried 0.7.11 and I do believe it fixes this specific issue of the ASIO driver crashing when trying to initialize or swap the VST. That said, I'm still getting really choppy playback and glitches even with a 512 sample buffer so NAM isn't really usable for me as a VST insert.
It's hard to say if this is still a bug or if NAM is just really CPU/RAM intensive. I'm only rocking a Ryzen 5H and 16 GB of RAM on this laptop so maybe a better system could handle it.

@StevenLeonCooper

It's hard to say if this is still a bug or if NAM is just really CPU/RAM intensive.

Does the problem happen if you use one of the models here?

Closing bc inactivity; assuming the models linked above work, it's probably that the user is using models that are too big for their CPU.


Stuck at Ready to install

Hi!
I am trying to install qt 5.12.6 in an Ubuntu 16.04 docker image.
I configured QT_CI_LOGIN and QT_CI_PASSWORD (and VERBOSE).
The result is that the installation stops at:
[942] QTCI:  Ready to install
I looked at the travis.yml script but I do not see what I did wrong.
source qtci/path.env
bash install-qt 5.12.6
Downloading Qt
--2020-09-03 07:00:41--  https://download.qt.io/archive/qt/5.12/5.12.6/qt-opensource-linux-x64-5.12.6.run
Resolving download.qt.io (download.qt.io)... <IP_ADDRESS>
Connecting to download.qt.io (download.qt.io)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://qt-mirror.dannhauer.de/archive/qt/5.12/5.12.6/qt-opensource-linux-x64-5.12.6.run [following]
--2020-09-03 07:00:41--  http://qt-mirror.dannhauer.de/archive/qt/5.12/5.12.6/qt-opensource-linux-x64-5.12.6.run
Resolving qt-mirror.dannhauer.de (qt-mirror.dannhauer.de)... <IP_ADDRESS>, 2a01:4f8:171:168e::2
Connecting to qt-mirror.dannhauer.de (qt-mirror.dannhauer.de)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 304 Not Modified
File 'qt-opensource-linux-x64-5.12.6.run' not modified on server. Omitting download.
Installing Qt
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-jenkins'
[30] QTCI:  Welcome Page
[889] QTCI:  Introduction Page
[889] QTCI:  Retrieving meta information from remote repository
[922] QTCI:  Set target installation page: /home/jenkins/Mercurial/SW_APP/Qt
[926] QTCI:  ComponentSelectionPageCallback
[926] QTCI:  Select components
[928] QTCI:  Use default component list
[935] QTCI:  Accept license agreement
[941] QTCI:  Ready to install

Please ignore :-)
I had permission issues and therefore .local/share/Qt/qtaccount.ini was not created.
Thank you!


Strip the requirement string and proxy for Volunteer jobs

It's ugly, I don't like it and I'm not sure it works, but we have what we have...
This was Laurence's recommendation:
In the condor map file you map all DNs from the volunteers to an
identity e.g.

GSI "/O=Volunteer Computing/O=CERN/CN=.*"<EMAIL_ADDRESS>
This is essentially what we are doing now but we need to check that this
identity is only used for the volunteers.

My cluster can use an IGTF host certificate and we can use a different
mapping

***

You then need to ensure that all jobs have the followed requirement set.

Requirements = (AuthenticatedIdentity != volunteer-node@cern.ch).

For the jobs that you want to go to the volunteer machines, you remove
the requirement and strip the proxy.

To make this work we need to do four things.

1) My resources need to have that host certificate.
2) The opportunistic mapping needs to be added to the condor mapfile
3) The Requirement needs to be added to the jobs
4) The proxy striping needs to be extended to include removing the
requirement.

To do this "for real", we need to get the HTCondor folks to convert the x509userproxy attribute into something that can accept an expression.
Honestly, that might work already.  Can you try it?  Might be along the lines of this:
x509userproxy = ifThenElse("$$(GLIDEIN_CMSSite)" =?= "T3_US_Volunteer", UNDEFINED, "/path/to/file")

That's smart! I'll try that expression out first.

Question, where is that expression evaluated ? I just want to make sure it's not inside the pilot, since that wouldn't really help (we want to avoid the pilot having access to the prod certs at all, not just not using them at runtime).

$$(GLIDEIN_CMSSite) is syntax for a "match expression" - it gets filled in on the schedd side based on the information sent by the negotiator as part of the match.
That means this should be present for all activities (job startup, running, shutdown) that involve a worker node.
The pilot is limited by the job's contents -- it cannot ask for files not specified in the job's description.

The expression Requirements = (AuthenticatedIdentity !=<EMAIL_ADDRESS>is not likely to work on the CERN pools. Don't know if this is a bug on condor, but I have seen that the AuthenticatedIdentity gets lost when the machine classAd goes from the secondary to the primary collector.
At the primary collector all machines show the same AuthenticatedIdentity, this corresponds to the AuthenticatedIdentity of the machine hosting the collector.
This can easily observed if querying the ITB pool:
Querying the primary collector:
condor_status -pool vocms0809 -af AuthenticatedIdentity | sort | uniq -c
54 condor@cms
Querying the secondary collector on port 9629
condor_status -pool vocms0809:9629 -af AuthenticatedIdentity
pilot04@cms
pilot04@cms

Thanks, Diego. It seems to be yet another temporary solution then... we might have to hardcode stuff in the plugin and simply trust that nobody is going to condor_qedit jobs (including jobrouter)...
@bbockelm I know you're busy these days, but when you get a spare cycle, please advice. I don't want to get my proxy in a volunteer node (neither Ivan's proxy, since he has the cms:production role).
For the record, these are the job classads after the latest changes (noticed some of those x509 ads don't seem to get the Expression they were supposed to have(???)):
[cmsdataops@cmsgwms-submit1 current]$ condor_q -l 293.14 | egrep -i 'DESIRED_Sites|Requirements|X509'
DESIRED_Sites = "T1_US_FNAL,T2_CH_CERN"
Requirements = ((REQUIRED_OS =?= "any") || (GLIDEIN_REQUIRED_OS =?= "any") || stringListMember(GLIDEIN_REQUIRED_OS,REQUIRED_OS)) && (AuthenticatedIdentity !=<EMAIL_ADDRESS>&& TARGET.OPSYS == "LINUX" && TARGET.ARCH == "X86_64" && TARGET.HasFileTransfer && TARGET.Disk >= RequestDisk && TARGET.Memory >= RequestMemory
x509userproxy = ifThenElse("$$(GLIDEIN_CMSSite)" =?= "T3_CH_Volunteer",undefined,"/data/certs/myproxy.pem")
x509UserProxyEmail =<EMAIL_ADDRESS>x509UserProxyExpiration =<PHONE_NUMBER>
x509UserProxyFirstFQAN = "/cms/Role=production/Capability=NULL"
x509UserProxyFQAN = "/DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=amaltaro/CN=718748/CN=Alan Malta Rodrigues,/cms/Role=production/Capability=NULL,/cms/Role=NULL/Capability=NULL,/cms/uscms/Role=NULL/Capability=NULL"
x509userproxysubject = "/DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=amaltaro/CN=718748/CN=Alan Malta Rodrigues"
x509UserProxyVOName = "cms"

[cmsdataops@cmsgwms-submit1 current]$ condor_q -l 293.33 | egrep -i 'DESIRED_Sites|Requirements|X509'
DESIRED_Sites = "T3_CH_Volunteer"
Requirements = true && TARGET.OPSYS == "LINUX" && TARGET.ARCH == "X86_64" && TARGET.HasFileTransfer && TARGET.Disk >= RequestDisk && TARGET.Memory >= RequestMemory
x509userproxy = ifThenElse("$$(GLIDEIN_CMSSite)" =?= "T3_CH_Volunteer",undefined,"/data/certs/myproxy.pem")
x509UserProxyEmail =<EMAIL_ADDRESS>x509UserProxyExpiration =<PHONE_NUMBER>
x509UserProxyFirstFQAN = "/cms/Role=production/Capability=NULL"
x509UserProxyFQAN = "/DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=amaltaro/CN=718748/CN=Alan Malta Rodrigues,/cms/Role=production/Capability=NULL,/cms/Role=NULL/Capability=NULL,/cms/uscms/Role=NULL/Capability=NULL"
x509userproxysubject = "/DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=amaltaro/CN=718748/CN=Alan Malta Rodrigues"
x509UserProxyVOName = "cms"

Looking at the very first job running on a volunteer node:
x509userproxy = ifThenElse("$$(GLIDEIN_CMSSite)" =?= "T3_CH_Volunteer",undefined,"/tmp/x509up_u31961")
MATCH_EXP_x509userproxy = ifThenElse("T3_CH_Volunteer" =?= "T3_CH_Volunteer",undefined,"/tmp/x509up_u31961")
Requirements = true && TARGET.OPSYS == "LINUX" && TARGET.ARCH == "X86_64" && TARGET.HasFileTransfer && TARGET.Disk >= RequestDisk && TARGET.Memory >= RequestMemory

I would say it's working, apparently.

This seems to be working fine in the CMS@Home agent. Even though, I'm gonna run a few jobs at CERN and FNAL (global pool) before merging it into master.

Tests in the global pool look Ok and the cms@home agent has been running with this patch for a week or two now. However, I recall we wanted to get rid of the requirements string because it was getting evaluated at 2 different level.
@ddavila0 @bbockelm @aperezca perhaps we should set the different requirements string at schedd level on the CMS@Home node?

Hi @amaltaro -
Did you confirm that the proxy was actually not transferred in the CMS@Home case?  We need to double check that before moving forward.
I don't understand the comment about the requirements string.  What's different on the CMS@Home node?
Brian

Did you confirm that the proxy was actually not transferred in the CMS@Home case? We need to double check that before moving forward.

I did not connect to the worker node myself (because I have no privileges), but the file path was wrong in the classad and it didn't cause the job to fail. Also Laurence and Ivan confirmed that there was no proxy or my DN in the volunteers node.

I don't understand the comment about the requirements string. What's different on the CMS@Home node?

Some time ago we discussed on removing that reqStr since it's already set at another level of the glideinwms system. We didn't remove it because HLT needed, for some reason that I don't remember.
Since it has that specific bit (AuthenticatedIdentity...) for volunteers node (the one which guarantees the proxy is not shipped together), I wonder whether it's fine to have such expression for all jobs when < 1% of them would really need that expression?

Also Laurence and Ivan confirmed that there was no proxy or my DN in the volunteers node.

Ok, that's good enough for me.

Some time ago we discussed on removing that reqStr since it's already set at another level of the glideinwms system.

Ok, now I recall what you are talking about.  It's a worthwhile cleanup but let's do this in a separate ticket.

Ok, thanks Brian. I'm squashing it and pushing it in into the new agent release.

test this please

test this please

@ddavila0 @aperezca @jamesletts as mentioned before, this one is going to go to production in the next week.


Designators & prefs.ini

When del Prefs.xml from config folder and then start Rimworld, designators in order menu does not appear. So, Rimworld auto-create this file, restarting the game solves problem.. But not very convenient for new players.
upd. Prefs.xml not .ini

I can not reproduce this error.  Please provide more details.

Changing languages without a restart is the problem.  CCL builds a lot of data when RimWorld starts which is language dependant.  For now, must restart RimWorld on language setting change.  Well see what can be done about this in the future.

This may be fixed by #41, needs testing

in CCL 12.4, problem is still there. Changing languages without a restart - make designators the invisible.

I guess technically we should re-initialize all assets on mod reload. That's going to be a fairly huge operation though.

There are more issues at play than simply CCL needing to re-initialize it's assets.  The core game has bugs itself with changing certain options and mod order.
Solution:  Restart RimWorld.


Multithreaded data reading

If I have five tables and each table has 140,000 data, and now five threads are going to read the data in full, why does the time consumption increase

Hi @MaoqingWang, in v5, each thread will use a exclusive FileStream instance. In v4, all threads use same FileStream instance. You will see a great performance improve in this way.

@MaoqingWang does this answer? If so, could you close the issue?


Get TS2320 and TS2415 in webpack with awesome-typescript-loader.

Problem description
Get TS2320 and TS2415 in webpack with awesome-typescript-loader.
Link to minimal working code that reproduces the issue
My code is same to this  #issue:https://github.com/myxvisual/react-uwp/issues/36
Versions

React-UWP: 1.1.8
React:16.2
Browser: Electron

ERROR in [at-loader] ./node_modules/react-uwp/CheckBox/index.d.ts:13:18
    TS2320: Interface 'CheckBoxProps' cannot simultaneously extend types 'DataProps' and 'HTMLAttributes<HTMLDivElement>'.
  Named property 'defaultChecked' of types 'DataProps' and 'HTMLAttributes<HTMLDivElement>' are not identical.

ERROR in [at-loader] ./node_modules/react-uwp/ScrollBar/index.d.ts:19:22
    TS2415: Class 'ScrollBar' incorrectly extends base class 'Component<ScrollBarProps, ScrollBarState>'.
  Types of property 'refs' are incompatible.
    Type '{ view?: HTMLDivElement | undefined; thumb?: HTMLDivElement | undefined; }' is not assignable to type '{ [key: string]: ReactInstance; }'.
      Property 'view' is incompatible with index signature.
        Type 'HTMLDivElement | undefined' is not assignable to type 'ReactInstance'.
          Type 'undefined' is not assignable to type 'ReactInstance'.

received the same error when trying this module on dotnet reactredum template.
errorText.txt
dotnet new reactredux
SET ASPNETCORE_Environment=Development
cd ClientApp
npm install --save react-uwp
npm install --save<EMAIL_ADDRESS><EMAIL_ADDRESS>npm install npm@latest -g
added the following line to tsconfig
"files": [
"node_modules/react-uwp/index.d.ts" // add to here.
],
dotnet build
dotnet run
--error


Frank!Doc webapp - the selectable pages should be named after allowed XML tags, not Java classes

As an example, the Frank!Doc webapp presently has a page Json2XmlValidator. When you open that page, you see in red the Json2XmlInputValidator, Json2XmlOutputValidator and Json2XmlValidatorPipe. I overlooked these red items and searched in the left part of the screen for the Json2XmlValidatorPipe. I got confused because I did not find it.
The left part of the webapp should have the three entries Json2XmlInputValidator, Json2XmlOutputValidator and Json2XmlValidatorPipe instead of the confusing Json2XmlValidator.

The problem is that you will get many duplicates 😞
We can also visually improve the elements, making them larger for example.

A long time ago it was discussed in the core meeting that Jeroen and I prefer to have the elements in the left menu exactly one on one as a Frank!Developer is using it in his/her Frank!Config. For a Frank!Developer it is not intuitive to know which class name is related to which element. Intuitively you would expect the element names like you can use the in the config in the left menu.


mysql_tablename is wrong

Hi!
Sadly, mysql_tablename is not good.
The problem is that your query is:  SHOW TABLES FROM %s
The column name is Tables_in_[databasename], while you want to get 'Table'

I've just created a fix here: https://github.com/vaso123/php7-mysql-shim

Willing to provide a PR? At best with a unit test

Sorry, not time for it.


Cluster by category

I am trying to cluster 2 different type of data sets, each with their own cluster. I currently use 2 different clusterManagers to acheive this. But the problem comes when I try to implement the onClusterClick for both. I can only get one to work.
Is there anyway to allow 2 clusterManagers to be added the the markerclick listener?
Or is there another way of doing clustering for different categories?
Thank you.

yes, delegate the click listener through to both cluster managers.
map.setOnClickListener(new GoogleMap.OnMarkerClickListener() {
  boolean onMarkerClick(Marker m) {
    clusterManager1.onMarkerClick(m)
    clusterManager2.onMarkerClick(m)
  }
});


Use dotnet pack for the AutoFixture.NUnit2 project

The AutoFixture.NUnit2 package consists of two standalone projects embedded into a single package. Currently dotnet pack doesn't allow to handle that gracefully.
Investigate a way to solve that.
@AutoFixture/core Do you know the reason why we have two standalone projects for the NUnit2 integration? It doesn't seem that the AutoFixture.NUnit2.Addins is used somewhere else, so we could collapse that to a single AutoFixture.NUnit2 project in v4.. @gertjvr you are the author, so probably you could share details of such a design decision 😕

Closing this one as it's already covered by #780 after I combined two projects in #785.


Fix persistence and add support of custom themes of theme changer

Hi there! 😁
Here is a PR modifying the ThemeChangerAIO component inspired by the update of the ThemeSwitchAIO.
Change log:

Fix persistence (Fix #43)
Add custom theme support (Fix #28)
Add support for custom server side and client side assets folder (Dash params assets_folder and assets_url_path)

New commit changelog:

Python 3.8.0 compatibility, modifying typing and dict concat for ThemeChangerAIO and ThemeSwitchAIO (fix #41)
dbc 1.3.1 compatibility, rolling back to use #theme-switch-label/#theme-switch-label-dark
remove clientsideCallbacks.js, the JavaScript functions are directly used in Python code in the clientside_callback
for ThemeChangerAIO and ThemeSwitchAIO (fix #42)

@sdidier-dev this does seem to properly apply persistent themes, but on the first theme load there's a split second flashbang (everything's white) while a theme is loading. So if you load the page, and then switch from theme_a to theme_b, everything will flash white for a second, then if you switch back, it'll be normal (I'm assuming this has to do with caching the themes CSS by the browser). This was not an issue in version 1.1.2

Hi @mayushii21! can you try with this last commit if that's better?

@sdidier-dev while your solution did help, it still flashed on initial load, and relying on delays isn't best practice. I don't quite understand the logic flow of everything you were doing there, so I forked your fork and fiddled around. I created a pull request to your fork with a solution that seems to work well for me, relying on onload of the new stylesheet instead of delaying to set the href attribute. Please take a look. Not having to wait an entire half second also makes it feel a lot snappier - better user experience

Thanks @mayushii21 for the improvement!


[network-agent] reduce size of struct http_transaction_t

Signed-off-by: Paul Semel<EMAIL_ADDRESS>
What does this PR do?
This reorders the layout of the http_transaction_t structure.

Motivation
Easy and safe change, and reduce eBPF program size a bit more.

Binary section
Section size in bytes (now)
Section size in bytes (before)
Difference

socket/http_filter
16032
16560
- 528

uretprobe/SSL_read
15320
15848
- 528

uprobe/SSL_write
15192
15720
- 528

uprobe/SSL_shutdown
10808
11304
- 496

uretprobe/gnutls_record_recv
15248
15776
- 528

uprobe/gnutls_record_send
15200
15728
- 528

uprobe/gnutls_bye
10856
11352
- 496

uprobe/gnutls_deinit
10856
11352
- 496

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the config template has been updated.

Any affect on the golang side?

Any affect on the golang side?

Not sure what you're meaning by affect, but yes, the golang type associated with the struct will change because the filed offets will differ. However, we're not exporting this struct outside of system-probe, so this doesn't matter that much. There shouldn't be any code size/perf/whatever else on the golang side anyways, only the memory access offsets will change in the resulting assembly.


Fix examples in README

you can't just sleep for 60 secs, check costs time

The example in the README is just that: an example. It's not supposed to be a perfectly engineered application, just a demo of how the library works. There are plenty of other shortcomings:

The crontab can only be run as the current user.
It doesn't support specifying environment variables.
The exit status of the script is unknown.
It's possible to make a command that will cause a syntax error e.g, echo example # would cause the right parenthesis and the "&" to be commented out.
Etc.

But since the script is just an example, I don't think addressing those issues is important. That being said, if I were to implement this, I wouldn't use the approach you did here. I believe most cron programs run at the top of the minute, so there's no need to time the command execution. I would use sleep(60 - (time.time() % 60)).


ELK integration

Plugin that connects to the ELK stack.

This can already be done using the TCP/UDP Log plugin.

@sinzone  exactly this is what we're using.
UDP log ---> logStash --> Elastic search, then view it in Kibana .

@sonicaghi do you know tcp how to config elk ,can u get me a blogs

@samek get me a solution~~

@moyuanhui you can use the TCP Logging plugin to send data to Logstash, and from Logstash store it into Elasticsearch and visualize it into Kibana.

in my case, the logstash ssl_verify_mode set to force_peer, the client requires the cert to, how to make the TCP support ssl cert

Can't we push logs from Kong directly to ElasticSearch? It has a TCP server listening on 9300.


Add ray-casting based query for point lying inside/outside mesh

Would be good for the API to support multiple mesh objects in one scene, i.e. return inside/outside result for each mesh object in a scene.

Agreed! That's already possible with the combination of EmbreeScene and TriangleMesh, but in that case the scene object does not retain the raw mesh data. For EmbreeSceneExtended, it should be fairly easy to maintain a list or dictionary of meshes stored in the instance and then in intersections() use ray_hit.hit.geomID to pick the correct one.


[AutoPR sql/resource-manager] Failover Database Readable Secondary

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/7405

(message created by the CI based on PR content)


Replace PageViewController with SwiftUI native equivalent

Problem
PageViewController wraps UIPageViewController for SwiftUI. However, there is now a SwiftUI native solution for creating paged views using TabViewStyle.
Solution
PageViewController should be updated to use the SwiftUI native solution.
Additional context
No response
Code of Conduct

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

This issue has been resolved by PR #162.


Closes #5812 append hover:underline to the final result in components…

Fixes Issue
Adds a visual effect on hover
Closes #5812
Changes proposed

Add an underline on the Event name when mouse hover

Check List (Check all the applicable boxes)

[X] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[X] All new and existing tests passed.
[X] This PR does not contain plagiarized content.
[X] The title of my pull request is a short description of the requested changes.

Screenshots
Before changes

After changes

Note to reviewers
It's just a simple change that adds an underline to the event name when mouse is hovered over it

Thank you for fixing 👍  Could you double check it works across the while app and there are no surprises? Thank you

Thank you for fixing +1 Could you double check it works across the while app and there are no surprises? Thank you

It works across the app but I think my previous solution of adding the hover:underline class only to the components/events/EventCard looked better in my opinion.
The current changes causes other components with Link tag have an underline as well such as the top nav bar buttons and the /docs page

I will have a look also, but I think being consistent across the app is probably better practice

I think to make this consistent with other changes to the same page, we should approach this in the same way that we are fixing #5870 which is to make the entire card clickable.
@eddiejaoude and @RutamBhagat please let me know if you agree with that or would prefer to merge this in its' current state (added underline to clickable title on hover)

Sorry for my slow reply. Thanks Amanda for checking, I don't think it looks right across the app 🤔

@RutamBhagat thank you for your contribution, but I am going to close this pull request and related issue, as I think the solution from another issue will be better for the app https://github.com/EddieHubCommunity/LinkFree/issues/5870


BlankNodes getting converted literals

For the following  data.n3
{ _:n3-30 ?p ?o} => {} .

the following is output
$ npx eyereasoner@latest --nope --quiet --pass-all ./data.n3
{"some1-301" ?U_0 ?U_2} => true.

The problem seems to specifically be when there is a dash (-) in the blank node similar problems occur if there is a . in the blank node name.

In lieu of a good production grammar for N3, I would expect BlankNodes to be parsed in the same way as in turtle, which is given by the following https://www.w3.org/TR/turtle/#grammar-production-BlankNode.

I would also expect an error to be thrown if it was a literal because as far as I am aware literals are not valid subjects in N3?

Is for sure a bug and a side effect of the internal bookkeeping of the whole zoo of variables.

I would also expect an error to be thrown if it was a literal because as far as I am aware literals are not valid subjects in N3?

Literals are valid subjects in N3
https://w3c.github.io/N3/spec/#grammar-production-subject
https://w3c.github.io/N3/spec/#grammar-production-expression
https://w3c.github.io/N3/spec/#grammar-production-path
https://w3c.github.io/N3/spec/#grammar-production-pathItem

It is now fixed in EYE v3.4.3 and giving
{?U_1-301 ?U_0 ?U_2} => true.

Remark that an existential within the scope of the premis can become a universal withi in scope of the rule.


Reshape anomalies

https://github.com/lalonderodney/SegCaps/blob/c6b3f9e3e86b6e80652a76408fd6840c1ebe999b/capsule_layers.py#L126-L142
Hey, I feel there is some problem in the way you reshape tensors in the ConvCapsuleLayer class in capsule_layers.py file.
Shape of input_tensor  --> [None, input_height, input_width, input_num_capsule, input_num_atoms]
Shape of input_transposed --> [input_num_capsule ,None, input_height, input_width, input_num_atoms] Shape of input_tensor_reshaped --> [input_num_capsule *None, input_height, input_width, input_num_atoms].
So, input_tensor_reshape[0,...] will contain the 1st capsule of the 1st element in a batch, input_tensor_reshape[1,...] contains the 1st capsule of the 2nd element in a batch and so on.
Once the convolution operation is finished the conv tensor is reshaped to votes with shape  [None, input_num_capsule, votes_shape[1], votes_shape[2], num_capsule, num_atoms].
I find a issue here,  when you are reshaping it, shouldn't you make sure it's reshaped to   [input_num_capsule,None, votes_shape[1], votes_shape[2], num_capsule, num_atoms] instead?

They are mathematically equivalent since you stick them into the same dimension. Try adding another transpose at the end or instead change the initial reshape to be [batch, input_num_capsules, ...] and you'll see all approaches give the same results. If you wish for consistency to favor the last approach you can. I have actually changed this in my new version (not pushed to here) and the results are identical.


[INTERNAL] generateLibraryPreload: set requiresTopLevelScope correctly

Ensures that requiresTopLevelScope from .library is preferred and used
when creating the library preload.
Builder.js: Use correct variable for ModuleInfo (exposedGlobals) to
generate the correct globals assignment in library-preload.js

Coverage increased (+0.1%) to 92.393% when pulling 412bf5d564d0ecdeeac4abc9a3bb46895b36be59 on requiresTopLevelScope-globals-fix into 4cf50b2c9e9353f12114ae18040a409e1f21d44b on master.

LGTM but I'd like @codeworrior to also have a look into this.

Sigh, double work. I was working on the same today morning (I had promised to do so, if you remember).
I'll push another commit to this PR here. Luckily, overlap on test/* is, ehm, small :-)


feat: set download mirror location default to us

Changes
Added a new parameter mirror to the setup command. By default this changes the download mirror to the US hosted mirror, but can be reconfigured to use the CN mirror in the event a user is on CircleCI Server or using CircleCI Runner.
Resolves

#23
#15

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/circleci/serverless-framework?version=dev:0ab9a9a375f038d376eafdc3f4924379da7badfc

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/circleci/serverless-framework?version=dev:e9fe96f75f8b0c6b8edaddd0be20a91bcae7778c

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/circleci/serverless-framework?version=dev:e9fe96f75f8b0c6b8edaddd0be20a91bcae7778c

Your orb has been published to the CircleCI Orb Registry.
You can view your published orb on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/circleci/serverless-framework?version=2.0.0


Individual contributions of members of my project

Is there a way to count and/or to see how much each of my team members has done [lately/ever]?
I know that I can go to the "list" feature of many items of the "Data" tab.
But could I see more general stats?

Duplicate of https://github.com/SpeciesFileGroup/taxonworks/issues/50


Problem in IOS large screens

Hi, there
your component is very useful but in iphone plus each version and IOS tablets the table have problem, i think because ios scale the app it self. there is any way to fix it !!!?
thanks

Are there any images that can be used for example?Thanks.

i find the problem ios can't support borders with decimal numbers !!

You need to set the border option like this .

Use StyleSheet.hairlineWidth. It will give you a sharp line on all the devices.

If the number is float. you can set the width like this
// iphone n

// iphone n Plus

facebook/react-native#14106


V1.4b bugfix#498 peiduo

Codecov Report

Merging #525 (c444d09) into master (a5f1eee) will increase coverage by 0.89%.
The diff coverage is 51.18%.

@@             Coverage Diff              @@
##             master     #525      +/-   ##
============================================
+ Coverage     59.88%   60.77%   +0.89%
- Complexity      541      619      +78
============================================
  Files           100      104       +4
  Lines          2064     2236     +172
  Branches        222      257      +35
============================================
+ Hits           1236     1359     +123
- Misses          736      761      +25
- Partials         92      116      +24

Impacted Files
Coverage Δ

...n/java/seedu/programmer/commons/core/Messages.java
0.00% <ø> (ø)

...main/java/seedu/programmer/logic/LogicManager.java
39.47% <0.00%> (-7.41%)
:arrow_down:

...grammer/logic/commands/DashboardCommandResult.java
100.00% <ø> (+100.00%)
:arrow_up:

...ogrammer/logic/commands/DownloadCommandResult.java
100.00% <ø> (ø)

...u/programmer/logic/commands/ShowCommandResult.java
36.36% <ø> (+3.03%)
:arrow_up:

...programmer/logic/commands/UploadCommandResult.java
100.00% <ø> (+100.00%)
:arrow_up:

...edu/programmer/logic/parser/EditCommandParser.java
61.11% <0.00%> (-3.60%)
:arrow_down:

src/main/java/seedu/programmer/model/Model.java
100.00% <ø> (ø)

...n/java/seedu/programmer/model/student/ClassId.java
85.71% <ø> (+28.57%)
:arrow_up:

...ain/java/seedu/programmer/model/student/Email.java
80.00% <ø> (ø)

... and 57 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4e7f320...c444d09. Read the comment docs.


Remove XMLSerializer

Ref: https://github.com/jenkinsci/json-lib/pull/35#issuecomment-2078600542
At the same time, the optional dependency xom has been removed.
Testing done
run mvn clean verify

We might be able to do this if there are no transitive usages (--includePluginLibs) and no usages in proprietary CloudBees plugins. See https://www.jenkins.io/doc/developer/plugin-development/usage-in-plugins/.

pass usage-in-plugins to search api usages in plugin (about cloudbees ci plugin)
in addclass.txt file
net.sf.json.*
net.sf.ezmorph.*

run
mvn clean compile exec:java -Dexec.args="--includeCore -i -p -C addclass.txt --updateCenter https://jenkins-updates.cloudbees.com/update-center/envelope-core-oc/update-center.json?version=2.440.3.8,https://jenkins-updates.cloudbees.com/update-center/envelope-core-mm/update-center.json?version=2.440.3.8"

result has this plugin
alauda-pipeline
BlazeMeterJenkinsPlugin
cloudshell-sandbox
ec2-deployment-dashboard
environment-manager
label-linked-jobs
lotus-connections-plugin
micro-focus-performance-center-integration
requests
scripted-cloud-plugin
sms
test-results-aggregator

But when I read the source code of these plugins, haven't found any actual use of net.sf.json.xml package.


UNK position

I'm trying to use NFLDB for my fantasy league's scoring. In comparing fantasy points as calculated by ESPN to the Python script I wrote to use NFLDB, I get 0 points for Randy Bullock in week 1 instead of 7. I found that the issue is that his current position is UNK.
When does the position update to UNK happen? I understand that UNK is a valid value for 'team' when a player is cut from a roster, but wouldn't it make more sense to leave the position as whatever it was when the player was last on a team?
It seems to me that a player, especially an offensive player, still has a well-defined position even in free agency.
nfldb=> select player_id, team, position from player where full_name = 'Randy Bullock';
 player_id  | team | position
------------+------+----------
 00-0029421 | UNK  | UNK
(1 row)

nfldb=>

Bullock was cut by the Texans on 9/29, but he played in weeks 1-3, kicking 5 FG and 3 PATs. Querying by name and position returns an empty set:
>>> import nfldb
>>> db = nfldb.connect()
>>> q = nfldb.Query(db)
>>> q.game(season_year = 2015, season_type = 'Regular', week = 1)
<nfldb.query.Query object at 0xb66876cc>
>>> q.player(full_name = 'Randy Bullock', position = 'K')
<nfldb.query.Query object at 0xb66876cc>
>>> print 'FGM FGA PAT'
FGA FGM PAT
>>> for stat in q.as_aggregate():
...   print st
...
>>>

What's the preferred method of querying for player stats in a given game? The method shown above doesn't work for players who are no longer on a team.

The position data comes from here: https://raw.githubusercontent.com/BurntSushi/nflgame/master/nflgame/players.json
My guess is that the player data got corrupted at some point. Player data is flaky and inconsistent, and frankly, probably shouldn't be relied upon. Notably, player meta data such as position is scraped from NFL.com. Instead, you should identify players by their underlying identifiers (player name + position is not guaranteed to be unique).
You might be able to fix this particular issue by deleting the Randy Bullock entry from nflgame's players.json file, then run nflgame-update-players --week 1, and finally run nfldb-update again. The player data should stick at that point.
There is really nothing in the system that says how a player's position is determined. For the most part, it's determined in the script that scrapes player data: https://github.com/BurntSushi/nflgame/blob/master/nflgame/update_players.py
There are various heuristics in the scraping code that prevent it from hitting NFL.com too many times because that would be bad. This intrinsically implies that there are occasions when it is too conservative.

I removed him from players.json and ran nflgame-update-players --week 1. I see now that the file was updated:
andrew@asimov:/usr/local/lib/python2.7/dist-packages$ grep -C 10 "Randy Bullock" ./nflgame/players.json | grep position
        "position": "K",
andrew@asimov:/usr/local/lib/python2.7/dist-packages$

but nfldb-update didn't update his player record
nfldb=> select player_id, team, position from player where full_name = 'Randy Bullock';
 player_id  | team | position
------------+------+----------
 00-0029421 | UNK  | UNK
(1 row)

nfldb=>

do I need to delete the record first?

@lark047 Try nfldb-update --player-interval 0 to force a player update.

I tried it. The command completed successfully but Bullock was still listed as UNK in the database. I updated the record myself and will close this issue.


fix(util/get-enterable-windows): exclude floating windows

This change aims to fix invalid buffer/window ID exception problem when trying to use leap with auto-closing floating windows (such as LSP/DAP hover tooltips) present. It uses 'relative' field value to check if window is floating.
This is an alternative solution to #124.

Thanks for catching this!


Fix forward word deletion destructing element nodes

Forward word deletion (Ctrl + Del on Windows) would destroy composite element nodes (tables, columns layout).
The logic to handle this was already implement inside Delete Character, so extracted it to helper and reused it inside Delete Word as well.
Before:
https://github.com/facebook/lexical/assets/7893468/2419b44b-2b76-4256-b185-581c739dc8e3
https://github.com/facebook/lexical/assets/7893468/ebdace55-1fb3-447c-8c4b-cd8c5c488909
After:
https://github.com/facebook/lexical/assets/7893468/1e8ebefb-49ed-4e70-99c3-4e1454bf234c
https://github.com/facebook/lexical/assets/7893468/d9cf00f3-ec10-490d-97bb-2f5503968855

@zurfyx this one is ready


not a bug!

What happened?
just wanted to say looking good with the live audio transcription!
impressive stuff - thanks a lot!
Steps to reproduce

step one...
step two...

What OS are you seeing the problem on?
No response
Relevant log output
App Version: 2.0.3
Commit Hash: 6c5ace63edd36807905fd906c26ec34fab1325ea
Arch: x86_64
Platform: windows
Kernel Version: 10.0.22631
OS: windows
OS Version: 10.0.22631
Models: ggml-large-v3.bin, ggml-medium.bin
Default Model: "C:\\Users\\rberney\\AppData\\Local\\github.com.thewh1teagle.vibe\\ggml-large-v3.bin"

{
    "avx": {
        "enabled": true,
        "support": true
    },
    "avx2": {
        "enabled": true,
        "support": true
    },
    "f16c": {
        "enabled": true,
        "support": true
    },
    "fma": {
        "enabled": true,
        "support": true
    }
}

just wanted to say looking good with the live audio transcription!
impressive stuff - thanks a lot!

Thank you so much! I'm glad you're enjoying the live audio transcription feature.
If you want to stay connected and discuss more about it, I suggest joining the Vibe community on Discord. You can also participate in the discussions on GitHub: Vibe Discussions.


How to DisableDecorator to one days of week?

I need DisableDecorator to one days of week. for example disale Decorator for all Monday days.
How to do it using method
   private class PrimeDayDisableDecorator implements DayViewDecorator {

   }

thanks

I also need the function.Have you made it????

+1

+1

I am very urgent.I am very eager to know....

Seeking master......

Reading the decorators doc will help https://github.com/prolificinteractive/material-calendarview/blob/master/docs/DECORATORS.md.
You would just pass in a collection of all mondays and then you can decorate just the mondays.

@emitchel Thank you very much

@emitchel but I want to disable one day of week not several days. The function can be achieved?

@Brucezh Just pass in one day into the constructor, i.e. One Decorator class for the day - not efficient but it works.

@erioana If you wanna disable Mondays:
    private static class PrimeDayDisableDecorator implements DayViewDecorator {

        @Override
        public boolean shouldDecorate(CalendarDay day) {
            day.copyTo(calendar);
            int weekDay = calendar.get(Calendar.DAY_OF_WEEK);
            return weekDay == Calendar.MONDAY;
        }

        @Override
        public void decorate(DayViewFacade view) {
            view.setDaysDisabled(true);
        }
    }

@Brucezh If you want to disable specific days or just one day. You can pass just one day or a collection:
    private static class PrimeDayDisableDecorator implements DayViewDecorator {

        private HashSet<CalendarDay> dates;

        public PrimeDayDisableDecorator(Collection<CalendarDay> dates) {
            this.dates = new HashSet<>(dates);
         }

        @Override
        public boolean shouldDecorate(CalendarDay day) {
            dates.contains(day);
        }

        @Override
        public void decorate(DayViewFacade view) {
            view.setDaysDisabled(true);
        }
    }


Update build.sh

Description
Cp command doesn't work because a directory doesn't exist. Create the directory.
Checklist

[X] Have you tested the change you are submitting?
[X] Is the commits history nice and clean?

Looks good :)


Update embed-with-jina.md

Update embed-with-jina.md for the release of jina-embeddings-v3

duplicated with #2803