🐛 BUG: pages publish certainly return code: 8000000 under certain conditions

What version of Wrangler are you using?
2.1.13
What operating system are you using?
Windows, WSL, Ubuntu on Azure Pipelines
Describe the Bug
I sometimes faced below error when pages publish.
wrangler pages publish ./dist --project-name=my-project

🌍  Uploading... (101/101)

✨ Success! Uploaded 0 files (101 already uploaded) (0.34 sec)

✘ [ERROR] A request to the Cloudflare API (/accounts/XXXXX/pages/projects/XXXXX/deployments) failed.

  An unknown error occurred [code: 8000000]

  If you think this is a bug, please open an issue at: https://github.com/cloudflare/wrangler2/issues/new/choose

I found the cause of this error.
This error is caused by the HEAD commit message when the current directory is git managed.
Specifically, it happens when a commit message starts with UTF-8 125,126 or 127-byte string and one multibyte character between 128th byte and 129th byte.
Perhaps, it is caused commit-message length truncating logic on server.
absolutely fail commit-message examples:

1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567À

127 bytes + 2-bytes character

123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456あ

126 bytes + 3-bytes character

12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345🍺

125 bytes + 4-bytes character

I tested using commit-message option.
workaround

use 1byte characters for the first 128-bytes
overwrite commit-message by short message using --commit-message

wrangler pages publish --project-name your-project-name --commit-message "definitely succeed"

some problem here Q_Q

This solves the same issue on my end: npx wranger pages publish <directory>/ --project-name <project-name> --commit-message "success".

thank you for reporting this issue. we'll have a look into it

hi @takashiski  :) we haven't heard from you in a while, so we’re going to close this issue for now, but if this is still a problem, please feel free to open a new issue referencing this one. please be sure to include an updated summary and any additional requested details, followup, or context and we will revisit and investigate further. thanks!


What's the preferred way to build a spa using Commercetools platform api?

It seems nodejs sdk is only for serverside. Is http api my only option to build a spa?
As CORS are not allowed to the Auth service, should I proxy all requests through my server?
I saw the "Select permissions for an API client suited for a mobile or a single page application." in NEW API CLIENT page, is there any further instruction/demo about it?
Thank you in advance for any help.

@zcfan Hi, let me try to answer your questions.

It seems nodejs sdk is only for serverside

Yes and no. The version 1.x is only serverside yes, version 2.x (which is still in development but you can already start using it) is built to work both server + client side.

Is http api my only option to build a spa?

Depends on your use case. What kind of application would you like to build that is SPA? What is your use case that you are trying to cover?

As CORS are not allowed to the Auth service, should I proxy all requests through my server?

The auth-ws doesn't support CORS, correct. We don't support yet the OAuth 2 Implicit Client Flow, which is meant to be used for client side applications. There are some security reasons behind it.

I saw the "Select permissions for an API client suited for a mobile or a single page application." in NEW API CLIENT page, is there any further instruction/demo about it?

We do have some restricted endpoints that are meant to be used for Mobile or Browser applications, check out the "Mobile & Browser" section in the API Documentation.

In general it all comes down to the use case you want to cover.
If you are trying to build an application to manage your data (like the Merchant Center) and you want to use the HTTP API "normally" (create products, view orders, etc), I would recommend that you have your own HTTP server running as a "proxy" to the HTTP API, which provides the necessary authentication. The HTTP server also needs to take care of its own authentication / login.
If you just want to display some data without much authentication involved, you might want to look into the "Mobile & Browser" endpoints.
Feel free to ask any further question or get in touch with our support channel if you want to get more technical help.

Hi @zcfan! Not nodejs specific, but you can checkout this tutorial here: http://dev.commercetools.com/tutorial-mobile-spa.html
It should give you an idea of what we're offering on the API side.
As a reference implementation for the /me endpoints, we have the iOS SDK https://github.com/commercetools/commercetools-ios-sdk and Sunrise app https://github.com/commercetools/commercetools-sunrise-ios (if you want to read a bit of Swift code 😉 ).
If that does generally make sense for you, we can look into the CORS issues at the auth service.


A new function to contract the coordinates after the random generation to ensure that the atoms are not to far apart.

A new function contract_coordinates has been added to contract the coordinates after they have been created to ensure that the atoms are not too far apart and that the QM method can converge within a geometry optimization. The contraction works by moving each atom towards the origin.  If the atom comes close to another atom, the movement is stopped. It is possible to activate the function via the .toml file or via a flag.
The get_xyz_str function has also been added to be able to print the xyz coordinates to the terminal in the same way as a `.xyz' structure.
Linked to the issues #5 , #7  and part of #24.

General remarks on the PR

better description of the changes you want to implement
better matching title
all changes that you've implemented in the CHANGELOG.md (get_xyz_str for example) and in the description of the PR

General comment: Just resolve the conversations which are obviously solved or deprecated (due to updated code).


Breeder > Initial development

Evaluate if it makes sense to create helper tools to create a lycheeJS boilerplate for specific purposes:

lycheeJS integrated project (html / node / ... platform!?)
lycheeJS as library or HTML5 project (with core.js / main.js)

The lycheeJS-breeder Tool is now the tool that automates the initial setup of lycheeJS separated projects.
There are two kinds of projects:

lycheeJS integrated projects (as before use the lycheeJS ecosystem and build chain with all its advantages).
lycheeJS separated projects (that have same filesystem structure and use lychee's /dist builds as a library).

The API of the CLI tool shall be like:
cd /path/to/Software;

mkdir myproject;
cd myproject;

# This configures and auto-updates the lib/lychee folder with the newest version
# Also creates source, asset, build folders and the lychee.pkg file if not existing
lycheejs-breeder configure html;

# This calls the fertilizer with the path to the current project, so it will be built for that specific platforms setup in the lychee.pkg file.
lycheejs-breeder fertilize;

In order to work correctly, the breeder and fertilizer.Template requires a package diffing algorithm. It might make sense to port the sorbet.mod.Package algorithm to a generic one that can be reused among other platforms.
Maybe it would fit in a sorbet.data.Package.prototype.sort() or fertilizer.data.Package.prototype.sort(). Still undecided.

rename configure command -> setup

CRO renamed:
setup -> init
install ->  pull
maybe fertilize can also be renamed to init?!

maybe something like
lychee-breeder node add Service
lychee-breeder node add Service chat
would be cool
this will automate the includes and remote.addService in Server.js or Client.js
and will add a new javascript file like chat.js in net/remote with standard Service Template.

The Breeder needs now a functionality to automatically create all subfolders in the project convention.
That means it shall create automatically (even if empty):

/api
/asset
/build
/source

The fertilizer.data.Filesystem requires an mkdir method that should be reused internally, too.


In game barrel

Have you ever seen observer view angle line that polished very well? that's what i'm talking about.

What feature are you referring to? Freelook? Freecam? Thirdpos? Those achieve vectors by not smoothing them (just directly setting them instantly), if this is a really needed case I can implement it, this is not very hard, the logic behind this takes couple of minutes.
If you refer to game's observer then not, I haven't digged into this at all.

I tbink this short video help you what i mean:
https://youtube.com/shorts/Zg_8URly6yU?feature=share

This is obviously not my software.
I implemented this months ago, and till this day it works as intended.

This is obviously not my software. I implemented this months ago, and till this day it works as intended.  See

yeah I see but it still need some tweaks, thanks anyway.


Add blockedConsumerOnUnackedMsgs flag in consumer-stats

Motivation
Broker blocks message dispatching if consumer doesn't ack maxUnackedMessages and state of consumer-blocking should be surfaced in consumer-stats.
Modifications
Added state of consumer-blocking as attribute: blockedConsumerOnUnackedMsgs in consumer-stats
Result
AdminTool returns blockedConsumerOnUnackedMsgs information while querying topic internal-stats

CLA is valid!

CLA is valid!


Update readme

better info on set up

[ ] getting ruby from rbenv
[x] set env variables

@Br3nda getting ruby from rbenv Im not sure what I'm supposed to put for this

rbenv is a tool that provides ruby.
We should have some instructions in the readme explaining this.


Improve meshery contribution flow guide

Signed-off-by: Daksh Sagar<EMAIL_ADDRESS>Description
Edited CONTRIBUTING.md file to make the setup process more comprehensible.
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

@Nikhil-Ladha Please have a look 🙂

Yeaa.... first contribution...rather an very helpful one 👌


Reference-style links?

This is great. Are reference-style links on the roadmap? Inline works great for bulk conversions, this would be more of a nice-to-have thing.

Thanks for the suggestion. I will likely add this feature soon


auto linebreak

Currently, if I have a lot of text in a node I can sprinkle in some <br /> to avoid unreadable mindmaps. However, this of course creates inconsistent results.
Is it possible to define a width of the nodes, to automatically have line breaks.

+1 on this, would make more complex mind maps way easier to work with

Is this a duplicate of #76 ?

The issue is a different one, but the reply is exactly what i looked for, thanks for the link.
I am looking forward to the implementation of the feature.


Mac M1 function simulation error

hi,
I am trying to run
npx hardhat function-simulate on an unchanged repo
and I am getting:
Duplicate definition of Transfer (Transfer(address,address,uint256,bytes), Transfer(address,address,uint256))
Error: Transaction reverted: function call to a non-contract account
    at FunctionsBillingRegistry.getFeedData (contracts/dev/functions/FunctionsBillingRegistry.sol:517)
    at FunctionsBillingRegistry.estimateCost (contracts/dev/functions/FunctionsBillingRegistry.sol:289)
    at FunctionsBillingRegistry.startBilling (contracts/dev/functions/FunctionsBillingRegistry.sol:334)
    at FunctionsOracle.sendRequest (contracts/dev/functions/FunctionsOracle.sol:172)
    at FunctionsConsumer.sendRequest (contracts/dev/functions/FunctionsClient.sol:63)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at HardhatNode._mineBlockWithPendingTxs (/Users/benvass/Projects/functions-hardhat-starter-kit/node_modules/hardhat/src/internal/hardhat-network/provider/node.ts:1802:23)
    at HardhatNode.mineBlock (/Users/benvass/Projects/functions-hardhat-starter-kit/node_modules/hardhat/src/internal/hardhat-network/provider/node.ts:491:16)
    at EthModule._sendTransactionAndReturnHash (/Users/benvass/Projects/functions-hardhat-starter-kit/node_modules/hardhat/src/internal/hardhat-network/provider/modules/eth.ts:1522:18)
    at HardhatNetworkProvider.request (/Users/benvass/Projects/functions-hardhat-starter-kit/node_modules/hardhat/src/internal/hardhat-network/provider/provider.ts:118:18)
    at EthersProviderWrapper.send (/Users/benvass/Projects/functions-hardhat-starter-kit/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)

node: 18.14.0
npm: 9.3.1
hardhat: 2.12.0
I could deploy a contract to sepolia
let me know if I am just dumb or I am just missing something

(I downgraded from node19 it did not worked either and I was getting hardhat errors)

I believe this issue is because we are still setting up the DON & contracts for Sepolia.  Sepolia will be supported very soon before an official launch announcement.
Can you try setting the RPC URL for Goerli or Mumbai, unsetting Sepolia and run the command again?

@KuphJr what are the prerequisite steps for running 'npx hardhat function-simulate'?
I deployed the example contract to goerli as well, but, I am getting the same error
shouldn't the simulation be able to run without any deployment?

I just cloned a fresh repo.  All I did was run npm install, set the RPC URL (I set mine for mumbai) and set my wallet PRIVATE_KEY env vars.  When I ran npx hardhat functions-simulate, I was unable to recreate.

thanks for the help, I leave this here until it get's fixed
(the problem was that hardhat tries to use dummy values even if some of them are set)
not working .env:
MUMBAI_RPC_URL="https://polygon-mumbai.g.alchemy.com/v2/ExampleKey"
GOERLI_RPC_URL="https://goerli.infura.io/v3/<redacted>"
SEPOLIA_RPC_URL="https://sepolia.infura.io/v3/ExampleKey"
PRIVATE_KEY="<redacted>"
COINMARKETCAP_API_KEY="CoinMarketCap API key (Get a free one: https://coinmarketcap.com/api/)"
ETHERSCAN_API_KEY="<redacted>"
POLYGONSCAN_API_KEY="POLYGONSCAN API key (Get a free one: https://polygonscan.com/)"

working_ .env:
GOERLI_RPC_URL="https://goerli.infura.io/v3/<redacted>"
PRIVATE_KEY="<redacted>"
ETHERSCAN_API_KEY="<redacted>"

This issue is resolved by this PR: https://github.com/smartcontractkit/functions-hardhat-starter-kit/pull/89


Add advanced tweak "set region to world"

Added this tweak based on the issue #1120

The only purpose of a World toggle is to change this to your region. Setting it to World would cause the MSStore to stop functioning. Not something I would want normal users to do.


chore: update go mod

Fixes #N/A
Description
updates go mod for https://github.com/kubernetes-sigs/karpenter/pull/1533/files and https://github.com/kubernetes-sigs/karpenter/pull/1530 and https://github.com/kubernetes-sigs/karpenter/pull/1528/files
How was this change tested?
here
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

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

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 79.274%

Totals

Change from base Build<PHONE_NUMBER>4:
0.01%

Covered Lines:
5982

Relevant Lines:
7546

💛  - Coveralls


Training Code

Hi Authors,
We appreciate your brilliant work!
My question is, do you have plan to release all training and evaluation code? Could you give an estimated time for that?
Thanks!

Hi @shunliu01, thanks for your interests in our work!
Yes, we will be releasing the full training and evaluation code in the near future.
This process needs internal approval, which is estimated to take around 1~2 weeks. We are trying our best to expedite this process.
If you have any question regarding the implementation, you may leave comment here or contact me via email.
Thanks!

Hi @shunliu01 , sorry the delay. Now we have released the code! Have fun!


Implement Radio Component

closes : https://github.com/zakodium-oss/react-science/issues/474

Codecov Report
Patch coverage: 55.50% and project coverage change: +0.15% :tada:

Comparison is base (f79f3a6) 48.95% compared to head (ba184cf) 49.10%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #536      +/-   ##
==========================================
+ Coverage   48.95%   49.10%   +0.15%
==========================================
  Files         147      151       +4
  Lines        8202     8426     +224
  Branches      146      146
==========================================
+ Hits         4015     4138     +123
- Misses       4187     4288     +101

Files Changed
Coverage Δ

src/components/forms/Radio/ButtonRadioItem.tsx
47.88% <47.88%> (ø)

src/components/forms/Radio/ClassicRadioItem.tsx
48.05% <48.05%> (ø)

src/components/forms/Radio/Radio.tsx
67.12% <67.12%> (ø)

src/components/forms/Checkbox.tsx
23.37% <100.00%> (-0.99%)
:arrow_down:

src/components/forms/Radio/index.ts
100.00% <100.00%> (ø)

src/components/forms/index.ts
100.00% <100.00%> (ø)

src/components/forms/styles.ts
72.91% <100.00%> (+0.57%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Can you avoid the double border on the radio groups.

I don't see this in my browser could you recheck again please

@stropitek  I did all the improvement you asked thank you

I don't see this in my browser could you recheck again please

To see the problem, don't use the zoom of the browser, use the zoom of storybook.
If you look closely, you'll see the issue at 100% zoom as well.

If you look closely, you'll see the issue at 100% zoom as well.

I am not seeing the double border. Here's my result:

Could you please let me know which web browser you're using?

I see a double border with Chrome:

I see a double border with Chrome:

I checked safari version and yes it have double border
I fixed it now, Could you please check?

Did you also check on the deployed storybook (https://474-create-radio-component.react-science.pages.dev/) or only locally?

I checked the two

Safari is also not working for me. Did you also check on the deployed storybook (https://474-create-radio-component.react-science.pages.dev/) or only locally?

I found that navigators does not accept border less then 1px so I refactored the code to avoid it

The borders look good for me now.

Given that we are here implementing the "normal" variant of the component, can you make it look like the middle one? Can you also implement the variant="small" prop?

Can you make the button version more like the ones highlighted in the screenshot (less padding)

Can you make the button version more like the ones highlighted in the screenshot (less padding)

Style updated.

I think font size should be 12px both on button and classic versions of the small variant
Currently classic is 12px but button is 14px

Currently classic is 12px but button is 14px

It's fixed now
I used 14 in button style in two variant because it's the case in the ant design


feat(ujust): add install-zed

This is great, but let's get it in https://github.com/ublue-os/config
I'd rather Bazzite stick to apps that have a direct use case for gaming, and more generic stuff like Zed be usable everywhere and maintained in one place.


Update codegen to work outside GOPATH

See https://github.com/knative/networking/pull/18/files
Fixes knative/pkg#1287

/assign @vaikas


adding an openmpi build

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

Selectors are suggested to take a <two spaces>#<one space>[<expression>] form. See lines [177, 178, 179, 243, 244, 245]

For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

To avoid the initial errors, I added the following to meta.yaml,
       - export OMPI_MCA_plm=isolated  # [ mpi == 'openmpi' ]
        - export OMPI_MCA_btl_vader_single_copy_mechanism=none  # [ mpi == 'openmpi' ]
        - export OMPI_MCA_rmaps_base_oversubscribe=yes  # [ mpi == 'openmpi' ]

but still, the build of fenics-libdolfin fails with:
  orte_ess_init failed
  --> Returned value Unable to start a daemon on the local node (-127) instead of ORTE_SUCCESS
--------------------------------------------------------------------------
--------------------------------------------------------------------------
It looks like MPI_INIT failed for some reason; your parallel process is
likely to abort.  There are many reasons that a parallel process can
fail during MPI_INIT; some of which are due to configuration or environment
problems.  This failure appears to be an internal failure; here's some
additional information (which may only be relevant to an Open MPI
developer):

  ompi_mpi_init: ompi_rte_init failed
  --> Returned "Unable to start a daemon on the local node" (-127) instead of "Success" (0)

It might help to add
export OMPI_MCA_plm_rsh_agent=/bin/false
export OMPI_MCA_btl_base_warn_component_unused=0

These are used when building the Debian package.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

It might help to add
export OMPI_MCA_plm_rsh_agent=/bin/false
export OMPI_MCA_btl_base_warn_component_unused=0

These are used when building the Debian package.

@johannesring, Thanks for your suggestion. Unfortunately, it did not work, still I get the error:
PETSC_TEST_LIB_OUTPUT: --------------------------------------------------------------------------
The value of the MCA parameter "plm_rsh_agent" was set to a path
that could not be found:

  plm_rsh_agent: ssh : rsh

Please either unset the parameter, or check that the path is correct
--------------------------------------------------------------------------
[b9d6ee7464ea:01877] [[INVALID],INVALID] FORCE-TERMINATE AT Not found:-13 - error plm_rsh_component.c(335)
[b9d6ee7464ea:01876] [[INVALID],INVALID] ORTE_ERROR_LOG: Unable to start a daemon on the local node in file ess_singleton_module.c at line 716
[b9d6ee7464ea:01876] [[INVALID],INVALID] ORTE_ERROR_LOG: Unable to start a daemon on the local node in file ess_singleton_module.c at line 172
--------------------------------------------------------------------------
It looks like orte_init failed for some reason; your parallel process is
likely to abort.  There are many reasons that a parallel process can
fail during orte_init; some of which are due to configuration or
environment problems.  This failure appears to be an internal failure;
here's some additional information (which may only be relevant to an
Open MPI developer):

  orte_ess_init failed
  --> Returned value Unable to start a daemon on the local node (-127) instead of ORTE_SUCCESS

@jan-janssen, do you have any idea, how I can avoid this failure in the build process with openmpi?

I think the problem is that false is not in /bin/. It looks like false is in the coreutils package and that you need to set OMPI_MCA_plm_rsh_agent to $CONDA_PREFIX/bin/false.


TER-338 Added Platform Documentation

Updated Non-Platform Code
Added FAQs.md (Explanation for platform and what we did and why we made the choices), platform.md (Platform explanation) and terraform.md (Brief explaining terraform code used)

@pranaySinghDev @dshelley66 Can you please check if the location of the files is where we want them to be? If yes, then I can add them to TOC and homepage readme. If there is a better place, please let me know.

@pranaySinghDev @dshelley66 Can you please check if the location of the files is where we want them to be? If yes, then I can add them to TOC and homepage readme. If there is a better place, please let me know.

Sorry I missed this Q before merge (but that is ok). I suspect this should end up being in the readme/public_doc/PLATFORM directory - which would also cause it to end up on the readme.io site.
If we put the source of truth there, we can also link it in other .MD files in this repo. @pranaySinghDev thoughts?


Intermittant issues with window creation on 1.19.2 + nvidia

Hi, I've been running into issues with both this glfw library and Admicos/minecraft-wayland#56. On both, it works sometimes, but then bizarrely, other times the window doesn't appear. Even after rebooting, recreating a profile, etc. I have absolutely no idea what could be the determining factor and I've tried a huge number of things to possibly narrow it down. It seems like its probably some sort of context issue, because I can hear the background audio of the start screen fine. Also worth noting is that this doesn't happen when I run minecraft from my integrated gpu, but nvidia+minectagfy works fine without any custion lwgl libraries.
Can you recommend some diagnostic steps for troubleshooting? I'm happy to add printlns anywhere or dig deeper into this issue myself, but I'm not sure where to start.
Thanks!

Same

I have this issue with fabric and only on proprietary NVIDIA drivers. With Nouveau drivers everything works ok but FPS is tooo low

After reboot even forge in now not creating window properly ("W" icon in taskbar + sound) (Wayland / proprietary NVIDIA drivers) even with -Dfml.earlyprogresswindow=false argument. On X11 things are even worse. In a middle of loading i got "GPU has fallen off the bus" in dmesg


Support for changing ordinals of a target injection point?

would allow for an easy solution for Sinytra/Connector#40

Superseded by DynamicInjectorOrdinalPatch


Pydantic converts 'list' and 'set' to 'list_iterator' and 'set_iterator' objects. 'collections.abc.Iterable' as type hint must be either explicitly forbidden or supported by Pydantic

Checks

[x] I added a descriptive title to this issue
[x] I have searched (google, github) for similar issues and couldn't find anything
[x] I have read and followed the docs and still think this is a bug

Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
             pydantic version: 1.9.0a2
            pydantic compiled: False
                 install path: /projects/project/venv/lib/python3.10/site-packages/pydantic
               python version: 3.10.1 (main, Dec 21 2021, 17:46:38) [GCC 9.3.0]
                     platform: Linux-5.4.0-91-generic-x86_64-with-glibc2.31
     optional deps. installed: ['dotenv', 'email-validator', 'typing-extensions']

Problem
I use Iterable as a type hint and I pass list or set as arguments, but I get back list_iterator or tuple_iterator.
This Pydantic behavior makes it easy to introduce bugs in a code.
Reproducible code sample
from collections.abc import Iterable

from pydantic import BaseModel

class Foo(BaseModel):
    bars: Iterable[str]

foo = Foo(bars=["spam", "eggs"])
print(foo.dict())

foo_2 = Foo(bars=("spam", "eggs"))
print(foo_2.dict())

Run output:
{'bars': <list_iterator object at 0x7f2e3662ab90>}
{'bars': <tuple_iterator object at 0x7f2e361af190>}

Expected behavior
First option: raise a warning or an error about Iterable usage.
Another option:
Output must be:
{'bars': ["spam", "eggs"]}

(not {'bars': <list_iterator object at 0x7f2e3662ab90>} as I get now).

I have found that typing field as typing.Sequence[str] | typing.Iterable[str] kinda solves the problem. It's interesting that order matters, so using typing.Iterable[str] | typing.Sequence[str] will still convert sequence to iterable using __iter__

This behavior remains in v2 — the way it has been implemented, we convert items passed to fields of type Iterable into a generator, and validate as items are iterated over. This is useful for handling objects that you can't iterate over eagerly (such as infinite generators).
If this behavior is a problem for you, please open a feature request requesting a change in this behavior; you'll need to suggest an alternative approach that also handles generators nicely (I can imagine some, such as calling __iter__ and then deciding what to ultimately return based on whether the resulting value is an instance of Sequence or not).
I think @MentalBlood's suggestion of using typing.Sequence[str] | typing.Iterable[str] as the annotation may be a good workaround if you want to preserve the sequence-ness of the attributes used to instantiate your model.


Allow Public RPC Registration

Full description of the problem is here: https://github.com/heroiclabs/nakama/issues/537
Proposed Solution:
I added a new method, RegisterPublicRpc (and register_public_rpc for Lua). This method allows you to register RPCs that do not require authentication.
An end-to-end test is included in runtime_test.go, named TestRuntimeRegisterPublicRPCWithPayloadEndToEnd. This successfully calls a public RPC without any HTTP key.
Most of the work is in api_rpc.go, and there are a few specific details to note:

Previously, metrics were being gathered for RPC calls without an RPC id or with a bad RPC id. This check was moved forward to simplify some logic and so metrics are no longer gathered in those circumstances.

The simplest method of bypassing auth was simply to branch. This means that the userId and username will be empty for public RPC handlers, regardless of whether or not they are authenticated. There are a couple other cases in which the handler would have been called with uid and username, but I specifically stripped that data out to guarantee that those values will always be empty. This seems like desired behavior, but obviously up to you.

@novabyte Hi there, any indication on how this is being received internally? It'd be great to understand if this is something that your team thinks could be accepted.

@thegoldenmule Thanks for the ping. I'll make sure its added to our next internal Nakama meeting so we can make suggestions. /cc @zyro

Friendly ping on this, I'm waiting on this feature too.

@novabyte Any news?

friendly ping, any news?

Any news @novabyte? Or perhaps from @zyro the hero?

We're looking to include this change in a Nakama release by end of this month. 👍

what about anonym auth with device? i think its looks like a solution now

w0000000000 let's GO

what about anonym auth with device? i think its looks like a solution now

@MaksArh Unless I'm misunderstanding you, that is already supported. See https://heroiclabs.com/docs/nakama/concepts/authentication/#device

what about anonym auth with device? i think its looks like a solution now

@MaksArh Unless I'm misunderstanding you, that is already supported. See https://heroiclabs.com/docs/nakama/concepts/authentication/#device

I mean, if you need to use rpc before authentication (for example, 2fa), you can use a temporary (anonymous) login via the device

Oh I see what you mean. Yah, potentially possible but obviously not ideal for a number of reasons. We don't want to have to create accounts to get public data, device login or not. It would be very tricky to get right, especially for users that actually do use device login, but for whom we want to cohort for login itself.

See this issue comment for updates. For the moment an alternative approach has been necessary to handle all requirements.

@zyro @novabyte Really appreciate the movement on this, thank you for a comprehensive approach. We are looking forward to digging in.
I hesitated to say anything, especially publicly, but I really like Nakama and want you guys to succeed, so I want to offer some critical feedback that is hopefully received constructively. If I'm honest, this process has reflected very poorly on Heroic Labs, displaying not an open-source product but an "open-source in name only" product.
If you trace back through the feature request and PR, this is what happened:

We request a feature, expounding on use cases.
We are told it's a great idea, being discussed internally.
Nothing happens for months.
We ask if we can help out and are told "We're happy to review a pull request and consider it for inclusion in a future release."
We do a lot of work, making a PR that fits the ask.
No feedback.
Eventually, we get a "We're looking to include this change in a Nakama release by end of this month. 👍". Hey we're excited, who wouldn't be.
A full three months afterward the PR is closed and there is a completely different, unmentioned, and undocumented approach. There was no collaboration, so almost by definition you have no idea if it "handles all requirements".

I would ask you to consider that, given this kind of process working with the open-source community, why the heck anyone would consider contributing to this project.  However, having a public repository on GitHub is lightyears away from having an open-source product. This broken process in between of actually working with the community is the gaping chasm.

@thegoldenmule I appreciate the feedback and your directness. We'll take this on board as we continue to improve our processes here and on our various other repos. 🙇


[NFS-Client] nfs-provisioner refuses to mount more than one nfs mount when running on the same worker

Hello
I'm having funky issues with the nfs-client-provisioner.  When I make a pvc and hook it to a pod all is fine. This works well, as long as i have one pod per worker. As soon as i have more pods per worker, it works fine on all the workers that are not running the nfs-client-provisoner container. The one worker with the nfs-client-provisioner mounts 1 pod. But all other pods on that node are stuck in ContainerCreating and dump the following error: Unkown error 521
even when i try to mount from the shell:
valcaasworker01:/tmp # mount -t nfs <IP_ADDRESS>:/k8spoc/default-nfs-gold-claim-01-pvc-e8fda661-9c99-11e8-8ba3-506b8dd6140b /tmp/mnt2
mount.nfs: Unknown error 521
As soon as I move the nfs-provisioner container away, the same mount succeeds as many times as i want.
I randomly suspect some issue with a shared resource between container and host.
At the moment I use a node selector to move the nfs-provisioner to the master. That way it works for the moment.

What is the output with -v added to your mount command?

Here the error message with the mount command and option -v:
valcaasworker03:~ # mount -v -t nfs <IP_ADDRESS>:/k8spoc/default-nfs-viohello-claim-pvc-dcb481e9-a095-11e8-b25b-506b8dd6140b /mnt/
mount.nfs: timeout set for Fri Aug 17 15:49:11 2018
mount.nfs: trying text-based options 'vers=4,addr=<IP_ADDRESS>,clientaddr=<IP_ADDRESS>'
mount.nfs: mount(2): Unknown error 521
mount.nfs: Unknown error 521

Hm, nothing useful unfortunately.
Could you share info about the nfs server config? Is it a typical /etc/exports? What settings does the /k8spoc export have?
There is nothing different about how the nfs shares are mounted, in either case kubelet is doing the same thing. The only difference is the path. So something in the nfs server config OR some setting on the worker is preventing
/a
and any subdirectory
/a/b
from being mounted on the worker at the same time.

Hi
We found the root cause. It was the configuration of the nfs server.
Thanks for your advice.

@IlanStark: can please explain what was root cause of this problem? Was it secure option in /etc/exports ?

We use Nutanix AFS as a nfs Server. Here you have no access to the file "exports". We use the Nutanix Prism Web Console and here we missunderstood the settings. You can chouse between two option
non-sharded-Directories (this we set bevor) and
Sharded-Directories (is now the correct setting)


Correction for raw affiliation BioWooEB, Univ Montpellier, CIRAD, Montpellier, France

Correction needed for raw affiliation BioWooEB, Univ Montpellier, CIRAD, Montpellier, France
raw_affiliation_name: BioWooEB, Univ Montpellier, CIRAD, Montpellier, France
new_rors: 051escj72;05kpkpg04;054ktxw16
previous_rors: 051escj72;05kpkpg04
works_examples: W4389246323;W4388807448
contact: 0b55da6e5227b01f48f9db09968eb2c2:833391605a89372046920f162a86 @ cirad.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Color "Red" makes asciidoctor-pdf crash when using passthrough macro.

$ echo 'pass:q[foo]' > test.adoc
$ asciidoctor-pdf test.adoc
wrong number of arguments (1 for 0)
Use --trace for backtrace
However, when using "Green" color, it succeeds.
$ echo 'pass:q[foo]' > test.adoc
$ asciidoctor-pdf test.adoc

For now, OrangeRed does succeed.
However, the color is not rendered, i.e. the text stays black.

Named colors are not recognized (or permitted). You need to use one of the color formats specified in the theming guide. For example, to make red, you can use #ff0000.
I agree that an invalid color shouldn't cause the processor to crash. I'll address that.

Patch applied.


Unable to use /tests because Copilot "can't access... files on your computer"

Copilot Chat Extension Version: v0.17.1
VS Code Version: 1.91.1
OS Version: Ubuntu 22.04.4
Logs: pasted at the bottom

Steps to Reproduce:
(I haven't been able to test this on another machine, but it does happen in multiple workspaces)

Use the /tests command, with any message or context, including using #file, the 'Attach Context' button, or #selection.
I then receive this response from Copilot: "I'm sorry, but I can't access or display the contents of files on your computer or any external system. However, I can help you with questions or guidance on how to work with files, programming concepts, or anything else you might need. How can I assist you with your project?"

Logs for today:
2024-07-17 08:49:13.767 [info] [auth] Logged in as aantia
2024-07-17 08:49:14.224 [info] [chat] copilot token chat_enabled: true
2024-07-17 08:49:14.224 [info] [auth] Got Copilot token for aantia
2024-07-17 08:49:14.226 [info] [auth] Logged in as aantia
2024-07-17 08:49:14.234 [info] [chat] copilot token chat_enabled: true
2024-07-17 08:49:14.234 [info] [auth] Got Copilot token for aantia
2024-07-17 09:06:20.186 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 1365 ms
2024-07-17 09:06:22.037 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:06:22.039 [info] [streamChoices] request done: requestId: [ac44e569-727f-4ece-a228-7a0939125655] model deployment ID: []
2024-07-17 09:06:22.768 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 692 ms
2024-07-17 09:06:22.866 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:06:22.867 [info] [streamChoices] request done: requestId: [5290d5f3-6882-4016-8017-cbc5ccd72bd0] model deployment ID: [dep-0]
2024-07-17 09:06:35.272 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 823 ms
2024-07-17 09:06:37.168 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:06:37.168 [info] [streamChoices] request done: requestId: [58798166-a153-4fbd-a36c-775e5299b918] model deployment ID: []
2024-07-17 09:06:37.937 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 734 ms
2024-07-17 09:06:38.113 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:06:38.113 [info] [streamChoices] request done: requestId: [96cb7abf-26a2-4b92-83ad-8044adb5a769] model deployment ID: [dep-0]
2024-07-17 09:06:51.992 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 886 ms
2024-07-17 09:06:54.417 [info] [streamChoices] request done: requestId: [907559ef-74ab-4a00-9ddb-d1fedeec3b5f] model deployment ID: []
2024-07-17 09:07:19.139 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 840 ms
2024-07-17 09:07:21.436 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:07:21.437 [info] [streamChoices] request done: requestId: [e34911f4-ca40-49fc-929e-23f1ba160969] model deployment ID: []
2024-07-17 09:07:21.856 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 389 ms
2024-07-17 09:07:21.908 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:07:21.908 [info] [streamChoices] request done: requestId: [9074a57f-6ef0-458f-a3a1-cad5f4761c59] model deployment ID: [dep-1]
2024-07-17 09:07:47.844 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 1073 ms
2024-07-17 09:08:11.723 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:08:11.724 [info] [streamChoices] request done: requestId: [7be6baaa-e50c-40ea-93f4-033581de4b4b] model deployment ID: []
2024-07-17 09:08:12.287 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 455 ms
2024-07-17 09:08:12.292 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:08:12.292 [info] [streamChoices] request done: requestId: [713a4d77-7df3-4f95-8177-adad205c2611] model deployment ID: [dep-0]
2024-07-17 09:08:26.459 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 1256 ms
2024-07-17 09:08:28.060 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:08:28.060 [info] [streamChoices] request done: requestId: [c27a279c-c9e3-4ce4-9d9e-e479503a2e5f] model deployment ID: []
2024-07-17 09:08:28.426 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 338 ms
2024-07-17 09:08:28.464 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:08:28.464 [info] [streamChoices] request done: requestId: [9cf15ee6-7291-47ef-bd5f-184d6a0ea72a] model deployment ID: [dep-0]
2024-07-17 09:08:46.226 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 867 ms
2024-07-17 09:08:48.241 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:08:48.241 [info] [streamChoices] request done: requestId: [cf9644d3-0e66-4655-a9d3-f9d55f9ef9b3] model deployment ID: []
2024-07-17 09:08:48.609 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 334 ms
2024-07-17 09:08:48.642 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:08:48.642 [info] [streamChoices] request done: requestId: [7f0e9c7e-7b40-40e1-abe3-3b67d1b4c865] model deployment ID: [dep-0]
2024-07-17 09:10:47.961 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 983 ms
2024-07-17 09:10:49.989 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:10:49.989 [info] [streamChoices] request done: requestId: [5d6ed405-12a5-40cb-8d23-8ba6a14ab8a6] model deployment ID: []
2024-07-17 09:10:50.416 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 398 ms
2024-07-17 09:10:50.494 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:10:50.495 [info] [streamChoices] request done: requestId: [c6e99d45-7cd7-4249-822e-35ec501c3815] model deployment ID: [dep-1]
2024-07-17 09:11:12.687 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 739 ms
2024-07-17 09:11:14.224 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:11:14.224 [info] [streamChoices] request done: requestId: [7ef4d8f4-3baa-42e2-be4e-ac028fadc8c3] model deployment ID: []
2024-07-17 09:11:14.684 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 420 ms
2024-07-17 09:11:14.765 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:11:14.766 [info] [streamChoices] request done: requestId: [a05f0112-b602-49e3-85d0-687aa3e0f884] model deployment ID: [dep-0]
2024-07-17 09:14:13.117 [info] [extension] Error: Open a file to generate tests.
at VF.invoke (/home/alex/.vscode/extensions/github.copilot-chat-0.17.1/dist/extension.js:1252:4310)
at aM._provideResponseWithProgress (/home/alex/.vscode/extensions/github.copilot-chat-0.17.1/dist/extension.js:872:1230)
at aM.provideResponseWithProgress (/home/alex/.vscode/extensions/github.copilot-chat-0.17.1/dist/extension.js:870:4612)
at n.y (/home/alex/.vscode/extensions/github.copilot-chat-0.17.1/dist/extension.js:882:1834)
at n.invoke (/snap/code/164/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:154:56699)
at g.$invokeAgent (/snap/code/164/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:154:50151)
2024-07-17 09:14:14.227 [info] [auth] Logged in as aantia
2024-07-17 09:14:14.600 [info] [chat] copilot token chat_enabled: true
2024-07-17 09:14:14.600 [info] [auth] Got Copilot token for aantia
2024-07-17 09:14:22.417 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 1293 ms
2024-07-17 09:14:24.049 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:14:24.049 [info] [streamChoices] request done: requestId: [1b71391c-9100-4a53-b3fe-6047112152d5] model deployment ID: []
2024-07-17 09:14:24.624 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 545 ms
2024-07-17 09:14:24.668 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:14:24.669 [info] [streamChoices] request done: requestId: [6bb4b77e-49c1-4f2b-bba8-bffdb492fac0] model deployment ID: [dep-0]
2024-07-17 09:16:32.668 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 1703 ms
2024-07-17 09:16:33.911 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:16:33.912 [info] [streamChoices] request done: requestId: [3b0150e9-d2f4-4480-a8eb-202d97a5f271] model deployment ID: []
2024-07-17 09:16:34.369 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 430 ms
2024-07-17 09:16:34.440 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:16:34.441 [info] [streamChoices] request done: requestId: [79bfa1c0-8597-4dd9-89ac-77540c6ce3ec] model deployment ID: [dep-0]
2024-07-17 09:30:33.168 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 1377 ms
2024-07-17 09:30:37.567 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:30:37.568 [info] [streamChoices] request done: requestId: [accb10e5-0808-4dcf-bc7f-6a44f7df6f33] model deployment ID: []
2024-07-17 09:30:38.117 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 451 ms
2024-07-17 09:30:38.182 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:30:38.182 [info] [streamChoices] request done: requestId: [3756b287-a1e8-4744-a17d-8ba8a605d7d7] model deployment ID: [dep-1]
2024-07-17 09:30:49.159 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 979 ms
2024-07-17 09:30:50.565 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:30:50.566 [info] [streamChoices] request done: requestId: [bbb7685e-819a-40fc-8950-48e1a158cca5] model deployment ID: []
2024-07-17 09:30:50.965 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 371 ms
2024-07-17 09:30:51.025 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:30:51.026 [info] [streamChoices] request done: requestId: [0183a4ab-b88c-48a2-90d7-6231dcaf5b69] model deployment ID: [dep-1]
2024-07-17 09:31:23.626 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 1322 ms
2024-07-17 09:31:25.896 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:31:25.897 [info] [streamChoices] request done: requestId: [332fd5f4-23f5-431b-bf41-d568588d801c] model deployment ID: []
2024-07-17 09:31:26.367 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 443 ms
2024-07-17 09:31:26.429 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:31:26.430 [info] [streamChoices] request done: requestId: [2f40a3c1-039a-415f-811e-c8d96794a778] model deployment ID: [dep-1]
2024-07-17 09:31:38.998 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 1001 ms
2024-07-17 09:31:40.693 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:31:40.693 [info] [streamChoices] request done: requestId: [92a4127a-3116-4746-aca4-51155a226bf2] model deployment ID: []
2024-07-17 09:31:41.153 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 401 ms
2024-07-17 09:31:41.228 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:31:41.228 [info] [streamChoices] request done: requestId: [51b0da10-bced-4c3a-a4db-6a8c02d13b61] model deployment ID: [dep-0]
2024-07-17 09:32:09.288 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 2776 ms
2024-07-17 09:32:10.999 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:32:10.999 [info] [streamChoices] request done: requestId: [fe6e32e0-3f33-4064-a2a9-c892bfe66e54] model deployment ID: []
2024-07-17 09:32:11.411 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 383 ms
2024-07-17 09:32:11.471 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-07-17 09:32:11.471 [info] [streamChoices] request done: requestId: [b25e8b16-1515-4c84-b91b-c3a9a69feec4] model deployment ID: [dep-0]

Thank you for filing this issue!
Support for #file variable should be fixed in the next release.
If you don't want to use #file, you can also just put the cursor on the symbol (class, function, method, etc) you would like to generate tests for.
You can also use the inline chat (cmd+i on mac or ctrl+i on windows) to generate tests right within your editor (i.e., not from the panel chat)

I can't get #file to include actual content:
User:		#file:src/platform/parser/node/parserWorker.ts
User:		This is a sample test file:


Parameterize firebase deploy action

In order to better support forking and reusing the existing firebase deploy script, it would be nice to get the settings for the config and .env settings (APP_CONFIG_DEFAULT_SOURCE, APP_CONFIG_ALLOWED_SOURCES, APP_UNSAFE_ALLOW_DYNAMIC_CONFIG, and APP_API_BASE_URL) from github settings that are not part of the committed repo. Though not exactly the right thing, repo level github secrets would work as a place that can easily be dynamically changed (it just isn't human readable after it's added, which is a negative.)

Closing issue because the config settings solves this problem


Fix the compile option of clang

Daiki Maekawa » myenv-setup #18 FAILURE
Looks like there's a problem with this pull request
(what's this?)


Question about interfacing OpenSpiel with agents/games running in other processes

Hi there, I'm interested in using OpenSpiel to play games implemented in other languages. An example: I have a game implemented in C# - I don't want to reimplement it in C++/Python, and I don't want to implement OpenSpiel algorithms in C#.
Is there an existing way to get OpenSpiel communicating with games/agents running in other processes? I couldn't find anything. I'm happy to have a go at implementing something, but thought I should ask first.
My current thinking is a text-based interface over sockets. Hopefully this will be simple and portable.

An update: I've got a basic version of what I want working in Python here: https://github.com/uozuAho/open_spiel_playground/tree/main/zmq_ttt
Some questions:

Do you want the python version contributed to this codebase? My C++ is a little rusty, so it'll take me a while to get the same thing running in C++.
Is the use of ZeroMQ OK for the networking part? I'm not very familiar with networking, so I went for something that abstracts away the low level details. Similarly to the above point, I could have a go at using plain sockets or the code in higc/, but it will take me some time, and risks ending up falling down my to-do list :)

I won't be offended if the answer is no to both :)

An update: I've got a basic version of what I want working in Python here: https://github.com/uozuAho/open_spiel_playground/tree/main/zmq_ttt

Wow.. I have to say, I'm quite impressed :)

* Do you want the python version contributed to this codebase? My C++ is a little rusty, so it'll take me a while to get the same thing running in C++.

Maybe, with some changes. I'll discuss it with the team. I think having Python implementation is ok, if you're willing to support it. C++ would be better integrated with the library, but it's also some work.. so might be oke to just have a working Python example.

* Is the use of [ZeroMQ](https://zeromq.org/) OK for the networking part? I'm not very familiar with networking, so I went for something that abstracts away the low level details. Similarly to the above point, I could have a go at using plain sockets or the code in higc/, but it will take me some time, and risks ending up falling down my to-do list :)

This part I like less. For such simple network communication it might better to just use vanilla socket communication. But also: not necessarily a show-stopper since it seems to be available in PyPI. Is that what you used.. i.e. you installed ZeroMQ via pip?
BTW, couldn't help but notice you plan to run stuff on Pandemic. Very cool! Super fun game, but honestly haven't been able to play it in the past 1.5 yrs :) I'd be quite interested to hear about some RL methods running on Pandemic. We have an implementation of AlphaZero too if you want to use search.

Hmm I don't think I could commit to supporting it, so it's probably best kept separate for now. I also understand the hesitance about ZeroMQ. It was a lazy choice of mine, and is very likely an unnecessary dependency. I did install it via pip, but I guess it probably wouldn't be that hard to make it use regular sockets instead. Thanks so much for the advice anyway!
I'll give AlphaZero a go on Pandemic when I can, thanks for the tip. I've been slowly dabbling with AI, and had plans since pre-COVID times to use it to see if it's possible to consistently win with 6 epidemic cards. I haven't yet got a full implementation of the game working - that's another item on the to-do list :)

Closing as outdated, but it'd still be fun to have a network-based game implementation for doing it in other languages!


About Xcode8 invalidation

i want know how to use Alcatraz with Xcode8, i need it, who can help me?

See #475.


api: wasm extension

This PR proposes an API for supporting Wasm plugins:
apiVersion: gateway.networking.k8s.io/v1alpha2
kind: WasmExtensionPolicy
metadata:
  name: wasm-extensions
spec:
  targetRef:
    kind: HTTPRoute
    name: backend
  extensions:
    - name: my_plugin_1
      vmID: my_vm_id # optional
      rootID: my_root_id  # optional
      code:
        configMap: wasmConfigMap # wasm code is stored in a configMap
      # http:
      #   uri: https://foo.bar.com/example.wasm
      # image: <oci-registry>.foo.bar.com/wasm-to-oci:v1
      # sha256: xxxxxxx
      failOpen: true
      config:
        foo:
           foo1: value1
           foo2: value2
        bar: value3
      insertBefore: "envoy.filters.http.oauth2"
    - name: my_plugin_2
      ...

What persona will be using this API? IMHO it's a bit dangerous to let application owners inject code into envoy, even if executed in isolation. If we see this as a policy for Gateway admins, should we support attachment to routes?

My apologies,  I haven't noticed the existing discussion and the draft PR and didn't mean to add a competing PR.  :-)
Before proposing the API, I considered two approaches to support data plane extensions (WASM, Lua, Golang, External Process, etc.

A set of EnvoyXExtensionPolicy, each supporting a specific extension.

The main problem of the first approach is that it's hard to support multiple extensions of the same type, e.g. users may need to define multiple WASM filters for different purposes for a single HTTPRoute.

My apologies @guydc , I haven't noticed the existing discussion and the draft PR and didn't mean to add a competing PR. :-)

All good, I'm very happy that this topic is getting more attention and I hope that we can make this happen for v1.1.0.

Before proposing the API, I considered two approaches to support data plane extensions (WASM, Lua, Golang, External Process, etc.)

I agree that different extensions do have different structures, interfaces, concerns and use patterns. Some support per-route config while other don't, some are more modular and may repeat multiple time in the FC, while others are external and more likely to only be called-out once in the filter chain.
I'm very much open to different extension types being supported for different use cases if other maintainers also support this approach.

I agree that different extensions do have different structures, interfaces, concerns and use patterns. Some support per-route config while other don't, some are more modular and may repeat multiple time in the FC, while others are external and more likely to only be called-out once in the filter chain.

I'm very much open to different extension types being supported for different use cases if other maintainers also support this approach.

Let's bring this to the EG meeting and discuss further.  Even we option to have multiple extension types, these types do need to address the common concerns raised in https://github.com/envoyproxy/gateway/pull/2570 to ensure cohensive approach.

Users may need to control the logical phase of filter execution (e.g. before auth, before rate limit, ... )
Users may need to control the order of execution of extension filters amongst themselves (within a specific phase)

hey can the PR description be used to reflect the newer API ?

hey can the PR description be used to reflect the newer API ?

Glad to see you back! @arkodg
The description was modified.

hey @zhaohuabing lets start off with HTTP support, and temporarily pause on the design for the Image feature based on the discussions from https://github.com/envoyproxy/envoy/issues/33212


Refactoring: Merge Plist and PropertyList

There is no need to keep both Plist and PropertyList.

merge Plist and PropertyList into PropertyList enum

Thanks!!

@swift-ci please smoke test


[Docs] Adding helm installation as a seperate readme and giving hyperlink to supported platform

Current State
Currently docs for different cloud providers are different like helm installation is proposed for AKS same can proposed for GKE, EKS, kubernetes too.
Desired State
Making a seperate readme for helm installation and adding the hyperlink to the supported platform so we can reduce the duplication of sentences and which help in better understanding and readability of the users

Contributor Guides and Handbook

📚 Instructions for contributing to documentation

Meshery documentation site and source

🛠 Meshery Build & Release Strategy
🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Thanks for raising the PR, let's Discuss this in the Meshery Development Call today,
Please add this as an agenda in the Doc  : Doc
The meeting is in 15 minutes.
you can check about meeting on Community Calender


(FLK-E128) Continuation line under-indented for visual indent

Description
A continuation line is under-indented for a visual indentation.
Occurrences
There are 6 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/mikeysan/retweet_anything/issue/FLK-E128/occurrences/
Important
ONLY fix the issue reported (no matter how obvious a different issue might be).

Can you please explain a bit as to what to fix. Do the lines need to be continuous or what?

@jayesh-srivastava Here is an example from one of the files. I have fixed this already for at least one file. But to explain the issue so you understand. Here is an example from one of the files.
Wrong code:
24    auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
25    auth.set_access_token(access_token, access_token_secret)
26    api = tweepy.API(auth, wait_on_rate_limit=True,
27        wait_on_rate_limit_notify=True)
28    try:
29        api.verify_credentials()
30    except Exception as e:

Correct code: note that I have moved the indentation on line 27.
24    auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
25    auth.set_access_token(access_token, access_token_secret)
26    api = tweepy.API(auth, wait_on_rate_limit=True,
27                                wait_on_rate_limit_notify=True)
28    try:
29        api.verify_credentials()
30    except Exception as e:

I hope this helps.
Use this link (https://deepsource.io/gh/mikeysan/retweet_anything/issue/FLK-E128/occurrences/?page=1)  to find other instances where this happens. Ask me if you still need clarification.

Hi I made the necessary changes and made the PR @mikeysan


Installed latest commit v0.2 - Method style does not exist.

ErrorException in Macroable.php line 81:
Method style does not exist. (View: C:\OneDrive\resources\views\layouts\master.blade.php) (View: C:\OneDrive\resources\views\layouts\master.blade.php)

{!! Html::style('css/custom.css') !!}
Wonder why this would break on the update.

May be because of this commit 2d77c7cb7cccd7d0966720aeaed3bd25f65f360c  where i registered the Html from within the provider

It's my bad, I found the issue

Are we good? :)

All good.


Language Negotiation Not Working for Specific Countries

I am trying to get a country specific version of a language to display in my application, but the application is always using the default version in my application. For example, if a user's browser is setup to use Canadian French (fr_CA), then I want my fr_CA translations to display. For any other version of French (fr*), I want my fr_FR translations to display. However, in my application, even if the browser is set for Canadian French, the France French translations are displaying.
Here's an excerpt from my code:
		var langMap = {
			'de*': 'de',
			'en*': 'en',
			'es*': 'es',
			'fr_CA': 'fr_CA',
			'fr*': 'fr_FR',
			'it*': 'it',
			'ja*': 'ja',
			'ko*': 'ko',
			'pt*': 'pt',
			'zh_TW' : 'zh_TW',
			'zh*' : 'zh_CN',
			'*': 'en'	// Must be listed last
		};

		$translateProvider
			.translations('de', SRNEXT_WIDGET_NLS_DE)
			.translations('en', SRNEXT_WIDGET_NLS_EN)
			.translations('es', SRNEXT_WIDGET_NLS_ES)
			.translations('fr_CA', SRNEXT_WIDGET_NLS_FR_CA)
			.translations('fr_FR', SRNEXT_WIDGET_NLS_FR_FR)
			.translations('it', SRNEXT_WIDGET_NLS_IT)
			.translations('ja', SRNEXT_WIDGET_NLS_JA)
			.translations('ko', SRNEXT_WIDGET_NLS_KO)
			.translations('pt', SRNEXT_WIDGET_NLS_PT)
			.translations('zh_CN', SRNEXT_WIDGET_NLS_ZH_CN)
			.translations('zh_TW', SRNEXT_WIDGET_NLS_ZH_TW)
			.registerAvailableLanguageKeys(['de', 'en', 'es', 'fr_CA', 'fr_FR', 'it', 'ja', 'ko', 'pt', 'zh_CN', 'zh_TW'], langMap)
			.determinePreferredLanguage()
			.fallbackLanguage(['en']);

I am using angular-translate 2.13, angular 1.5.8 and various browsers.
Any help would be appreciated. Thanks.
~ Christopher

Maybe the lang key is not as expected? We have an additional API for the language tag resolving step calling uniformLanguageTag, see https://angular-translate.github.io/docs/#/guide/07_multi-language#multi-language_determining-preferred-language-automatically

I added that to my code and the application still displayed France French instead of Canadian French. Here's my code snippet. Any other ideas?
		$translateProvider
			.translations('de', SRNEXT_WIDGET_NLS_DE)
			.translations('en', SRNEXT_WIDGET_NLS_EN)
			.translations('es', SRNEXT_WIDGET_NLS_ES)
			.translations('fr_CA', SRNEXT_WIDGET_NLS_FR_CA)
			.translations('fr_FR', SRNEXT_WIDGET_NLS_FR_FR)
			.translations('it', SRNEXT_WIDGET_NLS_IT)
			.translations('ja', SRNEXT_WIDGET_NLS_JA)
			.translations('ko', SRNEXT_WIDGET_NLS_KO)
			.translations('pt', SRNEXT_WIDGET_NLS_PT)
			.translations('zh_CN', SRNEXT_WIDGET_NLS_ZH_CN)
			.translations('zh_TW', SRNEXT_WIDGET_NLS_ZH_TW)
			.registerAvailableLanguageKeys(['de', 'en', 'es', 'fr_CA', 'fr_FR', 'it', 'ja', 'ko', 'pt', 'zh_CN', 'zh_TW'], langMap)
			.uniformLanguageTag('bcp47') // enable BCP-47, must be before determinePreferredLanguage!
			.determinePreferredLanguage()
			.fallbackLanguage(['en']);

I have prepared a demo, see here https://plnkr.co/edit/rJNHzQ?p=preview
The relevant code have been extracted in the override object. default is okay when using the underscore variant.

Hello,
I'm closing this issue due inactivity. We have asked for additional details, but you could not helped us. Therefore we close this issue as not reproducible.
If you still have an issue, please create a new issue because we cannot be sure to track closed issues.


Added the 'accesstoken get' command solving #1072

Added the 'accesstoken get' command solving #1072

Coverage remained the same at 100.0% when pulling 005dcc7ac2456eef738656a8c17677870ccf5227 on waldekmastykarz:token-get into 062093d21c38eff93987e1e89e5e78da634c8cb1 on pnp:dev.

Always good to have another pair of eyes look at your work ❤

Merged manually.


ZSH autocomplete functionality

Desired functionality
I want shell autocompletion for the basic command line arguments for:

basic command line flags
names of suites, groups and tests

Got better things to do atm


feat: use goreleaser (#58)

ref: https://github.com/bgp/stayrtr/issues/58

I'm going to merge this into a new branch and see if CI and whatnot freaks out. Then, sometime before release (which was supposed to be November but meh), I'll plonk this back into master branch.


ET-1848: version ranges

we can merge it but before bumping web-lib-demand lib lets try to bump some packages as well


Test API feature on the publisher doesn't work due to CORS misconfiguration

Description:
APIs in the test state are protected by a test-key which should be sent in a header named "testkey". However, the allowed headers response for OPTIONS doesn't contain the header "testkey". This causes CORS to fail and hence the feature itself to fail. It works properly when using a non browser tool such as cURL. It also works once you manually add the header to the CORS config.
Steps to reproduce:
Follow the steps in the doc to test: https://apim.docs.wso2.com/en/next/learn/design-api/create-api/test-a-rest-api/
Affected Product Version:
3.2.0 RC 1

One more error observed when testing this feature. This is that there is an ERROR log being printed when deploying an API into the test state. The log says "ERROR - LocalEntryAdmin Entry with the key *-a651- does not exist" (key obfuscated to prevent printing of ids on public forums)


 I Just started ramping up with NeoVim, and I try to create a "toggle" mapping for every plugin that contains its own "on/off" actions.
If I want to turn on the coverage report in my code files, I have to first run CoverageLoad, and then run CoverageToggle.
This is two commands, rather than one. Ok, not the end of the world, let's just map these two commands to a single mapping:
keys = {
  { "<leader>cot",
    function()
      local cov = require("coverage")
      cov.load()
      cov.toggle()
    end, desc = "Coverage Toggle"
  },
}

Unfortunately, this doesn't work. I suspect the reason is because CoverageLoad is performing IO, and CoverageToggle finishes running before CoverageLoad completes. I have created a workaround that waits half a second, and produces consistent results:
-- My hacky-ish nvim-coverage.lua config for lazy.nvim
local function waitUntilLoaded()
    local coverageLoaded = false

    return function(cov, f)
        if not coverageLoaded then
            cov.load()
            coverageLoaded = true

            local timer = vim.loop.new_timer()
            timer:start(500, 0, function()
                vim.schedule(function()
                    f()
                end)
            end
            )
        else
            f()
        end
    end
end

WaitUntilLoaded = waitUntilLoaded()

local function toggle(cov)
    return WaitUntilLoaded(cov, cov.toggle)
end

local function summary(cov)
    return WaitUntilLoaded(cov, cov.summary)
end

return {
    "andythigpen/nvim-coverage",
    lazy = true,
    dependencies = {
        'nvim-lua/plenary.nvim',
        'nvim-neotest/neotest',
    },
    keys = {
        { "<leader>cos", function() local cov = require("coverage") summary(cov) end, desc = "Coverage Summary" },
        { "<leader>cot", function() local cov = require("coverage") toggle(cov) end, desc = "Coverage Toggle"},
    },
    config = function()
        require("coverage").setup({
            auto_reload = true,
        })
    end
}

While this works for me, this feels like something that nvim-coverage should do natively, and with a less hacky solution than just sleeping for half a second.
You would probably want to emit an event when CoverageLoad completes, and Coverage* commands would listen for that event (I don't know how this is done in the NeoVim API, I'm just a newborn lua scripter 🥲)
Acceptance Criteria

nvim-coverage automatically loads coverage data when performing Coverage commands for the first time

does the following work for your use case?
keys = {
  { "<leader>cot",
    function()
      local cov = require("coverage")
      cov.load(true)
    end, desc = "Coverage Toggle"
  },
}

passing true to the load function will place the signs after they are loaded

Hi,
If it's of help to anyone, I did something like this:
local coverage = require("coverage")

local show_coverage = false

function toggle_coverage(ev)
  show_coverage = not show_coverage
  coverage.load(show_coverage)
end

local function load_cb()
  if show_coverage then
    coverage.show()
  else
    coverage.hide()
  end
end

-- Setup coverage
coverage.setup({
  auto_reload = true,
  load_coverage_cb = load_cb,
})

-- Auto-load for python
vim.api.nvim_create_autocmd('FileType', {
  pattern = 'python',
  desc = 'Auto-load coverage in python projects',
  callback = coverage.load,
})

And in my keymap file:
local keymap = vim.api.nvim_set_keymap

-- Coverage
keymap('n', '<leader>cs', ':CoverageSummary<CR>', { noremap = true })
keymap('n', '<leader>cv', '', { noremap = true, callback = toggle_coverage })

It works well for my purposes.

When I open a python file .coverage is auto-loaded, but not displayed in the signcolumn
<leader>cv toggles display (and reloads .coverage, technically)
When I re-run the testsuite, the signs update, if they are visible (and they stay visible/hidden)

@andythigpen Thanks for the nice plugin! :ok_hand:


conn: do not chdir for conn.sock

Instead, we create the socket in a temporary directory - TMPDIR if it is not too long, or else /tmp. The directory is made via mkdtemp with the template urbit-XXXXXX. The socket is located there (getting around the length limit) and $pier/.urb/conn.sock is symlinked to it.
This fixes an issue where if urbit is started with sudo -u pieruser from a directory that the pier user doesn't have access to (e.g. a different user's home directory that is chmod 0750), the process would die trying to chdir back to the old directory.
It also gives clients more flexibility; previously, they would have had to chdir to the pier directory to connect to the socket without risking overrunning the length limit. They can still do that (and use ".urb/conn.sock" as their sun_path), but they now also have the option of using readlink and connecting to the full absolute path of the socket without changing directories.
Replaces calls to uv_strerror with strerror for system calls; the former does not print system call errors properly.
Supersedes #580.

I'm actually indifferent as to whether this or #580 is taken. I think this is a slightly better solution, since it allows clients to always be able to specify the full absolute path to the socket when connecting to it. But either way is fine.

@pkova Are you the right person to review this?

Oh, I guess now there's also lick.c.
In that case the temporary directory should probably be stored on u3_Host or u3C or something and created in main.c. Right?

@mopfel-winrux how do you want to handle %lick? I don't have much insight yet into what it's doing. Would it make sense for it to follow suit with this change and use a tmp directory for its sockets?
If not, then the next best thing is probably to reopen #580 and also apply that to lick.c.

@mrdomino I'm sorry I completely missed this. We should also do this for lick.c

Yeah. How does lick work? Does it make one socket or many?
I guess it's going to be necessary to track and manage the temp dir from some location that is neither conn.c nor lick.c if we go this route.
I also gave a little thought to putting the socket directory under /run/urbit/sampel-palnet rather than /tmp/urbit-XXXXXX. I'm leaning towards /tmp at the moment, but could be persuaded either way.
On Saturday, March 2nd, 2024 at 17:56, mopfel-winrux @.***> wrote:

@.***(https://github.com/mrdomino) I'm sorry I completely missed this. We should also do this for lick.c
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

It makes multiple sockets. One per [%spin name=path] card it is given. It puts them in `.urb/dev/ folder under the name path. we could use that directory


Default buttons appearance updates

Pull Request
🤨 Rationale
Updates the styling of the default Nimble Button, Anchor Button, and Toggle Button to reflect the designs in the Figma Spec.
👩💻 Implementation
Provides a styling update that is up to date and fixes design tokens to reflect new theme colors (specifically the PowerGreen color for the dark theme). The font for the button has also been changed, and now has a font of semi-bold.
Other components that previously used the same font token as the button (including the switch. radio, and checkbox) have been changed to use the bodyFont token to give them a font of regular. The font for the tab component was also changed to semi-bold to reflect new UX designs in Figma.
The css variables border, box-shadow, and outline are all used in order to best reflect the new button designs in Figma and keep the button consistent with other component styling.
Changing only the border css property through calc() was also considered, but using this required extra properties like padding and calculations that box-shadow  and outline don't require.
🧪 Testing
Chromatic Testing
✅ Checklist

[x] I have updated the project documentation to reflect my changes or determined no changes are needed.

The commit I just made (Button inner border fix) is the final version of the button based on Brandon's figma spec. I haven't finished the toggle button yet, but let me know what you all think of this one for now.

My most recent commit fixes the z-index problem with the ::before pseudo element. I used a linear gradient for the background but kept the ::before pseudo element for the innermost focusVisible 1px border, as this allows the 1px border next to it to be transparent.


Vulnerability fix for KubernetesV1

Task name: KubernetesV1
Description:
Documentation changes required: (Y/N)
Added unit tests: (Y/N)
Attached related issue: (Y/N)
Checklist:

[x] Task version was bumped - please check instruction how to do it
[x] node make.js build --task KubernetesV1
[x] node make.js test --task KubernetesV1
[ ] Checked that applied changes work as expected

/azp run


Version 1.1.0 - Automatic window sizing with padding

Hi John,
No rush on this Pull Request; I'm giving a talk about it at a Users Group early in December so I'd like to get this version in before then but that's about it.
There are quite a few changes in the internals of datascroller. I've updated the README.md file to include introduction of the new classes ViewingArea and DFWindow.
There's also a binary now, scroll that you can run on the command line on any csv.
I am worried that I've make it a bit slower.
You can install it using pip from TestPyPI:
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ datascroller
Ben

Ben,
Here's some things I noticed right away. I can't pin them to specific parts of the code yet, since I have yet to do a deep dive into scroll.py. But in order of importance:

Using the zoom keys in my terminal (Command+ and Command- on a Mac) exits the scroller. It would be good to either find out why this happens or else program text size adjustment into datascroller itself
I noticed when loading a CSV with integer values that datascroller was displaying them as floats (i.e. 3 --> 3.0). I assume this is something with how pandas prints dataframes, but it would be worth fixing because the whole point of datascroller is to see the data file "as is."
I'm able to use my trackpad to scroll up and down, but not sideways; same goes for using Shift(scroll). The only way to scroll sideways is with the arrow keys. This isn't a big deal, maybe a version 1.2 or 1.3 thing, but it'd be really cool to be able to quickly (with a trackpad or a mouse) head up, down, side to side, with easy zooming / highlighting / whatever else

I promise to review the substance of this PR but I just want to flag some interesting Curses code I found in the wild -- this pysnake game repo. They claim to have zooming figured out but I need to test it. The way they do keybindings is interesting. Zooming is definitely a v1.2 feature, but worth thinking about now.
Anyway, I'm especially interested in getting Pandas to display integers as they are. Other than that the functionality seems on point. I wonder whether the speed issue is because of al the function calls in scroll.py? But hard to say. I'd like to test that too.

Ben, I added support for the demo script. It works on my machine but I don't fully understand the setuptools/distribution stuff so it needs to be tested from an installation. The file path in the script is probably he only thing that would need changing. Otherwise, running $ scroll_demo from the command line should work

Looks like this Pandas treats integers like floats is a known issue.

@johncmerfeld , quick request for you. Will you run bin/getkey, press the following keys, and report back to me with the codes?

Command+
Command-
Trackpad Left
Trackpad Right
Shift + Scroll

May have to do some platform-specific key coding here.

@johncmerfeld , quick request for you. Will you run bin/getkey (after pulling the latest commit), press the following keys, and report back to me with the codes?

Sure thing, here's what I got:

Command+
410
Command-
410 (uh oh!)
Trackpad Left
258
Trackpad Right
258 (oh boy)
Shift + Scroll
258/259

@johncmerfeld mind trying again with the latest getkey binary? I turned on "No Delay" mode which turns getch() into a non-blocking method, allowing us to get multiple keys pressed at the same time. Right now I'm only grabbing the first two but we could get more. This does require a game style infinite loop with a sleep call. With sleep set to 3 tenths of a sec, you have to press the key combination pretty fast. There's also a "Half Delay" mode which makes getkey a blocking operation for a specified duration (in tenths of a sec), but I couldn't get that to work as well. Here's to hoping you see multiple codes!

All right, I gave it a try. Weird results:
The Command+ and Command- (and Command0) all gave 410 and  -1. Shift-scrolling and side-scrolling gave 258 and  258.
Might mean zooming is something we tackle in 1.2...

Thanks for trying those key combos @johncmerfeld. I wish I had a mac to test on now. I'll bring this issue up at the Python Users group when I present datascroller. Maybe someone will have an idea.
For this PR, here are the things I still want to fix:

Use argparse for both binaries to make them look more professional
Log issues:

integers represented as floats (if I can't fix it easily)
mac key combos not being registered

It looks like the integer issue is a Pandas limitation that happens when there are NaNs since those are floats. I'll spend a few more days thinking about it.

@johncmerfeld, There's now help menu on the scroll binary. I changed from using scripts to console_scripts, and now the binaries work from both Windows and *nix command line. Mind trying it out via a TestPyPi install?
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ datascroller==1.1.0rc1


Updating Mockery file headers.

Pull request regarding to the discussion within #569.
Notes about changes:

The copyright dates were updated to only show the year of 2010.
The project's header was included within the files that were missing it.

Coverage remained the same at 73.841% when pulling 6d81d803688f1f862a2a888702d977bf8c4d5584 on TiagoMaiaL:updating-file-headers into f9c911059ec3d9216758fbaa6b8983a71e07a64e on padraic:master.

Thanks!


iOS build warnings

Describe the bug
I am seeing warning messages when I try to build for iOS platform. Please have a look on the attached screenshot

To Reproduce
build flutter app for iPhone

@krishnashetty0 Can you try agora_rtc_engine: ^5.0.0

I still got some warnings with agora_rtc_engine: ^5.0.0

You can ignore these warning, we support all methods, may someone is deprecated.


Share images that are copied to remote regions

This change shares a built AMI with build.ami_users in all regions we copy the AMI to(build.ami_regions).

LGTM

👍  Thanks for adding this! :shipit:


Getting a timestamp always results in 1969-12-31T16:00:02.019

I have some code where I was to store the Timestamp now (using CURRENT_TIMESTAMP) into a row, then after some time check whether a day has passed or not. Currently, the date sets just fine, and I can read the correct value with the SQLite CLI. But when using my code to get the timestamp, it always returns 1969-12-31T16:00:02.019 no matter what I set it to.
No exceptions were thrown.
My code for reading the timestamp:
ResultSet rs = DB.prepareStatement("SELECT * FROM Cooldown WHERE UUID = \"" + uuid + "\"").executeQuery();
            if(!rs.next()){
                rs.close();
                //all System.out.println calls are debug lines that I used to find where the bug occurred
                System.out.println("-1");
                return false;
            }
            LocalDateTime last = rs.getTimestamp("LastReward").toLocalDateTime();
            LocalDateTime now = LocalDateTime.now();
            System.out.println("0");
            System.out.println(rs.getTimestamp("LastReward") + " " + last.toString() + " " + now.toString());

Output:
0
1969-12-31 16:00:02.019 1969-12-31T16:00:02.019 2019-02-13T20:29:49.238

hi

I can't seem to reproduce the problem.
Can you provide more details (such as OS, sqlite-jdbc version, jdk/jre version and vendor) and a short self contained example? A short sample that creates a table, inserts a row with timestamp and reads it again should suffice.
There is however a deviation in your results that shouldn't be there. According to the reference there shouldn't be any miliseconds reported.

The format for CURRENT_TIMESTAMP is "YYYY-MM-DD HH:MM:SS"

This has been proven time and time again (See bug #88 ) to be true.
This is where your code should break down. As rs.getTimestamp("LastReward") breaks down for a lack of those same milliseconds.
In neither case do you end up with an end of 1969 date however. The obvious 1970 epoch reference is in there, minus a few hours. So that definately isn't a coincidence.
In any case it would help to actually be able to reproduce your problem.

Is this still happening on the latest version?

Closing this as no feedback was received.


Remove version: Tencent.QQMusic version 19.45

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: http://dldir1v6.qq.com/music/clntupate/QQMusic_Setup_1945.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 911)


[Packaging] Make OSX wheel build verbose

build-239-wheel-osx-cp36m

Awesome thanks

BTW I'm located in central europe, not NY :)


Add SetFlag/ClearFlag methods to Header::Flags

Problem
Trying to clear a flag via flags.value &= ~flag runs into -Wconversion warnings necessitating manual casts, because applying ~ to a uint16_t produces an int.
Proposed Solution
Add a ClearFlag method to clear flags, so we can have the relevant casting in just one spot.  Add SetFlag for symmetry.
@andy31415 you asked me to assign this to you, but I can also just pick this up.  Let me know, please!

Feel free to pick it up - I will assign this to myself if I get to it. For now I was planning to try for some reliable messaging which takes a while.
I will unassign and whoever has bandwidth can self-assign.


display problems / height computation?

When using stickit, all works well until scrolling to the bottom of the screen.  It looks like the height computation is incorrect, as the screen is flashing.
My usage is the simplest case, with an offset from the top of the screen:
jQuery(document).ready(function(){
jQuery("#programtoc").stickit({top: 120});
jQuery("#programtocx > a").click(function(e) {
// Prevent a page reload when a link is pressed
e.preventDefault();
// Call the scroll function
goToByScrolling(jQuery(this).attr("id"));
});
});
The problem page is https://s5.kinghooper.com/program/becoming-a-diabetes-educator-san-francisco-march-2017/.
Any suggestions?
Thanks!

Thanks for report. This is caused by float element with percent width. It should be fixed in v0.2.11. Please try again.

works great!  thank you!
On 20-Dec-16 19:16, emn178 wrote:

Thanks for report. This is caused by float element with percent width.
It should be fixed in v0.2.11. Please try again.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/emn178/jquery-stickit/issues/26#issuecomment-268424258,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALFQsxys12mESk-SkJnXzrBiR-Zbr141ks5rKJoRgaJpZM4LSOPW.


Calorie Counter App[Android]

Requirements for the app:-

The developer will create a JSON file containing the food items to be searched. This will be loaded when the app is started
User can see a panel containing a food description input text box, a 'Search' button, and a 'Clear' button
User can enter search terms into the food description input text box
User can click on the 'Search' button to search for the matching food
User can see a warning message if no search terms were entered
User can see a warning message if no matches were found
User can see a list of the matching food items, portion sizes, and calories in a scrollable results panel that is limited to 25 entries
User can click on the 'Clear' button to clear the search terms and results list

Requirements for the README.md file:-

Concepts used
Documentation and resources used
Future Aspects of the app

Note:- Add the app to the Android Projects section

Hi, I would like to work on this feature. Please assign it to me.


limactl validate should provide help

Description
This is user friendly:
$ ./bin/limactl
Lima: Linux virtual machines

Usage:
  limactl [command]

Examples:
  Start the default instance:
  $ limactl start

  Open a shell:
  $ lima

  Run a container:
  $ lima nerdctl run -d --name nginx -p 8080:80 nginx:alpine

  Stop the default instance:
  $ limactl stop

  See also example YAMLs: /home/user/share/doc/lima/examples

Available Commands:
  completion    Generate the autocompletion script for the specified shell
  copy          Copy files between host and guest
  delete        Delete an instance of Lima.
  disk          Lima disk management
  edit          Edit an instance of Lima
  factory-reset Factory reset an instance of Lima
  help          Help about any command
  info          Show diagnostic information
  list          List instances of Lima.
  prune         Prune garbage objects
  shell         Execute shell in Lima
  show-ssh      Show the ssh command line
  start         Start an instance of Lima
  stop          Stop an instance
  sudoers       Generate the content of the /etc/sudoers.d/lima file
  validate      Validate YAML files

Flags:
      --debug     debug mode
  -h, --help      help for limactl
  -v, --version   version for limactl

Use "limactl [command] --help" for more information about a command.

This is not:
$ ./bin/limactl validate
FATA[0000] requires at least 1 arg(s), only received 0

validate does take arguments
$ ./bin/limactl validate --help
Validate YAML files

Usage:
  limactl validate FILE.yaml [FILE.yaml, ...] [flags]

Flags:
  -h, --help   help for validate

Global Flags:
      --debug   debug mode

Note that this feels like I'm giving it an argument:
$ ./bin/limactl validate --debug
FATA[0000] requires at least 1 arg(s), only received 0

Note that this feels like I'm giving it an argument:
$ ./bin/limactl validate --debug
FATA[0000] requires at least 1 arg(s), only received 0

No, you are not. You are giving it a flag/option, not an argument. Arguments would be the filenames:

Usage:
limactl validate FILE.yaml [FILE.yaml, ...] [flags]

I'm not sure there is much we can do about this, as the behaviour all comes from https://github.com/spf13/cobra/

You could probably check for the error and replace it instead of returning it to the user.
w/ or w/o that, you do have the option of showing help whenever the user gives bad input, some programs do this.


Improve matrix stub

Addressing remaining points of #170 discussed here.
Also might suggest changing m to matrix, since m is often used for number of rows in the matrix context.
And m_dim -> dims? (I have since added these changes but can revert if desired.)

Could this be merged. Having m(atrix) not having a dimension gave me quite a headache today.


Question on font setup

How is it possible to make fonts in CpuDbg as much same as in original OllyDbg?
eg: - my goal is to make fonts as on right hand window (original Olly)

Sorry, the font feature is not yet complete.

Font setting problem, it will take some time to perfect.


Update failing

"There was an error attempting this update."
Have tried this on 3 separate wifi networks and it's failing each time.  SSH'd into the RK2020 and the update log only has "ok" in it.
Yes, remote services are enabled and the RK2020 has the correct time and date in it.  First time this has ever happened on my device.
Currently on the 09212021 firmware.
UPDATE:  OK, I think I figured it out.  Seems the .zip file may be corrupt?  I peeked into the update script itself and pulled down the last two updates.  The most recent one's .zip is corrupted and won't open but the previous update's .zip file opens just fine.  How do we manually update?
Also, the scheme you're using to determine if a user is in China or not is auto-blocked by a lot of network-based ad-blockers to include NextDNS, AdGuard Home, and Pi-Hole.  Had to whitelist demo.ip-api.com before updates would even check the server again but it's still failing.

I believe this issue is now resolved.  It was an issue with my if statement.  Please try it again and let me know if it works for you or not.  Also, I run Pi-Hole on my network and had no issues with demo.ip on my end.


[Request] How to increase enchantment slots

THIS IS NOT A BUG
Hello, I am wondering if there is a way for me to add something like enchantment orbs or something to increase the amount of custom enchants they can have. So it's not a universal amount. There might be a simple way I don't see if so I am sorry.
Thanks

There is currently no way of adding additional slots as it's based on permission. You could give the player permission with a higher number and it should work.


[Enhancement] Limit the number of direct children of expression

What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

[FE PR Coverage Check]
:heart_eyes: pass : 23 / 27 (85.19%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
4
8
50.00%
[4479, 4480, 4482, 4483]

:large_blue_circle:
com/starrocks/common/Config.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/parser/SqlParser.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/parser/TokenNumberListener.java
17
17
100.00%
[]

run starrocks_admit_test


StrucRad to use full RPA methods

StructureRad routine:
At the moment, only uses TDHF method.
Also: can make use of meTable to speed up (particularly in case with RPA)

Fixed by 4dd17ac186b8cc3e651421b4bbcc236e3e191fdb


Replace Point2f0 with Point2f

This switches to new GeometryBasics type names from JuliaGeometry/GeometryBasics.jl#97.

Could you bump the [compat] entry in Project.toml so that we use the new version of GeometryBasics (and the tests pass)?

Yep I'll bump the GeometryBasics version as soon as it's released, but AFAICS the latest release doesn't include the PR...

@Kolaru the [compat] entry is updated, tests should pass now.

Codecov Report

Merging #14 (5f8bbc7) into master (22152b9) will decrease coverage by 4.14%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
- Coverage   79.26%   75.12%   -4.15%
==========================================
  Files           8        7       -1
  Lines         410      402       -8
==========================================
- Hits          325      302      -23
- Misses         85      100      +15

Impacted Files
Coverage Δ

src/engine/texelements.jl
85.24% <ø> (ø)

src/prototype.jl
0.00% <0.00%> (ø)

src/engine/layout.jl
96.00% <100.00%> (-0.04%)
:arrow_down:

src/parser/command_data.jl
25.00% <0.00%> (-65.00%)
: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 22152b9...5f8bbc7. Read the comment docs.

Perfect, thanks a lot!

Thanks for merging! Would it be possible to have a release soon (so we can merge the same changes in Makie)?

Done.


Help verbose show hidden options

Fixes https://github.com/flutter/flutter/issues/3645
@Hixie

And give away our secrets!
LGTM

nice


Support cell.source as [list, of, strings]

Description
https://nbformat.readthedocs.io/en/latest/format_description.html#cell-types

There are a few basic cell types for encapsulating code and text. All cells have the following basic structure:
{
"cell_type" : "type",
"metadata" : {},
"source" : "single string or [list, of, strings]",
}

In Jupyterlab3.x, cell.source is  [list, of, strings], which causes
  File "/opt/conda/lib/python3.9/site-packages/jupyter_ydoc/ydoc.py", line 30, in source
    return self.set(value)
  File "/opt/conda/lib/python3.9/site-packages/jupyter_ydoc/ydoc.py", line 197, in set
    self._ycells.extend(t, [self.create_ycell(cell) for cell in cells])
  File "/opt/conda/lib/python3.9/site-packages/jupyter_ydoc/ydoc.py", line 197, in <listcomp>
    self._ycells.extend(t, [self.create_ycell(cell) for cell in cells])
  File "/opt/conda/lib/python3.9/site-packages/jupyter_ydoc/ydoc.py", line 127, in create_ycell
    cell["source"] = Y.YText(cell["source"])
TypeError: argument 'init': 'list' object cannot be converted to 'PyString'

Reproduce

example ipynb json:
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "4c8d2523-c9e8-4102-8949-8ec23e2be509",
   "metadata": {},
   "outputs": [],
   "source": [
    "print('hello world')"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.12"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}

Expected behavior

Context

Operating System and version:
Browser and version:
Jupyter Server version:

Troubleshoot Output

Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.

Command Line Output

Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.

Browser Output

Paste the output from your browser Javascript console here, if applicable.

I opened a pr for this: https://github.com/jupyter-server/jupyter_ydoc/pull/112

fixed: https://github.com/jupyter-server/jupyter_ydoc/pull/112


Add Admin API

Currently the admin API is only available through source and also not usable because you need to use bearer token.
It implements the bearer token and makes Admin API visible

Thanks for the contribution!