Async Iteration and down-level Generators

This PR adds full support for Async Generators and Async Iteration (for..await..of) as per the current TC39 Proposal for all script targets. It also contains full support for Generators in ES5/3, including for..of, spread, and iterator destructuring.
Iterators
ES6 introduced Iterator, which is an object that exposes three methods, next, return, and throw, as per the following interface:
interface Iterator<T> {
  next(value?: any): IteratorResult<T>;
  return?(value?: any): IteratorResult<T>;
  throw?(e?: any): IteratorResult<T>;
}

This kind of iterator is useful for iterating over synchronously available values, such as the elements of an Array or the keys of a Map. An object that supports iteration is said to be "iterable" if it has a Symbol.iterator method that returns an Iterator object.
Async Iterators
The Async Iteration proposal introduces an AsyncIterator, which is similar to Iterator. The difference lies in the fact that the next, return, and throw methods of an AsyncIterator return a Promise for the iteration result, rather than the result itself. This allows the caller to enlist in an asynchronous notification for the time at which the AsyncIterator has advanced to the point of yielding a value. An AsyncIterator has the following shape:
interface AsyncIterator<T> {
  next(value?: any): Promise<IteratorResult<T>>;
  return?(value?: any): Promise<IteratorResult<T>>;
  throw?(e?: any): Promise<IteratorResult<T>>;
}

An object that supports async iteration is said to be "iterable" if it has a Symbol.asyncIterator method that returns an AsyncIterator object.
Generators
ES6 also introduced "Generators", which are functions that can be used to yield partial computation results via the Iterator interface and the yield keyword. Generators can also internally delegate calls to another iterable through yield *. For example:
function* f() {
  yield 1;
  yield* [2, 3];
}

Async Generators
The Async Iteration proposal introduces "Async Generators", which are async functions that also can be used to yield partial computation results. Async Generators can also delegate calls via yield* to either an iterable or async iterable:
async function* f(p) {
  yield 1;
  await p;
  yield* [2, 3];
  yield* (async function *() {
    await p;
    yield 4;
  })();
}

As with Generators, Async Generators can only be function declarations, function expressions, or methods of classes or object literals. Arrow functions cannot be Async Generators. Async Generators require a valid, global Promise implementation (either native or an ES6-compatible polyfill), in addition to a valid Symbol.asyncIterator reference (either a native symbol or a shim).
The for-await-of Statement
Finally, ES6 introduced the for..of statement as a means of iterating over an iterable. Similarly, the Async Iteration proposal introduces the for..await..of statement to iterate over an async iterable:
async function* g() { ... }
async function f() {
  for await (const x of g()) {
  }
}

The for..await..of statement is only legal within an Async Function or Async Generator.
Generators and Iteration for ES5/3
In addition, the following changes are included to bring full support for Generators to ES5/ES3:

Added a -downlevelIteration compiler option, used when targeting ES5 or ES3.

When set, the compiler uses new type check and emit behavior that attempts to call a [Symbol.iterator]() method on the iterated object if it is found, and creates a synthetic array iterator over the object if it is not. This requires a native Symbol.iterator or Symbol.iterator shim at runtime for any non-array values.
When not set, array destructuring, spread, and for..of are only supported for arrays as is the current behavior in TypeScript 2.1 and earlier.

Array Destructuring now uses Symbol.iterator in ES5/3 if available when using -downlevelIteration, but can be used on an Array even if it does not define Symbol.iterator at run time or design time.
Spread elements in Array, Call, and New expressions use Symbol.iterator in ES5/3 if available when using -downlevelIteration, but can be used on Array even if it does not define Symbol.iterator at run time or design time.
for..of statements support Symbol.iterator in ES5/3 if available when using -downlevelIteration, but can be used on an Array even if it does not define Symbol.iterator at run time or design time.
Async Functions do not require a Symbol.iterator polyfill at run time to operate.

Related issues

Fixes #11970 - Generator with Array Spread
Fixes #11326 - Asynchronous Iterations
Fixes #11209 - for-of with map.keys() gives TS2495
Fixes #4031 - iterators with ES5 target
Fixes #1564 - ES6 Generator support

The amount of stuff this solves is amazing! Really really awesome!

Awesome!! Big thank you!

What is the milestone for this? Will it make it into 2.1?

@glen-84 This will likely be part of a future milestone, but will not be part of 2.1.

Given the meeting notes on low level generators - can anyone let us know what's the status of async iterators?

Also, maybe add it to the roadmap ?

What's the status of this PR?

@isiahmeadows Still in progress. I need to move the target for Async Generators to esnext as it does not look like it will be in ES2017.

@rbuckton correct, async generators are stage 3, they'd need to be stage 4 to be included - which means implementation in browsers and testing it which didn't happen yet. The Chrome PR is about to start review around Christmas and is not expected to land in the next two months anyway. ES2018 is a reasonable deadline though.

Note that we have created test262 tests over the weekend for this: https://github.com/benjamingr/test262/tree/AsyncGeneratorExpressions
You might want to take a look.

        // TODO(rbuckton): Verify whether we need to call getApparentType. See checkNonThenableType in master

turns out getTypeOfPropertyOfType calls getApparentType for you. So the answer is no.

Refers to: src/compiler/checker.ts:16496 in f9999e9. [](commit_id = f9999e9738bc038e75c5cfb5e6955f05025a0ad0, deletion_comment = False)

            return typeAsAwaitable.awaitedTypeOfType = getUnionType(types, /*subtypeReduction*/ true);

could you replace the loop with mapType? You'd have to add a subTypeReduction parameter to mapType and figure out how to replicate the undefined filtering of append some other way.

Refers to: src/compiler/checker.ts:16595 in f9999e9. [](commit_id = f9999e9738bc038e75c5cfb5e6955f05025a0ad0, deletion_comment = False)

        const widenedType = getWidenedType(type);

is getWidenedType needed here? All it really does it change undefined/null/unknown to any, so it shouldn't change the answer of isThenableType.

Refers to: src/compiler/checker.ts:16667 in f9999e9. [](commit_id = f9999e9738bc038e75c5cfb5e6955f05025a0ad0, deletion_comment = False)

                // promise. If so, we returnundefined as we cannot guess the shape. If this

typo: add space

Refers to: src/compiler/checker.ts:16603 in f9999e9. [](commit_id = f9999e9738bc038e75c5cfb5e6955f05025a0ad0, deletion_comment = False)

            return typeAsAwaitable.awaitedTypeOfType = getUnionType(types, /*subtypeReduction*/ true);

That sounds more complicated than what I'm doing now.

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

Refers to: src/compiler/checker.ts:16595 in f9999e9. [](commit_id = f9999e9738bc038e75c5cfb5e6955f05025a0ad0, deletion_comment = False)

thanks!

I am expecting this PR will merge into stable or RC version.

This PR is planed on TypeScript 2.3 release. :sob:

@mhegazy, Is there anyone else you want to review this or should I merge?

Just curious, why is the downlevelIteration still undocumented under tsc --help? It seems to work, but there's no mention of it, and the errors leading up to needing it are unhelpful.

Just curious, why is the downlevelIteration still undocumented under tsc --help?

it is, just use tsc --help --all


mini.bracketed go forward/backward in dot repeats

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md

Module(s)
mini.bracketed
Description
The dot repeat functionality is one of the best mechanics in Vim. Its limitation is that it only repeats the last action and cannot be used to repeat actions before the last. This is a problem that I occasionally run into when doing dot repeats on multiple lines.
For example if you want to dot repeat a change over an argument in a function in multiple lines and at one of these lines you do an additional edit (delete an extra white space). This new edit will now replace the previous dot repeat so you have to redo the previous action to repeat it further.
If it can be done :crossed_fingers: I imagine it working similar to "Yank selection replacing latest put region" i.e. [y and ]y, i.e. when going forward/backward it will substitute the made changes with the new ones along the way, leaving the last action for the next dot repeat.

Thanks for the suggestion and continuous interest in 'mini.nvim'!
Unfortunately, Neovim doesn't provide any exported functionality to track/get/set dot-repeat action. I know that because there was a need for this in 'mini.operators', but the best way was to use some hack.
In general, dot-repeat in both Neovim and Vim is implemented in the part of C code base which was not touched pretty much since before Neovim was born. So I imagine it would require much effort to export any functionality related to this.
Closing with "I'd really love to support this, but it needs upstream changes which are quite unlikely to happen".

Ok good to know - djakuju for the input :wink:


Add note about the pak package

I should add something about r2u which automates all that (if one works at the current 'head' rather than versioned / time-machined in the past).

I should add something about r2u which automates all that (if one works at the current 'head' rather than versioned / time-machined in the past).

Of course!
I opened this PR because I learned about the function of pak during my work in https://github.com/rocker-org/devcontainer-features/tree/main/src/r-rig, and I just wanted to write it down before I forget.

if it were linked there

I meant a bit more.  I produce a set of containers r-ubuntu, r-bspm, ... and r2u currently sits on top of r-bspm and adds the new apt repo.  I think I should just inject the r2u logic into r-ubuntu and/or r-bspm.   There is no reason to use R on Ubuntu (20.04 or 22.04) without the added repo now adding at 18.5k packages (plus 0.3k BioC),

Actually just documenting is easy.  Feel free to add a line (with the required disclaimer that it is not at all r-ver but only 'current', simply a different use case).
But it works just great. I switched all my CI to it, and it is effing fast.  Peter tweeted this yesterday (and we could shrink the size of r2u by not using the convenient bspm wrapper needing some Python):

(part of a thread starting at https://twitter.com/psolymos/status/1575151393589153793)


When i change contract address

uncaught at root at root   at flow   at takeLatest   at init   Error: Couldn't decode address from ABI: 0x
Where to set contract ABI?

Hi!
Contract abi defined here:  https://github.com/DAppDevConsulting/tcr-api
You can change contract address in cfg.json https://github.com/DAppDevConsulting/EasyTCR/blob/master/src/cfg.json
contract must be deployed into network network (4 for rinkeby)

{   "IPFS": {     "gateway": "https://ipfs.infura.io",     "apiServer": "https://ipfs.infura.io:5001"   },   "WEB3": {     "http": "https://rinkeby.infura.io/Pltg02Lba51HKyNBEFop"   },   "network": "4",   "TCRofTCRs": {     "registry": "0xFfBb87e0bC197306415cA60b3D9013cf7d7585a2"   } }
This is what i took change in cfg.json file.
I deployed contract in rinkeby network.
But still same error display.


Include NPM in go-textile docker image

I'm looking to run the js playground as a set of integration tests.
here is the CircleCI job
https://github.com/textileio/js-http-playground/pull/4/files#diff-1d37e48f9ceff6d8030570cd36286a61R21
The issue is that

the docker image doesn't have NPM available
the user doesn't seem to have the ability to setup any new tools

Wondering if we can broaden up either the official image or publish a secondary image that would make the above job possible.

You mean the image used for building, not the textile daemon image, right?

I mean the daemon, or an alternate version of it for integration tests. Otherwise, I'll need to pull and build go-textile on ever integration test. maybe that has to happen anyway with docker though?


Add external RNG input

External RNG
We are working on porting w3f/schnorrkel to embedded device. Merlin is one of its dependency. Embedded device always has hardware random source which is from physical noise, very secure. Meanwhile, some functions like thread_rng in rand or rand_core could not be compiled in no_std environment on thzumbv7m-none-eabi or similar. So we added a function with extra para to make it is possible to use external RNG in transcript.rs
pub fn finalize_trng(mut self,trng: &[u8]) -> TranscriptRng
    {
        let mut random_bytes = [0u8; 32];
        random_bytes.copy_from_slice(&trng[..]);

        self.strobe.meta_ad(b"rng", false);
        self.strobe.key(&random_bytes, false);

        TranscriptRng {
            strobe: self.strobe,
        }
    }

To see how the embedded porting works, you could ref wookong-dot-schnorrkel

Hi, I think that merlin is supposed to depend only on rand_core, not rand, so the thread_rng should not be pulled in -- is there an obstacle to having the embedded hardware device implement the RngCore trait from rand_core?

Afaik merlin has no_std support since https://github.com/dalek-cryptography/merlin/pull/42#issuecomment-508227421 so I think this issue can be closed.
We're discussing the schnorrkel issue in https://github.com/w3f/schnorrkel/issues/31

Hi Hdevalence and Burdges. Thanks for quick response. I said wrong in my comment that merlin does depend rand_core only. And I see Burdges tried to modify schnorrkel to reduced the dependence on rand. We will keep working on to see how to improve it.
However,  we still prefer external RNG as a good optional choice for schnorrkel or relative ed25519-dalek. I will explain reasons in w3f/schnorrkel#31

I think almost anything you passed into finalize activates std until https://github.com/rust-random/rand/pull/859 gets deployed.  In other words, merlin itself is no_std, but merlin cannot be deployed no_std until it updates to rand_core 0.6, which does not yet exist.
In the short term, you can either re-implement the OsRng wrapper on getrandom yourself, which sounds easy, or else vendor all of merlin, rand_core, and rand_os, which sounds annoying.

Anyone who runs into this can use the RngCore5As4 workaround in https://github.com/w3f/schnorrkel/commit/8150ef6333df6238d8d861aec74bf7ccd87119aa


feat(Logic/IsEmpty): Left/Right/BiTotal truthiness on emptiness

Adds left, right, and bi_total_empty, and golfs identical_of_isEmpty in PGame as a result.

Can you add these lemmas in another file? Logic.Relator is a very basic file and you're nearly tripling its import amount. Perhaps Logic.IsEmpty works?

Unsure if there are good ways to reduce the simp to apply, but I couldn't successfully reduce the proofs with your suggestion or similar modifications of it.

!bench

Hmm, I'm slightly worried about simp ending up spending ages trying to prove IsEmpty when it gets called on something involving Left/Right/Bi Total things, but the benchmark doesn't seem to back this up. So let's go with it for now.
bors merge


circuitpython build fails on 6.1

Checking out main circuit python distribution fails to build:
jessica@l3470:~/circuitpython/ports/nrf$ make v=1 BOARD=makerdiary_nrf52840_m2_devkit Use make V=1, make V=2 or set BUILD_VERBOSE similarly in your environment to increase build verbosity. ../../py/gc.c: In function 'gc_sweep': ../../py/gc.c:298:68: error: 'MP_QSTR___del__' undeclared (first use in this function)   298 |                         mp_load_method_maybe(MP_OBJ_FROM_PTR(obj), MP_QSTR___del__, dest);       |                                                                    ^~~~~~~~~~~~~~~ ../../py/gc.c:298:68: note: each undeclared identifier is reported only once for each function it appears in make: *** [../../py/mkrules.mk:55: build-makerdiary_nrf52840_m2_devkit/py/gc.o] Error 1

Not sure if you've resolved this, but have you tried cleaning?
Something like make V=1 BOARD=makerdiary_nrf52840_m2_devkit clean?
I'd forgotten that I'd previously tried to build CPY, had to work out some bugs, and forgot to clean before rebuilding.


Bluetooth: controller: define adv channel access address as macro in pdu.h

The new macro is PDU_AC_ACCESS_ADDR
$ grep -Rin 8e89bed6 *
subsys/bluetooth/controller/ll_sw/pdu.h:22:#define PDU_AC_ACCESS_ADDR     0x8e89bed6
$ grep -Ri PDU_AC_ACCESS_ADDR *
subsys/bluetooth/controller/ll_sw/pdu.h:22:#define PDU_AC_ACCESS_ADDR     0x8e89bed6
subsys/bluetooth/controller/ll_sw/nordic/lll/lll_scan.c:122:	u32_t aa = sys_cpu_to_le32(PDU_AC_ACCESS_ADDR);
subsys/bluetooth/controller/ll_sw/nordic/lll/lll_adv.c:123:	u32_t aa = sys_cpu_to_le32(PDU_AC_ACCESS_ADDR);
subsys/bluetooth/controller/ll_sw/ctrl.c:6606:	adv_aa_check = access_addr ^ PDU_AC_ACCESS_ADDR;
subsys/bluetooth/controller/ll_sw/ctrl.c:6722:	u32_t aa = PDU_AC_ACCESS_ADDR;
subsys/bluetooth/controller/ll_sw/ctrl.c:7154:	u32_t aa = PDU_AC_ACCESS_ADDR;
subsys/bluetooth/controller/ll_sw/ull_master.c:822:	adv_aa_check = aa ^ PDU_AC_ACCESS_ADDR;
subsys/bluetooth/controller/ll_sw/openisa/lll/lll_scan.c:121:	u32_t aa = sys_cpu_to_le32(PDU_AC_ACCESS_ADDR);
subsys/bluetooth/controller/ll_sw/openisa/lll/lll_adv.c:121:	u32_t aa = sys_cpu_to_le32(PDU_AC_ACCESS_ADDR);

Signed-off-by: Christopher Friedt<EMAIL_ADDRESS>

Looks good, except that the commit title should follow conventions.

Done


feat: Add CronWorkflow watch

Closes https://github.com/argoproj/argo-workflows/issues/5092
Checklist:

[ ] My organization is added to USERS.md.

Having trouble with this... the cron workflow watch keeps closing after one event. Hard to debug why

@alexec This is the cron workflow watch PR

Closing for now


Tests: Build and run WebRTC unit tests

I want to use webrtc/api/test/fakeaudiocapturemodule.h for my build of node-webrtc.
While webrtc/api/BUILD.gn seems to use the rtc_include_tests option for building the webrtc/api/test/* files, it looks like the -DBUILD_TESTS=ON cmake-option doesn't enable it anymore, is that correct?
Do you see any way to fix that?

The BUILD_TESTS flag wasn't taken into account inside the webrtc-src CMake target.
I have no other choice than building all the test binaries, this will add 933 files to compile and I hope that it won't reopen #32.
Testing under branch build-unit-tests

Travis takes too much time to compile the library with unit tests.
I'll retry tonight on my own machines then close the issue.

Merged in branch dev.


Error while executing command

this is the code:
[
{
"commandMode": "COMMAND_ALIAS",
"command": "cords",
"execution": [
{
"command": "execute at {this::SELF} run trigger ch_toggle",
"type": "CLIENT"
}
]
}
]
after reloading in-game when typing /cords as a OP it works but when doing the same as a non OP player this error comes

Use type as SERVER for the non OP user issue. As for the other issue that will be fixed next release.


Minor typo fixes

:wave: great resource! This PR just has a few minor typo fixes.

Thanks so much for this @ivantm!!! As soon as you sign the CLA, we'll land this in 🚀


Add Dockerfile

Attempts to address mapbox/robosat/issues/29.
To build the container, first build a pytorch container following their instructions in the README. Specifically:
git clone https://github.com/pytorch/pytorch && cd pytorch
docker build -t pytorch -f docker/pytorch/Dockerfile .

This is necessary because there isnt currently an officially maintained container on DockerHub.
Then, build the Robosat container:
cd .. && git clone https://github.com/mapbox/robosat && cd robosat
docker build -t robosat -f docker/Dockerfile .

Thus far, I have tested ./rs extract and ./rs cover without issue.

Nice, thank you! Some questions:

To build the container, first build a pytorch container following their instructions in the README.

Do you think we could provide a self-container Dockerfile? Then we could add a hook to let Docker Hub automatically build an image for every commit and every release and tag we do.

Is there a benefit in using a PyTorch base over e.g. installing the PyTorch wheel using pip?

Do we need to build multiple container for gpu (nvidia-docker handles driver version abstraction, no?) vs cpu or how would that look like?

Do you think we could provide a self-container Dockerfile? Then we could add a hook to let Docker Hub automatically build an image for every commit and every release and tag we do.

Is there a benefit in using a PyTorch base over e.g. installing the PyTorch wheel using pip?

AFAIK it should be reasonable to the PyTorch Dockerfile with the one I wrote here. I can give that a look later tomorrow.

Do we need to build multiple container for gpu (nvidia-docker handles driver version abstraction, no?) vs cpu or how would that look like?

I think we would need multiple Dockerfiles. They would only differ in which base container we are FROMing and which pytorch wheel we install. Assuming there are no other differences it would be simple to maintain one for each version of cuda compatible with pytorch, e.g. Dockerfile.{cpu,cuda91,cuda90,cuda80}

Is there a benefit in providing multiple CUDA versions when using nvidia-docker? Can we just provide two Dockerfiles: a CUDA 9.1 one and an Ubuntu 16.04 base image for CPUs? And using the CUDA 9.1 Ubuntu 16.04 base image from https://hub.docker.com/r/nvidia/cuda/ (with cudnn).
Then we can have
docker/Dockerfile.gpu
docker/Dockerfile.cpu

And let Docker Hub build two images for every commit and/or tag we do.
PyTorch installation in both cases can happen via downloading the appropriate wheel from pytorch.org - before installing all of our other dependencies (also see readme). Not sure we need the PyTorch base image.

https://github.com/mapbox/robosat/pull/87 adds CPU and GPU Dockerfiles.
We also have automatic builds by now, see: https://hub.docker.com/r/mapbox/robosat/tags/
I tested these on a AWS p2.xlarge instance using nvidia-docker.


feat: update saxon install to official python package saxonc-he

Types of changes
This updates the project to use the official python package from PyPi published by Saxonica for the SaxonC Home Edition.

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[X] All new and existing tests passed.
[X] All commits are signed-off.

Summary
Key links:

Sonar coverage

Thanks @beatrizmcouto. There was an extra commit updating the precommit config that was not intended to be there.


upgrades to 0.8.25 and changes block difficulty to prevrandao

Thanks for the PR. Multicall3 is already deployed on many chains so the source code is frozen, and as a result I will close this PR. I am tracking ideas for improvements in #146 if you have any suggestions you want to add there


24 hour time format required for WEEK and DAY views.

Version
latest
Development Environment
Archlinux
webpack
vuejs
npm
code
firefox
Current Behavior
Calendar week view is showing time in 12 hour format (1-12 AM/PM).
Expected Behavior
I would expect to change some setting to select whether I want to show hours in week view in 24 or 12 hour format. It's the same in day view too.
In my case the calendar is not meant for US users, but rather some European country, so time format required is 24 hour.
(I noticed that current time (marked with purple line) is showing 24hour time.)

@ignasga
https://nhn.github.io/tui.calendar/latest/tutorial-example15-template-for-timegrid
Use
timegridDisplayTime
timegridDisplayPrimayTime


Full test coverage for advanced status

Description
Before https://github.com/kyma-project/telemetry-manager/issues/425 can get finalized, the full feature must be covered by e2e tests. That mainly includes triggering every condition reason by a test setup.
Criterias

All reasons of the new condition are tested

Actions

[ ] Come up with a concept on how to test the feature. It is hard to test all situations. Maybe a contract test based on metrics is enough?

Reasons

Attachments

Release Notes

In general, we want to test how OTel Collector and Fluent Bit instrumentation logic works. Contract based testing using mocks is not enough, we need the actual software running and negative scenarios simulated.


SSL_connect error

Hi,
I got the following exception when using the gem. Is it the problem of finding the CA certificate? When is mitca_path used? Why is line 20 in client.rb commented out?
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
/usr/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.2/lib/net/http/persistent/ssl_reuse.rb:70:in connect' /usr/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.2/lib/net/http/persistent/ssl_reuse.rb:70:in block in connect'
/usr/lib/ruby/1.9.1/timeout.rb:44:in timeout' /usr/lib/ruby/1.9.1/timeout.rb:89:in timeout'
/usr/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.2/lib/net/http/persistent/ssl_reuse.rb:70:in connect' /usr/lib/ruby/1.9.1/net/http.rb:637:in do_start'
/usr/lib/ruby/1.9.1/net/http.rb:632:in start' /usr/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.2/lib/net/http/persistent.rb:405:in connection_for'
/usr/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.2/lib/net/http/persistent.rb:616:in request' /usr/lib/ruby/gems/1.9.1/gems/mechanize-2.1.pre.1/lib/mechanize/http/agent.rb:264:in fetch'
/usr/lib/ruby/gems/1.9.1/gems/mechanize-2.1.pre.1/lib/mechanize.rb:319:in get' /usr/lib/ruby/gems/1.9.1/gems/stellar-0.3.0/lib/stellar/client.rb:34:in get'
/usr/lib/ruby/gems/1.9.1/gems/stellar-0.3.0/lib/stellar/auth.rb:42:in `auth'
Thanks!

Well, it still doesn't work if I uncommented line 20 in client.rb. I got the same errors when running the tests.

Mechanize bumped the version of some dependencies, and that broke SSL.
The SSL authentication has always been troublesome -- line 20 is
commented because Net::HTTP found certs on its own, but couldn't find
them when I gave it MIT's CA file.
I'll look into this as soon as I have some time. In the meantime, you
can work around this by uninstalling mechanize-2.1.pre.1, and by
installing the version in my git repository.
Victor
On Wed, Dec 14, 2011 at 6:00 PM, Ying Yin
<EMAIL_ADDRESS>wrote:

Hi,
I got the following exception when using the gem. Is it the problem of finding the CA certificate? When is mitca_path used? Why is line 20 in client.rb commented out?
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
/usr/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.2/lib/net/http/persistent/ssl_reuse.rb:70:in connect' /usr/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.2/lib/net/http/persistent/ssl_reuse.rb:70:in block in connect'
/usr/lib/ruby/1.9.1/timeout.rb:44:in timeout' /usr/lib/ruby/1.9.1/timeout.rb:89:in timeout'
/usr/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.2/lib/net/http/persistent/ssl_reuse.rb:70:in connect' /usr/lib/ruby/1.9.1/net/http.rb:637:in do_start'
/usr/lib/ruby/1.9.1/net/http.rb:632:in start' /usr/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.2/lib/net/http/persistent.rb:405:in connection_for'
/usr/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.2/lib/net/http/persistent.rb:616:in request' /usr/lib/ruby/gems/1.9.1/gems/mechanize-2.1.pre.1/lib/mechanize/http/agent.rb:264:in fetch'
/usr/lib/ruby/gems/1.9.1/gems/mechanize-2.1.pre.1/lib/mechanize.rb:319:in get' /usr/lib/ruby/gems/1.9.1/gems/stellar-0.3.0/lib/stellar/client.rb:34:in get'
/usr/lib/ruby/gems/1.9.1/gems/stellar-0.3.0/lib/stellar/auth.rb:42:in `auth'
Thanks!

Reply to this email directly or view it on GitHub:
https://github.com/pwnall/stellar/issues/1

I figured out how to pass the server SSL certificates to mechanize. The issue should be resolved in version 0.3.1 that was just released.
Thank you for the bug report!


MAINT: update installation instructions

This PR updates and/or adds:

the installation instructions (use mamba and new conda channel for env creation)
correct repo link in plugin_setup.py
missing coverage failure threshold

Codecov Report

Merging #27 (0600abd) into master (3cd8ebf) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #27   +/-   ##
=======================================
  Coverage   90.07%   90.07%
=======================================
  Files          16       16
  Lines         413      413
=======================================
  Hits          372      372
  Misses         41       41

Impacted Files
Coverage Δ

q2_protein_pca/plugin_setup.py
100.00% <ø> (ø)

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 3cd8ebf...0600abd. Read the comment docs.


helm_remote: filter out crds w/ {{ instead of {{-; try to add some clarifying comments

fix #67
cc @KOGI
I'm not very familiar with this extension and have made some guesses and tried to add comments to document my understanding. I'd like corrections if I'm wrong!
From the helm docs:

{{- (with the dash and space added) indicates that whitespace should be chomped left

I can't think of a reason to filter by templates that happen to be doing whitespace chomping and I'm guessing it just happened that a crd encountered during development was doing chomping.

@landism I'm still relatively new to Helm, so there's every possibility that I've misunderstood something.
First, you're 100% right, we should be filtering on {{ instead of {{- that was a mistake on my part.
Referring to your second code-comment about preprocessing, I was under the impression that those CRDs that we're keeping/installing were the result of preprocessing those templated files (again, there's every possibility that I'm wrong here).
As I look through the code again (it's been a little while), I recall that we're actually calling install_crds() before the call to helm install -- this was because the installation was failing due to missing CRDs, so I started installing the CRDs first. Maybe there's a way we can "compile" the helm chart without installing it, then we can install the proper, pre-processed CRDs, and THEN call helm install ?

@KOGI maybe helm template helps:
helm template -h

Render chart templates locally and display the output.

Any values that would normally be looked up or retrieved in-cluster will be
faked locally. Additionally, none of the server-side testing of chart validity
(e.g. whether an API is supported) is done.

Usage:
  helm template [NAME] [CHART] [flags]

Flags:
  -a, --api-versions stringArray     Kubernetes api versions used for Capabilities.APIVersions
      --atomic                       if set, the installation process deletes the installation on failure. The --wait flag will be set automatically if --atomic is used
      --ca-file string               verify certificates of HTTPS-enabled servers using this CA bundle
      --cert-file string             identify HTTPS client using this SSL certificate file
      --create-namespace             create the release namespace if not present
      --dependency-update            run helm dependency update before installing the chart
      --description string           add a custom description
      --devel                        use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored
      --disable-openapi-validation   if set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema
      --dry-run                      simulate an install
  -g, --generate-name                generate the name (and omit the NAME parameter)
  -h, --help                         help for template
      --include-crds                 include CRDs in the templated output
      --is-upgrade                   set .Release.IsUpgrade instead of .Release.IsInstall
      --key-file string              identify HTTPS client using this SSL key file
      --keyring string               location of public keys used for verification (default "/home/mucmaucm/.gnupg/pubring.gpg")
      --name-template string         specify template used to name the release
      --no-hooks                     prevent hooks from running during install
      --output-dir string            writes the executed templates to files in output-dir instead of stdout
      --password string              chart repository password where to locate the requested chart
      --post-renderer postrenderer   the path to an executable to be used for post rendering. If it exists in $PATH, the binary will be used, otherwise it will try to look for the executable at the given path (default exec)
      --release-name                 use release name in the output-dir path.
      --render-subchart-notes        if set, render subchart notes along with the parent
      --replace                      re-use the given name, only if that name is a deleted release which remains in the history. This is unsafe in production
      --repo string                  chart repository url where to locate the requested chart
      --set stringArray              set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
      --set-file stringArray         set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2)
      --set-string stringArray       set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
  -s, --show-only stringArray        only show manifests rendered from the given templates
      --skip-crds                    if set, no CRDs will be installed. By default, CRDs are installed if not already present
      --timeout duration             time to wait for any individual Kubernetes operation (like Jobs for hooks) (default 5m0s)
      --username string              chart repository username where to locate the requested chart
      --validate                     validate your manifests against the Kubernetes cluster you are currently pointing at. This is the same validation performed on an install
  -f, --values strings               specify values in a YAML file or a URL (can specify multiple)
      --verify                       verify the package before installing it
      --version string               specify the exact chart version to install. If this is not specified, the latest version is installed
      --wait                         if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as --timeout

As I look through the code again (it's been a little while), I recall that we're actually calling install_crds() before the call to helm install -- this was because the installation was failing due to missing CRDs, so I started installing the CRDs first. Maybe there's a way we can "compile" the helm chart without installing it, then we can install the proper, pre-processed CRDs, and THEN call helm install ?

Yeah, this seems like a good thing to do, and I started down this path, but it's a lot more complex than this PR, so I'm going to merge this to unblock the specific bug report that inspired it, and we can worry about your comment in a separate PR.

@nicks I see you've merged #3627 simplifying this for helm >= 3.1 -- for older versions, what needs to happen here in the extension? I assume there's some way to detect helm version and act accordingly?

@KOGI good question! I think charts that define CRDs this way won't even work under helm2, so aren't worth worrying about too much.
The Tilt PR has a polyfill for Helm3.0 that's not perfect, but should be good enough for most cases we care about.
once this tilt release is out, we can do a version check for the tilt version, and do something more intelligent


SHCreateItemFromParsingName overload?

Jon, did you intend to overload this one?
Public DeclareWide PtrSafe Function SHCreateItemFromParsingName Lib "shell32" (ByVal pszPath As String, ByVal pbc As IBindCtx, riid As UUID, ppv As Any) As Long
Public DeclareWide PtrSafe Function SHCreateItemFromParsingName Lib "shell32" (ByVal pszPath As LongPtr, ByVal pbc As IBindCtx, riid As UUID, ppv As Any) As Long

Yes that and some other common ones I've been experimenting with overloads so you can either pass a string directly or StrPtr/LongPtr. Have you encountered any issues with tB resolving the correct one to use?

No, it works fine - just checking... thx


Showing the username in the navbar with welcome message and changing the navbar style to be more attractive

This solution is the solution for issue number #207
Note:- I have changed the navbar shape and style
🛠 Fixes Issue

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

I have changed the navbar shape and style so, I get conflict with the last navbar code, what should I do?
@arpit456jain @KKhushhalR2405 @singhmansi25 @raghavTinker

Already I did this, but this conflict is because I change all the code for the navbar so I get conflict the last code
Tell me what should I do? @KKhushhalR2405

I checked the checkbox for this option in my pull request Allow edits by maintainers so if you can help me please help me
My task #207 is to change the navbar to be attractive and beautiful and show the username of the person who logged in

@muhammadgalhoum
There is one conflict here: templates/includes/navbar.html
resolve this please

This conflict is because I have changed all the code for the navbar so I get conflict with the last code for the navbar
Tell me what should I do? @singhmansi25

I have solved the conflict, please review my code
@singhmansi25 @KKhushhalR2405 @raghavTinker @arpit456jain

@muhammadgalhoum i have merged one PR just now can u please solve this merge conflicts again
sorry for inconvenience

I have solved the conflict @arpit456jain

@arpit456jain
Please review this again.


Separate CI for more comprehensive results

Feature Request
I think the approach followed by DifferentialEquations presented in https://youtu.be/fQJrEQIRPZU?si=sWD8gHEvzmi8wivk is good. I suggest the CI to follow what they do, at least we need to iterate over the subpackages.

[ ] Change CI per submodule.
[ ] Have a badge per CI with https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge.

I don't think this is a problem, I will close this issue.


US16: It should either be possible to write a message in the chat or to guess a character.

Closed with commit 664cab4


Add more detail to Bluetooth scanning example

Reads out some of the advertisement data and logs it:

Current logging:
Advertisement received.

New logging:
Advertisement received.
  Device ID: TcgbPzvpvDFznj7QE8n02w==
  RSSI: -66
  TX Power: null
  UUIDs:
  Manufacturer Data: 135
  Service Data: 00003e10-0000-1000-8000-00805f9b34fb

CC: @scheib

Thanks, @scheib. I have now added Raw, Hex, and ASCII logging, which seems to work:
Advertisement received.
Device Name: null
  Device ID: XxYaCuux5dTzXsEm+XMbGg==
  RSSI: -54
  TX Power: null
  UUIDs: 0000feaa-0000-1000-8000-00805f9b34fb
  Service Data: 0000feaa-0000-1000-8000-00805f9b34fb
    (Raw) 16,238,3,103,111,111,46,103,108,47,112,73,87,100,105,114
    (Hex) 10ee03676f6f2e676c2f704957646972
    (ASCII) îgoo.gl/pIWdir

This is from a Thingy/52 device, and the ASCII value îgoo.gl/pIWdir contains a human-readable URL goo.gl/pIWdir that the device indeed emits. I'm not entirely sure about the gibberish before the URL though, and if this approach would work in the general case. Full disclosure: I'm outside of my comfort zone here…

One way to easily filter this would be to wrap it in spans:
    (Raw) 16,238,3,103,111,111,46,103,108,47,112,73,87,100,105,114
    (Hex) 10ee03676f6f2e676c2f704957646972
    (ASCII) �î�goo.gl/pIWdir

The output filter box could then just trigger the hidden attribute of each class.


signInWithFacebookAccessToken's result is returning null firebaseUserId

I have a user on firebase having email<EMAIL_ADDRESS>and provider google. Now, when I use signInWithFacebookAccessToken with facebook account having the same mail, I am getting null firebaseUserId.
The rest of the information are correct and the uid is showing elsewhere in data->localId.

Unfortunately, you didn't share which version of the package and library you are using and no code that I can try to reproduce the problem with 😭, so I'll have to do a bit of guesswork here.
Can you confirm that the ID you expected is present in the localId property of the returned SignInResult object and the firebaseUserId is null?
If you're indeed talking about the properties, please note that you need to use the firebaseUserId() method to access the property.
Otherwise, please provide more information so that I can try to reproduce the problem.

@jeromegamez, Sorry I missed out on the information.
The code I am using:
$signInResult = $this->auth->signInWithFacebookAccessToken($accessToken);
$firebaseUser = $this->auth->getUser($signInResult->firebaseUserId());

This is dumped $signInResult:

Yes, the data->localId has the same uid which is in the firebase console.

The version I am using:
"name": "kreait/laravel-firebase",
"version": "3.2.0",

Laravel version:
"name": "laravel/framework",
"version": "v8.70.2",

PHP version: 8

Thank you for providing the additional info 🙏. Unfortunately I can't fully reproduce the problem because I don't have a project available where I can test the federated login.
Could you please look into your Firebase Auth Users (at https://console.firebase.google.com/project/beste-firebase/authentication/users) and confirm that the localId from your response matches a user in your auth database?
So, as an example, if the value in the localId field in the response above was sU2Wml0hAKPHDKKTr1trOEPLv4u2, you should find the same ID by entering it in the search field of the auth users.

If you can confirm this, I'll add this as a fallback to the SignInResult class, but can't promise it is correct 😅

Thank you for providing the additional info! I was able to confirm the issue and have added support for the localId field in https://github.com/kreait/firebase-php/commit/ff7c396cb143e298c72f1a19967c0986b4821cfd (5.x) and https://github.com/kreait/firebase-php/commit/35ec1919c6ed8d4f88134e4fd6953d9f044af836 (6.x), will create a new release shortly and notify you here.

Released with https://github.com/kreait/firebase-php/releases/tag/6.0.1 and https://github.com/kreait/firebase-php/releases/tag/5.26.1
Thanks again for raising the issue!


CM-970: Connect to park names data register

Jira Ticket:
CM-970
Description:
Added a new ETL job to sync park names data with the Park Names Data Register

@molund I see your cronjob for the park names is 15 * * * *, since park names don't change that often, is it possible you could dial down the cron to say once per day when connecting to the data registry?

@molund I see your cronjob for the park names is 15 * * * *, since park names don't change that often, is it possible you could dial down the cron to say once per day when connecting to the data registry?

@marklise There is some new logic in the main cron script so it only ends up running the parknames task once per day:
https://github.com/bcgov/bcparks.ca/blob/2848286e02e3bbe88edbdb9f5f12a18ab9629958/src/etl/index.js
It will only run between 8:00am and 9:00am UTC, and since the script only runs once per hour it will end up running once per day at either 12:15am PST or 1:15am PDT.

@molund I see your cronjob for the park names is 15 * * * *, since park names don't change that often, is it possible you could dial down the cron to say once per day when connecting to the data registry?

@marklise There is some new logic in the main cron script so it only ends up running the parknames task once per day: https://github.com/bcgov/bcparks.ca/blob/2848286e02e3bbe88edbdb9f5f12a18ab9629958/src/etl/index.js It will only run between 8:00am and 9:00am UTC, and since the script only runs once per hour it will end up running once per day at either 12:15am PST or 1:15am PDT.

👍 Thanks for the clarification - didn't dive into the script itself, just saw the cron entry!


Delay occurs when using the Bind Parameter

System information:

Windows 10
Dbeaver 7.3.0

Connection specification:

Oracle 18C

When using the Bind Parameter after dbeaver is upgraded to 7.3.0, there is a delay of about 1 second after clicking the OK button.
Thank for Reading.

Ver 7.2.5

Ver 7.3.0

Thank you for the report

https://github.com/dbeaver/dbeaver/issues/10686


leading- utilities don't work

Hello!
I've tried to use the leading utilities in iOS to increase/decrease the line spacing, and it doesn't seem to affect it in any <Text /> element.
Is this a known issue? Tested with 2.0.0-next.45

The leading-[n] utilities such as leading-3 should work as they are absolute values. The relative (unitless) utilities such as leading-normal won't work React Native due to being relative to the font-size.
https://www.nativewind.dev/tailwind/typography/line-height

@marklawlor sorry I should have included a reproduction:
https://snack.expo.dev/@sam3d/nativewind-repro

text-lg This looks correct with a line height of 1.75rem
text-lg leading-0 Leading-0 isn't a valid tailwind class so it's ignored. The lowest leading class is leading-3. So its rendering at 1.75rem
text-lg leading-4 Text-lg has a line height of 1.75rem while leading 4 has 1rem. This looks like its correctly rendering as 1rm


populate vendor directory when running int

This seems to be all that's needed for #226

Seems this release might have caused an issue with one of the existing tests (TestEnsureEmptyRepoNoArgs in ensure_test.go), its failing for me on master locally as well: https://github.com/sirupsen/logrus/releases/tag/v0.11.1

I opened #228 to deal with the test issue separately

Closing and reopening to kick the tests after merge of #229

Oh hey look, they passed :)
Thanks!


graphs display in ios emulator but not in actual ios device (Ionic app)

In the emulator I can see the various stackedAreaCharts using angular-nvd3 directives to draw.  I get the following error only in the emulator, but not when I run the app using ionic serve on localhost.
Error: undefined is not an object (evaluating 'options.chart.type')
updateWithOptions@https://cdnjs.cloudflare.com/ajax/libs/angular-nvd3/1.0.5/angular-nvd3.min.js:1:3415
refresh@https://cdnjs.cloudflare.com/ajax/libs/angular-nvd3/1.0.5/angular-nvd3.min.js:1:2966
https://cdnjs.cloudflare.com/ajax/libs/angular-nvd3/1.0.5/angular-nvd3.min.js:1:6809
https://cdnjs.cloudflare.com/ajax/libs/angular-nvd3/1.0.5/angular-nvd3.min.js:1:7896
$digest@file:///Users/griffinadams/Library/Developer/CoreSimulator/Devices/04E08EF7-3015-4006-BF43-3CB80F01650D/data/Containers/Bundle/Application/99911A93-AADE-4A8F-A27E-6FF48A023009/DigitalAgent-Sidemenu.app/www/lib/ionic/js/ionic.bundle.js:24515:31
$apply@file:///Users/griffinadams/Library/Developer/CoreSimulator/Devices/04E08EF7-3015-4006-BF43-3CB80F01650D/data/Containers/Bundle/Application/99911A93-AADE-4A8F-A27E-6FF48A023009/DigitalAgent-Sidemenu.app/www/lib/ionic/js/ionic.bundle.js:24783:31
done@file:///Users/griffinadams/Library/Developer/CoreSimulator/Devices/04E08EF7-3015-4006-BF43-3CB80F01650D/data/Containers/Bundle/Application/99911A93-AADE-4A8F-A27E-6FF48A023009/DigitalAgent-Sidemenu.app/www/lib/ionic/js/ionic.bundle.js:19196:53
completeRequest@file:///Users/griffinadams/Library/Developer/CoreSimulator/Devices/04E08EF7-3015-4006-BF43-3CB80F01650D/data/Containers/Bundle/Application/99911A93-AADE-4A8F-A27E-6FF48A023009/DigitalAgent-Sidemenu.app/www/lib/ionic/js/ionic.bundle.js:19368:15
requestLoaded@file:///Users/griffinadams/Library/Developer/CoreSimulator/Devices/04E08EF7-3015-4006-BF43-3CB80F01650D/data/Containers/Bundle/Application/99911A93-AADE-4A8F-A27E-6FF48A023009/DigitalAgent-Sidemenu.app/www/lib/ionic/js/ionic.bundle.js:19309:24
Once again, the graphs draw fine in the emulator and localhost, but do not display and I am pretty sure are causing the code to stop running in the iPad or any other ios device.

This is an urgent issue so any and all help would be much appreciated.

I'd put this question on stack overflow.  Try to use the safari devtools web inspector to look at the network requests and see if any have failed, and look for any other console errors.  Could have to do with the fact that you're loading it from a file system rather than a web server.


Modify dev-it integration tests after server start issue addressed

The following issue tracks an unexpected server startup hang while using dev mode.
https://github.com/OpenLiberty/open-liberty/issues/20749
To work around this issue we added a trace string to dev-it/resources/basic-dev-project/src/main/liberty/config/bootstrap.properties. Once the server issue is addressed we should remove this trace string and remove the properties file if possible.

Reproduced this issue using version 3.5.
[INFO] --- liberty-maven-plugin:3.5:dev (default-cli) @ dev-sample-proj ---
[INFO] CWWKM2102I: Using artifact based assembly archive : io.openliberty:openliberty-kernel:null:<IP_ADDRESS>:zip.
[INFO] CWWKM2102I: Using installDirectory : /Users/paulg/WAS/devExperience/featureGeneration/tmp/basic-dev-project/target/liberty/wlp.
[INFO] CWWKM2102I: Using serverName : defaultServer.
[INFO] CWWKM2102I: Using serverDirectory : /Users/paulg/WAS/devExperience/featureGeneration/tmp/basic-dev-project/target/liberty/wlp/usr/servers/defaultServer.
...

Add Java file, add dependency to pom.xml, add feature to server.xml, restart server.
...[restarting]
[INFO] CWWKM2001I: Invoke command is [/Users/paulg/WAS/devExperience/featureGeneration/tmp/basic-dev-project/target/liberty/wlp/bin/server, debug, defaultServer].
[INFO]
[INFO] Listening for transport dt_socket at address: 7777
[INFO] Launching defaultServer (Open Liberty <IP_ADDRESS>/wlp-1.0.62.cl220320220302-1100) on Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_231-b11 24_Oct_2019_15_52 Mac OS X x64(SR6) (en_CA)
[INFO] [AUDIT   ] CWWKE0001I: The server defaultServer has been launched.
[INFO] [AUDIT   ] CWWKG0028A: Processing included configuration resource: /Users/paulg/WAS/devExperience/featureGeneration/tmp/basic-dev-project/target/liberty/wlp/usr/servers/defaultServer/extraFeatures.xml
[INFO] CWWKM2010I: Searching for CWWKF0011I: in /Users/paulg/WAS/devExperience/featureGeneration/tmp/basic-dev-project/target/liberty/wlp/usr/servers/defaultServer/logs/messages.log. This search will timeout after 120 seconds.
[INFO] CWWKM2011E: Timed out searching for CWWKF0011I: in /Users/paulg/WAS/devExperience/featureGeneration/tmp/basic-dev-project/target/liberty/wlp/usr/servers/defaultServer/logs/messages.log.

Need to investigate why Liberty Maven plugin server start code cannot see messages from server.


Multiple selection option font is enlarged

Describe the bug
The multiple choice options are large compared the one option selection.
To Reproduce
Steps to reproduce the behavior:

Run local google/ground-platform server via npm run start:local
Create a new survey with a multiple choice selection at http://localhost:5000
Run local app in localDebug variant.
Start the task and see that the font is large

Screenshots

Thanks for filing, @sufyanAbbasi . The spacing also appears to be off. Designs:
Select one

Select multiple


Use go version 1.20 to build and test FDW

FWIW, I had issues when building steampipe-postgres-fdw using the current golang:1.20 docker image (shared tag currently pointing to 1.20.2-bullseye for Linux).
Error at runtime is undefined symbol: __res_search:
# steampipe --install-dir /var/task/.steampipe plugin list
...
2023-03-21 14:23:58.671 UTC [TRACE] steampipe: Pinging
Error: plugin listing failed - could not load library "/var/task/.steampipe/db/14.2.0/postgres/lib/postgresql/steampipe_postgres_fdw.so": /var/task/.steampipe/db/14
.2.0/postgres/lib/postgresql/steampipe_postgres_fdw.so: undefined symbol: __res_search (SQLSTATE 58P01)

That symbol is provided by libresolv:
root@d9b971426328:/app# grep __res_search /usr/lib/x86_64-linux-gnu/libresolv.so
grep: /usr/lib/x86_64-linux-gnu/libresolv.so: binary file matches

Inspecting the binary compiled with go 1.20:
root@d9b971426328:/app# nm build-Linux/steampipe_postgres_fdw.so |grep __res_search
                 U __res_search

root@d9b971426328:/app# ldd build-Linux/steampipe_postgres_fdw.so
        linux-vdso.so.1 (0x00007ffe477d2000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ffb79423000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ffb7b736000)

Comparing that to the binary compiled with go 1.19, we can see that this symbol is not used:
root@c70a8b6ba81f:/app# nm build-Linux/steampipe_postgres_fdw.so | grep __res_search

root@c70a8b6ba81f:/app# ldd build-Linux/steampipe_postgres_fdw.so
        linux-vdso.so.1 (0x00007ffdeb88b000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fceef8ef000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fcef1bf4000)

Downgrading to golang:1.19 docker image resolves the issue.
Something changed on that front when using -buildmode=c-archive with go 1.20, but supposedly only for macOS according to https://github.com/golang/go/issues/58159

Handled by #339


Create l3s.txt

The Research Center L3S offers PhD positions, internship and lectures in Leibniz University of Hanover (which is already in the list).
They are an institute in Leibniz University of Hanover and some part of stuff and students can get a license via uni-hannover.de address. But using l3s.de email address will be easier for exchange students.
https://www.l3s.de/en/

I don't know the exact number of students that have an internship at L3S, maybe about 20 per year. And yes, you are right, at some point, they will get university email anyway.
But there are some researchers that work for L3S (do research job) and they may not have university email address by default, they should additionally apply for it (the number of them also less than 100).
So, using university email is not a problem, but to do that we need to make some additional actions, when @l3s email we use every day.
Also, PhD usually takes at least 3 years :)

@astappev Thank you for the details. As you may notice, researchers that work for L3S are not eligible for free educational license, they can get an academic discount instead (or apply for free license for open source project maintainers if they qualify, see https://www.jetbrains.com/idea/buy/#edition=discounts). Thus, I can see - every year - about 100 people at L3S who have not to apply for free educational license even if they do have university emails (because it would violate JetBrains terms of use), and 20 students, who can potentially get a university email (or have it already). If it will be an issue for these 20 people, may I kindly ask them to request their free licenses using ISIC or OFFICIAL DOCUMENT options at https://www.jetbrains.com/shop/eform/students? Please feel free to email<EMAIL_ADDRESS>if you think otherwise, and my colleagues will try and find a solution which suits your needs the best.
As of now, I have to close the request without merging. Thank you for the understanding!


Is supporting Numpy docstring possible?

Hi,
I really like this project and how the documentation is rendered.
Is there any plan to extend this plugin to support the Numpy Doctring, as this is very commonly used?
Thanks and regards,

Thank you for your interesting.
Although I chose the Google style because I prefer it to the Numpy style, I agree that an Python API generator should support both styles. I'm planning to write a new parser for them, but I'm not sure when it will be released.

Now MkApi supports both Google and NumPy styles.

Wow, that was impressively quick !!!
I had some errors while using the pypi version (I'll raise another separate issue), but after fixing it, from my first trials, that looks great!!
Amazing, thanks a lot for this fast addition!


[DEV] Adding Collections field to Methods and Organizations entry types

add field to methods and orgs for collections (like cases)
add search filter for collections for methods and orgs

Completed on stage http://ppedia-stage.herokuapp.com/

Tested on stage. Deployed to prod.


Hi, thanks for your reply but I have some problems with GPU memory

    Hi, thanks for your interest. Please try

python3 train.py fit --config configs/vitdd_aucdd.yaml
Originally posted by @maysonma in https://github.com/PurdueDigitalTwin/ViT-DD/issues/1#issuecomment-1340224129

error is "torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 304.00 MiB (GPU 0; 14.76 GiB total capacity; 12.85 GiB already allocated; 11.75 MiB free; 13.71 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
"

Hi there,
It looks like you are running into an out-of-memory error on a GPU. This error message indicates that your GPU does not have enough available memory to allocate the required tensor(s). I would suggest reducing the batch size so that the GPU can allocate the tensors without running out of memory. I hope this helps!


BLS001.001 and SMM001.001  fails to enter read only mode and more

Device
MinnowBoard Turbot B41
RTE version

OSFV version
branch: minnow-update
Affected component(s) or functionality
No response
Brief summary
these two test cases share similar problems with writing flash and enablig bios protection
How reproducible
always
How to reproduce
run BLS001.001 or SMM001.001
Expected behavior
pass
Actual behavior
for bios lock:
there is no is read-only in the output so the bios lock havent turned on properly (thus the very next test, BLS002.001 passes because it doesn't have to disable bios lock when it's already off)
on the other hand the smm bios write protection is unable to set bios control and then decide on chip definition
Link to screenshots or logs
BLS001.001.zip
SMM001.001.zip
Additional context
No response
Solutions you've tried
No response

the problems are similar enough to include them under a single post for i believe they both come from the same place, I may be wrong though..


Added GCC 8 to Travis. Updated test so that it warning isn't triggered.

Description

GitHub Issues

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@ae590fe). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   78.86%
=========================================
  Files             ?      113
  Lines             ?     3302
  Branches          ?        0
=========================================
  Hits              ?     2604
  Misses            ?      698
  Partials          ?        0


[Docs] Openshift note about running Agent with elevated privileges

What does this PR do?
Run Agent with elevated privileges to collect metrics from Docker in Openshift
Motivation

Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

@DylanLovesCoffee -- can you also update this file https://github.com/DataDog/datadog-agent/blob/6a0668670fe37784b09073556fd198027e477e2d/Dockerfiles/manifests/openshift/scc.yaml as part of this PR (or separately)?

Any update?


Publishing Russian translate

Hello!
@jinzhu please add Russian language on site.
Only master pages are now translated. A later I plan to do documentation.
Thank

Hello @AlexCollin
Done that, thank you.
BTW, could you help me to translate the language name?
https://github.com/jinzhu/gorm.io/blob/master/pages/_data/languages.yml#L21
Thank you.


feat: Add flexible PriorityClass name

PriorityClass that is currently set as default can cause trouble in managed environments where class modification is limited. This is a solution where operators can choose which class to use for node (DaemonSet) and controller (StatefulSet).

@alen-z Thanks a lot!


[Community-related] Use Instantish for sharing/commenting on issues in Slack

Hi 👋I'm Marissa, the founder of Instantish, which lets you do issue tracking (via GitHub issues) all in Slack.
Hope this is a good place to suggest this- we have a free version for public OSS Slack groups (link), which I think the Flutter community (fluttercommunity.slack.com) could use.
Use case
In the Flutter Slack group, users have posted 29 links to issues in the past month.
The unfurled messages don't update, so you can't see if the issue was triaged or closed. There's also no way to comment on them through Slack.
Proposal
Instantish is a Slack app that can be installed on the Flutter Slack group.

It'll allow users to reference issues by typing /issue <url>.
And users can comment on the issue with a thread.
If the issue is closed or labels or milestones are added, the issue message will automatically update- keeping everyone on the same page!
Instantish for OSS is also used for other open-source communities like BotKit's (link), which has 12k+ users.
Happy to set up/configure Instantish for Flutter's Slack. The early access is available at itsinstantish.com, but feel free to reach out at<EMAIL_ADDRESS>if this seems interesting!

Hi @marissamarym
your proposal doesn't seem to be aimed at flutter itself, first party plugin or documentation
I'd recommend to advance this proposal direct to its subject, flutter community slack channel
I'm closing the current one as duplicate.
If you disagree please write in the comments
and I will reopen it.
Thank you


FEATURE: TNT-1599 Node 18 with c9s image

Build succeeded (check pipeline).

Sonar scan result

No issue found. Congratulations!

More detail, see in https://sonarqube-gate.intgdc.com/dashboard?id=gooddata-css-style-gate-PR50
To scan for vulnerabilities in dependencies and run unit tests (to get coverage report in sonar) please comment your PR with 'extended check sonar'.

Build succeeded (gate pipeline).

https://checklist.intgdc.com/job/compliance/job/gooddata-css-style-sonarqube-scan-zuul-gate/13/ : SUCCESS in 22s
https://checklist.intgdc.com/job/compliance/job/gooddata-css-style-fossa-scanning-zuul/4/ : SUCCESS in 29s (non-voting)
https://checklist.intgdc.com/job/compliance/job/gooddata-css-style-merge-compliance-check/21/ : SUCCESS in 10s


[bug]: Intranet Header blueprint default config

Describe the bug
The navigation does not render correctly with the current blueprint default setup:

To Reproduce
Create an intranet project with the blueprint
Additional context
https://teams.microsoft.com/l/message/19:e7fa68fb13eb40b4bf4604edea5f4b3e@thread.tacv2/1727450527448?tenantId=3ae7c479-0cf1-47f4-8f84-929f364eff67&groupId=123c7c9e-052a-40e6-98d3-6cc6d46bad0a&parentMessageId=1727450527448&teamName=Design System&channelName=🚑 Support&createdTime=1727450527448

There seems to be a unnecessary <ul> element in the blueprint. Removing this solves the issue since the ul is already present in the header.

I tried to reproduce the problem but it was already fixed in a previous commit. Checked with Joao that everything works as expected and the ticket can be closed.


Build failure: hyprland

Steps To Reproduce
Steps to reproduce the behavior:

build hyprland

Build log
Running phase: configurePhase
fixing cmake files...
cmake flags: -GNinja -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/dwjz7c2ndr9gjp8qbfg2wppg5i61rbl1-hyprland-0.40.0+date=2024-06-03_d0a224a/share/loca>
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/v2xqclzs5b8cd4dbbxpcwgcgcbvsjk6i-gcc-wrapper-13.2.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/v2xqclzs5b8cd4dbbxpcwgcgcbvsjk6i-gcc-wrapper-13.2.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Gathering git info
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
CMake Error at CMakeLists.txt:32 (add_subdirectory):
  The source directory

    /build/source/subprojects/udis86

  does not contain a CMakeLists.txt file.

-- Setting up wlroots
-- Found PkgConfig: /nix/store/zdvrzlvzbn9ymb0z8na50w995j8np16z-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")
-- Found WaylandScanner at /nix/store/zkxwpiayw93k1lcmym4gsi76i4irq4d9-wayland-1.22.0-bin/bin/wayland-scanner
-- Found wayland-protocols at //nix/store/g3pc2hibffh9wcbv8rjxhvp51r3lk6zc-wayland-protocols-1.35/share/wayland-protocols
-- Configuring Hyprland in Release with CMake
-- Checking deps...
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found OpenGL: /nix/store/dxp9ffxm50hj300xvzwhsllwgjwxvwpp-libGL-1.7.0/lib/libOpenGL.so  found components: GLES3
-- Checking for modules 'xkbcommon;uuid;wayland-server;wayland-client;wayland-cursor;wayland-protocols;cairo;pango;pangocairo;pixman-1;libdrm;libinput;hwdata;libseat;libdisplay-info;libliftoff;libudev;gbm;hyprlang>=0.3.2;hyprcursor>=0.1.7'
--   Found xkbcommon, version 1.7.0
--   Found uuid, version 2.40.1
--   Found wayland-server, version 1.22.0
--   Found wayland-client, version 1.22.0
--   Found wayland-cursor, version 1.22.0
--   Found wayland-protocols, version 1.35
--   Found cairo, version 1.18.0
--   Found pango, version 1.52.2
--   Found pangocairo, version 1.52.2
--   Found pixman-1, version 0.43.4
--   Found libdrm, version 2.4.120
--   Found libinput, version 1.25.0
--   Found hwdata, version 0.382
--   Found libseat, version 0.8.0
--   Found libdisplay-info, version 0.1.1
--   Found libliftoff, version 0.4.1
--   Found libudev, version 255
--   Found gbm, version 24.0.7
--   Found hyprlang, version 0.5.2
--   Found hyprcursor, version 0.1.9
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Configuration supports execinfo
-- Looking for backtrace in execinfo
-- Looking for backtrace in execinfo - not found
-- Looking for sys/timerfd.h
-- Looking for sys/timerfd.h - found
-- Checking for module 'epoll-shim'
--   No package 'epoll-shim' found
-- XWAYLAND Enabled (NO_XWAYLAND not defined) checking deps...
-- Checking for modules 'xcb;xwayland;xcb-util;xcb-render;xcb-xfixes;xcb-icccm;xcb-composite;xcb-res;xcb-ewmh;xcb-errors'
--   Found xcb, version 1.17.0
--   Found xwayland, version 24.1.0
--   Found xcb-util, version 0.4.1
--   Found xcb-render, version 1.17.0
--   Found xcb-xfixes, version 1.17.0
--   Found xcb-icccm, version 0.4.2
--   Found xcb-composite, version 1.17.0
--   Found xcb-res, version 1.17.0
--   Found xcb-ewmh, version 0.4.2
--   Found xcb-errors, version 1.0.1
-- SYSTEMD support is requested (NO_SYSTEMD not defined)...
-- Setting precompiled headers
-- Setting link libraries
-- Checking for module 'tomlplusplus'
--   Found tomlplusplus, version 3.4.0
-- Configuring incomplete, errors occurred!

Additional information
There seems to be a similar issue on the Discourse:
[https://discourse.nixos.org/t/help-adding-plugins-for-hyprland/44945]
Notify maintainers
@wozeparrot  @fufexan
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.7.2, NixOS, 24.05 (Uakari), 24.05.20240131.b8b232a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/nix/store/mcm21fbi7i6m3f189pkm7zcdn4c9xl40-source`

Add a :+1: reaction to issues you find important.

Try updating nixpkgs as well. 24.05.20240131.b8b232a is from January and old enough to cause an issue like this.

I forgot to mentions that I am using flakes.
I have updated my flake several times, and pushed the flake.lock bumps to my git repo, to no avail.

Got the same issue, also using flakes. Pretty new to setting up NixOS/homemanager/hyprland so feeling quite stuck.

Looks like pinning to the older release tag works, so probably an issue with latest hyprland?
hyprland.url = "github:hyprwm/Hyprland?ref=v0.39.1";


Implement a legless version of the spider algorithm for real-valued quadratic polynomials

Here's a condition to determine if the component lays on the real line based on the internal address. If the angled internal address has no choices for numerator, i.e if all the denominators are 2, then the component which it refers to is on the real line. How can we calculate the external angle of these components?


Don't use an ancestor tile if it needs to be reprojected and hasn't been

Fixes #4777
Here's what happens to trigger the exception:

We zoom in close to the globe and near the pole, so that we're exceeding the maximum level available from the imagery provider.
One terrain tile, T1, loads an imagery tile I1.  T1 doesn't cross the web mercator boundary, so reprojection of I1 is unnecessary.  I1 eventually enters the READY state without being reprojected.
Another terrain tile, T2, finds that an imagery tile it would like to use is not available (missing, max level exceeded, etc.).  It walks up the parent chain from that tile until it finds I1.  I1 is ready so it selects it for rendering.  But T2 does cross the web mercator boundary, so I1 must be reprojected before it can be used.
We try to render T2 with I1, but I1 isn't really ready for use by T2, so we get the "readyImagery is not actually ready" exception.

The fix is, when walking up the parent chain looking for a usable tile, to make sure that the candidate imagery tile is not only ready but that it also has been reprojected if this terrain tile needs it to be.

Seems that it's working fine now. Thanks for fixing.

Thanks for the quick response, @svetoslav80!  It is much appreciated.

Thanks again @kring @svetoslav80!


Add resolver to discover the dns server for kubernetes

This needs a description.

this is related.. Basically we need a way to inject the kubernetes dns address into the resolver directive in nginx

Closing as obsolete (not an issue for our current kube deployment strategy)


im2rec.py revised refered #3005

I have tested the im2rec.py file refered in #3005, and there is some path slips.
I add the multilabel refered codes refered in #3005, and this file already test through in Windows.

This still changes behavior.


Create httpeventserver-reloaded

This Plugin provides game and character insights on your localhost

We aren't accepting new plugins which expose character information over http because they are only used by color bots and aren't worth our time looking at.


materialize sidenav css and js not found error

issue:
XHR error (404 Not Found) loading<EMAIL_ADDRESS>Facing the above mentioned issue, when adding .useSidenav() to the plugin.
please reply with possible working solution. Thanks in advance.

Are you using skeleton-navigation?
The current skeleton-navigation seems to have two conflicting versions of plugin-css installed. Can you check if jspm update helps?

Thanks for the quick reply. will try that and update you.

Thank you Thanood. it worked fine by updating jspm.

Great. :+1:
Thanks for the update.


Create landing page to redirect users from impact.earthdata.nasa.gov/apt to earthdata.nasa.gov/apt

Currently, impact.earthdata.nasa.gov/apt/ doesn't work. This has been discussed previously.
The best, easiest solution seems to be to have https://impact.earthdata.nasa.gov/apt/ point to landing page that says something like:

APT — The Algorithm Publication Tool
APT has moved to a new URL: earthdata.nasa.gov/apt. You will be redirected in 3 seconds.

Success Criteria

[ ] As an APT user, I am greeted with a nice, simple landing page when I go to impact.earthdata.nasa.gov/apt/
[ ] As an APT user, I am automatically redirected to earthdata.nasa.gov/apt/ after a few seconds.

cc: @naomatheus @leothomas @aboydnw

Branch to be pushed to MCP S3 bucket for https://impact.earthdata.nasa.gov/apt/

Hey @naomatheus, I just saw a screenshot of this locally (thanks @TimMcCauley).
Could you re-do the layout to match the following? Sorry if I wasn't clear. Please match the following :)

Let me know if you have any questions.

@naomatheus, I just went to the old url https://impact.earthdata.nasa.gov/apt/. The redirect functionality no longer works. I am shown the previous "loading" splash page, which I am stuck on.
Could you look into this to see if this is related to the recent Prod deployment, and let me know if you can fix this?

Hey @naomatheus, just flagging this ticket. It seems to still be an issue.

This issue still exists - users are abandoned at impact.earthdata.nasa.gov/apt (no redirect, no information about new URL).  With web unification the impact.earthdata.nasa.gov/apt site will go away.  Until then, users should get the new address.

@naomatheus flagging this again for your attention. Please let me know if you're not able to address this during this sprint.

I'm on it. I'll need to contact Shawn F since we do not have access to the DNS settings that point to the resources. @wrynearson

update on this.
A ticket has been submitted to MCP to apply the necessary policy so that users can visit the redirect from any web browser.

update on this. Request to apply policy was approved.
Point of Contact says "it could be end of day today or tomorrow for a safer expectation."
cc: @wrynearson

Still waiting for this policy to be added. Escalating again. cc: @wrynearson

Thanks @bwbaker1, let's see if @naomatheus has any updates or has ideas for how you could help

Hey @wrynearson @bwbaker1
This S3 policy is now in place, and we'll be able to wrap up this issue.
The DNS for impact.earthdata.nasa.gov/apt is managed by a third party, so I believe we can escalate this internally with Shawn F. I'll tag you in channel as well about this.

@bwbaker1 this is still blocked.


smtp_forward: revert part of #962 w/overlap #950

two changes:

Don't save txn results (redundant with #950)
Don't append txn ID to queue message

Question: Is there any reason for the txn ID to be appended? Log
messages are already prefixed with the txn ID and txn results already have
the txn ID available, so at that point, it's entirely redundant data.
Near as I can tell, the only reason to append it there is so that it's
returned to the sending MTA in queue_*_respond. If that's the case, I'd rather
append it there.
Thoughts?

Don't append txn ID to queue message
Question: Is there any reason for the txn ID to be appended? Log
messages are already prefixed with the txn ID and txn results already have
the txn ID available, so at that point, it's entirely redundant data.

Near as I can tell, the only reason to append it there is so that it's
returned to the sending MTA in queue_*_respond. If that's the case, I'd rather
append it there.

Bingo - that's exactly why it was added so that the sending MTA gets the UUID and definitely agree; it's better off added in:
Connection.prototype.queue_msg = function (retval, msg) {
    if (msg) return msg + ' (' + this.transaction.uuid + ')';

Hmm, appending it in queue_msg() would be bad for two reasons:

queue_msg is conditional, so frequently it wouldn't get appended
it would still be appended in the result_store results, where it's redundant.

Instead, I've removed it from the uuid appending from the places it was previous added, and now unconditionally append it immediately after saving to result_store.
"queue": {
  "pass": [
    "2.6.0<EMAIL_ADDRESS>[InternalId=23694] Queued mail for delivery"
  ]
}

No redundant UUID appendage. :-)


Fix errors from pipeline in Python3.8

Describe the bug
Pipeline currently does not pass on Python3.8
To Reproduce
Steps to reproduce the behavior:

Checkout the builds running in Travis here

Expected behavior
Builds should pass on 3.8 as we move closer to beta and public release later this year.
Bandit version
all

Unfortunately, it's not a trivial fix due to changes in the AST, but work has started as part of https://github.com/PyCQA/bandit/pull/393.

Bummer -- I may try to take a stab at working through this if you don't mind. Looks like the PR only has minimal changes so I could just apply them to a new branch

Worth noting, cpython v3.8.0b1 was tagged last week so an increasing number of folks are going to start trying to use it and running into this.

Tagging @ambv re:Conversation around the breaking change to ast

#509  will fix this issue


chore: Upgrade Kaniko in version stream to 0.22.0

Signed-off-by: Andrew Bayer<EMAIL_ADDRESS>

/approve


Parallelize tckgen across nodes, combine with tckedit

tckgen runs parallel tracking within a single computer, but it could be parallelized across nodes as well by running tckgen N times, each with different seed & output file, then combining files like
$ tckedit whole_brain_part*.tck whole_brain.tck

This seems to be an I/O bound step, reading all input files and writing back to output file.

the use case I see for the cluster would more be one subject by node, and then in a node using different cpus. Would it be so useful to parallellize tckgen across nodes ?

No, this was partially a theoretical question, in the case where many nodes are free and we want to run through a patient as quickly as possible.
A single node is probably a better use compromise between run time & resources.


Handle V1 indexes, some of which have unsorted posting offset tables.

Fixes #6535
Signed-off-by: Brian Brazil<EMAIL_ADDRESS>@bwplotka

@bwplotka TestReadIndexFormatV1 has been updated with those tests

unless you make a difference between e2e and unit tests

Ah yes, sorry all good then. Cherry-picking commit with windows fix and this for 2.15.2 :+1:


Match: Couldn't find team with Name

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
After I create new branch and publish to my repo and run the command match, It returns:
[18:01:03]: -------------------
[18:01:03]: --- Step: match ---
[18:01:03]: -------------------

+-----------------------+--------------------------------------------+
|                      Summary for match 0.6.0                       |
+-----------------------+--------------------------------------------+
| type                  | appstore                                   |
| git_url               | URL_to_my_repo |
| force_for_new_devices | true                                       |
| team_name             | "My team name."                   |
| username              |<EMAIL_ADDRESS>| app_identifier        | "my.bundle.identify"     |
| skip_docs             | true                                       |
| git_branch            | "My_branch"                 |
| keychain_name         | login.keychain                             |
| readonly              | false                                      |
| verbose               | false                                      |
| force                 | false                                      |
| shallow_clone         | false                                      |
+-----------------------+--------------------------------------------+

[18:01:05]: Cloning remote git repo...
[18:01:06]: Checking out branch "My_branch"...
[18:01:06]: 🔓  Successfully decrypted certificates repo
[18:01:06]: Verifying that the certificate and profile are still valid on the Dev Portal...
Couldn't find team with Name '"My team name."'
[18:01:12]:
[18:01:12]: ==========================================
[18:01:12]: Could not find App ID with bundle identifier '""my.bundle.identify"'
[18:01:12]: You can easily generate a new App ID on the Developer Portal using 'produce':
[18:01:12]:
[18:01:12]: produce -u<EMAIL_ADDRESS>-a ""my.bundle.identify" --skip_itc
[18:01:12]:
[18:01:12]: You will be asked for any missing information, like the full name of your app
[18:01:12]: If the app should also be created on iTunes Connect, remove the --skip_itc from the command above
[18:01:12]: ==========================================
[18:01:12]:
[18:01:12]: An app with that bundle ID needs to exist in order to create a provisioning profile for it
[18:01:12]: ================================================================
[18:01:12]: Make sure to run `match` with the same user and team every time.
[18:01:12]: 🔒  Successfully encrypted certificates repo
[18:01:12]: Variable Dump:
[18:01:12]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta", :XCODEBUILD_DERIVED_DATA_PATH=>nil}
[18:01:12]: Couldn't find bundle identifier '""my.bundle.identify"' for the user<EMAIL_ADDRESS>

Can you please format your issue per https://github.com/fastlane/fastlane/blob/master/ISSUE_TEMPLATE.md? Thanks!

@vpolouchkine: I already update my question

Can you post the full log and your Fastfile?

| team_name             | "My team name."                   |

Couldn't find team with Name '"My team name."'

As the error message says, the team is not available on iTunes Connect. Are you sure you're using the correct Apple ID with a team matching this exact name?

yes, i totally sure about that because i copy it in my account profile. then i don't know why fastlane not recognize my team name, it also isnot recognize my developer account

On May 23, 2016, at 10:45 AM, Felix Krause<EMAIL_ADDRESS>wrote:
| team_name             | "My team name."                   |
Couldn't find team with Name '"My team name."'
As the error message says, the team is not available on iTunes Connect. Are you sure you're using the correct Apple ID with a team matching this exact name?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

If this is still an issue, can you post the full log and your Fastfile?

It looks like there hasn’t been any recent activity on this issue in some time, so I’m closing it. If this is still a problem, feel free to re-open a new issue and I’d be happy to help :+1:


tim2_encoder example based on tim2_pwm_remap

Uses partially remapped pins to read a rotary encoder (or any quadrature input) using pins that should be 5V tolerant

I love the chart explaining things.


Question: Service Links

Hi,
I am not able to get service linking to work for some reason. These are the steps I follow:

Create a service called 'api1' which exposes port 8080 via Dockerfile and mapped to port 7575 on Rancher's UI
Start api1 service
Create a service called 'web1' which has a service link to 'api1' named 'api'
Start web1 service

In web1's stdout I have dumped all environment variables and I do not see api1's linking information. When I try via regular 'docker run' on my machine I am able to see the links. Am I doing something wrong when setting it up on Rancher? I am using v0.23.0-rc6

You should be able to reach containers in service - 'api1'  from all containers in service -web1 using the service link's name  - "api".
From containers in web1 service , you should be able to access api:8080
Note - There is no need to map exposed ports for service linking to work.

@willowandcreek service links in Rancher get resolved using Rancher DNS server; not through the environment variables. The way DNS works, is every entry of api1 service becomes a DNS A record for every instance of the web service, so from your web instances "api1" name should get resolved to api1 service's instances

Thanks for the clarifications :smile: I am indeed able to ping linked containers.


Merge pull request #2 from Kolankara/main

index.md

This is an <h1> header, which is the largest
This is an <h2> header
This is an <h6> header, which is the smallest

This is an <h1> header, which is largest


Include the .md extension on CONTRIBUTING and LICENSE

What is the improvement?
Github formats markdown files nicely, but it doesn't recognize these files as being markdown since they are missing the extension.
Additional context
I think this small fix would improve the readability of these files. I plan on making a PR.
Side note: This is my first issue/PR, so any suggestions are welcome. Thanks

Oh thanks for making PR.


Update LICENSE

Updated the license for the new year, I also included my name in the copyright because I helped.

Nice to see you're keeping up on relevant repos ;)


Implement display config interface

A config interface, which defines (open for suggestions):

gpio connections for the display

i don't really see a way to create a common interface for a display config yet, because the displays are using different protocols for communication, which need a different number of gpio pins, and pin names are and function are also different.


why the latest is the very -old- 2021...??!!!..

has this project abandoned..??
is it ELO..??
what a real big PITY... :(

#30839 !


I used the Material Forms module, yesterday after trying to launch the project, I get an ImportError error: “No module named material”

django-material present in pakages and in INSTALLED_APPS = [
'material',

This was a PyCharm problem


Remove a hover effect or modify it

I would like to either modify it or remove it entirely tab hover effect.

you can see on this screenshot the work tab have a sky blue hover effect

I think modifying it would be a nice idea, as of now it looks incomplete as the top border is missing !

Can I work on this issue?

I want to work on this issue please assign me this issue.

You both can work on it and there are other issues you can participate in that too

Thank you @Khizarshah01  for assign this issue

@Pragyan14 have you started working on this issue? If not there is also another issue open I can assign you there.

I am working on issue

I am available to fix this issue

I had already assigned this issue to @munnokd but if you are able to resolve this issue fast then I will assign it to you also

Hey @Khizarshah01 I made pr on this please check it. I solved this issue.

completed !


Beta release does not compile [Windows 10]

the crates.io version 0.1.0-beta does not compile:
error[E0599]: no method named `expect` found for type `std::result::Result<(), winit::event_loop::EventLoopClosed<Message>>` in the current scope
   --> C:\Users\songtronix\.cargo\registry\src\github.com-1ecc6299db9ec823\iced_winit-0.1.0-alpha\src\application.rs:377:18
    |
377 |                 .expect("Send command result to event loop");
    |                  ^^^^^^ method not found in `std::result::Result<(), winit::event_loop::EventLoopClosed<Message>>`    |
    = note: the method `expect` exists but the following trait bounds were not satisfied:
            `winit::event_loop::EventLoopClosed<Message> : std::fmt::Debug`

error: aborting due to previous error

However current master does compile.

I can reproduce this on Linux with rustc 1.40.0-beta.5. The problem is within the iced_winit crate.

Oh, thanks for the catch!
The new alpha release of winit has breaking changes. I fixed this in #121.


Implement minify for Turbopack runtime file

Description
While debugging another issue @sokra and I found that one file wasn't minified when running in production. This PR ensures that file is also minified.

Testing Instructions

#7676  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @timneutkens and the rest of your teammates on  Graphite


[ci skip] adding user @rhiannonlynne

Hi! This is the friendly automated conda-forge-webservice.
I've added user @rhiannonlynne as instructed in #4.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.
Fixes #4

So I just comment I'm ok with maintaining our conda-forge recipe? Yes :)


Reinstante ansible-snapshot-admins

Reinstate ansible-snapshot-admins team and resolve #649

404 for https://github.com/redhat-cop/lvm_snapshots

404 for https://github.com/redhat-cop/lvm_snapshots

fixed


Modifier keys always false on winit + mac

On master, on Mac Catalina.
Reproduce: in imgui-gfx-examples/examples/hello_world.rs, add:
ui.text(format!("key_shift: {}", ui.io().key_shift));
ui.text(format!("key_ctrl: {}", ui.io().key_ctrl));
ui.text(format!("key_alt: {}", ui.io().key_alt));
ui.text(format!("key_super: {}", ui.io().key_super));

Run cargo run --example hello_world and press modifier keys. They all remain false.
A short investigation of imgui-winit-support/src/lib.rs shows that I do get WindowEvent::KeyboardInput in
    #[cfg(feature = "winit-19")]
    fn handle_window_event(&mut self, io: &mut Io, window: &Window, event: &WindowEvent) {
        ...
    }

Maybe the modifier keys should be updated there

Sounds like a potential regression originating from this commit: https://github.com/Gekkio/imgui-rs/commit/2f57a3099a2778e877f05e2463aeaeef5976f564

I don't have a Mac myself, so I'm afraid the only thing I can do is merge reasonable-looking pull requests :shrug:
If you have the time and a machine to debug this, try reverting the winit 0.19 changes from the commit I linked. I suspect it was maybe only tested on winit 0.20+, so winit 0.19 code shouldn't have been changed at all.

Closing; modifiers on macOS definitely work with more recent winit+imgui-rs versions, and winit 0.19 is almost 2 years old at this point so unlikely to be used by anyone on new projects


Better Touch using

Issue Type: Feature Request
Hello,
I realised it is not easy to select text on a touch screen. This is, because all touch gestures are interpreted as scrolling and not as selecting.
I looked what Notepad++ does. This is very interesting. Notepad++ works differently depending on what direction the touch swiping starts. If it starts vertically (up/down) then ist is scrolling and if it starte horizontally (left/right) it is selecting. - It should be noted, that even if you start moving the finger up or down for scrolling, if the scrolling has started you still can scroll left or right. If you are in selection mode (left/right movement) you can also select up and down. So the application looks how the movement started. This is a really cool and accassible way of using touch in this program.
Visual Studio code should work in a similar way.
(PS: This whole way of using with touch reminds me of the clever way Tiles worked Windows 8. Unfortunately Microsoft forgot about that, when they switched scrolling direction of Tiles in Windows 10.)
VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:35:15.005Z)
OS version: Windows_NT x64 10.0.18362

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

Sidebar minimap/scroll doesn't work with surface touch screen (#75672)
Touch Screen not working (#81586)
Scrolling on touch pad does not work at all (#77393)

Yeah the supported cases are not duplicates of this one. (In fact, they are the oppisite of this case, because in the other cases scrolling is not working, but my case is that scrolling works, but selection is not working.)


Log Generation in Batch and Stream Mode to AWS S3

Stream Tracker object url made private

Async method added for awsbatchservice


Still under production?

Could you make this project available for latest dotnet dore version and make it more "standalone"?

@shellphil I am not sure I understand what you mean by "standalone" here? And also making it available for latest .Net core version? I guess that Xamarin uses the latest Mono Framework.


Added the non-'f' Go language chaincode logging APIs

Description

Also added more documentation to explain why this was done the way it was.
Motivation and Context

Answers #1815
How Has This Been Tested?

Ran "make checks" in Vagrant. Some "custody" tests are failing. Don't know why.
I also ran the shim unit tests from the terminal and observed that the outputs was being generated correctly.
Checklist:

[x] I have added a Signed-off-by.
[x] I have either added documentation to cover my changes or this change requires no new documentation.
[x] I have either added unit tests to cover my changes or this change requires no new tests.
[x] I have run golint and have fixed valid warnings in code I have added or modified. This tool generates false positives so you may choose to ignore some warnings. The goal is clean, consistent, and readable code.

The continuous integration build process will run make checks to confirm that tests pass and that code quality meets minimum standards. You may optionally run this locally as PRs will not be accepted until they pass.
Signed-off-by: Bishop Brock<EMAIL_ADDRESS>

reverify jenkins

This is great! Awesome to see an explanation of why certain approaches where chosen. I'm running jenkins again as x86_64 should be working now. LGTM otherwise.


New package: LibAwsCal v1.0.0

Registering package: LibAwsCal
Repository: https://github.com/JuliaServices/LibAwsCal.jl
Created by: @Octogonapus
Version: v1.0.0
Commit: 4fca1ca2465d67cfbfdd9189d8fc7878705219dd
Reviewed by: @Octogonapus
Reference: https://github.com/JuliaServices/LibAwsCal.jl/commit/4fca1ca2465d67cfbfdd9189d8fc7878705219dd#commitcomment-141429984
Description: Julia wrapper for the aws-c-cal library.

This can be closed, we're going to combine our PRs first


Update README/ Improve API Documentation

The README's API Endpoints section should be revised to reflect the current set of endpoints that are available in the project.
https://github.com/chukaibejih/smart_learn#api-endpoints

Enhance the API documentation by providing more detailed explanations of endpoints, request/response examples, and authentication requirements. This will make it easier for developers to integrate the API into their projects.

Hello Chukwuka,
Could I add this step in .Getting Started, as detail step after or before the step number 5 ?
-- Go to .settings.DATABASES, then deactivate #PRODUCTION mode and activate #Development mode, add PostgreSQL configuration to connect to your database to be the default database.

Hello May,
Yes, you can add that step in the "Getting Started" section. Thank you for suggesting this addition!


1gg hangs neovim

More generally, it seems that two-letter commands starting with 1 hang neovim (e.g., 1gg, 10dd). But, e.g., 9dd and 10} work fine.
Probably related to #17.
$ nvim --version | head -3
NVIM v0.5.0
Build type: Release
LuaJIT 2.1.0-beta3

I'm not able to reproduce this. Can you make a minimal config to trigger this?

Found the offending keybinding: 1gD. Minimal config based on #117:
if !filereadable('/tmp/plug.vim')
  silent !curl --insecure -fLo /tmp/plug.vim
    \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
endif

source /tmp/plug.vim
call plug#begin('/tmp/plugged')
Plug 'folke/which-key.nvim'
call plug#end()

autocmd VimEnter * PlugClean! | PlugUpdate --sync | close

lua << EOF
require("which-key").setup{}
EOF

" https://github.com/neovim/neovim/blob/5d6ecfa3c7447009da75842c611ea1b9f1db83e7/runtime/doc/lsp.txt#L50
nnoremap <silent> 1gD   <cmd>lua vim.lsp.buf.type_definition()<CR>

nvim --noplugin -u basic.vim basic.vim

That's a really odd key binding. Not sure what that one was chosen to be put in the docs. Either way, I'll see if I can fix this properly.

I think that's actually a typo in the LSP docs 😅
A better set of default bindings can be found on the lspconfig readme

Can you check wether it even works with that binding without WhichKey?

I just pushed a fix for this. Thank you for reporting!

Thanks!


Files are not physically deleted from storage

Describe the bug
If you delete a file in Resources they are not physically delted on the storage. This applies to both local files and files stored in S3.
Used version: v0.13.1 on docker
Steps to reproduce

Upload a file in Resources
Check where it is stored in the file system
Delete the file in Resources
The entry disappears in the web, but not on the storage

Screenshots or additional context
No response

Furthermore, I would like to add that if you upload a resource from an external link, even when you delete that resource, it will still appear in third-party apps but not in the web app or the assets folder.


Add HTTPS to some assets to prevent mixed-content policy issues

@btran10 Great. Thanks for the contribution!


Add FFmpeg 7.0 support

7.0 released earlier today.
Not all sources for the CI builds and most package repositories don't have it yet. I'll open this issue to keep track of things, but I'll probably get around to it as soon as the Arch repositories update to 7.0.

Added in #48 and released with #55.


Merge haskoin, haskoin-node and haskoin-wallet

You forgot to rename the package haskoin to haskoin-core. The contents of haskoin.cabal as well as its filename must change.


use ace9.js to hightlight

😊 it good for php than codemirror

@gingdz
There is no huge difference between Ace and CodeMirror but AFAIK CodeMirror is better supported by older browsers.


Handle RTF, PPT, etc file types in the Documentation Processor

Implement PDF converter for the following file types:

DOC, DOCX (Done)
RTF
PPT, PPTX
HTML