[site][MINOR] Update event banner

Change Logs
Update site banner
Impact
Site changes
Risk level (write none, low medium or high below)
none
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

Tested locally!


add callback for nv.addGraph

Hi there,
this library is so useful. Thanks for all the hard work.
But how can a callback be registered with nv.addGraph?
i.e.
nv.addGraph can take a callback argument: https://github.com/novus/nvd3/blob/master/src/core.js#L114
    nv.addGraph(<generate Function>, <callback Function>)

This callback can can be used for extending the functionality of an nvd3 chart. It is a crucial part of the project that I am working on.
As far I can see there is no way to pass this in react-nvd3.
Perhaps it could be exposed as a param?

Great feedback, I will add it as a component property.

Ok amazing - thanks!

I've added the callback in the last fix. You can pass it in this way:
<NVD3Chart renderEnd={callback} .../>
Let me know if it works for you.

@topicus yup it works great - thanks a lot.


added a missing init.py to utils dir

Adds a init.py file, without which the setup does not run.

Hmm, I'm not sure this is the right thing to do here. What's the error message when __init__.py isn't there? Is it just because of the package finding mechanism?
I don't think we should install a util module.
For the fastentrypoints, we can un-vendor that by using a pyproject.toml like so: https://github.com/Z2PackDev/TBmodels/blob/190cac41a13c77d96b3cda498471701d7145d5ff/pyproject.toml#L2

I think maybe we can remove it altogether? In setup.py there is otherwise a broken import:
from utils import fastentrypoints  # NOQA
Oddly it doesn't seem to be called anywhere, I can even comment out the line and everything runs fine. Maybe this is a leftover of something that isn't used anymore?

Just for completeness I show the input and full error output
$pip install -e .
    ERROR: Command errored out with exit status 1:
     command: /home/dmarchand/virtualenv/aiida/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/dmarchand/Src/aiida-testing/setup.py'"'"'; __file__='"'"'/home/dmarchand/Src/aiida-testing/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-bivy6lmq
         cwd: /home/dmarchand/Src/aiida-testing/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/dmarchand/Src/aiida-testing/setup.py", line 10, in <module>
        from utils import fastentrypoints  # NOQA
    ImportError: cannot import name 'fastentrypoints' from 'utils' (/home/dmarchand/Install/aiida-core/utils/__init__.py)
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

It's not called anywhere, but it has an effect. It changes how entry points are resolved in editable installs.
The pyproject.toml defines this as a build dependency, after which a reasonably up-to-date pip / setuptools will fetch it automatically.

I'm doing a bit of digging into how to 'modernize' the setup part. It doesn't seem too bad I think we would just need to do the following:

Add in pyproject.toml in our case I think we can just copy/paste the same one you used for TbModels
Replace setup.json with setup.cfg I think this just a simple matter of reformatting
Modernize setup.py. This seems a little bit trickier. There is some logic here that I"m not sure is a clear and direct translation to the modern methods.

I will need to look up how to combine requirements using the 'modern' methods. This part is probably fine
EXTRAS_REQUIRE['dev'] = (
    EXTRAS_REQUIRE["docs"] + EXTRAS_REQUIRE["testing"] + EXTRAS_REQUIRE["pre-commit"]
)

This part I"m rather confused by and I'm not sure how to replace it.
        long_description=open(
            os.path.join(os.path.dirname(os.path.abspath(__file__)), 'README.md')
        ).read(),
        long_description_content_type="text/markdown",

1 & 2: yes
3: For the README,  setup.cfg has syntax to just pass a filename.
I haven't actually found a good way to replace the combining of dev dependencies. You can either hard-code it (ugly), or we can decide to only define dev anyway - I don't see a huge drawback to installing all development dependencies together.

Just to mention: The two parts "introduce pyproject.toml" and "introduce setup.cfg" are actually independent, and we could do one without the other.
Introducing the [build-system] info to pyproject.toml makes the project PEP 517 compliant. The purpose of that PEP is to define a clear interface between the tool doing the installing (pip) and the build tool (in our case, setuptools). It defines the build requirements of the package, s.t. pip can set up the environment for setuptools to do its job.
The switch from plain setup.py to setup.cfg is then entirely internal to the way setuptools builds packages - other build tools would use different files.
For AiiDA plugins we'd still need to implement setup.cfg support to the registry (https://github.com/aiidateam/aiida-registry/issues/132), but since aiida-testing isn't technically an AiiDA plugin that shouldn't be an issue here.

I'm closing this PR because I don't think it's the right solution. To continue the discussion, I opened #37 instead.
@DanielMarchand let me know if you want to tackle this, or if I should do it.


Keep HTTP connection open, but drop the thread

Hi, I am using NanoHTTPD extensively. Love it. Here's my question.
I'm doing "long-polling", i.e. I keep the HTTP connection open for like a minute (until data arrives) and only then deliver some data. In NanoHTTPD, this means keeping a thread alive for that minute. Too costly with many clients.
The modification I want is to exit the thread, but keep the socket open. Later, a timer fires and sends the HTTP response.
I think I could modify NanoHTTPD myself, but if someone more firm in it could get around to doing it - that would be so amazing.
What do you think?
Many greetings!
Stefan
BotCompany.de

That can probably be done easily with the structure I have for v3.0, the same v3.0 that I can't seem to advance any further because unit tests are giving me hell. :sob:


Watch history still shows student NOT watched the media even if they did

This turn out to be a mistake. Students are watching another course.


Use "time" in simularium files to compare different packing runs

Use Case
Ran multiple packing runs on the same recipe maybe with different inputs or just different seeds and want to compare them
Solution
Store a simularium file that has each packing result as a different time point
Alternatives
Please describe any alternatives you've considered, even if you've dismissed them

[ ] In scope for this issue: open the _all file in Simularium automatically.
[ ] Need to be able to run this in parallel


Stream

Any idea how to mutate a list or assign values to string in a class using stream while keeping it final or effectively final?
Example1:
class A {
foo () {
list1 = ImList.of(1,2,3));
for (int i = 0; i < 10; i++) {
if i == list1.get(i) {
list1.set(i, i);
}
}
}
bar() {
a = 1
for (int i = 0; i < 10; i++) {
if i == a {
a = i;
}
}
}
}

One way is to create an 'index' list using .iterate() and then just 'filter' the original list using the 'index' list.

you can create a Stream using range(0, list.size) to represents the index of list and map according to each index.

To further elaborate on the above, the error occurs due because of the lambda expression and local variables.

Taking an input variable and performing an assignment on it like the above will cause the error to appear.

Therefore, any assignment performed should be on an instanced variable,

(a can be assigned to as it is a variable belonging to the Main class)
or you have to bypass any assignment by doing what @wilsonwid and @mohddanesh mentioned.


[OSD-25656] Enhance the affinity rules to avoid pod mis-scheduling

What type of PR is this?
(bug)
What this PR does / Why we need it?
Enhance the affinity rules to avoid metrics-forwarder pod mis-scheduling.
Which Jira/Github issue(s) does this PR fix?
https://issues.redhat.com/browse/OSD-25656
For reviewer
Based on the ticket description, the current logic to determine if the metrics-forwarder pod is mis-scheduled is:
1. Check the node label:

For each node running a metrics-forwarder pod, check the value of the hypershift.openshift.io/cluster label

2. Compare namespace and serving node label:

Compare the namespace of the metrics-forwarder pod to the value of the hypershift.openshift.io/cluster label on the serving node.
If the namespace of the pod does not match the value of the hypershift.openshift.io/cluster label, the pod is considered mis-scheduled.

So, to resolve the mis-scheduling issue, I just enforce strict affinity rules in the metrics-forwarder deployment config to ensure the pod is scheduled only on nodes with the hypershift.openshift.io/cluster label matching the pod's namespace.
Also, based on the test outcome, I can see there is case that many serving nodes have the hypershift.openshift.io/cluster label missing, we need to provide a affinity configuration that accommodates these scenarios as well.
Basically, in the PR, I just:

Added required "requiredDuringSchedulingIgnoredDuringExecution" with the hypershift.openshift.io/cluster label.
Keep the previous affinity rules for handling the label missing or other edge cases.

P.S More context and test outcome is in the Jira ticket OSD-25656

Tested to create the deployment on the MC  hs-mc-13vnfh7o0 in the namespace

oc get deployment -n ocm-staging-2eigjr6f5uj8u7l6ie5ql5656ohk1nbr-rosa-hcp-new | grep -i metrics
metrics-forwarder                         2/2     2            2           46d
metrics-forwarder-2                       1/2     2            1           52s

The newly added affinity rule can be present properly.

oc get deployment metrics-forwarder-2 -n ocm-staging-2eigjr6f5uj8u7l6ie5ql5656ohk1nbr-rosa-hcp-new -o json | jq .spec.template.spec.affinity.nodeAffinity
{
  "preferredDuringSchedulingIgnoredDuringExecution": [
    {
      "preference": {
        "matchExpressions": [
          {
            "key": "hypershift.openshift.io/control-plane",
            "operator": "In",
            "values": [
              "true"
            ]
          }
        ]
      },
      "weight": 50
    },
    {
      "preference": {
        "matchExpressions": [
          {
            "key": "hypershift.openshift.io/request-serving-component",
            "operator": "In",
            "values": [
              "true"
            ]
          }
        ]
      },
      "weight": 100
    },
    {
      "preference": {
        "matchExpressions": [
          {
            "key": "node-role.kubernetes.io/worker",
            "operator": "Exists"
          }
        ]
      },
      "weight": 30
    }
  ],
  "requiredDuringSchedulingIgnoredDuringExecution": {
    "nodeSelectorTerms": [
      {
        "matchExpressions": [
          {
            "key": "hypershift.openshift.io/cluster",
            "operator": "In",
            "values": [
              "ocm-staging-2eigjr6f5uj8u7l6ie5ql5656ohk1nbr-rosa-hcp-new"
            ]
          }
        ]
      }
    ]
  }
}


Disabled states for buttons

Resolves #36

Thanks for this.
Couple of recommendations:

Let’s place the disabled button under a section. You see how the inputs are sectioned; something like that. So a header like “Disabled state” below the previous three buttons
Also let’s maintain the import order. I’m surprised eslint isn’t catching that.

Sure. Does this work?

Thanks for this mann. Want a mention on Twitter? What’s your handle?


Deobfuscation

@JoshVarga Do you know where this originally comes from?
Deobfuscating this mess should be a priority, but since the code already doesn't work right (try ./embroider test01.csv test01.hus && ./embroider test01.hus test01_processed.csv && cat test*.csv, it doesn't encode/decode properly).
Perhaps it's safer to strip this out entirely and do more research into the format, rather than attempt to correct broken code that's heavily obfuscated? I'd even put in the labour to manually work out the encoding based on some hus source files if we can just pull this code out.

So the format is documented here. Quoting:

The section is compressed using the proprietary ArchiveLib compression library made by Greenleaf Software (http://www.greenleafsoft.com). This library supports several different compression schemes, but the one used in this case is called AL_GREENLEAF_LEVEL_4. Once decompressed, the data should be exactly NumberOfStitches bytes in length with each byte sequentially representing one stitch of the pattern.

Which is repeated for stitch x then stitch y giving 3 sections in the same encryption.
Chasing this further the specifics have already been hashed out by the pyembroidery dev so we can translate that back into C for our more embedded systems friendly library and give a attribution at the top of the file to the specific file we translated (which is under the compatible MIT license).
Cheers,
Robin

I'm working on that translation, here's the attribution I'd use:
/*
    Thanks to Jason Weiler for describing the binary formats of the HUS and
    VIP formats at:

    http://www.jasonweiler.com/HUSandVIPFileFormatInfo.html

    Further thanks to github user tatarize for solving the mystery of the
    compression in:

    https://github.com/EmbroidePy/pyembroidery

    with a description of that work here:

    https://stackoverflow.com/questions/7852670/greenleaf-archive-library

    This is based on their work.
*/

This has worked, I will review what has changed. Originally I found that the greenleaf software was being used, but no longer exists. I was able to mimic what the original code was doing, but never spent the time to fully understand it. Tatarize took the original functioning code and ported it. I am not sure who deobfuscated the code. We may be able to port the deobfuscated code back.


Go compatibility

I struggled to get Go private modules working and wanted to share my workaround in case it's helpful or the changes can be incorporated. Basically the default .gitconfig generated when using commented keys doesn't seem to work with go get and related commands.
The tl;dr is I need the config to go from this:
[url "git@d5ec..:my-org/my-repo.git"]
	insteadOf = https://github.com/my-org/my-repo.git
        ...

to
[url<EMAIL_ADDRESS>	insteadOf = https://github.com/my-org/my-repo
	...

The key differences being:

urls do not end with .git
url needs to be ssh:// formatted. i.e., first : -> /, and the scheme.

The reason for this seems to be that go interacts with git by specifying the origin as https://github.com/my-org/my-repo, which works, but won't match the longer (arguably more correct) URL you've put in the config. e.g., internally go is doing git remote add origin -- https://github.com/my-org/my-repo without a trailing slash or .git.
I'm currently working around this with this sed script:
          sed -i.bak -re '
          s|(insteadOf.*https://.*)\.git$|\1|g
          s|\[url "(git@[^:]*]?):(.*?)\.git"\]$|[url "ssh://\1/\2"]|g' ~/.gitconfig

NOTE: For anyone else trying to get this working, you will also need GOPRIVATE=github.com/my-org/* as an environment variable.

Thank you for raising this issue! First, let me say that I have no experience with go at all.
I have tried to find some documentation on how go finds and loads private modules and I came across this https://golang.org/ref/mod#vcs-find:

If the module path has a VCS qualifier (one of .bzr, .fossil, .git, .hg, .svn) at the end of a path component, the go command will use everything up to that path qualifier as the repository URL. For example, for the module example.com/foo.git/bar, the go command downloads the repository at example.com/foo.git using git, expecting to find the module in the bar subdirectory. The go command will guess the protocol to use based on the protocols supported by the version control tool.

Also, a bit further down, it says:

repo-url is the repository's URL. If the URL does not include a scheme (either because the module path has a VCS qualifier or because the  tag lacks a scheme), the go command will try each protocol supported by the version control system. For example, with Git, the go command will try https:// then git+ssh://. Insecure protocols (like http:// and git://) may only be used if the module path is matched by the GOINSECURE environment variable.

This makes me wonder if you could specify your module slightly different, including the .git extension, to make it work without the extra configuration?

I honestly am not entirely sure what that is referring to, but including the scheme is not valid in go.mod. I can't go get ssh://.. without getting go get: malformed module path
There are some hardcoded assumptions in the go tooling about the github.com namespace that cause it to default to git over https. I could be wrong and there is an easier workaround, but the only solution I have seen is to use insteadOf gitconfig to rewrite the URL.

@mpdude my apologies, I seem to have been running against v0.5.0. The URL format in v0.5.3 seems to resolve everything for me without modifications. Thanks!


Add support for light colorschemes.

I can't implement this using the existing method of generating palettes. The palettes imagemagick creates only work well on a dark background.
I'm closing this for now and will probably revisit this in the future.


XSL: update micro implementation

Signed-off-by: Maxime Gervais<EMAIL_ADDRESS>

From https://github.com/MediaArea/MediaConch/pull/186
Travis fail is expected, Checks will be updated tomorrow.


Upgrade third party dependencies

$Subject

Upgrade commons-codec version to 1.16.0.wso2v1
Upgrade Xalan version to 2.7.3.wso2v1
Add Xalan serializer which is removed from Xalan from 2.7.3.wso2v1

Related PR:

https://github.com/wso2/carbon-business-process/pull/677

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/5552414820

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/5552414820
Status: success

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/5679024376

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/5679024376
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/5679024376

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/5679024376
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/5680004449

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/5680004449
Status: success

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6371344904

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6371344904
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6372237078

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6372237078
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6401915899

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6401915899
Status: success


feat: handle CORS properly

Handle CORS properly without NGINX.
Added a flag (--permissive-cors-policy) in the CLI to enable permissive CORS policy.

There're 2 problems (for this PR to work as a "general" solution):

Enabling this CORS policy by default (without a flag) might be too permissive for many systems.

simpleCorsResourcePolicy only handle GET and POST requests. But cardano-wallet has some endpoints using PUT and DELETE too.

There're 2 problems (for this PR to work as a "general" solution):

Enabling this CORS policy by default (without a flag) might be too permissive for many systems.
simpleCorsResourcePolicy only handle GET and POST requests. But cardano-wallet has some endpoints using PUT and DELETE too.

Hi @novadev94, I have fixed these issues. Can you help to review this PR again? Thanks!


Does not work if the variable is anything other than 'open', making multiple modals impossible

If you change the variable to anything other than 'open', even if you change the bind, the modal doesn't show up or work. This makes it impossible to have more than one modal on a page.

My mistake. Syntax error on my part.


Avoid HIGH CPU when Peer disconnected

Can one of the admins verify this patch?

@li-yanqing I'm not a maintainer of this repo but seems like this is related to an issue we are having as well. when our MQTT servers are restarted (in order to deploy a new version) all our MQTT clients experience high cpu utilization and only after we are restarting the clients the issue is resolved.
can you provide more context on how you came up with this fix and whether it solved your original problem?
thanks!

@ranl Thanks for sharing your problem.  Actually, I have not been using this lib for a long time.  I don't think it's a suitable library of mqtt client with good performance.  There's no serious problem if you just use it for function testing except performance testing. I suggest another library netty-mqtt or my fork lyq/netty-mqtt
Okay, Let's talk about your problem. I can not remember all of it clearly.  As I know, I add that codes  for notify my program to stop sending message in "listener.onDisconnected()".  At the same time, to invoke "transport.stop()" to stop transport(I don't know its mechanism very well, Maybe the transport use something like spin lock and waste lots of CPU after disconnection) .

I make the send method as synchronized cause I found it lost some messages when lots of messages were being sent. Also that's why I gave up this library,  In concurrency, counter is not very correct.  I use "synchronized" for this method just want to keep correction of counter with reducing some performance.  (Maybe you can use other locks to improve a little bit performance).
A big problem is that  a client must use two or three threads to handle its business. If there're 60,000 clients in your testing,  Any OS can not handle so many threads in a process. So I don't think it's a good idea to use this library in performance testing.
With another library(with Netty/Async),  60,000 clients had been simulated in my testing.

thanks for the detailed response @li-yanqing ! I'll update in case we find something interesting.

which library are you currently working with? can u share a link?


Political ware breaks Atlantis module

Trying to use a module-generated SSL Certificate via the Atlantis module does not work.
The module referenced has been updated to political-ware, and this breaks the Atlantis module. Suggest limiting the "acm" module version to v3.3.0.
With any later version, we get the error: Error: importing ACM Certificate: operation error ACM: ImportCertificate, https response error StatusCode: 400, RequestID: a7780e22-3f96-426f-8d21-3a7957c12b59, api error ValidationException: 2 validation errors detected: Value at 'privateKey' failed to satisfy constraint: Member must have length greater than or equal to 1; Value at 'certificate' failed to satisfy constraint: Member must have length greater than or equal to 1. This results because you can't define the political variables required to set create_ to true.

please use the issue template provided and supply the requested details

Alternatively, you can just not use these modules if you don't like "politics" in these modules... it is simple...


Invalid NIF example e-Translation

The example of e-Translation contains syntax errors:

It ends with  semicolon not period.
URI's of prefixes contains whitespaces. (URI is all between < and >)

Invalid example both in simple and full documentation:
http://api-dev.freme-project.eu/doc/api-doc/full.html#!/e-Translation/tildeTranslate
and
http://api-dev.freme-project.eu/doc/api-doc/simple.html#!/e-Translation/tildeTranslate

@ArneBinder please correct the example and update the documentation.

fixed.

@pheyvaer please verify that it is ok now and then close the issue.


Whether there was a way to begin sending the zip file as its being generated?

Hello, I'm working on a project, and I'm trying to process a bunch of files and return them in a zip file. I'm using archiver and I'm hosting on aws. However, AWS idles out before the zip file is finished creating. I was wondering whether there was a way to begin sending the zip file as its being generated?
Its sent in response by using a stream from archiver to the response object
Additional Information
This is automatically mined by FRMiner2.0 from Gitter.
mdsflyboy @mdsflyboy posted to Room expressjs/express on Mar 19 03:40 (UTC+8).

Closing due to no response.


[Bug] Can't execute any function of program on testnet3

🐛 Bug Report
I can't execute any function these 2 days, and it always return the error info " Program gtt_token.aleo not found"
Steps to Reproduce

I deploy my program successfully as follows:
snarkos developer deploy gtt_token.aleo --private-key xxx--query "https://vm.aleo.org/api" --path "/root/src/gtt_token/build" --broadcast "https://vm.aleo.org/api/testnet3/transaction/broadcast" --fee 250000 --record "
{
owner: aleo1xxx.private,
microcredits: 50000000u64.private,
_nonce:<PHONE_NUMBER>985977638992326551654349514126354354477466147823339948410212765178group.public
}"

✅ Successfully broadcast deployment at1xfcxhkrxlfrpd5t6kwps54hdllt2hz0p72afer7e4duja9rg2u9qlmsw2r ('gtt_token.aleo') to https://vm.aleo.org/api/testnet3/transaction/broadcast.
at1xfcxhkrxlfrpd5t6kwps54hdllt2hz0p72afer7e4duja9rg2u9qlmsw2r

I check the program on Aleo Explorer https://www.aleo.network/transactions

I can't execute any function like this:
snarkos developer execute "gtt_token.aleo" "mint_public" "xxx" "10000000000u64" --private-key "xxx" --query "https://vm.aleo.org/api" --broadcast "https://vm.aleo.org/api/testnet3/transaction/broadcast" --fee 1000000 --record "
{
owner: aleo1xxx.private,
microcredits: 34002000u64.private,
_nonce:<PHONE_NUMBER>260376734776552208989038294896605109076968391469615776530433175132group.public
}"

📦 Creating execution transaction for 'gtt_token.aleo/mint_public'...
⚠  Program gtt_token.aleo not found

But as you see, the Program gtt_token.aleo does exist on  Aleo Explorer.

Expected Behavior
We can execute function normally.
Your Environment
code version:
commit a7cf1b4cb4dab5e66dee6f7b68ab2981af0c2690 (HEAD -> testnet3, tag: v2.1.3, origin/testnet3, origin/HEAD)
rust version:
rustc 1.70.0 (90c541806 2023-05-31)
OS:
ubuntu

It looks like gtt_token.aleo was only deployed 45 minutes ago to the network.
https://www.aleo.network/programs/gtt_token.aleo
Can you confirm this is still an issue?

It still fails now.
So, how long need I wait for ?

It looks like gtt_token.aleo was only deployed 45 minutes ago to the network. https://www.aleo.network/programs/gtt_token.aleo
Can you confirm this is still an issue?

It looks like gtt_token.aleo was only deployed 45 minutes ago to the network. https://www.aleo.network/programs/gtt_token.aleo
Can you confirm this is still an issue?

It still fails now.
So, how long need I wait for ?

It's the same bug with #2470

It's the same bug with #2470


Merge Compendiums branch into main

My compendiums branch contains the compendium files (if any) for the following:

Cypher System Rulebook
Claim the Sky
First Responders
Godforsaken
Ptolus
Stay Alive
The Stars Are Fire
We're All Mad Here

Compendium packs which have no entries are not defined in modules.json, so as to keep the list of separate compendiums to a reasonable size.
It contains empty compendiums for the following (to ensure that modules.json lists ALL the documents supported by the cyphersystem-compendium):

The Origin

The one that you could not do will be done next week.
I am keeping this pull request open until then, so people know about it.

I have not done these two:
Ptolus
The Origin
But both are listed in the cyphersystem-compendium list of books.
I've only include the @type, @descriptor, @focus, and @ability with @tier tags.
Since there aren't already existing skills, I haven't added any @skill or @equipment tags to any of the compendium entries.

Great!
Are we still missing some books? Or did you manage to get all of them?

Great! Are we still missing some books? Or did you manage to get all of them?

cyphersystem-compendium lists "The Origin" as a source, but I don't have that one.
I don't know if there are any in there.

I will have a look on Monday when I am finally back on my personal computer. But seems you managed to get pretty much all of them.

I think you may be right there.
It will also be easier to maintain when new books are coming or to check for errors.
Tell me if you want me to open a new module and do the whole process with FoundryVTT to make it official or if you want to do it :)


Notifications are not receiving on iphone 12.Rest of the devices are getting the notification

Hello! Folks.I'm trying to send notification from firebase to app but I found something weird that notifications are coming upto iphone 11 but on iphone 12 not.Can anybody tell me whats can be the reason

What are the package versions that you are using? From this repo and also the https://github.com/zo0r/react-native-push-notification

I updated the firebase version and it worked


quick fix

Docs Build status updates of commit 34846f1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/release-notes.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@Reezaali ready to merge

Docs Build status updates of commit b3088ae:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/release-notes.md
:bulb:Suggestion
View
Details

microsoft-edge/webview2/release-notes.md

Line 59, Column 5: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? It's usually better not to specify a version, so the link always goes to the canonical version. If you really need to link to a specific version, add &preserve-view=true to the URL: /microsoft-edge/webview2/reference/win32/icorewebview2frame?view=webview2-1.0.902-prerelease#addhostobjecttoscriptwithorigins. Otherwise, remove the view parameter.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 214a797:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/release-notes.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 4d105b2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/release-notes.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Feature Request: Smaller Disk Drives?

Can't blame me for trying :)

Just connect a external storage to a chest then.


Relax dependency backports.functools-lru-cache to be >= 1.2.1

backports.functools-lru-cache is up to version 1.4.  Because of how setuptools ends up calculating transitive dependencies, if you depend on something that depends on backports.functools-lru-cache (no version specified), and depend on something that depends on arrow that depends on backports.functools-lru-cache==1.2.1, you can end up with setuptools pulling in backports.functools-lru-cache at 1.4, and skipping/ignoring the ==1.2.1 requirement.
This then breaks execution, as package requirements aren't satisfied.
I've run the complete test suite on both linux and macos using 1.4 (latest), with no issue.  And, of course, the travis builds for this pr should pull in 1.4 as well, because of the relaxed requirements.
fixes #497

Codecov Report

Merging #499 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #499   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          14     14
  Lines        3189   3189
  Branches      229    229
=====================================
  Hits         3189   3189

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 66ac193...3e069f4. Read the comment docs.

Note that declaring dependencies like this via runnable code means you can run into issue when generating wheels, specifically that the code to determine your dependencies will be run when the when is generated rather than when the wheel is installed.
Two solutions:

don't provide wheels
use the extra_requires() method as outlined here


Sign up Page

Is your feature request related to a problem? Please describe.
Add a signup page project .

Is your feature request related to a problem? Please describe.
I would like to contribute sign up form using HTML, CSS & JS.
Please assign me this issue.

Is your feature request related to a problem? Please describe.
I would like to contribute sign up form using HTML & CSS.
Please assign me this issue.

Is your feature request related to a problem? Please describe.
I would like to contribute sign up form using HTML & CSS.
Please assign me this issue.

I want to work upon this issue @abhiramkg2000

@aditya687  I am not the project admin,pls ask @Ayush7614  to assign it to you

Okk
On Sun, 1 Aug, 2021, 3:56 PM abhiramkg, @.***> wrote:

@aditya687 https://github.com/aditya687 I am not the project admin,pls
ask @Ayush7614 https://github.com/Ayush7614 to assign it to you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Ayush7614/Bundli-Frontend/issues/241#issuecomment-890492051,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANVEZPKUOFSXPTFIESQVMQ3T2UONRANCNFSM5AKTGOFA
.

HI @Ayush7614 , I want solve this issue. Could you please assign this to me. And I want to know Will this gonna count in hacktoberfest 2021?

Hi @Ayush7614  sir i want to work on this issue , can you assign this to me ?

hi @Ayush7614, Sir, I would like to work on this issue, can you assign this to me?


tests: kernel: pending: move to new ztest API

Move tests/kernel/pending/ to use new ztest API.
Signed-off-by: Guo Lixin<EMAIL_ADDRESS>

Have some dependency issues in test cases, for now they must run in a strict order.


api errors: Give RequestError a constructor that writes httpStatus and data

And adapt RequestError's callers to use the new constructor instead
of the Error class's constructor, which is pretty generic and just
takes message?: mixed.
This means one functional change, which seems like a bug fix: the
RequestError we construct in fetchServerEmojiData now stores the
http status code, instead of dropping it on the floor.

Hmm interesting.
My intention when writing RequestError was that it'd be abstract: every instance would be an instance of a subclass, and specifically of either ApiError, ServerError, or NetworkError. But it seems I didn't think about how the constructor inherited from Error would mean it wasn't actually abstract.
I think the right fix for the functional issue here is that fetchServerEmojiData should make a ServerError in that situation, not a base RequestError.
And then RequestError should be made explicitly abstract. This can be done dynamically by having the constructor throw if it's being invoked at the base class, using new.target:
https://stackoverflow.com/a/30560872
In this case, though, that might do more harm than good given that this is constructed only in error-handling paths. Lacking a way to say it's abstract in the static types, maybe best is to just say that explicitly up front in its jsdoc.

Cool, makes sense. What do you think about the first three commits:
33f9819af api errors [nfc]: Make MalformedResponseError's data param optional
34d689763 api errors [nfc]: Make UnexpectedHttpStatusError's data param optional
2b7578dfe api errors [nfc]: Give ServerError constructor an optional data param

I think this makes the meaning clearer; before, the implementation
relied on the convenient fact that `undefined` is a subtype of
`mixed`.

This doesn't feel like an accidental convenient fact to me, but rather a fundamental one: mixed is the type which has everything as a subtype. So I don't see the motivation for these on their own.

Closing in favor of: #5667


Render component if at top on load

Plugin doesn't handle case when lazyloaded element is already positioned in viewport on page load (at the top of the page).
It requires at least one scroll event to occur.

In componentDidMount, there's a checkVisible call, so it should work just fine.
https://github.com/jasonslyvia/react-lazyload/blob/7b282db4f811871c43d31d2e1e81c7e387210abd/src/index.js#L207
Maybe some demo code which reproduces this issue will help.

my bad, everything is fine


Syntax coloring on pre-5.0 reg files produces nearly unreadable results

I was prompted to install this extension, which I happily did. This is what my .reg file looks like. I'm having great difficulty reading it.
It appears that the extension doesn't support the earlier format of .reg files, even though they are still supported by RegEdit.

Can you please post a code snippet of that causes issues for you ?
I will try to reproduce and fix this over the weekend.

You know, I was moving fast and didn't take a good enough look at the file. It's not a valid REGEDIT4 file. I'll close this.

Closed because the file used to test was not a valid REGEDIT4 file.


Write DependencyManager for modules.

Check Composer's and Node.js dependency resolution algorithm.

Use Composer.


feat(yaml/unstable): create unstable yaml parse, add support of custom types

This PR adds types option to unstable parse function to support custom type definition.
related #6037

Closing this one for now as there seems no potential users of this feature.
Let us know if you are interested in using custom types in yaml parsing.


Import all dependencies

There are currently 49 dependencies in the Az module, all of which need to be manually installed one at a time before the top level Az module can be installed.
Is there a cloud shell script or way of installing a runbook module and all dependencies?

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

ID: 284c2dfa-cfa0-11a3-c082-2bd14e4fbd63
Version Independent ID: 84e724d8-aae8-942f-87ed-0e726f2155f8
Content: Using Az modules in Azure Automation
Content Source: articles/automation/az-modules.md
Service: automation
Sub-service: shared-capabilities
GitHub Login: @bobbytreed
Microsoft Alias: robreed

Thanks for your comment. We are actively investigating and will get back to you shortly. Thanks for your patience.

@bobbytreed - do we have such a script available?

We do not currently. I apologize for the inconvenience.  We are working on a solution that will prevent the user from needing to update new Automation accounts off of AzureRM.
#please-close

not having this makes runbooks almost unusable folks....


Add auto-retry for npm ci of frontend

Signed-off-by: Kevin Cormier<EMAIL_ADDRESS>

/cherry-pick release-2.6


can not dynamically add portRules to load Balanacers

Rancher Version: 1.2.0+
Docker Version: 1.12.0
OS and where are the hosts located? (cloud, bare metal, etc): AWS/Ubuntu
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB) External DB
Environment Type: (Cattle/Kubernetes/Swarm/Mesos) Cattle
Prior to version 1.2 of Rancher we could use addServiceLink to link a load balancer, but this is no longer the case with 1.2.0, and as such it has broken our system.
Can this be fixed?

Same for me. Workarounded using v2-beta api with 'loadbalancerservices' PUT request
Python example: https://github.com/clicman/rancher-cli-addons/blob/master/rancher/service.py#L122
Example with rancher-cli-addons:
rancher-cli --action=update-lb --data="{\"lbConfig\":{\"portRules\":[{\"protocol\":\"http\",\"type\":\"portRule\",\"priority\":1,\"hostname\":\"api.${SERVICE_DOMAIN}\",\"sourcePort\":80,\"targetPort\":5099,\"serviceId\":\"${API_SVC_ID}\"},{\"protocol\":\"http\",\"type\":\"portRule\",\"priority\":1,\"hostname\":\"site.${SERVICE_DOMAIN}\",\"sourcePort\":80,\"targetPort\":3000,\"serviceId\":\"${SITE_SVC_ID}\"}]}}"

I can confirm that the v1 api is broken, on Rancher v1.3.0.
When we try to call addServiceLink on a LB service using the v1 api, the ports part gets stripped, when inspecting the audit log.
This request:
HTTP/1.1 POST /v1/projects/1a2887/loadbalancerservices/1s433/?action=addservicelink
Host: rancher.test.example.net
Accept: application/json
Content-Type: application/json
Content-Length: 78

{
"serviceLink": {
"serviceId": "1s475",
"ports": [
"dummy.test=3000"
]
}
}

Gives a proper response (the service object):
HTTP/1.1 200
Date: Thu, 02 Feb 2017 11:37:05 GMT
X-Api-Client-Ip: 172.xx.yy.zz
Server: nginx/1.9.10
X-Api-Account-Id: 1a2887
Transfer-Encoding: chunked
Content-Type: application/json; charset=utf-8
X-Api-Schemas: https://rancher.test.example.net/v1/projects/1a2887/schemas
Connection: keep-alive
X-Rancher-Version: v1.3.0
Expires: Thu, 01 Jan 1970 00:00:00 GMT

{
"id": "1s433",
"type": "loadBalancerService",
"links": {
"self": "…/v1/projects/1a2887/loadbalancerservices/1s433",
"account":
...

However, the link does not show up in the UI for the LB service, and the audit log shows this request:
7 minutes ago	  api.loadBalancerService.addservicelink 	None	ExampleEnv	loadBalancerService: 1s433	 UI Session
172.xx.yy.zz

With this request object:
{
  "serviceLink": {
    "serviceId": 475
  }
}

@clicman your line ref is probably off by now, as master has changed since you pasted that... better to paste to the current version of a file when you refer to specific lines in it ;)

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


How to apply face cropping?

I am trying to achieve face cropping in imagekit.
https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#face-cropping-fo-face
However, I am unsure what params I need to change inside my Transforms.
Here is the current working Imgix setting:
 'BioTeaser'            => [
    'displayName' => 'Bio Teaser Image',
    'transforms'  => [
      ['width' => 400],
      ['width' => 1200],
    ],
    'defaults'    => [
      'ratio'             => 1 / 1,
      'auto'              => static function ($image) {
        if ($image instanceof \craft\elements\Asset) {
          if ($image->getFieldValue('autoEnhanceImage') === false) {
            return 'compress,format';
          }
        }
        return 'compress,format,enhance';
      },
      'transformerParams' => [
        'fit'     => 'facearea',
        'facepad' => '3.6'
      ],
    ],
  ],

When I inspect an image I see it is has these transforms:
https://ik.imagekit.io/ibreoxzd1/tr:w-400,h-400,q-80,c-maintain_ratio,fo-top,zoom-0.9/Doug-Alcock-Left.jpg
I can manually update this to:
https://ik.imagekit.io/ibreoxzd1/tr:w-400,h-400,q-80,c-maintain_ratio,fo-face,z-0.9/Doug-Alcock-Left.jpg
to get the desired effect.
However, how am I able to change the fo-top to fo-face?
I believe I can just pass the z: as a transformerParam
Thanks
Terry

The corresponding imagekit options would be something like transformerParams: { focus: 'face', z: 0.9 }. To figure out what parameters to use, you have to refer to the imagekit php library documentation, where they list the available parameters, and the corresponding URL parameter, see https://github.com/imagekit-developer/imagekit-php#list-of-supported-transformations. z actually isn't there, so apparently it's not completely updated, but..


[BUG/Help] IndexError: index out of range in self

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Traceback (most recent call last):
File "main.py", line 429, in
main()
File "main.py", line 368, in main
train_result = trainer.train(resume_from_checkpoint=checkpoint)
File "/ossfs/workspace/THUDM/ptuning/trainer.py", line 1604, in train
return inner_training_loop(
File "THUDM/ptuning/trainer.py", line 1873, in _inner_training_loop
tr_loss_step = self.training_step(model, inputs)
File "THUDM/ptuning/trainer.py", line 2604, in training_step
loss = self.compute_loss(model, inputs)
File "THUDM/ptuning/trainer.py", line 2635, in compute_loss
outputs = model(**inputs)
File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/root/.cache/huggingface/modules/transformers_modules/chatglm-6b/modeling_chatglm.py", line 1158, in forward
transformer_outputs = self.transformer(
File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/root/.cache/huggingface/modules/transformers_modules/chatglm-6b/modeling_chatglm.py", line 905, in forward
inputs_embeds = self.word_embeddings(input_ids)
File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1538, in _call_impl
result = forward_call(*args, **kwargs)
File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/sparse.py", line 162, in forward
return F.embedding(
File "/opt/conda/lib/python3.8/site-packages/torch/nn/functional.py", line 2210, in embedding
return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)
IndexError: index out of range in self
Expected Behavior
请问下是不是cpu跑不起来啊
Steps To Reproduce
sh train.sh后报错
Environment
- OS:Linux
- Python:3.8.16
- Transformers:transformers==4.27.1
- PyTorch:torch==2.0.0
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :False

Anything else?
No response

请确保你使用的 tokenizer_config.json 是最新的

有可能是你数据集合太少了，检查你的dataset数量。


Problem creates "Search Path" inside Python Project

This issue has been moved from a ticket on Developer Community.

[severity:It bothers me. A fix would be nice]

Look at scr.shot.
Path creates as relative from ProjDir.
\.virtualenvs is %userprofile%\.virtualenvs
ProjDir is %userprofile%\source\repos\MyProj

i create shortcut (on Desktop) to MyProj
i create symlink (on Desktop) to MyProj

If i open MyProj folder with shortcut - "Search path" work (if relative path looks like on scr.shot).
If i open MyProj folder with symlink - "Search path" not work (if relative path looks like on scr.shot).
Why it happen?
Because:

shortcut is %userprofile%\source\repos\MyProj
symlink is %userprofile%\Desktop\MyProj

I think create "Search path" as relative is not good idea.
PS
Interesting.
How VS create relative "Search path" if \.virtualenvs place on another disk? ;)

Original Comments
Feedback Bot on 4/24/2024, 07:18 PM:
(private comment, text removed)
Feedback Bot on 4/24/2024, 07:18 PM:
(private comment, text removed)

Original Solutions
(no solutions)

Thanks for reporting the issue. The screenshot attached is corrupted, could you please share it again?

Going to close this out. If the issue still persists, please reopen with the information requested. Thanks.😊


NCER: implement TACU(UCAT) and vram transfer

vram transfer is set immediately after the OAM, and is present if the vram transfer pointer in the CBEK(KEBC) header is not null, located as a u32 at 0x10 in the header (not including magic and size)
format for vram transfer info is as follows
u32 sizeToTransfer;
Data *dataPtr;

Data format is as follows
u32 dataOffset;
u32 size;

TACU(UCAT) is a user specified extended attribute information format, with very limited to no documentation on it. whether it is present is somewhat random, and depends on the options the NCER was created with. TACU is located directly after vram transfer, and just before the LBAL section
the format for TACU is as follows
u32 magic = "TACU";
u32 size;
u16 numCells;
u16 numAttributes;
u32 *cellAttributePtr;
u32 cellAttributes[];

the TACU is padded to 0x10 (as far as I can tell, assuming that the padding is not relevant information), not including the magic and size

the vram transfer pointer is a u32 at 0x24 in the NCER file (including the generic nitro header, and the magic and size at the start of the KBEC section), so that wouldn't be 0x10

after some digging, figured out the offset of the TACU section is a u32 at 0x2C in the entire NCER file, and the value stored is relative to start of KBEC + 8.
(so therefore TACU pointer is at 0x1c relative to start of KBEC, aka it is the u32 right after the vram transfer pointer)

vram transfer added in, TACU still TODO


docs: added missing leading slash

🔗 Linked issue

❓ Type of change

[x] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

More changes on the way, but they aren't directly related to this, so I'll create a separate pull request for that.

Thank you!


api for fetching products data

Description
products displaying on shop page is static , API for fetching data from database and displaying it dynamically would be better
Screenshots
No response
🥦 Browser
Google Chrome
Checklist ✅

[X] I checked and didn't find similar issue
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (blank for no)

please assign this task to me

Hi @Nitish-hack , great idea ⚡
Can you help me with these APIs before going for the data fetching part ?

Currently, we are fetching the shop's data statically from a file, and then just rendering it out based on categories
You can understand this if you see the Products.jsx where we are filtering these data based on categories which are passed as params/props.
I need you to make an API, so that I can add the  products to DB
Then you can add an API to fetch the products !

Will you be able to do so ?

yeah I can do that, will that count as gssoc contribution?
On Sun, 21 May, 2023, 8:25 pm Tamal Das, @.***> wrote:

Hi @Nitish-hack https://github.com/Nitish-hack , great idea ⚡
Can you help me with these APIs before going for the data fetching part ?

Currently, we are fetching the shop's data statically from a file
https://github.com/IAmTamal/Milan/blob/main/src/assets/data/shop/Shop_Data.js,
and then just rendering it out based on categories
You can understand this if you see the Products.jsx
https://github.com/IAmTamal/Milan/blob/main/src/components/shop/Products.jsx
where we are filtering these data based on categories which are passed as
params/props.
I need you to make an API, so that I can add the products to DB
Then you can add an API to fetch the products !

Will you be able to do so ?
—
Reply to this email directly, view it on GitHub
https://github.com/IAmTamal/Milan/issues/700#issuecomment-1556199828,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZJPES6BP6NTAJKH3Q4QYR3XHIUHXANCNFSM6AAAAAAYI2VHFI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @Nitish-hack Yes it will, you can make another issue for Adding an API to fetch the products and then start working on it.
After than you can work on this issue - so you get 2 good contributions too !

awesome

should I put a new issue for "API to add products " so that you can assign me that

should I put a new issue for "API to add products " so that you can assign me that, as there is no assignees showing in this issue, you didn't assigned me i guess

okay

thanks


npm package missing withDocs function

After I've run yarn add storybook-readme, it's node_modules/storybook-readme folder is missing with-docs.js file, so I can't use it

This feature is still in beta at 3.1.0-beta2
<EMAIL_ADDRESS>I am going to release to stable version in next few days.

I suggest you to put updated readme to the related branch until release, cause I spent plenty of time trying to figure out what's going on here

Thank or suggestion!)
Usually we do the way you said.
But this time something went wrong


[SPARK-8851][YARN] In Client mode, make sure the client logs in and updates tokens

In client side, the flow is SparkSubmit -> SparkContext -> yarn/Client. Since the yarn client only gets a cloned config and the staging dir is set here, it is not really possible to do re-logins in the SparkContext. So, do the initial logins in Spark Submit and do re-logins as we do now in the AM, but the Client behaves like an executor in this specific context and reads the credentials file to update the tokens. This way, even if the streaming context is started up from checkpoint - it is fine since we have logged in from SparkSubmit itself itself.

@tgravescs - Please take a look. This is a fix for the keytab-based login in client mode. This seems to be working in yarn-client and yarn-cluster modes.

Merged build triggered.

Merged build started.

Test build #37217 has started for   PR 7394 at commit 26f8bfa.

Test build #37217 has finished for   PR 7394 at commit 26f8bfa.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Could you explain this further?
"Since the yarn client only gets a cloned config and the staging dir is set here, it is not really possible to do re-logins in the SparkContext. "
Are you saying that the staging dir isn't in the config in the SparkContext?

In Client mode, the SparkContext would not know about the staging dir, because the stagingDir is set in SparkContext only after the scheduler backend is created. Changing the order of these things is something I don't want to mess with. For this reason, the YarnClientSchedulerBackend cannot actually start the ExecutorDelegationTokenUpdater there (since we'd need to know where the credential files are).
I will change the direct initialization of ExecutorDelegationTokenUpdater to SparkHadoopUtil.startExecutorDelegationTokenRenewer

Merged build triggered.

Merged build started.

Test build #37250 has started for   PR 7394 at commit 0c48ac2.

Perhaps I'm missing something but I thought ExecutorDelegationTokenUpdater just needs the spark.yarn.credentials.file conf setting.  in YarnClientSchedulerBackend we pass the sparkconf into new Client which then in submitApplication should populate spark.yarn.credentials.file  and then you can use it after submitApplication in YarnClientSchedulerBackend to SparkHadoopUtil.startExecutorDelegationTokenRenewer.
its very similar to what you have just moving the call from submitApplication out into YarnClientSchedulerBackend which just seems like a more logic place to me.    Since we already logged in on submission this shouldn't need to run for a while so we could easily wait to start this like we do asyncMonitorApplication.

Yeah, I think that should work - since at that point, it should have the staging dir set.

Merged build triggered.

Merged build started.

Test build #37255 has started for   PR 7394 at commit 2c80540.

I verified that this is working in both client and cluster mode now.

Merged build triggered.

Merged build started.

Test build #37261 has started for   PR 7394 at commit c872caa.

Test build #37261 has finished for   PR 7394 at commit c872caa.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test build #37250 has finished for   PR 7394 at commit 0c48ac2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test build #37255 has finished for   PR 7394 at commit 2c80540.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #37275 has started for   PR 7394 at commit 5c4fa63.

Test build #37275 has finished for   PR 7394 at commit 5c4fa63.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #37293 has started for   PR 7394 at commit de08f57.

Test build #37293 has finished for   PR 7394 at commit de08f57.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Mostly looks good, couple minor things. the one is allowing args and configs intermixed. If we want to file separate jira for that I'm fine with it since I think its current behavior.

Merged build triggered.

Merged build started.

Test build #37531 has started for   PR 7394 at commit 9a2166f.

Test build #37531 has finished for   PR 7394 at commit 9a2166f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

+1


Add Material UI default theme to project

Add an MUI default theme component to the app. This acts as a single point to adjust styles in the app like font, colour, font size e.t.c
An example can be seen here: https://mui.com/material-ui/customization/theming/
We currently have defined a theme component in src/App.js:

But we should include more styles already used throughout the app. This will reduce the amount of inline css used in components
Dod:

An MUI theme component is created with the ability to adjust its styles

https://mui.com/material-ui/customization/default-theme/#main-content


fix podspec

Summary
Fix podspec for pod install from git (for example: private pod repo)

Test Plan

What's required for testing (prerequisites)?
What are the steps to reproduce (after prerequisites)?
Compatibility

OS
Implemented

iOS
✅❌

Android
✅❌

Checklist

[ ] I have tested this on a device and a simulator
[ ] I added the documentation in README.md
[ ] I mentioned this change in CHANGELOG.md
[ ] I updated the typed files (TS and Flow)
[ ] I added a sample use of the API in the example project (example/App.js)

LGTM!


Make find_library for ASan work on Ubuntu 20.04

This plain find_library(ASAN_LIBRARY asan) somehow fails to find libasan
on Ubuntu 20.04 (and likely other Debian-based systems). Mentioning
libasan.so.5 as a library file name candidate fixes this.

It's weird indeed. Good point about future-compat, so I've added libasan.so.6.

It's weird indeed. Good point about future-compat, so I've added libasan.so.6.


Avoid even more closures with an additional overload of AsyncObservable.Create

There's more room for improvement, especially wrt the T4-generated operators.

@bartdesmet First impression of how dummy parameters can be avoided. Synatx is currently Build<TResult>.From(....) though the final naming is to be determined.

The builder pattern looks good and concise to me. I'm open to naming suggestions. Given it's internal, we have flexibility to rename it any time. My initial thought was CreateAsyncObservable.From(...). Verbose but clear.

Renamed it.
In a future update to this, I'd like to remove the distinction between source and state because this currently prevents easy updates to most T4-generated operators.

A logical next step to move AsyncRx.NET forward is to invest in the test framework - as closely mirroring the Rx one as possible to ensure familiarity - and have some good test coverage prior to a lot more surgery. If we're ambitious, we could try to get the virtual time tests for query operators in a centralized place so they can be reused across Rx and AsyncRx. Their behavior should be equivalent except for a few rare places (where we can have minor Rx/AsyncRx-specific test cases remain decentralized). The exact mechanism to achieve this is up in the air; I can think of a few ways.

Addressed the remarks.
Would you mind labelling this hacktoberfest-accepted? I like the shirts...

@bartdesmet

The exact mechanism to achieve this is up in the air; I can think of a few ways

One thing that comes to my mind is that, since sharing test sources between projects is probably impossible, we might use an approval test framework, so that all the assertions on the received messages that we have in the tests today will instead be *.verified files, and those might be shared. Just brainstorming.


[FEATREQ] Auto populate the data from nusmods timetable

Is your feature request related to a problem? Please describe.
As a user, I want to import timetable from nusmods
Describe the solution you'd like

Copy the generated link from nusmods timetable
nus-timetable optimizer can auto populate the modules (without me manually entering it in)

Do you think this is a good idea?

Yes, sounds like a great idea actually! That also seems like the more common use-case.

If this is something you'd like to do and file a PR for, please feel free.


Xiaomi Air Purifier 3 support

Home Assistant release with the issue:
0.97.2
Last working Home Assistant release (if known):
Never
Operating environment (Hass.io/Docker/Windows/etc.):
Virtual env on Raspbian Buster
Component/platform:
https://www.home-assistant.io/components/fan.xiaomi_miio/
Description of problem:
I get an exception when trying to discover the new Xiaomi Air Purifier 3:

Got exception while fetching the state: {'code': -5001, 'message': 'command error'}

This looks actually normal because the component doesn't seem to support yet this model (I thought Xiaomi Air Purifier V3 was equal to Xiaomi Air Purifier 3 but it seems not). According to the traceback, the exact model name is zhimi.airpurifier.ma4
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
fan:
  - platform: xiaomi_miio
    host: purifierip
    token: purifiertoken

Traceback (if applicable):
2019-09-27 18:17:53 DEBUG (MainThread) [miio.protocol] Unable to decrypt, returning raw bytes: b''
2019-09-27 18:17:53 DEBUG (MainThread) [miio.device] Got a response: Container:
    data = Container:
        data = b'' (total 0)
        value = b'' (total 0)
        offset1 = 32
        offset2 = 32
        length = 0
    header = Container:
        data = b'!1\x00 \x00\x00\x00\x00\x07_/\x82\x00\x00\x06\xb7' (total 16)
        value = Container:
            length = 32
            unknown = 0
            device_id = b'\x07_/\x82' (total 4)
            ts = 1970-01-01 00:28:39
        offset1 = 0
        offset2 = 16
        length = 16
    checksum = b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff' (total 16)
2019-09-27 18:17:53 DEBUG (MainThread) [miio.device] Discovered 075f2f82 with ts: 1970-01-01 00:28:39, token: b'ffffffffffffffffffffffffffffffff'
2019-09-27 18:17:53 DEBUG (MainThread) [miio.device] <IP_ADDRESS>:54321 >>: {'id': 1, 'method': 'miIO.info', 'params': []}
2019-09-27 18:17:53 DEBUG (MainThread) [miio.device] <IP_ADDRESS>:54321 (ts: 1970-01-01 00:28:39, id: 1) << {'id': 1, 'result': {'life': 1719, 'uid':<PHONE_NUMBER>, 'model': 'zhimi.airpurifier.ma4', 'token': 'purifiertoken', 'fw_ver': '2.0.5', 'mcu_fw_ver': '0021', 'miio_ver': '0.0.5', 'hw_ver': 'esp32', 'mmfree': 64812, 'mac': 'XX:XX:XX:XX:XX:XX', 'wifi_fw_ver': 'v3.1.4-56-g8ffb04960', 'ap': {'ssid': 'myssid', 'bssid': 'mybssid', 'rssi': -45, 'primary': 3}, 'netif': {'localIp': 'purifierip', 'mask': '<IP_ADDRESS>', 'gw': 'gwip'}}}

Additional information:
Apologies if this report is missing information or is in the wrong place, feel free to reply for any additional information, I will be happy to help!

I think this is related: https://github.com/rytilahti/python-miio/issues/543

Yes thank you very much this seems exactly related.
Does this mean that the component https://www.home-assistant.io/components/fan.xiaomi_miio/ will not be upgrade because of a change of technology or is there a plan for implementing it anyway?

We need to learn/understand the new protocol. May be python-miio will be extended to support MioT some day if possible.

This is more or less a feature request because we doesn't official support the zhimi.airpurifier.ma4. I will close the ticket. Please follow https://github.com/rytilahti/python-miio/issues/543 and/or create an issue there to request zhimi.airpurifier.ma4 support.


Problem on db push operation on v0.37.0

I'm using M2, go version go1.22.3 darwin/arm64
My schema
datasource db {
    // could be postgresql or mysql
    provider = "sqlite"
    url      = "file:dev.db"
}

generator db {
    provider = "go run github.com/steebchen/prisma-client-go"
}

model Post {
    id        String   @id @default(cuid())
    createdAt DateTime @default(now())
    updatedAt DateTime @updatedAt
    title     String
    published Boolean
    desc      String?
}

Does generate work? I'm guessing the same issue? Really weird, I haven't tested on M2 as I don't have access to one (I'm on M1)

Same issue in generate also

@steebchen

Any updates on this issue?

If you can set PRISMA_CLIENT_GO_LOG=debug and then re-run everything and paste it here, that might be helpful for me to debug

Here is debug log for generate

Here is debug log for db push

Thanks. Can you please try running the engine in your console:
/Users/macbook/Library/Caches/prisma/binaries/cli/5.13.0/prisma-cli-darwin-arm64 version

and check if it has the same error?


User answers will need to be saved as they are received

Proposing having the QuizEngine keep track of the user's answers for each question as they are entered so that if the user goes back to a previous question their answer will remain intact.

Actual implementation involved precreating each component and adding them to an ArrayList so they could be retrieved while having their state maintained.


Eq 1150 mci rsi refresh all form types

What is the context of this PR?
For the respondent to have a more up to date pattern and functionality on the RSI and MCI questionnaires (0102, 0112, 0203, 0205, 0213).
How to review
Spec taken from the 0215 Refresh.
Spec: https://docs.google.com/presentation/d/1VYmB1jJsxbJFRFvuOUh1zUZB_Rk2eIbjfX1d5hhF6u8/edit#slide=id.g1ba6eee5f3_0_82
On the refreshed questionnaires you will see:
Comments question broken into 3 questions as per the spec
Piping (trad_as or Ru, dates, values)
Highlighting
Single question per page (except for totals with breakdowns)
Include 'Round to the nearest pound. Do not include pence.' This goes immediately above entry field
It will match the finalised, agreed specification
Questionnaires will not use navigation
Summary screen will not be negatively impacted

@dwyeradam Missing text on the landing page for 0112refresh.json
Missing text: No of employees


Running demo on 3DMatch test set

When I want to run the demo on two other samples from test set of 3DMatch dataset, it seems that the result is not wright. I get one fixed value of inlier ratio for two random samples. As RANSAC has a random nature, the produced results should be a little different. I should say that I preprocessed the data and changed their formats to numpy arrays.

Do you set --method=ransac? RANSAC is not used by default.

No. I do not use RANSAC as part of the algorithm. I only use it to evaluate the performance of the algorithm in registration of two point clouds. The inlier ratio I get when I run demo on two samples from test set is much less than the inlier ratio I get from running demo on two available samples. Also, I get a fixed value for inlier ratio when I run on samples from test set.

There was a bug in demo.py as in this issue. Do you use the latest code?


Gitgutter is overwritten by ale

When using the gitgutter plugin, which adds git changed/added/removed annotations to the left gutter, ale seems to be in competition for the gutter space. I see gitgutter's annotations flash briefly, and are then overwritten when ale finishes processing with either nothing, or with whatever syntax issues ale found.

I've never used gitgutter myself. I wonder if this plugin can be made to be
compatible somehow. I might look into this a little later. It might be a
simple matter of making one plugin or the other only clear particular types
of signs, or remember which signs were set to clear them again.
On Sun, 2 Oct 2016, 17:50 Shookit<EMAIL_ADDRESS>wrote:

When using the gitgutter plugin, which adds git changed/added/removed
annotations to the left gutter, ale seems to be in competition for the
gutter space. I see gitgutter's annotations flash briefly, and are then
overwritten when ale finishes processing with either nothing, or with
whatever syntax issues ale found.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/w0rp/ale/issues/23, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADWuvgIM-pQrTbCS-pLILkErIAOGBST8ks5qv9K0gaJpZM4KMCj7
.

Yeah, I wouldn't normally raise the issue, but it's a fairly popular plugin, so I figured it would be worth bringing up

Nah, always raise issues. Otherwise nothing gets fixed. Thank you for
letting me know. :+1:
On Sun, 2 Oct 2016, 17:54 Shookit<EMAIL_ADDRESS>wrote:

Yeah, I wouldn't normally raise the issue, but it's a fairly popular
plugin, so I figured it would be worth bringing up
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/w0rp/ale/issues/23#issuecomment-250978282, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADWuvrCpzSoemHqscqHIQNTKCOr_dRusks5qv9O_gaJpZM4KMCj7
.

If I remember well, vim allows only one sign in the gutter, so its quite hard to make those kind of plugins work together.

Similar issue with Syntastic and gitgutter: https://github.com/airblade/vim-gitgutter/issues/1
The agreed solution in gitgutter was to avoid writing to a sign when a sign already exists, thereby effectively letting Syntastic (and ALE) take preference.
The main issue now is that ALE deletes the entire sign column every time https://github.com/w0rp/ale/blob/master/plugin/ale/sign.vim#L35
Instead, it should only find and delete ALEWarningSign  or ALEErrorSign, like gitgutter does, so that lines that aren't being used for lint errors can still display diff or other symbols https://github.com/airblade/vim-gitgutter/blob/master/autoload/gitgutter/sign.vim#L13

For now, you can disable the ALE signs if you only want to see the
gitgutter signs. There's a global variable you can set to 0 in your
vimrc, written in the flags file.
On Sun, 2 Oct 2016, 19:02 Prashanth Chandra<EMAIL_ADDRESS>wrote:

Similar issue with Syntastic and gitgutter: airblade/vim-gitgutter#1
https://github.com/airblade/vim-gitgutter/issues/1
The agreed solution in gitgutter was to avoid writing to a sign when a
sign already exists, thereby effectively letting Syntastic (and ALE) take
preference.
The main issue now is that ALE deletes the entire sign column every time
https://github.com/w0rp/ale/blob/master/plugin/ale/sign.vim#L35
Instead, it should only find and delete ALEWarningSign or ALEErrorSign,
like gitgutter does, so that lines that aren't being used for lint errors
can still display diff or other symbols
https://github.com/airblade/vim-gitgutter/blob/master/autoload/gitgutter/sign.vim#L13
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/w0rp/ale/issues/23#issuecomment-250981933, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADWuvgJYRTRYGYV6p4TtlZBjhao4CIWKks5qv-OOgaJpZM4KMCj7
.

I noticed that error signs stoped to dissapear:
https://asciinema.org/a/7zxbqvad07iyf5f151s9bjc4y

Just gave it a try, everything looks great on my end!

@deathmaz Did I introduce a bug with it not clearing signs, perhaps? Try pulling the latest code and see if the signs are ever removed.
I'll let the dust settle on this issue a little until everything seems to be working well.

Everything works fine after update 👍
Thank you!

Is ale signs suppose to overwrite git signs?
I am using https://github.com/mhinz/vim-signify, and also tried https://github.com/airblade/vim-gitgutter.

ALE is supposed to avoid removing other signs if it can. I suppose it could display over top of other signs. If you have a specific issue, open a GitHub issue for it, and I or someone else can take a look. There are a few documented options for changing the IDs ALE uses for signs, in an attempt not to conflict with other plugins. ALE parses :sign place output to try and identify its signs when removing signs, rather than clearing everything.


Set tabBarVisible to be false in tabNavigator cause navigating crash

Current Behavior
I've got a screen which has a navigationOption as follows:
  static navigationOptions = {
    tabBarVisible: false,
    tabBarIcon: ({ tintColor }) => (
      <Icon
        name={ 'camera-iris' }
        color={ tintColor }
        size={60}
        style={{
          marginBottom: 30,
        }}
      />
    )
  };

Once I call this.props.navigation.goBack() in my screen, the App crash and give following error message. If I change tabBarVisible back to true, everything works properly. Anybody can help me with it?

Your Environment

software
version

react-navigation
1.0.0-beta.9

react-native
react-native

react
16.0.0-alpha.6

Actually just solved by setting animationEnabled to be false in tabBarConfiguration, but is this behavior expected?

Does this still crash when you remove tabBarIcon? Taking a guess that it could be a conflict between rendering the tab bar icon and also declaring that no tab bar should be present.

Is this for android?

@matthamil I haven't tried that yet but yep I think that can be the cause. Will test that out later today.
@acomito It just happened to me on iOS but I'll test it on Android once I've got time.

I am experiencing the same issue even when removing tabBarIcon. This started occurring after upgrading from 1.0.0-beta.6 to 1.0.0-beta.9.

@hbar-digital Can you confirm that this does or does not happen when you remove tabBarIcon when you flag tabBarVisible as false?

I am getting this error regardless of whether tabBarIcon is set. If tabBarVisible is set as false, I am unable to navigate (goBack or navigate).

Looks like the issue is here:
https://github.com/react-community/react-navigation/blob/master/src/views/TabView/TabView.js#L164
Commenting out this line seems to solve the issue. What's the reason for setting renderPager to TabViewPagerPan when animationEnabled and swipeEnabled are false?

Related: https://github.com/react-community/react-navigation/issues/1584

Closing this in favor of #1584 to reduce redundancy.


[RIP-9] Update Future.md. Add Function Title Number

修改:
更新Future.md 添加功能标题

Coverage decreased (-0.06%) to 48.883% when pulling cb89eafa3c419ffc857217e13251b3ce5993b8b7 on RobertoHuang:develop into bbb723fb805357d0fb5caf2282c499d89469e994 on apache:develop.

@RobertoHuang cloud you check the travis result and modify this PR?


Oranges does not provide proper image of oranges.

When the term 'Oranges' is entered into one of the sprinkler/irrigation things, it brings up the wrong image.

Fixed


Add possibility to close/open sidebar from any other inner component

router-outlet do not support any input/output events, so, please add (or give an idea) how to close/open sidebar from any inner component, using Sidebar service, now i get: Cannot read property 'nativeElement' of undefined

The sidebar service was removed a while ago.
Assuming you mean something inside the sidebar itself when you say "inner component", you ought to be able to use the closeSidebardirective, but I'll need to double check if that works.

ok,
for example in my app.html I have:
<ng-sidebar-container>
  <ng-sidebar
    [(opened)]="openedSidebar"
    [mode]="modeSidebar"
  </ng-sidebar>
  <ng-container ng-sidebar-content>
    <router-outlet></router-outlet>
  </ng-container>
</ng-sidebar-container>

and in any route (component, which is appended into router-outlet) I wanna to have an opportunity to close sidebar

Ah, you mean from the container's contents. closeSidebar won't work for that -- you'll likely need to hold a reference to the sidebar somewhere and work with that.

it's impossible...
due to layout (for example if i have public and secure routes): such component do not work with shared services

any ideas maybe?

such component do not work with shared services

What do you mean? I'm sure you can have some sort of "global" service that's injected everywhere. You could even just forgo the Angular route and have a regular class somewhere that's responsible for holding the sidebar reference.


Enforce sorted order within Counts?

This might cost some extra sorts, but would make for clearer semantics and allow for pop_min/pop_max.
However this might require making dice sortable which I count as a downside.

Problem: Count constructor appears to be actually pretty expensive, so constructing before testing the Pool cache costs a lot.

Actually, the dice don't need to be Counts since we don't need access by key. Converted to an items tuple.


fix: rearrange textfield width properties & handle side effects

This PR implements #616

:tada: This PR is included in version 5.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


chore: use latest major versions for actions

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

v1.1.8
GitHub release
v1.1.8

Your semantic-release bot :package::rocket:


Publish current version to pkg.go.dev

Thanks for the great package!
The version currently posted on pkg.go.dev still references kutil/logging rather than commonlog.
Would you mind publishing an update so that we (and others) can use it via go get rather than maintaining a local copy?

Yes, will do. I guess I just need to tag it. Thanks for the reminder!


How to work with imports from meteor packages

I would like to write some stories for React components based on some MaterializeCSS components. I'm using the materialize:materialize meteor package. Unfortunately they rely on extending jQuery. I know it is certainly not best practice to use jQuery with React, but some MaterializeCSS components are really handy. I tried to import MaterializeCSS from npm, but failed: Issue 1422.
So, how to work with react-storybook and imports from meteor packages?

Unfortunately you can't. Try to get it fixed.
Anyway, eventually you need to use everything with NPM in Meteor.

Ok, thanks nevertheless...

Great.

@jschlieber - did you find a solution for this?

No, I no longer use MaterializeCSS...


Broken in Firefox

I've got a fairly contrived use-case whereby I am using the URI-safe base64 methods to encode URI-encoded URIs (my SPA uses the browser history API to produce completely RESTful URIs and every significant action modifies the URI and then decodes it to infer application state: the result is that any application state is bookmarkable and shareable).
In this scenario, the core decompression method always returns null using Firefox (everything behaves as expected in Chrome, the only other environment I've tested with any rigour).
After a bit of stepping through, it appears the core decompression loop always manages to reconstruct part of the string, but always eventually encounters a failure switch case and returns null. I suspect certain characters or substrings are to blame and I will try to isolate these for a reduced test case.

Base64 output is not URL safe. The doc light have been misleading in this. I created a new method in the latest release: compressToEncodedURIComponent. This one is less ambiguous. Give it a try and let me know.

That's the one I'm using — it was me who requested that feature ;)

False alarm. This had to do with Firefox auto-decoding URI components on read and intermediary software performing its own unwanted replacements.

Thanks for the update.


chore(main): release 0.2.16

:robot: I have created a release beep boop
0.2.16 (2024-11-10)
Bug Fixes

调试使用Github的环境变量24 (0321e36)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.2.16
:sunflower:


PR: Install qtpy and qtconsole from Github when testing

This way we will always be sure that Spyder is not broken when we make new releases of those packages.

But we should test at least one worker under normal circumstances and not with master all the time?

You're right. Please see PR #4875.


WIP: React Native Client

Work-in-progress for #121

[x] Client wrapper DOM-elements to React-Native primitives
[ ] Debug UI DOM-elements to React-Native primitives (just commented out for now)
[x] Rollup/build/yarn-link
[ ] Add example with CRNApp + Expo

I'm already running into some confusion with regard to how I build/test locally. I ran prepare/prepublishOnly and it created files in the root directory that referenced dist, but dist didn't have the file they were require'ing. Not sure I understand the way rollup + export aliases work– I could definitely use some clarity/help there.

You need an entry in rollup.npm.js
{
  input: 'packages/react-native.js',
  external: Object.keys(globals),
  globals,
  output: { file: 'dist/react-native-client.js', format: 'umd' },
  name: 'ReactNativeClient',
  plugins: plugins
},

Couldn't figure out how to rewrite history to only have the single commit– so I killed the branch and just cherry picked it. 😓
See #128 for the continuation. 🙈


why initial twice when proxy https in proxy example

Run proxy example in netty source code, It is so wired that two ports are created to initial https connection.
Netty version4.1.12-Final
java -version 1.8.0_101
OS version  win 10

@Cloud-Dragon most likely there are two connections made. Please log how often channelActive is called or use something like wireshark / tcp dump


UPSE-51- remove tab group related code

Checklist

[X] the individual contributor license agreement is signed
[X] commit message follows commit guidelines
[ ] tests are included
[ ] documentation is changed or added
[X] message properties have been updated with new phrases
[ ] view conforms with WCAG 2.0 AA

Description of change

Removed/modified the code to remove the tab Group related feature.
Documentation link - https://confluence.unicon.net/confluence/display/~stalele/Step+by+step+approach+to+solve+the+UPSE-51
Jira ticket no - https://jira.unicon.net/jira/browse/UPSE-51

@ChristianMurphy -- I think this PR needs a serious look from someone with a lot of experience with uPortal.

Hey @stalele! :wave:
Unfortunately this PR appears to be stalled. :pause_button:
I'm going to close this PR out, it can be reopened or cherry-picked if there is renewed interest and availability.
Thanks for contributing :bowing_man:


Bug: delete_cookie() helper function not working

Describe the bug
I am having an issue with deleting cookies by name. I am using helper function delete_cookie('cookie_name');
But the helper is not deleting the named cookie. Though cookie can be deleted by vanilla PHP.
I am in development mode and using localhost
CodeIgniter 4 version
CI4 Version v4.0.4
Affected module(s)
Expected behavior, and steps to reproduce if appropriate
Created a session using
 helper('cookie');         set_cookie([             'name'   => 'cookie_name',             'value'  => $encrypter->encrypt($token['token']),             'expire' => '3600',         ]);
Tried to remove it using
helper('cookie'); delete_cookie('cookie_name');
My env
app.cookiePrefix = 'dev_' app.cookieDomain = '' app.cookiePath = '/' app.cookieSecure = true app.cookieHTTPOnly = false
Context

OS: Ubuntu 20.04
Web server:  Apache 2.4.43
PHP version 7.4.8

To delete a cookie you need to give it time in the pass time() - 3600 see the minus 3600


cvc3: reenable stackprotector on aarch64-darwin

The original error that required disabling the stack protector on aarch64-darwin has been fixed in GCC (in https://github.com/NixOS/nixpkgs/pull/186477). Thus, reverting the patch made initially to resolve https://github.com/NixOS/nixpkgs/issues/127608.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 188344 run on aarch64-darwin 1

1 package built:

cvc3


Mention install.sh in README.md

I applied your feedback. Fixed the same problem in the line below.
Add more explanation which makes sense I think.

Line 44 should read, "Any file ending in *.symlink gets symlinked".

there weren't any modifications to that line... should be good to go

I missed the notification. Applied the feedback (gets symlinked)

Keep forgetting this isn't in there already. Thanks!


Problem with SSL/TLS Termination on Kong API Gateway

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
Kong 2.7.1
Current Behavior
I got a problem with SSL/TLS Termination on Kong API Gateway. HTTPS Requests using curl and Insomnia got response that SSL certificate problem: unable to get local issuer certificate.
Certificate is valid and issued by well known issuer, so CA certificate is already in the clients known CA list. In Browser HTTPS requests works fine.
docker-compose.yaml configured in next way:
version: "3.7"

# Create docker volume as persistant storage
volumes:
  kong-postgres-volume:
    name: kong-postgres-volume
  kong-volume:
    name: kong-volume
  kong-volume-conf:
    name: kong-volume-conf

# Create Network docker network create --gateway <IP_ADDRESS> --subnet <IP_ADDRESS>/24 kong-net
networks:
  kong-net:
    external: true

services:
  #######################################
  # Postgres: The database used by Kong
  #######################################
  kong-database:
    image: postgres:9.6
    container_name: kong-postgres
    restart: always
    networks:
      kong-net:
        ipv4_address: <IP_ADDRESS>
    volumes:
      - kong-postgres-volume:/var/lib/postgresql/data
    environment:
      POSTGRES_USER: ${KONG_PG_USER}
      POSTGRES_PASSWORD: ${KONG_PG_PASSWORD}
      POSTGRES_DB: kong
    ports:
      - "5432:5432"
    healthcheck:
      test: ["CMD", "pg_isready", "-U", "kong"]
      interval: 30s
      timeout: 30s
      retries: 3
    deploy:
      resources:
        limits:
          cpus: "1"
          memory: "2000M"
    logging:
      driver: "json-file"
      options:
          max-file: "3"
          max-size: "10M"

  #######################################
  # Kong database migration
  #######################################
  kong-migration:
    image: kong:2.7.1
    container_name: kong-migration
    command: kong migrations bootstrap
    networks:
      kong-net:
        ipv4_address: <IP_ADDRESS>
    restart: on-failure
    environment:
      KONG_DATABASE: postgres
      KONG_PG_HOST: kong-database
      KONG_PG_DATABASE: kong
      KONG_PG_USER: ${KONG_PG_USER}
      KONG_PG_PASSWORD: ${KONG_PG_PASSWORD}
    depends_on:
      - kong-database
    deploy:
      resources:
        limits:
          cpus: "0.2"
          memory: "250M"

  #######################################
  # Kong: The API Gateway
  #######################################
  kong:
    image: kong:2.7.1
    container_name: kong-api-gw
    restart: always
    networks:
      kong-net:
        ipv4_address: <IP_ADDRESS>
    volumes:
      - kong-volume:/etc/kong
      - kong-volume-conf:/usr/local/kong
    environment:
      KONG_DATABASE: postgres
      KONG_PG_HOST: kong-database
      KONG_PG_DATABASE: kong
      KONG_PG_USER: ${KONG_PG_USER}
      KONG_PG_PASSWORD: ${KONG_PG_PASSWORD}
      KONG_PROXY_LISTEN: <IP_ADDRESS>:8000, <IP_ADDRESS>:8443 ssl
      KONG_ADMIN_LISTEN: <IP_ADDRESS>:8001, <IP_ADDRESS>:8444 ssl
      KONG_SSL: "on"
      KONG_SSL_CERT: /etc/kong/ssl/kong.crt
      KONG_SSL_CERT_KEY: /etc/kong/ssl/kong.key
      KONG_PROXY_ACCESS_LOG: /dev/stdout
      KONG_PROXY_ERROR_LOG:  /dev/stdout
      KONG_ADMIN_SSL_CERT: /etc/kong/ssl/kong.crt
      KONG_ADMIN_SSL_CERT_KEY: /etc/kong/ssl/kong.key
    depends_on:
      - kong-database
    healthcheck:
      test: ["CMD", "kong", "health"]
      interval: 10s
      timeout: 10s
      retries: 10
    ports:
      - "8000:8000"
      - "8001:8001"
      - "8543:8443"
      - "8444:8444"
    deploy:
      resources:
        limits:
          cpus: "2"
          memory: "4000M"
    logging:
      driver: "json-file"
      options:
          max-file: "3"
          max-size: "10M"

Certificate was added using Admin API and also did it with Konga UI, i tried pem and crt, both of them.
curl -X POST http://<IP_ADDRESS>:8001/certificates -H 'Content-Type: multipart/form-data' -F<EMAIL_ADDRESS>-F<EMAIL_ADDRESS>-F snis[]=example.com
Plus inside docker container i put kong.crt and kong.key to /etc/kong/ssl/, but nothing helped and there are no errors in logs.
Response from GET Request to https://example.com:8444/certificates (when disable SSL Validation in Insomnia)
{
    "data": [
        {
            "key_alt": null,
            "created_at":<PHONE_NUMBER>,
            "cert_alt": null,
            "key": "-----BEGIN RSA PRIVATE KEY-----\cert-key-example\n-----END RSA PRIVATE KEY-----",
            "id": "7ebdca61-4598-4e17-bdf8-2239c41ce09b",
            "tags": null,
            "snis": [
                "example.com"
            ],
            "cert": "-----BEGIN CERTIFICATE-----\cert-example\n-----END CERTIFICATE-----"
        }
    ],
    "next": null
}

Curl example
curl -i -v https://example.com:8543/api
*   Trying ip:8543...
* TCP_NODELAY set
* Connected to example.com (ip) port 8543 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (OUT), TLS alert, unknown CA (560):
* SSL certificate problem: unable to get local issuer certificate
* Closing connection 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Expected Behavior
Successful HTTPS response from Kong without disabling SSL Validation in insomnia and without option -k using curl.
Steps To Reproduce
Use docker-compose.yaml that i provided and cert from well known issuer.

Anything else?
I used both kong images 2.7.1 and 2.8.0, nothing changed.

I just posted a similar issue ([https://github.com/Kong/kong/issues/8740]).  The unknown issuer is the KongHQ default certificate that is being presented instead of the certificate that you defined with the environment variable.  This happens in V2.5 - 2.8 (OSS & EE).  It mostly presents itself when you make calls to the Kong container on the docker network name (using hostname was successful, after loading the certs with an SNI against the certificates endpoint).  See if what I did solves your problem so that we can maybe get some traction on this.

I just posted a similar issue ([https://github.com//issues/8740]). The unknown issuer is the KongHQ default certificate that is being presented instead of the certificate that you defined with the environment variable. This happens in V2.5 - 2.8 (OSS & EE). It mostly presents itself when you make calls to the Kong container on the docker network name (using hostname was successful, after loading the certs with an SNI against the certificates endpoint). See if what I did solves your problem so that we can maybe get some traction on this.

Hi, thank you for your answer, they are really looks similar, but in my case i think that i have no problem with default certificates, i already see in nginx-kong.conf next configuration:
server {
    server_name kong;
    listen <IP_ADDRESS>:8000;
    listen <IP_ADDRESS>:8443 ssl;

    error_page 400 404 405 408 411 412 413 414 417 494 /kong_error_handler;
    error_page 500 502 503 504                     /kong_error_handler;

    access_log /dev/stdout;
    error_log  /dev/stdout notice;

    ssl_certificate     /etc/kong/ssl/kong.crt;
    ssl_certificate_key /etc/kong/ssl/kong.key;
    ssl_session_cache   shared:SSL:10m;
    ssl_certificate_by_lua_block {
        Kong.ssl_certificate()
    }

    # injected nginx_proxy_* directives
    real_ip_header X-Real-IP;
    real_ip_recursive off;
    ssl_certificate /etc/kong/ssl/kong.crt;
    ssl_certificate_key /etc/kong/ssl/kong.key;
    ssl_client_certificate /etc/kong/ssl/kong.ca.crt;

Right now i'm confused with next error while trying to verify certificate
openssl verify kong.crt
output - kong.crt: CN = myexample.com error 20 at 0 depth lookup:unable to get local issuer certificate
Really strange, because in httpd.conf all works perfectly.

It's not a bug, I figured it out, Kong needs ca-bundle certificate not just crt.


Fix Int-test issue for azure_key_vault_managed_hardware_security_module table

Describe the bug
we need to purge the vault after deletion. use CLI.
Steampipe version (steampipe -v)
Example: v0.7.0
Plugin version (steampipe plugin list)
Example: v0.5.0
To reproduce
Steps to reproduce the behavior (please include relevant code and/or commands).
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

TF will delete and purge the resource, dont need to add CLI in Int-test to purge.


Salesforce provider: add Option to specify Production vs. Sandbox environment

Salesforce has a concept of Production vs. Sandbox environments for tenants and this includes authentication and authorization. Rather than putting the responsibility on the dev to know which are the exact endpoint, give a way to specify which environment type you want and take care of the specifics. Also we need a way to specify this option for a particular auth request in addition to the global option.
This enhancement is backward compatible with the previous option to have the ASP.NET host app explicitly declare endpoints and it will respect those endpoints if declared.
It also fixes issue https://github.com/TerribleDev/OwinOAuthProviders/issues/54

Hey @stefann42 thanks for the pull request. I believe I've used your Alexa .net skills kit before.
I'm traveling for the holidays at the moment. I'll give this PR a look over tuesday-ish. Feel free to bump this thread if you don't hear anything by Friday. Thanks for the contribution

No rush, I'm using a private version of the lib until you can include in your distribution. FYI, in case you're looking at using the newer Alexa platform features I'm getting help with that project and we're working on a major update.
Happy Holidays!