Export backoff classes

The various backoff implementations aren't available to be imported from the root of the package, meaning I would have to import them from something like websocket-ts/lib/backoff/exponentialbackoff.
Would be great if these could be exported by the root index.ts

Thanks for bringing this up. The backoff- and buffer-implementations will be exported in the next release.

Fixed in newest release v1.1.0.


Workflows for parameterisation of different property types

Create recommended workflows for the order in which electrochemical parameters are fit. This could look something like:

Fit thermal properties
Fit OCP
Fit kinetics
Re-fit thermal / OCP / etc.

@NicolaCourtier has been doing a lot of work on this and has a very slick methodology that would be great to include in PyBOP.

This is great, can we get 2-3 python scripts together that use PyBaMM to do 2-3 of these workflows? Then we can start identifying the commonalities between them and refactor this into some re-useable classes/functions that will form PyBOP?


⚠ SceneTime has degraded performance

In 4eb4e80, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 10731 ms

Resolved: SceneTime performance has improved in f4891f8 after 7 minutes.


Request for Miboxer WL5 5 in 1 LED Strip Controller

Hello and thank you for your job.
I have several controller Miboxer L5 5 in 1 LED Strip Controller:
https://miboxer.com/product/5-in-1-led-strip-controller-wifi2-4g
The device use the app Tuya smart. In the app I see two version Main module V2.1.6 and MCU Module: V1.0.1
The chips is BK7231N.
Maybe the software already integrates the device, but I'm not sure, and I don't want to make a mistake 😄
Is one of this profile ? :
1.0.1 - BK7231N / bk_light_rgbcw_vpylfsrdspscrycm
1.0.1 - BK7231N / cuco_switch_sw5_bk_n_com
1.0.1 - BK7231N / oem_bk7231n_strip_ffc_mk_ty
2.1.6 - BK7231N / bk7231n_common_user_config_ty
2.1.6 - BK7231N / oem_bk7231n_async_colorful_string_ty
Thank you for your help 😃

This device is already supported, you can do by Mfg / Model instead of version, MiBoxer, FUT039W RGBCT LED Strip Controller, which is the 2.1.6 - BK7231N / bk7231n_common_user_config_ty profile.

Ok, maybe I'm dummy, but I never find the device when is scanning for Tuya  app.
I try :

Mfg / Model , MiBoxer, FUT039W RGBCT LED Strip Controller /  2.0.2 - BK7231N / bk7231n_common_user_config_ty . there is no other option.
By firmware with the both 2.1.6
2.1.6 - BK7231N / bk7231n_common_user_config_ty
2.1.6 - BK7231N / oem_bk7231n_async_colorful_string_ty
By custom profile with  miboxer-fut039w-rgbct-led-strip-controller

Every time it's searching but nothing appear.
The controller is in AP mode. Because when I try to with my phone, it's find it.
The both device (Raspberry Pi 5 8go and the controller) are nearby. I am following this YT tutorial  and the GitHub instruction.
My dhcpcd.conf   and NetworkManager.conf are right.
I will try to reinstall Debian on Pi5 device, but I think my mistake is not on the installation.
I have no more clue, if you have one it will be with pleasure
Thanks for your time.

Your phone is using Bluetooth more than likely, not AP mode.  Whatever you're doing to put it in pairing mode, within 10 seconds of having done so, do the same thing again, and it should put out an AP.

Yes, you're right, for Bluetooth. I will try again, still I find it. But it's been two night I try. I will push longer the button.
Thanks


Unable to debug newly created workspace project

The "select starup item" button is sending an incorrect python script path to PTVS, so PTVS is not able to debug the script.
Steps to reproduce:

Create a new workspace folder and open it in VS
Add a Python file to workspace
Start debugging the workspace project (F5)

Expected behavior:
VS will start debugging the current document
Current behavior:
VS will produce an error
_

https://developercommunity.visualstudio.com/content/problem/629594/unable-to-debug-a-new-python-workspace-open-folder.html

Fix confirmed. Will be released in VS 16.3


ETSformer official implementation

Hi! Really excited to see the results of this survey, and thank you for considering ETSformer. Do consider using our official implementation here: https://github.com/salesforce/ETSformer!

thank you @gorold yes sure I was using lucid-rains implementation but I can move over. I might ask you if I get stuck!
Thank you!


Marc/frontend work

Frontend login and signup pages

circleci is failing because of this test:
public void greetingShouldReturnDefaultMessage() throws Exception {
    assertThat(this.restTemplate.getForObject("http://localhost:" + port + "/", String.class))
        .contains("Hello world!");
}

You could just change the text to something in your new index file.


[Umbrella] Spark-3.3 lakehouses support

Code of Conduct

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

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the proposal
Set spark 3.3 as default w.r.t all lakehouses supported for unit tests.
Task list

[ ] #3263
[ ] #3050

Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

👍


go2rtc not working on any version above 1.2.0

Hi Alexx,
First of all, tnx for the great work!
I'm trying to upgrade from version 1.2.0 to a version >= 1.5.0 to try and get 2-way audio on the TP-Link Vigi cameras.
Currently on this lab setup I have only one C340 connected
With 1.2.0 the webrtc works perfectly, but as soon as I try any version above that, only MSE keeps working (with 1.2.0 both webrtc and MSE work perfectly and with sound)
This file is from when I was testing the 1.3.2 but anything above 1.2.0 has the same results
I attach both versions of the main stream info:
1.2.0.txt
1.3.2.txt
And my go2rtc config:
api:
  origin: '*'
log:
  format: text
rtsp:
  default_query: mp4
streams:
  front_camera:
  - rtsp://admin:xxxx&@<IP_ADDRESS>:554/stream1
  - ffmpeg:front_camera#audio=aac
  front_camera_sub:
  - rtsp://admin:xxxx&@<IP_ADDRESS>:554/stream2
webrtc:
  candidates:
  - stun:8555

No errors are being reported anywhere.
The behaviour is the same on Chrome, Firefox or Safari
Basically is the live webrtc that is not working, the Frigate recording continues to work well, but the live webrtc is never displayed, I can only see the recordings.
I know I mentioned Frigate but the behaviour is exactly the same on the go2rtc dashboard
I've run out of ideas to fix it, can you help? Tnx!

Ok, I feel a bit dumb now... (just a bit) 🫣
Somehow, all the versions above 1.2.0 really need the IP defined on the candidates
webrtc:
  candidates:
  - <IP_ADDRESS>:8555
  - stun:8555

I didn't had it on the 1.2.0 config and it worked perfectly, not anymore
Now with the server IP configured everything works correctly, even with 1.8.5
I will close the ticket, this can stay here as a future reference to others 👍


dict object' has no attribute 'use_mailhog' error

Hi,
Hope you are all well !
I tried your template and it gives me the following error:
x0rzkov % cookiecutter https://github.com/lokesh1729/cookiecutter-drf-react-redux
You've downloaded /Users/x0rzkov/.cookiecutters/cookiecutter-drf-react-redux before. Is it okay to delete and re-download it? [yes]:
project_name [My Awesome Project]:
project_slug [my_awesome_project]:
description [Behold My Awesome Project!]:
author_name [Daniel Roy Greenfeld]:
domain_name [example.com]:
email<EMAIL_ADDRESS>
version [0.1.0]:
Select open_source_license:
1 - MIT
2 - BSD
3 - GPLv3
4 - Apache Software License 2.0
5 - Not open source
Choose from 1, 2, 3, 4, 5 [1]:
timezone [UTC]:
windows [n]:
use_pycharm [n]: y
use_docker [n]: y
Select postgresql_version:
1 - 11.3
2 - 10.8
3 - 9.6
4 - 9.5
5 - 9.4
Choose from 1, 2, 3, 4, 5 [1]:
Select js_task_runner:
1 - CreateReactApp
Choose from 1 [1]:
Select cloud_provider:
1 - AWS
2 - GCP
3 - None
Choose from 1, 2, 3 [1]: 3
use_celery [n]: y
use_sentry [n]: y
use_whitenoise [n]: y
use_heroku [n]:
use_travisci [n]: y
keep_local_envs_in_vcs [y]: n
debug [n]: y
Unable to create file 'local.yml'
Error message: 'dict object' has no attribute 'use_mailhog'
Context: {
    "cookiecutter": {
        "_template": "https://github.com/lokesh1729/cookiecutter-drf-react-redux",
        "author_name": "Daniel Roy Greenfeld",
        "cloud_provider": "None",
        "debug": "y",
        "description": "Behold My Awesome Project!",
        "domain_name": "example.com",
        "email"<EMAIL_ADDRESS>        "js_task_runner": "CreateReactApp",
        "keep_local_envs_in_vcs": "n",
        "open_source_license": "MIT",
        "postgresql_version": "11.3",
        "project_name": "My Awesome Project",
        "project_slug": "my_awesome_project",
        "timezone": "UTC",
        "use_celery": "y",
        "use_docker": "y",
        "use_heroku": "n",
        "use_pycharm": "y",
        "use_sentry": "y",
        "use_travisci": "y",
        "use_whitenoise": "y",
        "version": "0.1.0",
        "windows": "n"
    }
}

Any idea how to fix it ?
Cheers,
X

hey @x0rzkov ,
i'll check and update... thanks for trying this....


Improve compile time and introduce features

This patch allows the different indexes to be toggled since they contribute significantly to compile time and for many applications not all three are needed. Additionally, the entry-or_insert pattern was replaced by building the HashMap from a slice, reducing the compile time even more.
Behavioral Change: If the index contains multiple entries with the same key, the last one is used instead of the first one. This is because the entries are consumed from a vec, which causes duplicated keys to be overwritten, instead of skipping them. If this is considered as a blocker for this PR, reversing the list of records before generating the code should resolve that. Since this scenario wasn't included in the tests and reversing the list could mean extra effort, I left that out for now.

For context, the original build took (on my kinda slow laptop) a bit over 4 minutes, and this broke it down to about 20 seconds in a cold built (with all newly added feature options enabled).


Cppcheck 1.86 warnings

Description
Cppcheck 1.86 gives the following warnings, which should be easy to fix.
[doctest.h:454] (style) Class 'String' has a constructor with 1 argument that is not explicit.[noExplicitConstructor]
Fixed by suppression:
// cppcheck-suppress noExplicitConstructor
String(const char* in);

[doctest.h:769] (warning) Found function call inside sizeof(). [sizeofFunctionCall]
Fixed by using decltype:
        static const bool value = sizeof(decltype(testStreamable(s << t))) == sizeof(yes);

[doctest.h:1408] (style) The function 'translate' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
Fixed by adding override keyword:
    bool translate(String& res) const override {

Extra information

doctest version: v2.2.3
Operating System: Windows 10
Compiler+version: MS VS 2015

Hi! thanks for the fix suggestions! I just pushed them in the dev branch - hopefully all compilers will be satisfied.
This will go into the master branch once I release version 2.3 which will be pretty soon - with support for reporting xml


Rename packages from org.wildfly.transformer.* to org.wildfly.extras.transformer.*

Does this address an open issue?  If not, could you please briefly summarize?

There Is no open issue related to this PR @smarlow. When I released Alpha1 of Batavia, I changed Batavia's maven coordinates. This PR just synchronizes packages with those maven coordinates. Consider this PR a cosmetic change.

@ropalka it looks like I created a conflict when I merged impl/ecl/src/main/resources/org/wildfly/transformer/eclipse/jakarta-direct.properties

@ropalka I can rebase easily but trying to merge via "git mergetool" didn't seem to work as expected.  Any suggestions?

Thanks @ropalka

I see you resolved the problem in the meantime. Thanks for review @smarlow


Allow joypad configuration

Restore support for configurable Actions, but fall back on defaults wherever possible.

ImGui's new input system expects the raw gamepad input, so on second thought let's not do this. Maybe I'll just add a toggle for swapping A/B.


Connection that use local private key works incorrectly in special case

System information:

Operating system (distribution) and version win 10 x64
DBeaver version 6.3.0 EA

Connection specification:

Database name and version HANA, Oracle

Describe the problem you're observing:
#1677
I've got two connections (HANA, Oracle) that use SSH with private key that saved locally. If I edit one connection(e.g. Oracle) and change Authentication Method to Private (pageant and ssh-agent got NO valid keys), both Oracle and Hana connections fails.
Steps to reproduce, if exist:

Create two connections that use local private keys (Oracle, Hana)
Change Authentication Method to Private for one of the connections (Oracle)
Try to connect to second connection (Hana) that has no changes - Connection to SSH tunnel fails

verified


Intern pipeline update

Before this can be merged to master, a personal access token named ACTION_TOKEN must be created and the pull request on Resolute-Updates must be accepted. Details about how the CI/CD pipeline works are available in the updated README.md

Would it be possible to use an SSH key instead?  We can create Deploy Key for the Resolute-Updates repo without creating another user.

Instead of creating a personal access token, the CI/CD pipeline will use a SSH key. To create this key, follow these steps:

On your personal computer create a SSH token by using the following command  ssh-keygen -t ed25519 -C<EMAIL_ADDRESS>Copy the contents of ~/.ssh/id_ed25519.pub to Resolute-Updates >> Settings >> Deploy keys. The title of the deploy key can be anything.
Copy the contents of ~/.ssh/iid_ed25519 to a New repository secret in Resolute >> Secrets and variables >> Actions. The name of the secret must be DEPLOY_KEY.


Bug in LazyColumn when you have an interactive UIKitView inside

Describe the bug
When you have a LazyColumn with an interactive UIKitView that has some animations like the time picker, if the time picker is animating, the LazyColumn scroll behavior is not correct.
Affected platforms

iOS

Versions

Kotlin version: 1.9.0
Compose Multiplatform version: 1.5.0-beta02
OS version(s): All

To Reproduce

Add a lazy column
Add some demo composables to have a scroll
Add a UIKitView to the lazy column (The UiKit time picker wheel or something similar)

Expected behavior
It should scroll normally.
Screenshots
https://github.com/JetBrains/compose-multiplatform/assets/124871594/1f44f392-f86d-4e96-ba6c-63101bb0c490

I have the same proble with AVPlayerViewController inside UIKitView
https://github.com/JetBrains/compose-multiplatform/assets/38012174/54e17219-9b17-44e7-9588-492a44779ae2

any updates on this issue?

Not yet. I'll have a look at it asap.

I've performed a little investigation on this, but no resolution yet. It's a low priority issue at the moment. I'd advise against using animated interop views at the same time as changing their frames within Compose due to the CATransaction mechanism causing awkward bugs like that.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


[FormRecognizer] Fix an issue accessing undefined object

when input document to receipt recognition contains blank pages

This should wait for #8747 to be merged first.

/azp run js - formrecognizer - tests

Part of #8706

/azp run js - formrecognizer - ci

/azp run js - formrecognizer - tests


convertToF doesn't work

Challenge Convert Celsius to Fahrenheit has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.1 Safari/603.1.30.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

function convertToF(celsius) {
  var fahrenheit;
  // Only change code below this line
  farenheit = celsius * 9 / 5 + 32;

  // Only change code above this line
  return fahrenheit;
}

// Change the inputs below to test your code
convertToF(30);

hi @juanangosto
something's wrong with your code, make sure to see if the variable name(fahrenheit) is the same.
you should ask first at JavaScript help room before posting a git hub issue
:)

Hi @juanangosto, I have ran the same code in you described above in both Chrome and safari. And i confirm that it works fine without any issue.
Thanks

You did a silly mistake.Change the farenhiet to fahrenheit. All the best


[E941] Can't find model 'en'

Error:
OSError: [E941] Can't find model 'en'. It looks like you're trying to load a model from a shortcut, which is deprecated as of spaCy v3.0. To load the model, use its full name instead:
nlp = spacy.load("en_core_web_sm")
For more details on the available models, see the models directory: https://spacy.io/models. If you want to create a blank model, use spacy.blank: nlp = spacy.blank("en")
Im using Python 3.7.9

This PR solved the issue for me.
https://github.com/gunthercox/ChatterBot/pull/2094/commits/5b0381fa9ab40da980b6a633eff0c9ca61d5bd39


bug: usePrepareContractWrite TypeError: x.replace is not a function

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
1.3.10
Current Behavior
When the enabled boolean for usePrepareContractWrite is flipped to true, I get the following error from the usePrepareContractWrite and in the browser logs:
TypeError: x.replace is not a function
    at concat.ts:30:25
    at Array.reduce (<anonymous>)
    at concatHex (concat.ts:29:33)
    at concat (concat.ts:10:12)
    at encodeBytes (encodeAbiParameters.ts:210:16)
    at prepareParam (encodeAbiParameters.ts:101:12)
    at prepareParams (encodeAbiParameters.ts:68:25)
    at encodeAbiParameters (encodeAbiParameters.ts:43:26)
    at encodeFunctionData (encodeFunctionData.ts:58:9)
    at simulateContract (simulateContract.ts:124:20)

Expected Behavior
Before upgrading to wagmi 1.x.x this contract write was working properly without issues, It would trigger the wallet prompt to approve the transaction.
Steps To Reproduce
I'm unsure what exactly is causing this error since none of our app's contract write hooks work anymore. They all result into the same error. But I suspect something in our args is wrong, possibly how we pass empty bytes.

Create a vite React project with Polygon Mumbai Network.
Add the following code within any component:

const [count, setCount] = useState(0);
const { config } = usePrepareContractWrite({
  address: '0x1Fd4Dc2027C1Cfae1D5a09073809f3f3F97d93dd',
  abi: [
    {
      inputs: [
        {
          internalType: "address",
          name: "from",
          type: "address",
        },
        {
          internalType: "address",
          name: "recipient",
          type: "address",
        },
        {
          internalType: "uint256",
          name: "amount",
          type: "uint256",
        },
        {
          internalType: "bytes",
          name: "data",
          type: "bytes",
        },
      ],
      name: "withdrawFrom",
      outputs: [
        {
          internalType: "uint256[]",
          name: "tokenIds",
          type: "uint256[]",
        },
        {
          internalType: "uint256[]",
          name: "amounts",
          type: "uint256[]",
        },
      ],
      stateMutability: "nonpayable",
      type: "function",
    },
  ],
  functionName: 'mint',
  args: [
    "0x77f774c6632B1CA6BD248068fBaA952355eAE2b5", // <-- you can also put your own wallet address
    "0x77f774c6632B1CA6BD248068fBaA952355eAE2b5", // <-- you can also put your own wallet address
    count,
    [] // <-- I suspect this is causing the issue, not sure what to replace it with...
  ],
  enabled: Boolean(count),
})
const { write } = useContractWrite(config)

Create an input to modify count.
As soon as count is bigger than 0, you should get the same error.

Ideally, this should throw a different error, saying the user has insufficient balance.

Note: I have tried this with other contracts that should result in successful transactions, however, the outcome is still the error mentioned in this issue.

Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
No response

As I suspected the error was the formatting of bytes. If empty they needed be provided as an empty string.
In this case the args should be:
args: [
  "0x77f774c6632B1CA6BD248068fBaA952355eAE2b5",
  "0x77f774c6632B1CA6BD248068fBaA952355eAE2b5",
  count,
  '' // <-- '' instead of []
]

@DeveloperTheExplorer thank you, this helped me a lot 👍


messy code with Chinese pdf file

Link to PDF file (or attach file here):
Configuration:

Web browser and its version: Chrome 47, IE 11
Operating system and its version: win7 64, zh_CN
PDF.js version:ch 1.3.91
Is an extension:

Steps to reproduce the problem:

open the pdf file.
I can't upload the pdf file, can you send me a email, and i will reply and send you the pdf file.

What is the expected behavior? (add screenshot)
What went wrong? (add screenshot)
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

my email<EMAIL_ADDRESS>

Closing as incomplete

Hi, this is a Chinese PDF file, when i open it with pdf.js 1.3.91, it's messy code.
Thank you very much, if any suggestion, please let me know.

发件人: Yury Delendik<EMAIL_ADDRESS>发送时间: 2016年4月21日 19:28
收件人: mozilla/pdf.js
抄送: fisher030712; Author
主题: Re: [mozilla/pdf.js] messy code with Chinese pdf file (#7228)
Closing as incomplete
―
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/mozilla/pdf.js/issues/7228#issuecomment-212871688

You cannot attach PDF files via GitHub's e-mail system. You should instead login on GitHub and upload the PDF using the comment field.


DevOps roadmap added and maintainer too

Signed-off-by: Saiyam Pathak<EMAIL_ADDRESS>
Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/india/blob/main/CONTRIBUTING.md.

Which change are you proposing?

[x] Adding/updating open source project/s
[x] Adding/updating maintainer/s

Adding/updating open source project/s

[x] The project was built in or receives significant contributions from India
[x] The project has at least 100 stargazers

Why should this open source project be featured?
This is the repo that helps people in getting ready for DevOps following the complete roadmap and sharing their journey.

Please replace this line with an explanation of why you think these changes should be made.

Adding/updating maintainer/s

[x] Maintainer's location on their GitHub profile indicates as India
[x] Maintainer has approved this PR to be included on the website

What open source project/s does the individual maintain?
https://github.com/civo/kubernetes-marketplace
https://github.com/kubesimplify/workshops-content
https://github.com/kubesimplify/tweets
Everything under https://github.com/kubesimplify/

Please replace this line with GitHub URLs to projects that the individual/s maintains

Something that does not neatly fit into the binary options above

[ ] My suggested edits are not about an existing page, or at least not a single one

Please replace this line with an explanation of your proposed changes.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

@saiyam1814 Your PR has been deployed to githubindia.com :tada:


select video only

Thanks for this awesome library ,
Is there anyway to select only videos ?
I also have empty array result when i set singleSelectedMode to true

Thanks for this awesome library ,
Is there anyway to select only videos ?
I also have empty array result when i set singleSelectedMode to true

I say YES. of course. Please check the new version(0.1.2). Enjoy my library.
Thanks for your comments for this library

Hi, thank you for the library.
when I set mediaType: "video" it's not showing video from gallery.
I have two videos in the download folder where images are stored
one video with .mov and .mp4 file type, but none of them is getting shown.
below are my options when opening picker view, working fine for image selection but not showing video when mediaType: 'video' or mediaType: 'all'. I don't want image and video together, was just trying to check, whether video is showing or not in 'all' option.
mediaType: 'video',
isExportThumbnail: false,
usedCameraButton: false,
singleSelectedMode: true,

PS: Please update me if I am passing any wrong option here.
Thank you.

You can check maxVideoDuration option. Default 60 (60 seconds).  Only show videos under 60 seconds in the gallery.


Skyline/work/20180815 runsettings

Matt,
I am not sure whether you were planning on checking in the runsettings files that you gave me, or whether I should.
This change deletes the testsettings files and adds the runsettings file.
One thing I have not been able to figure out is how to make it so that "TestSettings_x64.runsettings" is selected by default. I have no idea how "TestSettings_x64.testsettings" used to get selected by default. The only place that name appears that I can find is in "Skyline.sln", but when I replace it with "TestSettings_x64.runsettings", it does not cause this new file to be selected by default.
It's probably not that important to figure out how to set the default. As it is, even though Visual Studio usually picks TestSettings_x64.testsettings to start with, it tends to forget that setting after a while and I need to choose it again.

Let's get this merged.


Clear multicast bit from randomly generated extended address

Randomly generated extended addresses can sometimes cause the following warning message in NCP applicion (wpantund):
wpantund[30369]: [NCP->] CMD_PROP_VALUE_IS(PROP_HWADDR)
wpantund[30369]: NCP Status: HardwareAddr:      0D:68:D0:B1:A6:1E:21:91
wpantund[30369]: HARDWARE ADDRESS IS INVALID, MULTICAST BIT IS SET!
wpantund[30369]: [->NCP] CMD_PROP_VALUE_GET(PROP_NET_MASTER_KEY) len=3
wpantund[30369]:        ↳ {8C0246}
wpantund[30369]: "fe80::f68:d0b1:a61e:2191" was added to "wpan0"

Also, is it really a good idea to use randomly generated extended addresses? IMO currently it's ok, but in the future it should be replaced with something more reliable. I would imagine it's best to use user/manufacturer provided EUI64.

@GiedriusM, thanks for raising this issue.  Thread currently uses a randomly generated MAC address to minimize the chance of MAC address duplication and enhance privacy.  Currently, Thread only has text around setting the u/l bit appropriately and does not talk about the i/g bit.  I'll raise an issue on the Thread spec to see what others think about the i/g bit.  Note that there has been some debate about whether setting the u/l and i/g bits are in fact useful (see RFC 7136 for a similar discussion about IPv6 IIDs).

LGTM

@GiedriusM, you should do a make pretty and then commit and push those changes. Then the build should pass.

Although admittedly it isn't entirely clear what was wrong with the style of your one liner. :/

LGTM 👍


[Bug] Only the absolute path works for importing contract JSON ABI

Component
contract
What version of Alloy are you on?
0.1.3
Operating System
Linux
Describe the bug
From alloy contract example:
https://github.com/alloy-rs/examples/blob/main/examples/contracts/examples/interact_with_abi.rs
// Codegen from ABI file to interact with the contract.
sol!(
    #[allow(missing_docs)]
    #[sol(rpc)]
    IWETH9,
    "examples/abi/IWETH9.json"
);

I get the following error:
error: failed to canonicalize path <absolute_path>: No such file or directory (os error 2)
  --> src/main.rs:11:5
   |
11 |     "examples/abi/IWETH9.json"
   |

The error goes away when I use the absolute path instead of the relative path.
What might be causing this?
Is there a simple work around to use a relative path?

This is working on my end now (my current directory when running this command is the root of the rust project).
When I run the following command to see my current directory path:
ls

I see the following files:
abi  Cargo.lock  Cargo.toml  src  target

Updated relative path (I am using WETH9 instead of IWETH9 in this case):
sol!(
    #[allow(missing_docs)]
    #[sol(rpc)]
    WETH9,
    "abi/WETH9.json"
);

relative paths are based in the cargo manifest (Cargo.toml) directory


YouTube - empty chat is white when using Catppuccin Macchiato

Is there an existing issue outlining your problem?

[X] I am using the latest version of the provided userstyle.
[X] I have searched the existing issues and they do not solve my problem.

What userstyles are you seeing the problem on?
lbl:youtube
Describe your problem.
The chat window is empty and full on white while I'm using Catppuccin Macchiato.
Attach screenshots.

What browser(s) are you seeing the problem on?
Microsoft Edge Version 124.0.2478.51 (Official build) (arm64)
Any additional comments?
I expected the chat window to be at least a background color.

Not sure what happened, but I guess this had to do with the chat not being loaded correctly, so the theme couldn't do anything. Chat showed up, and the theme showed correct colors.
Sorry for the inconvenience.


How to evaluate?

We tried to pretrain a 421M Samba, but after pretraining, we find that you did not open source the evaluation script.

I've hacked together Huggingface Transformers support for a model I'm training at the moment, which allows Samba to work with EleutherAI/lm-evaluation-harness
It's too messy to share at the moment, but if you're comfortable posting your model I can run whichever evals you'd like. Otherwise hopefully the Samba team will get the approval they deserve and can release the official Transformers support for this amazing architecture.

I've hacked together Huggingface Transformers support for a model I'm training at the moment, which allows Samba to work with EleutherAI/lm-evaluation-harness
It's too messy to share at the moment, but if you're comfortable posting your model I can run whichever evals you'd like. Otherwise hopefully the Samba team will get the approval they deserve and can release the official Transformers support for this amazing architecture.

Wow, thank you very much! We have already uploaded the checkpoints on Huggingface: https://huggingface.co/wydu/Samba . We would greatly appreciate it if you could help us evaluate the checkpoints Samba-iter-200000-ckpt.pth and Samba2-iter-188000-ckpt.pth on the following tasks: lambada_openai, wikitext, piqa, sciq, winogrande, arc_challenge, arc_easy, and logiqa.


Do not freeze classes passed into functions

Freezing a class prevents it from being modified at all, which can
happen in unit tests with mocha or rspec-expections.
Calling a function with String as an argument will freeze the entire
class and prevent allow_any_instance_of(String)... type expectations
from adding their hooks to the class.
e.g. stdlib:
https://github.com/puppetlabs/puppetlabs-stdlib/blob/00c881d/spec/functions/is_a_spec.rb#L18
https://github.com/puppetlabs/puppetlabs-stdlib/blob/00c881d/spec/functions/pw_hash_spec.rb#L57

Coverage increased (+0.003%) to 91.985% when pulling f858ac9f7cd4f6befd25c611ccdc62f59c602274 on domcleal:no-freeze-classes into b381c0ee8831ce7c0f849074527a5017eef83ce3 on rodjek:master.


Addquotes: ignore comments

The addquotes feature is not ignoring commented lines.

Fixed in v0.4.0


Can't fold notebook cell

https://user-images.githubusercontent.com/323878/109240073-a8bc3c00-778b-11eb-9a55-ec27a1cf8558.mp4
Got this warning
event.ts:487 [hhf] potential listener LEAK detected, having 251 listeners already.  Seems like the folding logic is a little off where other cells collapse/expand at the same time.
https://user-images.githubusercontent.com/35271042/109246740-a6f87580-7797-11eb-842a-c21a9ce7f701.mov


Create a new Disk

I'm creating a file share module, and I want to know how to create an specific path to my directory as a disk, putting as default on Config\config.php, and been overwrited by .env variable MODULE_DISK_PATH

You can configure disks like in any laravel app, in the filesystems.php configuration file.

I'll close this due to inactivity.

It is possible to register disks within modules by creating a service provider that appends your config to the "filesystems.disks" option.
You can then add your own logic to this file (load your custom config, MODULE_DISK_PATH env variable etc...).
Basic example:
    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register()
    {
        $moduleName = 'mymodule';

        Config::set('filesystems.disks.' . $moduleName . '.disk1', [
            'driver' => 'local',
            'root' => storage_path('app/modules/' . $moduleName . '/disk1'),
            'visibility' => 'public',
        ]);
    }


Functions stored by props get converted to an object

I want to use a prop in my stamp code, so it can be easily changed when creating the stamp. But functions in props get converted to an object it seems. With ref it works as expected.
import stampit from 'stampit';

MyStamp = stampit({
    props:{
        transformRequestData:(data, context) => data
    }
});

let s = TransformRequestData.create();
let data = ['a'];
let context = {};
console.log(s.transformRequestData, typeof s.transformRequestData);
// {}, 'object'
s.transformRequestData(data, context);
// Error: transformRequestData is not a function

Thank @hoschi for taking this issue here.
Yeah. It's just bad API naming. In stampit v2 props are deeply cloned/merged. Whereas refs are object references.
I'd recommend using stampit v3. It has this problem solved, props and refs are the same thing.
To install stampit v3 run npm i stampit@rc. It's pretty stable. Just lacks some documentation atm.
Feel free to post any other questions in the gitter chat: https://gitter.im/stampit-org/stampit
People are pretty fast responding there.
Cheers

I can't upgrade to a RC version at the moment, if this is fixed in your eyes, you can close this issue.


Support non-atomic targets

Some no-std targets (e.g., ARMv6-M) do not support atomic CAS operations and cannot use Arc, Atomic*::compare_exchange, etc. And on those targets, bytes currently fails to build (#461).
This patch detects those targets using the TARGET environment variables provided by cargo for the build script, and a list of targets that do not support atomic CAS operations.
This way is the same as the way we recently adopted in futures and valuable, and was originally inspired by the way heapless and defmt do, but this doesn't maintain the target list manually. (It's not really fully automated, but it's very easy to update.)
Refs:

rust-lang/rust#51953
rust-lang/futures-rs#2400
tokio-rs/valuable#12

Closes #461

Updated to use the same way as valuable (https://github.com/tokio-rs/valuable/pull/12).

(I should port https://github.com/tokio-rs/valuable/pull/90 to support auto-creating the PR )

Any reason this is just a draft? What is blocking the adoption of atomic-polyfill here?

Taking new dependencies is always complicated. It raises various questions about to what extent we lock ourselves in for the future, what effect it has on MSRV and so on.

Makes sense, let me try to give you some pointers in that regard, so you don't spend too much time doing archaeology.

I also see that there's another PR that uses a different crate for atomics, and I'll need to understand what happened there. I see that there's a bunch of discussion on the other PR.

Even though #573 is more recent and has more discussions, those discussions are reflected in this PR. The main point of contention as I see it (anyone correct me if I'm wrong) is how portable-atomic was designed back then, essentially preferring backend selection with --cfg rather than --feature (to avoid accidental unsoundess to the price of user convenience). But this point of contention has been resolved since then:

Crates like heapless and usb-device started using portable-atomic instead of atomic-polyfill.
portable-atomic ended up providing a feature as collaborative work between the persons involved in the #573 discussion.

So my understanding would be that portable-atomic is now the defacto crate for portable atomic operations (that's even advertised on https://docs.rs/atomic-polyfill).

I'm at a conference right now, but I can try to take a look when I fly back to Europe (if I find the energy to look at my laptop during the flight).

No worries, I was just checking. Good luck at the conference!

Should a new PR be opened? Possibly with a smaller diff such that it's easier to review?

Sorry, I never got around to it.
I'm happy to accept this feature, with the following changes:

We should document that this feature exists in the readme or lib.rs.
We should clarify that the list of platforms supported by extra-platforms is subject to change, and that we may drop platforms without a breaking change.

Also, the merge conflicts will need to be fixed.
@taiki-e

@Darksonn as an exercise to aid in getting this merged, I squashed these commits and rebased the result onto master with an updated portable-atomic version while resolving the merge conflicts in #751


FancyZones Pro: Task based Window Manager

Hi community
I would love to see a extension of FancyZones, into a more Pro version.
The Idee is, to lock in WIndows into Zones and also save the zones.
e.g.

You would have a FancyZone Pro (FZP) for you development tools.
Other for you art work. Maybe your studies.
And so on.

That way, you would not have to reopen and rearrange every time you start a new task.
Best
Bedo

you can already do this now.  Create custom zones and have apps launch back into said zone (in FZ settings)
We'll be adding in quick swap zones which i think is the bigger ask here.  https://github.com/microsoft/PowerToys/issues/1411


Enhancement: discrete CRD / CR creation install phases

https://github.com/operator-framework/operator-sdk/blob/861f524d4731cd2d6bdbead0f071530fb07fe72b/internal/olm/installer/client.go#L88-L91
Enhance to have separate CRD installation phase and CR creation phase.  As currently sorted, the order of the objects created will already respect this sequence, but it would be nice to separate them out for auditing, error handling, etc.
Referred to in https://github.com/operator-framework/operator-sdk/pull/6490#pullrequestreview-1517116822

@grokspawn @everettraven DoCreate already has audit logging on which resource is being created, and which one fails, if any. Is this logic not enough? Please see here:
https://github.com/operator-framework/operator-sdk/blob/master/internal/olm/client/client.go#L116-L121


Users should be able to suppress data under their specified N-size for a dataset

A user should be able to specify their desired N-size as a parameter. Values under that n-size should be suppressed.

Complete with #1

Completed by #1


CREATE TABLE: test cases with table_constraint_def clause.

Test cases regarding issue #42.

Failure of Travis was expected, as a correction in the parser is required.


OCAPI Connection to Staging

Hi guys,
The deployment to a normal SB was working perfect.
I configured now everything for the deployment to the staging instance. (with certificates etc.)
I get always :-(
host: cert.staging.euXXX.XXXXX.demandware.net
Failed to authenticate with OCAPI! 400 - Bad Request!
Response=
<title>400 The plain HTTP request was sent to HTTPS port</title>

400 Bad Request

The plain HTTP request was sent to HTTPS port

nginx

We have the 2FA active for the client organisation.
This my OCAPI Config data/global
{
    "_v": "19.5",
    "clients": [
        {
            "client_id": "MY_SECRECT_CODE",
            "resources": [
                {
                    "resource_id": "/code_versions/*",
                    "methods": ["put", "patch"],
                    "read_attributes": "(**)",
                    "write_attributes": "(**)"
                }
            ]
        }
    ]
}

Is there anything else that I have to setup?

Hmm, that's strange. First time I see this kind of error.
Can you try and make a request to same hostname/url with curl or Postman? So we can see if the issue is server side or client side.

Can you try to generate a .p12 and connect with Cyberduck? I recently tried to connect with 2FA on a staging environment and there's a handshake failure, for which I asked SFCC about and still waiting for a reply.

Hello there. I am answering for @fishme
Using curl connecting to the host actually gives the same error.
So I guess this is a server problem? Your wisdom much appreciated.
curl --cacert cert.staging.xx.xxx.demandware.net_01.crt -E ./file.crt.pem --key ./file.key.pem https://cert.staging.xx.xxx.demandware.net

gives

<title>400 The plain HTTP request was sent to HTTPS port</title>

400 Bad Request

The plain HTTP request was sent to HTTPS port

nginx

Hi @ClaudiuCudla ,
In the browser we get this :(
Your connection is not private
Attackers might be trying to steal your information from cert.staging.xx.xxx.demandware.net (for example, passwords, messages or credit cards). Learn more
NET::ERR_CERT_AUTHORITY_INVALID

You should have been prompted to select your local certificate (.p12 installed) at least or something. It does seem something related to SFCC and unfortunately I haven't had this issue. I suggest a ticket for this on their end to see what's wrong.

Thanks @ClaudiuCudla we'll do that.

@temoedjin Yes, if it doesn't work with curl also I would say it's a server side issue. Maybe a problem with how SFCC configured the server. We now have two different unrelated tools having the same issue so we can assume it's not on our side. I think you might need to create a support ticket with them so investigate the issue on their end.

@temoedjin @fishme Did you manage to fix the issue? Anything I can help with or we can close the issue?

Closing issue. Please reopen if you're still having issues and there's something I can help with.


Adopt to remove FactoryInterface from yiisoft/factory

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Fixed issues
-

Adopt to https://github.com/yiisoft/factory/pull/103

👍


Optimze pdf dont working

When i put pdf on /optimize Button "Optimize Files" is unactive.

Thank You for mentioning it!


Update README.md

Added troubleshooting section with the fix to lean init failing without tkinter on macos.

Will close this PR, since it should be resubmitted. We added a note about tkinter in https://github.com/QuantConnect/lean-cli#installation too


Response with errors from ConversionAdjustmentUploadServiceClient isn't handled correctly by ErrorUtils

I'm trying to get errors from a response to the ConversionAdjustmentUploadService using the following util:
ErrorUtils.getInstance().getGoogleAdsErrors(operationIndex, partialFailureError);
There seems to be an issue with the path field name in the response where when that method is called to get errors, none are returned. I've attached a request and response
response.txt
request.txt
The problem seems to be that getGoogleAdsErrors calls another method called getGoogleAdsErrors here:
result.addAll(getGoogleAdsErrors(operationIndex, failure));
And that method below looks for path field names the need to match the following condition:
if (("operations".equals(path.getFieldName())
|| "mutate_operations".equals(path.getFieldName()))
which aren't in the response error -- I believe the path field name in the response in the error is conversion_adjustments.
Here is the partial error passed to the original method:
code: 3
message: "A conversion for the supplied conversion action and conversion identifier pair could not be found., at conversion_adjustments[0]"
details {
type_url: "type.googleapis.com/google.ads.googleads.v3.errors.GoogleAdsFailure"
value: "\n\207\001\n\003\230\a\005\022bA conversion for the supplied conversion action and conversion identifier pair could not be found."\034\022\032\n\026conversion_adjustments\022\000"
}
The operation index is 0.

This looks like a similar issue to #230. It appears that ConversionAdjustmentUploadService is assuming that the index into  Status.getDetailsList() is used to indicate the location of the failed response; in fact there should be an operations element by convention. I've filed a bug internally for this, will update the thread here with progress.
In the meantime, you can work around this by doing:
response.getPartialFailureError().getDetails(failedOperationIndex).unpack(GoogleAdsFailure.class)
b/164324199

Response from conversions folks:

There's no bug and this is just a special corner case for index = 0. The user just has to call getValue() to get index 0. For other cases, we already correctly return the index.

Response from conversions folks:

There's no bug and this is just a special corner case for index = 0. The user just has to call getValue() to get index 0. For other cases, we already correctly return the index.


Runpod notebook:  'str2optimizer8bit_blockwise' is not defined

Everything was working a few days ago.  Today running the train cell of Train_JupyterLab.ipynb causes the error
NameError: name 'str2optimizer8bit_blockwise' is not defined
I'm guessing that Runpod changed something about their 2.1 container

Wondering if you find any solutions?

I didn't


Specto fork not loading sub menus

ive tried cling on movie/tvshow sub-menus and nothing loads, it says working in the bottom right then stops? Any help?

set up username and password for opensubtitles i specto settings


Error: Cannot find module 'ejs'

When building for production and running, we run into an issue that it cannot find the ejs.
It seems relevant to : https://github.com/expressjs/express/issues/910
I think I will also have an issue with the static assets path (I can by copying over the static assets, but not the paths)
A simple test is to use webpack , do a build , copy the dist to a folder and try running it. (It should fail)

Can you elaborate on your setup / versions

I’ll make a repo here tmw

Here is a test repository
https://github.com/lukepolo/bull-board-build-bug

I was able to get it to work by adding
app.engine('ejs', require('ejs').__express);
function createBullBoard(bullQueues) {
    const bullBoardQueues = new Map();
    const app = express_1.default();
    app.locals.bullBoardQueues = bullBoardQueues;
    app.set('view engine', 'ejs');
    app.engine('ejs', require('ejs').__express);
    app.set('views', path_1.default.resolve(__dirname, '../dist/ui'));
    app.use('/static', express_1.default.static(path_1.default.resolve(__dirname, '../static')));
    app.get(['/', '/queue/:queueName'], entryPoint_1.entryPoint);

I was going to go change it , but master seems to be pretty different than the latest version published on NPM

Yeah, you are using v2.
You can make a PR against the latest v2, or try the version ;)

I've fixed it at v3.2.9
Try it :]

Oh snap! Your awesome!!!

It worked!!!! Even moving it to a different folder. Great work. thanks!!!!


Bug on RSS Feed Page

Hi there 🙋♂
I was roaming around laravel.io and when I navigated to the RSS Feed page, this output shows up:

Is this normal? My common sense says that, it ain't normal at all! Would you mind checking it out, please?
For your convenience, I provided the output on Laravel.io's Pastebin

That's odd because I get the RSS feed output. What browser are you using?

Oh, right. I'm using the latest version of Firefox on Windows 10 from Dhaka, Bangladesh

Now when I revisit the page, this is how it looks!
But after refreshing the page couple of time, seems like the same issue shows up again.

I don't know really. It always shows up correctly for me. Can you read it out through an RSS reader?

I ain't got any clue as well, mate!
Let me show you the Inspect Element of the FEED page

As you can see, it seems like the RSS Feed XML code somehow get parsed as HTML by the firefox browser somehow. We can see the xml markup in DevTool clearly. I dunno what's the exact reason here. The Feed page looks good in Chrome.
Maybe this ain't a serious issue to worry about, or it really is?

It's odd because I really can't reproduce it in Firefox either. Maybe this is specific to your case and an extension or something is in the way? Anyway, I don't think this is a serious problem or anything. Thanks for reporting though.

There you go, You're absolutely correct!
So the problem is with the Adguard Ad Blocking extension installed on my firefox browser. I disabled this extension temporarily and seems like the issue literally disappeard after refreshing and revisiting the feed page several times.
Although in my Chrome browser, the Adguard extension is also installed and enabled. But I don't see any issue there.
I understand, this was a false issue. I wasn't aware of my action and that's why I cordially apologize for wasting your time.


Error x509

Describe the bug
I receive error 509 Certificate Signed by Unknown Authority”
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hello, it happens when ao click on the menu, when the page starts to load the content of the template.


support Scala 2.12

PR https://github.com/mauricio/postgresql-async/pull/200

This can be closed now.

This can be closed now.

#200 merged but the new version not released yet.
https://oss.sonatype.org/content/repositories/releases/com/github/mauricio/

@xuwei-k Yes, but the issue is fixed.
@mauricio Could you release the new version?

trying to get my new machine to push to maven central now :(

It's out, should be published to maven central in a couple hours for all 3 scala versions.

Cool, thanks!


Unable to find your web assets, did you forget to build your web app?

An error was encountered while executing the build.

Just add an empty directory called dist
I'll update later

done


Linter for exemple project

thanks! Out of curiosity, were you seeing the linter rules defined in the package applied to the example?

Yes, I didn't add the rules in the example it's the project rules.
It is possible to exclude folders.


SMPL pose parameters

Hi Yasmin,
Amazing work!
If we have SMPL pose parameters for two frames I and j, can we get W_{I->j}^{k} and instead of estimating from least squares solution?
Thanks in advance for any help.

Hi. Thanks. I am not sure about that. You may want to try that out.


fix parse tarceline

fix tracepipe parseTraceLine bug, where tarceLine like this:
            bash-110023  [001] d...1<PHONE_NUMBER>92: bpf_trace_printk: hello world!!!\n

my env:
[root@fedora ~]# uname -a
Linux fedora 5.17.5-300.fc36.aarch64 #1 SMP Thu Apr 28 15:22:08 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
[root@fedora ~]# cat /etc/fedora-release
Fedora release 36 (Thirty Six)

@muhammednagy this is my first PR please help approve to run workflows


Update(DocumentReference documentReference, IDictionary<string, object> updates) is unable to delete multiple entries

[REQUIRED] Please fill in the following fields:
Unity editor version: 2019.4.9
Firebase Unity SDK version: 7.0.2
Source you installed the SDK: Unity Package Manager
Problematic Firebase Component: Firestore
Other Firebase Components in use: Auth
Additional SDKs you are using:
Platform you are using the Unity editor on: Windows
Platform you are targeting: iOS, Android
Scripting Runtime: IL2CPP
[REQUIRED] Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
Issue has been reproduced in Editor. Not yet tested on iOS and Android.
`			string path = "profile-progression_test_v1/testProfileId2";
DocumentReference documentReference = FirebaseFirestore.DefaultInstance.Document(path);
		await documentReference.DeleteAsync();
		await documentReference.SetAsync(new ProfileStateDocument());

		Dictionary<string, object> addedData = new Dictionary<string, object>();
		addedData.Add("Currencies.Val1", 1);
		addedData.Add("Currencies.Val2", 2);
		addedData.Add("Currencies.Val3", 3);

		WriteBatch batch = FirebaseFirestore.DefaultInstance.StartBatch();
		batch.Update(documentReference, addedData);
		await batch.CommitAsync();

		Dictionary<string, object> removeData = new Dictionary<string, object>();
		removeData.Add("Currencies.Val1", FieldValue.Delete);
		removeData.Add("Currencies.Val2", FieldValue.Delete);
		removeData.Add("Currencies.Val3", FieldValue.Delete);

		WriteBatch batch2 = FirebaseFirestore.DefaultInstance.StartBatch();

		batch2.Update(documentReference, removeData);
		await batch2.CommitAsync();`

Expected result:
Currencies: {} //Empty map.
Actual result:
Currencies:
Val2: 2
Val3: 3
It seems that the Update function is only able to remove one entry.
Steps to reproduce:
Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)? Yes
What's the issue repro rate? (eg 100%, 1/5 etc) 100%
What happened? How can we make the problem occur? This could be a description, log/console output, etc.
Entries are not deleted as expected. Run the code above and you should see the problem.
If you have a downloadable sample project that reproduces the bug you're reporting, you will likely receive a faster response on your issue.
Relevant Code:
// TODO(you): c

@christianmrswordsmith Thank you for reporting this bug and I apologize for the confusion and inconvenience this has caused. This is actually a known issue (https://github.com/firebase/quickstart-unity/issues/882) and the fix will be included in the next release of the Unity SDK.
Fortunately, there is a workaround that you can use until the fix is released: use a WriteBatch to delete more than one field from a document. See the linked bug for details.
Since this issue is a duplicate, I'm going to close it; however, feel free to re-open if you think that this issue is different than the linked issue or if you have further questions or comments.

Thx!
Added work around :)
Any idea of when the fix might be released?
On Wed, Feb 10, 2021 at 4:19 PM Denver Coneybeare<EMAIL_ADDRESS>wrote:

Closed #956 https://github.com/firebase/quickstart-unity/issues/956.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/firebase/quickstart-unity/issues/956#event-4315354671,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARBNC7EPFXQX55PSR777GO3S6KPZDANCNFSM4XNCSSHQ
.

I'm glad the work around worked for you! The next release of the Unity SDK that would include the fix is planned for some time in March 2021; however, there is no committed date and I can't promise anything!


@JS annotations on top level methods work fine within a library/module but sometimes break across library boudaries

Repro steps
@JS
library dev_compiler_debugger.js_interop;

import 'package:js/js.dart';

@JS('JSON.stringify')
external _stringify(var value, [Function replacer, Object space]);

stringify(var value, [Function replacer, Object space]) {
  if (replacer == null) return _stringify(value);
  if (space == null) return _stringify(value, replacer);
  return _stringify(value, replacer, space);
}

always works fine but
@JS
library dev_compiler_debugger.js_interop;

import 'package:js/js.dart';

@JS('JSON.stringify')
external stringify(var value, [Function replacer, Object space]);

blows up.
I believe the issue is when dependent dart libraries are loaded from summaries vs compiled together so I am assigning it to +jmesserly who might have an idea about the summary issue. If the issue is something else I'm happy to take a look.
Based on conversations at the summit, suspect the general issue occurs other times when summaries are used with JS interop.

Already fixed by https://github.com/dart-lang/sdk/issues/27672
:+1:


[Question] Calling ReferenceCountUtil.release from another thread

Hi everyone.
I have a small question
Can we call ReferenceCountUtil.release from another Thread? I mean Is there any relation between reference-counting and netty io thread-local/context or I can call the ReferenceCountUtil.release from anywhere?
Thanks

Yes, you can.

@hyperxpro Thanks for the answer. So there is no relation between reference counting of objects and netty io thread local?

By design, ByteBuf are thread-safe.

Thanks @hyperxpro


[INFRA] Replace BSD 3-clause with ASF License v2 for scala binaries

Why are the changes needed?

Scala distribution is released under the ASF License v2 since 2.12.x, while 2.11.x is BSD 3-clause
https://www.scala-lang.org/download/2.11.12.html
https://www.scala-lang.org/download/2.13.8.html
https://www.scala-lang.org/download/2.12.15.html
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Please also remove licenses-binary/LICENSE-scala.txt

LICENSE-scala.txt

shall we update it with
Scala is licensed under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).

## Scala License

Copyright (c) 2002-2022 EPFL

Copyright (c) 2011-2022 Lightbend, Inc.

All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Seems not necessary to keep LICENSE-scala.txt according to https://infra.apache.org/licensing-howto.html

Seems not necessary to keep LICENSE-scala.txt according to https://infra.apache.org/licensing-howto.html

thanks for the confirmation

Codecov Report

Merging #2280 (9e0ff44) into master (6a23151) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2280      +/-   ##
============================================
- Coverage     62.20%   62.19%   -0.02%
  Complexity       69       69
============================================
  Files           349      349
  Lines         16729    16729
  Branches       2261     2261
============================================
- Hits          10406    10404       -2
- Misses         5367     5369       +2
  Partials        956      956

Impacted Files
Coverage Δ

...rg/apache/kyuubi/engine/trino/TrinoStatement.scala
67.46% <0.00%> (-2.41%)
: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 6a23151...9e0ff44. Read the comment docs.


:jack_o_lantern: Hacktoberfest: Help add (programming/data/etc.) language support!

First things first: No Rust knowledge required! All you need is some basic knowledge on a language that this project doesn't support. And not just programming languages! Data languages (like JSON or CSV), markup (HTML), and others are also welcome.
Basically, you need to modify gengo/languages.yaml and provide the following:

What's the name of the language
Provide a color to associate the language
Choose a category that best fits the language
Are there any file extensions associated with the language? E.g. js for JavaScript.
Are there any filenames associated with the language? E.g. Dockerfile for Docker.

There are plenty of pull requests that you can use as an example.
View CONTRIBUTING.md for more details.

Hello @spenserblack can i work on this I would like to add

Nope, you don't need to install anything! Any testing is run automatically when you make a PR. So, yeah, you just need to add a new language to the file.

@spenserblack added swift


"Network error: fetch is not defined" running example from Nuxt repository

Changed into the examples/vue-apollo directory, ran:
npm install
npm dev

Visited http://localhost:3000, and received this error.
I don't know if this is the best/correct solution, but when I set up Apollo without this plugin, I had to add the isomorphic-fetch package and run:
import "isomorphic-fetch"

to define a fetch global. I'm not sure if doing this globally is the right way, but as of now the example isn't working, so if using isomorphic-fetch isn't correct then there should probably be modifications made to get the example working.
Thanks.

Fixed with #10


margin and padding not defined

By defining margin and padding we can make it look more attractive.

please give more details about this issue


Allow "loose" referential integrity

We shouldn't place a foreign key requirement for references when someone does not have them, or doesn't want to manage them. This means that a VCF should be able to be added with no other data (other than a dataset) present in a server.
The problem becomes that it is unclear what reference names to use to query a variant set. From the perspective of the server, that is a data management problem and the more full-fledged offering can be made by adding a reference set, but it shouldn't be required.

To close this issue we should make it possible to add variant sets without a reference set added. This is possible because variants use the referenceName in their search request. However, for Reads search, the explicit reference ID is used, so we can't offer the same feature as easily.
One way to still allow a BAM to be query-able without adding a reference would be to create a synthetic reference based on the BAM index or headers and adding it to the registry. VCF headers do not contain enough information to know what references are used, but by reflecting on the tabix index we might be able to do something similar.

Here is my view:
Currently, we require that the server has the references loaded. We then use internally generated ids to refer to those references from other sets (tables). The problem is that it could be unrealistic to expect every server to have all the necessary references stored internally. We should be able to use references that are defined outside of the server.
We would still like to maintain referential integrity. It just doesn't need to be enforced by the database. This can be done during ingest, ensuring that all reference ids are known, either internally or externally, much like ontology terms. Alternatively, referential integrity could be checked later or even as part of compliance.
In the short term, we can turn off foreign key checks. Longer term, this should be addressed in the larger discussion involving external ids, ontology terms, federated queries, etc.

Thanks @ejacox that's a good summary of the situation. The feature is, I don't need a FASTA to load data into the server. The aspiration is maintaining easy access patterns when data are distributed.


Configure golangci-lint via yml file

This is a cleaner way of integrating golangci-lint because the yml file will be used by the GitHub action, your IDE, and golangci-lint run locally. I think I have the yml file configured to effectively the same as was being run in the CI action (running golint with exclude-use-default: false). I also tried enabling the mispell linter and it is catching things that reviewdog is not, so I removed the reviewdog step in favor of this linter.

If you want to see the misspell output, here's a failure from before I fixed the problems
https://github.com/textileio/powergate/pull/249/checks?check_run_id=590725004#step:4:5

Actually looks like the misspell linter is just for code comments and "commonly misspelled" words, so I added reviewdog back in so now we can use both. I'm not sure why reviewdog didn't find the typos that misspell did.

I'm not sure why reviewdog didn't find the typos that misspell did.
I wonder the same. I agree better with both!


[Fescar-Sample] when version upgrade 0.3.0+, unique index instead of normal index

我们鼓励使用英文，如果不能直接使用，可以使用翻译软件，您仍旧可以保留中文原文。
We recommend using English. If you are non-native English speaker, you can use the translation software.
Which Component
Fescar
Describe the bug
when version upgrade 0.3.0+, Unique index instead of normal index 。
we use unique index prevent when request GlobalRollback but some branches report not received from doing local Trx。
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
e.g.  MacOS  、Java8 、 Version 0.2.1.RELEASE

thanks for your contribution, we will review it soon


Clarified how to reference RelatedObjectDoesNotExist exceptions.

Hello,
Today a colleague wasn't sure on how to refer to a RelatedObjectDoesNotExist exception and we ended up reading the source code to figure it out.
Thought you may appreciate some clarification in the docs?

@shangxiao Thanks :+1:


Break early

Farthest fit functions definitely make more sense now. LGTM with comments.

Thanks.  Applied.
At some point we should cut curves at cusps; at which point might make sense to remove MAX_N.  Or, maybe make MAX_N a function parameter, as an alternative way of specifying tolerance.  But let's not touch it right now.

Ugh. :(  My push had failed, so I merged the original PR.  I'll push a fixup commit.


Encode Morph Targets with Sparse Accessors

Sparse Accessors and Blender
Currently, gltf-pipeline and fbx2gltf do not support sparse accessors at all (links are to the feature requests). It does look like glTF-Blender-IO can import models with sparse accessors. However, unless I'm mistaken Blender is not capable of encoding a model with sparse accessors that previously did not have them?
No Available Tools can Encode Sparse Accessors
I receive my models as FBXs and convert them to glTF. Morph targets double the model size of the model. The morph targets in my models simply interpolate scaling/translations at fixed intervals along a linear curve. It would seem that sparse accessors would be hugely advantageous, but I have yet to find a glTF exporter/optimizer that is capable of this.
Feature Request
Option to encode morph targets using sparse accessors to reduce model size.

Are you able to share an example (glTF or .blend) of a model you are hoping this feature would optimize?

Try this branch: https://github.com/scurest/glTF-Blender-IO/tree/sparse-morph

@donmccurdy I could email it to you if you want. But, since originally making this ticket I'm realizing I might've misunderstood how Sparse Accessors worked. For my use-case, I don't have any animations at all. It's 100% morph targets. So, there wouldn't be any room for optimization between animation key frames.
I also did a breakdown of how the morph targets impacted the file size, and I'm now realizing that a 2x increase in model size on a model that heavily uses blend shapes actually isn't that unexpected. Below is a random mesh selected from the model, this mesh morphs along the X axis and the Z axis:
Position: 1158x * 12 B (Vec3) = 14KB
Normal: 1158x * 12 B (Vec3) = 14 KB
Texcoord_0: 1158x * 8 B (Vec2) = 9 KB
Indices: 2964x * 2 B (Scalar) = 6 KB
Morph Target (Base Positions): 1158x * 12 B (Vec3) = 14 KB
Morph Target (Positions morphed along the X axis): 1158x * 12B (Vec3) = 14 KB
Morph Target (Positions morphed along the Z axis): 1158x * 12B (Vec3) = 14 KB

Total Mesh Size: 71 KB

The meshes vary, but in general the above shows that morphs accounted for 42 KB of 71 KB (60%) on this particular mesh.
@scurest Thank you for your work on this feature, I did try your branch and I didn't notice any differences in the file size. I searched in the GLB for the "sparse" keyword to see if sparse accessors were used anywhere, but didn't find any. The exported model doesn't have any animations, so I'm now realizing sparse accessors are probably more for animations and not so much morph targets by themselves.

In order to use a sparse accessor, most of the accessor items must be zero. For morph positions, that means most of the vertices in the mesh need to be unmoved from their Basis position.

At one point I had implemented sparse accessors for shape key animation samplers in THREE.GLTFExporter (for https://threejs.org/). For various reasons, with the models I had available to test it did not seem to make much of a difference, so I didn't end up merging that change.
As @scurest mentions, a model where only a few vertices move during morphing would get some benefit from sparse accessors in the morph vertex data. If that's not the case in your model, you could also try https://github.com/zeux/meshoptimizer. It has two relevant features (MeshOpt compression and accessor quantization) either of which could probably reduce the size of your morph targets further. Such models would require the application loading your model to support the glTF EXT_meshopt_compression and KHR_mesh_quantization extensions, respectively.

What is the status of this for Blender 3.0?
Is https://github.com/scurest/glTF-Blender-IO/tree/sparse-morph ready to merge?

Hello,
No plan on this for now.
(And it seems that @scurest deleted this branch)
I will try to focus on bugs, any feature that can be done by external tools will come later.

I ran into this issue today. glTF files exported from blender are extremely large when they contain blend shapes.
Blender glTF export - 16.630MB bin + 155KB gltf
This model is very low poly and has no reason to be large other than blend shapes: 8595 tris, and one material, plus a few primitive debug meshes.
To contrast, FBX and FBX2glTF conversions are able to sparsely encode blend shapes.
FBX - 656KB fbx
FBX2glTF conversion (sparse accessors) - 855KB bin + 178KB gltf
blendshape_size_issue.zip
Here is the blend file:
mesh_parent_test_2a7_rotated.blend.zip
(Model is permissively licensed and available from https://booth.pm/ja/items/2019040 "2A-7-4 / XXXX Coolk")
Given this, I think sparse accessors are important to implement, or failing that, automatic compression of gltf exports (such as zip). I was unable to find the branch by scurest, but I suspect it would not be too difficult to implement. If it's not desired by default, perhaps it could be made an export checkbox to reduce blendshape size.

As additional context – I tried comparing the Blender→glTF and the Blender→FBX→glTF versions, they have roughly the same vertex counts and are otherwise similar. The difference does seem to be entirely in the use of sparse accessors. If I run the Blender→glTF version through...
gltf-transform sparse in.glb out.glb

... then the Blender export is reduced to the same size as the FBX2glTF export. The combination of sparse accessors and Meshopt compression seems to be ideal here, reducing the size further to about 470 KB.
I think it would be OK for sparse accessors to be enabled by default for blend shapes.

The patch just looks like this (not tested extensively)

Patch
diff --git a/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_primitive_attributes.py b/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_primitive_attributes.py
index 71fe2970..d5c847f4 100644
--- a/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_primitive_attributes.py
+++ b/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_primitive_attributes.py
@@ -45,7 +45,23 @@ def gather_primitive_attributes(blender_primitive, export_settings):
     return attributes

-def array_to_accessor(array, component_type, data_type, include_max_and_min=False):
+def array_to_accessor(
+    array,
+    component_type,
+    data_type,
+    include_max_and_min=False,
+    try_sparse=False,
+):
+    buffer_view = None
+    sparse = None
+
+    if try_sparse:
+        sparse = __try_sparse_accessor(array)
+    if not sparse:
+        buffer_view = gltf2_io_binary_data.BinaryData(
+            array.tobytes(),
+            gltf2_io_constants.BufferViewTarget.ARRAY_BUFFER,
+        )

     amax = None
     amin = None
@@ -54,7 +70,7 @@ def array_to_accessor(array, component_type, data_type, include_max_and_min=Fals
         amin = np.amin(array, axis=0).tolist()

     return gltf2_io.Accessor(
-        buffer_view=gltf2_io_binary_data.BinaryData(array.tobytes(), gltf2_io_constants.BufferViewTarget.ARRAY_BUFFER),
+        buffer_view=buffer_view,
         byte_offset=None,
         component_type=component_type,
         count=len(array),
@@ -64,10 +80,79 @@ def array_to_accessor(array, component_type, data_type, include_max_and_min=Fals
         min=amin,
         name=None,
         normalized=None,
-        sparse=None,
+        sparse=sparse,
         type=data_type,
     )

+
+def __try_sparse_accessor(array):
+    """
+    Returns an AccessorSparse for array, or None if
+    writing a dense accessor would be better.
+    """
+    # Find indices of non-zero elements
+    nonzero_indices = np.where(np.any(array, axis=1))[0]
+
+    # For all-zero arrays, omitting sparse entirely is legal but poorly
+    # supported, so force nonzero_indices to be nonempty.
+    if len(nonzero_indices) == 0:
+        nonzero_indices = np.array([0])
+
+    # How big of indices do we need?
+    if nonzero_indices[-1] <= 255:
+        indices_type = gltf2_io_constants.ComponentType.UnsignedByte
+    elif nonzero_indices[-1] <= 65535:
+        indices_type = gltf2_io_constants.ComponentType.UnsignedShort
+    else:
+        indices_type = gltf2_io_constants.ComponentType.UnsignedInt
+
+    # Cast indices to appropiate type (if needed)
+    nonzero_indices = nonzero_indices.astype(
+        gltf2_io_constants.ComponentType.to_numpy_dtype(indices_type),
+        copy=False,
+    )
+
+    # Calculate size if we don't use sparse
+    one_elem_size = len(array[:1].tobytes())
+    dense_size = len(array) * one_elem_size
+
+    # Calculate approximate size if we do use sparse
+    indices_size = (
+        len(nonzero_indices[:1].tobytes()) *
+        len(nonzero_indices)
+    )
+    values_size = len(nonzero_indices) * one_elem_size
+    json_increase = 170  # sparse makes the JSON about this much bigger
+    penalty = 64  # further penalty avoids sparse in marginal cases
+    sparse_size = indices_size + values_size + json_increase + penalty
+
+    if sparse_size >= dense_size:
+        return None
+
+    return gltf2_io.AccessorSparse(
+        count=len(nonzero_indices),
+        extensions=None,
+        extras=None,
+        indices=gltf2_io.AccessorSparseIndices(
+            buffer_view=gltf2_io_binary_data.BinaryData(
+                nonzero_indices.tobytes()
+            ),
+            byte_offset=None,
+            component_type=indices_type,
+            extensions=None,
+            extras=None,
+        ),
+        values=gltf2_io.AccessorSparseValues(
+            buffer_view=gltf2_io_binary_data.BinaryData(
+                array[nonzero_indices].tobytes()
+            ),
+            byte_offset=None,
+            extensions=None,
+            extras=None,
+        ),
+    )
+
+
 def __gather_skins(blender_primitive, export_settings):
     attributes = {}

diff --git a/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_primitives.py b/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_primitives.py
index f2f5ae61..04e823dd 100644
--- a/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_primitives.py
+++ b/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_primitives.py
@@ -216,6 +216,7 @@ def __gather_targets(blender_primitive, blender_mesh, modifiers, export_settings
                         component_type=gltf2_io_constants.ComponentType.Float,
                         data_type=gltf2_io_constants.DataType.Vec3,
                         include_max_and_min=True,
+                        try_sparse=True,
                     )

                     if export_settings['gltf_normals'] \
@@ -227,6 +228,7 @@ def __gather_targets(blender_primitive, blender_mesh, modifiers, export_settings
                             internal_target_normal,
                             component_type=gltf2_io_constants.ComponentType.Float,
                             data_type=gltf2_io_constants.DataType.Vec3,
+                            try_sparse=True,
                         )

                     if export_settings['gltf_tangents'] \
@@ -237,6 +239,7 @@ def __gather_targets(blender_primitive, blender_mesh, modifiers, export_settings
                             internal_target_tangent,
                             component_type=gltf2_io_constants.ComponentType.Float,
                             data_type=gltf2_io_constants.DataType.Vec3,
+                            try_sparse=True,
                         )
                     targets.append(target)
                     morph_index += 1


PR shows completely different changes in GitHub view vs Pull Request view

Extension version (web): v0.34.3
VSCode Version (web): 1.63.2
Browser: Microsoft Edge Version 97.0.1072.62

Steps to Reproduce:

Open https://github.dev/dotnet/roslyn/pull/57667
Observe changes in CSharpCompilation.cs in "GitHub Pull Request" tab
Open the same PR in the "GitHub" tab and find the changes in CSharpCompilation.cs

Expected behavior: equivalent file changes shown in both places
Actual behavior: different file changes are shown in each place
Note that the changes in "GitHub" are correct while the changes in "GitHub Pull Request" are incorrect.
GitHub view:

GitHub Pull Request view:

@RikkiGibson Does this happen every time you open that PR? I'm not able to repro the issue.
If it does happen every time, would you be willing to try the pre-release version of the extension and see if it also reproduces there?

I looked again and the "GitHub Pull Request" view is still wrong, but wrong in a new way :)

Switching to pre-release actually fixes the issue. Thanks for the tip!
I wonder if a specific issue was fixed between stable and pre-release? Did you use the version from the issue description when attempting to repro?

I tried both stable and pre-release when trying to repro, but no luck on either. There are some significant refactors to improve performance in pre-release, so something could have fixed it.

I think dotnet/roslyn#57667 still shows some bad behavior in my Edge, but other pull requests seem to work fine. I wonder if some local cache got into a bad state specifically for that pull request.

I wonder if some local cache got into a bad state specifically for that pull request.

That could be it. Could you try going to https://vscode.dev/github/dotnet/roslyn/pull/57667 and seeing if it repros there?

Fascinating. Right now I get the gray bars indicating I can leave a comment, but no actual content diffs in github.dev:

In vscode.dev/github I get the proper content diffs:

The no diffs is caused by https://github.com/microsoft/vscode-remote-repositories-github/issues/121 We're still trying to get to the bottom of that one.
I think it's safe to say that the original issue was caused by caching though if you can't repro it on vscode.dev. If you see the incorrect diffs (not the no diffs) again, lets reopen for further investigation since we shouldn't end up with a bad cache.
Thank you for trying this out!


Note "#target5" is duplicated

Challenge Clone an Element Using jQuery has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:51.0) Gecko/20100101 Firefox/51.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

jQuery Playground

#left-well

        <button class="btn btn-default target" id="target1">#target1</button>
        <button class="btn btn-default target" id="target2">#target2</button>
        <button class="btn btn-default target" id="target3">#target3</button>

#right-well

        <button class="btn btn-default target" id="target4">#target4</button>
        <button class="btn btn-default target" id="target5">#target5</button>
        <button class="btn btn-default target" id="target6">#target6</button>

After pressing "Run tests" task is complete but "#target5" duplicates in "#left-well

"

I can verify the issue on live site.

@Aleksey3107 Thanks for submitting. This is a known issue and will not be corrected as the new update (beta) will fix it. See: https://github.com/freeCodeCamp/freeCodeCamp/issues/5072

@dhcodes Can you point me to the PR for this issue? Would like to know the fix. Thanks

@ajain17 it wasn't a hardcoded fix. It was the update to react I believe. See the final post in the #5072 thread for the PR.

@dhcodes thank you. Sorry for disturbing, I haven't seen this thread :(

@Aleksey3107 no worries.


Fixed bug in add-k smoothing

The smoothing value k is only added to the nominator and denominator for n-grams with n > 2 due to an off-by-one error. This is now fixed.

Sorry, I haven't had a chance to look at this. Perhaps after ACL...

@martinpopel I think I adressed all of your concerns, can you revisit this PR when you are free?

All my original concerns were addressed, but I have a new one: if smooth=add-k is used with a non-default value, this is not reflected in the sacrebleu signature (which indicates only the smoothing method, but not the smoothing value). This means that the signature cannot be trusted and it is better to report the sacrebleu version and command line options (some papers already report the options instead of the signature). However, this bug (if you consider it a bug) is not really related to the current PR and can be fixed in another PR.
The solution with SMOOTH_VALUE_DEFAULT = { 'floor': 0.0, 'add-k': 1 } suggested by @mjpost  may be more readable, but it is effectively equivalent to the current solution (because no one should want to use smooth='add-k', smooth_value=0.0). As @DNGros pointed out, the code for setting smooth_value could be moved inside the compute_bleu method, so it is applied also when using sacrebleu as a library (not as CLI). I don't care much about this.
I suggest to merge this PR soon, so we can move on.

Hi, my more immediate concern is that smooth_value is entirely ignored for add-k smoothing.
I agree the smoothing value needs to be added to the signature, too.
So I am paying attention to this now but believe it is not quite ready to merge.

Oh, yes, add-k now ignores the smooth_value and this was one of my original comments.
So

either use the smooth_value for add-k (with the add-k specific default value 1)
or rename add-k to add-one, which would also solve the problem with the signature (well, partially, because there is still the floor smoothing).

@mjpost @martinpopel Both of you are totally right! Due to the off-by-one error which caused the tests to fail I completely missed to commit the change to generalize add-k by having it use smooth_value instead of 1. This PR got kinda messy as I opened it some months ago, sorry for that.

@mjpost: It seems that the SMOOTH_VALUE_DEFAULT = { 'floor': 0.0, ...} default won't be intuitive for the users because the floor smoothing (used in sentence_bleu by default) with smooth_value=0 effectively means no smoothing. If no smoothing should be the default for sentence_bleu, I would expect explicit smooth_method='none' to be more intuitive. See #64.

Hope to look at this on Friday, but it might have to wait until ACL meta-reviews are finished early next week...

Just released version 1.4.4 with this included. Thank you for your contributions (and patience)!


Bug: Demo for data-table is not working properly in IE11

Bug Report
Using Selection on Rows in Table creates strange concatenated Title in Message area:

Tooltips on column headers in IE11 don't work:

Clear button on Search doesn't work in IE11:

These items no longer appear to be an issue


Unified cleanup using scoped behaviors

Description
In service of #54 .
In our trees, there are numerous times when we want to flip a switch, move the robot, and then flip the switch. For example, turning face detection on/off, adding/removing a collision object in the world, allowing/disallowing collisions with certain objects, etc.
What is challenging is that we want to run the "cleanup" for flipping the switch in three different cases:

If the robot motion succeeds.
If the robot motion fails.
If the entire tree is preempted (e.g., the user terminates the robot motion from the app).

Achieving the above 2 is straightforward using Selectors. Achieving the third is more difficult, because when tree.stop(INVALID) is called, it is called on all the behaviors one-by-one, which in turn calls each behaviors' terminate function. Therefore, achieving the proper cleanup behavior in the third case requires performing that cleanup in a terminate function of a behavior.
Building off of the discussion and contribution in py_trees#427, this PR implements a scoped_behavior idiom that executes a pre-behavior, main-behavior, and post-behaviour, with a guarantee that the post-behavior will execute even if the behavior is preempted.
Testing procedure
Run the necessary nodes as documented in the README. Verify the following:

[x] Sim:

[x] ros2 action send_goal /MoveToRestingPosition ada_feeding_msgs/action/MoveTo "{}" --feedback

[x] Runs to completion successfully.

[x] ros2 action send_goal /MoveToMouth ada_feeding_msgs/action/MoveTo "{}" --feedback

[x] Runs to completion successfully.

[x] When the CLI action call is terminated during the cartesian motion to the mouth, the robot immediately stops moving and re-enables collisions with the wheelchair_collision object.

[x] ros2 action send_goal /MoveFromMouthToRestingPosition ada_feeding_msgs/action/MoveTo "{}" --feedback

[x] Runs to completion successfully.
[x] When the CLI action call is terminated during the cartesian motion away from the mouth, the robot immediately stops moving and re-enables collisions with the wheelchair_collision object.
[x] When the CLI action call is terminated during the motion to the end configuration, the robot immediately stops moving and removes the in_front_of_wheelchair_wall from the collision scene.

[x] (Note that you'll have to run MoveToMouth and MoveFromMouthToRestingPosition several times iteratively to test all of the above.)

[ ] Real:

[ ] ros2 action send_goal /MoveToRestingPosition ada_feeding_msgs/action/MoveTo "{}" --feedback

[ ] Runs to completion successfully.

[ ] ros2 action send_goal /MoveToMouth ada_feeding_msgs/action/MoveTo "{}" --feedback

[ ] Runs to completion successfully.

[ ] When the CLI action call is terminated during the cartesian motion to the mouth, the robot immediately stops moving and re-enables collisions with the wheelchair_collision object.

[ ] ros2 action send_goal /MoveFromMouthToRestingPosition ada_feeding_msgs/action/MoveTo "{}" --feedback

[ ] Runs to completion successfully.
[ ] When the CLI action call is terminated during the cartesian motion away from the mouth, the robot immediately stops moving and re-enables collisions with the wheelchair_collision object.
[ ] When the CLI action call is terminated during the motion to the end configuration, the robot immediately stops moving and removes the in_front_of_wheelchair_wall from the collision scene.

[ ] (Note that you'll have to run MoveToMouth and MoveFromMouthToRestingPosition several times iteratively to test all of the above.)

[x] Run your code through pylint and address all warnings/errors. The only warnings that are acceptable to not address is TODOs that should be addressed in a future PR. From the top-level ada_feeding directory, run: pylint --recursive=y --rcfile=.pylintrc ..

Before Merging

[ ] Squash & Merge

Tested in sim. The only issue I noticed is that when terminating the CLI action call during robot arm motion, the tree terminates the post-behavior before terminating the movement, which can be particularly harmful if the post-behavior blocks (e.g., toggling a collision object off).
I think the way to address this is to put the OnPreempt decorator after the SelectorWithMemory in the scoped_behavior, add a ForceFailure decorator on top of the SelectorWithMemory, and revert OnPreempt to always return Running. That way, the root Selector will always tick both the main tree and the OnPreempt decorator, but when a preemption occurs, it will terminate the main tree before running the post-behavior.

Wrote comprehensive test cases, and modified eventually_swiss to satisfy those test cases. Simply put, the test cases guarantee that eventually_swiss behaves as follows:

on_success is run if and only if workers succeed.
on_failure is run if and only if workers fail (that is a bug in your current implementation -- on_failure runs if on_success fails).
on_preempt is run if and only if a node above the root calls root.stop(INVALID).
If workers succeed, the return status is the success/failure status of on_success.
If workers fail, the return status is failure.
If a node above the root calls root.stop(INVALID), first terminate(INVALID) is called on workers, on_success, and on_failure, and THEN on_preempt is ticked to completion.

The tree has become a bit unwieldy (reproduced below), but the comprehensive test cases mean that we can be fairly certain it works as outlined above.
SelectorWithoutMemory
  |-ForceFailure
  |   |-SelectorWithMemory
  |   |    |-SequenceWithMemory
  |   |    |    |-UnsetBlackboardVariable
  |   |    |    |-worker
  |   |    |    |-StatusToBlackboard
  |   |    |    |    |-on_success
  |   |    |-SequenceWithMemory
  |   |    |    |-Inverter
  |   |    |    |    |-CheckBlackboardVariableExists
  |   |    |    |-StatusToBlackboard
  |   |    |    |    |-SuccessIsFailure
  |   |    |    |    |    |-on_failure
  |-OnTerminateMultiTick
  |   |-on_preempt
  |-SequenceWithMemory
  |   |-WaitForBlackboardVariable
  |   |-BlackboardToStatus

All the test cases in sim pass. Yet to test on the real robot.

Note that even the new scoped_behavior implementation is not exactly what we want. Say the worker succeeds and post starts ticking, and then the tree is preempted. Our current implementation ticks a completely new copy of post to completion. In actuality, we want to continue ticking that same copy of post. (I have an idea for how to address this, will work on it later).
The tests that still need to be implemented for scoped_behavior are:

That it pre-empts correctly
That it behaves correctly, including with preempts, when we have nested scopes.

Addressed all changes, added comprehensive unit tests for scoped_behavior including nested scope. Also added unit tests for both eventually_swiss and scoped_behavior for if the tree is preempted before the idiom is ticked, and if the tree is preempted after the idiom has terminated.
@egordon note that while our discussed approach worked for eventually_swiss, it didn't work for scoped_behavior. That's because using eventually_swiss as a sub-idiom for scoped_behavior would require multiple copies of post, whereas we want only one copy (so that e.g., if post starts ticking before preemption, the same behavior will continue to get ticked). I implemented a slightly different structure for scoped_behavior:
OnPreempt(same `post` as below)
  |-SequenceWithMemory
  |   |-UnsetBlackboardVariable
  |   |-FailureIsSuccess
  |   |    |-StatusToBlackboard
  |   |    |    |-SequenceWithMemory
  |   |    |    |    |-pre
  |   |    |    |    |-workers[1]
  |   |    |    |    |-...
  |   |    |    |    |-workers[n]
  |   |-FailureIsSuccess
  |   |    |-post
  |   |-BlackboardToStatus

The only danger of the above formulation is potential name clashes with the blackboard status. However, I nest the blackboard variable within the idiom name, so the only way names will clash is if the programmer uses multiple idioms with the same name and doesn't pass a custom status_blackboard_key to it, which seems unlikely. Regardless, if you're concerned about name clashes, I can de-dup it by appending the timestamp to it. LMK.


Code documentation

[x] #86
[x] #87
[x] #88
[x] #89
[x] #90
[ ] #91

#59 is blocking #91

Waiting for #99 to be merged


[Bug]: Text not visible in light mode

Give a brief about the bug ✍
Description
When the user chooses light mode, the text in the body is not visible clearly. This proves to be a problem as the user is unable to read the text to understand what the website does.

What is the expected behavior? 🤔
Description
The user should be able to read the text to be able to navigate the website.
Provide step by step information reproduce the bug 📄
Description
By changing some features and styling of the website, the bug can be resolved.

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

/assign

Hey @BagchiShreya ! , This issue is already assigned to @BagchiShreya. 💗
You can work on other issues 🚀
If there is anything wrong you can contact us on Discord🕹👀


Add traceroute MicroByte

Checklist:

[x] Added activities for learners
[x] Didn't give the solutions to the added activities straight away
[x] Followed a LearnByDoing approach
[x] Clean and well documented code (if source code files are involved)
[x] Added images for better understanding if deemed necessary

@Kevinpaulose05 Thanks for the feedback! Should I mention possible contribution scopes in the README (maybe at the end in a contribution ideas section) ?

@DarkAEther You can raise issues once the PR gets merged.

Next thing that you should do @DarkAEther is showcase this PR on microbyte-showcase channel.
Kindly follow the below mentioned format for ur msg-
All creators who have their PRs accepted and merged can show off their contribution in the microbyte-showcase channel. This will help the other participants by keeping them updated. Also, kindly refrain from spamming the channel with every minor contribution you may make. Please give a brief compiled overview of your contribution.
Template (Kindly stick to this format):
Title of your project #(repo-topic)
A brief overview of your project (not more than 3-5 lines). GITHUB LINK of byte must be provided. In the end of this briefing use #(languages), #(software), #(skills) tags.
Actively looking for contributors (both learners and creators). Please raise an issue first and then submit your PRs to that issue only (either after or before assigning the issue to you). Also, you can suggest how they can contribute.
Template example:
Concurrency #OS
Brief description. [GITHUB LINK]. #C++ #Python #Shell #Django
Actively looking for contributors. Learners can to this _ and creators can do this __. Please raise an issue first and then submit your PRs to that issue only.
#learnbydoing #microbyte-showcase
Needless to say keep contributing!!

@DarkAEther Nice work and they are just like real microbytes !👍👩💻

@DarkAEther Very well done! The team was totally impressed with your contribution. Looking forward to more contributions like these! :)

@all-contributors kindly add @DarkAEther  for code doc ideas content

@all-contributors kindly add @Kevinpaulose05 for review and eventOrganizing


fix: give my collection auction results some space #trivial

The type of this PR is: fix
This PR resolves CX-1975
Description
Adds a top and bottom spacer to auction results in My Collection.
Screenshots
Before

After

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

fix spacing in my collection auction results - Brian

Android user-facing changes

Dev changes

This PR contains the following changes:

iOS user-facing changes (fix spacing in my collection auction results - Brian)

  Generated by :no_entry_sign: dangerJS against 5dab6a937ae2ee4761c441e7385c5caeda2b7aca


Able to access complete Shared Preference values in iOS flutter application.

Steps to reproduce
I submitted mobile application to VAPT testing. In VAPT testing the team able to view all the shared preference values in
ios plist cat .plist.
Expected results
User should not be accessible to shared preference values. ?
Attached Screenshot shared by team

Actual results
Able to access Shared Preference values
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

User should not be accessible to shared preference values.

Is there something in the package description or README that led to this expectation? We try to be very clear about the storage mechanics on each platform in the README.


Lifecycle attribute for decommissioning of MARSNodes

related to "PBL-999 - mars model should be decomissionable"

Is the set of possible lifecycle states closed? If so, please include a
ogit:validation-type "regex";
ogit:validation-parameter """^(decommissioned|...|...)$""";

in the attribute.

"decommissioned" will be just a magic word and everything else is possible but without any effect for us.
So no regex validation is necessary.


Update some crates

This lands #1390 with some test fixes and a clang-sys update.
Part of #1407.
Closes #1390.

@bors-servo r+

:pushpin: Commit 0dab61e has been approved by emilio

:hourglass: Testing commit 0dab61ea93b1db34ac85349384def118a2f9d858 with merge 820435c8ebec4d66148c12eb5f98089dc637c453...

:sunny: Test successful - status-travis
Approved by: emilio
Pushing 820435c8ebec4d66148c12eb5f98089dc637c453 to master...


On HTTPS, IP is undefined.

Is anyone willing to tackle this issue? I've been having trouble finding a IP information service that supports HTTPS.
Current version for HTTP:
<!-- for finding the ip -->
<script language="Javascript" src="http://www.codehelper.io/api/ips/?js"></script>

var ip = codehelper_ip.IP; //".0123456789"

Issue has been fixed thanks to @Magador !