[BLOCK] R1Soft Server Backup Agent and R1Soft repository

We've got an upgrade blocker for the R1Soft repository and the R1Soft Server Backup Agent:
* 2023-11-02 18:36:29 [ERROR] 5 package(s) installed from unsupported YUM repo 'r1soft' from /etc/yum.repos.d/r1soft.repo
* 2023-11-02 18:36:29 [WARN] *** Elevation Blocker detected: ***
  One or more enabled YUM repo are currently unsupported.
  You should disable these repositories and remove packages installed from them
  before continuing the update.

  Consider reporting this limitation to https://github.com/cpanel/elevate/issues

The R1Soft repository can be found here: http://wiki.r1soft.com/display/ServerBackupManager/Install+Backup+Agent+on+CentOS%2C+RHE%2C+and+Fedora+manually
The R1Soft Server Backup Agent works fine on both, AlmaLinux and CloudLinux 8. We have production servers running it without issues. It should also be supported according to the R1Soft system requirements (Linux Kernels version 2.6.32+): http://wiki.r1soft.com/display/ServerBackupManager/System+Requirements

Submitted the same issue in the cPanel Elevate repo, it was closed with this proposed solution:

Sorry, elevate-cpanel for CL7 is not supported by cPanel at this time. CloudLinux has released a derivative of the elevate-cpanel script that does support CL7. If you're encountering issues using that derivative, you will need to contact CloudLinux for assistance

Marking this one as closed, as I assume the same would apply here as well.


Fix decoding errors (for Windows 10)

Building BRICK on Windows 10 gives me the following error:
Traceback (most recent call last):
  File "generate_brick.py", line 472, in <module>
    add_definitions()
  File "generate_brick.py", line 313, in add_definitions
    for definition in dictionary:
  File "c:\users\shrey\anaconda3\lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 6449: character maps to <undefined>

Specifying the encoding (for definitions.csv) seems to fix this.

Thanks for fixing this!


Request: Add Airplay.

No idea if this is possible to add to Balena-sound but could Airplay be added?

Sure, this is something we can look at! Thanks for the feedback

Maybe this could be a good help: https://github.com/mikebrady/shairport-sync

There's also the service here already set up to run on balena which you could copy in to the project https://github.com/balena-io-projects/boombeastic/tree/master/airplay

@ReubenBTalbott I am testing support for this in this PR https://github.com/balena-io-projects/balena-sound/pull/32 - if you get a chance give it a try and let me know what you think!

I just tried it and so far it works perfectly, thanks!

Thanks for testing it, I've now merged this to master 👍


Wrong txaio backend is used

I got a very interesting bug.
The project works on Python3 and asyncio. But Twisted is also installed. txaio chose twisted as default backend.
I use autobahn.asyncio.websocket. It works at most fine. Only autoping functionality got broken because autoping is scheduled with twisted version of call_later. The bug was discovered a few month after it has appeared.
I fixed this situation with manual txaio.use_asyncio() call, however would be better if autobahn.asyncio.websocket checks if txaio using_asyncio() and either configures txaio or fails loudly.

Are you using ApplicationRunner to start things?

(Either way, though, there should probably be some kind of check in autobahn.asyncio.* somewhere)

No, I don't use ApplicationRunner

Are you running your sessions as either a router or container worker in crossbar.io?

No, I don't

Hmm, okay.
There are already explicit calls to .use_asyncio() in the autobahn.asyncio.wamp package -- but if anything else imports something out of autobahn.twisted.wamp then that will call .use_twisted() and "win". That is: you can't mix twisted + asyncio in one process.
So, I think the best thing to do is make either of the .use_*() calls "one-time" in txaio and have it throw an exception if you try to use something different (e.g. calling .use_asyncio() twice is okay, but calling .use_twisted() after gives you an exception).

I'm still curious how you're hitting this bug, though; there may be some flow of imports in Autobahn that cases a .twisted.* thing to get imported ...?
Perhaps after I fix the txaio bug it will become apparent what's happening...

Twisted wasn't imported by me. It just was installed for Python 3.
Look at this code. If I understood correctly, it just uses twisted by default.

Yes, it does use Twisted by default if it's available, but: https://github.com/crossbario/autobahn-python/blob/master/autobahn/asyncio/wamp.py#L45

Hmm. I have a hypothesis.
I fixed my problem by monkey-patching this bug and than calling use_asyncio. Probably there are no bug in autobahn. wamp called use_asyncio on import, but the call wasn't effective because of txaio bug.

Great, thanks for testing and following-up :)


KAFKA-8820: kafka-reassign-partitions.sh should support the KIP-455 API

Rewrite ReassignPartitionsCommand to use the KIP-455 API when possible, rather
than direct communication with ZooKeeper.  Direct ZK access is still supported,
but deprecated, as described in KIP-455.
As specified in KIP-455, the tool has several new flags.  --cancel stops
an assignment which is in progress.  --preserve-throttle causes the
--verify and --cancel commands to leave the throttles alone.
--additional allows users to execute another partition assignment even
if there is already one in progress.  Finally, --show displays all of
the current partition reassignments.
Reorganize the reassignment code and tests somewhat to rely more on unit
testing using the MockAdminClient and less on integration testing.  Each
integration test where we bring up a cluster seems to take about 5 seconds, so
it's good when we can get similar coverage from unit tests.  To enable this,
MockAdminClient now supports incrementalAlterConfigs, alterReplicaLogDirs,
describeReplicaLogDirs, and some other APIs.  MockAdminClient is also now
thread-safe, to match the real AdminClient implementation.
In DeleteTopicTest, use the KIP-455 API rather than invoking the reassignment
command.

ok to test

Hi @stanislavkozlovski, thanks for the careful review.

The KIP mentions adding a --create-cancellation-plan config - something that essentially lists all running reassignments and creates a plan with which we could cancel them. Should we add it as part of this PR?

Sorry that this was confusing.  I've updated the KIP with slightly revised command line options.  I think the new options make more sense and are simpler.  I'll post a message to the mailing list in a bit to confirm and get feedback.  In the meantime, check out the new text here: https://cwiki.apache.org/confluence/display/KAFKA/KIP-455%3A+Create+an+Administrative+API+for+Replica+Reassignment

With KIP-455 we added a TimeoutMs field in the RPC but did not implement it (tracked in https://issues.apache.org/jira/browse/KAFKA-8873). Would it be a good idea to include support for this field in this initial release of the reassign command to have forwards-compatibility? I guess not since it seems like it'd cause more confusion than not but worth raising the discussion nevertheless.

I think this should be handled internally by AdminClient, based on the standard timeout values that are configured.  In general, we want to minimize the number of timeout knobs.  Of course, as you mention, it's a moot point since it's not implemented yet :)

The KIP also mentions extending kafka-topics to show adding/removing replicas, but we can defer that to a follow-up JIRA I think.

Thanks for the reminder.  Yes, let's do this in a separate PR.  I filed https://issues.apache.org/jira/browse/KAFKA-9688 as a reminder.

I really like the idea of moving most integration tests to unit - we had quite the heavy set of integration tests for this feature. That being said, I'm wondering whether we should retain a bit more of the reassignment integration tests...

Yes, this is a good point.  I'll take a look.

Thanks for the comments, @stanislavkozlovski .  I posted some updates to the PR.
There are some comments I haven't addressed yet, but I will soon.

testHwAfterPartitionReassignment: I have added this test back in.
testProduceAndConsumeWithReassignmentInProgress: also added.
I also added a test of using the --zookeeper flag to start a reassignment.
shouldOnlyThrottleMovingReplicas: I think this is better handled by the unit test.

One overall style nit is there is a mixture of nonEmpty and ! isEmpty throughout ReassignPartitionsCommand. I don't personally have a preference, though IntelliJ seems to prefer nonEmpty
I think part of the confusion is that Java doesn't define nonEmpty for collection types, but Scala does.  I'll switch it over to all nonEmpty for the Scala collections, though, since that seems more idiomatic for Scala.


[SMP-1797] Update air gap bundle download info in SMP release notes

Update air gap bundle download info in SMP release notes
For reviewers, a preview is available.
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

So it seems there are three methods:

gsutil
Google Cloud Console
Public links (format https://storage.googleapis.com/smp-airgap-bundles/harness-0.8.1/ccm_images.tgz)

As @pratmit said we should continue to hold onto the Google Cloud console one.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


New enforcing option: unaryGroups

Disallow grouping operator around unary expressions' operands, return statements' expressions, and throw statements' expressions.
Default: true
Set to to false, produces warnings in the above cases
Warning message: "This usage of the grouping operator has the deceptive appearance of a function invocation. Assign the result of this expression to a var, let, or const binding which will allow you to omit the parenthesis."

This functionality will be implemented via the existing singleGroups option, which is to be renamed strictgroups. We'll track that with the existing issue: gh-2043


bump bytecheck to 0.7, remove deprecated simdutf8_std.

Working on clearing the output of 'Cargo outdated'.

Fixed the compilation error.


Incorrect cost data when grouping by year

Version: main
UI: dev-02ac8f1
Commit ID: 030e6f47cddfae278be486cfc2a9ecdc1c110f87
Env: MacOS 13.1, Apple M2
Prerequisite:
Have more than two months of data.

Test Steps:

Create perspective grouped by year.

View the perspective.

Test Result:

The data is wrong.

No more valid in the latest version


LCFS - Improve Accessibility for AG Grid Filtering Components

Description
Enhance the accessibility of multiple AG Grid filtering components to ensure keyboard navigation and screen reader compatibility.
The following components need reformatting:

Compliance Reports:

Current Status: Arrow keys cannot navigate between elements when trying to use dropdowns. (Arrow keys don't work once in dropdown menus).
Date Picker: Cannot use arrow keys with the date picker. (Please limit date to 4 characters).

Fuel Codes:

Date Picker: Keyboard keys become non-functional once on the date picker. (Please limit date to 4 characters).

Organizations:

Dropdowns: Keyboard key navigation through dropdowns is not working as intended. (Arrow keys don't work once in dropdown menus).

User Roles:

Dropdowns: Tabbing and keyboard key usage to interact with dropdowns are not functioning properly when trying to use the dropdowns. (Arrow keys don't work once in dropdown menus).
Selection: Keyboard keys cannot move or select items in dropdowns. (The arrow keys once in dropdown menus, as well as the enter key, won't work when trying to select any field user names, roles, email etc.).

Transactions:

Dropdowns: Transactions dropdown not working with enter key once tabbing into it. (The enter key once pressed doesn't work to activate the "dropdown" or "id", "type", "from", "to", "units" fields)

Each component must support full keyboard navigation and be compatible with screen readers.
Wireframe Link
N/A
Purpose and Benefit to the User
Improving accessibility ensures that all users, including those using assistive technologies, can interact with the AG Grid filtering components seamlessly. This aligns with WCAG compliance standards and enhances the usability of the application.
Acceptance Criteria

All listed components allow navigation and interaction via keyboard.
Screen readers correctly announce elements and their states.
Testing confirms compliance with WCAG accessibility standards.

Development Checklist

[ ] Ensure all elements in the Compliance Reports filtering (Current Status, Date Picker) are navigable with arrow keys and tabbing. (Arrow keys once in dropdown menus).
[x] Enable keyboard navigation and functionality in the Fuel Codes filtering date picker. (Please limit date to 4 characters).
[ ] Make all columns in Organizations table with dropdowns fully navigable with the keyboard. (Arrow keys once in dropdown menus).
[ ] Test keyboard and screen reader support for User Roles filtering dropdowns and ensure users can move and select using keyboard keys. (Arrow keys once in dropdown menus).
[ ] Test keyboard and screen reader support for Transactions ensure users can move and select using the enter key. (enter key doesn't work to activate the dropdown or id, type, from, to, units etc).
[ ] Validate changes against WCAG standards.

Notes

Ensure consistent keyboard navigation patterns across all components.
Focus on testing both Mac and Windows platforms for compatibility.

We will want to review AG Grids accessibility guidelines and make deicsions on what we want to do:
https://www.ag-grid.com/javascript-data-grid/accessibility/
There is also currently code in place to disable most of the AG Grid keyboard shortcuts, that might be critical to accessiblity:
https://www.ag-grid.com/javascript-data-grid/keyboard-navigation/

Work that was done here:

Setting max date for date filters so they only allow 4 characters
Auto open dropdowns when entering the field to help

The challenge:

AG Grid eats the arrow key events, so I was unable to come up with a solution for the arrow key navigation issues


Feature: create template view

WOW. Much form. Such state. 👔
Its time to start letting users create forms, and edit them. What better way to do this than create a place where they can create and edit forms. So lets get descriptive:

New routes from the templates index to go to either 'create' or 'manage' a template
The start of the form wrapper component that will contain the template state and control the actions for submitting it.
Fancy stuff like loaders and notifications have been implements in a basic way for now
New form footer styles and placement for reusability
Grab a big ol' list of locales from the constant to allow users to choose from any language under the moon.
A couple of sexy helpers to provide a smatter of smugness to this humble project.

Check the comments but it looks cool! 👍


Matrix.Decompose(yaw/pitch/roll) method not always correct

Release Type: Official Release
Version: <IP_ADDRESS>4 (and any previous)
Platform(s): Windows
Describe the bug
Rotation matrix won't always output correct yaw/pitch/roll values on certain angles from a Quaternion for the method Decompose(out float yaw, out float pitch, out float roll)
This method is used by Game Studio in the entity transform Rotation property which is why I noticed it.
To Reproduce
Steps to reproduce the behavior:
This can be seen in the Editor:

Select an entity
Change Transform.Rotation to (90, 0, 90)
Select another entity
Select previous entity and review the Transform.Rotation (which is now shows (89.972, 0, 0))

Alternatively, code to reproduce this issue:
var yaw = MathUtil.DegreesToRadians(90);
var pitch = 0f;
var roll = MathUtil.DegreesToRadians(90);
var quat = Quaternion.RotationYawPitchRoll(yaw, pitch, roll);

var mat = Matrix.RotationQuaternion(quat);
mat.Decompose(out float decomposedYaw, out float decomposedPitch, out float decomposedRoll);

Assert.Equal(yaw, decomposedYaw);    // Technically fails due to precision loss
Assert.Equal(pitch, decomposedPitch);
Assert.Equal(roll, decomposedRoll);  // Not matching (returns 0 instead of Pi/2)

Expected behavior
Decompose should output the same as input (or close enough since precision loss may occur).
Additional context
Note that Quaternion.RotationYawPitchRoll and Matrix.RotationQuaternion are probably not the issue (except for the low precision due to being floats), as they are fairly standard code (I've looked around online).
The relevant method is this:
https://github.com/stride3d/stride/blob/ca3dc903f72d586c95311049bdc8c16d571ac718/sources/core/Stride.Core.Mathematics/Matrix.cs#L630-L643
I have no idea how this method actually works and does not appear to be some standard solution, I suspect the code is not correctly handling certain edge case values, which may be exacerbated due to the precision loss from using floats (eg. MathUtil.DegreesToRadians(90) involves Pi).

Look like RotationYawPitchRoll one side operatation, (yaw, pitch, roll) can't be restored, more then one (yaw, pitch, roll) set gives same Quaternion result

Look like RotationYawPitchRoll one side operatation, (yaw, pitch, roll) can't be restored, more then one (yaw, pitch, roll) set gives same Quaternion result

You're right. For the editor to restore it properly (in the Rotation property) it needs to also store the user's actual yaw/pitch/roll values.
For the time being I am fixing it so it would still at least return a valid combination of yaw/pitch/roll since it's not doing so in the edge cases.


Appears to be Incompatible w/ .NET Core 3.1 Global Tools

After successful global tool install, invoking obfuscar.console results in the following error when only .NET Core 3.1.1 is installed.

It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '2.1.0' was not found.

The following frameworks were found:
3.1.1 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

You can resolve the problem by installing the specified framework and/or SDK.
The specified framework can be found at:

https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=2.1.0&arch=x64&rid=debian.10-x64

Sounds like a design limitation of .NET Core Global Tools.
You should be able to install .NET Core 2.1 runtime to resolve this issue.

Surely the proposed fix is not to install a separate older .NET Core runtime..? That is a viable workaround assuming that obfuscation run from Core 2.x runtime will succeed on .NET Core 3.x bytecode, but workaround != fix.


Proper Types not mentioned in the docs for instance.acquireTokenSilent  function

Core Library
MSAL.js v2 (@azure/msal-browser)
Wrapper Library
MSAL React (@azure/msal-react)
Documentation Location
https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-react/docs/hooks.md
Description
As per the docs there is no typescript issue for using acquireTokenSilent funciton from useMsal lib.
However in practice this issue is observed

Error is
Type 'Partial<Pick<AccountInfo, "homeAccountId" | "localAccountId" | "username">>' is missing the following properties from type 'AccountInfo': environment, tenantIdts(2739)
SilentRequest.d.ts(20, 5): The expected type comes from property 'account' which is declared here on type 'SilentRequest'

@Shivam60 thanks for bringing this up, I'll make sure the docs get updated.
To resolve, you can either cast this to the right type accounts[0] as AccountInfo or use the useAccount hook to get the AccountInfo object. const account = useAccount(accounts[0])

Thanks


Starting a project based on Leshan

Hello,
As a student group we did a project using Leshan (will comment on #830 when we are done).
We discovered that we only had to adjust a few lines from the demo server to accomplish our goals.
Now I'm wondering how I would make this a separate git/maven project (not very familiar with maven, but enough to get our server compiled).
The question is: would I

fork this whole project (with all maven modules like leshan-server-core, leshan-client-demo etc),
add our new directory (leshan-server-solid)
as a copy from leshan-server-demo,
adjust pom.xml artifactId, name and description,
adjust some java code
and done?

This is how I'm able to compile it right now.
I would think this a bit overkill, copying all the leshan-server-core code etc.
But I don't know another way (tried a bit experimenting, but nothing useful).
How would I go about separating our adjusted leshan-demo server as a separate git(/maven) project?
I know this question is maybe more related to using maven and pom files, but hopefully someone can help us out.
Greetings,

We discovered that we only had to adjust a few lines from the demo server to accomplish our goals.

If it makes sense, maybe the modification can be integrated in leshan-server-demo ?
If not, you want to create your own server and using leshan-server-demmo as a kind of template for your leshan-server-solid :muscle:  ?
I assume that you want to create a single module maven project (correct me if I'm wrong) :

copy/paste the content of leshan-server-demo in your project.
and this should be OK.

Here is a single module maven project but for leshan client side.
Tell me if this is not clear ?

Thank you for the quick response,
I succeeded with the help of your link to indeed create a single module maven project (this was exactly what I wanted to do)
It was a bit difficult for me to untangle the parent and child pom of the leshan-server-demo template, but it worked.
I opened issue #845 to propose the modification (but I'm not sure how well coded it is)

Should we close this issue ?

yes, I just wanted to add this link https://github.com/th1j5/leshan-server-solid
in case someone (with little maven experience) ever wants to see the pom of a standalone leshan server module.


Chart.yaml and README.md Not Updated to Version 0.7.5 in charts/tractusx-connector

Describe the bug
After the release of version 0.7.5, the Chart.yaml and README.md files in the charts/tractusx-connector directory still reference version 0.7.3 in the tagged release 0.7.5. However, the chart version in the bugfix/0.7.5 branch is correct. This inconsistency can lead to confusion and deployment issues when using the Helm chart from the tagged release.
To Reproduce
Steps to reproduce the behavior:

Check out the tagged release 0.7.5 from the repository.
Navigate to the charts/tractusx-connector directory.
Open the Chart.yaml file.
Observe that the version and appVersion fields are set to 0.7.3 instead of 0.7.5.
Open the README.md file in the same directory.
Notice that the version badges and installation commands reference version 0.7.3.

Expected behavior
The Chart.yaml and README.md files in the tagged release 0.7.5 should be updated to reflect version 0.7.5. This ensures consistency across the repository and prevents potential deployment issues with the Helm chart.
Screenshots/Error Messages
Not applicable.
Context Information

Used version: Tagged release 0.7.5
OS: N/A
Docker Version: N/A
java --version: N/A

Possible Implementation
Update the version and appVersion fields in charts/tractusx-connector/Chart.yaml to 0.7.5 in the tagged release 0.7.5. Similarly, update all references to version 0.7.3 in charts/tractusx-connector/README.md to 0.7.5, including the version badges and installation instructions.
Note: The chart version in the bugfix/0.7.5 branch is correct; the issue only exists in the tagged release 0.7.5 where the version is incorrect.

the problem is indeed in the publish-bugfix-release.yaml:
the helm-release job (and all the other jobs) are not starting from the latest commit (the one created by prepare-bugfix-release) but from the ref that triggered the workflow.
We need to fix this in 3 parts:

[ ] manually amend the 0.7.5 chart
[ ] fix the workflow in the main branch
[ ] fix the workflow in the bugfix/0.7.6 branch (for the upcoming bugfix release)


IEEE754 Perf Improvement

We don't know whether BHL or BLH is the correct number
When nDigits is set(>=0), that means the consumer is not
interested with the entire value.
That means, we may not just roundup to the higher bound.
Doing so would break IEEE754
Imagine LowerBound is 4999... while the UpperBoud is 50001..
We need to know where actually the number is instead of picking
either Lower or UpperBoud
In this case, we should skip and fail
and let FDblToRgbPrecise do the math.
Perf Improvement [new]:
Exception for a number that has smaller amount of fractional part
than the number of digits are being asked.

@dotnet-bot test Windows arm_test please

@curtisman Thanks for the review


[BUG] Docker Build fails

Is there an existing issue for this?

[X] I have searched the existing issues

Are you using the latest docker image for BTPSA?

[X] I'm using the latest docker image for BTPSA.

Which area is mainly impacted
Docker Image (Build or Run)
Current Behavior
Automated Build of Docker image fails
Expected Behavior
Docker image can be built and stored in GH registry
Steps To Reproduce
Execute any GH Action that trys to build the Dokcer image (main or dev) branch
Logs and configuration files available?
logs_3946.zip
Anything else?
Probably an issue with the moby cofig
Currently no pre-built images can be provsioned

Issue with cf plugin-install and alpine Linux. Local build shows:
Error relocating /home/user/.config/cf/.cf/plugins/temp4039725408/3357988548: __vfprintf_chk: symbol not found
Error relocating /home/user/.config/cf/.cf/plugins/temp4039725408/3357988548: __fprintf_chk: symbol not found
exit status 127
File is not a valid cf CLI plugin binary.
FAILED

See also https://github.com/cloudfoundry/multiapps-cli-plugin/issues/186

Workaround is in place with PR: https://github.com/SAP-samples/btp-setup-automator/pull/619

Closing the issue as repository will be archived.


libavahi-compat-libdnssd-dev not installing on Ubuntu 14.04 LTS

I keep getting errors saying its dependences are not being installed
When I dive down in the deps I get to libdbus-1-dev which looks like it's trying to install a newer version that it wants
The following packages have unmet dependencies:
 libdbus-1-dev : Depends: libdbus-1-3 (= 1.6.18-0ubuntu4) but 1.6.18-0ubuntu4.2 is to be installed
E: Unable to correct problems, you have held broken packages.

I've googled the hell out of this and still can't seem to find out how to fix.

sudo apt-get install aptitude
Then after install
sudo aptitude install libavahi-compat-libdnssd-dev


Added BetweenString validation.

In this pull request a new validator BetweenString has been added which combines the MinString and MaxString validators and checks the string length to fall within a range of [minLen, maxLen].

Thank you for your contribution and this method will be a handy tool. 👍
Another thanks for fixing my typos! 😊


tell macaron to use auto head

My monitoring software (monit) recently added this:

Fixed: The HTTP protocol-test now uses HEAD instead of GET if no content check is set. That is, if you only want to test the response status for a given URL and not the content of the response. This should make the test faster and save bandwidth.

Which was causing checks to gogs to return 404. Enabling SetAutoHead in Macaron resolves the issue.
Before adding this diff and running curl -vI <url>
< HTTP/1.1 404 Not Found
HTTP/1.1 404 Not Found

After:
< HTTP/1.1 200 OK
HTTP/1.1 200 OK

Thanks your PR!
But I don't think it is good solution to that, as Gogs has no intend to allow HEAD requests for all routes.
If you just want to check if Gogs is running, you can GET https://try.gogs.io/healthcheck.

Perhaps it's reasonable to just have it respond on requests to '/'?

Yes, I think that's acceptable.

Close due to lack of actions.


120 fix tailwind

Resolves #120
Trying to fix tailwind... started with upgrading packages to the latest versions
What changed

added 'upgrade-interactive' for yarn berry
upgraded all the libraries since the site is still very young
followed the Tailwind setup instructions for nuxt: https://tailwindcss.com/docs/guides/nuxtjs

😢 still not working
Testing instructions
When it works we should see colors and styles

blahhh tooo big


O365 retriever does not handle unicode correctly

Retrieving activities................Traceback (most recent call last):
  File "retriever.py", line 109, in <module>
    writer.writerow(vars(activity))
  File "C:\Python\Python36-32\lib\csv.py", line 155, in writerow
    return self.writer.writerow(self._dict_to_list(rowdict))
  File "C:\Python\Python36-32\lib\encodings\cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 732-733: character maps to <undefined>

I've fixed this by adding encoding='utf8' to line 95, but I'm not sure that this isn't better handled as a command-line switch. Also, as you seem to be python 2 compatible, it needs handling for that too.

Thank you for reporting this. Will add encoding='utf-8-sig' (to add UTF-8 BOM) and simply drop 2.7 support.

Think your fix has added a new bug. Was working fine for me yesterday.
Now getting:
File "retriever.py", line 99
print('Retrieving activities', end='')

I left a comment on this which have deleted - please ignore. Issue was because I was using python 2.7 not Python3. Thanks for the tool release! great work

Thanks. Changes were committed. Closing issue.


Document events in Chartist.js

Currently there are couple of events emitted using the Chartist.js EventEmitter. We need to document them somewhere (probably on the individual chart constructors and / or base chart).

just to collect them until docs are updated:
Events
'draw'
'created'

This is a pretty annoying thing to have missing, some are obvious from examples but it would be nice to have a list of events that exist that you don't have to hunt through code examples to find

here's a list that I quickly pulled from source (using regex emit\('\w+')
'draw'
'optionsChanged'
'data'
'animationBegin'
'animationEnd'
'created'

+1

+1

+1

+1
Does 'animationEnd' or 'animationBegin' work? Can't get either to fire.

A suggestion that I think will pair well with this, is that it would be great to document the chart lifecycle and order of events. It is currently unclear what happens when, and when it is appropriate to do certain things (like calling chart.update).

2 years old issue :)
I'm new to chartist, and I'm not struggling to understand when to .off events so they stop firing on window resize.
Is there a simple way to prevent "draw" events from firing on window.resize? I managed to hack it with a combination of .on(draw) and then X.on(created, function() {X.off(draw)}).
But I'm not having the same success with the https://github.com/moxx/chartist-plugin-fill-donut

Seems like the created event fires on every update. It would be really good to have a documented list.

When will this be closed ? Bit lost on using events.

It's been 5 years, it's time guys.

If anyone needs this info "created" is raised every time the chart is redrawn (when: chart create, chart update and window resize) and not just the first time the chart is created. "draw" seems to be raised multiple times during the chart drawing, not sure what this could be even used for.

Thank you very much @BojidarStanchev ! I needed to apply some custom CSS to the SVG chart AFTER EACH "CREATED" event... so I am now able to do it thanks to your digging. But I agree that @gionkunz could, one day, add a basic documentation page about the events fired. Having to dig by ourselves with .on('*', function(eventName, data){}); is a little bit "hacky".

@AlexLaforge and @BojidarStanchev - how were you able to select the correct element to apply your custom CSS to? The emitted event data does not seem to have all the classes - ie it has ct-series and ct-bar but not ct-series-a to know exactly which series was done.

@prasanna Every time the "created" event is emitted, is means that ALL series were redrawn (aka. the WHOLE chart was redrawn).


Default to no dequeue in Queue factory methods

In my opinion, Queue factory methods should default the Queue output to no dequeuing
Most of the time Queue.apply is used the result is instantly bulk connected to something else, this has no effect on those uses (except I guess an extra line of Firrtl that goes away).
However, other use cases where some Decoupled input is being buffered and then used, it seems natural that it should default to "no dequeue" the output of the Queue.
eg.
val myQ = Queue(io.input)
myQ.nodeq() // equivalent to myQ.ready := false.B  <- This line seems super unnecessary
when (cond) {
  val bits = myQ.deq()
  // Do something with bits
}

It's a little weird that Queue returns a Decoupled whose ready signal defaults to false, but other APIs that return Decoupled don't.

What else returns Decoupled? git grep ':\s*Decoupled' on chisel3 only shows things in Decoupled.scala, I guess the actually Decoupled companion object returns DecoupledIO but I don't see anything else

This would be very asymmetric with use of Decoupled. It's a very common idiom to write:
  val foo = Wire(some_decoupled)
  // connect source
  foo.valid := something
  // connect sink
  foo.ready := something else

So why should a Queue() behave differently from a Wire?

This change would not preclude using Queue in the same way since foo.ready := somethingElse will overrule the default assignment of ready to false.
There is also already a huge asymmetry between Wire and Queue in that Wire(someDecoupled) creates a Wire with the same type as someDecoupled while Queue(someDecoupled) will construct a Queue of type someDecoupled.bits and connect someDecoupled to the queue's input.

It isn't common for other classes to initialize themselves with defaults so it seems odd to start here. Upon review, people would have to remember that 'that Queue' is special and doesn't need a default (since it is already baked in).

The consensus seems to be that this is either unintuitive and/or inconsistent so I'm going to close this PR


data groups in onboarding

Add the data group step to onboarding. See https://sagebionetworks.jira.com/browse/AA-78
Testing done:

./gradlew check
Manually tested both test_user and participant branches.
Set a breakpoint to verify we only save data groups at the last step, rather than a separate server call each step.

Your test coverage is immaculate, nice work.  Approved :shipit:


Only record the user to Bugsnag when there's an active user identity.

I've gotten "Call to a member function getName() on null" errors when logging exceptions for anonymous users. This seems to fix it.

This should be fixed now.


Hardware design

Quite interesting project. Are the KiCAD files available anywhere so I can try to build it.

What you’ve done here is masterful, and I would appreciate learning by doing on this project. Thank you for documenting your design choices and thought processes. I appreciate the care with which you have built this Christmas gift.
Merry Christmas to you and yours!

I recognize that on the technical description page the schematic was fuzzed out and refers to Nesota. If there is some portion that can be published to github I'd still love it but I totally get it if that is not available.

I recognize that on the technical description page the schematic was fuzzed out and refers to Nesota. If there is some portion that can be published to github I'd still love it but I totally get it if that is not available.

While I probably won't release the underlying PCB design files, you're welcome to download the schematic in PDF form; click the preview image of the schematic on the web site, or use this direct link:
https://www.keacher.com/xmas24/christmas_card_2024 schematic rev D.pdf

It's a bit too complex for my rapidly fleeting ee knowledge anyway. Great work though.


Rename to simple_character_controller

The name shrimple is misleading. I do not see any shrimp in this repository, and the character controller does not seem to be specific to a shrimp.

SHRIMP are a PLANNED feature

Hello trundler, thank you for making an issue.
I have reviewed your problem and identified the cause of this issue. I am rolling out a new update with a fix that will be uploaded to production sometime today. Here's a related commit that you can review: https://github.com/Small-Fish-Dev/shrimple_character_controller/commit/45bdda48c6713713a7b5411853cad795c59eccf2
From now on, we are shipping Shrimple Character Controller with a picture of a shrimp that can be found in Assets/prefabs/ folder. This change has been already approved by @yuberee and the rest of Small Fish management team.

wheatleymf


How to load fine-tuned model into Hugging-Face Table-Transformer

Hi,
Recently I have tried fine-tuning the table transformer model with a small dataset. However, I was wondering if there is a way to load the model into hugging face's TableTransformerForObjectDetection.
When I try to do the same with a path to the .pth file -> It asks for a config. If I pass the config (structure_recognition.json), it drops a lot of the weights due to some issue with structure not being same.
Any help regarding this would be really nice!
Thanks,
Prabhav

Hey @Prabhav55 ! Probably you should use the Hugging Face model for fine-tuning. There are some things different between the plain pytorch model here in this repo and the HF model.
As TATR is just a DETR, you can use the notebook for fine-tuning a DETR as a reference.

Hey @thiagodma , I too did notice some difference in both the models of hugging face and the original model. Did you manage to understand why this is so?
Also were you able to fine tune the hugging face model, If yes that can you point out the changes to do in this notebook as mentioned in here.

The only difference is that the Table Transformer applies a "normalize before" operation, which means that layernorms are applied before, rather than after MLPs/attention.

A comment here - I haven't digged deeper in the HF models innards, but I've gone through the full TATR repo and I can say there are significant steps that relate to how the images are processed I'm not sure are implemented in the HF model. This relates to the conversation about whether e.g. in structure recognition images should be tightly cropped around the bbox (more recent paper) or have some padding around it (older paper). The current weights are based on the older paper, so with more padding. The code in the repo assumes tighter padding (at least the image pre-processing scripts). The result is completely different training data, which may or may not impact results, but from experience I can tell that training this model from scratch will take a week, so you might want to take that into consideration before going with the HF model.
I'm not a CV expert (rather, a beginner) but I'd assume that with fine tuning the issue is the same when it comes to structure recognition especially. If the model has a million examples of padded images as training data and you fine-tune it with tightly cropped images, the model may not do what you want. I think I observed something like this a month ago, where I noticed that the structure recognition model was always assuming there is a padding around the table when doing inference, yielding bboxes that were smaller around the edges.
So I recommend to at least go through what happens to images before they are passed to training, from main.py and linked files.

@Ashwani-Dangwal  yeah, I managed to fine-tune it. Basically all I did was:
Replace processor = DetrImageProcessor.from_pretrained("facebook/detr-resnet-50") for  processor = DetrImageProcessor()
Replace:
DetrForObjectDetection.from_pretrained("facebook/detr-resnet-50",
                                                             revision="no_timm",
                                                             num_labels=len(id2label),
                                                             ignore_mismatched_sizes=True)

for:
TableTransformerForObjectDetection.from_pretrained(
      "microsoft/table-transformer-structure-recognition",
      ignore_mismatched_sizes=True,
  )

@thiagodma For the dataset preparation, I wonder on what dataset you fine-tuned it. If you did on FinTabNet, did you use the code here to canonize the cells and get the FinTabNet.c? And how did you manage if it's the case or not, if you used FinTabNet, to prepare the dataset to be used with the HF training.
@giuqoob I agree with you that training or fine-tuning takes days, I did some fine-tune on the FinTabNet using the code in this repo, I was able to see good improvements in the scores. Yet, I think there is some problem with the row detection. Were you able to notice the same issue? I wonder if it's due to bad training or just a limit to DETR.

@WalidHadri-Iron I created the FinTabNet(.a6) and pubtables datasets with the scripts provided and trained the model from scratch without a limit to batches per epoch, running it for 22 epochs. I haven't tested on my own data yet, but using the eval mode I got these results, which are worse than what authors report. I used the following params

batch_size at 8
num_workers at 8
pre_fetch_factor at 2
pin_memory True
persist_workers True
non_blocking True

I didn't touch any other settings, like learning rate.
For model trained on 20 epochs
IoU metric: bbox
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.785
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=100 ] = 0.949
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=100 ] = 0.874
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.513
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.700
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.814
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=  1 ] = 0.407
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets= 10 ] = 0.776
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.852
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.602
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.777
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.887
----------------------------------------------------------------------------------------------------
Results on simple tables (47784 total):
      Accuracy_Con: 0.8406
         GriTS_Top: 0.9838
         GriTS_Con: 0.9805
         GriTS_Loc: 0.9715
--------------------------------------------------
Results on complex tables (55339 total):
      Accuracy_Con: 0.5572
         GriTS_Top: 0.9598
         GriTS_Con: 0.9586
         GriTS_Loc: 0.9382
--------------------------------------------------
Results on all tables (103123 total):
      Accuracy_Con: 0.6885
         GriTS_Top: 0.9709
         GriTS_Con: 0.9688
         GriTS_Loc: 0.9536
--------------------------------------------------
Total time taken for 103123 samples: 13:09:16.739213
COCO metrics summary: AP50: 0.949, AP75: 0.874, AP: 0.785, AR: 0.852

@thiagodma For the dataset preparation, I wonder on what dataset you fine-tuned it. If you did on FinTabNet, did you use the code here to canonize the cells and get the FinTabNet.c? And how did you manage if it's the case or not, if you used FinTabNet, to prepare the dataset to be used with the HF training.

@WalidHadri-Iron I fine-tuned it using a proprietary dataset

@Ashwani-Dangwal I'm using COCO format but I think this is something easy to change. I guess all you have to do is to change the pytorch Dataset definition

@WalidHadri-Iron Got the same type of error after fine tuning with fintabnet dataset in which the complete row was not detected properly. Did you get a work around this?

@thiagodma Thanks Man!

@giuqoob I just fine-tuned on FinTabNet, I kept the configuration the same for TSR, except the learning that I changed the learning rates: from "lr":5e-5,"lr_backbone":1e-5 to "lr":1e-5, "lr_backbone":1e-6. I fine-tuned for 15 epochs, since the first epoch we can see a big jump in the metrics, from epoch 10 to epoch 15, no big gain. I haven't had the time to run the eval script, but I will share the metrics for the best epoch when running on a sample of the test set during the training.
IoU metric: bbox
Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.866
Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=100 ] = 0.971
Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=100 ] = 0.924
Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.587
Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.848
Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.869
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=  1 ] = 0.502
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets= 10 ] = 0.870
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.914
Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.616
Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.900
Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.922

 AP50:0.971, AP75:0.924, AP:0.866 AR:0.914

I will update with the full output of the eval code when I will have the time to run it. I am also thinking about changing the whole training setting to do better, this was just my first trial.
@Ashwani-Dangwal: As a workaround, I put a low threshold for rows and enhanced the post-processing based on the text position and some characteristics.

Hi,
Recently I have tried fine-tuning the table transformer model with a small dataset. However, I was wondering if there is a way to load the model into hugging face's TableTransformerForObjectDetection.
When I try to do the same with a path to the .pth file -> It asks for a config. If I pass the config (structure_recognition.json), it drops a lot of the weights due to some issue with structure not being same.
Any help regarding this would be really nice!
Thanks, Prabhav

To answer the initial question, check my comment here
https://github.com/NielsRogge/Transformers-Tutorials/issues/316#issuecomment-1624001118

@WalidHadri-Iron @giuqoob
Available FinTabNet Dataset here  Can be processed to match the new paper using code from this repo, would it be hard to point to these folders?
Also I wanted to understand which old paper are you referring to that the model is trained on?

Has anyone managed to train the hugging face model in the fintabnet dataset?

@WalidHadri-Iron @giuqoob Available FinTabNet Dataset here Can be processed to match the new paper using code from this repo, would it be hard to point to these folders?
Also I wanted to understand which old paper are you referring to that the model is trained on?

@bely66 The scripts are in here https://github.com/microsoft/table-transformer/tree/main/scripts.
As @giuqoob pointed out before, if anyone is interested in using the code here to train/infer/process some data, I would also recommend spending some minimum time exploring the files in the repo.

@WalidHadri-Iron, have you tried training the hugging face model on the FinTabNet dataset?

@Ashwani-Dangwal I have tried training it on FinTabNet and it worked for me after changes to the model weights using the following script -> convert_table_transformer_original_pytorch_checkpoint_to_pytorch.py, present is transformers repo.

@Prabhav55 , I also trained the original model on FinTabNet but it as not performing well. So i wanted to fine tune the hugging face model on FinTabNet.

@Ashwani-Dangwal I did exactly like @Prabhav55

If you're training on the original PubTables-1M and FinTabNet.c (FinTabNet.a6) together then one reason you may see lower numbers during evaluation is we changed how we evaluate on PubTables-1M in our most recent paper. To match these numbers you have to run https://github.com/microsoft/table-transformer/blob/42867c86768388ca4cafd546178abfb15c63aed3/scripts/create_padded_dataset.py on the validation and test splits to more tightly crop these images. The training data stays the same, so do not run the script on the training split. This step is not yet documented, sorry for that.
And just to add extra clarification, if you trained on PubTables-1M and FinTabNet.c using the current code without doing this step, there is no need to redo the training. You only need to do this cropping step for evaluation to match our reported numbers. We will update documentation for this soon.
Best,
Brandon

@WalidHadri-Iron @giuqoob Available FinTabNet Dataset here Can be processed to match the new paper using code from this repo, would it be hard to point to these folders?
Also I wanted to understand which old paper are you referring to that the model is trained on?

@bely66 The scripts are in here https://github.com/microsoft/table-transformer/tree/main/scripts.
As @giuqoob pointed out before, if anyone is interested in using the code here to train/infer/process some data, I would also recommend spending some minimum time exploring the files in the repo.

yep got your point, and went through the repo
So basically the model is trained on old annotations and the code expects new annotations
so If i finetuned the model with the old annotations  I will still be getting bad results because of the code?
@bsmock Would it be hard to confirm that, If I’m finetuning my data with the old annotations there’d be problems from the code?

Can you share the FinTabNet model here.

Hi @Prabhav55 . Were you able to load the model after training it ? It is asking for config. WHen I'm giving it the config the some params are dropping and I'm unable to load it. If you did it, can you please let me know how did u do ? The python file "convert_table_transformer_original_pytorch_checkpoint_to_pytorch.py" is also not available now at the mentioned link If you have it, can you please share it with me?
Thanks in advance
@bsmock
@NielsRogge


feat(#81): Adds annotation configuration for containers

Short description of what this resolves:
Allow user to define the container as an annotation at class level instead of having to create an arquillian.xml file.
Changes proposed in this pull request:

Creates a runner that reads if test class is (meta-)annotated with @ChameleonTarget annotation

If it is annotated creates an arquillian configuration file configuring chameleon.

Configuration file can be either an arquillian.properties or arquillian.xml

[x] Update docs

Fixes #81

https://github.com/arquillian/arquillian-organization/issues/30


create a logo

create a logo for the site

Too much symbols tone down on that and use regular fonts

placeholder

Logo uploaded


[24.05] python311Packages.onnx: add patch for CVE-2024-5187

Description of changes
https://nvd.nist.gov/vuln/detail/CVE-2024-5187
This is not addressed for unstable yet, but there is a 1.16.2 release expected in the next few days so would prefer to wait for that and bump.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Wait, perhaps I should leave this draft till unstable is addressed.


improvement(server): Allow setting async/defer via extraProps

Summary
Solving https://github.com/gregberge/loadable-components/issues/337
Default: async: true, defer: false
Scenarios:

extractor.getScriptTags({ defer: true }) will return <script async defer ...></script> (because async is true by default)
extractor.getScriptTags({ async: true }) will return <script async ...></script>
extractor.getScriptTags({ async: false, defer: true }) will return <script defer ...></script>
extractor.getScriptTags() will return <script async ...></script> to keep the default behaviour, preventing breaking change.

Using both async and defer together might have a valid use case as explained here
Test plan
Tests are added to ChunkExtractor.test.js

The method getRequiredChunksScriptTag should support async and defer like other

One question about this though, does async/defer has impact when the script is inline? (Which is the case of getRequiredChunksScriptTag)

@gregberge Hi, are we really deciding on this as wontfix?

Just want to express my desire for this functionality. Right now I'm resorting to hackily string replacing async with defer.

Would love this feature too

Stalebot go away

Would love this feature too！！

Would love this feature too！！


Insulates RxJava2 code from future drift in internal packages

The "fuseable" package came out in RxJava 2.0 and is as yet still
internal. This puts insulation around it in case it ever becomes not
internal.
Meanwhile there is still risk that some parts of these internal code
drift, for example renaming a method inside ScalarCallable or
ConditionalSubscriber. If this happens, the code will still break.
See #805

You have a few options: opt-out from fusion support in brave or make a commitment to keep updating code that depends on internals. I don't know your release policy nor if your users tend to update RxJava much frequently than brave.

@akarnokd thanks for the insight. Yeah I am comfortable with keeping up with updates (on internals). This is in our core repo anyway, and we have a tendency to.  For example, we still support gRPC 1.3 (via maven invoker tests) all the way to latest. if/when fuseable becomes non-internal, it will break our build and we'll deal. The instructions to users would be to update to latest brave which would sort it (and back-insulating the internal variant with an invoker test).
cc also @koji @trustin @anuraaga sound good?

I added hardening in our tests to show if our conditional.. conditionalsubscriber support is actually working. This shows I don't know how to idiomatically get fusion to happen :P
I will re-read this and see if I can figure out a non-hacky way to ensure tryOnNext is called in my subject

ok made the test less awkward after reading

Btw, assembly tracking is impemented this way.

thank you for all the feedback. I will try to sort the other problems you
noticed tomorrow. kind of wandering my way through this so appreciate your
flashlight!
On Sat, 20 Oct 2018, 19:42 David Karnok<EMAIL_ADDRESS>wrote:

Btw, assembly tracking is impemented this way
https://github.com/akarnokd/RxJava2Extensions/tree/master/src/main/java/hu/akarnokd/rxjava2/debug
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openzipkin/brave/pull/809#issuecomment-431573077, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD61-WTaaW8BWPRMT8b8lhCuPPbUXVWks5umww4gaJpZM4XwD3U
.

I will open a new PR for next fixes

this renames fields so it is easier to compare behavior https://github.com/openzipkin/brave/pull/812

in your extensions repo.. 3rd party
On Sun, 21 Oct 2018, 18:33 David Karnok<EMAIL_ADDRESS>wrote:

@akarnokd commented on this pull request.
In
context/rxjava2/src/main/java/brave/context/rxjava2/internal/fuseable/TraceContextSubscriber.java
https://github.com/openzipkin/brave/pull/809#discussion_r226857050:

@@ -26,13 +26,12 @@
}

@Override public final void onSubscribe(Subscription s) {

if (SubscriptionHelper.validate(upstream, s)) {

if (Util.validate(upstream, s)) {
downstream.onSubscribe((upstream = s));

there seem to be dozens of types
Which ones?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/openzipkin/brave/pull/809#discussion_r226857050, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD616-BT-KzHPkEL5dO1ipcSsZlRZZxks5unE2FgaJpZM4XwD3U
.

that and others, yes. one problem with instrumentation is that it is hard
to control things like this. if it is possible to have a Subscriber that
isnt a FlowableSubscriber we likely will need to instrument it even if
eventually there are no more of the former. That is because often people
have indirect dependencies they may not even know about.
On Sun, 21 Oct 2018, 19:06 David Karnok<EMAIL_ADDRESS>wrote:

You mean those Solo, Nono and Perhaps code? I didn't modify them yet and
their use of Subscriber is currently equivalent of FlowableSubscriber.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/openzipkin/brave/pull/809#issuecomment-431659630, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD615h14VbOpu0Os08k2H-xfUpB-vkTks5unFVNgaJpZM4XwD3U
.


fix zabbix-agent service

What this PR does / why we need it:
In case of zabbix-proxy deployment, the service of zabbix-agent as a sidecar is wrong pointed.
Which issue this PR fixes

fixes #53

Special notes for your reviewer:
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] n.a. Variables are documented in the README.md

Bump


Update"easey-common" to version 11.4.11

To update & test "easey-common" version:

v11.4.9 to v11.4.11
compatibility for dependencies
Related to: #6416, #6417, #6418, #6419

Notes from Stacey's UI testing:

I clicked on all the links in the Home page, data page, Viz Gallery, and help/support pages and found no functionality issues.
I did one query for each data type and filter option and found no problems in the custom query page.
I also did one query for the bulk data download and didn't find anything unusual.

The UI looks good to me!

The following streaming-services endpoints have input validation and return a 400 error when invalid inputs are entered

emissions/apportioned/hourly

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] beginDate
[x] endDate
[ ] operatingHoursOnly
[x] page
[x] perPage

emissions/apportioned/hourly/by-facility

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] beginDate
[x] endDate
[ ] operatingHoursOnly
[x] page
[x] perPage

emissions/apportioned/hourly/by-state

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] beginDate
[x] endDate
[ ] operatingHoursOnly
[x] page
[x] perPage

emissions/apportioned/hourly/nationally

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] beginDate
[x] endDate
[ ] operatingHoursOnly
[x] page
[x] perPage

emissions/apportioned/daily

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] beginDate
[x] endDate
[x] page
[x] perPage

emissions/apportioned/daily/by-facility

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] beginDate
[x] endDate
[x] page
[x] perPage

emissions/apportioned/daily/by-state

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] beginDate
[x] endDate
[x] page
[x] perPage

emissions/apportioned/daily/nationally

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] beginDate
[x] endDate
[x] page
[x] perPage

emissions/apportioned/monthly

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] year
[x] month
[x] page
[x] perPage

emissions/apportioned/monthly/by-state

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] year
[x] month
[x] page
[x] perPage

emissions/apportioned/monthly/by-facility

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] year
[x] month
[x] page
[x] perPage

emissions/apportioned/monthly/nationally

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] year
[x] month
[x] page
[x] perPage

emissions/apportioned/quarterly

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] year
[x] quarter
[x] page
[x] perPage

emissions/apportioned/quarterly/by-facility

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] year
[x] quarter
[x] page
[x] perPage

emissions/apportioned/quarterly/by-state

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] year
[x] quarter
[x] page
[x] perPage

emissions/apportioned/quarterly/nationally

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] year
[x] quarter
[x] page
[x] perPage

emissions/apportioned/annual

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] year
[x] page
[x] perPage

emissions/apportioned/annual/by-facility

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] year
[x] page
[x] perPage

emissions/apportioned/annual/by-state

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] year
[x] page
[x] perPage

emissions/apportioned/annual/nationally

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[x] year
[x] page
[x] perPage

emissions/apportioned/ozone

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[ ] year
[x] page
[x] perPage

emissions/apportioned/ozone/by-facility

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[ ] year
[x] page
[x] perPage

emissions/apportioned/ozone/by-state

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[ ] year
[x] page
[x] perPage

emissions/apportioned/ozone/nationally

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] programCodeInfo
[ ] year
[x] page
[x] perPage

emissions/apportioned/mats/hourly

[x] stateCode
[x] facilityId
[x] unitType
[x] unitFuelType
[x] controlTechnologies
[x] beginDate
[x] endDate
[ ] operatingHoursOnly
[x] page
[x] perPage

Mike and I discussed the remaining items that don't have input validation above. Lets add a ticket to the back log and move forward with this ticket to UAT testing.

The UI functionality was tested and I used Karina's API-examples to run test queries in staging and the data pulls looked normal I triggered a few 400 errors successfully as well. Moving to ready to deploy. Great work everyone! A few of my pre-prepared API calls tested the endpoints listed above. Based on Lane's testing and successful pulls from other endpoints, I am moving this forward.


fixed range check gas cost for sha256 syscall

This change is

crates/cairo-lang-runner/src/casm_run/mod.rs line 353 at r1 (raw file):

    pub const KECCAK: usize = 0;
    pub const KECCAK_ROUND_COST: usize = 180000;
    pub const SHA256_PROCESS_BLOCK: usize = 2000 * STEP + 6 * RANGE_CHECK;

Does this include the range check in the syscall?
Code quote:
6 * RANGE_CHECK;

crates/cairo-lang-runner/src/casm_run/mod.rs line 353 at r1 (raw file):
Previously, TomerStarkware wrote…
in the syscall itself there is no range_check, in finalize there are 6*7 range checks per 7 blocks

There should be a range_check  or 2 for the gas check in the syscall.


Add rapids-upload-docs script

Summary
This PR adds a new script, rapids-upload-docs.
The purpose of this script is to consolidate the logic for uploading documentation to S3.
This will be useful for the upcoming two efforts:

enabling documentation files to be previewed on PRs
temporarily halting documentation uploads to the rapidsai-docs bucket while we restructure the bucket in anticipation of some upcoming website changes

Usage
The snippet below shows how the script can be used.
It requires two environment variables be set:

RAPIDS_VERSION_NUMBER - a RAPIDS version (e.g. 23.06)
RAPIDS_DOCS_DIR - a path to a directory containing the docs to upload (see folder structure below)

export RAPIDS_VERSION_NUMBER="23.06"
export RAPIDS_DOCS_DIR=${RAPIDS_DOCS_DIR:-"${PWD}/documentation"}

rapids-logger "Build cuDF Sphinx docs"
pushd docs/cudf
sphinx-build -b dirhtml source _html
sphinx-build -b text source _text
mkdir -p "${RAPIDS_DOCS_DIR}/cudf/{html,txt}"
mv _html/* "${RAPIDS_DOCS_DIR}/cudf/html"
mv _text/* "${RAPIDS_DOCS_DIR}/cudf/txt"
popd

rapids-logger "Build dask-cuDF Sphinx docs"
pushd docs/dask_cudf
sphinx-build -b dirhtml source _html
sphinx-build -b text source _text
mkdir -p "${RAPIDS_DOCS_DIR}/dask-cudf/{html,txt}"
mv _html/* "${RAPIDS_DOCS_DIR}/dask-cudf/html"
mv _text/* "${RAPIDS_DOCS_DIR}/dask-cudf/txt"
popd

rapids-upload-docs

The structure of RAPIDS_DOCS_DIR should look like this:
$RAPIDS_DOCS_DIR
├── cudf
│   ├── html
│   │   └── <html files>
│   └── txt
│       └── <txt files>
└── dask-cudf
    ├── html
    │   └── <html files>
    └── txt
        └── <txt files>

This script requires https://github.com/rapidsai/shared-action-workflows/pull/93.

@AyodeAwe, I will merge this PR for now since the script is unused and we can test it out when you're finished with the nginx work.


correct marginal costs in HANK1 examples w/ and w/o end. labor

I hope I did everything correctly with the correction :D The change affects the specifications in the steady state part a bit, but for me it runs through.

Many thanks!
I created a new PR #10 on top of this with fixed testing and grgrjax, following up there.


Error: Circularity detected while resolving configuration

Problem
If the extends configuration in tsconfig.json is an array, and each item in it further extends another configuration, it will cause getTsconfig to run and fail, with the following error message:
Error: Circularity detected while resolving configuration: /home/projects/vitest-dev-vitest-wulihl/tsconfigs/base.json
    at _0x15be0c._evaluate (https://vitestdevvitestwulihl-g131.w-corp-staticblitz.com/blitz.c9a8a620.js:352:379484)
    at async ModuleJob.run (https://vitestdevvitestwulihl-g131.w-corp-staticblitz.com/blitz.c9a8a620.js:181:2372)

Expected behavior

Minimal reproduction URL
https://stackblitz.com/edit/vitest-dev-vitest-wulihl?file=repro.mjs
Version
v4.7.2
Node.js version
v18.18.0
Package manager
npm
Operating system
Windows
Contributions

[ ] I plan to open a pull request for this issue
[ ] I plan to make a financial contribution to this project

Thanks for the report!
Happy to accept a PR if anyone wants to work on this.

@13OnTheCode Thanks! I was going to move the issue here, but I just noticed you've already done.
FYI, this is the downstream issue in Vitest typecheck mode:

https://github.com/vitest-dev/vitest/issues/5326

Thanks for reporting further impact. Will try to look into this by the end of the week.

:tada: This issue has been resolved in version 4.7.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


vc: make host shared path readonly

We need to make sure containers cannot modify host path unless it is explicitly shared to it. Right now we expose an additional top level shared directory to the guest and allow it to be modified. This is less ideal and can be enhanced by following method:

create two directories for each sandbox:
-. /run/kata-containers/shared/sandboxes/$sbx_id/mounts/, a directory to hold all host/guest shared mounts
-. /run/kata-containers/shared/sandboxes/$sbx_id/shared/, a host/guest shared directory (9pfs/virtiofs source dir)
/run/kata-containers/shared/sandboxes/$sbx_id/mounts/ is bind mounted readonly to /run/kata-containers/shared/sandboxes/$sbx_id/shared/, so guest cannot modify it
host-guest shared files/directories are mounted one-level under /run/kata-containers/shared/sandboxes/$sbx_id/mounts/ and thus present to guest at one level under /run/kata-containers/shared/sandboxes/$sbx_id/shared/

Fixes: #2712

/test

/test

/test

/test

@bergwolf CI seems to be failing. Can you take a look?

Yeah, it's slightly ironic :smile::
21:38:04 # time="2020-05-31 20:38:01.436721357Z" level=error msg="Container creation error: rpc error: code = Internal desc = Could not create destination mount point: /run/kata-containers/shared/containers/2aa56755a0a1442e543722b07b8c51e88e880856296cc0ee3b39bb9043e1c5a3: mkdir /run/kata-containers/shared/containers/2aa56755a0a1442e543722b07b8c51e88e880856296cc0ee3b39bb9043e1c5a3: read-only file system\n" file="oci/runtime_oci.go:210"

/test

Thanks @jodh-intel ! I wasn't expecting dm based rootfs to still use the shared fs path but it turns out that we do reply on shared fs path even if there is no file system to share.

/test

/test

The two failed ci are unrelated and tracked at https://github.com/kata-containers/tests/issues/2594 and https://github.com/kata-containers/tests/issues/2592

@jcvenegas and @likebreath there is an issue with the ci of clh-k8s could you please take a look?

@GabyCT I believe the clh-k8s-crio is still work-in-progress, and we should be able to ignore its failing for now. @jcvenegas Please correct me if I am mistaken on it.


Need to disable swipe button aciotns?

I have created swipe buttons with following image

I need to disable particular button actions in certain situation.is this possible?
Ex:I don"t want to do share button action in certain situation.

I have done with help of stack overflow
http://stackoverflow.com/questions/33119947/need-to-disable-particular-button-in-swipe-cell/33121691?noredirect=1#comment54057135_33121691


New start script to start local server

I added a small script that will start a server to locally serve the Prism website.
The scripts for loading headers and footers don't work with the file:/// protocol, so it can be quite cumbersome to check changes made to the website without firing up a local server. This script is just a convenient way to start a server.

Merhaba herkese, yerel sunucularımı github kuruluşunu prsizmajs başlatmamda yardımcı olabilir misiniz?

Yerel sunucu başlatmak

@kadirselcuk Please comment in English only.
I tried to Google-translate your comments, but your first comment wasn't very understandable.


[Custom iOS Component] Error setting property

Hey guys, trying to get my first view component going. I'm getting this error:
2015-08-25 18:09:13.107 [error][tid:main][VideoPlayerViewManager.m:13] Error setting property 'url' of VideoPlayerView with tag #8: VideoPlayerView does not have setter for url property
Am I missing something? I've declared the url variable on my implementation. Here's my View.

#import "VideoPlayerView.h"

@interface VideoPlayerView ()

@property (nonatomic, retain) AVPlayerViewController *avPlayerViewcontroller;
@property (nonatomic, retain) UIView *view;

@end

@implementation VideoPlayerView
{
  NSString *url;
}

- (instancetype)init {

  if (self = [super init]) {

    AVPlayerViewController *playerViewController = [[AVPlayerViewController alloc] init];

    playerViewController.player = [AVPlayer playerWithURL:[NSURL URLWithString: url]];

    self.avPlayerViewcontroller = playerViewController;
    [self.avPlayerViewcontroller setShowsPlaybackControls:YES];

    self.avPlayerViewcontroller.view.frame = CGRectMake(0, 0, 320, 240);

    [self addSubview:playerViewController.view];
    self.autoresizesSubviews = TRUE;

    [self.avPlayerViewcontroller.player play];
  }

  return self;
}

@end

Much help appreciated!

I resolved this.
Needed to add this to set the URL
- (void)setUrl:(NSString *)url


Add service_type ad a required variable on vpc endpoint module

Is your request related to a new offering from AWS?
No

Is your request related to a problem? Yes.
Trying to create a dynamodb endpoint without specifying the service_type like this
    dynamodb = {
      # gateway endpoint
      service         = "dynamodb"
      route_table_ids = flatten([module.sftp_vpc.intra_route_table_ids, module.sftp_vpc.private_route_table_ids, module.sftp_vpc.public_route_table_ids])
      tags = merge(
        {
          "Name" = "dynamodb-vpc-endpoint"
        },
        local.tags,
      )
    },

it will return with an error response no matching VPC Endpoint Service found
Adding the service type like this
    dynamodb = {
      # gateway endpoint
      service         = "dynamodb"
      service_type    = "Gateway"
      route_table_ids = flatten([module.sftp_vpc.intra_route_table_ids, module.sftp_vpc.private_route_table_ids, module.sftp_vpc.public_route_table_ids])
      tags = merge(
        {
          "Name" = "dynamodb-vpc-endpoint"
        },
        local.tags,
      )
    },

it works successfully
Describe the solution you'd like.
A default value for service_type or a detailed error message.

You need to specify service_type which is required for some VPC endpoints. There is nothing we can do in this module.


Add presolve

Pulls the presolve code out of https://github.com/dwavesystems/dimod/pull/1258
Includes the commits from https://github.com/dwavesystems/dimod/pull/1263
Closes https://github.com/dwavesystems/dimod/pull/1258 as redundant.

Note: I think this will likely actually made made as a PR to https://github.com/dwavesystems/dwave-preprocessing but will leave it here for now.

Replaced by https://github.com/dwavesystems/dwave-preprocessing/pull/47


Stop auto flush previous rules when we are adding new rules

I am really appreciating your work for nft-geo-filter. good job.
Can you please help me out?
When we are trying to add new nft rule then all previous added rules are flushed automatically. So I want to know how can we stop it.
Can we manage it with Database or with text file? like if we can store data somewhere.

By adding a new nft rule, do you mean you're running nft-geo-filter again? Or do you mean you are adding your own custom rules to the nft-geo-filter table?

Thanks for your reply.
No, I am not adding any my  custom rules.
Yes, for add new rule I am again running nft-geo-filter.
I.e. :  I have add country US for blocking IP's then after if I need to add another country like CA then first added rules are flushed automatically.

Yeah, unfortunately that doesn't work. You can easily specify all the countries that you want to block at the same time. Reading the current contents of any existing table just adds more complexity for not a lot of gain. I don't think I'll be adding that functionality any time soon.

Closing this issue. Please open another one if you come across any problems.


[.Net SDK] Pass User Login Information from Sharepoint to Chat Bot Web  app

We build a Chabot using C# bot framework  and embedded in a Sharepoint site using following script.

Hi, am also trying to achieve the same please let me know if this functionality is already achieved.

Thank you for opening an issue against the Bot Framework SDK v3. As part of the Bot Framework v4 release, we’ve moved all v3 work to a new repo located at https://github.com/microsoft/botbuilder-v3. We will continue to support and offer maintenance updates to v3 via this new repo.
From now on, https://github.com/microsoft/botbuilder repo will be used as hub, with pointers to all the different SDK languages, tools and samples repos.
As part of this restructuring, we are closing all tickets in this repo.
For defects or feature requests, please create a new issue in the new Bot Framework v3 repo found here:
https://github.com/microsoft/botbuilder-v3/issues
For Azure Bot Service Channel specific defects or feature requests (e.g. Facebook, Twilio, Teams, Slack, etc.), please create a new issue in the new Bot Framework Channel repo found here:
https://github.com/microsoft/botframework-services/issues
For product behavior, how-to, or general understanding questions, please use Stackoverflow.
https://stackoverflow.com/search?q=bot+framework
Thank you.
The Bot Framework Team


(BOLT-969) Exclude cache tmp directory from purge

Previously when purging the temporary directory for downloading task files (weekly or on startup) the tmppath directory itself was deleted resulting in errors downloading files. Instead of deleting the temporary directory during a purge delete only the contents of the temporary directory.

CLA signed by all contributors.


Scale about the BVH file converted from FBX file

Hi, thanks for the inspiring work!
I have a question about the scale ratio between the BVH file converted from FBX file with the original FBX 3D mesh. It seems the scale is not the same when I import them into blender.
Thanks!

Hi, I also had the same problem. But in my experience the scaling the skeleton imported from bvh by 0.01 and rotating it along some axis for 90 degrees should align it to the 3D mesh. I'm no expert of FBX file, but I guess there is some property specifying the rotation and scaling in the file and it might be abandoned by blender when exporting as bvh file.

Yes, I import them together to blender and also feel like some number around 0.01 is the right ratio but without rotation, I converted the corresponding FBX to the keypoints coordinates and I attach a screen shot here. The keypoints are like a tight cage of the mesh. So maybe that is a little smaller than 0.01.


GH-3 Fix scripts to properly treat special symbols

[x] I understand that contributing to this repository will require me to agree with the CLA

Description
Variables containing special symbols are now treated as strings by enclosing them in quotes.
What type of PR is this? (check all applicable)

[ ] 🍕 Feature
[x] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[x] 🔁 CI

Related Tickets & Documents
https://linear.app/anytype/issue/GH-3/fix-scripts-to-properly-treat-special-symbols
Mobile & Desktop Screenshots/Recordings

Added tests?

[ ] 👍 yes
[ ] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[ ] 📓 tech-docs
[ ] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

@any contributor @jmetrikat tooling


'load_csv_with_header' no longer works. Please suggest a solution.

I've been trying to run the tutorial program on IRIS data set and everytime when I try to run the program am seeing this error.
'module' object has no attribute 'load_csv_with_header'
Please suggest me how to solve this.

Could you paste the full stack trace of exception?

Please provide details about what platform you are using  (operating system, architecture). Also include your TensorFlow version. Also, did you compile from source or install a binary?  Make sure you also include the exact command if possible to produce  the output included in your test case. If you are unclear what to include  see the issue template displayed in  the Github new issue template.
We ask for this in the issue submission template, because    it is really difficult to help without that information. Thanks!

@reedwm  Thank you for the reply. I'm using Ubuntu 16.04 64-bit.  Tensorflow version 0.9.0. I copied the code and saved it as peptide_trail.py. and I run this code with this command. I activated tensorflow with the following command. (source activate  tensorflow). After that I run this program with this command.
(python peptide_trail.py). then I got the error saying
AttributeError: 'module' object has no attribute 'load_csv_with_header'

I assume you're referring to the tutorial here. Upgrade to the latest version of TensorFlow, 1.3. I'm guessing the problem is that your TensorFlow version is too old.

@reedwm  I just updated my tensorflow and tried to run the program again. But, The error is completely insane. I don't understand why my university website link is in the error. Could you please explain me what's the error saying?
here is the error: (Filename is iristutorial)
Traceback (most recent call last):
File "iristutorial.py", line 87, in
main()
File "iristutorial.py", line 38, in main
features_dtype=np.float32)
File "/home/chandrasekhar/anaconda2/envs/tensorflow/lib/python2.7/site-packages/tensorflow/contrib/learn/python/learn/datasets/base.py", line 48, in load_csv_with_header
n_samples = int(header[0])
ValueError: invalid literal for int() with base 10: "<body"

My guess is that your university has some sort of login page before you can access the internet, and that the program is downloading the login page instead of the datasets. Try manually downloading the datasets in a web browser.
Ask on StackOverflow if you have more questions.


Create a repo: anoncreds-revocation

Please include:

GitHub repo to create: anoncreds-revocation
Project to be added to: AnonCreds
Teams with which access: (examples on GitHub team list)
* Same as for anoncreds-spec

Team name:
Role:

Read
Triage
Write
Manage
Admin

Thanks!

enjoy! Please create a MAINTAINERS.md file.


fix(position): fix positioning when input is hidden

Description of the issue
When you try to link Coloris to an hidden input, the Color picker is displayed at the top left corner of the screen
Example

  <input id="color-input-id" type="hidden" value="#FF3344"/>

Please submit to https://github.com/mdbassit/Coloris


at introduced without explanation

This is a great resource, thanks!
In implication world level 2/11
Objects:
yx: ℕ
Assumptions:
h: 0 + x = 0 + y + 2
Goal:
x = y + 2

the hint says "Rewrite zero_add at h twice, to change h into the goal."
At that point I hadn't yet encountered the concept of rewriting an assumption as opposed rewriting to the goal yet, so I didn't understand what was being asked of me. I eventually figured out the syntax was just rewrite [zero_add] at h with the help of chatgpt.

Thanks for reporting, and sorry we only fixed the wording now.

Fun fact, @not-abram and I just today encountered this issue and were going to make a pull request to address it. My guess is that there's a build process that hasn't run to update the live site yet.
However, our thought was that rather than explicitly suggesting the full rw [zero_add] at h snippet in the commentary, this might be a good opportunity to suggest to players to look at the built-in documentation for rw. Something like:

We can use the rw tactic to change not just a goal, but also to change our hypotheses. To learn how to rewrite at a hypothesis, check the summary for rw by clicking it in the right sidebar. Two rewrites of zero_add at h should do the trick here.


Minor UX fixes for custom notebook images

Closes #1769
Description

Fixes the issues mentioned above.
For the first issue, add some modifiers to the table column:
https://github.com/opendatahub-io/odh-dashboard/assets/37624318/ec6f3185-a8b1-4a1f-8918-131be6d6a50d
For the second issue, filter the blank entry of the packages/software out when users import/update the image.
For the third issue, add the disabled input field for the image location when user edit the image:

cc @vconzola Please check the updates when you get a chance.
How Has This Been Tested?

Try to shrink the window size, and make sure the Enabled field is not wrapped
Try to create/update a notebook image, give it some blank entries (no name and no version) in the packages/software, and submit. Edit the image, and make sure those empty entries are removed
Edit a notebook image, you should be able to see the image location now but with a disabled status because it cannot be edited after creation

Test Impact

N/A
Request review criteria:

Self checklist (all need to be checked):

[x] The developer has manually tested the changes and verified that the changes work
[x] Commits have been squashed into descriptive, self-contained units of work (e.g. 'WIP' and 'Implements feedback' style messages have been removed)
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[ ] The developer has added tests or explained why testing cannot be added (unit tests & storybook for related changes)

If you have UI changes:

[x] Included any necessary screenshots or gifs if it was a UI change.
[x] Included tags to the UX team if it was a UI/UX change (find relevant UX in the SMEs section).

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

Not sure if descriptions ping people, just in case @vconzola FYI

/lgtm
Tested the changes in the UI and it works as expected, code looks great.

/approve


Idea: selector based dark mode support

Hey 👋 . It's me again. I know I proposed previous version of dark mode https://github.com/remcohaszing/rehype-mermaid/issues/6. But here is one more twist to it.
In case of selector based dark mode (so people can select in the dropdown: dark, light, auto) picture doesn't work. See https://github.com/withastro/starlight/discussions/1829
Maybe we can add option for selector based dark mode. Generated HTML can look like this:

And CSS for it can look like this:
html[data-theme="light"] .mermaid-dark {
  display: none;
}

html[data-theme="dark"] .mermaid-light {
  display: none;
}

I know this may be too specific request. Up to your consideration

I feel like it would be better to solve this with a new rehype plugin, which changes all responsive <picture> and <video> elements to a class based approach.

Yep, makes sense. 👍

Just realized that this approach would work for inline-svg strategy

That’s an interesting point. I’m not really sure how I feel about it.

Just in case: I do not insist. I see how this can be very specific requirement, which doesn't fit in the project. This was thought out loud


Fix issue where WinUI C# and C++ item templates are not appearing in WinUI projects

Problem
In a previous PR, I attempted to prevent the WinUI C# templates from appearing in projects unrelated to WinUI. To do so, I set the ShowByDefault property to false. When this property is false, the decision to show/hide the item templates falls to the AppliesTo and TemplateGroupID properties.
The C# templates currently hold the value CSharp + SharedAssetsProject. However, an examination of the capabilities for a WinUI project reveals that SharedAssetsProject is no longer present:

The C++ templates currently hold no value for AppliesTo and TemplateGroupID.
Solution
For the C# templates, we can adjust the value for AppliesTo to be CSharp + WindowsAppSdk.
For the C++ templates, we can add the property AppliesTo with value VisualC + WindowsAppSdk. We can also add the property TemplateGroupID with value WinRT-Native-UAP, which comes from this table (link):

C#

C++

Work Item
https://github.com/microsoft/microsoft-ui-xaml/issues/7148

/azp run

I think it broke again in Version 17.3.0 Preview 2.0

I think it broke again in Version 17.3.0 Preview 2.0

@TRadigk Could you explain what you mean? This fix hasn't been released yet so it shouldn't be possible for it to have regressed.

@evelynwu-msft Hello. Sorry to disturb you.
I use VS 17.3 preview 2 but the same issue encountered.
Pictures:
Template missing:

The elementary WinUI VS extensions has been installed:

I use VS 17.3p2:

Templates has been successfully installed.

I don't think that the issue has been fixed in the current version. 😞

I think it broke again in Version 17.3.0 Preview 2.0

@TRadigk Could you explain what you mean? This fix hasn't been released yet so it shouldn't be possible for it to have regressed.

Thanks for the information. I was quite certain I had no trouble working with the templates recently, thus assuming prior the latest VS preview update.
Do you know of any workaround, to get it working until the fix is released? Re-installing the extension doesn't do the trick. I am glad I can continue most of my tasks in VS 2022 non-preview, so I am rather curious than limited by VS 2022 preview.

@TRadigk This will be addressed in the upcoming servicing update for 1.1. Unfortunately, the only workaround until then is to install the WinAppSdk 1.0.4 extension (C# Visual Studio 2022 extension and C++ Visual Studio 2022 extension) and manually upgrade the package version when creating a new project (the package upgrade step can be skipped if you're working with an existing project).

@TRadigk My mistake, the servicing update with the fixed templates has already been released; updating your installed extension to 1.1.2 should resolve this problem for you: C# Visual Studio 2022 extension and C++ Visual Studio 2022 extension.


Added SendAsync templates for cleaner method calls.

Instead of writing:
await Connection.SendAsync(new InvocationDescriptor { MethodName = "SendMessage", Arguments = new object[] { Connection.ConnectionId, "Hello World" } });

You can now type (up to 16 arguments) with templates:
await Connection.SendAsync("SendMessage", Connection.ConnectionId, "Hello World!");

Conflicts have been resolved.


Takes 5 mouse clicks to set final time and simulate using the quick "run" button

It seems unreasonable to me that using the Run button's drop-down arrow (upside down triangle) to see the "End time..." option, requires opening another entry window (at some random location on the screen) to type in the desired value and hit OK, to then come back and hit the "run" button.
It is faster with less mouse travel to click Tools->Forward Dynamics ... ->Type in a final time->Hit Run. I find myself doing that most of the time. Can we fix this in 4.0?
The Run drop down-option should have a text field next to End time so that it is: "End time = " _______ . You type in the field right there, hit enter to set the final time and close the drop-down, and click to run. Click-type-click seems sufficient.

The Run drop down-option should have a text field next to End time so that it is: "End time = " _______ .

"End time" is incorrect: the label should be "Duration". Currently, if you set "End time" to 5 seconds, click the :running_man: button, play the animation (so the time shown is 5 seconds), and click the :running_man: button again, another 5-second simulation is executed. If the user were truly setting the "end time", then no simulation would be run.

I also recommend changing the default duration to something less than 1000 seconds. An extremely long duration might make sense if the simulation/animation were being computed/displayed in real time, but they are not.


Protect flush with wait group, ensure ordering

Hey,
it looks like when you call flush in main function, which is a practical thing to do (you want to ensure that data is sent when microservice is shutting down or on panic), it sends a bool into the flush channel which blocks, but then the lock is released as soon as the receiver gets the boolean from the channel and program exits. The receiver has no chance to actually send the data, sending will likely be interrupted or won't even start. This results in lost events. Example:
func main() {
	logger := getLogger("test")

	defer logger.Sync()

	logger.Info("an info message")
	logger.Info("an info message")
	logger.Info("an info message") // Might not be sent
}

The example actually sends nothing if you put the logger into batch mode. The first commit in this PR adds a wait group so Sync/Flush calls are blocked until data is sent.
The second commit fixes batch mode. The sendBatch function has a mutex for the whole body but yet it is executed always in a separate goroutine. This means there is no benefit of concurrency and spawning new goroutine makes no effect. The change cleans up the code and ensures a more logical producer-consumer design pattern: one (or more) goroutines send events, a single goroutine does the processing.
The third commit fixes ordering issue, previously flushing was indicated via a separate channel received via select statement, however, I can pretty much reliably reproduce lost last message when there are two events waiting in both ch and flush channels but select statement picks flush first. The result is that the last message is actually lost rendering the sync function not doing what it should do - the remaining event(s) are never sent.
While I haven't reproduced the exactly same reported behavior, this might actually fix an existing bug filed as https://issues.redhat.com/browse/RHCLOUD-16717.

There is one more problem with Sync which I can fix as a followup:
Flush is a separate channel received via select statement, however, I can pretty much reliably reproduce lost last message when there are two events waiting in both ch and flush challens but select statement picks flush first. The result is that the last message is actually lost rendering the sync function not doing what it should do.
A fix can be as easy as using the same channel as events for the flush event, I have a fix locally that works with nil.

@lzap Looks good to me! Thanks for submitting this fix.

Thanks @lzap !


Datepicker not being cleared when model variable is unset

Hello! I used the following code in my view:
<mdp-date-picker ng-model="ctrl.date"></mdp-date-picker>
When I set ctrl.date to 'undefined', the datepicker kept the old date value on the input, but, when I accessed the variable, it had no value. I know the variable is being set to undefined correctly, but how do I reflect this change on the input? Do I have to use another way to reset the datepicker?
Thanks in advance!

I read this issue: https://github.com/alenaksu/mdPickers/issues/61 and, though it might be related, I'm not sure if it's the same problem.

I'm having the same problem :(

this solution solved my problem,
https://github.com/alenaksu/mdPickers/pull/75
thank you @benelliott


Jobs do not handle secret rotation

Currently, if the secrets in KeyVault change, the NuGet jobs never fetch these new secrets. The jobs need to handle changing secrets by regularly refreshing their cached secrets.

These jobs must be validated that they work with a changed stats db login after deployment.

[ ] AggregateCdnDownloadsInGallery
[x] RollUpDownloadFacts
[x] ImportAzureCdnStatistics


Docs: github-mode: Hint at different env var names

The NEXT_PUBLIC_KEYSTATIC_GITHUB_APP_SLUG is only the right name for Next.JS integrations.
This PR adds a hint for Astro users to look out for a different variable.

Side note: I wonder if this condition should be extended to handle both variables as well https://github.com/Thinkmill/keystatic/commit/618ba4aa2932bd9b1c6e73d72ff24bf1e550b4ff#diff-8b4b55d3c75b76109c771dcd8a01e1b1339c07b753bb409b93e71df2f9d4d2cfR91

Side note: I wonder if this condition should be extended to handle both variables as well https://github.com/Thinkmill/keystatic/commit/618ba4aa2932bd9b1c6e73d72ff24bf1e550b4ff#diff-8b4b55d3c75b76109c771dcd8a01e1b1339c07b753bb409b93e71df2f9d4d2cfR91

No, this was a specific thing to give users a hint at what might be going wrong because that commit required updates to both @keystatic/core and @keystatic/next but not other framework packages


Extension page blocked for being insecure?

Downloaded the Windows x64 binary release of 'Ungoogled' and found that there was a link to install extensions.
When I click this link, it blocks the site.
http://i.imgur.com/XCZYuuX.png
I was trying to figure out whether or not it's possible to install Adblock Plus or other extensions like that.
Is it?

All links from the browser's interface to Google are broken due to domain substitution. Even if you go to the Chrome Web Store page manually, you won't be able to use the interface to install extensions.
If you want to install extensions from the Chrome Web Store, you may follow the instructions documented in the FAQ. Otherwise, you can drag-and-drop crx files on the extensions page or load unpacked extensions after enabling the Developer mode checkbox.
Let me know if something doesn't make sense. Closing for now.


fix bug loading npsp settings when deployment ID is invalid

Critical Changes
Changes
Issues Closed
New Metadata
Deleted Metadata

**lurch: attach W-036190

Tracking W-036190


Adding target platform does not change publish profile

Does this occur consistently? Yes
Repro steps:

Create new function app
Deploy to Azure
Change target platform to x64 (Add Platform element to .csproj file)
Try to deploy - no changes are deployed
Clean bin directory
Try to deploy

Build is in x64, but publishing profile is still somehow pointing to the default location.
I do not know what needs to be done to tell VS Code which build to deploy, I thought that would be automatic.
Action: azureFunctions.deploy
Error type: Error
Error Message: Failed to deploy path that does not exist: d:\Dev\Projects\local\Functions\bin\Release\netcoreapp3.1\publish
Version: 0.24.0
OS: win32
OS Release: 10.0.19041
Product: Visual Studio Code
Product Version: 1.49.1
Language: en

Call Stack
Object.<anonymous> extension.bundle.js:1009:26730
fulfilled extension.bundle.js:1009:26222

Workaround is - clean manually (delete obj/bin), deploy, fail, copy Release from bin/x64/ into bin/, deploy again
There must be a better way.

@Darko-git This is  controlled by the "azureFunctions.deploySubpath" setting in .vscode/settings.json

Thank you - I think that the extension should update the target platform at destination as well. I found the setting in Azure Functions General Settings.