Public Docker Hub images versioning

At the moment our various Egeria-owned Docker images publicly available via Docker Hub are using a 1.1 tag, despite Egeria itself not having a 1.1 release...  I think this is confusing / problematic from a consumption perspective?
Each of these also has a 1.1-SNAPSHOT tag: not clear why we're not updating this version alongside :latest for consistency across our unreleased artifacts' versions?

https://hub.docker.com/r/odpi/egeria-configure/tags
https://hub.docker.com/r/odpi/egeria/tags

(Note that the images for other projects, like Apache Ranger and Apache Atlas use :latest and the version number for those projects' releases on which the images are built.)

I agree - we should align the versioning along with the code
Note I am currently fixing an egeria image build break - should be sorted in next day.

Adding some notes as we prep for 1.1 release
The docker image builds typically have lines like
# Default to latest snapshot from official odpi repository
ENV version ${version:-"1.1"}
ENV repo ${repo:-"https://odpi.jfrog.io/odpi/egeria-snapshot/"}

to retrieve artifacts. This is fine during development - but here we've moved on from snapshot just before release. Arguably part of our final stage prior to release is to update this repo first to snapshot, then to staging. This could be done here, or in the pom.
Then in the pom itself we tag 'latest' which we only want to do with master, not all releases.
I will patch up manually for the 1.1 release, whilst we consider automating this for the next release.

Additionally, we may want to seperate out where the docker images go - technically my quick patch will push a 1.1 release to dockerhub early (whilst being 'staged')

I think we'll need to revise the naming scheme along the lines of

Only tag master builds as 'latest'
Use tags of the form ${project-release}_${component.version}
For build images use ${project-release}_${component.version}-build
Do the same for gaian, ranger, atlas
Use egeria-${component-name} for the repository name

Do this in 1.1 & master
We then update the Dockerfile (where build images used), docker compose & helm charts accordingly
For now stopping 'latest' will be a manual removal in the branch
What I think we end up with is the 1.1 build resulting in
egeria-apache-atlas:1.1_2.0.0
egeria-apache-atlas:1.1_2.0.0-build
egeria-apache-ranger_1.2
egeria-apache-ranger_1.2_build
egeria:1.1
egeria-configure:1.1
egeria-omrsmonitor:1.1
egeria-gaian:1.1_2.1.8
whilst the master build produces
egeria-apache-atlas:1.2-SNAPSHOT_2.0.0
egeria-apache-atlas:1.2-SNAPSHOT_2.0.0-build
egeria-apache-ranger:1.2-SNAPSHOT_1.2
egeria-apache-ranger:1.2_SNAPSHOT_1.2_build
egeria:1.2-SNAPSHOT
egeria-configure:1.2-SNAPSHOT
egeria-omrsmonitor:1.2-SNAPSHOT
egeria-gaian:1.2-SNAPSHOT_2.1.8
.. and also tags all of these with 'latest'
Does this make sense @cmgrote ? Other ideas welcome! I will need to make a change next Monday since we're going to get into build clashes, and I need to set the pattern for releases going forward

Once the versions are sorted a later iteration can figure out adding a staging area in artifactory ...

I wouldn't tie the non-Egeria components to an Egeria release, unless we need to for some reason?  The Docker images for those are just built as default released code for those components -- they should not have anything from Egeria inside them (so should be entirely independent of an Egeria release)...  Keeping to this should help ensure that we don't embed things and keep our separation appropriate for running in pre-existing environments of these components 😁
As such I'd leave them to eg.:

apache-atlas:2.0.0
apache-atlas:2.0.0-build

etc
For the Egeria-specific ones, by all means go with the version number.  I would even suggest doing away with the 1.x-SNAPSHOT as a version, and just use latest -- so we'd end up with the following complete list:

apache-atlas:2.0.0
apache-atlas:2.0.0-build
apache-atlas:build (this would be the build-equivalent of "latest")
apache-atlas:latest
apache-ranger:1.2.0-build
apache-ranger:build
apache-ranger-admin:1.2.0
apache-ranger-admin:latest
egeria:1.1 (this would be the mostly static release-based image)
egeria:latest (this would always be the latest snapshot-based image)
egeria-configure:1.1
egeria-configure:latest
egeria-omrsmonitor:1.1
egeria-omrsmonitor:latest

And for gaian I'm not sure...  Seems like we should do some work to ensure that image is vanilla gaian, and then follow the convention for the non-Egeria images?

Since we potentially share the odpi docker account, we probably need to scope our names with egeria (since we're renaming anyway).

Given that the base builds for atlas, ranger are part of the source base, I'm keen to ensure the builds are version specific and repeatable, and there's no chance of accidental overwriting,  and giving us the flexiblity to move forward. I I agree with you that they should be just the core code - but then if we really want the best approach we should be working on PRs for ranger & atlas & getting them to publish the base builds we can then just use? I see the point about the 'build' label which seems useful. It maybe that moving the build of atlas, gaian, ranger to another repo makes sense too

2b. I see the point about the 'build' label which seems useful.

Keeping the -SNAPSHOT keeps the versions of the images aligned with that of the source code. It also clarifies this is not release level code.

Gaian is a big topic in its own right....

Thinking about this a bit more, maybe it makes sense not to push the snapshot-based builds into Docker hub?  Since these will likely change daily or even more frequently, they might be a bit "too volatile" for the general public of users to try to keep up with (?)
We could use our Artifactory setup as an alternative Docker repo for the per-PR-merge latest snapshots of images, and only push the release-based images to Docker hub?  Then :latest would just be a tag to the latest release that's available on Docker hub itself, rather than being a separate image from the released images...

#2579 has made the build versioned (hopefully).
I propose no change to the repo used for now, we will just work with consistent naming
I will raise a new issue to publish release-specific builds from the release pipeline

See #2583


autogenerate modshogun.rb with correct module-suffix

As said in title.  Should not break anything.

Travis is fine… Merging…


Sweep: improve cleanAccount stored procedure to accept a list of accounts

Currently, the cleanAccount stored procedure can be used to delete the database records for an individual account. Extend it to take a list of accounts.

Sweep: retry

Sweep: retry


⚠ PrivateHD has degraded performance

In 3d2f8f5, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 2149 ms

Resolved: PrivateHD performance has improved in 57fc51c.


Building with BUILD_WITH_XINXIN="ON" is broken (missing hearts/Algorithm.cpp)

Attempted to build with XINXIN support (export BUILD_WITH_XINXIN="ON").  Cmake fails, it appears there are some missing files that are not checked into the git?
-- Configuring done
CMake Error at games/hearts/CMakeLists.txt:1 (add_library):
  Cannot find source file:

    hearts/Algorithm.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
  .hpp .hxx .in .txx

CMake Error at games/hearts/CMakeLists.txt:1 (add_library):
  No SOURCES given to target: xinxin

CMake Generate step failed.  Build files cannot be regenerated correctly.

find . -name Algorithm.cpp finds nothing.

Hi @jeremysalwen,
You also need to have the variable set when you run ./install.sh which will clone the xinxin repo, which is what you are missing.
You can check out scripts/install.sh for the git clone command.

Thanks @lanctot, that solves it. Might I suggest updating https://github.com/deepmind/open_spiel/blob/master/docs/install.md to note that you need to set the configuration variables before install.sh?

Actually, great idea. Can you submit a PR to fix the docs?


epm run should pass arguments

As suggested by @koerriav, epm run -- [args] should pass the args to the run script properly.
The parts that need to be modified are:

epm:Distribution.Client.Run
Cabal:Cabal.Distribution.Simple.ETA

Added in f797a2c8022e5e5e2a44a902ebfe850ab8130049


chore: [release-1.3] update 3scale references in dynamic-plugins-info

Description
Updated configuration to reflect changes from https://github.com/janus-idp/backstage-showcase/pull/1514
Which issue(s) does this PR fix

Fixes #?

PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

/retest

/test e2e-tests

/retest

/lgtm


How to rotate qt when i use /dev/fb0 ?

qt works fine when i use export QT_QPA_PLATFORM=linuxfb:fb=/dev/fb0
but i want rotate qt screen, and i try to
export QT_QPA_EGLFS_ROTATION=90
export QT_QPA_ROTATION=linuxfb:rotation=90
But it doesn't seem to be working

https://github.com/meta-qt5/meta-qt5/pull/478


Steinel device reports no support for Version CC

                                    manufacturer: STEINEL GmbH (0x0271)
                                    product type: 0x01
                                    product id:   0x1a73

maybe we should default to V1 if a device does that.


Improve non-javadoc documentation

We should move most of the documentation that is currently in the README.md to the GitHub wiki pages.
The readme should contain:

Repo info tags (coverage,version etc)
Small library description
Prerequesites (Piwik server instance)
How to add the library (gradle statement)
Small snippet of code showing basic screen tracking
Link to wiki page
License

Done.


RASA 2.0 HTTP API unclear documentation

Hi all

I'd like to interface the RASA platform via HTTP APIs, but I found a lot of unclear points.
As a nodejs developer I want to integrate RASA inside a no python environment, so I would need a clear API interface.

Here the HTTP API documentation web pages available at rasa.com:

https://rasa.com/docs/rasa/http-api
https://rasa.com/docs/rasa/pages/http-api
https://rasa.com/docs/rasa/pages/action-server-api

But all that documentation is not  very clear.
See also my old posts/comments for more details:

https://github.com/RasaHQ/rasa/issues/5763
How can I get a conversation_id so I run an Action via POST from an App
https://github.com/RasaHQ/rasa/issues/5768#event-3777903015
https://github.com/RasaHQ/rasa/issues/5749#issuecomment-667974484
https://github.com/RasaHQ/rasa/issues/4683#issuecomment-667657208

Maybe now the action server endpoint data are better documented, but what is missing is maybe:

a general introduction on "how to" use RASA HTTP API
for the RASA NLU part
for the full RASA core integration
including the action server backend integration.

As proposed in the github issue 5763 above linked, maybe a full documentation rework need, with a special eye on not-python ecosystem of developer. BTW, my side I'm available to contribute maybe to test the nodejs interface, etc.
Thanks
giorgio

Thanks for submitting this feature request 🚀 @melindaloubser1 will get back to you about it soon! ✨

Hey @solyarisoftware , based on this and your comments on other issues, it sounds like you have a lot of specific things in mind that could make the docs on the API's clearer. Since a docs rework is quite broad and hard to define (what would qualify as "done"? e.g. there was a rework for Rasa 2.0, but this didn't address all the enhancements you're suggesting), can I ask that you rather open issues for specific improvements you'd like to see made? That makes it easier for contributors to pick up, leading to improvements being made faster.
E.g. you could open an issue for creating a "how to use the HTTP API page" with suggestions for the points it should cover.

Hi Melinda,
yes, honestly it's a vast topic, and yes I proposed some minor improvements here and there.
In my opinion what is really missing is the "big picture" overall architecture and API entrypoints. Thinked for non pythoners (who want to integrate RASA "backend" engine inside a bigger system made in Nodejs, Java or .NET (arghh) application.

I propose to share the architecture in MACRO components/boxes

Reply to common questions:

How can I interface RASA 2 API just as intent classifier (ex "NLU")
How can I interface RASA 2 API as end-to-end backend chatbox using the full path (stories)
How can I made action server integration (webhook API detailed description)

Please specify API interface with flat curl examples (where possible) / I'd avoid obscure graphical web pages with hidden sections...).

Let me know if I can help with more details.
BTW,

I opened this post also in the RASA forum without any answer.
I'd prefer to maintain open this detailed issue instead of open yet another issue, just to avoid the issue number rise :-)

Thanks
giorgio

about your request for a diagram: are you thinking something along the lines of this?

Hi Akela,
the updated doc https://rasa.com/docs/rasa/arch-overview is a good start.
From the HTTP API interface point of view, that split makes sense to me (quoting from the above page):

The two primary components are Natural Language Understanding (NLU) and dialogue management.

See also https://github.com/RasaHQ/rasa/issues/5749#issuecomment-667974484
thanks
giorgio

@solyarisoftware Hello, I am also looking for a better explanation for http api. I would like to use customized nlu and rasa core, but I haven't found a way to create session using rasa core endpoints directly. And all the tracker api need session ids. Do you have any idea?

Hi @XiaoLiuAI
Yes, the session id doesn't related RASA engines. It's just a unique identifier of the conversation with a user. It's the user id.   It's maybe related to your application logic or frontend hub of your choice. By example, in for a Telegram bot, you can use the telegram chat_id.

see my old comment:
https://forum.rasa.com/t/how-can-i-get-a-conversation-id-so-i-run-an-action-via-post-from-an-app/19987/9?u=solyarisoftware
and issue closed: https://github.com/RasaHQ/rasa/issues/4683

I hope this helps.

BTW, If you agree that HTTP API clarification deserve more attention, please put a thumb up on my original post here.


build on raspberry pi raspbian

Hello,
I ran into this error while building on raspbian. Do you know what is the right fix for this?
Thanks!
pi@raspberrypi:~/cryptid-native $ ./task.sh build
npx: installed 229 in 29.59s
Executing | gcc /home/pi/cryptid-native/src/CryptID.c /home/pi/cryptid-native/src/SignID.c /home/pi/cryptid-native/src/complex/Complex.c /home/pi/cryptid-native/src/elliptic/AffinePoint.c /home/pi/cryptid-native/src/elliptic/ComplexAffinePoint.c /home/pi/cryptid-native/src/elliptic/Divisor.c /home/pi/cryptid-native/src/elliptic/EllipticCurve.c /home/pi/cryptid-native/src/elliptic/TatePairing.c /home/pi/cryptid-native/src/identity-based/CipherTextTuple.c /home/pi/cryptid-native/src/identity-based/HashFunction.c /home/pi/cryptid-native/src/identity-based/Signature.c /home/pi/cryptid-native/src/util/RandBytes.c /home/pi/cryptid-native/src/util/Random.c /home/pi/cryptid-native/src/util/Utils.c /home/pi/cryptid-native/src/util/Validation.c /home/pi/cryptid-native/dependencies/sha/src/sha.c -I/home/pi/cryptid-native/include -I/home/pi/cryptid-native/dependencies/gmp/include -I/home/pi/cryptid-native/dependencies/sha/include -std=c99 -Wall -Wextra -Werror -c
/home/pi/cryptid-native/src/util/Utils.c: In function ‘hashToRange’:
/home/pi/cryptid-native/src/util/Utils.c:57:35: error: ‘%03X’ directive writing 3 bytes into a region of size 2 [-Werror=format-overflow=]
             sprintf((char *)hex, "%03X", h[j]);
                                   ^~~~
/home/pi/cryptid-native/src/util/Utils.c:57:13: note: ‘sprintf’ output 4 bytes into a destination of size 2
             sprintf((char *)hex, "%03X", h[j]);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Removing files using globs: *.o
        15 file(s) matched

Hi,
thanks for raising this issue! As stated in #19, there was indeed a bug in the library, which is going to be fixed by the pull request. I will merge it as soon as the pipeline turns green.
Bests,
Attila

Thank you!

Hi,
I've just merged #19 , please let me now if it works correctly now (and feel free to close the issue in that case).
Bests,
Attila

Closing as potentially resolved. Please reopen, if the issue remains.


fix(config/grafana): use range for HPA metrics

Use range instead of instant for HPA current/max replicas (time based).
Right now, we are using the instant selector, which given that the panel should be time-based (as per the title), it should use a range selector, thus getting all metrics in a given timeframe, not just one data point.
Also, moved from bars to lines because bars are hard to visualize using ranges containing several days worth of data.
Before:

After:

Checklist

[x] Changelog has been updated and is aligned with our changelog requirements
[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)

@jrRibeiro could you please fix the DCO?

@zroubalik I opened a new PR https://github.com/kedacore/keda/pull/4513, I was having issues rebasing the branch.
Thanks! 👍


How do you build a large multi action transaction?

On examples/6- multi-action transactions/main.py you show sending XRD to 3 addresses, but the action was built manually 1-2-3. Is it possible to loop through hundreds of addresses and built this action without writing them all out? Thanks!

This is indeed possible to do in RadixLib and quite easy to do actually. I'm assuming that you have a list of addresses as well as their owed amounts of XRD. Here is some sample code as to how this can be done without needing to type it out manually:
import radixlib as radix
import os

def main() -> None:
    # A few constants which we will need for this script. The mnemonic phrase and the network that
    # we will be connecting to.
    mnemonic_phrase: str = os.environ['MNEMONIC_PHRASE']
    network: radix.network.Network = radix.network.STOKENET

    # Creating a wallet from the mnemonic phrase and the network
    wallet: radix.Wallet = radix.Wallet(
        provider = radix.Provider(network),
        signer = radix.Signer.from_mnemonic(mnemonic_phrase)
    )

    # Defining the addresses which we would like to send funds to as well as the amount of funds
    # that each address should be sent
    amount_to_send: dict[str, int] = {
        "tdx1qspw6g43xaef9uke65grhn074e00kvp9nr6mdj5gdhksc7r6cen8trch8lr6x": radix.derive.atto_from_xrd(0.01),
        "tdx1qsp6t8v6f98rpn0zc4e84f388neca2xdme6rg7vddd9ef4teq444lhgkh4hmu": radix.derive.atto_from_xrd(0.01),
        "tdx1qspzutm77jv33jn9v9xsxyelkqw6lyf6ewspkwex6mems4g6m589gxqcnv6g6": radix.derive.atto_from_xrd(0.01),
        "tdx1qspzxhr79u9hm2nq42gtjnkjtph5pd9x9wewz7quk0pqyhz6l3mq4uga8nqtg": radix.derive.atto_from_xrd(0.01),
        "tdx1qspu6ztht4v0dksqcrcyegdphjgkqh0wvg6l6tsk4txy9792u4jr3wqw5yssx": radix.derive.atto_from_xrd(0.01),
        "tdx1qspl3st09w4jv5qf0kc5p2654zu8tqxwllxu8zkdk63eatcx8ckx28sejsa2u": radix.derive.atto_from_xrd(0.01),
        "tdx1qspwmnpgyv6xrydgq0hn36ka78n552sya64qwpal5y9nld4zt4z4awgztzpf3": radix.derive.atto_from_xrd(0.01),
        "tdx1qspfcz5x6szkhl8clesecdpf4tungq77r9y3n704zlcuhacs5qu3f6cukaj9k": radix.derive.atto_from_xrd(0.01),
        "tdx1qsp82n4yvtgapt75uezkz8v7x5kr777rhhxf2sa2w30ql88dfg94ptshq0u8d": radix.derive.atto_from_xrd(0.01),
    }

    # Building the actions which we will require for this transaction
    action_builder: radix.ActionBuilder = wallet.action_builder
    for address, amount in amount_to_send.items():
        action_builder = action_builder.token_transfer(
            from_account_address = wallet.address,
            to_account_address = address,
            token_rri = radix.derive.xrd_rri_on_network(network),
            transfer_amount = amount
        )

    # Sending out the transaction
    tx_hash: str = wallet.build_sign_and_send_transaction(
        action_builder,
        message_string = "Enjoy!"
    )
    print(tx_hash)

if __name__ == "__main__":
    main()

Here is the transaction on the stokenet explorer: https://stokenet-explorer.radixdlt.com//#/transactions/a69dfbcca7f1de415c4d7717e5f135d95a04e52b021483b2787cce23d3a3bccb


Unit tests for auth service fixes #601

Description:
unit tests for auth service in angular

Codecov Report

Merging #1031 into master will increase coverage by 0.78%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1031      +/-   ##
==========================================
+ Coverage   89.46%   90.25%   +0.78%
==========================================
  Files         113      113
  Lines        2667     2667
  Branches       31       31
==========================================
+ Hits         2386     2407      +21
+ Misses        277      256      -21
  Partials        4        4

Impacted Files
Coverage Δ

frontend/src/app/auth.service.ts
93.65% <0%> (+33.33%)
:arrow_up:

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 eb4f4e7...afc89a4. Read the comment docs.


improve stitching of two DOSes

instead of average N points on the left and N points on the right, average N points that show up commonly in both DOS curves.
A continuation of #118

Smoother stitch


Adding Documentation

After using pachyderm I would like to propose some added documentation that maybe helpful for learning about pachyderm.

Add a page for pachyderm terminology. You could define the following:

Pachyderm File System (pfs)
Repository
Commit
Pachyderm Pipeline System (pps)
Pipeline
Job

Generating pachctl documentation using cobra. An example of this would be like what kubectl has here

An overview of the design of pachyderm.

Really like both of these ideas.
What do projects normally call this page? Maybe glossary.md

I already have a start to this glossary under doc/cli/pfs.

Number 2 is done. We now have autogenerated docs at docs/pachctl

We have a good amount of this covered now on the live site:
http://pachyderm.io/pfs.html
http://pachyderm.io/pps.html
For the next level of granularity we'll be figuring out where to host/put technical docs. Since we've covered most of what's described here, I'll close this issue so that any new doc issues can be specific.


What to do if we don't have a cluster?

Dear developers,
after doing
spark.conf.set("spark.sql.catalog.clickhouse",           "xenon.clickhouse.ClickHouseCatalog")
spark.conf.set("spark.sql.catalog.clickhouse.host",      HOST)
spark.conf.set("spark.sql.catalog.clickhouse.protocol",  "http")
spark.conf.set("spark.sql.catalog.clickhouse.grpc_port", "8123")
spark.conf.set("spark.sql.catalog.clickhouse.user",      CH_USER)
spark.conf.set("spark.sql.catalog.clickhouse.password",  CH_PASSWORD)
spark.conf.set("spark.sql.catalog.clickhouse.database",  "mydb")

and then
spark.sql("select count(*) from clickhouse.mydb.mytable").show()

I've faced with this problem :
23/02/22 18:28:58 INFO ClickHouseCatalog: Detect ClickHouse server timezone: UTC
23/02/22 18:28:58 INFO ClickHouseCatalog: Detect 0 ClickHouse clusters:
23/02/22 18:28:58 INFO ClickHouseCatalog: ClickHouse clusters' detail: List()

I see by your source code that you're running a query:
SELECT
  `cluster`,                 -- String
  `shard_num`,               -- UInt32
  `shard_weight`,            -- UInt32
  `replica_num`,             -- UInt32
  `host_name`,               -- String
  `host_address`,            -- String
  `port`,                    -- UInt16
  `is_local`,                -- UInt8
  `user`,                    -- String
  `default_database`,        -- String
  `errors_count`,            -- UInt32
  `estimated_recovery_time`  -- UInt32
FROM `system`.`clusters`;

which in my care returns 0 rows, because (as my admins said)  we don't have a cluster.
As a result, I am getting error
AnalysisException: Table or view not found: clickhouse.mydb.mytable line 1 pos 21;
'Aggregate [unresolvedalias(count(1), None)]
+- 'UnresolvedRelation [clickhouse, mydb, mytable], [], false

although the table "mydb.mytable" clearly exists  (I renamed them here for security purposes, but believe me, they exist).
I also want to add that I've tried to connect to another test instance of Clickhouse WITH a cluster  (from the same Spark cluster),  and the connector is working fine.   It refuses to work only if I connect to that one Clickhouse without a cluster.
So, my question is: what should I do in order to connect to Clickhouse which doesn't have the cluster?

disregard, please. my fault.   feel free to delete the issue


NodeFilesystemSpaceFillingUp title is missing tenant/cluster

The title says [Prometheus]: [/] NodeFilesystemSpaceFillingUp in cattle-prometheus
Looking at other alerts, the [/] bit should probably say [$TENANT/$CLUSTER] instead.
Steps to Reproduce the Problem
See recent OpsGenie alerts
Actual Behavior
[Prometheus]: [/] NodeFilesystemSpaceFillingUp in cattle-prometheus
Expected Behavior
[Prometheus]: [<tenant id>/<cluster id>] NodeFilesystemSpaceFillingUp in cattle-prometheus

This should be fixed with #33 .

Looks like it, OpsGenie seems to agree


How do I get Range from Brace?

I am trying to set the selection from my Svelte app, but Range is always undefined. In plain old JS world, I would just do:
const Range = ace.require('ace/range').Range
but that doesn't work in Brace and I can't figure out how to import it into Svelte code. Any one know how to do this?
Thanks in advance.

Ok, figured it out. In Brace's index.js add this line:
exports.Range = acequire('ace/range').Range;
Then to use it:
import * as ace from "brace"
let range:ace.Ace.Range = ace.Range.fromPoints(start, end);
editor.selection.setRange(range);


Creating sample artifacts with explanations

Feature Request
Creating sample artifacts with explanations
Description of Problem:
building a self-explained artifact example of a service domain interoperability and logic explain. this will be used later as a reference for new members

@ilan-pinto can we use the CustomerOffer -> PartyRoutingProfile example? I think it is very useful use case and this is what I have currently implemented for our sidecar PoC
If so, I will add some readme files with instructions and architecture details

Sure!


Error on testing from SAP API hub - Business Rules

Hi ,
I get the below error when i try to test business rules service from API hub. The service is deployed on CLoud foundry
Tutorial followed : https://developers.sap.com/tutorials/cp-cf-businessrules09-test-apis.html
{
"error": "invalid_token",
"error_description": "JWT signature validation failed"
}

Hi Namrata,
Can you please check if you've entered the correct values for clientID, client secret, and token URL when you configured the test environment on SAP API Hub?
You could also try generating a new service key in the cockpit and using the new credentials. Please do let me know if this isn't working.
Best Regards,
Vandana

Hi Vandana ,
I did the changes and am able to test . Thanks!!!
Also can you help me do the test via postman

Hi Namrata,
Sure. You can use the following steps:

Get an {{access token}} by sending a post request using {{runtimeurl}}/oauth/token.
To invoke the rule service, send a get request using {{runtimeurl}}/rules-service/rest/v2/rule-services  using the following values:
a. Authorization: No Auth
b. Header: Authorization
Key: Bearer {{access token}}
c. Body: Same as the body mentioned in SAP API Business Hub.

I hope this helps.
Best Regards,
Vandana

Thanks Vandana . It helps .
I was trying to embed Business Rules in ui5 app . But the destinations for runtime and repository are not created automatically . Can you provide the destination config
Thanks
Namrata

Hi Namrata,
Sorry for the delay in reply. I was on vacation for two weeks.
Can you try following the procedure in this document:
https://help.sap.com/viewer/cca91383641e40ffbe03bdc78f00f681/Cloud/en-US/783fa1c418a244d0abb5f153e69ca4ce.html
Best Regards,
Vandana

Hey Vandana ,
Thanks a lot for your response . I was able to embed business rules in CF . Got to know that destinations are not needed for Cloud foundry . Now i am able to embed


Manually-specified number is missing in references

Steps to reproduce:
Define a Theorem environment and manually specify the number (with #theorem(number: "3a")[...]).
In references to this theorem, the number will be missing.
#set page(width: 10cm, height: auto)

#import "@preview/ctheorems:1.1.2": *
#show: thmrules

#let theorem = thmbox(
  "thm-counter",
  "Theorem",
  fill: green.lighten(80%),
)

#theorem(number: "3a")[
  lorem ipsum
] <thm>

This is a reference: @thm \
#h(1cm) #text(red)[the number is missing #sym.arrow.t]

Actual Output:

Expected Output:
I would have expected @thm to print Theorem 3a.

Hello @mxmerz, this should do the trick.
diff --git a/theorems.typ b/theorems.typ
index 8c89de9..8b7d33c 100644
--- a/theorems.typ
+++ b/theorems.typ
@@ -89,7 +89,7 @@
       outlined: false,
       caption: name,
       supplement: supplement,
-      numbering: refnumbering,
+      numbering: if number == auto and numbering != none { refnumbering } else { (..nums) => number },
     )
   }
 }


Incorrectly inferred type from conditional return type (and superfluous type annotation)

TypeScript Version:  3.0.1 && 3.0.1-insiders.20180726

Search Terms: conditional types keyof return
Code
// A *self-contained* demonstration of the problem follows...
// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc.
interface IKey {
  aKey: string;
}

type CondType<T> = T extends undefined ? string : T extends Extract<keyof IKey, 'string'> ? number : never;

function CondTest<T>(arg?: T): CondType<T> {
  if (typeof arg === 'string' && ({ aKey: ''}).hasOwnProperty(arg)) {
    return 1;
  }

  return 'string';
}

const x = CondTest<'aKey'>('aKey'); // never :expected number
const y = CondTest<undefined>(); // string

Expected behavior:

variable t to be inferred type number
also, why is there a need to explicitly annotate the generic type in the function invocation?
Actual behavior:
variable t is of inferred type never

Playground Link:
https://www.typescriptlang.org/play/index.html#src=interface IKey {
  aKey%3A string%3B
}

type CondType<T> %3D T extends undefined %3F string %3A T extends Extract<keyof IKey%2C 'string'> %3F number %3A never%3B

function CondTest<T>(arg%3F%3A T)%3A CondType<T> {
  if (typeof arg %3D%3D%3D 'string' %26%26 ({ aKey%3A ''}).hasOwnProperty(arg))%20%7B%0A%20%20%20%20return%201%3B%20%2F%2F%20Type%20'1'%20is%20not%20assignable%20to%20type%20'CondType%3CT%3E'.%0A%20%20%7D%0A%0A%20%20return%20'1'%3B%20%2F%2FType%20'%221%22'%20is%20not%20assignable%20to%20type%20'CondType%3CT%3E'.%0A%7D%0A%0Aconst%20t%20%3D%20CondTest%3C'aKey'%3E('aKey')%3B%20%2F%2F%20type%20is%20never%20%3Aexpected%20number%0Aconst%20y%20%3D%20CondTest%3Cundefined%3E()%3B%20%2F%2F%20string%20%3Aexpected%20string
Related Issues:

I think you want
type CondType<T> = T extends undefined ? string : T extends Extract<keyof IKey, T> ? number : never;

TS currently doesn't infer whether the control flow of a function correctly matches a conditional type, nor could it in this case due to the right operand of && in the if. You'll need to use a type assertion in both return statements

interface IKey {
  aKey: string;
}

type CondType<T> = T extends undefined ? string : T extends Extract<keyof IKey, T> ? number : never;

function CondTest<T extends undefined | string>(arg?: T): CondType<T> {
  if (typeof arg === 'string' && ({ aKey: ''}).hasOwnProperty(arg)) {
    return <CondType<T>>1;
  }

  return <CondType<T>>'1';
}

const t = CondTest('aKey'); // OK, number :expected number

const y = CondTest(); //? never :expected string
const z = CondTest(void 0); //? string | number :expected string

Thanks for your response @mattmccutchen , yes that's what I meant, pasted the incorrect permutation, however, in the updated version above and here (playground), supplying a string argument is OK. However, it seems undefined needs to be explicitly supplied to get a union type, even though a literal string is expected for const z, also const y is never? I'm assuming this is because an actual value is not supplied?
@RyanCavanaugh thanks for the inference clarification

@theseyi After enabling strictNullChecks, I get the results you say you expect.

thank you @mattmccutchen cheers


move http://apisix.apache.org/docs/downloads/ to http://apisix.apache.org/downloads/

The doc prefix is not needed, and many historical releases use http://apisix.apache.org/downloads/

Not sure, need a try to enable redirect.


Implement 3rd Party Embed

Embed means to integrate external content into another website or page. You embed something when you place a block of code — called an embed code — into the HTML editor of another website.
The problem I am facing
I’m always frustrated when creating documents that need to show documents that isn't possible to bring to FrappeWiki.
The solution I would like
Embed means to integrate external content into another website or page. You embed something when you place a block of code — called an embed code — into the HTML editor of another website.

Suggestion to Embed

[ ] Google Knowledge Graph Search API
[ ] Abstract
[ ] Adobe Dimension
[ ] Adobe Spark
[ ] Adobe XD
[ ] AirTable
[ ] Any URL
[ ] ArcGIS StoryMap
[ ] Asana
[ ] BambooHR
[ ] Behance
[ ] ClickUp (https://docs.clickup.com/en/articles/3714856-public-sharing)
[ ] CodePen
[ ] DailyMotion
[ ] Descript
[ ] Diagrams.Net
[ ] embed.ly
[ ] Facebook Post
[ ] Figma
[ ] Flickr
[ ] Framer
[ ] Giphy
[ ] GitHub Gist
[ ] Google
[ ] Google Analytics
[ ] Google Calendar
[ ] Google Colaboratory
[ ] Google Docs
[ ] Google Maps
[ ] Google Slides
[ ] Google Spreedsheet
[ ] iframely
[ ] Instagram HashTag Feed
[ ] Instagram Post
[ ] Instagram Profile Feed
[ ] Instagram Profile Grid
[ ] InVision
[ ] ion interactive
[ ] jsFiddle
[ ] Kickstarter Campaign
[ ] Kickstater Catalogue
[ ] Leanboard
[ ] LinkedIn Post
[ ] Linkedin SlideShare
[ ] Looker
[ ] Lucidchart
[ ] Marvel
[ ] Metabase (https://www.metabase.com/docs/latest/administration-guide/13-embedding.html)
[ ] Microsoft PowerBI
[ ] Mindmeister
[ ] Miro
[ ] Notion
[ ] Overflow.io
[ ] Pastebin.com
[ ] Plunker
[ ] Prezi
[ ] RunKit
[ ] Scribd
[ ] Snipit
[ ] Speakerdeck
[ ] Spotify Playlist
[ ] StackShare
[ ] Taiga
[ ] TED
[ ] TikTok
[ ] Tiled
[ ] Trello
[ ] Trello Board
[ ] Trello Card
[ ] Tumblr
[ ] TuneUp
[ ] Twitter HashTag Timeline
[ ] Twitter Profile Feed
[ ] Twitter Tweet
[ ] TypeForm
[ ] Visual.ly
[ ] Whimsical or Mermaid
[ ] Wikimedia
[ ] Wikipedia
[ ] WordPress Blog Post
[ ] Wordpress Blog Post Catalogue
[ ] Yelp
[ ] YouTube

Should be fixed with #237

@rmehta Markdown may not solve this, some embed requires more than HTML embed. IMO, Iframely should solve this with an elegant solution.


Jenkins 35719

Decription
[JENKINS-35719] fix line breaks and add padding when line breaks
Example https://github.com/jenkinsci/blueocean-plugin/tree/JENKINS-35719

Submitter checklist

[x] Change is code complete and matches issue description
[ ] Apppropriate unit or acceptance tests or explaination to why this change has no tests

Reviewer checklist

[ ] Run the changes and verified the change matches the issue description
[ ] Reviewed the code
[ ] Verified that the appropriate tests have been written or valid explaination given

@reviewbybees

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

🐝 LGTM

@scherler I suppose the gutter changes are coming in a later PR? That example looks off (but the wrapping looks spot on!)

@i386 yeah, that is in my "in progress" pipeline  JENKINS-36169


Making changes to improve windows pulsar performance

We are facing memory problem on windows machines. If a large number of file operations are going on the system, hubble's memory increases to more than 1GB. So this PR contains following changes:

Avoiding to print a large object ( more explanation in daemon.py )
Hash is calculated for all the objects returned by _pull_events() irrespective of where the object is to be monitored or not. This has been handled in this PR ( more explanation in win_pulsar_winaudit.py )
It seems that win_pulsar.py was replaced with a very old version in the commit https://github.com/hubblestack/hubble/commit/7cccf7b9e92dfbc32c0253bc3d63418962852dcd
. So I have tried to put back the changes which were lost in that commit.

Please don't merge this PR today. We are waiting for tomorrow to verify the performance results. We will let you know tomorrow if this PR is good to merge. It would be nice if the PR could be reviewed meanwhile.
I have noticed that azurefs.py has also been changed. It would be nice if you could verify in the next build that azurefs is still working properly as our team heavily relies on it.

We have verified the changes. Feel free to merge the PR.


Mobile Client status?

Hello!
I am trying to build a self-hosted network for my servers and as an entrypoint to my home-network when away. However, whilst on the go, I am usually on my phone - Android 12.
So I wanted to ask what the current status is regarding mobile clients? It's listed for Q3 2022 - which is about half-way done.
Thanks and kind regards,
Ingwie

Hello @IngwiePhoenix, mobile clients are in our roadmap for this quarter.
We are looking into gomobile to port our client core to Ios and android.

Any updates on the status? I'd love to move over to Netbird

Soon hopefully

we've started working on the Android client. Our aim is to deliver it in this quarter.
For the iOS client, we will focus on once the Android client is released.

Hello Folks, as you may already know, we are developing our android app. We will be doing a closed preview release for those that want to help us test the application with their devices. If you are interested in joining the list of testers, please fill the form in the following link: https://forms.gle/AuLwsnWV5Z4Pn3A87
Once the preview is ready, we will add your information to google play testing list and let you know so you can download the app.

Oh, I don't think partaking in Betas works when using Aurora Store (I run a de-googled phone - LineageOS for MicroG 20.0). But thank you for the update regardless! Looking forward to it =)

@mlsmaycon  Can intive me in testing list？

To update here, the Android client is https://play.google.com/store/apps/details?id=io.netbird.client
We started iOS development, and we are scheduled to deliver it at the beginning of Q3.

Related issues (possible duplicates?):

https://github.com/netbirdio/netbird/issues/213
https://github.com/netbirdio/netbird/issues/115

@mlsmaycon
What's the state with iOS version? Looking forward to it...

Hello @oskarirauta , it is under development, we currently have no specific date, but we will have a better view in couple of weeks. Then we can share a date for the preview release.

Thanks @mlsmaycon
If it's open source... As a developer license holder I can also build it for testing phase.

Hello folks, you can sign up for the iOS preview here: https://forms.gle/HVAdMKt2vSdCiTzY9
We will send you test flight invites when the first version is ready for testing.

Hello folks, we published the iOS app!!!
You can find it here:
https://apps.apple.com/us/app/netbird-p2p-vpn/id6469329339
We are looking into, publishing to China's store but it might be a problem as it requires more paperwork. So it will be great to hear from the community there, if there is an alternative distribution channel.


Feature request: make typing_modules configurable

The typeguard package enables run-time type checks. One of the drawbacks of run-time  type checks is that type annotations behind if typing.TYPE_CHECKING are not visible (https://typeguard.readthedocs.io/en/stable/userguide.html#notes-on-forward-reference-handling; compare also https://github.com/agronholm/typeguard/issues/456).
So this passes in python bug.py while it shouldn't (ideally):
bug.py
from typing import TYPE_CHECKING

from typeguard import typechecked

if TYPE_CHECKING:
    A = int

@typechecked
def bug() -> None:
    a: A = 1.5
    print(a)

bug()

One workaround that I am investigating is to use a project-local typing_ module from which I import my own TYPE_CHECKING, like this:
typing_.py
from typing import TYPE_CHECKING as _TYPE_CHECKING

def enable_runtime_typing_checks() -> bool:
    return True  # more complicated, obviously

TYPE_CHECKING = _TYPE_CHECKING or enable_runtime_typing_checks()

workaround.py
from typeguard import typechecked

from typing_ import TYPE_CHECKING

if TYPE_CHECKING:
    A = int

@typechecked
def bug() -> None:
    a: A = 1.5
    print(a)

bug()

Then, python workaround.py fails as expected:
Traceback (most recent call last):
  File "C:\Code\project\workaround.py", line 15, in <module>
    bug()
  File "C:\Code\project\workaround.py", line 11, in bug
    a: A = 1.5
  File "c:\Code\project\.venv\Lib\site-packages\typeguard\_functions.py", line 251, in check_variable_assignment
    check_type_internal(value, annotation, memo)
  File "c:\Code\project\.venv\Lib\site-packages\typeguard\_checkers.py", line 784, in check_type_internal
    raise TypeCheckError(f"is not an instance of {qualified_name(origin_type)}")
typeguard.TypeCheckError: value assigned to a (float) is not an instance of int

but A is not used at runtime. Nice!
(Obviously, my real A is more complicated than that, and my example above is too simplistic as it fails on letting enable_runtime_typing_checks return False - anyway, I guess this is enough to make the following main point.)
When I apply this concept more generally, though:
code.py
from typing_ import TYPE_CHECKING

if TYPE_CHECKING:
    from pathlib import Path

    from typing_ import A

def bug() -> None:
    a: A = 1.5
    print(a)
    p: Path

bug()

ruff check --isolated --select=TCH003 code.py
gives me
code.py:4:25: TCH003 Move standard library import `pathlib.Path` into a type-checking block

So, long story short: can I make ruff understand my own typing_.TYPE_CHECKING as a type-checking block, similar to typing.TYPE_CHECKING and typing_extensions.TYPE_CHECKING (compare https://github.com/astral-sh/ruff/pull/8429)?

Hi, thanks for the issue! We already have a typing-modules configuration option: https://docs.astral.sh/ruff/settings/#lint_typing-modules. Does that do what you're asking for here?

@AlexWaygood absolutely, thank you! I feel somewhat embarrassed since I remember asking a similar question before, but could not find it in my emails or otherwise (I now know it's https://github.com/astral-sh/ruff/issues/5400). I also searched the repository for typing_modules and did not find much, and I checked ruff check . --show-settings and could not find it there (although I clearly see it now).
I think the main reason why I went looking is because I checked https://docs.astral.sh/ruff/rules/typing-only-standard-library-import/ first, and the rule did not mention the configuration option. Maybe it should be added there (any in other TCH rules) to make it more discoverable.


New Mockito release removed deprecated classes.

Just noticed due to a failing build: The newest Beta release of Mockito (2.0.54-beta) removed some deprecated classes, c.f. this commit and breaks this package with at least DeprecatedOngoingStubbing (that's the one I've noticed in the logs).

If you are using gradle you can workaround by forcing mockito core to specific release:
testCompile ('org.mockito:mockito-core:2.0.44-beta')
{
	force = true
}

Thanks for the report.
@nickheniser Yup. Alternatively mockito-core transitive dependency can be excluded (to not have the forced version):
testCompile('info.solidsoft.mockito:mockito-java8:2.0.0-beta.2') {
    exclude module: 'mockito-core'
}

Btw, I have set up daily build on Jenkins, to get automatically notified about further incompatible changes (at least about some of them).

Yeah I just did kinda the same thing with Maven too for the time being.

Implemented in 2.0.0-beta.3.


Interpolation in heredoc

Ruby interpolates (#{foo}) in heredocs, Crystal doesn't. I see no real reason to skip it for heredocs, so I propose to unify that.

Definitely!

:+1:

Shouldn't this issue be closed now? The PR #1094 fixed it.


ARROW-18188: [CI] CUDA nightly docker upload fails due to wrong tag

@github-actions crossbow submit test-cuda-*


Specify default values

As a user, I'd like to specify default values for optional booleans. and maybe other optional primitives too.

This applies across types (not just Booleans as originally written).

Duplicate of https://github.com/fern-api/fern/issues/419


Return Copied State

An environment flag should be created that signals whether the state should be returned as a reference or a new copied object.

#165


compose box: Set maximum height for message input to prevent overflow.

Fixes #3414.

Thanks @ungps for taking a go at this bug!
+        maxHeight: 120,

This is much shorter than we'd like a maximum height to be, though. See discussion on #3414 .
Closing this in favor of #3414 (the issue) for any design discussion. When you have an implementation of the logic discussed there, please go ahead and open a new PR. Thanks again!


Flag possible duplicate transactions

Problems

What if the bank sends the same TXN email twice?
What if I forward the same TXN twice?
It's impossible to tell if some TXNs are duplicates or I just multiple of the same thing on the same day. For example, there are multiple Uber charges for -0.51 on the same day - how many are actually on my statement?

Solution
For a given day and bank, check if there are other TXNs with the same merchant/payer and raw amount

date
bank
account (if applicable)
merchant/payer
raw amount

Pytest

Load a named mbox containing two or more emails - the emails may or may not be duplicates

DONE WHEN

For the same TXN, load a forward from gmail and a forward from CloudHQ, ensure the second TXN rejects
For different TXNs that have the same date, merchant/payer and amount, like Uber TXNs, ensure that two TXNs are accepted

Troubleshooting Pytest
root@9754f7b4e7a9:/# mb2md -s test_data/example_data/unparsable_emails.mbox -d /home/incoming/Maildir/
Fatal: Source is not an mbox file or a directory!

Error appears when refresh_inbox() attempts to load the mbox file. Error is caused by not using an absolute or fully qualified path. Solution is to change path to ./test_data/example_data/

Troubleshooting Pytest
root@9754f7b4e7a9:/# mb2md -s test_data/example_data/unparsable_emails.mbox -d /home/incoming/Maildir/
Fatal: Source is not an mbox file or a directory!

Error appears when refresh_inbox() attempts to load the mbox file. Error is caused by not using an absolute or fully qualified path. Solution is to change path to ./test_data/example_data/

Refactored refresh_inbox to use a lot of error catching but something was going wrong with this style of subprocess calling. Reverted back to original use of subprocess.call without
    _delete_maildir_success, delete_maildir_output = call_subprocess_with_output(
        f"{container} rm -r {maildir_path}"
    )
    print(f"INFO: Deleted existing Maildir/, if any: {delete_maildir_output}")

    recreate_maildir_success, recreate_maildir_output = call_subprocess_with_output(
        f"{container} mkdir {maildir_path}"
    )
    if recreate_maildir_success is False:
        print(f"CRITICAL: Failed to recreate Maildir/: {recreate_maildir_output}")

    load_mbox_success, load_mbox_output = call_subprocess_with_output(
        f"{container} mb2md -s {mbox_path}/{mbox_name} -d {maildir_path}"
    )
    if load_mbox_success is False:
        print(f"CRITICAL: Failed to load mbox: {load_mbox_output}")

    (
        modify_maildir_permissions_success,
        modify_maildir_permissions_output,
    ) = call_subprocess_with_output(
        f"{container} mb2md -s {mbox_path}/{mbox_name} -d {maildir_path}"
    )
    if modify_maildir_permissions_success is False:
        print(
            f"CRITICAL: Failed to modify Maildir/ permissions: {modify_maildir_permissions_output}"
        )


feat: release v2.4.3 with proto3 optional support

Updating and releasing artman with the following changes:

bumping gapic-generator version to 2.4.3
updating versions of protoc for all languages to 3.12.x
passing --experimental_allow_proto3_optional to protoc invocations
updating Go version (to fix a build problem)
bumping artman version to 2.4.3 to match gapic-generator version.

(I'm looking at the CI failure)


training details

Thanks for your sharing. I find that in your Mytrain_val.py, a validation dataset is utilized. I am not sure whether you use the CAMO for validation since the default val_root is './Dataset/TestDataset/CAMO/' . Besides, the training/validation dataset link only contains the training set. Could you please tell me the training details?

Yes. You can just use ./Dataset/TestDataset/CAMO/ during the validation period.

Thank you.


Add Saganworks Logo

Logo:
Ann Arbor, MI
http://saganworks.com/
Startup

Thanks! Just added the Saganworks logo to the site.
I encourage you to join our community slack and share it within Saganworks! https://startupdetroit.herokuapp.com/


feat(tutorial): complete step 2

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

Are you saying that at the time of pull request #1083, the state of the files, being at end of tutorial-2, does not match expectations?  Or does the current state of the rendered webpage, which for me is now at the end of tutorial-3 does not match expectations?  Do I need to compare my source files character by character against a standard?  Thx.

The build preview for your pull request can be found here:
https://deploy-preview-1083--carbon-tutorial.netlify.com/#/repos
And looks like this:

This does not match the expected outcome from the tutorial: https://react-step-3--carbon-tutorial.netlify.com/#/repos
Thanks!

The root cause is my fork has not pulled the changes made to the base after the tutorial sessions began. I am 2 commits behind and cannot figure out how to git those updates into my fork.  I can paste in the specific block from src/index.scss that creates the border around the repo table.  But  several other changes will still be missing.  Perhaps those are immaterial.  I missed the guidance on how to stay in sync.  Should I compare each tutorial step's branch separately and create myself a pull request into my branch?  I tried that with master but it did not resolve my problem with step-2.  Or is there some easier way? Thx.

@kellychurchill    Ah!  I see.  I was completely hung up on the right and left margins being off because I am missing all the updates made to the tutorial base.  The copy/paste error has been fixed.  Thx.


FIX: Radio and CheckBox label type

label prop now accepts React.Node
Closes #331

@wEprous what about InputField, we have to keep this unified


Still Maintained? [1.20 Support]

Hello there,
is this Mod still maintained, and will eventually updated to 1.20?

Hi there, currently theres no planned maintenance, since I do not know how to have multiple version withing one gradle project supported. Bumping the version is not what I currently planning to do.

I've ported it to 1.20, it is available on modrinth at modrinth.com/plugins/proxycommandreloaded

Hey @axelcypher
I've ported it to 1.20, it is available on modrinth at https://modrinth.com/plugin/proxy-command-reloaded, and the source is at https://github.com/GeraldTM/MCProxyCommand

Is it not possible to fork MCInvSync to support 1.20.1?

Haven't tried

Haven't tried

If possible, can you make it compatible with 1.20.1?
I would like to ask if you have time.

I am extremely busy at this time, if I get some free time (might not be for a couple months) I'll consider it

This will be the last mod that I will try to port to multiple MC versions (which I did with some others already). Will probably take long since this will have a more complex testing environment.

Alr


Deprecate the PostCode::setService() and PostCode::getService() method

Problem
The PostCode validator allows additional validations via an optional service callback. The callback runs before the standard validation of the PostCode class.
Internally, the additional validation is done by zend-validator's Callback class.
But:

this functionality was never documented
the usage of a validator within another validator is confusing
this functionality is not available in other validators

Alternative
As an alternative to the additional validation, a validator chain should be used.
Deprecation
It should be deprecated in the next minor version (2.11.0) and removed with the next major version (3.0.0).
Code Reference
https://github.com/zendframework/zend-i18n/blob/c6c465ad5c7c9b93304f2a2832c9b4deafb3fcdf/src/Validator/PostCode.php#L307-L327
https://github.com/zendframework/zend-i18n/blob/c6c465ad5c7c9b93304f2a2832c9b4deafb3fcdf/src/Validator/PostCode.php#L368-L387

This repository has been closed and moved to laminas/laminas-i18n; a new issue has been opened at https://github.com/laminas/laminas-i18n/issues/6.


The error TypeError: unhashable type: 'set'

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
This error occurs when Python tries to use a set as a key in a dictionary or when a set is present in an operation that requires a hashable type (like in a dictionary or a list comprehension that is used in a hashed manner).
In this case, it seems that a set is being passed into a place where only hashable types (e.g., tuples, strings) are allowed.
def _make_json_hashable(obj):
if isinstance(obj, set):
return tuple(obj)  # Convert set to tuple
elif isinstance(obj, dict):
return tuple((k, _make_json_hashable(v)) for k, v in obj.items())  # Recursively handle dicts
elif isinstance(obj, list):
return tuple(_make_json_hashable(i) for i in obj)  # Convert lists to tuples
return obj  # Return other objects unchanged
This change ensures that any sets encountered in the schemas are converted into tuples, making them hashable and suitable for dictionary operations.
Once this change is made, the error should be resolved. Let me know if you need help with this or if you have more details about the function _make_json_hashable.
Example Code
def _make_json_hashable(obj):
    if isinstance(obj, set):
        return tuple(obj)  # Convert set to tuple
    elif isinstance(obj, dict):
        return tuple((k, _make_json_hashable(v)) for k, v in obj.items())  # Recursively handle dicts
    elif isinstance(obj, list):
        return tuple(_make_json_hashable(i) for i in obj)  # Convert lists to tuples
    return obj  # Return other objects unchanged

Python, Pydantic & OS Version
python 3.12
pydantic v2

I think this will help you.
https://bit.ly/4gwC82r
you may need to install the c compiler

Could you please provide a code example where this is happening?

Closing for now, happy to reopen with a MRE.

I actually don't know where is the problem in my code bcz the error is not showing me the line and the file but only showing me the error "set is not a hashable type"

can someone tell me which pydantic version is stable version

v2.9.2 is our most recent version :)


Accesing metatadata of current study

Hi folks,
We are developing a custom image annotation extension and we are interested in accessing Dicom metadata for the current visualized study. However, we have not found a straightforward way to do it while programming custom commands, not even StudyIDs or SeriesIDs. We have been poking around into the code and have found some data structures to host Dicom Metadata, but it appears to not be stored in neither the store or the sessionStorage.
Is there a trivial way to access metadata for the current study without querying the Dicom server?
Kind Regards,
Rodrigo

Hello Rodrigo :wave:
Always great to hear from people using extensions. I don't love the way we currently surface metadata:

Add @ohif/core as a peerDependency for your extension

This will be provided by the @ohif/viewer project

Do something like:

import { utils } from '@ohif/core';

const { studyMetadataManager } = utils;
const studies = studyMetadataManager.all();

// viewportSpecificData and activeViewportIndex are exposed in redux under `viewports`
const { displaySetInstanceUid, studyInstanceUid } = viewportSpecificData[activeViewportIndex];

const study = studies.find(
    study => study.studyInstanceUID === studyInstanceUid
);

I know @JamesAPetts has a good number of changes near completion that clean up our metadata usage. Long term, we'll also want to abstract away the exposed state behind a user friendly interface. We would potentially inject something like the studyMetadataManger to extensions so they don't need to add @ohif/core as a peerDependency.
Open to suggestions and PRs to improve this. We don't get as much real-world feedback as I would like from extension authors.

Hi @dannyrb !
Thanks for the suggestion. I'm interested in accessing metadata of the current study too. I tried your solution it but I haven't been lucky. In particular, I'm not able to retrieve viewportSpecificData and activeViewportIndex.
I have imported redux and then I've used Object.getOwnPropertyNames() to get all properties that belongs to it.
In fact, I have seen that  redux exposes "reducers", which in turn exposes "viewports", which, unfortunately, does not expose viewportSpecificData and activeViewportIndex. Am I missing something?
Kind regards,
Nicholas

you can grab
import { DicomMetadataStore } from '@ohif/core'


fix response rate limit check condition

Summary
This change fixes the kong response rate limiting plugin where the limit usage value can go in negative if there are parallel requests.
For example, if below limits are configured:
{ "limit": { "second": null, "minute": 1, "hour": null, "day": null, "month": null, "year": null } }
and we send 4-5 parallel requests then the usage counter will go in negative and skip the zero condition check and by pass the rate limits.
Similar to header_filter.lua where we check for negative value(lv.remaining <= 0), we need to do the same in access.lua.
Checklist

[ ] The Pull Request has tests
[ ] A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

Fix #[issue number]

 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.


Banned.

Banned for using ace. I've only been using ace.. so its definitely that.

Can I get proof of some sort, if that's true I'm incredibly sorry...

Also what is the ban length and could you check your email as riot should have emailed you.

On looking at your account you apparently forked AramBuddy from FurkanS1821 on that note I'm closing this as you apparently have some involvement with scripting in League which I'm inclined to believe got you banned, feel free to reopen if I'm wrong but lying and using Ace as a scapegoat for your use of scripts if dissapointing...

Zombie, I do not, and never have, scripted and the account I was banned on. I am far past scripting.
They have admitted to banning me by mistake, but they do not intend to unban me for some reason.
https://boards.oce.leagueoflegends.com/en/c/help-support-oce/coQijysp-you-admit-banning-me-was-a-mistake-but-you-dont-lift-the-ban

I'm locking this issue as you are continuing to lie about your usage of scripting software and the reason of your ban.


Revert yarn prettier addition in yarn ci-check

Motivation
Revert the incorrect addition of yarn prettier to yarn ci-check in #516 and run Prettier on the code base.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Let CI run
Related PRs
#516

@yangshun Can't tell whether the prettier test is failing because it didn't pick up your prettier changes or if there is something missing in your prettier changes.

Sorry about that, I'm not on my home computer so I just made the changes using GitHub's inline code editor which means I wasn't able to run prettier.


[US] As a dev, I want the SchemaRegistry contract to be TransparentUpgradable

As a Verax developper,
I want the SchemaRegistry contract to be Upgrabable,
So that I can later add new features
Requirements

Use transparent proxy pattern

Todo

[ ]

Acceptance criteria

The SchemaRegistry deployment script has been updated
Unit-test to validate the upgrade can be done successfully

Additional information

Workload estimate

TBD

@alainncls I guess we will need to add gaps as well.
(Mentioning it because it's something we forgot to do at the beginning on other projects


scrollbar consumes mouse clicks even when scrollbar is not present

VSCode Version: 1.10.1
OS Version: Windows 8.1

Steps to Reproduce:

Move your mouse to the bottom of the VSCode window, where a horizontal scrollbar would normally be.
Notice that the mouse cursor changes from a text cursor to a pointer when mousing over the scrollbar position, whether the scrollbar is present or not. Also, clicks there are captured by the invisible scrollbar.

Fixed via #42801


E2E Tests: Fix azure templating name.

I am in process of removing this completely and making it platform agnostic as per review made here: https://github.com/openshift/oadp-operator/pull/568#discussion_r805298142
This is just a temporary patch

What about here? Is the bool not working?
https://github.com/openshift/oadp-operator/pull/573/files#diff-f757ae4a7b575d13d9943ac5e3fc8fa0d225335f88d0db06f0e5eabf823f270aR88

/retest

@kaovilai The bool is working perfectly fine. Its just that we need be able to test VSL and BSL in both CI and non-CI env.


[Network] [Application Gateway] Cli changes for new ssl policies

Related command
 az network application-gateway ssl-policy ...
Description

Application Gateway had introduced new Ssl Policies as a part of NRP release 165. This pr updates the cli to support the customv2 policy and tls1.3 protocol.
Testing Guide

az network application-gateway ssl-policy set -g  --gateway-name  --policy-type CustomV2 --min-protocol-version TLSv1_3
History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Network


feature/SearchByAnimalFilter

Created some psuedo-code options for filtering based on dog or cat
Evaluating use of switch statement for simplified logic/code

Built the switch case logic but commented it out for now
It validates if the dogFilter or catFilter are true/false, and if true, or if both are true, it will add the groomer to the filtered array
If not, it shouldn't
That array is then later sorted for distance based upon the search zipcode/location data

Built the switch case logic but commented it out for now
It validates if the dogFilter or catFilter are true/false, and if true, or if both are true, it will add the groomer to the filtered array
If not, it shouldn't
That array is then later sorted for distance based upon the search zipcode/location data

useEffect hook to load groomers was failing at times
Updated the getGroomerData() function in the api/index.js file to be async
Haven't had the issue since

useEffect hook to load groomers was failing at times
Updated the getGroomerData() function in the api/index.js file to be async
Haven't had the issue since

Updated and validated the switch case logic
Applies the proper filter to the results
Conditionally renders a text statement about the animals groomed if the dogs or cats filter is true

Updated and validated the switch case logic
Applies the proper filter to the results
Conditionally renders a text statement about the animals groomed if the dogs or cats filter is true

Added states for the checkboxes to update when checked
Using the states to reset the form by adding setState(false) to the reset button onChange handler
Removed a lot of old code that was not in use after testing/verifying
Verified conditional render logic is working for animals serviced

Added states for the checkboxes to update when checked
Using the states to reset the form by adding setState(false) to the reset button onChange handler
Removed a lot of old code that was not in use after testing/verifying
Verified conditional render logic is working for animals serviced


Only accessed used fields in constraints

The clara.rules.compiler should only access used fields of the fact type in in production condition constraints

Nice! Merged.


audit: Port audit_class to rubocop, add tests and autocorrect

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew tests with your changes locally?

#569

@GauthamGoli I apologize, I completely lost track of this. What is the current status of this PR, do you still want this merged as-is or do you want to make modifications?

Gauthams-MacBook-Pro:Homebrew gautham$ brew audit --only-cops=FormulaAudit/ClassName
Warning: Calling GithubGistFormula.url is deprecated!
Use Formula.url instead.
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-science/nest.rb:4:in `<class:Nest>'
Please report this to the homebrew/science tap!

homebrew/science/nest:
  * C: 1: col 14: GithubGistFormula is deprecated, use Formula instead
Error: 1 problem in 1 formula

odeprecated is being called in formula_specialities.rb in the respective methods of deprecated classes which is causing the above duplication of warning/audit errors. I kind of don't know what to do here yet.

odeprecated is being called in formula_specialities.rb in the respective methods of deprecated classes which is causing the above duplication of warning/audit errors. I kind of don't know what to do here yet.

Could you rescue MethodDeprecatedError to handle this issue? I've not tried it so it may not work. If not we could consider removing this audit in favour of the message.

Why are there warnings and audit rules at the same time?

Why are warnings and audit rules present simultaneously for audit_class?

@GauthamGoli The warnings are a runtime check to ensure that even people who don't use brew audit receive notification about their deprecation.

Okay. These warnings are piped to $stderr, and can be temporarily redirected to elsewhere when the formulae are loaded in audit to prevent the warning from appearing. But doing so would redirect whole of $stderr and other warnings would get redirected too. I'm currently trying to find some workaround.

@GauthamGoli In this case it may be reasonable to modify the deprecation code to handle this case.

Modifying it to raise MethodDeprecatedError instead of piping to $stderr, and then rescueing it is tricky too, as rescue would prevent instances of formulae from getting created, in audit

Was Library/Homebrew/plist included by mistake?

@GauthamGoli I reckon change https://github.com/Homebrew/brew/blob/2a75c6c591c6bb0562ed25c84c951f70c9d8d90d/Library/Homebrew/utils.rb#L101-L107 to have different behaviour when running audit. For example, you could have a Homebrew.auditing? or similar which instead of raising excepts adds things to a Homebrew.audit_problems global array and then brew audit outputs them at the end. This would allow you to remove the audits that duplicate the deprecation code. Thoughts?

Yeah. Makes sense to have audit specific flag.
Instead of adding to Homebrew.audit_problems, I think its better to suppress it, and let the Cop report it because it would have access to the node's location in the source.
Yes. Library/Hombrew/plist has been added by mistake will remove it.

That also additionally solves the problem of having to update, (or add to), the audit code when deprecations are modified within the reset of the codebase. A big 👍 to avoiding unnecessary duplication in the codebase.

Instead of adding to Homebrew.audit_problems, I think its better to suppress it, and let the Cop report it because it would have access to offending node's location in the source.

Sounds good to me 👍

Made changes, can you please review?

Thanks again @GauthamGoli!

👍


go/parse: confusing error message caused by stray comma in struct field

Hit "Format" on http://play.golang.org/p/QX0D-qyFwJ
package main

type T struct {
	a, int
}

Result: "prog.go:4:2: expected anonymous field"

the error produced by gc is not good either.
main.go:4: syntax error: unexpected semicolon or newline
it took me some time to understand why it's complaining
about the newline (it thinks int as a field name, and expects
a type)
I think it's pretty hard to generate good diagnostics for this
case due to the ambiguity (it could be a missing field name
or a missing type name).

btw, Run says: main.go:4: syntax error: unexpected semicolon or newline

I think it's pretty hard to generate good diagnostics for this case due to the ambiguity (it could be a missing field name or a missing type name).

True, although an error message saying "missing field name or type name" would be better than what we've got.
Not urgent, by any means.

For the record, gccgo says
foo.go:4:11: error: expected type


[Hotfix] Search for .git rather than .venv inside loop.

Fix automatic activate for virtualenvs once a .git file is found. As the comment said "Check if this is a Git repo" and not .venv

Attempt to fix #4110.
This change is incorrect; it's too simple. That checking for the .venv directory was introduced by #3918, and was an intentional change.
We do need to add back support for treating git repos as virtualenvs, but it shouldn't be done by just changing to only use git repos. This simple change also would break some of the .venv customization logic.

I've put in  #4122, which restores the pre-#3918 functionality of treating Git repos as project roots, but keeps the .venv customization support it introduced. Give that one a test and see if it fixes your issue.


Add new main workflow for miRNA reads, add additional alignment parameters to all workflows

A new workflow named 'mirna_single.cwl' has been added. This workflow processes single end fastq files, and requires an additional input file (a gtf file containing only miRNA annotations) compared to the other workflows. All other workflows have also been updated to add a set of optional alignment parameters. This PR also fixes the 'options.json' files for all test jobs, such that they have all of the necessary parameters needed to run on a toil cluster.

I wonder whether the README would be easier to read if you collect all the miRNA-specific parts into a separate markdown file and link to it from the README?
Otherwise, I regret all the duplication that is taking place, but it seems like we will just have to wait for 1.2, and hopefully do a major refactor at that time. Is that what you have planned?

Future development that I have planned will involve adding new tools to all of these workflows rather than creating new main workflows, so I'm hoping this will be reasonable to maintain/document. I agree that it would be good to think about how we can reduce redundancy in the long term. However, I do think that having these new parameters available is beneficial even for the non-mirna workflows


Reactivate idempotency code.

@edschofield There is currently commented code for idempotency of standard_library.install_aliases. This was commented out in
https://github.com/PythonCharmers/python-future/commit/9185b01275546f5325caf36050ff7abbd61cb5fd#diff-aeef53b0591861f11a909ebbccfad0ceL497
This PR uncomments it, since it seems useful, and I couldn't find a justification for its removal. As it stands, users of libraries which use install_aliases() either need to check themselves whether it's been called by another library, or execute the duplicative aliasing operation for each library that uses it.

Thanks for the pull request, Lucas!
Is there a compatibility benefit to performing the check? Could you provide an example of code that might break without this?
If this were just a performance optimization, it probably wouldn't warrant a special check...

It seemed obvious to me that this was an improvement, and made the behavior of install_aliases more predictable. It sounds like you don't agree with that intuition, so I'm closing this out.


Remove non-standard log levels

I'm not aware of any need for the custom levels, but they make trying to do logging in a predictable way difficult because the expected log levels don't exist and so logging debug or verbose level messages fails silently.
Remove the custom log levels and use the default levels instead.
If there's a reason we do need those custom levels then we can add them back in but with the standard levels included.

old code that's just festered around happy this is going tbh


Bootstrap classes not generating

I have installed ember-validated-form package and try to create form. validations and all working properly but bootstrap classes are not generating. I don't know why. I set configuration in environment.js and my form looks like same as given example in this https://adfinis-sygroup.github.io/ember-validated-form/.

Hi - I'm having the same issue.

version 2.0.0-alpha.5
bootstrap works outside the form

Here's the HTML I get:
`
 First name *

Save

`
I noticed that the environment config wasn't pulling in correctly - looks like there are 2 reasons for that

I had to set import config from "../../config/environment"; as opposed to "../config/environment";` in validated-form/component.js (I use pods)
Having done that, config: config["ember-validated-form"] was grabbing all of my ENV - not just the ["ember-validated-form"] part - so now I've got the config in its own file:

`// components/ember-validated-form/config.js
const embervalidatedform = {
label: {
submit: "Go for it!"
},
css: {
// bootstrap classes
form: "formstylelelksdjf",
text: "form-group",
group: "form-group",
radio: "radio",
control: "form-control",
label: "col-form-label",
help: "small form-text text-danger",
hint: "small form-text text-muted",
checkbox: "checkbox",
button: "btn btn-default",
submit: "btn btn-primary",
loading: "loading",
valid: "is-valid",
error: "is-invalid",
select: "custom-select custom-select-lg mb-3"
}
}
export default embervalidatedform;`
and I'm importing it here:
`// components/ember-validated-form/component.js
import ValidatedForm from "ember-validated-form/components/validated-form";
import config from "./config";
export default ValidatedForm.extend({
config: config,
init(){
this._super(arguments);
console.log(config);
}
});`
When it logs the config, I get:
{   "label": {     "submit": "Go for it!"   },   "css": {     "form": "formstylelelksdjf",     "text": "form-group",     "group": "form-group",     "radio": "radio",     "control": "form-control",     "label": "col-form-label",     "help": "small form-text text-danger",     "hint": "small form-text text-muted",     "checkbox": "checkbox",{   "label": {     "submit": "Go for it!"   },   "css": {     "form": "formstylelelksdjf",     "text": "form-group",     "group": "form-group",     "radio": "radio",     "control": "form-control",     "label": "col-form-label",     "help": "small form-text text-danger",     "hint": "small form-text text-muted",     "checkbox": "checkbox",     "button": "btn btn-default",     "submit": "btn btn-primary",     "loading": "loading",     "valid": "is-valid",     "error": "is-invalid",     "select": "custom-select custom-select-lg mb-3"   } }     "button": "btn btn-default",     "submit": "btn btn-primary",     "loading": "loading",     "valid": "is-valid",     "error": "is-invalid",     "select": "custom-select custom-select-lg mb-3"   } }
So that looks like it all should be working. I just don't understand where exactly the classes get applied to the fields, so I'm stumped.

Ah! Found the answer - because I'm using 2.0.0-alpha.5 I need to use
"ember-validated-form": {
    theme: "bootstrap"
  }

see: https://github.com/adfinis-sygroup/ember-validated-form/issues/136


when building a target image, must slice into it in [col, row] order

very small fix in the way the composite_spots_img is generated.
The target image needs to be sliced in [col, row] order.  This only influences the way debug data is generated.

Codecov Report

Merging #66 into master will not change coverage.
The diff coverage is 0.00%.

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

Just want to make sure I understand this PR... Here is the definition of regionprop bbox from scikit-image:
"""
bboxtuple
Bounding box (min_row, min_col, max_row, max_col). Pixels belonging to the bounding box are in the half-open interval [min_row; max_row) and [min_col; max_col).
"""
So the current indexing seems fine to me as it is... unless there is a flip of the order of the elements in bbox somewhere after it was generated?

Let’s hold off on merging this PR because Jenny made a lot of changes with indexing in the uint16 PR.  I think those fixed this problem but haven’t tested.

@smguo @jennyfolkesson
I tested this problem on the new master and it is fixed.  Going to close this PR without merging.
If there's another discrepancy (say, master has somehow changed "find_spot_intensity" in a way that is not correct) let's make that a new PR.


[Enhancement] Is it possible to add xctest to html report or provide another command line?

Hi,
Firstly  thanks for this great tool.
But is it possible to add xctest to html report or provide another command line, because we usually run test both include unit test and ui test?
Thanks
Luis

Hi @luisxiaomai
Could you provide an example of the command line that you run?

@TitouanVanBelle , we use xcpretty  to generate html report which include xctest and xcuitest logs. What I hope is that this tool can also include xctest result not only xcuitest result.

@luisxiaomai XCUITestHTMLReport makes use of the -resultBundlePath options that you can pass to xcodebuild. It allows xcodebuild to save the results of the tests at a specified path.
What I noticed is that if you simply test a UI Testing target with for example the following command
xcodebuild test -workspace Workspace.xcworkspace -scheme UITests -destination 'platform=iOS Simulator,name=iPhone 8,OS=11.2' -verbose -resultBundlePath TestResults

Then the TestResults folder will contain the results of the UI Tests
If you test a Unit Testing target with for example the following command
xcodebuild test -workspace Workspace.xcworkspace -scheme UnitTests -destination 'platform=iOS Simulator,name=iPhone 8,OS=11.2' -verbose -resultBundlePath TestResults

Then the TestResults folder will contain the results of the Unit Tests
Until now all good.
Now if you don't have any schemes for your test targets and only have a scheme for your application, you will probably run a command like the following that will test both your UI and Unit Testing targets
xcodebuild test -workspace Workspace.xcworkspace -scheme Application -destination 'platform=iOS Simulator,name=iPhone 8,OS=11.2' -verbose -resultBundlePath TestResults

The problem with that is that the TestResults folder will only contain the result of one of the two targets. If I'm not mistaken the tests ran last seems to erase the results of the tests ran first.
Here's an example. Here I'm running both UI and Unit Tests
$ xcodebuild test -workspace XCUITestHTMLReport.xcworkspace -scheme XCUITestHTMLReportSampleApp -destination 'platform=iOS Simulator,name=iPhone 8,OS=11.2' -verbose -resultBundlePath TestResults | xcpretty
2017-12-21 23:05:32.589 xcodebuild[81897:9840173] [MT] IDETestOperationsObserverDebug: (9C0EAD8E-E880-404F-9B02-0A32526CB549) Beginning test session XCUITestHTMLReportSampleAppUITests-9C0EAD8E-E880-404F-9B02-0A32526CB549 at 2017-12-21 23:05:32.589 with Xcode 9C40b on target <DVTiPhoneSimulator: 0x7fd4c06cc320> {
		SimDevice: iPhone 8 (F9328EF5-4D99-44E2-B91D-15A30D0216E4, iOS 11.2, Booted)
} (11.2 (15C107))
2017-12-21 23:05:32.593 xcodebuild[81897:9840227]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/var/folders/f_/43gkw_15049_531f5530w7dc0000gn/T/com.apple.dt.XCTest/IDETestRunSession-2BCAB27F-9805-4417-857B-49B50C7CF53B/XCUITestHTMLReportSampleAppUITests-0A0548C7-FB44-4CFA-B59F-9E2AAB9B23A3/Session-XCUITestHTMLReportSampleAppUITests-2017-12-21_230532-B4ONFd.log
2017-12-21 23:05:32.596 xcodebuild[81897:9840173] [MT] IDETestOperationsObserverDebug: (1FC2AE66-75AC-49F4-A0CF-E010B2755291) Beginning test session XCUITestHTMLReportSampleAppTests-1FC2AE66-75AC-49F4-A0CF-E010B2755291 at 2017-12-21 23:05:32.596 with Xcode 9C40b on target <DVTiPhoneSimulator: 0x7fd4c06cc320> {
		SimDevice: iPhone 8 (F9328EF5-4D99-44E2-B91D-15A30D0216E4, iOS 11.2, Booted)
} (11.2 (15C107))
2017-12-21 23:05:32.597 xcodebuild[81897:9840190]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/var/folders/f_/43gkw_15049_531f5530w7dc0000gn/T/com.apple.dt.XCTest/IDETestRunSession-2BCAB27F-9805-4417-857B-49B50C7CF53B/XCUITestHTMLReportSampleAppTests-C0641636-B3D4-4ED4-9097-880C8E732FFC/Session-XCUITestHTMLReportSampleAppTests-2017-12-21_230532-0m7a2G.log
▸ Building XCUITestHTMLReportSampleApp/XCUITestHTMLReportSampleApp [Debug]
▸ Check Dependencies
▸ Building XCUITestHTMLReportSampleApp/XCUITestHTMLReportSampleAppUITests [Debug]
▸ Check Dependencies
▸ Building XCUITestHTMLReportSampleApp/XCUITestHTMLReportSampleAppTests [Debug]
▸ Check Dependencies
▸ Compiling XCUITestHTMLReportSampleAppTests.swift
** TEST FAILED **

All tests
Test Suite XCUITestHTMLReportSampleAppUITests.xctest started
FirstSuite
    ✓ testOne (5.698 seconds)
    ✗ testTwo, XCTAssertTrue failed - Test failed
SecondSuite
    ✓ testOne (4.732 seconds)
    ✓ testTwo (4.771 seconds)

XCUITestHTMLReportSampleAppUITests.FirstSuite
  testTwo, XCTAssertTrue failed - Test failed
  FirstSuite.swift:56

	 Executed 4 tests, with 1 failure (0 unexpected) in 20.159 (20.164) seconds

All tests
Test Suite XCUITestHTMLReportSampleAppTests.xctest started
XCUITestHTMLReportSampleAppTests
    ✓ testExample (0.009 seconds)
    ✗ testPerformanceExample, XCTAssertTrue failed -

XCUITestHTMLReportSampleAppTests.XCUITestHTMLReportSampleAppTests
  testPerformanceExample, XCTAssertTrue failed -
  /Users/titouanvanbelle/workspace/personal/XCUITestHTMLReport/XCUITestHTMLReportSampleApp/XCUITestHTMLReportSampleAppTests/XCUITestHTMLReportSampleAppTests.swift:30

{
    XCTAssert(false)
}

   Executed 2 tests, with 1 failure (0 unexpected) in 0.025 (0.027) seconds

@luisxiaomai I think I got what you want. I'm working on the fix. I let you know when it's released

@luisxiaomai
It's ready but not released yet so you can try it out the following way
First remove you current xchtmlreport binary
rm /usr/local/bin/xchtmlreport

Then download a new one from develop
bash <(curl -s https://raw.githubusercontent.com/TitouanVanBelle/XCUITestHTMLReport/master/install.sh) 'develop'

Let me know if that works for you.

Released in 1.4.0

@TitouanVanBelle , that's what I want, Thanks for that.


Improved mini plot

The mini plot now can highlight bars, do log transformation, increase / decrease resolution, and let the user use mouse to drag a range of bars to refine the selected contigs. @AbhinavChede

Looks great!


[Event Request] table 1381 "Customer Templ." -  OnAfterCopyFromTemplate

Could you please add the following event?
procedure CopyFromTemplate(SourceCustomerTempl: Record "Customer Templ.")
begin
    CopyTemplate(SourceCustomerTempl);
    CopyDimensions(SourceCustomerTempl);
    //+EVENT
    OnAfterCopyFromTemplate(SourceCustomerTempl, Rec);
    //-EVENT
end;

[IntegrationEvent(false, false)]
local procedure OnAfterCopyFromTemplate(SourceCustomerTempl: Record "Customer Templ."; var TargetCustomerTempl: Record "Customer Templ.")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 52552.


cannot find watchman on zsh

I'm using zsh and can confirm that I have watchman installed. But solidarity reports that watchman is not installed. applesimutils and ANDROID_HOME also reported missing
"Watchman": [
  {
    "rule": "cli",
    "binary": "watchman",
    "error": "Please install watchman on this machine. Refer to the official Watchman installation instructions for additional help.",
    "platform": [
      "darwin",
      "linux"
    ]
  }
],
"Detox": [
  {
    "rule": "cli",
    "binary": "detox"
  },
  {
    "rule": "cli",
    "binary": "applesimutils",
    "error": "Try `brew install --HEAD applesimutils`",
    "platform": "darwin"
  }
],
"Android": [
  {
    "rule": "cli",
    "binary": "emulator"
  },
  {
    "rule": "cli",
    "binary": "android"
  },
  {
    "rule": "env",
    "variable": "ANDROID_HOME",
    "error": "The ANDROID_HOME environment variable must be set to your local SDK.  Refer to getting started docs for help."
  }
],

The following are from the cli:
~/D/D ❯❯❯ which applesimutils
/usr/local/bin/applesimutils
~/D/D ❯❯❯ which watchman
/usr/local/bin/watchman
~/D/D❯❯❯ export
ANDROID_HOME=/Users/.../Library/Android/sdk

Heya!  I also use ZSH so let's see what's up.
So you type which and it works, but the rules don't.   The rules use node-which so they can be system independent.
The failing ENV comes from process.env which isn't even a 3rd party plugin, that's supposed to work out the box with Node.
This sounds to me like Node is failing.  What version of Node are you using?  Make sure it's 7.6 or higher.  Any history of failing node CLIs in the passed?

I'm using node v8.7.0. I'll try node-which and report back

Also report back this:

So I've tried both node-which and process.env and they seems to work find
~/D/D ❯❯❯ ./node_modules/which/bin/which watchman
/usr/local/bin/watchman
~/D/D/lounge7 ❯❯❯ node
> process.env.ANDROID_HOME
'/Users/.../Library/Android/sdk'

Wow!
OK, can you you now try to use OUR code?

Looks identical.

That's using our code!  So how is it failing :/  Can you screen shot the failling rules?

Also, if you want we can chat in community.infinite.red and maybe even screen share.  Might help us identify an exact point of divergence.

hey @hiaw - any updates on how it's failing?   Are you running from inside npm/yarn?  Let me know!  I hope to knock this out :)

hey @hiaw - how's this looking?  Might close soon if you don't have an update.

Going to have to close this if we're not getting updates.  Feel free to re-open.


Provide project source for demo dashboard

I am having issues with the "Create your first dashboard" section of the docs. The first snippet of code in the docs
import { useState } from "react";
import { Card, Grid, Tab, TabList, Text, Title } from "@tremor/react";

export default function KpiCardGrid() {
  const [selectedView, setSelectedView] = useState("1");
  return (

      <Title>Dashboard</Title>
      <Text>Lorem ipsum dolor sit amet, consetetur sadipscing elitr.</Text>

      <TabList
        defaultValue="1"
        onValueChange={(value) => setSelectedView(value)}
        className="mt-6"
      >
        <Tab value="1" text="Overview" />
        <Tab value="2" text="Detail" />
      </TabList>

      {selectedView === "1" ? (
        <>
          <Grid numColsLg={3} className="mt-6 gap-6">
            <Card>
              {/* Placeholder to set height */}

            </Card>
            <Card>
              {/* Placeholder to set height */}

            </Card>
            <Card>
              {/* Placeholder to set height */}

            </Card>
          </Grid>

            <Card>

            </Card>

        </>
      ) : (
        <Card className="mt-6">

        </Card>
      )}

  );
}

Is generating this output:
https://imgur.com/a/ZpfDFZa
I am new to webdev so most likely it is something I have setup incorrectly in my project. If the demo dashboard's source was available it would be possible for me to compare my code with a working project. Thank you

hey @JPBotelho, what is it exactly that you are missing in the output?

I must've done something incorrectly in the setup. My global.css had "prefers-color-scheme: dark". Replaced with "light" and everything is working as expected.
After a few days of playing around with tremor I have only good things to say, and seeing how it's so actively developed I hope it has a bright future ahead!


Plotting update

Refactored plotting to run as a background task, storing data in a cache as available and creating plots once all relevant FOVs have been completed for a task.

Hello @seichhorn! Thanks for updating this PR.

In the file merlin/analysis/globalalign.py:

Line 224:1: W391 blank line at end of file

In the file merlin/analysis/plotperformance.py:

Line 20:1: E302 expected 2 blank lines, found 1
Line 531:54: E127 continuation line over-indented for visual indent
Line 535:57: E127 continuation line over-indented for visual indent
Line 537:56: E127 continuation line over-indented for visual indent

In the file merlin/analysis/slurmreport.py:

Line 233:1: W391 blank line at end of file

In the file merlin/core/dataset.py:

Line 1071:1: W391 blank line at end of file

In the file merlin/plots/_base.py:

Line 161:13: W292 no newline at end of file

In the file merlin/plots/decodingplots.py:

Line 85:1: W391 blank line at end of file

In the file merlin/plots/segmentationplots.py:

Line 32:19: W292 no newline at end of file

Can this merge be done now? If not I can work on the tests that failed.


Monorepo support for config imports

Clear and concise description of the problem
Vite currently supports monorepo-based setups for application code.
Now, in a monorepo, I want to implement a vite-plugin package in TypeScript that I plan to make use of in other monorepo packages without additional build step.
Right now Vite crashed when trying to load vite.config.ts that imports my plugin.
That happens because all bare imports are externalized during config bundling here:
https://github.com/vitejs/vite/blob/70536b46e27a6bf9ff139a227834cb3dc37759ee/packages/vite/src/node/config.ts#L776-L780
Suggested solution
Vite could check if a package being imported in the config is a local package before externalizing it.
Alternative
Dunno
Additional context

This sounds like it would open a can of worms, especially if the linked dependency contains transitive dependencies too. Node can't resolve those normally as we would have bundled the linked dependency, unless we bundle everything in the linked dependency, including it's transitive dependencies. Though now, there are two issues: (1) The Vite config would have to bundle a lot every time, (2) Transitive dependencies could be duplicated, causing weird runtime errors. With the reasons, I think it's simpler to have a build step for the linked dependency instead.

Makes sense.
And build step can be avoided on the local vite-plugin package by using an intermediary index.js module that wires up esbuild-register or tsm and then re-exports the actual entry point in TS.

Actually I just noticed that we have a duplicate https://github.com/vitejs/vite/issues/5370 too proposing the same thing, so perhaps it's something doable within Vite, but let's keep that issue open up as it has more discussion about the feature.


4.7.x .NET Framework SDK Docker images no longer published

4.7.x .NET Framework SDK Docker images no longer published
The 4.7.x .NET Framework SDK Docker images will no longer be published after Oct. 8, 2019.  The 4.8 image tags should be used as a replacement.
Details
Any references to the following SDK tags should be updated to reference 4.8 instead:

mcr.microsoft.com/dotnet/framework/sdk:4.7.1
mcr.microsoft.com/dotnet/framework/sdk:4.7.1-windowsservercore-ltsc2016
mcr.microsoft.com/dotnet/framework/sdk:4.7.1-<yyyymmdd>-windowsservercore-ltsc2016
mcr.microsoft.com/dotnet/framework/sdk:4.7.2
mcr.microsoft.com/dotnet/framework/sdk:4.7.2-windowsservercore-ltsc2016
mcr.microsoft.com/dotnet/framework/sdk:4.7.2-<yyyymmdd>-windowsservercore-ltsc2016
mcr.microsoft.com/dotnet/framework/sdk:4.7.2-windowsservercore-1803
mcr.microsoft.com/dotnet/framework/sdk:4.7.2-<yyyymmdd>-windowsservercore-1803
mcr.microsoft.com/dotnet/framework/sdk:4.7.2-windowsservercore-ltsc2019
mcr.microsoft.com/dotnet/framework/sdk:4.7.2-<yyyymmdd>-windowsservercore-ltsc2019

If you haven't migrated to using images from MCR and are still using the .NET Framework repos on Docker Hub, you will need to update your tag references to MCR.  This is because the 4.8 images only exist on MCR.  These are the following Docker Hub tags that are affected and should be updated to reference the 4.8 tags at the MCR location:

microsoft/dotnet-framework:4.7.1-sdk
microsoft/dotnet-framework:4.7.1-sdk-windowsservercore-ltsc2016
microsoft/dotnet-framework:4.7.2-sdk
microsoft/dotnet-framework:4.7.2-sdk-windowsservercore-ltsc2016
microsoft/dotnet-framework:4.7.2-sdk-windowsservercore-1803
microsoft/dotnet-framework:4.7.2-sdk-windowsservercore-ltsc2019

Is there any normal reason for the short notice, or should we expect an incoming CVE and Zero Day on this?


added fabcar example

Added fabcar GoSDK example

Nor sure that it's a good idea to add side project as example. SDK has plenty of integration tests, they cover whole lot of functionality


Project maintaining and support

I really love this framework
I've built a lot of bots with it, and I think it's the best chatbot framework for Facebook.
But recently I started looking for alternatives (with no luck) the reason behind this that I think this fraemwork is not receiving so much care from its creator @Charca (Pull requests take a very long time before got merged, Updates and features get implemented slowly, and questions get answered after a long time)
I know this is an open source project and you are a busy man but we really love this framework and with more care, it will be the best.
I am writing this because of my love to this framework and my respect to you @Charca
and I would love from you to discuss a solution to this problem (maybe moving the project to an organization and give responsibilities to other developers to help you speed things up)
Thank you again and I really appreciate everything you and other contributors did to this project :heart:

I'll volunteer if @Charca doesn't mind giving me access. I also don't have much time but I could take a look once a week or so and merge things that make sense.
I would get everything approved by @Charca in the beginning if he still wants full control. Whatever works best.
And worst case scenario, I could maintain a fork.

@mraaroncruz you really a good candidate :smiley:
You have made a lot of amazing and important contributions and you always helping people :)

And like that... I'm a collaborator 🎉
Thanks @Charca and thank you @MMayla for bringing this up.
I'll be busy over the next days but will start making some moves next week.

Thanks @Charca for your understanding and your response brought me joy :grin:
Congratulation @mraaroncruz :tada: and don't forget that with great power comes great responsibility :smiley:
Again thanks @Charca and you @mraaroncruz for sacrificing your time making this the easiest way to build chatbots for Facebook messenger :+1:


Updating all VS projects to target the RS1 SDK.

Is this the change required for  #1048?

While we are here, can we bring up the TargetPlatformVersionMin?

Sorry, I mean to bring up min to 10586.

@aballway No idea.
@DHowett-MSFT Our TargetPlatformVersionMin should already be at 10.0.10586.0. Is that not so?

Our WindowsTargetPlatformMinVersion should already be at 10.0.10586.0. Is that not so?

In reply to: 252996479 [](ancestors = 252996479)

No idea.

In reply to: 252994573 [](ancestors = 252994573)

Half our projects are at 10240 right now :)

In reply to: 253002438 [](ancestors = 253002438,252996479)

Why do we want to update our min?

In reply to: 253003067 [](ancestors = 253003067,253002438,252996479)

hmm got a little confused here but it is true that we use 10586 stuff and don't do a "fantastic" job of back compat so I approve.

In reply to: 253011472 [](ancestors = 253011472,253003067,253002438,252996479)

(Does look like your build failed though so check that out)

In reply to: 253017160 [](ancestors = 253017160,253011472,253003067,253002438,252996479)

:shipit:

:shipit:

The first round of builds failed because the server was missing the RS1 SDK. I fixed that.

In reply to: 253017271 [](ancestors = 253017271,253017160,253011472,253003067,253002438,252996479)


feat: request_uri() keepalive params

We can set keepalive_opts like
      local res, err = httpc:request_uri("http://api.m.taobao.com/rest/api3.do?api=mtop.common.getTimestamp", {
        ssl_verify = false,
        keepalive_opts = {10000, 10}
    })

Agree! I commit a few change :)

I've pushed a modified version of this change, thanks!


SyntaxError: '(' was never closed

[gooder@GOD maigret-tg-bot]$ python bot.py
File "/home/gooder/Desktop/54/maigret-tg-bot/bot.py", line 127
@client.on(events.NewMessage()
^
SyntaxError: '(' was never closed
Do
127 line:
        @client.on(events.NewMessage())

Hello, are you sure that you are using 3.8?
Please, do the following and copy the console output:
$ python3 --version
$ python3 bot.py

Hi, thank you, I'll fix it.

Fixed in e1d25ab


Add .rspec to actually run tests for rspec command

This seems to have used the wrong folder before, adding this file makes bundle exec rspec work again 👍

Alright, updated 👍


⚠ PrivateHD has degraded performance

In 4939445, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 1875 ms

Resolved: PrivateHD performance has improved in b9090b9.