[fixed] set correct URL for codepen setAppElement example

Changes proposed:
The docs has an invalid URL, and this commit sets the correct link.
Acceptance Checklist:

[x] The commit message follows the guidelines in CONTRIBUTING.md
[x] Documentation (README.md) and examples have been updated as needed.

Coverage remained the same at 87.135% when pulling 715cf3c4eb466ab496b7ecdf2265c8308efa42d6 on leocaseiro:master into 8efaa37e208e77edb607c43f07529ad95015aaf0 on reactjs:master.

Thanks, @leocaseiro. 👍


net/http: get for literal ipv6 address url doesn't follow redirection on ipv6-only transport environment

theoretically the root cause must be golang.org/issue/8453, but file a separate issue
for safety. for now workaround would be having a custom transport like the following:

tr := &http.Transport{
        Dial: (&net.Dialer{DualStack: true}).Dial,
}
client := http.Client{Transport: tr}
resp, err := client.Get(fmt.Sprintf("http://[2404:6800:4004:802::1011]:80/")

Not sure what the status is here, but Brad, Mikio replied to your questions.

#8453 will fix this together, but please keep this open for now. Perhaps we need a test case that runs http.Get/http.Client.Get for www.google.com over only IPv6 transport.


custom relationships

hi
I want to have this url
api/v1/users/124/sender-transactions
and  I definde custom relationship in App\User.php
 public function getSenderTransactions2Attribute()
    {
        $transactions = $this->transactions()->where("status",Enum::TRANSACTION_SUCCEED)->get();
        $this->senderRequests->each(function ($request) use (&$transactions) {
            if ($request->status == Request::STATUS_DONE || $request->status == Request::STATUS_COMPLETE) {
                $transaction = new Transaction();
                $transaction->price_daryafti = $request->finalPrice;
                $transaction->date = $request->miladiDate;
                $transaction->id = Enum::REQUEST."-".$request->name;
                $transaction->port = Enum::REQUEST;
                $transactions->push($transaction);

            }
        });
        return $transactions;
    }

and in users adapter :
protected function senderTransactions()
    {
        return $this->hasMany();
    }

Now I get this error
"message": "JSON API relation HasMany cannot be used for an Eloquent Collection relation.",
I worked befor in previous version of your library
Can you help me?

Maybe after '->get()' you have ordinary collection, which isn't relationship at all.
You should think how to return relationship

Hi! When you say it worked in a previous version, what version were you on and what version are you now on?
If you're able to return a query builder you'd need to use this:
https://laravel-json-api.readthedocs.io/en/latest/basics/adapters/#queries-one-and-queries-many
If not, then what you're trying to do would need to be implemented using a completely custom relation. To do that write a class that:

Extends CloudCreativity\LaravelJsonApi\Adapter\AbstractRelationshipAdapter
Implements CloudCreativity\LaravelJsonApi\Contracts\Adapter\HasManyAdapterInterface.

Then put the logic in the methods there. Then in your users adapter:
protected function senderTransactions()
{
    return new MyCustomRelation();
}

That should get it working for now. Though think this highlights that I should add a relation that can handle a Collection... will add it to the to-do list, but I'm severely pushed for time at the mo because of a work deadline on 14 Sept.

Closing due to inactivity.


Version 4.4.0 after doesn't work on Firefox 56.0.2

Expected Behavior
If I click 'setting' button on addons manager (about:addons) of firefox, the setting mode appears.
Actual Behavior
Even if I click 'setting' button on addons manager (about:addons) of firefox, the setting mode does not appear (blank page).
Steps to Reproduce the Problem
like this pic
https://i.imgur.com/nIilJMH.png
Specifications

OS: Windows 10  64bit  (also the same on Windows 7 64bit)
Browser:Firefox 56.0.2
Other extensions that might interfere: None

Why do you use Firefox 56, which is no longer supported by Mozilla?
If you want to use uBlacklist along with legacy add-ons, you can use Waterfox Classic (not "Third Generation") setting dom.webcomponents.enabled to true in about:config.

Why do you use Firefox 56, which is no longer supported by Mozilla?
If you want to use uBlacklist along with legacy add-ons, you can use Waterfox Classic (not "Third Generation") setting dom.webcomponents.enabled to true in about:config.

Thank you for your reply.
I think you're Japanese. I'm too, so Can I talk with Japanese ?
 ----- Original Message -----

From: iorate<EMAIL_ADDRESS>To: iorate/uBlacklist<EMAIL_ADDRESS>Cc: tadusaman8<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Date: 2021/1/17, Sun 15:25
Subject: Re: [iorate/uBlacklist] Version 4.4.0 after doesn't work on Firefox 56.0.2 (#75)
Why do you use Firefox 56, which is no longer supported by Mozilla?If you want to use uBlacklist along with legacy add-ons, you can use Waterfox Classic (not "Third Generation") setting dom.webcomponents.enabled to true in about:config.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thank you for your reply.
I think you're Japanese. I'm too, so Can I talk with Japanese ?
 ----- Original Message -----

From: iorate<EMAIL_ADDRESS>To: iorate/uBlacklist<EMAIL_ADDRESS>Cc: tadusaman8<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Date: 2021/1/17, Sun 15:25
Subject: Re: [iorate/uBlacklist] Version 4.4.0 after doesn't work on Firefox 56.0.2 (#75)
Why do you use Firefox 56, which is no longer supported by Mozilla?If you want to use uBlacklist along with legacy add-ons, you can use Waterfox Classic (not "Third Generation") setting dom.webcomponents.enabled to true in about:config.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Keys in status

What does this PR do?
remotesecret.appstudio.redhat.com/test-remote-secret condition met
Upload secret successfully created.
apiVersion: appstudio.redhat.com/v1beta1
kind: RemoteSecret
metadata:
  creationTimestamp: "2023-07-14T10:10:02Z"
  finalizers:
  - appstudio.redhat.com/secret-storage
  - appstudio.redhat.com/linked-objects
  generation: 1
  labels:
    secretuploaded: "true"
  name: test-remote-secret
  namespace: default
  resourceVersion: "4377"
  uid: 7b9996f3-7d92-4623-8ff1-eca878bfb041
spec:
  secret:
    generateName: some-secret-
  targets:
  - namespace: spi-test-target1
  - namespace: spi-test-target2
status:
  conditions:
  - lastTransitionTime: "2023-07-14T10:10:03Z"
    message: ""
    reason: DataFound
    status: "True"
    type: DataObtained
  - lastTransitionTime: "2023-07-14T10:10:03Z"
    message: ""
    reason: Injected
    status: "True"
    type: Deployed
  secret:
    keys:
    - a
    - c
  targets:
  - namespace: spi-test-target2
    secretName: some-secret-s75b7
  - namespace: spi-test-target1
    secretName: some-secret-lwslj

Screenshot/screencast of this PR

What issues does this PR fix or reference?

How to test this PR?

Closing in favor of #71


Templates directory empty

All those awesome templates the README talks about, they aren't there.

Updated the README to reflect the current state.


Status bar for HDF export

This code change introduces status bar on FIJI while exporting HDF5.

Thanks for the comment @imagejan. Indeed the Hdf5DataSetWriter is now obsolete, since we've merged @ASHISRAVINDRAN changes.
StatusService is indeed a better idea than static calls to IJ1. Both issues are addressed in the following PR: https://github.com/ilastik/ilastik4ij/pull/9


On demand bind for recipe classes to the client class

Bind all recipes at the client class only once at the class creation time.
Implemented over class decorator, because it's more portable than metaclass.
Also this type of bind saves access to the doc attribute of original classes,
what is useful for example with IPython.

Please re-open to rebase and update as needed.


Should rational-completion.el be named rational-minibuffer-selection.el instead?

Completion may be confusing in the general sense. Corfu/Company/et. al. seem to be associated with the concept of completion, while Vertico/Orderless/et. al. seem to be associated with the concept of minibuffer selection or filtering.  I think more people think of completion from the IDE perspective ala function/variable filtering, live templates, etc.
Thoughts? Maybe it's good enough as it is?

I am not so sure it is as evenly divided as completion vs. selection. I think I see what you are hinting at, but I believe all of these things are very closely connected.. and ultimately about completion. There is also a bit of terminology application that is different with emacs (along with the whole use of the term 'window' debate).
Corfu is a completion at point UI, so it is clearly only about completion. Orderless defines itself as a completion style, making it tightly bound to completion. While this is most often seen in the minibuffer, I don't believe it is limited to it.
Vertico is a minibuffer completion framework. While it is 'tied' to the minibuffer, it is still about completion.
When you say selection, I do not immediately think about 'selecting' something in the minibuffer, I think more along the lines of 'text selection' in a buffer.
So... I don't really think of them as separate things. I am open to other opinions though.

No further responses, we'll leave it alone.


shim: document default block_ref param

Current dependencies on/for this PR:

#256  👈
main

This stack of pull requests is managed by Graphite.


In-app designer: pull only changed object

With issue https://github.com/Microsoft/AL/issues/326 I also ran into the fact that all objects are being pulled when using the In-app designer to change the layout of a page. Not only the updated page object.
Probably this is technically easier, but they haven't been changed and I don't want my objects that haven't changed by me to be changed by the system.

This behavior would be actually a bug, it is not intended.
We are not able to reproduce this issue on the latest builds. Could you share the exact steps that lead to this situation?

We have found the root cause and fixed it for August Update. Only the changed objects will be pulled from the server.

OK, great. So you were able to reproduce. I just wanted to start to provide report steps. Thanx!


Validate JWT signature

Description
In order to keep the entire Authentication & Authorization logic away from the user of kelon, we need a simple possibility to check the signature of passed JWT-Tokens. In addition to that there must be the possibility to specify for each endpoint if it needs authentication or not.
Tasks

[ ] Configure Auth-Endpoints with White/Blacklisting of URLs
[ ] Add documentation for new feature

Outcome
Kelon unifies the entire auth process and bundles it into one enforcement point

@dcseifert we should do this by providing envoy as optional middleware to the Kelon System. Envoy could run as a sidecar or integrated and be configured by Kelon over its api. This would lead to us being able to use the rich envoy filterset.
So here we could use for example the jwt verify step for different apis without having to rebuild essential logic.
https://www.envoyproxy.io/docs/envoy/v1.8.0/configuration/http_filters/jwt_authn_filter
We should discuss this further. For example could Envoy be a better web proxy for Kelon.
What do you think?

@mkjoerg Sounds like a great idea! I'll start trying this go-library from coreos for JWT-Verifikation first

@dcseifert As discussed, running a separate envoy will not help us here, so that is perfectly fine.

@mkjoerg Should we stick to Auth-Providers with Black/Whitelisting of URLs, or should we add providers to already mapped URLs inside the api.yml like envoyproxy does here:

@dcseifert yes this would be a great way to configure this. The only thing I would recommend is adding an option to trigger on everything except. Like istio does it with trigger rules
    triggerRules:
      - excludedPaths:
        - prefix: /api...

Details can be seen here: https://istio.io/docs/reference/config/security/istio.authentication.v1alpha1/
This feature will also depend on: #54


make Tagged a universal trait so tagging value classes works

This fixes issue #644
I also ran mima and it did not find any binary incompatible changes:
[IJ]> mimaReportBinaryIssues
[info] Resolving com.chuusai#shapeless_2.12;2.3.2 ...
[info] Resolving org.scala-lang#scala-library;2.12.0 ...
[info] Resolving org.typelevel#macro-compat_2.12;1.1.1 ...
[info] Resolving com.chuusai#shapeless_sjs0.6_2.12;2.3.2 ...
[info] Resolving org.scala-lang#scala-library;2.12.0 ...
[info] Resolving org.scala-js#scalajs-library_2.12;0.6.13 ...
[info] Resolving org.typelevel#macro-compat_2.12;1.1.1 ...
[info] Compiling 2 Scala sources to /Users/peter/dev/shapeless/core/jvm/target/scala-2.12/classes...
[info] Compiling 2 Scala sources to /Users/peter/dev/shapeless/core/js/target/scala-2.12/classes...
[info] Compiling 13 Scala sources to /Users/peter/dev/shapeless/core/jvm/target/scala-2.12/classes...
[info] Compiling 13 Scala sources to /Users/peter/dev/shapeless/core/js/target/scala-2.12/classes...
[info] Compiling 85 Scala sources to /Users/peter/dev/shapeless/core/jvm/target/scala-2.12/classes...
[info] Compiling 85 Scala sources to /Users/peter/dev/shapeless/core/js/target/scala-2.12/classes...
[info] coreJVM: found 0 potential binary incompatibilities while checking against com.chuusai:shapeless_2.12:2.3.2  (filtered 6)
[info] root: previous-artifact not set, not analyzing binary compatibility
[info] coreJS: found 0 potential binary incompatibilities while checking against com.chuusai:shapeless_sjs0.6_2.12:2.3.2  (filtered 6)
[success] Total time: 49 s, completed Dec 31, 2017 9:31:01 AM

Codecov Report

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

@@           Coverage Diff           @@
##           master     #801   +/-   ##
=======================================
  Coverage   87.99%   87.99%
=======================================
  Files          64       64
  Lines        1499     1499
  Branches        5        5
=======================================
  Hits         1319     1319
  Misses        180      180

Impacted Files
Coverage Δ

core/src/main/scala/shapeless/typeoperators.scala
0% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks for this ... I'm literally about to push the button on releasing 2.3.3, so this has missed the boat unfortunately.
This looks good, but we've made several attempts to improve things in this area before and they've all turned out to have downsides of one sort or another. I have a vague feeling that we've actually tried exactly this change previously ... would you mind going through the related PRs and issues and see if you can work out where things stand?

I have been going through some related PRs:

The change for Tagged from a type alias to a trait was introduced by https://github.com/milessabin/shapeless/pull/20. The trait was not made universal because there was/is indeed no difference when looking at the decompiled bytecode with javap.
https://github.com/milessabin/shapeless/issues/44 is still an issue, even when Tagged is made a universal trait.
https://github.com/milessabin/shapeless/issues/557 is of course also still an issue, because it is a bug in scalac

I don't find any evidence that this specific change has been tried previously.
I do acknowledge that this kind of change might inadvertently impact other areas of the shapeless codebase.
@milessabin I'll be happy to  check other PRs/issues. Do you have any specific in mind?

Needs rebase. Is there any reason not to do this? Looks like a no-brainer to me.

Is there any reason not to do this? Looks like a no-brainer to me.

Issues with 2.10 maybe?

We dropped 2.10 🎉


Upgrade postgres jdbc driver to 42.7.2

PR Description
Upgrade postgres jdbc driver to 42.7.2. Addresses CVE-2024-1597
Fixed Issue(s)

Documentation

[x] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[x] I thought about adding a changelog entry, and added one if I deemed necessary.

Testing

[x] I thought about testing these changes in a realistic/non-local environment.

./gradlew --no-daemon -Dorg.gradle.parallel=false dependencyCheckAggregate -DnvdApiDelay=6000
<snip>
BUILD SUCCESSFUL in 2m 10s
10 actionable tasks: 10 executed


Tetragon crashing on AKS

Description
I've tried to deploy Tetragon on AKS, but the operator is falling into a CrashLoopBackOff
tetragon-operator standard_init_linux.go:228: exec user process caused: exec format error

Steps to reproduce

AKS  (Kubernetes v. 1.25.4)
Linux 5.15.0-1029-azure

helm repo add cilium https://helm.cilium.io
helm repo update
helm install tetragon cilium/tetragon -n kube-system
kubectl rollout status -n kube-system ds/tetragon -w

I've managed to solve it, my Klusters has been running on amd64.


I cant get output to the terminal.

Type: Bug
I bought a new pc and i installed vs code. Then i installed all the necessary extentions. But i cant get output to the terminal. On my old pc, i never had a problem like this.
https://prnt.sc/FXhIKnOBoiCF
VS Code version: Code 1.72.0 (64bbfbf67ada9953918d72e1df2f4d8e537d340e, 2022-10-04T23:20:39.912Z)
OS version: Windows_NT x64 10.0.22000
Modes: Restricted
Sandboxed: No
Extensions (3)

Extension
Author (truncated)
Version

prettier-vscode
esb
9.9.0

vscode-language-pack-tr
MS-
1.72.10050956

material-icon-theme
PKi
4.21.0

(5 theme extensions excluded)

Maybe try these steps:
in the Options dialog box, on the Projects and Solutions > General page, select Show Output window when the build starts

@mukulchugh Can you explain what you're talking about with pictures? I cant find it options. Unless you mean the settings of course.

What steps are you taking to "Get output to the terminal"?

you're using windows pwsh, which is usually a poor experience - installing pwsh could help.
if you run the program like that in an external terminal is there output? if so, could you run toggle escape sequence logging and share the output?

I'm really having trouble understanding what you're saying. My english is not so good. I'm looking for the things you mentioned but I can't find it. i run the program with pressing F5 or i choose run>start debugging.  btw i dont get an error like this on vs 22

https://prnt.sc/yiTSJ97oUKj5 https://prnt.sc/W60Ysd8xL8jp
I hope these are the things you want @meganrogge


What is the difference between gwt jsweet teavm?

What is the difference between gwt jsweet teavm?

I suggest that you ask questions not in issues, but in discussions.
The main difference of TeaVM with GWT and JSweet is that it takes bytecode, not source code. This makes it possible to compile also Kotlin and Scala projects, and even mixed ones.
Anyway, there's no easy answers. There are plenty of small differences.


Control registers

I am now trying to add x86 control registers into remill so that I can lift CR-related instructions. As far as I understand, struct State should be modified to contains something likes:
struct alignas(16) State final : public ArchState {
  ...
  CR cr;
} __attribute__((packed));

where CR looks like:
struct alignas(8) CR final {
  Reg cr0;
  Reg cr1;
  ...
} __attribute__((packed));

but looking into struct GPR (and similar structs)
struct alignas(8) GPR final {
  volatile uint64_t _0;
  Reg rax;
  volatile uint64_t _1;
  Reg rbx;
  volatile uint64_t _2;
  Reg rcx;
  ...

I still do not understand why the fields volatile uint64_t _0, volatile uint64_t _1, ... are needed ?

Hah I have been doing this myself. You can find my work on the "random" branch :-) For now I have declared control and debug regs as globals as opposed to part of State, as State is more akin to being thread-specific. Thoughts?

Also, the purpose of those additional fields is to prevent load or store coalescing by the LLVM optimizer. I never want an LLVM load/store to touch two logically separate entities, so I separate them by fields that are never used.

That is great!!! Many thanks.
Until your response, I never think of whether these (control and debugs) regs should be separated from State or not :) I've managed to modify remill to lift some CR-related instructions but your approach is better. Do you have any plan to support MSR (Model Specific Registers)?
Thanks again for your work.

I am not yet sure. I guess it depends on whether or not the MSRs have well-defined "types." For now, RDMSR and WRMSR are implemented using a synchronous hyper call, where the implementation of that hypercall function would need to go and identify the intended MSR based on the register state. That's kind of like CPUID and RDTSC(P). This puts dealing with specific MSRs squarely beyond the scope of instruction semantics, but nonetheless reachable via the hyper call intrinsic.

Here's an example of implementing a hyper call: https://github.com/trailofbits/remill/blob/master/tests/X86/Run.cpp#L294-L341
And the relevant hyper calls:
https://github.com/trailofbits/remill/blob/random/remill/Arch/Runtime/HyperCall.h#L22


Fix splitting when vim.o.splitright and vim.o.splitbelow is set

Looks good to me. I trust you 😄 Will merge now and test in a sec. Cheers!


Minikube provisioning - installation failures during container creating

Description
We need to add a documentation note: When using rebuild.sh script to install and provision the Keycloak environment in Minikube and user struggles with slow internet connection less then 2MB/s, it probably won't finish the deployment (container creating fails on dedicated timeout more then 15 minutes) and the script freezes in the infinite loop -> waiting for pods.

Discussion
No response
Motivation
No response
Details
No response

Thank for for reporting this. In the commit listed above, the installation guide has been update with the network speed as a pre-requisite and the error message you saw. This should be available on the project's web site once the GitHub action completes.


How to list all apis and create one

Hi, I love microweber, it's a nice cms, however I can't get around in listing the all apis , and create one.
the documentation seems not comprehensive and when i tried to create api like in the documentation this error message shows :
The api function hello_world is not defined in the allowed functions list
please help , thanks

Hi,
to list the API function you must login as admin and go to example.com/api/api_index
To create api function:
Make a module with file called functions.php or make a file called functions.php in the template folder
Simple api function
In functions.php
put
api_expose('hello_world');
function hello_world(){
    return 'hi';
}

And when you go to http://example.com/api/hello_world you should see 'hi'
Api function with GET/POST parameters
api_expose('hello_world');
function hello_world($params){
print_r($params);
}

the $params array contains the merged $_GET/$_POST php array
so if you go to
http://example.com/api/hello_world?msg=whats_up_doc
the $params['msg'] will be of value whats_up_doc
Anonymous api function
api_expose('hello_world', function($params)){
print_r($params);
});

You can use
api_expose to make function available to all
api_expose_user to make function available only to logged users
api_expose_admin to make function available only to admins
Hope this helps

thanks I can see json file that looks like listing the existing api, but with there is no documentation yet isn't it ?
thanks anyway for your reply, really helps

and 1 more question, how can I see the parameters of those api_index ? or where the code is located? because I can't find any documentation of the existing apis

hi, some of the functions are documented here http://docs.microweber.com/functions/README.md , but the documentation is not finished yet

yes, I still can't find the existing definition of api listed in api_index, such as upload. thus, when i want to upload, I'm confused of what the parameters are and the returned values :) , great cms anyway @peter-mw , thanks

Hello,
uploading a file is described here http://microweber.com/docs/js-css/mw.uploader.md

is there anyone who can help me with microweber API? I mean like for example, how user_register function works? what are the required parameter to pass and what are the return values ?
any instruction please?


operator.istio.io/component label in manifests/ issues

Some objects don't have the labels set, for example stackdriver-filter-1.9
If we need this, we should have enforcement that its applied to all objects. if we don't need it - we should remove it?

I think we do need it for pruning. Not sure why we need it in the helm charts vs operator code - is it for helm support? cc @jacob-delgado @richardwxn


Add keyrings.google-artifactregistry-auth

Fix #32123.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[x] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

R: @damccorm

Thanks for doing this!

yaml xlang direct precommit failed twice, seen this test flaky in general, merging for now


Coordinate system identification wrong in camerapath.json

The crs name in data/camerapath.json is given as urn:ogc:def:crs:OGC:1.3:CRS84, while the feature coordinates are in fact in the (yet to be identified) POTree coordinate system (for which we do not know the crs name). The crs part of the object is not actually used anywhere.
Possible fixes:

Either remove it altogether
... or find out what coordinate system we're using, put that in and actually do something with it in the code. See also issue #25 .

Camera path can now be recorded using 'Record camera location' button in the Settings panel.
Must be manually added to app/data/drivemap.json.
The path is in the drivemap coordinate system.


Made changes to DNS section and minor typo fixes

Properly double-spaced some lists so they appear correct
Corrected X509 to X.509
Added warning letting users know to point DNS records to primary AD FS server when using a WID deployment before switching the DNS records to the production Load Balancer value

Oh. I see. Some lists don't wrap in MarkDown if they don't have 2 blank spaces at end-of-line. I was not aware of this issue.
I wonder if they would have wrapped correctly if those sub-lists were indented with 4 blank spaces instead of only 3.

Oh. I see. Some lists don't wrap in MarkDown if they don't have 2 blank spaces at end-of-line. I was not aware of this issue.
I wonder if they would have wrapped correctly if those sub-lists were indented with 4 blank spaces instead of only 3.

So far as I'm aware it's a requirement in markdown to either double space after the end of a line to be a continuation (eg. Shift-Enter in a work processor) or double enter for a new paragraph.

So far as I'm aware it's a requirement in markdown to either double space after the end of a line to be a continuation (eg. Shift-Enter in a work processor) or double enter for a new paragraph.

Fair enough. From my own personal experience, it also works if the indentation is well defined. Then again, the method you have chosen is valid and working too.

Looks quite good so far. I will add my approval when you have committed the suggested changes.

#sign-off

#sign-off


RHOAIENG-3984 Use the proxy at Red Hat.

https://issues.redhat.com/browse/RHOAIENG-3984
Description
Make segment connections go through the proxy at console.redhat.com
How Has This Been Tested?
Look at Browsers network tab
Test Impact
Should be none, as the tracking itself has not changed.
Request review criteria:
Self checklist (all need to be checked):

[X] The developer has manually tested the changes and verified that the changes work
[X] Commits have been squashed into descriptive, self-contained units of work (e.g. 'WIP' and 'Implements feedback' style messages have been removed)
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[X] The developer has added tests or explained why testing cannot be added (unit tests & storybook for related changes)

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

/ok-to-test

@pilhuhn can you rebase and squash your commits -- we don't typically want merge commits in our PRs.

@andrewballantyne Yeah. This is because I accepted your suggestion from the github UI :)

/retest
Flake?
[1]   ClusterStorage
[1]     1) Empty state
[1]     ✓ Add cluster storage (2140ms)
[1]     ✓ list accelerator profiles and Table sorting (1048ms)
[1]     ✓ Edit cluster storage (1133ms)
[1]     ✓ Delete cluster storage (1104ms)
[1]
[1]
[1]   4 passing (7s)
[1]   1 failing
[1]
[1]   1) ClusterStorage
[1]        Empty state:
[1]      Error: Failed to visit '/projects/test-project?section=cluster-storages'. Status code: unknown
[1]       at Context.eval (webpack:///./cypress/support/commands/application.ts:20:0)

oh man, I hope that with "Make segment connections go through the proxy at console.redhat.com" you have not again introduced a hardcoded thing that is incompatible with corporate setups.

This console.redhat.com is not a proxy, it is a telemetry tool ... this will not work in any corporate environment where direct access to console.redhat.com is not allowed, only thru proxy defined at central cluster level https://docs.openshift.com/container-platform/4.14/networking/enable-cluster-wide-proxy.html#nw-proxy-configure-object_config-cluster-wide-proxy  and by extension envs HTTP_PROXY and HTTPS_PROXY pointing to that central cluster config proxy.


is there a way to test binary data ?

superagent has responseType, however it seems that method is not exposed by supertest ?
request(app).get('/sub/asset1.a').responseType('blob')

yields
responseType is not a function

This works for me (not testing blob, but other types)
const res = await request(app).get('sub/asset1.a');
expect(res.header['content-type']).toBe('blob');


Trained epoch number

Hello,
I've trained more than 500+ epoch and every time I check my epochs in the log I found it 300 epoch
G_2333333.pth' (epoch 300)
However I trained two times up to 500 epoch two times !!
This is a limitation or a problem ?

Yep, Fixed it, Thank you :)


Changes for moving bmctl, sa as part of preflight..Done some var upda…

I looked into the idea of not having to pass the cluster_type env variable. But It will really makes things more complex..I mean I will have to create different roles for hybrid and user for create cluster. Will need two different playbooks for create, update and may be reset. I am not sure if thats the right way to go.We can discuss tomorrow on this..
I have also moved the bmctl install and Service account creation in the preflight and the create cluster just runs Anthos related stuff but with that we might also have to pass the env variable for running preflight playbook.
We can definitely talk more and surely look more into these changes..

Merging the changes.Can look into revert if needs to update something


[Feature Request]:  Enhancement of HTML basics page

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I want to the enhance the html basic page like by adding some hover effect and shadow
And allow it to take the full width
Use Case
This will make website more Attractive
Benefits
No response
Add ScreenShots
https://github.com/CodeHarborHub/codeharborhub.github.io/assets/118350936/ac5e4245-381a-4d2b-b0ac-6f506922e25e
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

/assign


[BEAM-7746] Fix type errors and enable checks for apache_beam.dataframe.*

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

R: @chadrik

PTAL

Ping.

Run PythonLint PreCommit

Oh, yes. Fixed all uses of typing.TYPE_CHECKING now.
On Tue, May 26, 2020 at 2:32 PM Chad Dombrova<EMAIL_ADDRESS>wrote:

@chadrik commented on this pull request.
In sdks/python/apache_beam/dataframe/convert.py
https://github.com/apache/beam/pull/11632#discussion_r430719974:

import inspect

from apache_beam import pvalue
from apache_beam.dataframe import expressions
from apache_beam.dataframe import frame_base
from apache_beam.dataframe import transforms
+if typing.TYPE_CHECKING:

pylint: disable=ungrouped-imports

from typing import Any
from typing import Dict
from typing import Tuple
from typing import Union

I think it still needs to be fixed for dataframe.convert.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/11632#discussion_r430719974, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AADWVALSZ7GEBIO4QLANAOTRTQYPRANCNFSM4M3SWLUA
.

LGTM!

Thanks!


need this Feature

just like sublime show：

@yuu2lee4 I don't quite understand what you mean?

@weinand  you can open multiple files in sublime，then you can compare，you can edit etc

@yuu2lee4 you can open multiple file in VSCode too:

An you can compare files:


Issues with documents filtering using tags

Hi,
We uploaded some files with multiple tags as seen below (e.g., project name: Wegstunnels AWA, project code: MN004259,  tender outcome: Gewonnen)

When using these tags on the app frontend before querying the model, we got diverse errors:

When selecting only one of the three tags, the completion always states that no data source is found (see below the completion, in Dutch sorry)

When selecting two or all three tags, we get instead an error:

We have looked into the code and are struggling to pinpoint the reason why it fails. Could we get some support on this?
The Git commit of the source code from this repo is: https://github.com/microsoft/PubSec-Info-Assistant/commit/27df39089a0a203c41ae153dc2539315559d0eeb
Thank you!

Hello - Found the issue here.
I have a solution in Pull Request https://github.com/microsoft/PubSec-Info-Assistant/pull/484
The issue being each tag was being quoted separately which was overloading the AZ Search function.
I made a change to normalize the parameter.

That's great thank you, we'll try it out!

Hi, we've just deployed the latest version of vNext-Dev (commit 0909c4b). The "Invalid Expression" error when using multiple tag is indeed gone, thank you! However, with one or multiple tag(s), the issue that no document source is found remains. If we query the database without any tag selected, we get an answer with citations. However, when we ask the same question but this time with one/multiple tag(s) selected, we get the message that no data source could be found (see screenshot in Dutch in previous message).
Is it this working well for you or other users?

I think I have a better understanding of that search API and have an idea that should make searching with multiple tags way more accurate. Will update here when I have more.

@PaulineJaquot The fix for this was not in the query this time but in the index itself.
The change exists in this PR https://github.com/microsoft/PubSec-Info-Assistant/pull/491
However, will require re-indexing of the source documents to correct the tags field.

Resolved with latest release v1.1


Add README Description

Please do not create a Pull Request without creating an issue first.
Fixes #2

Please do not create a Pull Request without creating an issue first.
Fixes #2

Looks Good 👍🏼


Unable to stream

Hello I am having trouble streaming video.
Setup:
Raspberry pi 4 running newest Raspbian (connected to the camera)
linux laptop running ubuntu 22 (streaming the video feed)
I am sshing into the raspberry pi via the linux laptop.
I am able to ping <IP_ADDRESS> on the raspberry pi
I am also able to ping the raspberry pi from my ubuntu laptop
However, on the ubuntu laptop when I run
gst-play-1.0 rtsp://<IP_ADDRESS>:8554/live
on the ubuntu laptop (the computer trying to stream the video I get a green screen with sometimes some artifacts showing up.
I then see the following errors on the raspberry pi:
0:00:46.604331400  1412   0x7fa000ecc0 WARN                  udpsrc gstudpsrc.c:1637:gst_udpsrc_open:<udpsrc0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege? 0:00:46.604528546  1412   0x7fa000ecc0 WARN                  udpsrc gstudpsrc.c:1647:gst_udpsrc_open:<udpsrc0> have udp buffer of 212992 bytes while 524288 were requested 0:00:54.381702217  1412   0x7f80019180 WARN              rtpsession gstrtpsession.c:2435:gst_rtp_session_chain_send_rtp_common:<rtpsession0> Can't determine running time for this packet without knowing configured latency 0:00:54.392956724  1412   0x55c56574c0 WARN               rtspmedia rtsp-media.c:4663:gst_rtsp_media_suspend: media 0x7fa802e1c0 was not prepared 0:00:56.020835084  1412   0x7fa4027b60 WARN         rtpjitterbuffer rtpjitterbuffer.c:575:calculate_skew: delta - skew: 0:00:01.198059676 too big, reset skew
And I get the following errors on the ubuntu laptop
Pipeline is live. 0:00:01.522813394  4500 0x56c5f8ee92a0 WARN                  udpsrc gstudpsrc.c:1637:gst_udpsrc_open:<udpsrc0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege? 0:00:01.522894871  4500 0x56c5f8ee92a0 WARN                  udpsrc gstudpsrc.c:1647:gst_udpsrc_open:<udpsrc0> have udp buffer of 212992 bytes while 524288 were requested 0:00:01.523312366  4500 0x56c5f8ee92a0 WARN                  udpsrc gstudpsrc.c:1637:gst_udpsrc_open:<udpsrc1> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege? 0:00:01.523354031  4500 0x56c5f8ee92a0 WARN                  udpsrc gstudpsrc.c:1647:gst_udpsrc_open:<udpsrc1> have udp buffer of 212992 bytes while 524288 were requested Redistribute latency... 0:00:01.539972750  4500 0x7dc41802a4c0 FIXME                default gstutils.c:4025:gst_pad_create_stream_id_internal:<fakesrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id Redistribute latency... Redistribute latency... 0:00:01.555631340  4500 0x7dc41802a5e0 FIXME        rtpjitterbuffer gstrtpjitterbuffer.c:1518:gst_jitter_buffer_sink_parse_caps:<rtpjitterbuffer0> Unsupported timestamp reference clock 0:00:01.555654745  4500 0x7dc41802a5e0 FIXME        rtpjitterbuffer gstrtpjitterbuffer.c:1527:gst_jitter_buffer_sink_parse_caps:<rtpjitterbuffer0> Unsupported media clock Redistribute latency... 0:00:01.619000606  4500 0x7dc3f401b920 FIXME           rtph265depay gstrtph265depay.c:1287:gst_rtp_h265_depay_process:<rtph265depay0> Assuming DONL field is not present
So I then tried both the ubuntu laptops command but with sudo
sudo gst-play-1.0 rtsp://<IP_ADDRESS>:8554/live
and also used sudo on the raspberry pi
'sudo build/rtsp_rebroadcast'
However I would get still get a green screen with artifacts and the linux laptop's terminal would read:
 Pipeline is live. Redistribute latency... Redistribute latency... Redistribute latency... Redistribute latency... Redistribute latency... Redistribute latency... Redistribute latency...
and the raspberry pi would read:
:00:15.844389130  1571   0x7f78008aa0 WARN              rtpsession gstrtpsession.c:2435:gst_rtp_session_chain_send_rtp_common:<rtpsession0> Can't determine running time for this packet without knowing configured latency 0:00:15.855078997  1571   0x558705a8c0 WARN               rtspmedia rtsp-media.c:4663:gst_rtsp_media_suspend: media 0x7f9802e1c0 was not prepared 0:00:23.158189677  1571   0x7f94027b60 WARN         rtpjitterbuffer rtpjitterbuffer.c:575:calculate_skew: delta - skew: 0:00:01.185489031 too big, reset skew
I also tried with ffplay, but got the following errors as well.
Input #0, rtsp, from 'rtsp://<IP_ADDRESS>:8554/live':   0B f=0/0      Metadata:     title           : Session streamed with GStreamer     comment         : rtsp-server   Duration: N/A, start: 0.066667, bitrate: N/A , 30 fps, 30 tbr, 90k tbn, 30 tbc, yuv420p(tv), 1280x720    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0    [hevc @ 0x7d8f44029100] Could not find ref with POC 26 [hevc @ 0x7d8f4403ff00] Could not find ref with POC 28 [hevc @ 0x7d8f44089900] Could not find ref with POC 0 [hevc @ 0x7d8f44099ec0] Could not find ref with POC 10 [hevc @ 0x7d8f440aa400] Could not find ref with POC 28 [hevc @ 0x7d8f44029100] Could not find ref with POC 0 [hevc @ 0x7d8f4403ff00] Could not find ref with POC 18 [hevc @ 0x7d8f44089900] Could not find ref with POC 27 [hevc @ 0x7d8f44099ec0] Could not find ref with POC 14   0B f=0/0    [hevc @ 0x7d8f440aa400] Could not find ref with POC 28   0B f=0/0    [hevc @ 0x7d8f44029100] Could not find ref with POC 10   0B f=0/0    [hevc @ 0x7d8f4403ff00] Could not find ref with POC 12   0B f=0/0    [hevc @ 0x7d8f44089900] Could not find ref with POC 18
I am pretty lost in what I should try next. After searching online I am lead to believe this may be due to missing frames.

I figured out (at least I think this was the issue) that the camera was set to HDMI output. However, I am still having a different issue that I will post.

I didn't know it could be set to HDMI output? I often use it with both or either?


Not replacing text in Chrome's address bar

Expected behavior
When typing in keyword text is expanded inside Chrome's address bar.
Actual behavior
Nothing happens.
Steps to reproduce the behavior
Try typing in a keyword in Chrome's address bar.
Operating system
Windows 10
I've tested this in the latest stable version of Chrome and in Canary version.

Hi @viktorix
Unfortunately, I cannot reproduce the problem, Beeftext works fine  in the address bar of the latest stable Chrome release on my system (Windows 10 Pro 64bit EN).
Here are a few things that could help:

Run a malware scan to ensure no malicious keylogger is interfering. (MalwareBytes is a good one if you do not have a favorite).
Try with all Chrome extensions disabled.
Try with the option "Use clipboard for combo substitution" turned off. I recommend turning it back on when you're done testing, as the clipboard approach is performing better).
If you can, I would be interested in a sample combo that does not work (simply export a single combo in Beeftext and attach it to the issue). That would be helpful to see if the error is linked to the actual keyword or snippet text.

Also, I'm interested in the following details about the behavior:

If the "Play sound on combo" option is turned on, do you hear the sound when typing the keyword?
Does the keyword disappear or does it remain visible?

I'm using Sophos anti-virus and firewall, I doubt I have keylogger.
I tried this in incognito mode in Chrome, same thing.
It doesn't help turning this option off.
I created simple test combo, json below. Also, please see this quick video (no audio) of the issue:
https://www.useloom.com/share/38721b67c80347d19ddbfd4dd3c3d8e3

There is no sound and keyword remains. Also, I tested this in Edge's address bar and it does work. It does not work in Firefox. Same thing as Chrome, nothing happens. In Firefox, like in Chrome, I get Google search recommendations when I type in a keyword. Maybe that's interfering with text replacement somehow?
    "combos": [
        {
            "creationDateTime": "2018-04-12T01:51:16.580",
            "enabled": true,
            "keyword": "testit",
            "modificationDateTime": "2018-04-12T01:51:31.546",
            "name": "test",
            "snippet": "this is a test",
            "uuid": "{8e839a24-766b-4c8f-b2b0-e63e89e78a6f}"
        }
    ],
    "fileFormatVersion": 3,
    "groups": [
    ]
}

All this applies to #64 too.

Hi @viktorix
Thanks for the video and the snippet. It's still working fine for me. As the problem tends to occur in browsers only, I think the problem could be caused by your antivirus. I'm not familiar with Sophos, but I see they do have a web protection module. I guess it could be actively preventing other applications to interfere with the text field in the browser (reading text fields, replacing address bar content...)
If you have administrative rights on your computer, you could try disabling Sophos to see if the problem persists.

I tested Beeftext with 3 Chromium-based browsers- Cent Browser, SRWare Iron and Vivaldi- Beeftext worked fine with all of them.

It looks like it is Sophos that's blocking text replacement. It has a feature for Safe Online Banking that provides protection from keyloggers. Turning it off, allows Beeftext to replace text in the browser address bar and file explorer.

I'm glad you found the solution, thank you for sharing. (I'm also relieved that the problem does not come from Beeftext.) I'm closing both issues.


Processing three at once

Check List:

[x] Tests pass (./test.sh <username> shows no differences between expected and actual outputs)
[x] All formatting changes by the build are committed
[x] Your launch script is named calculate_average_<username>.sh (make sure to match casing of your GH user name) and is executable
[x] Output matches that of calculate_average_baseline.sh
[x] For new entries, or after substantial changes: When implementing custom hash structures, please point to where you deal with hash collisions (line number)

Execution time: -
Execution time of reference implementation:-

@gunnarmorling please try this one, reworked the code a bit.

Still slower:
Benchmark 1: timeout -v 300 ./calculate_average_artsiomkorzun.sh 2>&1
  Time (mean ± σ):      2.275 s ±  0.016 s    [User: 0.002 s, System: 0.004 s]
  Range (min … max):    2.250 s …  2.291 s    5 runs

Summary
  artsiomkorzun: trimmed mean 2.2773191317333334, raw times 2.2497048544,2.2821089994,2.2912083904,2.2811346294,2.2687137664

Leaderboard

| # | Result (m:s.ms) | Implementation     | JDK | Submitter     | Notes     |
|---|-----------------|--------------------|-----|---------------|-----------|
|   | 00:02.277 | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_artsiomkorzun.java)| 21.0.2-graal | [Artsiom Korzun](https://github.com/artsiomkorzun) | GraalVM native binary, uses Unsafe |

@gunnarmorling thanks for your patience:)


add backwards compatible symbol

as suggested by @jglick in https://github.com/jenkinsci/email-ext-plugin/pull/212#discussion_r551444817

Hi @basil . Would it be possible to release it?

Hi @basil . Would it be possible to release it?

Released in 2.81.

Released in 2.81.

Thank you!

Thank you!


Current state of project [QUESTION]

Hi all! I'm just wondering what the current state of the project is? Just come back after a while away and the releases seem to be labelled as (GearVRF_Full_Maint_0.1.436) - does this mean that it's now only in maintenance mode or are there plans for a new release soon? I noticed the last one was 4.0 back in Oct 2017.
Thanks for any info!

We are still actively developing.  We have another release coming up in the beginning of November.

Awesome! Thanks @thomasflynn - good to know. Still such an awesome project :1st_place_medal:


Could you please share the code of comparison model in the paper

Thank you for your contribution to relevant work. Could you please share the code of comparison model in the paper, such as ResUnet++ doubleu-net TransUnet levit-unet, which would be very helpful to me

Hello, all of the models are compared by using eval_binary.py and eval_multiple.py, so I am a little bit confused about your requirement. Do you need the training code of other models?

yes, I have some problems related to code in another problem. Could you please help me solve them


[WIP] One way to do other types of services

Motivation for this change
See #26067. Not quite sure how to expose this, and I'd be tempted to move the service modules out of the nixos folder if this catches on.
Here's how I use it:
(import ./nixos/lib/eval-config.nix {
  modules = [
    {
      services.hologram-server = {
        enable = true;
        awsAccount = "123456";
        awsDefaultRole = "foo";
        ldapBaseDN = "foobar";
        ldapBindDN = "baaz";
        ldapBindPassword = "quuux";
        ldapHost = "zomg";
      };
    }
  ];
}).config.system.build.toplevel-trivial

Then just nix-build that and you get a runner script that launches your service on any platform supported by the package.
Also, toplevel-docker will contain as many dockerTools-style containers as your config has docker-flavored services enabled.

My main question for feedback is how do we expose this sort of thing? I was thinking of something like the following:
{
  dockerServices = config: (import ./nixos/lib/eval-config.nix {
    modules = [ config ];
  }).config.system.build.toplevel-docker;
}

But it feels a bit awkward to then stick dockerServices in all-packages.nix. I really just want to be able to call a function, pass in some service config, and get out a nice baked container image (or several). Same with trivialServices for simple shell launchers.
I imagine nix-darwin would consume it differently.
Another question is how to warn people if they decide to specify useless config in there. Someone could write networking.firewall.enable = true inside the config block they pass to dockerServices but it would just be ignored. I'd rather the user be warned not to use irrelevant config. I could do as @edolstra said in the other ticket and only selectively include modules based on some meta tag, but I liked the laziness of not doing that.

What is the status of this pull request?

Closing due to lack of activity, feel free re-open this if needed.


drivers: ieee802154: rf2xx: Move power table to devicetree and add Sub-Giga support

The current version of power table is hardcoded in the driver which is a problem when use devices in production. This change remove all hardcode from driver and re-implement the feature to allow people create a table which is defined in devicetree. The big advantage is that each board can define their own table based on lab tests and allows use of FEM devices inclusive.
In addition, add support to at86rf212[b] sub-giga devices. This work enables use of pages 0, 2 and 5 in accordance with IEEE-802.15.4/2003/2006/2011. The proprietary speeds can be object of future work.
CC: @markus-becker-tridonic-com @maxmclau
How to build and test with AVR-RZ600 modules on Atmel Boards
west build -b sam4e_xpro samples/net/sockets/echo_client -- -DSHIELD=atmel_rf2xx_legacy -DOVERLAY_CONFIG=overlay-802154-subg.conf
west build -b sam4s_xplained samples/net/sockets/echo_server -- -DSHIELD=atmel_rf2xx_xplained -DOVERLAY_CONFIG=overlay-802154-subg.conf

Note: Ethernet/MDIO drivers should be disabled at SAM4E-XPRO

Hi @galak ,
I was wondering if you have few time to revisit this.

Agree with @mbolivar-nordic that having a dependency between dts and Kconfig as specified in the binding doesn't make sense. We need to fix/clean that up.

Implemented check as suggested by @mbolivar-nordic and dropped Kconfig option.

@carlescufi , @galak , could you revisit this? I already got @mbolivar-nordic approval on devicetree.

I was wondering if anyone could help with this PR.

Fix access to table order and rebase.

Implemented suggestion from @gmarull to have different table sizes.

Hi @mbolivar-nordic , @rlubos, @gmarull I was wondering if you could re approve PR.
Thank you!


new type of identifier

It may be useful to have a new type of identifier and manifest generation: from a volume id + a work id contained in the volume, the output would be a manifest of the whole volume, but with the default range corresponding to the work so that the viewer displays the work, in context

see https://github.com/IIIF/api/issues/1921


Sync csproj when files are changed from the Godot FileSystem dock

Closes #12917
I had to expose FileSystemDock to the scripting API, which partially addresses #26709 (although that issue should have been two separate issues).

@akien-mga This cannot be cherry-picked directly due to the new way of using signals in C#. I can make a separate PR against the 3.2 branch. WDYT?

Related to #37116. :eyes:

@akien-mga Alternatively, I can separate this into two commits. Most of the code in the first one, compatible with 3.2, and the second one only updating to the new signal events syntax. This way you can simply cherry-pick the first commit.

This cannot be cherry-picked directly due to the new way of using signals in C#. I can make a separate PR against the 3.2 branch. WDYT?

A dedicated PR for 3.2 sounds good.

Thanks!


Consensus panic when 4th validating peer comes up.

Description:  4th VP of a set of 4 VPs crashes with a panic error message when they are brought up in a staggered manner, per the instruction documents.
Steps to Repro:

Set peer log level to debug
Bring up a set of 4 VPs per the devnet_setup.md
View logs on 4th VP

Results:
obc-peer crashes with a panic message
Expected results:
All VPs should be able to come up and speak to each other
pbftpanic.txt

what's the peer id for the 4th VP ?  OPENCHAIN_PEER_ID=VP4 or VP3 ?

docker run --rm -it -e OPENCHAIN_VM_ENDPOINT=http://<IP_ADDRESS>:4243 -e OPENCHAIN_PEER_ID=vp4 -e OPENCHAIN_PEER_ADDRESSAUTODETECT=true -e OPENCHAIN_PEER_DISCOVERY_ROOTNODE=<IP_ADDRESS>:30303 openchain-peer obc-peer peer
This is how I called it, I should have named it vp3, but I named it vp4, but if they're going to come up out of sequence would this not expose the same bug?

The VPs can start up out of sequence but the peer IDs have to be in order 0,1,2,...n with no gaps.
It's a bit of a pain right now but we're working on how to get the consensus peers to recognize each other, e.g. #756 or some other mechanisms

Should be handled by #756.

Tested vp0, vp1, vp2, vp4 today... issue resolved.


Redesigned Project Display Buttons

Hello, amazing contributors!
@JohnPatrickAncajas
@IrfanSalim
@KubasuIvanSakwa
@Shoyebaktar-shirol
@animasoul
@laibatariq07
@ktriggsdev
@rishabh-patil-03
@traez
@globalnebula
@SusheelThapa
We're excited to share some recent design changes with you. We've revamped the project display to enhance clarity and user experience.
Key Changes

Project Image: We've replaced the project button with a project image for a more visually appealing presentation.

Used Technologies: We've added a "Used Technologies" section to provide insights into the technologies or programming languages used in each project.

Seeking Your Input
As valued contributors, we'd love to hear your thoughts and ideas on these design changes. Do you have any suggestions for further improvements? Is there anything else you'd like to see?
Feel free to share your feedback, and let's work together to make The Wall of Projects even better! Your insights are incredibly valuable, and we appreciate your contributions.
Happy coding, and thanks for being a part of this project!

Nice to see there have been further developments on this project, I was thinking though that the UI could be a bit more modernised, for example maybe use technologies like bootstrap to further enhance the style of the page if it is not already used. additionally the latest trend in css styles is something called neumorphism, which may be an interesting addition to the project. you can find that here: https://neumorphism.io/

This is a welcome development and I am glad to see this coming to live. I would like to know if this changes have proceeded to development or still on decision stage. if available and not yet handled I would love to work on it and also implement bootstrap in it display for good user experience.

@MrAshwin2142  Can i take this issue


Adding a comment with image in Github doesn't show the image in Linear

Adding a new comment in Github with an image doesn't show the image in Linear
The image's markup is there but it's not parsed it seems

Thanks! Should be fixed by 644000c653a236df3ba358039b81a31cc7d609c2. Please feel free to reopen this if not.

Receiving this error after sync replaces the img url from github to Linear
NoSuchKeyThe specified key does not exist.


Help with kinematic based data filtering

I'm trying to replicate this paper on my own hardware, which is a ViperX 300 6 DoF. I'm running into a problem where my policy is generating a lot of singularities, which I imagine is partly due to the ViperX having more of them than the robots you used in the paper.
However in the paper you mentioned that you used kinematics based data filtering to train the policy. I didn't see any place to incorporate the ViperX's kinematics into the code, so I don't think I did any filtering when I trained my policy. Could you give me any pointers on how you achieved this?

Hi @sirwart, we did task-specific filtering around this line with ur_ikfast, which is not compatible with ViperX.
Please feel free to submit a PR once you figure out kinematics based data filtering with ViperX!


Feature: Support mounts in devcontainer.json

Q: what should happen for bind mounts that reference folders that don't exist on the host?

Oops - the config value was added in the referenced PR but not the implementation. Re-opening!

Hi folks, I had a situation in which the mount broke my pipeline. I'm currently doing a read only bind of  ~/.ssh and mounting a volume that is used for storing the cli history... when I try to build it in AzDO it fails saying that there is no .ssh ... that is expected ... is there a way to disable mounts?
docker: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /home/vsts/.ssh.

cheers,
Juan


Correct kubectl operator install for latest version of operator-sdk

Fixes https://github.com/cert-manager/website/issues/981

Updated @wallrj
Sorry for the delay, just saw this.


name in the navigation drawer needs to be changed

@jbeorse  what name should be given?

You are right that this is an issue, but I wouldn't name it "ODK Notifications" yet since the project is not officially released into the ODK tools yet and doesn't have an official name. As mentioned in this comment, lets call it "Bat" for now.

ok @jbeorse i will just change it to "Bat"

Resolved with https://github.com/opendatakit/skunkworks-bat/pull/11


Graphite write plugin

It would be nice to be able to write metrics in Graphite format to a remote host.

+1, definitely interested in that.

Color me surprised that there's no native Graphite output. FWIW you could still make this work with a proxy like Backstop.


macOS: understand high CPU file watching issues in 1.50

There are some reports from macOS users seeing high CPU in the watcher service process:

https://github.com/microsoft/vscode/issues/108408
https://github.com/microsoft/vscode/issues/108387
https://github.com/microsoft/vscode/issues/108376

In September we updated our file watcher library chokidar from 3.2.3 to 3.4.2 (https://github.com/microsoft/vscode/commit/0de4890a28ab466c340a94fad33e5e8c16cac89d) with the goal to actually reduce the CPU load. I tested this on macOS and Linux and found the CPU pressure to be smaller. This also matches what was announced from their release notes.
@n808 @victorpavlov @davidham @hDmtP merging your issues into here. What would help is to understand better what kind of folder you open triggers this:

does this NOT reproduce with 1.49.3 (download)
could it have cyclic symbolic links
would I be able to get access to such a folder to try for myself
does the high CPU load eventually go away or stay high?

//cc @paulmillr for additional insights if possible

No there is no such issue with the 1.49 version.

@bpasero in your tests, CPU usage became smaller, but from reports, it got up?

Hi @bpasero, thanks for the reply.
I did not observe the COU to go down, and I quit out of it after 10 minutes
or so.
The folder where this is happening does have some symlinks in it, and while
they should not be cyclic (that is, the path stops at a given point),
that’s a good tip and I will look into it.
The GitHub project this is in contains a lot of Terraform code, so there
are a lot of .terraform folders that have a lot of hidden files that are
not tracked in Git.
On Sat, Oct 10, 2020 at 8:56 AM Paul Miller<EMAIL_ADDRESS>wrote:

@bpasero https://github.com/bpasero in your tests, CPU usage became
smaller, but from reports, it got up?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/108441#issuecomment-706552918,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAPZQKDA7X3TVFTZCQLGO3SKBRYJANCNFSM4SK53REQ
.

@hDmtP does it reproduce with all folders? and in the folders it does reproduce, any chance for cyclic symbolic links?
@paulmillr yeah I ran some tests on very large folders to verify the improved performance of reading directories (via readdirp) recursively and felt that while the overall operation takes longer, the CPU and memory consumption is lower, which I quite liked. The reason I am wondering about cyclic symbolic links is the release notes of chokidar 3.4 saying:

Support for directory-based symlinks.

@davidham please check and also let me know if it reproduces with other folders.

@bpasero On the latest release before 1.50 such an issue was not seen. In my project are couple symbol links which redirects to the docroot. Currently that's all what I can say. I will do more testing on Monday.

happens to me in 1.49.3 after upgrading flutter to 1.22.1

@victorpavlov is docroot outside the workspace folder? Is this a folder I could test this on my machine?
@smiLLe the was no change before 1.50.x in this area.

does the high CPU load eventually go away or stay high?
Yes, after around 18-20 minutes the system goes back to normal.

It turns out my project had a symbolic link pointing back to the root of the project. When I removed this link, CPU usage is normal on startup. (So that solves the issue for my part, as the link was not really necessary.)

@bpasero I don't think we can easily handle cases like this, can we?

@paulmillr as a way for VSCode to mitigate this issue as part of a recovery release, could you release a new version with a new setting that allows to keep the previous behaviour (which I think was to support file-based symbolic links) but not watch folder-based symbolic links until we figure out a better solution?
As for how to prevent this: isn't chokidar keeping a map of watched files and folders somewhere that could be used to detect if a folder has been watched already? This probably requires something like fs.realPath to be used to know the exact path on disk.

@bpasero For me it happens only on one project from all projects I'm having now. Unfortunately I can't grant you access to this project, but here's how the structure of the project is looking now:
Root level:

And here's docroot with symlinks:

And those symlinks just redirects back to the docroot.

@victorpavlov thanks, so this looks to be the issue, having cyclic symbolic links in the project structure.

I'll try to dig into this today, if I can't, i'll look around pushing a temp option that disables the behavior

@paulmillr thanks!

Can anyone please(🙏🏼) explain to me what is cyclic symbolic links you guys are talking about?

@hDmtP sorry sure: a symbolic folder link that eventually points to a parent of that symbolic link so that if you would iterate over the folders it would be endless.

Got it @bpasero. Thanks!

Is there any way to test this with readdirp@master? This should handle it.

@paulmillr looks promising! I gave it a quick test running VSCode locally on a folder with symbolic links and could not reproduce the CPU spike when I applied the change in readdirp locally 👍
I could not see the error bubbling up either, I am not sure how you handle it in chokidar.

@bpasero have you had a chance to test this on win32?

@paulmillr vscode is actually not using chokidar on Windows, only macOS and Linux.

<EMAIL_ADDRESS>is out now.

Thanks 🤝

@paulmillr I was curious and checked the unit test results from 3.4.2 vs 3.4.3 to make sure there are no new regressions from the change. Interestingly you seem to have a test should not recurse indefinitely on circular symlinks which now seems to fail but with the error you added, so it seems fine?

3.4.2 green Linux test run: https://github.com/paulmillr/chokidar/runs/954558070
3.4.3 red Linux test run: https://github.com/paulmillr/chokidar/runs/1247209219

1) chokidar
       fs.watch (non-polling)
         watch symlinks
           should not recurse indefinitely on circular symlinks:
     Error: Circular symlink detected: "/home/runner/work/chokidar/chokidar/test-fixtures/44/subdir/circular" points to "/home/runner/work/chokidar/chokidar/test-fixtures/44"
      at ReaddirpStream._getEntryType (node_modules/readdirp/index.js:217:34)
      at async ReaddirpStream._read (node_modules/readdirp/index.js:128:31)

Do the tests need adjustment?

Still happening w/1.5.1 updated a week ago.  Suggestions?
Version: 1.51.1
Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f
Date: 2020-11-11T01:11:34.018Z (1 wk ago)
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 19.6.0


add doc comment to attr macro. Fixes #473

fixes https://github.com/proptest-rs/proptest/issues/473

Looks great, thanks 🙏


reason: CRASHED, exit_description: failed to initialize container

CF CLI: cf version 6.13.0-e68ce0f-2015-10-15T22:53:58+00:00
On a fresh install of the PCFdev environment, I am attempting to deploy a docker image that runs fine on our production instance of PCF.  I found this gem:
{"timestamp":"1466623340.764457226","source":"garden-linux","message":"garden-linux.garden-server.create.failed","log_level":2,"data":{"error":"quota exceeded","request":{"Handle":"89f470b6-f3b6-42a9-86b9-3a0c5c6fe4c6-e43e7a7c-b70a-459b-8de5-f28de73c578a-4d1bb884-2e67-45e3-4974-ad161b1c2bf8","GraceTime":0,"RootFSPath":"docker://docker.private.com/my-image#latest","BindMounts":[{"src_path":"/var/vcap/data/executor_cache/63ea7f2639ccaee90c1eb81aa5dbe0bc-1466607887874386993-1.d","dst_path":"/tmp/lifecycle"}],"Network":"","Privileged":false,"Limits":{"bandwidth_limits":{},"cpu_limits":{"limit_in_shares":10},"disk_limits":{"inode_hard":200000,"byte_hard":536870912},"memory_limits":{"limit_in_bytes":268435456}}},"session":"11.4388"}}

It appears to me it is failing to create the container due to a quota exceeded error. However, runnig cf quotas outputs:
Getting quotas as admin...
OK

name      total memory limit   instance memory limit   routes   service instances   paid service plans
default   100G                 unlimited               1000     unlimited           allowed

So I am a little confused as to why this container is failing to run or where I should go from here to troubleshoot the issue.

Hi @janders223,
The default per-app memory and disk quota for PCF Dev is lower than that for a default PCF install. You can observe this by running cf apps against PCF Dev and PCF. We reduced the default memory quota from 512MB to 256MB and the default disk quota from 1GB to 512MB, so that you can push a reasonable number of apps on a laptop with memory constraints.
To adjust this, simply push your app with the -m and -k flags:
cf push your-app -m 512MB -k 1GB

(or update your app manifest, if applicable)
To allocate more memory to your PCF Dev VM, you can pass -m to cf dev start:
cf dev start -m 8192 # allocates 8GB to the VM, instead of the default ~4GB

Hope this helps!
-Stephen

That worked. I guess that like the rest of PCF the errors don't always mean what they say and are terribly hard to get at.


font_url not working with asset_hash

I would like to use a custom font and hashed assets. So I set up something like:
@font-face {
  font-family: "my-custom-font";
  src: font_url("my-custom-font.eot");
  src: font_url("my-custom-font.eot?#iefix") format("embedded-opentype"),
    font_url("my-custom-font.woff") format("woff"),
    font_url("my-custom-font.ttf") format("truetype"),
    font_url("my-custom-font.svg#my-custom-font") format("svg");
  font-weight: normal;
  font-style: normal;
}

If I reload, the generated CSS only contains one hashed asset url, f.e.:
@font-face {
  font-family: "my-custom-font";
  src: url("/fonts/my-custom-font-66bffac9.eot");
  src: url("my-custom-font-66bffac9.eot?#iefix") format("embedded-opentype"),
    url("/fonts/my-custom-font.woff") format("woff"),
    url("/fonts/my-custom-font.ttf") format("truetype"),
    url("/fonts/my-custom-font.svg#my-custom-font") format("svg");
  font-weight: normal;
  font-style: normal;
}

If I put some other font in the first place, it also gets the correct hash attached. Does anyone have an idea what is happening and how this can be improved? This is suboptimal since specially custom fonts will change and so the outdating of the cached file with the hash seems necessary for me.
Thanks for any hint!

What is font_url? Do you mean compass' font-url?
Judging by the output, it does not look like that function is being run.
Are you on v4? Try adding middleman-compass to your Gemfile if you're expecting compass functions.

Hi @tdreyno, thank for your feedback. The method I'm referring to is part of the middleman core app at renderers/sass_functions.rb.
The function is being run on the first usage of font_url on each line, but not on further calls.
I updated the code examples, because I had a copy & paste error, which lead to the impression, that it's not called at all

@nlsrchtr Ah, yeah, we ported that out of Compass for v4. I forgot :)
Does this issue only happen when Sprockets is involved? Can you remove/comment the sprockets line from your Gemfile and confirm this is still happening?

Yes, it's only happening if Sprockets is involved. So the combination font_url, Sprockets and asset hash is causing the issue. Should I wait for a final asset pipeline in v4, since the docs suggesting the external_asset pipelines?
Thanks for looking into it, @tdreyno!

Sprockets is likely not coming to v4 for a long time, unless we find a maintainer.

@nlsrchtr It may even be possible to use Sprockets CLI with the external pipeline:
https://github.com/rails/sprockets/blob/master/bin/sprockets
(to be clear, I think external pipeline is much better than bundling sprockets, since the external pipeline allow more flexibility)

That's a good thought. Looks like this CLI doesn't provide a watcher, so it'll likely be quite slow.

I was trying to get a quick win and changed font_url into image_url but it also failed. What's the new supported way for v4 if I was used to the rails-style asset pipeline behaviour?

For now, Compass will provide those methods still. That said, I'd just use normal url with a project absolute path: /fonts/my-font.ttf. v4 can parse these and relativize them if asset_hash is active.

@tdreyno Thanks for your hint. That worked well and so I would close the issue and wait for the finale v4 recommended way.

@tdreyno Thanks for your hint. That worked well and so I would close the issue and wait for the finale v4 recommended way.


Chocolatey Package

Any chance we can get this on Chocolatey.org so that i can make it part of my build script?
Thanks!

https://chocolatey.org/packages/GPMDP


v0.7.0

New Features

Copy/Paste from host to host, from thinclient to host and from host to thinclient.
Add --vnc-speeds flag.
tower poweroff command.
tower deprovision command.
tower upgrade to upgrade the Thin Client.
tower upgrade --host to upgrade several hosts in parallel via ssh.
Automatically upgrade hosts at the end of the Thin Client upgrade.

Bug fixes

Optimize x11vnc parameters.
Fix contextual menu in Firefox with vnc.
Fix capslock in host with vnc.
Fix VNC viewer resize when menu is open.

Refactoring

Clean vnc.py.
Clean install-thinclient.sh: remove everything related to Tower tools.
Install everything related to Tower with toweros-thinclient and toweros-host apks.
Clean tower-lib package: remove all non python files not directly used by tower-lib.
Refactor install-dev.sh script: split into configure-git.sh, connect-wifi.sh, open-ssh.sh and install-dev-usb.sh.
Remove nx and waypipe support.

** Misc **

Update documentation.
Add ConnectTimeout=1 for every hosts in the ssh config.

** Upgrade instruction from previous version **
After the first boot run the following commands:
[thinclient]$ python -c 'from towerlib import sshconf; sshconf.add_connect_timeout()'
[thinclient]$ rm ~/.profile

nice!!! 🙌


Write my own keras layer

I want to write my own keras layer with taking as input a tensor with shape (nb_batch, input_dim) and producing a tensor with shape (nb_batch, length_of_senquence, output_dim) . I have write a demo below:
`class MyLayer(Layer):
def init(self, output_dim, context_size, init="uniform", **kwargs):
self.output_dim = output_dim
self.context_size = context_size
self.init = initializations.get(init)
super(MyLayer, self).init(**kwargs)
def build(self, input_shape):
    input_dim = input_shape[1]
    self.W_vec = self.init(
        (self.context_size, input_dim, self.output_dim),
        name="W_vec")

    self.trainable_weights = [self.W_vec]
    super(MyLayer, self).build()  # be sure you call this somewhere!

def call(self, x, mask=None):
    return K.dot(x, self.W_vec)
    # return K.dot(x, self.W)

def get_output_shape_for(self, input_shape):
    return (input_shape[0], self.context_size, self.output_dim)`

when I ran it , got a error "TypeError: build() takes exactly 2 arguments (1 given)"
Please make sure that the boxes below are checked before you submit your issue. Thank you!

[ ] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps

[ ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[ ] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

You have this super call:
    super(MyLayer, self).build()  # be sure you call this somewhere!
which does not supply input_shape to the superclass - I think you need to pass the parameter.

thks . I have noticed this problem.@phdowling


Define a mx.sym.Variable which is constant in each mini-batch, but still trainable

Consider the following code. The mx.sym.Variable('extra_bias') is expected to be [small small large small] after training, which is indeed the case.
However, currently the inferred shape has an extra dimension (=mini-batch-size), and hence there will be mini-batch-number-of-copies of it. For example (run the code and you will see this output):
[[-0.37707356 -0.37662297  1.12921023 -0.37551349]
[-0.37635165 -0.37655994  1.12926149 -0.37634984]
[-0.37645847 -0.37651965  1.12986588 -0.37688756]
[-0.37663144 -0.37624913  1.12919986 -0.37631923]
[-0.3760089  -0.3764413   1.12953496 -0.37708497]]
How can we tell mxnet that this variable should be constant in each mini-batch (so there is no need to train such a large array), while making sure it's still trainable? Thanks.
import mxnet as mx
import logging
import math
import random
import numpy as np

# generate dummy data

n_img = 100
img_size = 2
img = [[[[ random.uniform(0, 1) for x in range(img_size) ] for y in range(img_size)] for c in range(1)] for n in range(n_img)]
label = [0 for n in range(n_img)]

for i in range(n_img):
    label[i] = 2

batch_size = 5
logging.getLogger().setLevel(logging.DEBUG)

train_iter = mx.io.NDArrayIter(data=np.array(img), label=np.array(label), batch_size=batch_size, shuffle=True)

# simple model

data = mx.sym.Variable('data')
conv = mx.sym.Convolution(data=data, kernel=(1, 1), pad=(0, 0), num_filter = 1)

# optimal value expected to be [small small large small]
extra = mx.sym.Variable('extra_bias')

flatten = mx.sym.Flatten(data=conv)
flatten = flatten + extra
out  = mx.sym.SoftmaxOutput(data=flatten, name='softmax')

module = mx.mod.Module(symbol=out)

# training

def epoch_callback(epoch, symbol, arg_params, aux_params):
    for k in arg_params:
        print(k)
        print(arg_params[k].asnumpy())

module.fit(
    train_iter,
    eval_data = None,
    optimizer = 'sgd',
    optimizer_params = {'learning_rate': 0.1, 'momentum': 0.0},
    num_epoch = 5,
    batch_end_callback = mx.callback.Speedometer(batch_size, 1),
    epoch_end_callback = epoch_callback
)

extra = mx.sym.Variable('extra_bias', shape=(4,1,1))

flatten = mx.sym.Flatten(data=conv)
flatten = mx.sym.broadcast_add(flatten, extra)

Thanks. It works now (the shape should be (1,4) for it to work).
p.s. Could you take a look at my other question: https://github.com/dmlc/mxnet/issues/4837 ?

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


Add extract support for RPA-3.2 archives.

rpatools failed to extract the .rpa files for Zeliria Sanctuary because it uses the RPA-3.2 format.
While looking at the metadata I noticed that the key has moved to the 4th value.
Metadata for Sattelite archive.rpa:
vals:
['RPA-3.0', '0000000011e171a2', '42424242']
offset:
299987362

Metadata for Zeliria Sanctuary achive.rpa:
vals:
['RPA-3.2', '000000000020a3b4', 'F', '42424240']
offset:
2139060

I haven't found any references to the RPA-3.2 format in the renpy source, which makes me suspect this is a customization by the game developer.
The changes in this PR allowed me to successfully extract the files from Zeliria Sanctuary .rpa files, and unpack its .rpyc files with unrpyc.

Thanks a lot! Merged it.

Thanks for merging.
I contacted the developer and they confirmed that the RPA-3.2 format is their non-standard implementation of the archive format which they used to ensure the protection of the game (in the first months after release).


Sparse Cholesky Solver

Is your feature request related to a problem? Please describe.
Some problems need a Sparse Cholesky solver, such as GraphSlam
Describe the solution you'd like
Implement a Sparse Cholesky Solver
Describe alternatives you've considered
In Rust, I used Russel which wraps SuiteSparse

this is on my todo list, but it'll take a while for me to get started on it. i need to refresh my memory regarding sparse factorizations

included in v0.14.0

Hi @sarah-ek ,
I want to thank you for your amazing work on this!
Just a few follow up: do you plan on having documentation on how to use it?
Also is will there be a benchmark to compare the performance to other solvers, similar to what was done with the other algorithms you implemented?

i can add some more docs to explain how to use it, sure
benchmarks aren't on the website yet, since i haven't had a chance to clean them up yet, but performance is competitive with CHOLMOD for both the simplicial and supernodal solvers


$env:+ doesn't work in emacs mode

Repro:
type "$env:"+TAB
Expected:
string "$env:" preserves on the line,
completion variants have been offered
Actual:
string reduced to "$"
No completion offered
short noize in headphones

:+1:
I am so happy to have PSReadLine but this is broken—when I hit tab it deletes everything back to the $:

Yes, I know it's broken, but there is a good explanation why.  The common prefix for all of the completions is '$' because one of the completions requires curly braces: ${env:ProgramFiles(x86)}.
I wanted to avoid interpreting the completions, which in this case would mean adding braces to all of the other completions.  But the problem goes beyond variables.
Maybe I should just go straight to MenuComplete when the common unambiguous prefix is shorter word to complete.

FWIW the exact thing I was trying to do when it came to my attention was to get it to show me the right way to spell/escape/quote ${env:ProgramFiles(x86)} without googling it. Without PSReadline, it does if I keep tabbing...

Until this is fixed, I suggest using Ctrl+Space.
If you forget and hit tab, remember that you can undo (Ctrl+_ in emacs mode, Ctrl+z in Windows mode), then hit Ctrl+Space.

Thanks a lot for your attention and quick workaround.

I think this was fixed in #515 - at any rate, it doesn't repro anymore.


Text not positioned like PDF... nor like SVG...

While PDF coordinates have the origin at the bottom left corner of the page, PDFkit seems to try to be "like SVG" in putting the origin at the top left. This is convenient for doing the same thing to SVG and PDF.
Except, SVG (and PDF) places text by using the coordinates given (or implied) as the baseline of the text, but PDFkit uses the coordinates for the top (of bounding box or something).
I was trying to convert some SVG to PDFkit that has text overlaid on graphics, and the text was "a line below" where it should have been. Not sure if that means cap height, line height, or exactly what, though.
Is there a way to obtain the distance between whatever PDFkit uses as the text placement point and the baseline for the font, so that adjustments could be made?
It would actually be nice if there were a "mode" or "setting" that would alter the way PDFkit places text so that when the mode is turned on, text would be placed  with the baseline at the coordinates given. It is only "backward compatibility for other PDFkit users" that makes me not suggest that PDFkit should simply be changed to use the baseline. But using the baseline is what PDF and SVG do... whatever PDFkit is doing is surprising to users that understand either of the others.
This is related to issue #334

So this formula seems to work for calculating baselines for several different fonts.
baseT = this.baseY - ( this.doc._font.ascender ) / 1000 * ptSize;

Yes. I made a mistake when designing the API to have text positions based on the top of the textbox rather than the baseline. It was originally to allow text to be positioned easily inside a box without needing to calculate the line height. I'd like to fix this problem, but I'm not sure how without breaking backwards compatibility for programs that depend on this now. I'll probably add a baseline option to the text method. Eventually it should be the default though...

Any idea when the baseline option would make it in?

:+1:

Can anyone give me a hit on what the actual units are? Pixels?

Depends. PDF units are points: 72 points = 1 inch.
Font units are "design units", generally  1000 per em square, unless it is something else. And so in a 10 point font, you em square would be 100 design units = 1 point.  But in a 20 point font, you'd have only 50 design units = 1 point.
SVG gives much user control over what its units are. Sadly there is at least one combination of nested SVG scaling that acts different in different browsers.

What is this?
baseT = this.baseY - ( this.doc._font.ascender ) / 1000 * ptSize;

@acthp  This is Javascript source code.  Not sure exactly what you are asking. The comment from which you quoted it describes its purpose.

@v-python this, not this. ;) Yes, it's javascript source, referring to an object (this pointer) that is not described.
I believe now it's not relevant, there is no this.baseY. Rather, doc is the pdfkit document object, so this is more like
pdfkitYCoord = svgYCoord - doc._font.ascender / 1000 * ptSize

Been a while since I wrote that code. And indeed, you are correct regarding "this" being a pointer to an object not described. Likely it was an object that was generating a pdf file containing formatted text, having a pdfkit document object as a member. You've correctly described the gist of the code.


[EVENT REQUEST] Skip OnOpenPage Code in Report 699 and Report 99001017

Can we get these events in and report 99001017 "Calculate Plan - Plan. Wksh."?
report 99001017 "Calculate Plan - Plan. Wksh."
...
trigger OnOpenPage()
var
    IsHandled: Boolean;
begin
    IsHandled := false;
    OnBeforeOpenPage(IsHandled);
    if not IsHandled then begin
        MfgSetup.Get();
        UseForecast := MfgSetup."Current Production Forecast";
        if MfgSetup."Combined MPS/MRP Calculation" then begin
            MPS := true;
            MRP := true;
        end else
            MRP := not MPS;
    end;

    OnAfterOnOpenPage;
end;

report 699 "Calculate Plan - Req. Wksh."
...
trigger OnOpenPage()
var
    IsHandled: Boolean;
begin
    IsHandled := false;
    OnBeforeOpenPage(IsHandled);
    if not IsHandled then begin
        MfgSetup.Get();
        UseForecast := MfgSetup."Current Production Forecast";
    end;
    OnAfterOnOpenPage(FromDate, ToDate);
end;

The event is the same for both objects:
[IntegrationEvent(false, false)]
local procedure OnBeforeOpenPage(var IsHandled: Boolean)
begin
end;

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


[improve] google-vertexai: relax types-requests deps range

Description: At the moment it's not possible to include in the same project langchain-google-vertexai and boto3 (e.g. use bedrock and vertex in the same application) because of the dependency resolutions conflict. boto3 is still using urllib3 1.x, meanwhile langchain-google-vertexai -> types-requests depends on urllib3 2.x. the last version of types-requests that allows urllib3 1.x is <IP_ADDRESS>.
In this PR I allow the vertexai package to get that version also.

Twitter handle: nicoloboschi

@efriis @baskaryan can you take a look ?

@efriis @baskaryan can you take a look ?


We must fix pagination for plugin pages

Hey @parkr, I've created a branch with a failing test that demonstrates how pagination doesn't work with Octopress Ink plugins. I'd love your help figuring out how to address this major shortcoming. Without pagination Ink is very limited as a useful theming framework.
Here's the scoop. Pagination gets angry if the file isn't named "index.html" and if it doesn't appear in between source and the pagination dir. I honestly don't know why this is a restriction, but that's where my problems are coming from. With Ink plugins, the assets are stored in the gem, elsewhere on the filesystem and so it will never be acceptable as a pagination file.
To see this test fail, run bundle exec clash 8 which will run the 8th (and final) test in the test suite. which simply builds Jekyll using the _config_paginate.yml and reading from to the source_paginate directory. The theme index file can be found at test/_ink_plugins/blog-theme/pages/index.html and you can monkey patch things in the test/_ink_plugins/blog-theme/plugin.rb file if you want to.
I'm happy to answer any questions you have about this feature and I'm happy to try things and push them if you like. Thanks for your help with this. :D

This is totally fixed with the octopress-paginate plugin. Should have closed this ages ago. :D


Autocomplete Python

My R codes have autocomplete but If I write Python code in .qmd format for some reason my codes don't have autocomplete. When I use .ipynb and .py it's okay, is there some configuration that is disabled or maybe can cause conflict?

 Example

my configs:
Quarto extension version: 1.12.1
VSCode version: 1.66.2
OS: Ubuntu 20.04.4 LTS
python extension: v2022.4.1

Not sure why this would be! (not seeing any problem here and running the same version). You could check the "Debug Console" tab to see if there are any errors occuring?

No errors in the Debug Console, I tested some things here, and sometimes the autocomplete "almost" works (idk why sometimes tbh) but not correctly, like this:

but..

For me the Python autocompletion works too

For me the autocompletionin *.qmd also works for R but not for Python. I get the same "meaningless" autocomplete suggestions as @AlissonRP. Autocompletion works for Python and Jupyter Files.
Ubuntu 20.04.4 LTS
VSCode 1.68.1
Quarto Extension: 1.25.0
Python Extension: 2022.10.0
(Deactivation Github Copilot Extension did not solve the problem)

Apparently sth may be wrong with my jupyter kernel - not sure if this is related.
The kernel points to an environment in another project, which doesn't exist anymore. I'm not quite sure, where this is specified, as I just created this project from scratch.
(pyenv) hb@funbook:~/hrv/quarto-test$ quarto check jupyter

[✓] Checking Python 3 installation....OK
      Version: 3.8.8
      Path: /home/hb/hrv/quarto-test/pyenv/bin/python3
      Jupyter: 4.11.1
      Kernels: coconut_py2, python388jvsc74a57bd00d442098b151dd64b6e85aae2d5689d38b05d1f12f914dfc5f3d6054c9563b68, coconut, coconut_py, coconut_py3, python388jvsc74a57bd062f11df79ebc848ceb58f59a491174b612dd85619d9e0c9304e8c10989b33e78

(|) Checking Jupyter engine render....2022-07-08 23:11:48,846 - traitlets - ERROR - Failed to run command:
['/home/hb/repos/myhrv/data-analysis/.venv/bin/python', '-m', 'ipykernel_launcher', '-f', '/tmp/tmp8trkw7rc.json']
    PATH='/home/hb/repos/myhrv/data-analysis/.venv/bin:/home/hb/.poetry/bin:/home/hb/.pyenv/shims:/home/hb/.pyenv/bin:/home/hb/.local/bin:/home/hb/bin:/home/hb/.local/bin:/home/hb/.pyenv/plugins/pyenv-virtualenv/shims:/home/hb/.pyenv/shims:/home/hb/.pyenv/bin:/home/hb/.poetry/bin:/home/hb/.pyenv/shims:/home/hb/.pyenv/bin:/home/hb/.local/bin:/home/hb/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'
    with kwargs:
{'stdin': -1, 'stdout': None, 'stderr': None, 'cwd': None, 'start_new_session': True}

2022-07-08 23:11:48,847 - traitlets - ERROR - [Errno 2] No such file or directory: '/home/hb/repos/myhrv/data-analysis/.venv/bin/python'
Traceback (most recent call last):
  File "/home/hb/hrv/quarto-test/pyenv/lib/python3.8/site-packages/jupyter_client/manager.py", line 75, in wrapper
    out = await method(self, *args, **kwargs)
  File "/home/hb/hrv/quarto-test/pyenv/lib/python3.8/site-packages/jupyter_client/manager.py", line 389, in _async_start_kernel
    await ensure_async(self._launch_kernel(kernel_cmd, **kw))
  File "/home/hb/hrv/quarto-test/pyenv/lib/python3.8/site-packages/jupyter_client/utils.py", line 38, in ensure_async
    return await obj
  File "/home/hb/hrv/quarto-test/pyenv/lib/python3.8/site-packages/jupyter_client/manager.py", line 307, in _async_launch_kernel
    connection_info = await self.provisioner.launch_kernel(kernel_cmd, **kw)
  File "/home/hb/hrv/quarto-test/pyenv/lib/python3.8/site-packages/jupyter_client/provisioning/local_provisioner.py", line 204, in launch_kernel
    self.process = launch_kernel(cmd, **scrubbed_kwargs)
  File "/home/hb/hrv/quarto-test/pyenv/lib/python3.8/site-packages/jupyter_client/launcher.py", line 170, in launch_kernel
    raise ex
  File "/home/hb/hrv/quarto-test/pyenv/lib/python3.8/site-packages/jupyter_client/launcher.py", line 158, in launch_kernel
    proc = Popen(cmd, **kwargs)
  File "/home/hb/.pyenv/versions/3.8.8/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/home/hb/.pyenv/versions/3.8.8/lib/python3.8/subprocess.py", line 1706, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/home/hb/repos/myhrv/data-analysis/.venv/bin/python'

[Errno 2] No such file or directory: '/home/hb/repos/myhrv/data-analysis/.venv/bin/python'
[✓] Checking Jupyter engine render....OK

That kernel is for whatever reason still registered on your system. Try using the jupyter kernelspec command to remove the old kernel.

This happens to me too.  But my kernel check returns without any issues.
(myenv) C:\MHLL\Selfharm_temperature_study>quarto check jupyter

[>] Checking Python 3 installation....OK
      Version: 3.9.13 (Conda)
      Path: C:/Users/xxxxxx/AppData/Local/miniforge3/envs/myenv/python.exe
      Jupyter: 4.11.0
      Kernels: python3

[>] Checking Jupyter engine render....OK

(myenv) C:\MHLL\Selfharm_temperature_study>

This happens to me too.  But my kernel check returns without any issues.
(myenv) C:\MHLL\Selfharm_temperature_study>quarto check jupyter

[>] Checking Python 3 installation....OK
      Version: 3.9.13 (Conda)
      Path: C:/Users/xxxxxx/AppData/Local/miniforge3/envs/myenv/python.exe
      Jupyter: 4.11.0
      Kernels: python3

[>] Checking Jupyter engine render....OK

(myenv) C:\MHLL\Selfharm_temperature_study>

I just tested this on a brand new M1 Macbook and autocomplete also doesn't work here, but the notebook executes and renders nicely.
MacOS 12.5
VSCode: 1.69.2
Extensions: Python (+Jupyter, Pylance, etc), Nord Theme, Quarto (v.1.29.0)
Python interpreter from an virtual environment.

I also can't get the code autocomplete to work for anything in qmd code chunks. However instead of popping up a tab with something to select at all, it just inserts a tab character. The code complete works in .ipynb files though. Just wondering if there were other steps I needed to take other than installing quarto and the VSCode extension.
OS: Windows 10.0.19044
VSCode: 1.70.0
Quarto: 1.0.38

I am having the same behavior as mdefende. Zero signs of autocomplete working when working in a .qmd file. .ipynb works just as expected though.
May need to open another issue, but rendering from a .qmd file also fails but works as expected from .ipynb. Code executes as expected in .qmd and .ipynb files.

I am having a similar issue with python autocomplete in .qmd documents. Works fine in .ipynd docs as noted above.
OS: 12.0.1
VSCode: 1.71.0
Quarto: 1.38.0
Python Extension: v2022.14.0
@Ben-Choat what system are you using?

same issue. I do not see python autocomplete in *.qmd files
Render works fine though

Same issue. Not sure if is the system or due to conflicts with other extension
OS: 12.5.1
VSCODE: 1.71.2 (Universal)
Quarto:  1.1.245
Quarto- VSCODE extension : v1.38.0
Python Extension: v2022.14.0

I understand resources are limited, but is there a roadmap for fixing this issue? It really limits adoption of Quarto by python users outside of using ipynb.

Hi there, just to be clear the issue you are seeing is not widespread (the feature does work on all systems I've seen). If I could reproduce the problem I'd fix it immediately but sadly I can't! From what I've seen the source of trouble normally comes down to something like a stray/old environment variable pointing to a different version of Python. Hard for me to find a general solution for this sort of problem!
You could check the Output => Extension Host and Debug Console for error messages that may have been logged in attempting to bootstrap completion. Perhaps they provide some clue?

Actually I does not work at all on my macbook,
It only works for the library, but with bugs too.
Nothing gets suggested after typing np.
import numpy as np
np.

Also for library itself, if it shows numpy, then you select it, then it duplicates the selection like import numpnumpy

@jjallaire I think the issue raised in the OP might not apply anymore, but other issues related to Python autocomplete in this project get noted as duplicates and redirected here, so the newer issues might be more reflective of the experienced problem. My issue is closer to that reported by @Fred-Wu.  I just tried pruning the majority of my extensions sans Python/Pylance and Jupyter and a few others to get a fairly clean environment, and still my autocomplete looks like this:

Note that the suggestions are part of pandas, so so-far-so-good, but it doesn't react at all to what comes after pd.. And as Fred noted, actually going down the list and completing with pd.Series leads to:

quarto check jupyter does not raise any errors.

I believe that I've gotten to the bottom of this issue. The fix is here: https://github.com/quarto-dev/quarto-vscode/commit/1755d70ca197bdd68413be9b6a81c8133bbd21b3.
This fix is in the v1.56.0 release which is available now.


[Snyk] Security upgrade python from 3.12.0a3-slim-bullseye to 3.14.0a3-slim-bullseye

Snyk has created this PR to fix 4 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):

tensorflow/tools/ci_build/Dockerfile.micro

We recommend upgrading to python:3.14.0a3-slim-bullseye, as this image has only 50 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Out-of-bounds Write SNYK-DEBIAN11-GLIBC-5927133
  823

Out-of-bounds Write SNYK-DEBIAN11-GLIBC-5927133
  823

Integer Overflow or Wraparound SNYK-DEBIAN11-EXPAT-7855504
  263

Integer Overflow or Wraparound SNYK-DEBIAN11-EXPAT-7855505
  263

Out-of-bounds Read SNYK-DEBIAN11-DB53-2825168
  241

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)
:white_check_mark: license/snyk check is complete. No issues have been found. (View Details)