Includable metadata bundles

This attempts to resolve #298
This allows separate metadata to be defined under <data-path>/metadata/<id>.json and subsequently included in group definitions by using the metadata_include key and referencing metadata files by <id>.
Includes some docs and tests.

Rebased against master, /cc @dghubble

Thanks for your submission. Looks like a good attempt to implement the described idea in #298. We're not ready to commit to that api decision or prioritize time on that right this moment though. We're working on coreos-baremetal shipping as part of Tectonic Enterprise and I'd like to see the templating fully built out and merges and lists before committing on this one. This may simmer for a bit, but we should return to this later.

Sounds good, I may keep this merged into master on my fork and maintain it there for now as it solves my needs pretty well. I had planned on implementing support for merging lists and maps so I'll be sure to push it to this branch if its something you folks could use later down the road. Thanks for the great software!

I don't think its likely we'll build more any templating features into Matchbox itself. Client tools like Terraform or others handle this detail, leaving Matchbox to just authenticate clients, hold configs, and serve them to PXE booting machines.
Basically, letting this idea simmer, I don't think its the direction to go. Every app wants to be the templating layer. Matchbox won't remove its templating features, but isn't going to push and develop that use case imo.
Thanks so much for the effort. I'd be interested to hear opinions.


Add soramitsu/scale-codec-js-library

Proposal description
There is a list of SCALE codec implementations. I propose to append soramitsu/scale-codec-js-library into it. This project has a core library and a compiler for it. The whole stack is used in Iroha 2 JavaScript SDK. It is well-tested, but it needs more real-life usage experience to become better. I hope adding it to the implementations list might help with it.
Probably it is the most performant and the most type-safe JS implementation.
See its online documentation.

This page will be depricated in the main-md transition (happening soon!)
All libraries like this will be referenced and maintained at https://github.com/substrate-developer-hub/awesome-substrate - please check there for this lib and update if needed!


Fix core tokens values - textDecoration and letterSpacing

Describe the bug
We have some values in core tokens that will not work correctly in css.
For the text decoration we have a value like strikethrough  and it would not work in css, in css it should be named like line-through.

Tokens for letter spacing have values with % and they will not work properly in css as well:

Expected behavior
For the text decoration we have a value like strikethrough  and it should be replaced with line-through.
For the letter spacing proper values are like described here: https://developer.mozilla.org/en-US/docs/Web/CSS/letter-spacing

will be solved in epic #1005


Very very confusing

"Select Individual User Accounts with the Store user accounts in-app option to use ASP.NET Core's Identity system. This selection adds authentication support and doesn't result in storing users in a database. The following sections of this article provide further details."
There is no such option. There is only "Individual Accounts"

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

ID: 985b834f-534a-aba6-80a0-d8845adbfc25
Version Independent ID: d2b5a556-82a4-e939-be68-2357a3d4408f
Content: Secure an ASP.NET Core Blazor WebAssembly standalone app with the Authentication library
Content Source: aspnetcore/blazor/security/webassembly/standalone-with-authentication-library.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @guardrex
Microsoft Alias: riande

They changed the UI for the latest release of VS. The Store user accounts in-app option has been removed. The UIs of both VS and the Azure portal change regularly and without warning. I must walk doc myself, usually while working on something else, or have a UI change pointed out to me, as you have here, in order to catch them. I'll update this right now.


Fix spelling and grammar mistakes in README + more

Fixed multiple spelling mistakes and grammar issues
Fixed missing/incorrect words
Updated some sentence structures

All non-breaking changes.

@kratzky Edits to the text, you can merge


Play again button not apperaring in break breaker game

Describe the bug

When you open the break breaker game and lose at the starting without any score, the play again button is not apperaring after the game ends. And also the favicon is not present for the break breaking game.
Expected behavior

Play again button should be visible after the game ends in the first attempt ( without any score ).
Screenshots (Mandatory)

Additional context (Mandatory )
I would like to solve this bug.
Are you contributing under any open-source program ?

gssoc

@chaanakyaaM really good issue. you are assigned.

Could you add level1 label, thank you

Could you add level1 label, thank you

I will add the "lavel1/2/3" labels after the PR submission on the basis of the review . Don't worry . it's my responsibility.


KOGITO-5003: DMN editor removing edges for duplicate Decision Nodes on canvas

See: KOGITO-5003

Great found, @karreiro ! I gonna check this issue. Thank you!

Changes applied, @karreiro

@jstastny-cz Could you please take a look at this PR? (I could not spot any issue involving multiple DRDs, but maybe you catch something I missed) 😅

jenkins do fdb

@karreiro I honestly don't know what and how to build in this repository. Are the artifacts available somewhere for the PR?

@jstastny-cz I will build the (vsix) artifact, and left on this PR as soon as possible :-) (we're facing some issues to generate it locally based on a local path, but I'm coordinating it with the Foundation team, and as soon as possible I will generate it, and leave it here).

@jstastny-cz Here's the vsix plugin :-)
Here's the steps I performed to build it locally ;-)
# Build 'kogito-editors-java' (1/4)"
cd "/Volumes/Navi/Projects/forks/kogito-editors-java"
mvn clean install -T 6 -Denforcer.skip=true -Dcheckstyle.skip=true -DskipTests=true -Dgwt.compiler.skip=true

# Build 'kie-wb-common-dmn-webapp-kogito-runtime' (2/4)"
cd "/Volumes/Navi/Projects/forks/kogito-editors-java/kie-wb-common-dmn/kie-wb-common-dmn-webapp-kogito-runtime"
mvn clean install -Denforcer.skip=true -Dcheckstyle.skip=true -DskipTests=true

export EXTERNAL_RESOURCE_PATH__dmnEditor=/Volumes/Navi/Projects/forks/kogito-editors-java/kie-wb-common-dmn/kie-wb-common-dmn-webapp-kogito-runtime/target/kie-wb-common-dmn-webapp-kogito-runtime

# Build 'kogito-tooling' (3/4)"
cd "/Volumes/Navi/Projects/forks/kogito-tooling"
git fetch upstream && git checkout master && git reset upstream/master --hard

yarn bootstrap
yarn build:prod

# Build .vsix plugin (4/4)"
cd "/Volumes/Navi/Projects/forks/kogito-tooling/packages/vscode-extension-pack-kogito-kie-editors"
yarn run package:prod
open /Volumes/Navi/Projects/forks/kogito-tooling/packages/vscode-extension-pack-kogito-kie-editors/dist/

Hi guys,
Sorry to jump in but know that the FDB workflow was recently updated in https://github.com/kiegroup/kogito-editors-java/pull/54.
So, you need to rebase this PR with the main branch in order to get the updated workflows.
Also, keep in mind that the FDB workflow uploads the vsix file after successfully building kogito-tooling (even if IT tests fail).

Thank you for the heads up, @caponetto! :-)

@danielzhe could you please rebase? I would prefer to test with FDB produced vsix instead of a local build.


as! casts don't work on nil because the null type doesn't have macros

So, for nil, we still must use the function call cast syntax. :/

I'd note, that with type hints (#428, #435) it's not an issue.
This case is rather frequent when #declaring fields or locals, it's not convenient to type (have to type four additional characters compared to type hint syntax):
x = nil.as!(String)
#or
x = nil.as! String

comparing to:
x = nil:String
#or:
x:String=nil


OVSDB-server of SBDB cluster node takes 100% CPU

Hello Team!
OVS-2.17.7
OVN-22.03.3
We have a cluster of SDBD in 5 Nodes. When we make a load from NBDB/NorthD (making/deleting routers) we observe a strange behavior:
Some nodes (ovsdb-server) of the cluster spontaneously starts in 100% CPU
It could be one or two nodes, not leading, what is remarkable
Leading node and the rest nodes of the cluster remains in 20-30% CPU or even less
This happens for 3-10 mins
Usually, it is causing leader re-election
We have extended election-time for a leader re-election it gets better; re-election is not so frequent; ant yet we are still observing 100% for some node
Here are the very confusing lines from the logs for the nodes (ovsdb-server) with 100% CPU utilization:
2023-11-04T07:01:13.447Z|292408|poll_loop|INFO|wakeup due to 1-ms timeout at ../lib/reconnect.c:677 (72% CPU usage)
2023-11-04T07:01:13.448Z|292409|poll_loop|INFO|wakeup due to 1-ms timeout at ../lib/reconnect.c:677 (72% CPU usage)
Any clues are extremely appreciated!
Thnx in advance
Yours truly, George

Hello Team!
Update
We have extended logs to DBG level at the problem SBDB Node and it was found that there is a very Excessive monitor_cond_change request from ovn_controller of one of Network Nodes.
This request takes about 230Kb in Json. It has about 3k+ datapathes. But the uniq datapathes are about half of these, i.e. 1500+
It this a normal behavior I wonder? Or it looks like a bug?
Thnx in advance

Resolved by this hint: https://mail.openvswitch.org/pipermail/ovs-discuss/2023-November/052802.html
Strong Suggestion to OVN Team: change the default value of external_ids:ovn-monitor-all  from false to true

Unfortunately we cannot change defaults like that.  We have to keep ovn-monitor-all false by default to not affect users that didn't enable it before.  One visible change might be sudden memory usage increase for ovn-controllers.
The CMS already configures various other ovn-controller knobs in the local OVSDB, it could also explicitly set ovn-monitor-all=true if that's the desired way of monitoring.


Can we add https://prepack.io/ for webpack.prod.js

Can we add https://prepack.io/ for webpack.prod.js ?
prepack's webpack plugin
https://github.com/gajus/prepack-webpack-plugin

Prepack is still in an early development stage and not ready for production use just yet.

prepack isn't ready for production. When it is I will

Thanks


conflicts with textlayer module

Hi , thanx for great module,
have found conflict with https://github.com/awt2542/textLayer-for-Framer
sample here http://share.framerjs.com/2bkh9kqz2fgj/
click on field on bottom

I'll need to look into this closer, but I believe dynamic layout for some reason is touching the text layer, and it's accessing a prop of an undefined object constraints.
If you add t.constraints = {}, it'll work for the time being. Example: http://share.framerjs.com/4v1n4qv5gnnr/
Thank you for sharing! I'll try to figure out why this is happening.


Added DJI FC220 Camera (DJI Mavic)

Added the camera of the DJI Mavic based on VFX Data:
http://vfxcamdb.com/dji-mavic/

Cool thanks!


Flextype Core: add query functionality for fieldsets

We should have query functionality for fieldsets.
This will allow us to populate form controls values with data fetched from different sources.
for e.g.
title:
  title: Title
  type: text
  value: query
  query: registry.settings.title

moved to https://github.com/flextype-plugins/form/issues/4


fix: use types from BotBuilder

I wasn't aware of types from botbuilder-js instead of adding our own.
Talked with Shahin about #459. He had some comments in a review but didn't submit the review so I didn't see them and had already merged thinking it was settled.
There are larger concerns about using conversation references and extracting conversation id string from them instead of storing these ids separately and comparing differently typed objects, but this simple type change is good for start.

:tada: This PR is included in version 0.319.9 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


(WIP) (PUP-5114) Retrieve static file content via the code_id parameter

Things this still needs:

acceptance run (building a puppet-agent with the changes now)
full commit message
add some unit tests on the File side of things

Also I thought I pushed up a fix for the typo, but apparently I only committed locally

This looks to be working from my poking around with this branch. To get it to work, you need to:

Disable legacy_auth in puppetserver.conf
Add the following to auth.conf:

{
    match-request: {
        path: "/puppet/v3/static_file_content"
        type: path
        method: get
    }
    allow: "*"
    sort-order: 500
    name: "puppetlabs static file content"
},

You should then be able to observe the following behavior:

run an agent and get file content version 1 for some arbitrary file.
change that file on the server
remove that file on the agent
run the agent with --use_cached_catalog. The request will send the original code_id back to the server in the content request, and the file should be restored on the agent with the original content (not the newly changed server-side content)

:+1:

@MikaelSmith Is this wholly subsumed by #4689 ?

We think so.

Superceded by #4689


ts.get_stock_basics() does not work recently

print(ts.version)
0.6.8
ts.get_stock_basics()
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/tushare/stock/fundamental.py", line 54, in get_stock_basics
text = urlopen(request, timeout=1000).read()
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1228, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 111] Connection refused>

升级到最新版就可以了


Fixed User page Spacing and added translations

Proposed Changes

@ohcnetwork/care-fe-code-reviewers
Merge Checklist

[ ] Add specs that demonstrate bug / test a new feature.
[ ] Update product documentation.
[ ] Ensure that UI text is kept in I18n files.
[ ] Prep screenshot or demo video for changelog entry, and attach it to issue.
[ ] Request for Peer Reviews
[ ] Completion of QA

LGTM


Documentation updates (EN) including coloured pills

Removed Comments and Help articles
Fixed typos and inaccurate information
Added coloured pills wherever there are hex codes

Still some #FFFFFF pills in typography and #96A8B2 in button inputs that need to be switched.


Invisible quantities with high range of values

I'm using a PolarArea chart with values like [22, 50, 120]. The problem is that the segment relative to 22 is nearly invisible unless filtered in the legend. Is this considerable a normal behaviour?

(using v2)

@steoo right now it's normal. Once #1980 is fixed you can set the min to something lower and get the expected result.


fix: Created a new component for form-header used in each step

Description
Moved header code to a separate component.
Why

To optimize the codebase and eliminate duplication, it is recommended that the header section of each step be extracted into a separate component.
Registration processes contain repetitive header code across multiple steps, resulting in redundancy.
We can enhance code maintainability and reusability by isolating the header component, streamlining the overall development process.

Issue
Link to Github issue.
Checklist
Please delete options that are not relevant.

[ ] I have followed the contributing guidelines
[ ] I have performed IP checks for added or updated 3rd party libraries
[ ] I have created and linked IP issues or requested their creation by a committer
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally
[ ] I have added tests that prove my changes work
[ ] I have checked that new and existing tests pass locally with my changes
[ ] I have commented my code, particularly in hard-to-understand areas

@evegufy could you pls confirm whether changelog updates to be included in PR details or in the file?

@evegufy could you pls confirm whether changelog updates to be included in PR details or in the file?

it's fine to update the changelog, as there aren't so many conflicts to be expected as in the portal-frontend because there the number of PRs is much higher


Fix Gradient Visualization

Currently, instead of displaying the gradients norm we are showing the norm of the model parameters.
Problems in fixing this simply:

We are clearing the gradient buffers every time; this makes it impossible to track gradients for different losses.
Printing the gradient wrt only the last executed loss will lead to wrong inference on the part of the user.
Can't make gradients a property of the loss as it makes custom losses a nightmare to implement (we will have to impose a lot of constraints).

This can be fixed by storing the gradients of each parameter after going through the train_ops of each loss (as the gradient buffers are zeroed out at the beginning and not at the end). Will submit a PR once #62 is merged.


fix: Fix flush on automerge database

Current state of things:
vite is bundling wrong xstate version for automerge

#6430  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @mykola-vrmchk and the rest of your teammates on  Graphite


internal compiler error

Whenever I try to compile this lib it always fails at CallActor.cpp.o
[ 34%] Building CXX object CMakeFiles/tdcore.dir/td/telegram/CallActor.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
CMakeFiles/tdcore.dir/build.make:374: recipe for target 'CMakeFiles/tdcore.dir/td/telegram/CallActor.cpp.o' failed
make[2]: *** [CMakeFiles/tdcore.dir/td/telegram/CallActor.cpp.o] Error 4
CMakeFiles/Makefile2:155: recipe for target 'CMakeFiles/tdcore.dir/all' failed
make[1]: *** [CMakeFiles/tdcore.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

What compiler do you use?
What OS do you use?
How much RAM do you have?
What command do you use to build TDLib?

The error was I didnt have enough ram (just 1gb), compiled it on another machine with more ram and worked.
Now I'm facing another issue, will close this and open a new issue.


Test host is resolvable before trying to connect

Check host is contactable before progressing to give user quicker feedback. Also we don't need to retry if it's not a real host.
Fixes issue #209

:white_check_mark: Build ServiceBusExplorer 4.1.0-PullRequest0210.210.build.394 completed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/7a1583648e by @)


typo in #108

"clocked in black" should be "cloaked..."

Thanks for reporting. I made a fix in the latest story file.


NS uploads are intermittent.

I believe this is an old issue going back several iterations of FAX, iAPS etc but now seems to be in Trio too.
Uploads of data for the openAPS pill and predictions are intermittent.
I'm not sure it's relevant but I'm on TAI with Dash and Libre 2 and using Google to host NS.

Including COB here is probably unfair. Trio does upload carbs but they often (always?) don't show in the COB pill. That could be (probably is?) an NS function.

Including COB here is probably unfair. Trio does upload carbs but they often (always?) don't show in the COB pill. That could be (probably is?) an NS function.

COB pill history not showing is a NS issue, and there is an open PR for that if I remember correctly.

Including COB here is probably unfair. Trio does upload carbs but they often (always?) don't show in the COB pill. That could be (probably is?) an NS function.

COB pill history not showing is a NS issue, and there is an open PR for that if I remember correctly.

You're right. I've edited the issue. I think the predictions and openAPS pill issue is valid though.

hey 👋 - no triage is done for 30 days 🤐 ... anybody? triage is required!

Hi @JohnKitching
not entirely sure what intermittent means in this context. If you mean the pill is populated and then it's not, it can be because the default configuration of NS uploads for the NSDeviceState (what feeds the OpenAPS pill) is only built so that it uploads enacted oref determination data. This means whenever you run into a yellow loop situation, and that can happen quite often, e.g. bolusing a larger dose at the end of the cycle will prevent the next determination from being enacted, you will not see this data uploaded to NS.
This has since been updated, see https://github.com/nightscout/Trio/blob/dev/FreeAPS/Sources/Services/Network/NightscoutManager.swift#L319-L326 (notice that it uploads both suggested and enacted here). It was updated March 17. Your ticket dates to June 1st. TAI dev which you are running has that same change, see https://github.com/mountrcg/Trio/blob/dev-Tai/FreeAPS/Sources/Services/Network/NightscoutManager.swift
Be that as it may, the NS layer is more or less rewritten, as will be the persistence layer that feeds the app - all leading to better performance, also for uploading to NS. This is a post initial release thing, so not that much talk about it.

Addressed in TCD / Trio 1.0.0-dev.


Slider.label documentation should be clearer about behavior with continuous sliders

The documentation for Slider.label says:

A label to show above the slider when the slider is active.
It is used to display the value of a discrete slider, and it is displayed as part of the value indicator shape.

While it says that the label is used with discrete sliders, it doesn't actually say anything about continuous sliders.  The implication from omission is that labels won't be shown for continuous sliders (which I verified is the case), but it would be much clearer to explicitly say so, in the same way that the documentation later says:

Ignored if this slider is created with Slider.adaptive.

Also, why is the label limited only to discrete sliders anyway?

Okay, looking at the code, I see that by default, the label is shown only for discrete sliders, but labels can be enabled for continuous sliders by setting SliderThemeData.showValueIndicator in a parent SliderTheme widget.
Showing labels only for discrete sliders still seems like a weird default, and the documentation still should be updated to mention SliderThemeData.showValueIndicator.

Okay, looking at the code, I see that by default, the label is shown only for discrete sliders, but labels can be enabled for continuous sliders by setting SliderThemeData.showValueIndicator in a parent SliderTheme widget.
Showing labels only for discrete sliders still seems like a weird default, and the documentation still should be updated to mention SliderThemeData.showValueIndicator.

i think this should be changed. it's obvious developer wants to show a label if he provides it, why to force him to investigate this behavior and the end up with wrapping Slider with SliderTheme

i think this should be changed. it's obvious developer wants to show a label if he provides it, why to force him to investigate this behavior and the end up with wrapping Slider with SliderTheme

CC @clocksmith @JoseAlba

CC @clocksmith @JoseAlba


[FEATURE] Get-PnPSite DisableSharingForNonOwners Missing

Reporting an Issue or Missing Feature
I am reporting a bug
Expected behavior
Command Get-PnPSite -DisableSharingForNonOwners should return data simiarily to Get-SPOSite cmdlet

Actual behavior
Get-PnPSite doesn't return DisableSharingForNonOwners or any similar property

However, Set-PnPSite allows to modify DisableSharingForNonOwners

https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnpsite?view=sharepoint-ps

Steps to reproduce behavior
Connect-PnPOnline -Url https://tenant.sharepoint.com/sites/sitename -Thumbprint $cert.Thumbprint  -ClientId $appId -TenantAdminUrl https://tenant-admin.sharepoint.com/ ;
$siteConnection = Get-PnPConnection ;
Get-PnPSite -Connection $siteConnection | fl *owners* ;

What is the version of the Cmdlet module you are running?
PnP.PowerShell 0.3.38

Which operating system/environment are you running PnP PowerShell on?

[ x] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

The PnP PowerShell equivalent for Get-SPOSite is actually Get-PnPTenantSite. It was a bit of a rewrite but now the Get-PnPTenantSite cmdlet allows you to specify the DisableSharingForNonOwners switch.
It will be available in the next nightly release, 1.1.1-nightly, which you can install with Update-Module -Name PnP.PowerShell -AllowPrerelease or Install-Module -Name PnP.PowerShell -AllowPrerelease.

The PnP PowerShell equivalent for Get-SPOSite is actually Get-PnPTenantSite. It was a bit of a rewrite but now the Get-PnPTenantSite cmdlet allows you to specify the DisableSharingForNonOwners switch.
It will be available in the next nightly release, 1.1.1-nightly, which you can install with Update-Module -Name PnP.PowerShell -AllowPrerelease or Install-Module -Name PnP.PowerShell -AllowPrerelease.


fix(cloud_firestore): Revert "TransactionStreamHandler.java" to same implementation as Firestore version 3.1.6.

Description
See title.
Related Issues
fixes https://github.com/FirebaseExtended/flutterfire/issues/7988
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[ ] All existing and new tests are passing.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] The analyzer (melos run analyze) does not report any problems on my PR.
[ ] I read and followed the Flutter Style Guide.
[ ] I signed the CLA.
[ ] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

We're holding on this until we identify the underlying issue.

We're holding on this until we identify the underlying issue.

Bug fix is upstream of FlutterFire in the android SDK. Closing this. Please follow for updates: https://github.com/FirebaseExtended/flutterfire/issues/7988#issuecomment-1055371183


i2c: increase timeout for clockstretching

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


HAPROXY_0_MODE TCP

Why is marathon-lb still not able to set TCP Mode on Vhosts? This seems like a show-stopper for using this since enterprise networks are naturally cross-connected.

We are trying to configure vhosts with tcp traffic. Any update on this one?

vhosts are a HTTP (layer 7) specific concept. TCP mode is layer 4 which has no notion of vhosts only ips and ports.


MCS-280

Rotated the collision box system to be rotated with the receptacle as well (image attached).

Looks like the changes from https://github.com/NextCenturyCorporation/ai2thor/pull/62 are included here.  I'll try to focus on just the changes corresponding to MCS-280.


[#93498368] Fix parameter name: gengo -> mygengo

Not for_gengo, for_mygengo is.

Do you need to change this, too?
https://github.com/gengo/gengo-java/blob/4a6bce6a53ff41ea016b427de0b6baffcc53f095/src/main/java/com/gengo/client/payloads/Approval.java#L54

@ninotoshi Good catch Thank you!

LGTM

:+1: LGTM


Fix backward compatibility issue introduced in #38

See https://github.com/near-daos/sputnik-dao-contract/pull/38 for more context.
They've changed it in Transfer proposal type, but they forgot to change it in the bounty.

This should be replaced by https://github.com/near-daos/sputnik-dao-contract/pull/131


dataPoint schedule

Hello,
I have created a schedule via the Daikin Onecta app and would like to turn this schedule on/off via Node-Red.
According to the output I only need to set the schedule/modes/any/enabled value to true.
Theoretically, this should work:
msg.topic = "set";
msg.payload = {};
msg.payload.ssid = "DaikinAP12345";
msg.payload.managementPoint = "climateControl";
msg.payload.dataPoint = "schedule";
msg.payload.dataPointPath = "/modes/any/enabled";
msg.payload.value = true;
return msg;
But generates an error "Error: Communication failed 422"
Simple commands like turn the device on/off work, where is my thinking error here?
Greetings from Austria

I have not used schedules until now but I tried to reproduce.
This is not a bug within node-red-contrib_BRP069C4. This Node Red Node uses the library Daikin Controller Cloud from here which communicates with the Diakon Cloud and send the HTTP error 422. Since the issue is the same within other tools using this library (like iobroker) please raise a ticket there.

@DIY-Blub Here is also a more informational output when running Daikin Controller Cloud with DEBUG level.:
Mar 29 10:28:12 raspberrypi Node-RED[29715]: <-- BODY {"value":false,"path":"/modes/any/enabled"}
Mar 29 10:28:12 raspberrypi Node-RED[29715]: --> 422 FROM PATCH https://api.prod.unicloud.edc.dknadmin.be/v1/gateway-devices/XXXX/management-points/climateControl/characteristics/schedule
Mar 29 10:28:12 raspberrypi Node-RED[29715]: --> HEADERS {

Mar 29 10:28:12 raspberrypi Node-RED[29715]: --> BODY {"code":"INVALID_REQUEST","message":"[schedule] characteristic has its own endpoint. PUT /gateway-devices/{gatewayDeviceId}/management-points/{embeddedId}/schedule. Refer to API manual for detailed information."}
Mar 29 10:28:12 raspberrypi Node-RED[29715]: 29 Mar 10:28:12 - [error] [Daikin-Cloud-Controller:472df65b815d75d5] Error: Communication failed 422
Maybe you log the communication of your onecta app when enabling the schedule and check how onecta is doing that.


Module 1 exercises [KESEGO MOTSWASELE

Please "drag & drop" exercise 1 pdf file below.

Please "drag & drop" exercise 2 pdf file below.

Please UPDATE THE TITLE of this "Issue" in the title bar above with your name.

If you haven't done so, please go back to Module 1 and make sure to take
the post-training survey. Participating in surveys is required for receiving
the "GALUP Certificate" by the University of Florida.

EXERCISE 1 CASSIE.pdf
EXERCISE 2.pdf

Well done, Kesego. You clearly grasped the material outlined in Module 1 and successfully applied it to these exercises. Thank you for your participation! If you haven't complete the post-module 1 survey, please do so here


not able to see the apache info page

when I run publicipdreess/info.php i am   not able to see the apache info page
everything is working fine when I do SUDO CHEF-CLIENT added the screenshot for reference

this is my recipe
apt_update 'updateubuntu' do
ignore_failure true
action :update
only_if{ node['platform'] =='ubuntu' }
end
package_name = node['apache']['package_name']
package node['apache']['package_name'] do
action :install
notifies :enable, 'service[apache]'
end
service 'apache' do
service_name node['apache']['package_name']
action :nothing
end
packages = node['apache']['php_packages']
packages.each do |package_now|
package package_now do
action :install
notifies :restart, 'service[apache]'
end
end
cookbook_file '/var/www/html/info.php' do
source 'info.php'
action :create
notifies :restart, 'service[apache]'
end

hi shafiqshaik
please follow this instructions
goto your node and check the httpd package is installed or not
if installed then check the status of the service like service httpd status
if servie httpd status is active(running) then check your security group is opened port 80 or not.
please verify the above things and update the issue.

Can you share the screen shot of you security group in ec2
@srmanikanta  take the remote session and help him out, he stays in UK to my knowledge so in IST noon post 3:00 PM should be comfortable

call to lab assistance number.

I am manikanta please call to me whenever you are available on indian time.


Symfony Bundle

Hi @JayBizzle ,
thank you for this library!
Here is a Symfony 2/3 bundle which integrates this library with the same dependencies (ie PHP >=5.3.0).
I hope you'd like to add this link 😉 .
Cheers

Awesome, thanks! :heart:


Login page is not being localized

For Bug Reports

BookStack Version: 0.15.3
PHP Version: 7.1.4
MySQL Version: MariaDB 10.1.22

My user agent string:
Your Browser User Agent String is Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0
Operating System:     Linux
Platform:    UNIX
Internet Browser:    Firefox 53.0
Beta Version:    No
Connection Speed:    1.19 Mbps
Restrictive Firewall:    No
Local Date/Time:    4/26/2017, 11:14:36 AM
Language:    Russian
System Language:    Not detectable with this browser
User Language:    ru

Expected Behavior
The Login page is localized accordingly to my User Agent String
Actual Behavior
The login page is not localized I have all strings translated in resources/lang/ru/auth.php though.

Hi @sprnza, I must admit, I did not think about translations on the login page.
After a quick look around it looks like it may be best to use the Accept-Language http header rather than the user agent string?
Either way, I'll mark this as a bug to be fixed.


Add 'visible' to layer options

Related to: https://github.com/CartoDB/carto.js/issues/2004
Description
This PR adds visible to the layer options so people can create layers that are hidden by default.
It also improves the examples a little bit.

Working like a charm 🚀


Fix carriage returns.

@markrussinovich,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


New version: Oceananigans v0.80.0

Registering package: Oceananigans
Repository: https://github.com/CliMA/Oceananigans.jl
Created by: @navidcy
Version: v0.80.0
Commit: 503b8a721cf83b463994113cbef8eeb82369595c
Reviewed by: @navidcy
Reference: https://github.com/CliMA/Oceananigans.jl/commit/503b8a721cf83b463994113cbef8eeb82369595c#commitcomment-104457938
Description: 🌊  Julia software for fast, friendly, flexible, ocean-flavored fluid dynamics on CPUs and GPUs

hold on


Tinkers integration

Need to register:
Iron
Gold
Emerald
if molten redstone exists

Redstone

NBTTagCompound tag = new NBTTagCompound();
// Smeltery stuff since 1.7.1
/*
This part adds Smeltery melting. Give it an item, a block to render in the smeltery, the temperature required and the liquid to produce.
   For reference: Iron has temperature 600, Stone has 800, Water has 20.
   Melting duration is directly related to temperature required.
*/

// the item
item = new NBTTagCompound();
(new ItemStack(TinkerTools.materials, 1, 2)).writeToNBT(item); // seared brick item
tag.setTag("Item", item);

// the block to render
item = new NBTTagCompound();
(new ItemStack(TinkerSmeltery.smeltery, 1, 4)).writeToNBT(item); // seared stone block
tag.setTag("Block", item);

// liquid to produce. This time the amount DOES matter!
(new FluidStack(TinkerSmeltery.moltenStoneFluid, Construct.ingotLiquidValue/4)).writeToNBT(tag);

// the temperature required
tag.setInteger("Temperature", 850);

FMLInterModComms.sendMessage("TConstruct", "addSmelteryMelting", tag);

See if we can force integrate into it via reflection.


error: flag provided but not defined: -header

./vegeta -header=Content-Type:application/json  attack -targets=target.txt -body=body.json -rate=100 -duration=10s | ./vegeta report |more
flag provided but not defined: -header
Would really appreciate any advice..
./vegeta -version
v6.3.0

That flag needs to come after the command name.

had overlooked that ..works fine Thanks! 👍


SpecGlossVsMetalRough.gltf does not displayed correctly

Describe the bug
I tried to display SpecGlossVsMetalRough.gltf with filament v1.3.2.
However, the model does not displayed correctly.
To Reproduce
filament v1.3.2 + SpecGlossVsMetalRough.gltf result
Expected behavior
The left and right models are expected to display the same results.
Screenshots

Desktop (please complete the following information):

OS: Windows 10 Version 1903 (OS Build 18362.295)
GPU: Intel HD Graphics 520
Backend: ANGLE
Browser: Chrome 76

I confirmed that this problem has been fixed in the latest version of filament.
filament latest version + SpecGlossVsMetalRough.gltf result:


Update the PIP build process to package from either bazel or cmake.

This lets us just build once (when primarily packaging for TF).

This created a dependency from bindings on tensorflow, which seems like a layering inversion to me. Can we keep any TF stuff out of core? Maybe move this file back to the integrations/tensorflow directory?


 Also addresses a number bugs surfaced by the conformance tests.
Fixes issue #636.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Overall it looks good. I do have one question though.
You've made a "Binary", "Text", and "Any" implementation for the "Raw", "System", and "Application" readers. Is there any reason that the text and binary distinction has to be pushed up that far? Would it be possible to create a RawAnyReader that is an enum of binary and text raw readers so that higher levels of readers can have just one implementation?

The old reader uses a Box<dyn IonReader> to abstract over the raw reader and format, and unfortunately it adds a really substantial amount of overhead. A quick test I threw together showed it was about 25% slower than using static dispatch with a single format. The Any readers use enum dispatch, and my assumption is that it will be far faster than dyn (branch predictors are great!), but I haven't quantified the performance impact yet. If it's a slowdown, users focused on performance will probably want the option to work with a format-specific reader.
Note that LazyApplicationReader<D> is pub no matter what, so we're really just talking about what type aliases to provide.


False Positives Returned

I've noticed that ag yields a false positive.
Reproduction Guide
# Grab yourself a copy of linux (I was working on the given commit)
mkdir linux && cd linux && git init
git remote add origin https://github.com/torvalds/linux.git
git fetch --depth 1 origin 89f5e14d05b4852db5ecdf222dc6a13edc633658
git checkout FETCH_HEAD

# Run ag searching for a certain fadvise.sh
ag -l -u -Q foo . | grep fadvise.sh

You will notice that this spits out
tools/perf/trace/beauty/fadvise.sh

Searching with grep, however, shows that there is no mention of foo within fadvise.sh.
grep foo tools/perf/trace/beauty/fadvise.sh

yields nothing.
System Details
ag --version
ag version 2.2.0

Features:
  +jit +lzma +zlib

uname -a
Linux fedora 6.10.10-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 12 18:26:09 UTC 2024 x86_64 GNU/Linux

cat /etc/os-release
NAME="Fedora Linux"
VERSION="40 (Workstation Edition)"
ID=fedora
VERSION_ID=40
VERSION_CODENAME=""
PLATFORM_ID="platform:f40"
PRETTY_NAME="Fedora Linux 40 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:40"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f40/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=40
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=40
SUPPORT_END=2025-05-13
VARIANT="Workstation Edition"
VARIANT_ID=workstation

dnf info the_silver_searcher
Name         : the_silver_searcher
Version      : 2.2.0^2020704.5a1c8d8
Release      : 8.fc40
Architecture : x86_64
Size         : 122 k
Source       : the_silver_searcher-2.2.0^2020704.5a1c8d8-8.fc40.src.rpm
Repository   : @System
From repo    : fedora
Summary      : Super-fast text searching tool (ag)
URL          : https://github.com/ggreer/the_silver_searcher
License      : ASL 2.0 and BSD
Description  : The Silver Searcher is a code searching tool similar to ack,
             : with a focus on speed.

Current Progress
I have not performed any investigation where this unexpected result may be coming from.

And actually, as a matter of fact, the number of false positives is significantly larger than that singular file. I'm attaching a list of false positives.
false_positives.log
The same strategy as described in the main issue body can be employed to confirm these are in fact false positives
cat false_positives.log | xargs grep foo

yields nothing.
The false positive rate is 844/99138 (where 99138 comes from find -type f | wc -l) which is about 0.85%.

Just trying doing the search directly, and the issue should be clear:
$ ag foo tools/perf/trace/beauty/fadvise.sh
# reliably process on arch FOO a perf.data file collected by 'perf trace

ag uses "smart case" by default, where case insensitive search is automatically enabled in some cases (e.g., when the pattern does not contain any uppercase characters). -s will disable it:
$ ag -s foo tools/perf/trace/beauty/fadvise.sh
$


Provide a way to load data via a URL

Operators have requested the ability to invoke the load_data and load_granule lambda functions via an API call or curl. We may need to add support via something like this: https://docs.aws.amazon.com/lambda/latest/dg/lambda-urls.html

I like the idea of the Lambda URL but it looks like each HTTPS request needs to be signed with "AWS Signature Version 4 (SigV4)". And as I was reading through the documentation I found the process to be a little confusing but maybe it is easy to use once we figure out?
Another option might be to invoke the granule with AWS CLI, like so:
aws lambda invoke \
    --cli-binary-format raw-in-base64-out \
    --function-name svc-hydrocron-{venue}-load_data-lambda \
    --invocation-type Event \
    --profile {name_of_aws_profile} \
    --payload ''{"body":{"table_name": "hydrocron-swot-reach-table", "start_date": "2024-01-25T00:00:00", "end_date": "2024-01-30T23:59:59", "obscure_data": "False", "load_benchmarking_data": "False"}}' \
    lambda-out.json

I don't think modifying the payload parameters is too bad since there are not a lot required.

FYI.  We are very familiar with the CLI for HiTIDE Backfill Tool that gets deployed to our on-premise OPS machine and submits backfilling jobs for Forge/TIG/DMRPP to the Services OPS venue.  Jim and Simon have incorporated several improvements for us in their CLI tool.  That would be another option if the default AWS CLI command doesn't work.

Agree with @nikki-t that short term aws cli lambda invoke would be the preferred way to start the lambda programmatically. An ops CLI tool could be scoped out and developed as well.
I don't think we want to enable load data via URL because that gets into Authentication and Authorization concerns very quickly.


how to login with local accounts instead of google SSO?

For some reasons, we cannot use google SSO in China, anyone can help?

You can use auth0 or integrate your own oauth provider by using omniauth
in our solution we use Barong for login: https://github.com/rubykube/barong


Tailwind 1.2. Replace transition and transition-fast classes with new equivalents

As mentioned, I replaced transition with duration-200 ease-in and transition-fast with duration-100.
Fixes #74

That's beautiful, thank you!


Misc

Hey @JesseRWeigel ,
In this PRs I have added the submit form that is used to announcement. I am not sure of the backend of it so I have not made that. Tell me your plan at the live stream. It looks something like this.

Other tweaks:

I have added reactive icon on change layout button. It will change according to the layout selected
Added other navbar links as show in you template.
Handled connection promise rejection on the server

HOPE THIS HELPS YOU,
                 HARSHIT

Awesome! Thanks @pantharshit00 !


Problem when compile Xcode 9

I believe this is just a detail that needs to fix.

I made the changes in the https://github.com/vanyaland/IMNetworkReachability/pull/3

installation through cocoapods still gives the same error.

@DeepakSingtel works fine for me via CocoaPods installation (Swift 4, Xcode 9.2).
What version of the Swift are you using? May be broken in Swift 3.X.

Released new version
Sent with GitHawk

I was on Swift 3.2 as some libraries I use don't support swift 4 yet. And I compiled changing to swift 4 and it gave me same errors. After clean build IMNetworkReachability was fine but other libraries broke.


Hotfix for develop branch

check_resource_mode() function is missing in hs_core due to merge with release branch. Other resource types depend on this function.

hotfixes merged


Update 3.6

Updating branch that uses dubugpy 1.5.1 with last changes

I can't follow what the purpose of this PR is. I see changes around justMyCode defaults, renames related to the extension name, and changing the version of Debugpy (while tweaking some actions). I feel like there are 3 or more PRs all wrapped into one here.

With https://github.com/microsoft/vscode-python/commit/3e7593712f3b58527bb38261992b845d358c079c having landed, is this PR still relevant? If so, should it be prioritized?


modifying logging test classes for compatibility with functional tests

Closing this one. Tests have been moved to their own assembly already.


Initial setup, porting/adapting model code from flusion-experiments

This PR does the following:

Initial package setup with things like the readme and pyproject.toml.
move modeling code for sarix and gbqr over from flusion-experiments
adapt that code to be organized around two classes: sarix.SARIXModel and gbqr.GBQRModel.

For now, each takes a config object with model settings on instantiation, and has a run method that takes another config object with model run settings.
I'm thinking that in this package, it likely makes sense to just have them accept a bunch of named keyword arguments rather than the config objects.  To do later.

Add some integration tests.

SARIX model runs are reproducible on different machines, so that test should pass everywhere.
GBQR model runs are not reproducible.  That test asserts equality of a data frame, and I expect it to pass only on my computer.  Automated tests run by github actions fail for that reason.
There is an R script in there that can be used to confirm that the expected test data looks plausible; it generates this plot:

Noting that tests pass locally on my machine, with a bunch of warnings related to deprecated pandas functionality.
============================================== 3 passed, 21 warnings in 88.84s (0:01:28) ===============================================


Feature Request: Implement IDN Method for Instrument Identification

I propose adding a feature where all instruments output an identification (IDN) dictionary upon request. This feature would be similar to outputting the set of available commands upon a 'HELP' request.
e.g.
[In] {"jsonrpc": "2.0",
            "method": "IDN",
            "id": "id"}
[Out] {"jsonrpc": "2.0",
            "result": {'vendor': 'Levylab',
                          'model': 'MC Lockin',
                          'serial': None,
                          'firmware': 'v<IP_ADDRESS>'},
            "id": "id"}

Good idea. Any ideas how to generate a serial number for a soft instrument? Things like the cryostats are more or less straightforward because they could be derived from the hardware. But we have X lockins that are all identical... maybe I can get a number from the pxi chassis/4461 cards

Write IDN is a public method that the child class will call (where? onProcessStarted?) to set the serial number and firmware number

Protected method to set IDN data:

IDN Data Flow:

Child Instrument:process.vi calls Open Hardware.vi
Open Hardware.vi opens connection to the hardware, and then calls Write IDN.vi
Write IDN.vi queries the S/N (or reads a constant, it's up to the developer) and then calls Instrument.sendMessageToProcess.vi, the message is then handled by Handle Command.vi in the Instrument:process.vi.


Highlight raw value in terminal.integrated.splitCwd.initial

Raw value was not highlighted in enum description and looked like it was part of the sentence.

@qcz Thanks for submitting this. Unfortunately, backticks are currently not supported in enum descriptions.

@kieferrm: I see. But instead of closing the PR, I would have appreciated an alternative suggestion. E.g. I suppose aphostrophes are supported when displaying texts.


Isomalloc on SMP mode always prints warning about +isomalloc_sync, even when not in use

Original issue: https://charm.cs.illinois.edu/redmine/issues/1530

When running on an smp build, all programs print the message "Warning> using Isomalloc in SMP mode, you may need to run with '+isomalloc_sync'." at startup, regardless of whether they're actually using isomalloc or not. This is worrisome to users. Standard development practice in the broader community is to take warnings very seriously, and consider disregarding them anathema. We should only let this warning print when it's actually applicable.

Original date: 2017-04-25 21:49:21

~~https://charm.cs.illinois.edu/gerrit/#/c/2433/~~ https://github.com/UIUC-PPL/charm/commit/e2765409fa1018067edb88ad6d93706fbe4fa2bd
The patch moves the warning to memory-isomalloc initialization.


problem with calculating ratings

Hello, Michael
First of all, I'd like to thank you so much for creating the program - I'm currently in a process of writing a thesis about an impact of foreign players quotas on national teams' performance and getting ELO ratings was a crucial task...
The only sad thing is that the program's having some problems...
Here is what I get after running "main.py"
Welcome to FutbolRatings version 0.3.0.
As initial ratings have not been calculated, we will now try calculating the ratings.
FileNotFoundError                         Traceback (most recent call last)
 in main_menu()
573     try:
--> 574         off_data = map_from_csv("data/offense.csv")
575         def_data = map_from_csv("data/defense.csv")
/Users/Mac/Documents/HSE-NES/Диплик/FutbolRatings-master/config.py in map_from_csv(filename)
/Users/Mac/Documents/HSE-NES/Диплик/FutbolRatings-master/fetch_data.py in fetch_file_local(suffix)
FileNotFoundError: [Errno 2] No such file or directory: 'cache/data/offense.csv'
During handling of the above exception, another exception occurred:
ZeroDivisionError                         Traceback (most recent call last)
 in ()
612 # Run only if called as main
613 if name == "main":
--> 614     main_menu()
615
616
 in main_menu()
577     except Exception:
578         print("As initial ratings have not been calculated, "             "we will now try calculating the ratings.")
--> 579         calc_all_off_def()
580         off_data = map_from_csv("data/offense.csv")
581         def_data = map_from_csv("data/defense.csv")
 in calc_all_off_def(off_data, def_data, misc_data)
346     from config import convergence_threshold
347     all_games = parse_games()
--> 348     nation_data,average_goals =         get_init_nation_data(nation_filenames.keys(), all_games)
349
350     # average_goals is average goals per game PER TEAM
 in get_init_nation_data(nation_set, all_games)
155         nation_data[nation]["weight"]=math.fsum(nation_data[nation]["weight"])
156         nation_data[nation]["Defense"] = nation_data[nation]["GA"]
--> 157         nation_data[nation]["Offense"] /= nation_data[nation]["weight"]
158         nation_data[nation]["Defense"] /= nation_data[nation]["weight"]
159
ZeroDivisionError: float division by zero
What do you think can cause this?

Firstly, the program does not calculate ELO ratings, rather, it
calculates separate offensive and defensive ratings.  Secondly, it looks
like you did not download the required input files from
www.eloratings.net, which does supply current and historical ELO ratings
which I suggest you use instead of mine.
I hope this helps,
-- Michael
On 7/18/2016 2:28 PM, SergeySteblyov wrote:

Hello, Michael
First of all, I'd like to thank you so much for creating the program -
I'm currently in a process of writing a thesis about an impact of
foreign players quotas on national team's performance and getting ELO
ratings was a crucial task...
The only sad thing is that the program's having some problems...
Here is what I get after running "main.py"
Welcome to FutbolRatings version 0.3.0.
As initial ratings have not been calculated, we will now try
calculating the ratings.

FileNotFoundError Traceback (most recent call last)
in main_menu()
573 try:
--> 574 off_data = map_from_csv("data/offense.csv")
575 def_data = map_from_csv("data/defense.csv")
/Users/Mac/Documents/HSE-NES/Диплик/FutbolRatings-master/config.py in
map_from_csv(filename)
/Users/Mac/Documents/HSE-NES/Диплик/FutbolRatings-master/fetch_data.py
in fetch_file_local(suffix)
FileNotFoundError: [Errno 2] No such file or directory:
'cache/data/offense.csv'
During handling of the above exception, another exception occurred:
ZeroDivisionError Traceback (most recent call last)
in ()
612 # Run only if called as main
613 if name == "main":
--> 614 main_menu()
615
616
in main_menu()
577 except Exception:
578 print("As initial ratings have not been calculated, " "we will now
try calculating the ratings.")
--> 579 calc_all_off_def()
580 off_data = map_from_csv("data/offense.csv")
581 def_data = map_from_csv("data/defense.csv")
in calc_all_off_def(off_data, def_data, misc_data)
346 from config import convergence_threshold
347 all_games = parse_games()
--> 348 nation_data,average_goals =
get_init_nation_data(nation_filenames.keys(), all_games)
349
350 # average_goals is average goals per game PER TEAM
in get_init_nation_data(nation_set, all_games)
155 nation_data[nation]["weight"]=math.fsum(nation_data[nation]["weight"])
156 nation_data[nation]["Defense"] = nation_data[nation]["GA"]
--> 157 nation_data[nation]["Offense"] /= nation_data[nation]["weight"]
158 nation_data[nation]["Defense"] /= nation_data[nation]["weight"]
159
ZeroDivisionError: float division by zero
What do you think can cause this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PsyMar/FutbolRatings/issues/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFJ13KPViStZWUKXQrN8UbcRu99k4em5ks5qW8W9gaJpZM4JO__n.


[Feature Request] Can use 'prepare-commit-msg' hook --no-edit

💭 Describe the feature
We are using czg as part of husky's 'prepare-commit-msg' hook like so -
exec < /dev/tty && npx --no-install czg --hook || true
It works as expected but it open the vim editor unnecessarily at the end.
Is it possible to add a flag --no-edit so that the editor is not opened at the end?
💡 Proposed Solution
Add a preventEditorOpen flag which can be false by default and we can set it to true from .commitlintrc.js
If the preventEditorOpen flag is true then the git commit command will be git commit --no-edit

I will try git commit --no-edit

We can, it's just we work in a team setting and making every dev do that is cumbersome. So thought of having a config preventEditorOpen in .commitlintrc.js would make it much easier. Your thoughts?

We can, it's just we work in a team setting and making every dev do that is cumbersome. So thought of having a config preventEditorOpen in .commitlintrc.js would make it much easier. Your thoughts?

It will be nice. I will consider adding it if it can work. Of course I also need to consider the version number of git

Great! This feature would be extremely helpful in our situation. Thanks in advance.

I'm very sorry to tell you, I tried many ways, but it didn't work.

https://git-scm.com/docs/githooks#_pre_merge_commit This hook is invoked by git-commit[1] right after preparing the default log message, and before the editor is started.
I did not call the command to push the message, just the way to write the .git/COMMIT_EDITMSG file

Can you close the editor directly (core.editor = false), No

Ah interesting, I see. Thanks for trying.
I think I'll set up an alias or npm script for this.

Will do the same thanks!

work~
TIP: This hook has a characteristic of merging messages.
VIM can be circumvented, and I will write an article later on why use git commit -m ''
add .bashrc or .zshrc
git() {
  local _cmd="$*"
  if [ "$1" = "commit" ] && [ "${_cmd%%"--help"}" = "$_cmd"  ]; then
    shift 1; command git commit -m ''
  else
    command git "$@"
  fi
}

Finally !!! We find out a way to resolve open editor !!! 🤩 @FatehAK

Change you project core editor from vi~

git config core.editor cat

Can add project scripts to help other collaborator

// package.json
"scripts": {
  "postinstall": "git config core.editor cat",
}

@Zhengqbbb this works as expected 👍


Type 'HooksT' does not satisfy the constraint 'Record<string, any>'

Environment
Node: 16.17.1
typescript: 4.9.4
hookable: 5.4.2

Reproduction
Minimal reproduction
Run yarn run build or tsc.
Describe the bug
A PR for this issue will be submitted
When compiling with tsc, everything gets compiled correctly, but we receive this error message:
node_modules/hookable/dist/index.d.ts:65:49 - error TS2344: Type 'HooksT' does not satisfy the constraint 'Record<string, any>'.

65     beforeEach(function_: (event: InferSpyEvent<HooksT>) => void): () => void;
                                                   ~~~~~~

  node_modules/hookable/dist/index.d.ts:46:24
    46 declare class Hookable<HooksT = Record<string, HookCallback>, HookNameT extends HookKeys<HooksT> = HookKeys<HooksT>> {
                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    This type parameter might need an `extends Record<string, any>` constraint.

node_modules/hookable/dist/index.d.ts:66:48 - error TS2344: Type 'HooksT' does not satisfy the constraint 'Record<string, any>'.

66     afterEach(function_: (event: InferSpyEvent<HooksT>) => void): () => void;
                                                  ~~~~~~

  node_modules/hookable/dist/index.d.ts:46:24
    46 declare class Hookable<HooksT = Record<string, HookCallback>, HookNameT extends HookKeys<HooksT> = HookKeys<HooksT>> {
                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    This type parameter might need an `extends Record<string, any>` constraint.

Found 2 errors in the same file, starting at: node_modules/hookable/dist/index.d.ts:65

error Command failed with exit code 2.

Additional context
No response
Logs
No response

@pi0 What do you think about that? It looks like it's a problem when TS is in strict mode

i created strict-hookable whille waiting for this to be resolved (NPM page)

In my project it works in strict mode using:
import { Hookable, HookCallback, createHooks } from 'hookable';

export enum Hook {
  READY = 'ready',
}

export interface HookTypes extends Record<string, HookCallback> {
  [Hook.READY]: () => void;
}

const hooks = createHooks<HookTypes>();

hooks.addHooks({
  [Hook.READY]: async () => console.log('🔌', Hook.READY),
});

hooks.callHook(Hook.READY);

Stackblitz: https://hookable-typescript-strict.stackblitz.io


APEX-70 #resolve #comment add hasResource label to types in typegraph

@ilganeli  Thanks for pointing out, I've updated the CL

@siyuanh Code looks good - is there an existing test for this class? If not, could we add something just to put it through its paces?

@ilganeli  one unit test is added


Steps to build and run

Hello,
Could you please also include the steps to build and run (with the expected pre-requisites) in the Readme .. or point me to where to find these?
Thank you.

It's Matlab. No build required.


Entering a hex value without the hash as the first character will replace the first character with a 0

The Bug
Entering a hex value without the hash as the first character will replace the first character with a 0. As a result the colour is changed to an incorrect colour.
To Reproduce
Steps to reproduce the behavior:

Claim a square with a hex value but exclude the "#"

Great, latest commit has addressed this bug. I tested both with and without '#'

Im still getting this bug on my end... Im not too sure why

Yeah, my bad. I fixed it for manageForm, but not for mintForm. I have made new commits and its gone on my side, closing this issue for now... reopen if it persists


STORM-1030. Hive Connector Fixes.

overall I am +1, couple of clarifying questions.

Done with a quick pass through the code, for the most part it looks good, just a few minor comments.

@revans2 @Parth-Brahmbhatt requesting for one more review as I deleted duplicated code and addressed previous comments. Thanks.

Still +1.

Sorry this took so long to get back to.  The code looks good for the most part.  I have a few minor formatting nits, but the header needs to be updated and I would like to see the metric registered with a non-zero poll interval.

This PR has been open for a long time, i am still +1 and will merge this this weekend if no one objects.

Two very minor nits. Two files are missing Apache headers, and a for loop that should be enclosed in '{}'.
Aside from that, I'm +1 for the patch.

Thanks for the review @Parth-Brahmbhatt @ptgoetz . Addressed the comments.

+1

+1


Fix: Use model's columns_to_types if available in tests

Had to also fix some of our tests because data were wrong types.

how does it actually leverage columns_to_types?

When loading the input fixture data, it will use the corresponding model's columns_to_types when creating the fixture views. Before, it was inferring the SQL types from the Python types ruamel thinks each column might be.


[SLF] : (JS-D1001) Documentation comments not found for functions and classes

Description
It is recommended to have documentation comments above, or right inside a function/class declaration. This helps developers, users and even the author understand the purpose of a code snippet or API function in the future. NOTE: If you want to stop this issue from getting raised on certain constructs (arrow …
Occurrences
There are 16 occurrences of this issue in the repository.
See all occurrences on DeepSource → app.deepsource.com/gh/dswan36/SillyLittleFiles/issue/JS-D1001/occurrences/

Add documentation to functions
Gtag stuff is analytics
SW stuff is service workers (for prox[y] stuff)
Panic stuff is quickly exiting the page things


Current package build is not what is recommended by PyPa

In the current Makefile, dist calls
python setup.py sdist bdist_wheel

to build the package. But this has been deprecated (see here for useful additional info) and PyPa recommends using build for the source distribution and wheels.
If there is no opposition, I'll be opening a PR to adjust the Makefile accordingly, ie to replace the above-cited command with:
pip install build && python -m build .

Thanks for pointing that out. I've wondered about that before, but don't have a great solution. I'm also not convinced there's a problem - the current approach works.
I don't think pip installing every time make is called is a good solution. I also don't love bringing in a new dep for something that currently works without a dep...

Thank you for the feedback, @jph00. Good points.
BTW, I thought adding the "pip install" bit would be required because the command would be in the Makefile instead of the actual Python code, but you are right, it is not a good solution.


32-bit ASNs

32-bit ASNs are unsupported by the VPN Gateway today.

@cherylmc - Would you review the proposed changes? Thanks.

@JackStromberg : Thanks for your contribution! The author, @cherylmc, has been notified to review your proposed change.

#sign-off  Thanks @JackStromberg !


Feat: Add BitBucketRepository block

Closes #2
Also fixes a test in test_credentials.py that was misleading (ln 21).
Added pydocstyle.

Example

Screenshots

Checklist

[x] References any related issue by including "Closes #" or "Closes ".

If no issue exists and your change is not a small fix, please create an issue first.

[x] Includes tests or only affects documentation.
[x] Passes pre-commit checks.

Run pre-commit install && pre-commit run --all locally for formatting and linting.

[x] Includes screenshots of documentation updates.

Run mkdocs serve view documentation locally.

[x] Summarizes PR's changes in CHANGELOG.md

Thanks for adding all the examples and piloting pydocstyle!
I am wondering whether setup.cfg is ignoring too many codes, especially the D1s D2s and D3s http://www.pydocstyle.org/en/2.1.1/error_codes.html
ignore = D100,D101,D104,D107,D212,D200,D202,D213,D203,D205,D300,D400,D401,D405,D406,D407,D415

Hi Andrew, I pretty much ignored the ones that interfered with black or were completely opposite to how the other repos' style is.

Thanks for adding all the examples and piloting pydocstyle!
I am wondering whether setup.cfg is ignoring too many codes, especially the D1s D2s and D3s http://www.pydocstyle.org/en/2.1.1/error_codes.html
ignore = D100,D101,D104,D107,D212,D200,D202,D213,D203,D205,D300,D400,D401,D405,D406,D407,D415

Hi Andrew, I pretty much ignored the ones that interfered with black or were completely opposite to how the other repos' style is.

Thanks for testing it. I am wondering if you include D100 and D101, which ones will it complain about?

D100,D101

tests/test_repository.py:16 in public class TestBitBucketRepository: D101: Missing docstring in public class
setup.py:1 at module level: D100: Missing docstring in public module
tests/test_repository.py:1 at module level: D100: Missing docstring in public module
tests/conftest.py:1 at module level: D100: Missing docstring in public module
tests/test_credentials.py:1 at module level: D100: Missing docstring in public module

Thanks! Perhaps we can just ignore setup.py and tests/ rather than the codes themselves: https://github.com/PyCQA/pydocstyle/issues/186#issuecomment-631760965

Can we also drop the other D1s and D2s and D3s codes from being ignored as well? D4s, maybe some of them can be useful.


show the actual value in Hz offset of CF, not just the value of intensity that the image has...

should see also actual Hz offset. not grayscale img value.
then fix why the image so dark when "corrected" when it should really be close to zero.

[x] add img value when hover
[ ] fix the coloring scale bug

fixed in commit 2266d165


Remove mongodb internal data from API responses

They are inconsistent across cache refreshes, and useless

We shouldn't use a mongodb id for /activities/:activity_id since it changes at each cache refresh


Use trustedProxies values as arrays

Description
This PR uses array instead of string to manage trustedProxies.
Why is this needed
Fixes: #29
How Has This Been Tested?
I managed to deploy the services using the charts without error. A comma-separated list of proxies appears using kubectl get pods -o yaml -n tink-system <pod-name>
spec:
  containers:
  - args:
    - --backend=kubernetes
    - --http-port=50061
    env:
    - name: HEGEL_TRUSTED_PROXIES
      value: <IP_ADDRESS>/24,<IP_ADDRESS>/24,<IP_ADDRESS>/24,<IP_ADDRESS>/24,<IP_ADDRESS>/24,<IP_ADDRESS>/24
    image: quay.io/tinkerbell/hegel:v0.10.1

How are existing users impacted? What migration steps/scripts do we need?
N.A.
Checklist:
I have:

[x] updated the documentation and/or roadmap (if required)
[x] added unit or e2e tests (N.A.)
[x] provided instructions on how to upgrade (N.A.)

Closing in favor of a holistic refactor in https://github.com/tinkerbell/charts/pull/32 that will address the underlying issue.


Small updates to OCI spec generation

Firstly, when adding the privileged catch-all resource device, first remove the spec's default catch-all resource device.
Second, remove our default rootfs propogation config - Docker does not set this by default, so I don't think we should either.
Two of the last significant changes from my examination of our OCI spec vs Docker's.

I think you should at least try to mount something into your podman and then mount on top of it.
mkdir -p /var/lib/test/mnt
podman run -ti -v /var/lib/test:/var/lib/test:Z,slave fedora /bin/sh

Now in a different window.
mount -o tmpfs tmpfs /var/lib/test/mnt

Back in the original window, inside the container execute
mount | grep /var/lib/test

Does it see the tmpfs?

@rhatdan
tmpfs on /run/test/mnt type tmpfs (rw,relatime,seclabel)
Looks good, even without the shared default propagation

(I used /var/run/mnt instead of /var/lib/mnt)

LGTM

bot, retest this please

The tests are somehow all green.
@rh-atomic-bot r=TomSweeneyRedHat


dataset_ Index.txt file?

May I ask if you can provide the training for your dataset_ Index.txt file? Thank you very much！

Sorry, we can't provide this file. Because this file is extracted from your collected data. You need to collect your data and generate the dataset_ Index.txt file by yourself.

May I ask if there are any related scripts that can generate this file？


adding clarification

Closes https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/issues/2260

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@kaarins PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


drop support for python 3.6

Python 3.7 is pretty mature now, and maintaining support for Python 3.6 increases the number of package-version-related issues we have to deal with. Requiring Python 3.7 should give everyone using scvi a more consistent experience.
closes #320

Codecov Report

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

@@            Coverage Diff             @@
##           master     #328      +/-   ##
==========================================
- Coverage   89.58%   89.51%   -0.07%
==========================================
  Files          32       32
  Lines        2948     2948
==========================================
- Hits         2641     2639       -2
- Misses        307      309       +2

Impacted Files
Coverage Δ

scvi/inference/autotune.py
73.88% <0%> (-0.56%)
:arrow_down:

Continue to review full report at Codecov.

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


Security Tag Connector should be under consuming module

The security tag connector interface and base classes are currently under the adapters module. The adapters module is for specific implementations of connectors. The connector API and base classes should belong to the module that is defining the interface of the connector(s) it supports (security-officer-services in this case?).

Related to this, getSecurityOfficerServerConnection method has a specific reference to the SecurityTagConnectorProvider class (which I am assuming is the base class for the provider).  The specific provider class should be passed in as a parameter.

Need to be resolved

This still needs work


"How it works" documentation

It would be nice to have some doc about the inner workings of this package.
Doesn't need to be extensive.
An explanation about how the grad function works, and the objects involved, would be nice.

This is a great idea. We've been absorbed making it work at all. I think a
screencast and some schematics would go a long way to making the internals
clear.
On Sat, Apr 16, 2016 at 8:40 PM Nicholas Léonard<EMAIL_ADDRESS>wrote:

It would be nice to have some doc about the inner workings of this package.
Doesn't need to be extensive.
An explanation about how the grad function works, and the objects
involved, would be nice.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/twitter/torch-autograd/issues/108


SR300 Resolution & FPS Settings

Required Info

Camera Model
SR300 /

Operating System & Version
MacOS

Platform
PC

Language
opencv

I'm trying to get my SR300 to record video in 15 minute segments in a script. At the moment, I have not been able to find a way to set the desired recording resolution. Is this enabled with config.enable_stream()? When I do that I get a green video of static. Besides this, for some reason, if I use default recording parameters, I get extremely low FPS.

For posterity: https://communities.intel.com/thread/123565
I fixed my issue with link above as reference. FPS drop was due to large resolution of RGB image.


Transaction Fee Visibility

What version of Wallet are you using?
0.0.1
What is happening?
The transaction fee is not fully visible even when stretching the browser expansion window. Chrome on Xubuntu 22.04.1 LTS

steps to reproduce
send an asset to another wallet
How it should behave?
The fee should be fully visible with the default window size and when it is scaling
What os are you seeing the problem on?
No response
What browser?
Chrome
What is your browser version?
Version 107.0.5304.121 (Official Build) (64-bit)

@dvzico are you able to scroll ? you're supposed to be
if no scroll is working then it's a bug, otherwise it's an improvement (welcomed btw)

@dvzico can you confirm the scroll is working?

Hi Luis!
Yes, scrolling helps to see all the details of the transaction in the
pop-up window of the extension, including fee and total. My question was
about the ability to completely refuse scrolling when manually stretching
the pop-up window, so that the data automatically fit to the screen. Now
increasing the window size does not lead to a reasonable scaling of the
transaction fields over the entire area. After all, the scroll bar is
hidden by default. If you do not focus on the scrolling area, you may not
even know that there are more fields. See the screenshots attached.
Regards,
Dmitry
On Tue, Dec 6, 2022 at 10:33 AM Luiz Estácio | stacio.eth <
@.***> wrote:

@dvzico https://github.com/dvzico can you confirm the scroll is working?
—
Reply to this email directly, view it on GitHub
https://github.com/FuelLabs/fuels-wallet/issues/282#issuecomment-1338904991,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJMN4JUQGKNBYUNTDYXZP7DWL3T2ZANCNFSM6AAAAAASPWYHPQ
.


ability to side-step helper.safeStringify() for form data

In every case I have tried, I cannot seem to bypass the encoding of the body of a PUT. Even with the content-type header set as www-url-encoded, AFAIK there isn't a requirement that the body be encoded in any way unless it exceeds certain size limits, nor that services have to decode the body of a PUT. It can just be raw. Something akin to
cUrl https://rawdataservice.biz -d @./filename -X PUT
It looks to me like all forms are run thru safeStringify in the helper and I can't find a way to just send raw form data.

Use the body option instead, or try using qsParseOptions and/or qsStringifyOptions, see here.

Thanks for the reply. I've tried the body option since that seems most apropo: this is the body I am setting not a url query string.... but am still confused by the behaviour: as I console.log("s---->"+body), I get
s---->login[sis_user_id]=somevalue
... but in the request-debug output I see
body: ''login[sis_user_id]=somevalue''
... the outside quotes I take as formatted output decoration from request-debug
but from whence the internal escaped single quotes?  (no need to reply in olde English)
Thank again


SPIKE Look at solutions between field validation conflicting between block level and page level

SPIKE to resolve https://github.com/silverstripe/silverstripe-elemental/issues/1179 and possibly also https://github.com/silverstripe/silverstripe-elemental/issues/1177
Currently when saving a page with an elemental area on it, the element data for all rendered elemental forms will be added to the POST request. This is a completely seperate code path from inline saving which uses FormBuilder/FormSchema
There are broadly two possible approaches here:
Timebox
3 days
Approach one:
Stop adding elemental data to the page POST request, and rely exclusively on using FormBuilder/FormSchema.  On page save, block it on inline validating/saving the opened elemental forms
Approach two:
Keep elemental data in the page POST request. Somehow make the field validation message show in the correct place. Ineline elemental forms do not render by default so that'd need to be dynmically rendered when required.
Personally I (Steve) lean heavily towards approach one as it reduces complexity because there is now only one code path we need to look after, rather than two
New issues created

Implement inline submitting elements on page/parent save

PRs

https://github.com/silverstripe/silverstripe-admin/pull/1792
https://github.com/silverstripe/silverstripe-elemental/pull/1214

Approach one:
A pair of draft PRs implementing the core of this are linked in the description.
I strongly think this is the correct approach compared to approach two:

It allows us to remove the PHP code that processes element form data, thus we're only processing page data on the page form, not related data. In my view this is reducing tech deb.t
It's removing the coupling with the parent edit form, meaning we could upgrade the parent edit form to something better and not have to make any changes to the element logic

Approach two:
Broadly this would be implemented as:

Updating some PHP logic so that the validation failures in PHP get prefixed with the Element that triggered them e.g. "Title" failing validation in a subclass of BaseElement would become "ElementForm_1_Title"
Exposing those particular validation errors from PHP to javascript, e.g. add them to getClientConfig(), or another mechanism e.g. data-validation result attribution on server rendered HTML.
Get those validation errors read by a react component
For every elemental ID in those values, ensure the formschema is fetched for those elements. The easiest way to do this is to just simulate a click on the element to open the inline form, this makes sense as we'll need to pop open the elements to display the errors
Hook into the formSchema response before it goes into redux and before the formbulder form is created, and manually splice in the validation errors. We may be able to make use of one of the existing "overrides" API's in the Silverstripe redux code.
Remove the values from the client config or whatever was used to get them into javascript, to ensure they're not reused when a new page edit form is pjaxed in

I strongly dislike this approach compared to solution one:

We're adding a second source of truth for validation state, whereas with solution one everything is done via formSchema. This is adding new tech debt in my view.
We shouldn't have two ways to submit elemental data, it's far better from a maintenance point of view to have a single code. I view the existing two ways of submitting data as tech debt. We're adding to this existing tech debt instead of reducing it
Our redux is already confusing and no-one really likes it. The use of overrides would be adding more to the redux layer.

Team has agreed to proceed with approach one
New issues created to implement - https://github.com/silverstripe/silverstripe-elemental/issues/1215


[Model] Add pre-trained BERT model on OpenWebText

Description
Add BERT base model pre-trained on OpenWebText.
Special thanks to @davisliang for preparing the dataset and running the pre-training :)
Checklist
Essentials

[x] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[x] Code is well-documented

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

Job PR-806/1 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-806/1/index.html

Job PR-806/2 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-806/2/index.html

Job PR-806/3 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-806/3/index.html

Job PR-806/4 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-806/4/index.html

Job PR-806/5 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-806/5/index.html

Job PR-806/6 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-806/6/index.html

Job PR-806/7 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-806/7/index.html

Job PR-806/8 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-806/8/index.html


Convert gluesql workspace to root lib-package

It is an element that I did not think of when implementing #442.
ref: https://github.com/lapce/lapce
In the cargo manifest, workspace and package can exist at the same time.
Accordingly, gluesql, the workspace for packaging, was moved to the root.
This seems to depend on personal taste.
Even if there is a current gluesql workspace, it is unlikely that it will make much of a difference in terms of ux for our users.
Please close or merge according to your comments.

Codecov Report

Merging #446 (aa1637c) into main (9376fd4) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head aa1637c differs from pull request most recent head d252901. Consider uploading reports for the commit d252901 to get more accurate results

@@           Coverage Diff           @@
##             main     #446   +/-   ##
=======================================
  Coverage   91.02%   91.02%
=======================================
  Files         158      158
  Lines        9228     9228
=======================================
  Hits         8400     8400
  Misses        828      828

Impacted Files
Coverage Δ

tests/glue.rs
73.07% <ø> (ø)

Continue to review full report at Codecov.

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

Codecov Report

Merging #446 (aa1637c) into main (9376fd4) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head aa1637c differs from pull request most recent head d252901. Consider uploading reports for the commit d252901 to get more accurate results

@@           Coverage Diff           @@
##             main     #446   +/-   ##
=======================================
  Coverage   91.02%   91.02%
=======================================
  Files         158      158
  Lines        9228     9228
=======================================
  Hits         8400     8400
  Misses        828      828

Impacted Files
Coverage Δ

tests/glue.rs
73.07% <ø> (ø)

Continue to review full report at Codecov.

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


[Feature]: allow modify public path on fly

What problem does this feature solve?
as the html plugin allows us to modify the public path for initial js/css files, i usually create an preEntry for js chunks to make the public path being used inside js chunks too. just like this
if (typeof window !== 'undefined' && window.__CONFIG__?.publicPath) {
  __webpack_public_path__ = window.__CONFIG__?.publicPath;
}

maybe rsbuild could make it happen by default.
What does the proposed API look like?
have no idea at the moment

I have some questions for this:

Where does this __CONFIG__ come from?
Is its content dynamic?

__CONFIG__ could be anything else like __XXX__.
my build setup is like:
public_path: https://cdn1.example.com/
pre_entry: ./src/public-path.ts
entry: ./src/index.ts
html:
- public_path: https://cdn1-us.example.com/
  filename: us.html
- public_path: https://cdn1-hk.example.com/
  filename: hk.html

template:
<script>window.__XXX__ = <%= JSON.stringify(htmlWebpackPlugin.options.publicPath) %></script>

pre entry:
// ./src/public-path.ts
if (typeof window !== 'undefined' && window.__XXX__) {
  __webpack_public_path__ = window.__XXX__;
}

if I don't add the pre entry, when I open us.html, initial js chunks are loaded from "cdn1-us" while async js chunks or other dynamic assets are all loaded from the default public path which is "cdn1".
i'm not sure i should tell it dynamic or static.
the only requirements is the reference name __XXX__ should be same in the template and the pre entry file. ( i used to use <meta> instead of global variable.)
more, i never modify the value of window.__XXX__ at runtime.

Do you have any plans for this feature?


Exit Code 126 / "Permission denied" on Low-Priority Nodes

Problem Description
We are experiencing a rare but annoying problem in Azure Batch that manifests itself in the error message "Permission denied". We are using a pool consisting of up to 50 nodes (for cost reduction almost exclusively low-priority nodes) and Docker with 5 containers on each node. Inside these containers a shell script starts a Java program that processes data for roughly 5 to 10 minutes.
At some point all tasks start to fail immediately on one node. We assume that a low-priority node got into the preempted state, returned back and then the node setup fails. This prohibits to run our software succesfully and leads to failing tasks.
Up to now we were not able to find a suitable workaround for this problem or documentation for the special behavior of returning low-priority nodes.
Steps to Reproduce

Start a Batch pool (autopool) with a reasonable amount of low-priority nodes (we suggest at least 20 nodes) of reasonable size (we use F32s_v2)
Run this pool for hours and constantly submit new tasks

After a certain time (a few hours at maximum) one node will start to fail all tasks immediately.
Expected Results
All tasks on all nodes finish successfully.
Actual Results
Over time one node will be affected by this problem. On the affected node our software is not started, instead all tasks fail immeadiately with exit code 126. The log file fileuploaderr.txt contains the following log:
Traceback (most recent call last):
  File "batchfileuploader.py", line 159, in <module>
  File "batchfileuploader.py", line 104, in main
  File "batchfileuploader.py", line 48, in load_specification_from_file
PermissionError: [Errno 13] Permission denied: '/mnt/batch/tasks/workitems/20230420_1429_MGTP_82184790148a4_JOB/job-1/20230420_1437_GP_01c20b9e9c4d4d1dbec2cc4f67c5d/uploadconfig-f417492d-d3a2-4893-976a-3936ac2dc7d7.json'
[11899] Failed to execute script 'batchfileuploader' due to unhandled exception!

The script batchfileuploader.py is not our own code but something built-in from Batch. Except this error message we could not find any differences to healthy nodes, files and permissions are the same.
Additional Logs
The log files (agent-debug.log, agent-warn.log, controller-debug.log and controller-warn.log) from one affected node are uploaded here: https://storage.blob.core.windows.net/batch-exit-code-126/batch-22EFF6BA9ACA8B10.zip?sv=2021-10-04&spr=https%2Chttp&st=2023-05-01T00%3A00%3A00Z&se=2024-05-31T00%3A00%3A00Z&sr=b&sp=r&sig=XXX
Additonal Comments
We strongly suspect that only low-priority nodes are affected, because multiple test runs of similar configured Batch pools with exclusively dedicated nodes never had this problem.
Additionally to the five configured Docker containers on the Batch nodes we manually create another container (containing a PostgreSQL database) during node setup. This is probaly neither well tested nor widely used but worked without any problems so far.

@FridoDeluxe Thanks for the report! I've seen one other report similar to this come my way but there were no logs for us to search. I'll take a look next I have a chance, knowing it's maybe low-prio-related helps.

I've downloaded and attached logs to our internal tracking board, feel free to remove for privacy reasons.

@staer Just a quick question: Are there any insights or progress on this problem yet?


Overrides in DownloadBehavior

Plum and GeoConcerns both override CurationConcerns::DownloadBehavior#load_file.

https://github.com/pulibrary/plum/blob/master/app/controllers/downloads_controller.rb#L19

https://github.com/projecthydra-labs/geo_concerns/blob/master/app/controllers/concerns/geo_concerns/download_behavior.rb#L12

Adding geo extensions to PairtreeDerivativePath fixes this.


lang: replace vString escape function with JSON.stringify

Fixes #1696
Better than previous PR on the issue.
Speaking of testing and Jest — now (since #2067) in many cases we can replace manual testcase escaping with JSON.stringify — I guess we can trust that one more than ourselves.
And maybe while we're at it, either find a hack to get the Jest stack printout to show correct locations of errors, or move .toBe()  upwards.

Searching those mistargeted traces is really time consuming in big test changes like this one

The change looks obviously correct to me, thanks! (There's a downside that '"' will be quoted to "\"" now, but it's minor).

Searching those mistargeted traces is really time consuming in big test changes like this one

Yes, but:

I don't think a hack to make Jest print the right location exists, because of async and because creating a test and running a test are two different steps in Jest; at least I don't see how it could be done without some advanced AST-level transform sorcery
for the same reason, spelling out the full test(expr, async () => await expectExpressionToBe(expr, answer)) would be kinda annoying

I've thought previously that testToExpression and testEvalToBe abstractions were a mistake, but I've become less sure about that. We could also switch to test.each, but that won't give you exact locations either.


Deploy on Okxchain X1 Testnet

As of Dec 5th:

Pfs to be deployed:

OKB/USDT,
ETH/USD,
BTC/USD

Implicit rebranding is required, afecting DFE, docs and multiple repos:

"OKXChain" -> "OKX"

All contracts on WSB v0.7.16 were verified successfully.

Added addresses to https://docs.witnet.io.

OKXChain is to be renamed to "OKT".
Former block explorer for okxchain testnet changed url ==> updating links on DFE and docs


Update sample_distorted_bounding_box to use Tensor Input for min_object_covered

This fix tries to address the issue raised in #10715 where it was not possible
to use dynamic values for min_object_covered in sample_distorted_bounding_box.
This fix created an Op of SampleDistortedBoundingBoxV2 so that min_object_covered
takes input. SampleDistortedBoundingBox remains the same (min_object_covered as attr).
Additional test cases have been added.
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

Can one of the admins verify this patch?

@vrv could you take a look at this change? Thanks!

@vrv Thanks for the review. The PR has been updated. Please take a look and let me know if there are any issues.

@tensorflow-jenkins test this please!

I think this adds an op and will need API review. Could you run:
   $ bazel-bin/tensorflow/tools/api/tests/api_compatibility_test \
          --update_goldens True

and push again? It'll be clear what the API change is.

Thanks @drpngx. The PR has been updated to address the api compatibility test failure. Please take a look and let me know if there are any issues.

Ugh, somehow all the commits ended up on the CL. Could you rebase and push again?

Adding @martinwicke for API review.

Thanks @drpngx . The PR has been rebased and pushed.

Jenkins, test this please.

@martinwicke @vrv @drpngx The PR has been updated as suggested. Please take a look.

@martinwicke Thanks for the review. There was some confusion from my side before about the workflow. Now the PR has been updated with the following changes:
This PR:

New kernel (SampleDistortedBoundingBoxV2Op) has been registered.
SampleDistortedBoundingBoxV2 is hidden in python (tensorflow/python/ops/hidden_ops.txt)

Next PR (I will submit it after 3 weeks):

SampleDistortedBoundingBox will be hidden in python (tensorflow/python/ops/hidden_ops.txt)
An wrapper sample_distorted_bounding_box will be added in image_ops_impl.py and calls sample_distorted_bounding_box_v2.

Please take a look at the update PR and let me know if the above changes matches the API workflow.

@martinwicke @drpngx Thanks. The PR has been updated with both SampleDistortedBoundingBox and SampleDistortedBoundingBoxV2 hidden. A wrapper has been added in image_ops_impl.py.
I will create another PR after 3 weeks.
Please take a look.

Jenkins, test this please.


[KeyVault] Managed Identity doc fixes

Packages impacted by this PR

@azure/keyvault-keys
@azure/keyvault-certficates
@azure/keyvault-admin
`@azure/keyvault-secrets

Issues associated with this PR

Fixes #22409

Describe the problem that is addressed by this PR
Currently, our Key Vault documentation endorses the use of client secrets to authenticate to Key Vault. This is not the recommended strategy for production use. In line with changes in the other language SDKs, this PR removes references to client secret authentication (leaving things more general), and provides a recommendation to use Managed Identity in production where available.

API change check
API changes are not detected in this pull request.


List of All Cases in CM is showing the creation date in the 'Last updated' column

Changes in this PR

amended case_presenter to show when cases updated_at with oldest at top

Screenshots of UI changes

 List of All Cases in CM is showing the creation date in the 'Last updated' column


Get CometFlexVoting under the size limit

It's currently ~8kB over the limit^0. As part of this, let's also bring back the size check in CI which as removed in https://github.com/ScopeLift/flexible-voting/pull/46#discussion_r1195532129
To fix we probably want to:

extend Comet to redefine updateBasePrincipal, note that this function will need to call internal functions that we do not have the space to include in Comet -- namely FlexVotingClient._checkpointRawBalanceOf! Need to figure out how to do this (e.g. maybe make the function external but with a modifier that only allows the Comet instance to call it?)
create a new Comet constructor that stores the governor address
extend Comet to add the storage vars in FlexVotingClient. This might be a little tricky because some of them reference types in libraries like OZ's Checkpoints and we cannot afford to import them:mapping(uint256 => mapping(address => bool)) private proposalVotersHasVoted;

/// @notice Map proposalId to vote totals expressed on this proposal.
mapping(uint256 => ProposalVote) public proposalVotes;

/// @notice Mapping from address to stored (not rebased) balance checkpoint history.
mapping(address => Checkpoints.History) private balanceCheckpoints;

/// @notice History of total stored (not rebased) balances.
Checkpoints.History internal totalDepositCheckpoints;

extend CometExt with the remaining logic we need

We moved these contract to https://github.com/ScopeLift/flexible-voting-clients


given wrong value to "n" js aAlgorithms

please change the value of "n" so the algorithm works

link to that page:https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/drop-it

Thank you for reporting this issue.
This is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the "Get Help" button on the challenge on freeCodeCamp and choose the "Ask for help" option, which will help you create a question in the right part of the forum. Volunteers on the forum usually respond to questions within a few hours and can help determine if there is an issue with your code or the challenge's tests.
If the forum members determine there is nothing wrong with your code, you can request this issue to be reopened.
Thank you and happy coding.


Update README.md

Let's update the readme in this fork... :)

Let's update the readme in this fork to call out Windows and Linux support. :)