pip install pyhs2 is not installing the latest master branch?

If I issue a cur.fetchmany(i), it fails with
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/apps/Python/lib/python2.7/site-packages/pyhs2/cursor.py", line 152, in fetchmany
    if size < 0 or size > MAX_BLOCK_SIZE:
NameError: global name 'MAX_BLOCK_SIZE' is not defined

I can see in this repo that the code has been changed to  if size < 0 or size > self.MAX_BLOCK_SIZE:
However, the version installed by pip doesn't have the self and it is throwing this error.
Is there a mismatch between this repo and pip?
pip search pyhs2
pyhs2                     - Python Hive Server 2 Client Driver
  INSTALLED: 0.6.0 (latest)

Have you had any luck with this?  I've been experiencing the same issue and haven't been able to find anything aside from this on the subject

Are you referring to the cur.fetchmany() or the pip issue?

@mkmoisen well, they are sort of intertwined since pip is installing a slightly different version than the repo.  I am getting the same error when I try to use fetchmany().

Got it. I ended up uninstalling it from pip, cloning the latest git repo
and then installing it using the setup.py file.
Best regards,
Matthew Moisen
On Wed, May 25, 2016 at 1:12 PM, anshanno<EMAIL_ADDRESS>wrote:

@mkmoisen https://github.com/mkmoisen well, they are sort of
intertwined since pip is installing a slightly different version than the
repo. I am getting the same error when I try to use fetchmany().
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/BradRuderman/pyhs2/issues/61#issuecomment-221692621

@mkmoisen Alright, thanks.  What is the best practice for using .fetchmany()?

@anshanno I actually gave up on fetchmany and use fetchall instead. fetchmany appears to have an annoying bug that I've described in my pull request that you can take a look at.
This library also uses string instead of unicode, which caused me some errors. I've raised another pull request for that.
My application is a simple read only app. My general flow is the following. I use a thread to obtain a connection to the Database, because I noticed that when HS2 is down, it hangs for a long time. If the thread exceed a certain time limit I'll throw an exception to fail gracefully.
def _thread_get_connection(database, ret, e):
    '''
    If HS2 is down, a connection hangs a long time before raising an exception
    Run the connection in a thread class so that it can be cut off in 5 seconds
    :param ret: a dict to hold the conn so that it can be returned
    :param e: a threading.Event()
    '''
    conn = pyhs2.connect(host=HIVE2_HOST,
                         port=HIVE2_PORT,
                         authMechanism="PLAIN",
                         user=HIVE2_USER,
                         password=HIVE2_PASSWORD,
                         database=database)

    # If the thread continues after returning an error, this will close the connection  in the event
    # that the connection actually went through
    if e.isSet():
        close_connection(conn)

    ret['conn'] = conn

def get_connection(database):
    '''
    Helper function to get a connection in a thread
    '''
    ret = {}
    e = threading.Event()
    t = threading.Thread(target=_thread_get_connection, args=(database, ret, e))
    t.start()
    t.join(5)
    if t.is_alive():
        e.set()
        app.logger.exception("Cannot connect to HS2, it must be down")
        return None

    return ret['conn']

# ... The following is wrapped in try except `pyhs2.Phys2Exception`
con = get_connection(database)
if con is None:
    raise ServerException("HS2 is down, cannot connect!")

with conn.cursor() as cur:
    cur.execute(select)
    # Get field names out of schema. Remove "table_name." if a select * was executed
    schema = cur.getSchema()
    columns = [field['columnName'][field['columnName'].index('.') + 1:]
                   if '.' in field['columnName'] else field['columnName']
                   for field in schema]
    rows = cur.fetchall()
    # Convert string to unicode
    rows = [[value.decode('utf-8') if isinstance(value, str) else u'' if value is None else value for value in row] for row in rows]

This is still an issue with whatever source is being used on PyPI. The git master branch works fine, but not the source on PyPI.

@kpweiler Do you mean to say that this is a known issue with all repos, not just this one?


Publish to sonatype

Upgrade sbt to 1.5.0
Update build configs to publish to sonatype / maven central
Use sbt-dynver plugin instead of sbt-git-versioning

I was able to use this to publish this commit as v0.15.0 to sonatype


undefined value static properties outside class

undefined value declare static properties set outside class (inside is work)
I use typescript commpile to es6 but static properties out of class
.babelrc
{
  "presets": [ "es2015", "stage-0", "react", "react-hmre"]
}

App.js
class App extends Component {
    render() {
        console.log(App.Username); // show undefined
        return (

Hello {App.Username}

        );
    }
}
App.Username = "MyUsername";

Can you please share a complete project reproducing the issue?

Source:
https://github.com/isman-usoh/react-transform-boilerplate/blob/master/src/App.js

FWIW issues like this should disappear completely in React Hot Loader 3.
It is built with lessons learned from both React Hot Loader and React Transform.
It’s still in alpha but I suggest you to check it out.
I’ll try to look into why it happens with this project though in a couple of weeks unless somebody beats me to it.


Workers: Missing docs for TextEncoderStream/TextDecoderStream & Release notes

Which Cloudflare product does this pertain to?
Workers
Existing documentation URL(s)
It looks like sometime in July (a448321204a80d06b52bdae86f0dc00c87e53291) introduced TextEncoderStream/TextDecoderStream but there was a missing annotation in the commit so it was never included in the community post & seems like it never made it into the external release notes.
cc @jasnell
Section that requires update
Workers changelog for the appropriate release date
Maybe Web Standards. It's a little unclear what makes it onto that page.
Probably entries in https://developers.cloudflare.com/workers/runtime-apis/streams/
What needs to change?
I'll leave that to @jasnell / tech writers.
How should it change?
I'll leave that to @jasnell / tech writers.
Additional information
No response

https://github.com/cloudflare/cloudflare-docs/pull/6492


Update Linalg header from "LinalgOps.h" to "Linalg.h".

Update the Linalg headers after https://reviews.llvm.org/D115728 and bumping the LLVM version.

I already rebased on #117. Will land and post fix if I missed something.


Expandablelayout animation not smooth

Hi Daniel,
I have a problem, and there is the link I posted in stackoverflow. Could you please help me with that?
Thank you.
http://stackoverflow.com/questions/42852161/expandablelayout-animation-not-smooth

Answered at StackOverflow


Freeze dependencies in package.json

I feel bad using this package, as the package.json sometimes uses * for dependencies. This is bad, as it can cause issues like the one with Babel 6 on fly.
The best option is to mark dependency version with a ^, therefore using latest non-breaking version. Plus, dependencies are tracked with david-dm, so this is easy to update when there is a newer breaking dependency version.

Sounds reasonable. Would you like to send a patch?

Yes, I will.


Remove dependency on go fmt for code gen

🤔 What's changed?
Removed dependency on go fmt when generating code by generating
properly formatted code.
⚡ What's your motivation?
Code generation should run with as few dependencies as possible to
make it easier for  all developers to use (i.e. without every one having to
install every dependency under the sun).
🏷 What kind of change is this?

:bank: Refactoring/debt/DX (improvement to code design, tooling, etc. without changing behaviour)

♻ Anything particular you want feedback on?
@luke-hill is this idiomatic enough?
📋 Checklist:

[x] I agree to respect and uphold the Cucumber Community Code of Conduct

I was hoping you'd see something horrible. But looks like it isn't so bad. 😁


Simple plots

Write a section on 1d plotting:

plt.plot()
plt.errorbar()
multiple lines on a plot

Going to get stuck in on this! Happy to hear peoples ideas about what would make for neat chemical examples (although I've got plenty up my sleeve).

@alexsquires I know people will have issue with this, but the non-object oriented matplotlib is probably simpler to understand so I would stick with that.

@arm61 meaning what? Can you give examples of the two approaches?

Non-OO
plt.plot(x, y)
plt.xlabel('x')
plt.ylabel('y')
plt.show()

Vs.
OO
fig, ax = plt.subplots()
ax.plot(x, y)
ax.set_xlabel('x')
ax.set_ylabel('y')
plt.show()

I think the former has a lower cognitive load

(related off topic Q: pros and cons for introducing objects and methods after functions? Or do we just ignore all the `foo.bar()’?

you mean introducing classes very early?

Agreed @arm61.

Agreed @arm61.

you mean introducing classes very early?

Not necessarily full blown classes, but the idea of objects that can have “functions” (methods) associated with them. To explain the dot syntax. [this is a discussion for a different thread].

Moved that discussion to #46

Is potential solution to include OO plotting in the advanced section? I agree that the title 'simple plotting' for this section lends itself better to pyplot

Definitely potential for a “Advanced Plotting” section that would do the OO!


ingress: Add ownerReferences for shared mode

This commit is to make sure that you have all required ownerReferences for shared CEC, which can be useful for debugging purposes (i.e. find out which cross namespace Ingress resources). Unit test fixtures are already having owner reference information.

/test

/test


Forum font loading denied by Access-Control-Allow-Origin rule

As the forum is still on .io domain, currently some browsers are denying access to the fonts cross-domain.
This rule in www.textpattern.com.conf is to blame:
add_header Access-Control-Allow-Origin "https://*.textpattern.com";

My recommendation would be to migrate the forum rather than open the access control, or temporarily disable access control until the forum is on .com domain.

For history see: https://forum.textpattern.io/viewtopic.php?id=49297

Actually, looks like the font doesn't load in Firefox when on .com domain either. Maybe changing https://*.textpattern.com to https://textpattern.com might fix this?

@petecooper just bumping this in case it was overlooked? Cheers!

Will fix- didn't get any notification on this issue, weirdly.


Create 2419. Longest Subarray With Maximum Bitwise AND.cpp

Please read the new Contributing.md and make changes in your PR accordingly. Thank you


BEYOND RISD lightbox images

Is it possible to lightbox the images in the BEYOND RISD section?
I realize this has some behavior implications in terms of expanding and collapsing each profile.

We can, but the behavior implications are real, and it doesn't necessarily feel like a useful interaction.
A possibility could be to make the image full column width?

I worry that to go from a small image to a full width image on a single click is too much shifting around, where as a two step process of opening the profile and then expanding the image gives the more curious user an opportunity to get a better view of the image.


Prometheus has failed to evaluate 20 rules in the last 5m

rule_group=/etc/prometheus/rules/prometheus-po-prometheus-operator-prometheus-rulefiles-0/monitoring-po-prometheus-operator-kubernetes-system-kubelet.yaml;kubernetes-system-kubelet
rule_group=/etc/prometheus/rules/prometheus-po-prometheus-operator-prometheus-rulefiles-0/monitoring-po-prometheus-operator-kubelet.rules.yaml;kubelet.rules
Prometheus monitoring/prometheus-po-prometheus-operator-prometheus-0 has failed to evaluate 30 rules in the last 5m.
Prometheus is failing rule evaluations
why?

i have save it.

well done


Add MIT License file

MIT License is "do what you want with this, you can't sue me if it breaks".

Thanks !


Fix remote scene tree root folding

Fixes #25487.
Not sure if this is the best fix, since now double-clicking the collapse button would result in the item remaining in the same state.

Not sure if this is the best fix, since now double-clicking the collapse button would result in the item remaining in the same state.

I think it's not a big deal to lose this behaviour, and the fixed state is definitely better than the current bug, so let's merge :)

Thanks!

Cherry-picked for 3.1.2.


Added hackerrank solution to various problems in JAVA programming lan…

Created a new folder "./hackerrank/java" and added hackerrank solutions to various problems including Arrays, Strings, and loops.

Hello @MryashAditya007 . I have created a folder names "Java" in "hackerrank" containing hackerrank solutions to various problems. Please review my PR.

Hello @MryashAditya007 . I have created a folder names "Java" in "hackerrank" containing hackerrank solutions to various problems. Please review my PR.

@codedmachine111 Great, Please add your name to readme.md file

Udated REAMDE.md and added myself to the contributors list.


[RFC]virtcontainers: mount blockdevices in the guest VM

This mount blockdevices in the guest VM instead of passing them through
Fixes: #881
Signed-off-by: l00413982<EMAIL_ADDRESS>

Depends on https://github.com/kata-containers/agent/pull/407
Design LGTM
Scenarios can refers to my previous comment: https://github.com/kata-containers/runtime/issues/571#issuecomment-418575708

/test

/test

Question @bergwolf - when you say breaks docker/runc compatibility - do you mean it actually breaks (changes) an existing docker/runc command etc.?, or are we adding/extending a command in a way that docker/runc does not support?
Extending sounds fine, but breaking compatibility would concern me - we generally present kata as a 'drop in replacement'.

@grahamwhaley breaks docker/runc compatibility: with docker run -v /dev/sda:/foobar, docker will bind mount the device to the container. While in this PR, we want to create a directory foobar and mount the file system on /dev/sda to foobar inside the container.

@zklei @bergwolf @grahamwhaley ping, any updates?

Hi @zklei - will you be re-visiting and updating this? It now needs a rebase at least.
@WeiZhang555 @bergwolf - still happy with this?
@egernst @sboeuf, @amshinde - your input welcome, especially around the docker compat bit.

@grahamwhaley we need the input from the community and especially AC members I think. I personally don't like that we're adding this default behavior since it's diverging from the runc behavior, and the whole point has always been to follow runc if we don't want to end up with angry customers :)

Ping @kata-containers/architecture-committee.

@sboeuf @grahamwhaley I have seen this feature being requested a few times in the past.
If we are to support this, then it makes sense to have this enabled based on a config option.
But I would rather have the configuration on a pod/container basis rather than a host wide configuration, which is why I am suggesting we could do this based on pod annotations.

@amshinde is this related https://github.com/kata-containers/runtime/issues/1354

Ping @zklei  @kata-containers/architecture-committee. Any updates?

Nudge @zklei @gabibeyer @mcastelino @amshinde

@zklei - shall we just close this PR if it's not going to be updated?

@zklei any updates? Thx!

Sry For delay~~ Lei has out for a very very very long vocation.
And he is back to work now.
I will push him finish this pr this week
^_^
@egernst  @zklei  @raravena80

Sry For delay~~ Lei has out for a very very very long vocation.
And he is back to work now.
I will push him finish this pr this week
^_^
@egernst @zklei @raravena80

I'm so sorry to have been away from kata-earth for so long time, I've updated the PR based on the conversations.

/test

@zklei ping

/test

@zklei ping.

@zklei any update on this PR?

@zklei any updates?
Your weekly Kata herder.

@jshachm @zklei coming back to this. Any updates?

@jshachm @zklei this is old, should we close this and move the work to 2.0?

@jshachm @zklei Ping
That branch seems quite outdated (2 years old) and has merge conflicts at this point. I will close it for now. Please feel free to re-open it if you refresh it.

@jshachm @zklei Closing as outdated (can be reopened if needed)


Downloading images doesn't override pre-existing images

If you download an image with the same name as an existing image, it just does nothing

Should be fixed in commit f1f0c2e4d2709a02116ef34795857c9341d0ac1b


[HANDS-ON BUG] huggingface-projects/AIvsAI-SoccerTwos not working

Just to report that huggingface-projects/AIvsAI-SoccerTwos is not working.
I'm using this link : https://huggingface.co/spaces/huggingface-projects/AIvsAI-SoccerTwos

Thanks I'm relaunching the machine

Great, works now. But I can't see my model on the leaderboard. Am I missing something ?
My model link: https://huggingface.co/rbrgAlou/poca-SoccerTwos

I relaunch the machine. But did you tried to visualize your agent playing with our Space? https://huggingface.co/spaces/unity/ML-Agents-SoccerTwos

Yes, and it works well but no sign of the model in the leaderboard...

Hey there 👋 we have some problems with this Unit, we're going to make a clean update on it next month. Since many students get problems.


Reading: Set importer to fetch recursively, updating logging

Follow-on to https://github.com/studentinsights/studentinsights/pull/2623, running importer in standalone fashion, no more dry_run: true.

selfie


Do not show extraneous true/false possible values, skip hidden arguments

Fixes #18, fixes #19. See commit descriptions for more details.
This PR competes with #15, but I believe the method I use here is better.
This duplicates https://github.com/janstarke/clap-markdown-dfir/pull/1, but is rebased onto this repo's main branch.

Thank you for this contribution @ilyagr! 🙂
And my apologies to the other folks who've had PRs addressing this issue that I've neglected!


docker build hangs, can't build image for uv locally

uv git:main*
❯ docker build . -t myuv --load
[+] Building 992.6s (16/18)                                    docker:desktop-linux
 => [internal] load build definition from Dockerfile                           0.0s
 => => transferring dockerfile: 1.54kB                                         0.0s
 => [internal] load metadata for docker.io/library/ubuntu:latest               1.8s
 => [internal] load .dockerignore                                              0.0s
 => => transferring context: 2B                                                0.0s
 => [ 1/14] FROM docker.io/library/ubuntu:latest@sha256:99c35190e22d294cdace2  0.0s
 => [internal] load build context                                              0.1s
 => => transferring context: 2.08MB                                            0.1s
 => CACHED [ 2/14] WORKDIR /root                                               0.0s
 => CACHED [ 3/14] RUN apt update   && apt install -y --no-install-recommends  0.0s
 => CACHED [ 4/14] RUN python3 -m venv /root/.venv                             0.0s
 => CACHED [ 5/14] RUN .venv/bin/pip install cargo-zigbuild                    0.0s
 => CACHED [ 6/14] RUN case "linux/arm64" in   "linux/arm64") echo "aarch64-u  0.0s
 => CACHED [ 7/14] COPY rust-toolchain.toml rust-toolchain.toml                0.0s
 => CACHED [ 8/14] RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup  0.0s
 => CACHED [ 9/14] RUN rustup target add $(cat rust_target.txt)                0.0s
 => [10/14] COPY crates crates                                                 0.2s
 => [11/14] COPY ./Cargo.toml Cargo.toml                                       0.0s
 => [12/14] COPY ./Cargo.lock Cargo.lock                                       0.0s
 => [13/14] RUN cargo zigbuild --bin uv --bin uvx --target $(cat rust_targe  990.3s
 => => #    Compiling uv-tool v0.0.1 (/root/crates/uv-tool)
 => => #    Compiling uv-scripts v0.0.1 (/root/crates/uv-scripts)
 => => #    Compiling tikv-jemallocator v0.6.0
 => => #    Compiling uv-performance-memory-allocator v0.1.0 (/root/crates/uv-perfo
 => => # rmance-memory-allocator)
 => => #    Compiling uv v0.5.1 (/root/crates/uv)
ERROR: failed to solve: Canceled: context canceled
uv git:main*  999s
❯

building the image locally hangs forever and never succeeds. This was working yesterday on possibly a very stale branch... don't rememeber how stale though unfortunately :/

We build these images for every release, so it should be working. Perhaps the problem has something to do with your platform?

Is this on linux?

This was on Mac,i tried on another laptop and the image builds, must be something on my work machine, sorry for the waste 👎


"Assertion Failed" error when FXMaster and libWrapper are also enabled

Hi,
I've started seeing a new error in the past week or so and I've pinned it down to when libWrapper, Perfect Vision, and FXMaster are all enabled. If only 2 of them are enabled the error is not thrown.
Screenshot below with the error:

I suspect your FXMaster isn't up to date. Try reinstalling if it doesn't want to update. Let me know if that is indeed the problem.

Ah, right. I'm on the latest version for 0.7.9, but not on the actually latest version.

Fixed in v1.9.11.


Added account migration feature

Proposed changes
This PR added migrateAccounts feature.
migrateAccounts migrates external Klaytn accounts into KAS wallet.
There are a few things you should know about this PR. It would be good to discuss the following.
point 1: Passing a RPC instance as one of parameter
Unlike caver-js-ext-kas (= one of the KAS SDK implementation using Javascript), I added RPC instance as a parameter.

function definition of migrateAccounts caver-js is migrateAccounts(accounts)

To migrate accounts to KAS Wallet, we need to know nonce of accounts and a gas price of connected Klaytn network.
To fetch nonce for accounts and a gas price, we need to use “Klay RPC call” with working Node API endpoint.
What does the above mean even if the Node API is initialized after the Wallet API is initialized,
the Wallet API must know the changed endpoint of the Node API.
So in this situation if we do not use RPC instance as parameter,
1. We should add RPC instance as a member variable of Wallet.
2. We should add codes tracking any changes of Node API and updating right away Wallet API to make Wallet API knows changed endpoint url of Node API
I think the above changes are very inefficient because migrateAccounts() method is the only method which requires Node API in the Wallet class.
point 2: Mocking tests about migrateAccounts
I Added some test cases that require additional API calls other than those required for account migration as mocking tests.
e.g migration of accounts having “MultiSig Key” or “RoleBased Key”.
Testing with these type of account requires an additional API call (Account Update Transaction).
point 3: Make accessKeyId and secretAccessKey as public
To intialize each APIs with config, we should make these members as public.
e.g.
caverExtKAS.initWalletAPI(Config.CHAIN_ID_BAOBOB, Config.accessKey, Config.secretAccessKey, Config.URL_WALLET_API);
caverExtKAS.initNodeAPI(Config.CHAIN_ID_BAOBOB, Config.accessKey, Config.secretAccessKey, Config.URL_NODE_API);

Types of changes
Please put an x in the boxes related to your change.

[ ] Bugfix
[x] New feature or enhancement
[ ] Others

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING GUIDELINES doc
[x] I have signed the CLA
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Related issues

Please leave the issue numbers or links related to this PR here.

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


Added pre-commit usage section.

@akeeman

Coverage decreased (-0.09%) to 99.171% when pulling 8ec730906051d24c483526990e5258cbc4128e0a on jackton1:patch-1 into 3c3b2a2274e40a03d3d8f14815509662e9f454e0 on myint:master.

Worthwhile addition IMO.


Improve job error handling

Currently, if an unexpected error appears during a job execution, the entire job fails, or in the worst case, the entire scheduler thread.
A job base class might work well for this case (the base class could also handle recording job status information).

Done in #71.


Skip download if ImportPath prefix has been seen

The restore code looks up the repo root via vcs.RepoRootForImportPath for each imported package. If there are many (literally hundreds in our case) sub-packages of the same dependency, this code looks up the repo root again and again. If the dependency is on a non-known domain (e.g. k8s.io/kubernetes in contrast to github.com/foo/bar), this leads to one go get per sub-package, i.e. one http connection to get the meta data per sub-package. This is slow, very slow.

FYI this change also dramatically reduces the memory usage of godep restore (~3 GB) when using it against the Kubernetes repo.

cc @thockin

Good to know, but I won't have time to futz with glide any time soon.
On Apr 28, 2017 11:59 PM, "Brandon Philips"<EMAIL_ADDRESS>wrote:

cc @thockin https://github.com/thockin
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tools/godep/pull/538#issuecomment-298151766, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFVgVGrAi7ehk13RpzOqsSSEVfZ6u0q1ks5r0t_GgaJpZM4M1U0N
.

I am closing this PR because the repo is going to be archived.


docs: Capturing that non-exclusive CPUs are not accounted in NRT objects

Signed-off-by: Swati Sehgal<EMAIL_ADDRESS>

/cc @shajmakh

looks good! thanks for the update!
/lgtm

/hold
feel free to unhold when the typo is fixed

/unhold
@shajmakh I fixed the typo, can you please take another quick look and add an LGTM if all loogs good.
Thanks

Thanks!
/lgtm

/test ci-e2e

/cherry-pick release-4.11


Don't use yay -Syua

yay -Syua will lead to partial upgrades. I'm not sure if you're using -a because you want to upgrade just AUR packages or out of habit from yaourt. Whichever one you intend to do, there are examples of both in the yay man page, as well as documentation for -a/--aur.
See also https://github.com/Jguer/yay/pull/624
(And if you happen to be a wiki maintainer could you also make the fix here https://wiki.manjaro.org/index.php/Arch_User_Repository)

Thanks, it is indeed there by mistake. I'll fix it soon.


In-browser assisted full cloud stack deployments

Describe changes
Implements a new automated experience of deploying cloud infrastructure and registering full cloud ZenML stacks two-in-one with minimal user input. This experience is meant to reduce the friction and technical difficulties usually encountered when a user has to create a cloud ZenML stack from scratch.
The zenml stack deploy CLI command has been repurposed to support this new experience as showcased here:
$ zenml stack deploy -p aws
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃                                             AWS ZenML Cloud Stack Deployment                                              ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

Provision and register a basic AWS ZenML stack authenticated and connected to all the necessary cloud infrastructure
resources required to run pipelines in AWS.

                                                        Instructions

You will be redirected to the AWS console in your browser where you'll be asked to log into your AWS account and create a
CloudFormation ZenML stack. The stack parameters will be pre-filled with the necessary information to connect ZenML to your
AWS account, so you should only need to review and confirm the stack.

After the CloudFormation stack is deployed, you can return to the CLI to view details about the associated ZenML stack
automatically registered with ZenML.

NOTE: The CloudFormation stack will create the following new resources in your AWS account. Please ensure you have the
necessary permissions and are aware of any potential costs:

 • An S3 bucket registered as a ZenML artifact store.
 • An ECR repository registered as a ZenML container registry.
 • Sagemaker registered as a ZenML orchestrator.
 • An IAM user and IAM role with the minimum necessary permissions to access the above resources.
 • An AWS access key used to give access to ZenML to connect to the above resources through a ZenML service connector.

The CloudFormation stack will automatically create an AWS secret key and will share it with ZenML to give it permissions to
access the resources created by the stack. You can revoke these permissions at any time by deleting the CloudFormation stack.

Proceed to continue with the deployment. You will be automatically redirected to AWS in your browser. [y/n]: y
If your browser did not open automatically, please open the following URL into your browser to deploy the stack to AWS: AWS
CloudFormation Console.

                                          Stack aws-cf successfully registered! 🚀
          Stack Configuration
┏━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━┓
┃ COMPONENT_TYPE     │ COMPONENT_NAME ┃
┠────────────────────┼────────────────┨
┃ ARTIFACT_STORE     │ aws-cf         ┃
┠────────────────────┼────────────────┨
┃ ORCHESTRATOR       │ aws-cf         ┃
┠────────────────────┼────────────────┨
┃ CONTAINER_REGISTRY │ aws-cf         ┃
┗━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━┛
            'aws-cf' stack
Stack 'aws-cf' with id '498714d1-edc9-445d-a3de-a27767e3f28b' is owned by user ...

                                                          Follow-up

The ZenML stack has been successfully deployed and registered. You can delete the CloudFormation at any time to revoke
ZenML's access to your AWS account and to clean up the resources created by the stack by using the AWS CloudFormation
console.

AWS is currently the only supported provider with Google and Azure to follow shortly.
Side changes
Currently, ZenML uses the .../zenml docker repository by default for all pipeline images it builds/pushes. This can be overridden, but it's a docker settings that must be configured in code.
At the same time, we want these full stack deployment templates to create unique cloud resources, which includes container registries. Therefore, we need the ability to configure the container registry stack components to use a "default repository name" that is different than zenml. This PR also adds that capability by modeling a new (optional) default_repository configuration attribute to all container registry stack components.
Deprecations
The zenml stack deploy CLI command has been renamed to zenml stack deploy-mlstack and marked as deprecated. Users should use the new zenml stack deploy CLI command to benefit from the new experience or use the mlstacks project stacks separately.
Pre-requisites
Please ensure you have done the following:

[x] I have read the CONTRIBUTING.md document.
[ ] If my change requires a change to docs, I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] I have based my new branch on develop and the open PR is targeting develop. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.
[ ] If my changes require changes to the dashboard, these changes are communicated/requested.

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Other (add details above)

@schustmi I might need you to take a quick look at the side-change documented in the PR description. It affects the way we build docker container images to run pipelines.


[PHPStanRules] Add CheckSprinfMatchingTypesRule

Closes https://github.com/symplify/symplify/issues/3448

cc @staabm First prototype is out. It show couple of incorrect docs types and weak types in regex matching :+1:

cool <3


DRILL-5523: Revert if condition in UnionAllRecordBatch changed in DRI…

…LL-5419
If condition in UnionAllRecordBatch which was changed to correct one in DRILL-5419 but this change caused the regression (DRILL-5521).
The root cause is not in change itself but rather in missing indication of child column in map types when it is null. There is a big project upcoming re-working json reader implementation, including map types (DRILL-4824) which will fix the problem.
So far reverting change to initial state so users won't see the regression till DRILL-4824 is merged.

@vvysotskyi since you are working on DRILL-4824, please review pull request and confirm that issue will be fixed after DRILL-4824 is merged.

+1


Adds hugging

About the PR
HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS HUGS
[At the request of @DogZeroX . Also, you can hug yourself. I call that a feature, but it should be easy to remove that with an if check.]
Screenshots

https://user-images.githubusercontent.com/52474532/163652605-a03c808a-37a8-4c64-95e5-4c31b6dc79e2.mp4
Changelog

:cl:

add: Nanotrasen has spent billions of credits in morale research, and the newest morale-increasing technology is here: Hugging!

Where's hugging-failure-generic?

Where's hugging-failure-generic?

Removed cuz failure chance was removed by @moonheart08 's request.
I'm assuming having an unused failure-generic is not necessary,

Removed as moon heart asked the success chance to be 100%
Enviado do Yahoo Mail no Android
Em sáb., 16 16e abr. 16e 2022 às 5:50, @.***> escreveu:
Where's hugging-failure-generic?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Removed as moon heart asked the success chance to be 100% Enviado do Yahoo Mail no Android Em sáb., 16 16e abr. 16e 2022 às 5:50, @.> escreveu: Where's hugging-failure-generic? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

what.


Add schemas for cookie extractor enrichment

Implements https://github.com/snowplow/snowplow/issues/998

@jbeemster, @fblundun thanks for the review - cookie_extractor_context was messed up. I fixed it.
@alexanderdean I am not sure I fully understand what vendor means. I understood it as the entity that maintain and decide on the schema. In this understanding vendor would be Snowplow / Snowplow community. This understanding follows the description that is here: http://snowplowanalytics.com/blog/2014/05/15/introducing-self-describing-jsons/
vendor tells us who created this JSON Schema

Hey @kazjote - sorry for the confusion: the vendor is the organization that defined the original entity, not the entity which transcribed the entity to JSON Schema. So if Snowplow creates schema for MailChimp, we put them under com.mailchimp, not com.snowplowanalytics. Think of the vendor as the namespace for the
In this case, the entity is an http cookie, which isn't an entity invented by Snowplow, but rather an entity standardized by IETF in RFC-6265.
Another way of thinking of it is: if we define this as org.ietf.rfc-6265/http_cookie, then this schema (and companion Redshift table) can be used by:

This enrichment
A different implementation of this enrichment one day
Someone adding cookies as contexts in the JavaScript Tracker

TL;DR - the vendor and name should describe the entity itself, not the current mechanism producing that entity.

Thanks for the explanation. I renamed context schema and update enricher pull request https://github.com/snowplow/snowplow/pull/2072

Looks great - thanks @kazjote !

@fblundun - from your review of the CookieExtractorEnrichment - should we be tolerating null for either of these fields?

https://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/HeaderElement.html

Any amount of white space is allowed between any part of the header, element or param and is ignored. A missing value in any element or param will be stored as the empty String; if the "=" is also missing null will be stored instead.

@fblundun, @kazjote - I've confirmed to need to allow null for cookie value (however not for cookie name):
https://github.com/snowplow/snowplow/blob/RetentionGrid-feature/cookie_extractor/3-enrich/scala-common-enrich/src/test/scala/com.snowplowanalytics.snowplow.enrich.common/enrichments/registry/CookieExtractorEnrichmentSpec.scala#L59

These are in the release branch now, thanks so much, closing...


Update README information.

This PR updates the README with information about a Python-based Sitemap Crawler project. The updated README includes a brief introduction to sitemap crawlers and their purpose, a description of the project's goal, instructions for installation and usage, and information about contributing to the project. The Trello board link is also included for tracking the project's progress.

Thank you for the contribution 🙏


'tensorflow.python.keras.api._v1.keras.losses' has no attribute 'Reduction'

I am using Huber loss implementation in tf.keras in tensorflow 1.14.0 as follows:
huber_keras_loss = tf.keras.losses.Huber(
        delta=delta,
        reduction=tf.keras.losses.Reduction.SUM,
        name='huber_loss'
    )

I am getting the error AttributeError: module 'tensorflow.python.keras.api._v1.keras.losses' has no attribute 'Reduction'
I have tried using tf.losses.Reduction, tf.compat.v2.losses.Reduction nothing seems to work.
Did tensorflow remove Reduction from tf.keras.losses, it is strange if they did so because their documentation still shows: https://www.tensorflow.org/versions/r1.14/api_docs/python/tf/keras/losses/Huber#args

Hi @subhankar-ghosh,
Can you please retry this on the tf-nightly release, and post the full code to reproduce the problem?
The 1.14 release was cut at the beginning of June, and it's entirely possible that this is fixed.

can’t solve this problem.


Delete fails with multiple upload

When uploading multiple files with filepond, and then calling
$filepond = Filepond::field($filepondToken)->delete();
The error is: Method Illuminate\Database\Eloquent\Collection::delete does not exist.
The reason is that at
https://github.com/rahulhaque/laravel-filepond/blob/886ac39dfa2ccba9a39acd5908f540eee4131995/src/Filepond.php#L153-L171
there is a missing else case, since $filepond = $this->getFieldModel(); returns a Collection, it tries calling ->delete() on a Collection instance.

@horo42 I feel like I missed a simple return to break the condition. Thanks for identifying the issue. Just released a new version for Laravel 8 channel. Please check.

Thanks for the quick reply and fix, I found no issues with the new version. 👍


Added NOMAD Oasis as open-source research data management software.

NOMAD Oasis is awesome because is free and open source, but also for these many reasons:

Local Data Management: It allows the creation of a local version of NOMAD, tailored to specific data-management needs and individual policies. This ensures data privacy and security, as it runs behind the user's firewall and inside their VPN.

Ease of Installation and Scalability: NOMAD Oasis is easy to install on any computer with Docker and offers unlimited scalability on Kubernetes clusters. This flexibility makes it suitable for various sizes of research groups and institutions.

Integration Capabilities: Users can integrate all types of data, support their own file formats, include data from existing Electronic Lab Notebooks (ELNs), and add custom normalization steps. This comprehensive integration capability enhances the versatility of the platform.

Customization and Extension: It allows for the extension and customization of NOMAD's schema to create specialized editors for documenting work and data. Users can also add their own tools and Jupyter notebooks that directly access and manipulate data in NOMAD.

Privacy and Unrestricted Storage: With NOMAD Oasis, users have complete control over their data, implementing their own data policies, managing data without necessarily publishing it, and using existing user management systems. The platform also supports the use of existing storage solutions, enabling the management of large volumes of data.

Publication of Selected Data: NOMAD Oasis will soon enable users to publish selected data to the public NOMAD service with a single click, facilitating data sharing and collaboration within the scientific community.

Custom Needs Fulfillment: Beyond the features of the public NOMAD service, Oasis can be customized to meet specific processing requirements, support unique file formats, and integrate with existing laboratory systems.

Developed by FAIRmat: As a product developed by the FAIRmat consortium, NOMAD Oasis is part of an initiative to revolutionize research data management by embracing FAIR (Findable, Accessible, Interoperable, and Reusable) data principles.

Suitable for Various Group Sizes: Whether for small research groups or large institutes, NOMAD Oasis is adaptable, with hardware requirements that scale according to data and tool usage needs.

Backup and Data Organization: All data in NOMAD Oasis is organized in a conventional file system, which can be easily integrated into existing storage and backup solutions. This feature simplifies data management and ensures data integrity.

These features collectively make NOMAD Oasis an advanced, flexible, and user-friendly platform for managing and processing materials science data, fostering efficient research and collaboration in the field.

I agree that NOMAD OASIS is awesome :) Thank you for the contribution! It looks like integrations with external ELNs are in the works (either beta releases or future plans). I'm also seeing "Using NOMAD as an Electronic lab notebook". I think I will add a link to this playlist. Any suggestions on a better organization of the information management section in the README to accommodate solutions like NOMAD OASIS?

I agree that NOMAD OASIS is awesome :) Thank you for the contribution! It looks like integrations with external ELNs are in the works (either beta releases or future plans). I'm also seeing "Using NOMAD as an Electronic lab notebook". I think I will add a link to this playlist. Any suggestions on a better organization of the information management section in the README to accommodate solutions like NOMAD OASIS?
For now, accepting the PR with a link to the YouTube playlist added.

I think that tutorial is becoming already a bit old and very beginner, but still valuable. There will be a new version of it coming later this year. I think it might be interesting this talk from Daniel Baumann (KIT), where he uses a NOMAD Oasis to log all his perovskite coatings with a spin bot (solar cells application).
This tutorial on February 14th shall be very valuable as an introduction to NOMAD Oasis and easy to follow with a jupyter notebook.

Also, this ELN finder from TU Darmstadt might be an interesting resource: https://eln-finder.ulb.tu-darmstadt.de/home


python312: 3.12.0-rc3 -> 3.12.0

https://docs.python.org/dev/whatsnew/3.12.html
https://docs.python.org/release/3.12.0/whatsnew/changelog.html
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Tested on x86_64-darwin and works


[IOTDB-127] Fix documents problems

Fix some documents problems in both Chinese and English documents as is mentioned in issue IOTDB-127.

It seems that you do not only correct the Chinese version but also the English version, so you'd better use a more precise title of the PR.

Many thanks for the review and suggestions! I have changed the title and fixed the detailed problems.


Roku: sound effects and audio playback not always passed to headphones

Moved from https://github.com/plexinc/konvergo/issues/397
Device: Roku (dev kit)
Current behavior: Sound effects and media audio doesn't always play through the Roku remote headphones. In my testing, sound effects became broken first followed by audio playback.
Assigning to myself until STR can be better identified.

Moved to the other Roku repo.


Add announcers to know when a Molecule Component is started and stopped

A GitHub search of its repository shows that no such option exists at the moment:

Announcers would be useful for the visualization option currently developed in Molecule-Incubator

Hi @Eliott-Guevel, this code is the internal mecanism of Molecule to be notified when classes change. This is not related to component life-cycle but related to live-coding features.
I think we don't have Molecule Announcers and it should be good to propose that for monitoring a Molecule system.
This can be for example:

ComponentInitialize
ComponentActivate
ComponentPassivate
ComponentRemove

We have this:
MolHomeServices>>instantiateComponent: aComponentClass named: aName
(...)
      component triggerEvent: #instantiateComponent with: component.
(...)

MolHomeServices>>activateComponent: aComponentClass named: aName
(...)
      component triggerEvent: #activateComponent with: component.
(...)

etc.

This is an old mecanism, probably not used because no tests and no references to it.
@ELePors I thinks we can replace this old (and not used) mecanism by new system Announcers, what is your opinion?

Hi @labordep and @Eliott-Guevel
Whe should try to create Announcement subclasses :
MolComponentAbastractAnnoucement
├── MolComponentActivated
├── MolComponentInstanciated
├── ...

with a #component:  method implemented to indicate which component is related to the announcement.
The MolComponentManager should do announcements...
and others should listen to these announcements...


Support custom URL scheme handlers

Motivation
Data URL scheme is implemented in Athenz auth plugin but it's not Athenz specific and should be able to use from other places.
Modifications

Generalize custom URL scheme support

Result

Be able to use Data URL scheme from anywhere
Be able to add other custom schemes easily

Note
I set milestone to 2.0.0 but it doesn't break any compatibility. It's just for release schedule.

Changed milestone to 1.22 since review has been done smoothly.


Update pomodoro extension

Description
Moves the setting for menu bar time display to the pomodoro-menu-bar command.
Adds the time left as a menu bar dropdown item when time display is disabled
Adds a time left countdown to the control timer command in the Raycast window
Refactors a hook to get the amount time left easier
Reorder preferences to make it a bit easier to look through
Removes the custom type for preferences in favor of the generated type from Raycast
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

I just changed my PR to move the timer to the dropdown list if it's hidden.
I think your implementation makes the process complicated.
What do you think?

The main reason for the complexity in this is to get the timer to update every second in the menu dropdown while its open
You're solution would work but would only update when manually rerendered, or every 10 seconds

Attached a screencast of the proposed change here so you can see the benefit
But maybe I've made too many changes for one PR, I can work on that. If you want to continue with your change first I don't have a problem with it

So what's the status regarding this PR after the other one was merged?

Going to break this up into a couple of different requests


[bug?] No FF DMG grom some mobs

Players from my dedicated server notice me that some mobs don't do dmg to thier friends. Trolla do DMG to other mobs but eg. greys don't hurt another grey.
On server config ff is turned ON.
If players don't have this option set to on, itn will be uto synced with serwer?

Yes server config is synced with players when they join server.
There are two ways I can imagine this could happen:

Not all players had the mod running
For some reason the config was not synced

I'd double check that everyone has the mod. Also if you are admin, you can toggle AI FF to off and back on through console or chat, doing that will re-sync config with all connected players.


test: when diagnostics are enabled, importing .graphql files throws error

tsc does not complain for the .css file & only for the .graphql file. This is probably an issue with typescript compiler.
i added a testcase which demonstrates #477.

@rahulcs I'd love to talk about this on Slack. While I've heard about GraphQL, I've never read about it and I don't know exactly what it is.
Looking at your file, .graphql files are a specific language, so it needs its transform entry in Jest config. In which case it is not related to TSJest.

@huafu thanks for looking into this PR. i have already added this to my transform entry
"transform": {
  "\\.(gql|graphql)$": "jest-transform-graphql",
  "^.+\\.tsx?$": "ts-jest"
},

this error is caused when enableTsDiagnostics is set to true https://github.com/kulshekhar/ts-jest#ts-compiler--error-reporting
importing the the css file does not cause an error. as you can see in the test file in the PR, the other errors are still reported.
I just saw that enableTsDiagnostics has a path option which i could use which might not run diagnostics on the .graphql file.

@rahulcs the error about .css IS reported, but you don't even have a test about it.
FYI, here is the full output of the ts-diagnostic test:
FAIL __tests__/Hello.test.ts
  ● Test suite failed to run

    Hello.ts(1,38): error TS2307: Cannot find module './deleteDog.graphql'.
    Hello.ts(2,20): error TS2307: Cannot find module './styles.css'.
    Hello.ts(5,10): error TS2339: Property 'push' does not exist on type '\\"\\"'.
    Hello.ts(16,10): error TS2339: Property 'unexcuted' does not exist on type 'Hello'.

    > 1 | import { Hello } from '../Hello';
        | ^
      2 |
      3 | describe('Hello Class', () => {
      4 |   it('should throw an error', () => {

      at Object.runTsDiagnostics [as default] (node_modules/ts-jest/src/utils/run-ts-diagnostics.ts:19:11)
      at Object.<anonymous> (__tests__/Hello.test.ts:1:1)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        9.758s
Ran all test suites.

Thanks must have been added after I sent the PR. Thanks for the help @huafu

Nothing has been added, but in the test file you only test for the error related to the .graphql file, and you have no test related to .css file.
https://github.com/rahulcs/ts-jest/blob/62124c9c19a904c1ba4374e8dfeb4dfa38020ba3/tests/__tests__/ts-diagnostics.spec.ts#L6-L14
You're missing this test if you want to ensure it fails about importing css:
    expect(result.stderr).toContain(
      `Hello.ts(2,20): error TS2307: Cannot find module './styles.css'.`,
    );

Could be. Weird that it was passing though last time I checked. My bad. Thanks anyway!

It is passing and it is still passing and that is normal.


Switch to PEP8

With Django, you cause yourself unnecessary effort by not using PEP-8.  Google what it means and switch to actual python standards and best practices.

ok


Add missing colors to gruvbox-dark theme

I noticed that orange and gray were missing from the original gruvbox-dark theme. I plan on using orange so I figured I would send a patch. I also put black and white colors at the top of the theme so it's easier to visually compare with the original color list (https://github.com/morhetz/gruvbox-contrib/blob/master/scss/gruvbox-dark.scss).
Thanks, great theme.

Thanks! Don't know how I missed those.


Add enable symbol store checkboxes to ui

With this change, we added the checkboxes to enable searching for symbols in Stadia and Microsoft symbol stores in Symbol Locations Dialog.
Bug: http://b/239166878
http://screenshot/9DZ5ag8JRCc6dYA
(The redundant "will be used" has been removed, but I'm to lazy to take a new screenshot 🙈  )

Update layout of the symbol location dialog http://screenshot/47hqGywWMyCeny6.

A new look http://screenshot/QXd2r2EDV9LFVQC

A even newer look http://screenshot/9FG5vdU5ap55yvh

Got the LGTM from Anton offline so I'm going to submit it ;-)


Add a delay to address netbeans test failure in Travis/CI

Note that without the delay not only does the test fail, there also are memory access errors (both in asan and Valgrind).  I can try removing the delays again to see if this can be fixed, but ideally we have a test that passes and still triggers these errors.


word2vec api change, vector->word

This changes the vector property in the results returned to word addressing https://github.com/ml5js/ml5-library/issues/153
This should not be merged until this is complete and the library is re-built:
https://github.com/ml5js/ml5-library/pull/160

Just noting that we will need to update the example in the website too!

Oh right! I'll make a pull request there too!

this was solved in #44


⚖ Register Validator: truedetective

Network Choice
nemeton-1
Who are you?
Thanks, I hope everyone is well.
gentx
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"truedetective","identity":"","website":"","security_contact":"vaxesan@gmail.com","details":""},"commission":{"rate":"0.050000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"okp416nstcw4fe8pqnttmd2dxhaudfftknwcwxgu6y2","validator_address":"okp4valoper16nstcw4fe8pqnttmd2dxhaudfftknwcwn0vn6t","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"2VbXDImMCW84guNbS+rOcpi/ggymiVvrZrygD+a9eYY="},"value":{"denom":"uknow","amount":"10000000000"}}],"memo":"bc940796d7abe6814d641431b444a13a523d3d58@<IP_ADDRESS>:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A1PTcm7xnz88bth4olpEZlOa8ZZ2jTz9GTvVXJzIsAEi"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["/fu0kxCRm+eVq6m/3M0p8jbE8Y/KTKf2GfDGc3S8yfgX0mC+t4USQvCfFP8QD5MlM0EKlzH0qv8aYcDOX6MEUg=="]}

😉 Here is the corresponding PR: https://github.com/okp4/networks/pull/499


Milestone: JavaScript capstone project - Your API-based webapp

In this milestone:

We have used built an API-based movie web app using HTML, CSS, JavaScript
We fetch data from the  TVmaze API
We then display from that data 15 movies on our web page
Further, we hit the Involvement API to record the different user interactions i.e. likes, comments.
Here is a video description of our project: https://drive.google.com/file/d/1UeOeRlV2ehm8cvYulInTwIxQttv3tkkJ/view?usp=sharing

Thank you @TuyishimireEric for your review.❤🙏

I want to extend my regards to @Kashif-Saleem-Ghuman for working with me on this beautiful project together as a team. I believe that such understanding is scarce to have in groups. I am very much fortunate to be able to be paired with you. May god guide you and give you prosperity so you achieve your dreams.❤🙏

Thankyou @TuyishimireEric  for reviewing our project 😄

Thankyou @ohyajk for the appreciation and kind words. 🙏


[i2c, test] Add a temperature and humidity sensor test for the HDC1080

I don't have permission to edit luís' hdc1080, so created a new pr. The old pr: https://github.com/lowRISC/opentitan/pull/18670

Made the suggested changes
Rebased (involved adding kDefaultTimeoutMicros)
Disabled kDifI2cSpeedFastPlus see https://github.com/lowRISC/opentitan/issues/18764

Fixed CI error
removed spin locks

had to increase read timeout to match the old spin lock timeout for the test to pass

replaced skip tag with manual.


Adjust layout to make terminal hight display correctly

Fixes #1

On Linux at least, this doesn't appear to work properly unless the browser itself is the full screen height:

Notice how the page scrollbar is visible on the RHS.

hey @myitcv just updated this on main. Can u give it another go?
Thx.

Thanks - looks good!


Always return 1D vector from final_state_vector

Currently there is a special case for 0-qubit tensors, which causes the state vector to be returned as a scalar instead of a 1D vector of length 2**num_qubits == 1.
Also change the final_state_vector property to use _compat.cached_property.

Automerge cancelled: A required status check is not present.
Missing statuses: ['Pytest Windows (3.7)', 'Pytest Windows (3.8)', 'Pytest Windows (3.9)', 'Typescript lint check', 'Typescript tests', 'Typescript tests coverage']


alias filter classes

Undo class renaming in favor of aliasing within the filter modules - for backwards compatibility with imports

Going to add this aliasing to the alerts filters as well


Add DbProviderFactory implementation

Fix #115

Please add new tests instead of retrofitting into existing ones. Tests should be clear about the thing they are testing, and they should, ideally, only test one thing.

updated

Updated to use a field instead of property.

:shipit:


Listen for deletes

Do a full merge on collections, not just a concat.

fixed

This is different. This is a bug in the graph service.

Fixed for real this time.


Migrate SDK to never assume skynet-file-metadata

New upload types will be dropping "skynet-file-metadata" from default inclusion.
We will want to call the new portal endpoint (not use a HEAD request) for getMetadata. Also, we will want to include skynet-file-metadata information only when an explicit "enable" option is enabled. This new opt-in default will avoid 2 network requests for these calls.

What is the portal endpoint? What is the enable option called?

@dghelm Has this been resolved with the recent metadata changes? We now call the new GET endpoint, but we did not add an enable option.

Yup!
I think I meant to say that in the context of getFileContent, but I can't imagine why a dev would prefer that in 1 JS method over 2, since it's inherently 2 HTTP requests.


Deactivated Form Inputs hiding from dropdown and the formbuilder component even with templates

Is there anyway to only hide a form input on the dropdown. only (Input Type)

We basically have something like this in our template so we can have inputs like Review Type, evidence source etc, but we do not want them to select those input types in the dropdown

the ones in red i would like to exclude, any idea on how to achieve this? we want certain inputs to be hidden on the input dropdown only, but still show up on the builder if they are part of a template

i tried looking into just manipulating the dom to remove them but couldnt get an elegant solution, also tried changing the library files but couldnt get them to show up correctly if i got them removed from the dropdown


Add method to clone client options object

Coverage increased (+0.2%) to 69.482% when pulling 6ad1c438096235dc63f501630c06d31867ed79ca on publish into 0a8ca92b5244fdaa87b207806cbbda04d8257175 on master.

Coverage increased (+0.2%) to 69.482% when pulling 6ad1c438096235dc63f501630c06d31867ed79ca on publish into 0a8ca92b5244fdaa87b207806cbbda04d8257175 on master.

Coverage increased (+0.2%) to 69.482% when pulling 77c557f6b0a85d4406982befd3d1e1c916cfecf3 on publish into 0a8ca92b5244fdaa87b207806cbbda04d8257175 on master.


yaxis min max values cause line chart to misalign from grid

Description

Steps to Reproduce

Create simple line chart with data [5, 8, 12, 9, 11, 14, 10]
Set yaxis min max values to 1 and 15
Watch how the peak x6 doesn't match up with the grid line of  y14 but its value is 14. Similarly with x4 doesn't line up with y9.

Expected Behavior
Value of 9 and 14 to align with the yaxis gridlines of 9 and 14.
Actual Behavior
Value of 9 is underneath the y9 line and value 14 is step above the y14 line
Screenshots

Reproduction Link
https://codepen.io/Darhagonable/pen/jOXPEMP

Min-Values on the xaxis also cause horizontal bars to not to be drawn precisely, the bar overlaps the grid on the left side:

whereas they are drawn correctly without the min-values:

https://codepen.io/geigertom/pen/JjwYwWW

I have the same issue with range charts (timelines), when providing min/max values (thanks for opening this, as I had no idea it had to do with the min/max values).
As soon as you use the hand tool to move the chart, it suddenly moves the bars (or x-axis) to the correct position to align properly:

And after dragging with the hand tool:

I believe the problem is that the grid lines are not drawn as per the labeling or, more succinctly, the values that represent the grid line are rounded to show as the label. The graph is drawn correctly. If you increase the decimals of the labeling from 0 to 1 or 2, you'll see the problem. The grid line at 14 is actually 13.something.
Further down you see that the labels go: 1 2 4 5 7 etc. I.e. the increments displayed with decimals set to 0 are uneven.
The strategy for drawing grids appears to be back to front: the axis range needs to be determined to fit the data series then the grid lines need to be determined at values that match the label values as shown. At the moment it appears to be: grid lines at position = (max - min)/tickAmount, then the labels are set to round(position, decimals).

The following appears to solve the OP issue if they will accept that the supplied min and max (and tickAmount if included) will be treated as advisory:
var options = {
  chart: {
    type: 'line'
  },
  series: [{
    data: [5, 8, 12, 9.01, 11, 14, 10]
  }],
  yaxis: {
    max: 15,
    min: 1,
    tickAmount: 9,
    decimalsInFloat: 0,
    forceNiceScale: true
  }
}

var chart = new ApexCharts(document.querySelector("#chart"), options);

chart.render();

Here's the proof that the ticks accurately reflect the labels:

The following appears to solve the OP issue if they will accept that the supplied min and max (and tickAmount if included) will be treated as advisory:
var options = {
  chart: {
    type: 'line'
  },
  series: [{
    data: [5, 8, 12, 9.01, 11, 14, 10]
  }],
  yaxis: {
    max: 15,
    min: 1,
    tickAmount: 9,
    decimalsInFloat: 0,
    forceNiceScale: true
  }
}

var chart = new ApexCharts(document.querySelector("#chart"), options);

chart.render();

Here's the proof that the ticks accurately reflect the labels:

In my real life use case all graphs are dynamic. With different spans.
Ideally Apexcharts would automatically calculate nice round ticks and a fitting tickAmount by default. Was looking into how that would be done but seems pretty complicated/hard.

In my real life use case all graphs are dynamic. With different spans. Ideally Apexcharts would automatically calculate nice round ticks and a fitting tickAmount by default. Was looking into how that would be done but seems pretty complicated/hard.

I'm here because I had an issue with duplicate labels and labels that were obviously not matching the tick lines as drawn. I'm also displaying dynamic graphs that often have small floating ranges, so no min or max specified (I'm using the apexgraphs card in Home Assistant to chart nearly constant room temperature and now have it working well enough I think).
Setting "forceNiceScale: true" by default would make it as automatic is it's probably possible to make it, but that would affect existing users, so I would not expect it to change. According to code comments, the algorithm used came from this discussion: https://stackoverflow.com/questions/326679/choosing-an-attractive-linear-scale-for-a-graphs-y-axis

@junedchhipa This issue is resolved in revisions 3.46.0, and now 3.47.0.

@rosco54 Awesome! Thank you for fixing this!


Add biweekly e2e workflow run

Description
App should have build and e2e test every two weeks to check if everything works as expected.
Adding e2e test workflow and pipeline parameter filter for biweekly e2e test runs.
Biweekly pipeline trigger - here
Breakdown

Add biweekly_run pipeline parameter to filter our workflows
Add biweekly-e2e-run workflow that runs every two weeks

Validation

Check that biweekly-e2e-run workflow is not executed with the standard automatic PR workflows, and that those workflows and jobs are executed as expected/usual. https://app.circleci.com/pipelines/github/twilio/twilio-video-app-android/1877/workflows/0839a0da-b9c2-41c8-81e8-314ff9580d52
Check that scheduled pipeline has triggered biweekly-e2e-run workflow and e2e tests were executed. https://app.circleci.com/pipelines/github/twilio/twilio-video-app-android/1881/workflows/7d81c14d-f13c-4e0e-a1ae-34c1d3a82d2c

Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

[x] I acknowledge that all my contributions will be made under the project's license.

For some reason the test trigger (which I've since removed) on this PR branch messed up validation checks, the initial run was green - https://app.circleci.com/pipelines/github/twilio/twilio-video-app-android/1877/workflows/0839a0da-b9c2-41c8-81e8-314ff9580d52


[VL] Install deps to system as needed while building velox

What changes were proposed in this pull request?
Skip installing xsimd and gtest if they are not built in velox project.
Required by https://github.com/oap-project/velox/pull/185
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Applied in https://github.com/oap-project/gluten/pull/1384


Custom global style/color/font

Description of the Feature
Hi there,
Is there any way to build a custom style for using globally?

The question is not related to the KivyMD library


Uppercase DEPLOY_ENVIRONMENT var to match ansible

Syncing with Ansible change.

@higs4281 thanks; I did some minor refactoring so that we only ever check the environment once. There are other places in the code that I've been looking forward to using this as a setting as well.
It occurs to me that the pattern of checking deploy environment against a string 'build' is a bit sub-optimal. It might be worth thinking about having some sort of enumerated set. Ideally it'd be better to just embed this into feature flags somehow, so that we can do code-based flags that are defined like "feature on for environment(s) X, Y, Z".

it'd be better to just embed this into feature flags somehow

👍


PoShPACLI commands taking much time for execution than PACLI

Your Environment:
PowerShell Version: 7.2
PoShPACLI Version: 1.1.4
PACLI Version: 9.9.5
CyberArk Version: 9.10
Expected Behaviour
If I run command, OwnersList via PACLI - It’s taking approximately 1hour to
execute the command
OwnersList vault="vault" user="user" safepattern="" ownerpattern="" output (username,safename,Accesslevel) > SafeOwnersList.csv
And if i run command, Get-PVSafeOwner - It’s taking more than 6 hours to
execute the command.
Get-PVSafeOwner -Vault "vault" -User "user" -safepattern * -ownerpattern * | select @{expression={$.Username}; label='Owners Of The<EMAIL_ADDRESS>label='Safes'<EMAIL_ADDRESS>label='AccessOfEachSafe'} | Export-csv SafeOwnersList.csv
Please advice me the possible options to reduce the execution time
Thanks,
Pete!

Hi Pete,
Any advice on above issue would be really helpful - Please help me!!
Thanks in advance!

Hi @User9176 - I likely won't get a chance to look at this in any depth for a number of weeks.
I did a quick check;  the select statement with calculated properties adds significant overhead (approximately doubling the time taken for the command to complete):

PoShPACLI has to process the output of PACLI, so execution time will always be lnger than PACLI alone. There will also be additional overhead resulting from the internal module workflow (executing the command, parsing the returned data etc).
It is therefore feasible that such a query which takes so long to complete anyway, is further compounded by the additional processing required by the module (on top of the time taken to process your code).
You are welcome to investigate the Start-ClientProcess, Invoke-PACLICommand, ConvertTo-ParameterString & ConvertFrom-PacliOutput functions to determine improvements which can be made to improve execution times.

@User9176 - I found some time to take a look at this.
There are some syntax issues in your select statement; once these are rectified the time taken to execute the command decreases significantly
#Original Command - executes in ~30 seconds (against sample of ~1000 accounts)
Measure-Command -Expression {
    Get-PVSafeOwner -Vault "vault" -User "user" -safepattern * -ownerpattern * | select @{expression={$.Username}; label='Owners Of The<EMAIL_ADDRESS>label='Safes'<EMAIL_ADDRESS>label='AccessOfEachSafe'}
} | select totalseconds

#This executes in <1 second  (against sample of ~1000 accounts)
Measure-Command -Expression {
    Get-PVSafeOwner -Vault "vault" -User "user" -safepattern * -ownerpattern * | select @{expression={$_.Username}; label='Owners Of The<EMAIL_ADDRESS>label='Safes'<EMAIL_ADDRESS>label='AccessOfEachSafe'}
} | select totalseconds

@User9176 with the release of PoShPACLI 2.0, I am now closing this issue.
The internal mechanics of the module have been updated and execution times are now significantly reduced; see the results of Measure-Command for the old and new versions below:
Old Version (1.1.4)
PS>Import-Module PoShPACLI -RequiredVersion 1.1.4
PS>$token = Start-PVPacli -sessionID 303
PS>$token = $token | New-PVVaultDefinition -vault SomeVault -address zzEPV1
PS>$token = $token | Connect-PVVault -user $($CACreds.UserName) -password $($CACreds.Password)

PS>Measure-Command -Expression {$token | Get-PVSafeOwner -safePattern * -ownerPattern *} | Select-Object TotalSeconds
TotalSeconds
------------
  80.6836571

PS>Measure-Command -Expression {$token | Get-PVUserList} | Select-Object TotalSeconds
TotalSeconds
------------
   2.4337341

New Version (2.0.20)
PS>Import-Module PoShPACLI -RequiredVersion 2.0.20
PS>Start-PVPacli -sessionID 303
PS>New-PVVaultDefinition -vault SomeVault -address zzEPV1
PS>Connect-PVVault -user $($CACreds.UserName) -password $($CACreds.Password)

PS>Measure-Command -Expression {Get-PVSafeOwner -safePattern * -ownerPattern *} | Select-Object TotalSeconds
TotalSeconds
------------
   2.2139775

PS>Measure-Command -Expression {Get-PVUserList} | Select-Object TotalSeconds
TotalSeconds
------------
   0.3583596

As 2.0 is a Major Version update, there are breaking changes, so take note of the details in the Changelog as some update to your code will be required.
Feel free to comment if you want this reopened - would be curious to know the execution time you now get for your query.