Add setAttribute and getAttribute

This commit adds setAttribute and getAttribute functions,
without introducing Attr type.
However, it should be noted that Attr IDL can be easily
captured with native purescript types and possibly it'll
be a better idea than having functions that work with
Attrs be stringly-typed.
This code have been "hand-tested" with the following
snippet, which — indeed — prints true
in console.

Code looks good to me, but I think these belong in DOM.Node.Element, as they're from the Element interface. Sorry if my comment in IRC confused matters!

OK, I'll force-push in ten-twenty minutes.
A thing to consider, however — we'll eventually have Attr.purs anyway (if we choose to capture Attr interface), where will it go and why?

That stuff would indeed go in DOM.Node.Attr :) although I think the Attr type belongs in DOM.Node.Types. I'm about to go to bed, so I'll merge the PR(s) in the morning.

Force-pushed changes to match Gary's commentaries.
Updated snippet URL to point to the new commit
Will work on adding proper native Attr type in ten-fifteen hours.

Great, thanks :+1:


Add Dynaboard to showcase

@B2o5T I added Dynaboard to the showcase

Had to convert to draft to fix a few issues


keyPress and keyRelease passing non ASCII values

Me again,
I've just discovered that both keyPress and keyRelease events pass integers for keyboard keys 0-9, instead of their ASCII representations.
It's easy to fix in code but would be better if it didn't do that at all.
Again... awesome thing you have created, it opens a world of automation!

Hi!
First things first - Thank you very much! For using LepikJS, enjoying the work with it and even for opening the issue.
And I am sorry for later response...
Now, to the actual problem. I am aware of it.
It's wierd but I added this mechanic as a feature because of a simple reason which I came across.
The ASCII value of 0-9 on numeric keys is 48-57.
The ASCII value of 0-9 on numeric keyboard is 96-105. (Also this vary)
Here comes the issue, if it returned an ASCII value instead of number 0-9, the difference between clicking same number on different keys would appear. That is something that (atleast I, as a developer) do not like to manage.
Handling same input on 2 different ASCII values is not ideal.
So here is why it is 0-9 instead of ASCII values.
I would love to hear your opinion on this. Adding why do you prefer ASCII value over numbers would help me understand your problem more.
Also if you want to convert it to ASCII there is built in JS function .charCodeAt(0)
Thanks!
PS: It is not hard to implement this to LepikJS. I hope you got my point, that I do not want to implement something that could potentially cause issues in clicking same number anywhere else on keyboard.

Hi no problem, I'm in no great rush :)
Really I'd prefer ASCII instead of numbers to skip the extra conversion using ${char}, it's no great issue and just another small bit of code.
I really raised the issue just in-case it was unintended on your part, however it was fully intended.. so all good :)


Unable to use nested routers

Describe the Issue
A clear and concise description of what the issue is.
Hey :wave: I'm using itty-router and Bun to build a tiny API and am encountering an issue when using nested routers. The routes off the main router work fine, though.
Example Router Code
Please provide the itty-router code related to the issue. If possible, create a minimal, reproducible example.
// api.ts
import {
  error, // creates error responses
  json, // creates JSON responses
  Router, // the ~440 byte router itself
  withParams, // middleware: puts params directly on the Request
} from 'itty-router'

const router = Router()
const api = Router({ base: '/api' })
const v1 = Router({ base: '/v1' })

v1.get('/something', () => json({ status: 'ok' }))

api.all('/v1/*', v1.handle)

router
  .get('/healthcheck', () => json({ status: 'ok' }))
  .all('*', withParams)
  .all('/api/*', api.handle)
  .all('*', () => error(404))

Bun.serve({
  port: 3000,
  fetch(request) {
    return router
      .handle(request)
      .then(json) // send as JSON
      .catch(error) // catch errors
  },
})

// api-script.ts
const base = 'http://localhost:3000/'

// 200
fetch(new URL('/healthcheck', base))
  .then((r) => r.json())
  .then(console.log)
  .catch(console.error)

// 404
fetch(new URL('/api/v1/something', base))
  .then((r) => r.json())
  .then(console.log)
  .catch(console.error)

Request Details

Method: [e.g., GET, POST, PUT, DELETE]
URL: [e.g., /api/v1/users]
Request Body: If applicable, include the request body.
Request Headers: If applicable, include the request headers.

Steps to Reproduce
Steps to reproduce the behavior:

run the sample api, bun api.ts
run the sample api script, bun api-script.ts
observe the following response{
  status: "ok"
}
{
  status: 404,
  error: "Not Found"
}

Expected Behavior
A clear and concise description of what you expected to happen.
Actual Behavior
This behavior seems to be specific to nesting multiple routers. If I add an arbitrary GET route to the API handler the call succeeds:
api
  .all('/v1/*', v1.handle)
  .get('/something', () => json({ status: 'ok' })

Environment (please complete the following information):

Environment: bun
itty-router Version: 4.0.9

Additional Context
Add any other context about the problem here.

Hey there!
Looks like the v1 base should be /api/v1, rather than the /v1 base you currently have.  Each subrouter has to be aware of its entire path, rather than just relative off the parent router (to preserve the tiny size of itty, we don't keep track of the parent tree in any way).
// api.ts
import {
  error, // creates error responses
  json, // creates JSON responses
  Router, // the ~440 byte router itself
  withParams, // middleware: puts params directly on the Request
} from 'itty-router'

const router = Router()
const api = Router({ base: '/api' })
const v1 = Router({ base: '/api/v1' }) // <-- this should contain the full path

v1.get('/something', () => json({ status: 'ok' }))

api.all('/v1/*', v1.handle)

router
  .get('/healthcheck', () => json({ status: 'ok' }))
  .all('*', withParams)
  .all('/api/*', api.handle)
  .all('*', () => error(404))

Bun.serve({
  port: 3000,
  fetch(request) {
    return router
      .handle(request)
      .then(json) // send as JSON
      .catch(error) // catch errors
  },
})

I'll add a more obvious note to this effect on https://itty.dev/itty-router/nesting.  It's the one gotcha of using itty (specifically with nesting)!

Hey! Goodness, that makes total sense! I've read the bullet points at the bottom of that page and it didn't click.

This means each child router must include a base option to prefix every route within that router

This line makes a bit more sense now but I'm onboard with making it more obvious. Thanks for clearing this up!

Glad it was an easy fix! :)
I've added more explicit instruction to the docs (rolling out now):


Popover stays hidden if closed by a double-click

Bootsrap 3.3.1 on Chrome 39 and Windows 8
You can check directly with the live demo from the doc: http://getbootstrap.com/javascript/#popovers
Just click one time one the button to open the popover, then double-click the button, the popover hides and won't show again.
Seems that in the "Tooltip.prototype.hide" complete function, forcing to always detach the tip fixes that issue.
Cheers,
Romain.

Confirmed as of v3.3.2 on OS X Chrome.

Bootstrap 3 is no longer being officially developed or supported.
All work has moved onto our next major release, v4. As such, this issue or pull request is being closed as a "won't fix." For additional help and support, we recommend utilizing our community resources. Thanks for your understanding, and see you on the other side of v4!
<3,
@mdo and team


Reload stream when metadata changes

This PR supersedes the previous PR #65 to allow metadata reload while it put logic mostly in the stream module instead of pursuing a strong-consistent metadata in the previous PR.
As a result, the stream model starts a serially-running background job to continuously reconcile the opened stream (with underlying storage).
Please have a review with the new design @hanahmily
More test cases will be added later. I suppose Eventually method is necessary for these kinds of tests.

More test cases will be added later. I suppose Eventually method is necessary for these kinds of tests.

@lujiajing1126
https://github.com/apache/skywalking-banyandb/pull/67 will introduce the Eventually. and I also noticed that AfterEach has a capacity to clean up the testing when facing a panic. Is the flow you introduced still necessary for testing?

What I focus on is the process to handle failures of syncing, which is absent in the current stage. The module which is receiving events should ensure it could handle any event successfully. Otherwise, the conflicting metadata must bring us a series of troubles.

Currently, I just skip the processing of the given entity since the failure may probably caused by other modifications, and will be probably reaching consistent in the next round of syncing.
So, I suppose we can only focus on the metadata of the stream/measure, without any dependence on the event type, right?
If we cannot fetch the schema with the given metadata, it naturally means the entity has been deleted, so we delete the opened stream.

More test cases will be added later. I suppose Eventually method is necessary for these kinds of tests.

@lujiajing1126 #67 will introduce the Eventually. and I also noticed that AfterEach has a capacity to clean up the testing when facing a panic. Is the flow you introduced still necessary for testing?

I agree. We may fully migrate to the gingko/gomega later in the next PR.
I suppose we can make use of DeferCleanup, BeforeSuite, and Before/AfterEach` to better organize cleanup codes. You may check the latest commits.

What I focus on is the process to handle failures of syncing, which is absent in the current stage. The module which is receiving events should ensure it could handle any event successfully. Otherwise, the conflicting metadata must bring us a series of troubles.

Currently, I just skip the processing of the given entity since the failure may probably caused by other modifications, and will be probably reaching consistent in the next round of syncing.

FWIK, the changing triggers the metadata syncing. As I mentioned, the metadata update operation rarely happens, which will lead to a continuing inconsistency. How about introducing a periodic syncing strategy as a complementary solution?


fix(workflow): fix indend issue

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

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


Potential memory leak

If nv2a_vsh_parse_program() gets called multiple times consecutively, without destroying the program in between, it will overwrite the steps member, which will leak the previously assigned memory pointer(s).

Thanks for the report!
This is actually working as intended, and the requirement that the caller perform cleanup is mentioned in the comment for nv2a_vsh_parse_program here
As there are no guarantees with respect to the content of the Nv2aVshProgram passed into nv2a_vsh_parse_program, it'd be unsafe to attempt to deallocate steps on behalf of the caller (e.g., the pointer could be seemingly-valid uninitialized garbage).
We could provide an alternative API that allocates a new Nv2aVshProgram instead of populating an existing one, but if there's a worry that the caller isn't deallocating between calls to the parser, they'd probably just be leaking a few more bytes by failing to deallocate the wrapping struct as well.
I'm going to close this as working-as-intended, but if you have a suggestion for an alternative approach I'd be happy to discuss.


Validation perplexity explodes at first hours of training

Hello! I'm trying to train Transformer big model with transformer_wmt_en_de_big configuration set for EN-RU language pair. It goes well for first 12500 steps, but then validation perplexity explodes from 118.51 to 5139.55 and training perplexity starts to monotonically increase. As I'm new to deep learning, I have few ideas what to do with it. Could you please give me a tip on what I can try to find the the cause of this problem?
I'm training on one Tesla K80 (Azure NC6 instance) with following training options:
fairseq-train $NMT_DIR/ds/bin --max-tokens 1700 --arch transformer_wmt_en_de_big --max-epoch 5 \             --update-freq 1 --optimizer adam --adam-betas '(0.9, 0.98)' \             --learning-rate 0.0007 --clip-norm 0.0 \             --lr-scheduler inverse_sqrt --warmup-init-lr 1e-07 --warmup-updates 4000 --min-lr 1e-09 \              --criterion label_smoothed_cross_entropy --label-smoothing 0.1 --weight-decay 0.0\              --save-dir $NMT_DIR/models \              --no-progress-bar --log-format simple --log-interval 50 \              --save-interval-updates  1000 --keep-interval-updates 5

Training perplexity started growing since 12550 step.
Here is a log output when all that starts:

| epoch 001:  11900 / 118626 loss=8.186, nll_loss=7.004, ppl=128.34, wps=987, ups=0.7, wpb=1467, bsz=51, num_updates=11900, lr=0.00040584, gnorm=2.570, clip=0%, oom=8.40266e-05, wall=17828, train_wall=14595
| epoch 001:  11950 / 118626 loss=8.183, nll_loss=7.001, ppl=128.12, wps=987, ups=0.7, wpb=1467, bsz=51, num_updates=11950, lr=0.00040499, gnorm=2.570, clip=0%, oom=8.3675e-05, wall=17896, train_wall=14657
| epoch 001 | valid on 'valid' subset | valid_loss 8.25533 | valid_nll_loss 6.88888 | valid_ppl 118.51 | num_updates 12000 | best 8.23211
| epoch 001:  12000 / 118626 loss=8.181, nll_loss=6.998, ppl=127.86, wps=987, ups=0.7, wpb=1466, bsz=51, num_updates=12000, lr=0.000404145, gnorm=2.567, clip=0%, oom=8.33264e-05, wall=17966, train_wall=14719
| epoch 001:  12050 / 118626 loss=8.178, nll_loss=6.995, ppl=127.55, wps=982, ups=0.7, wpb=1466, bsz=51, num_updates=12050, lr=0.000403306, gnorm=2.564, clip=0%, oom=8.29807e-05, wall=18147, train_wall=14779
| epoch 001:  12100 / 118626 loss=8.175, nll_loss=6.992, ppl=127.29, wps=982, ups=0.7, wpb=1466, bsz=51, num_updates=12100, lr=0.000402472, gnorm=2.562, clip=0%, oom=8.26378e-05, wall=18214, train_wall=14839
| epoch 001:  12150 / 118626 loss=8.172, nll_loss=6.989, ppl=127.03, wps=982, ups=0.7, wpb=1466, bsz=51, num_updates=12150, lr=0.000401643, gnorm=2.566, clip=0%, oom=8.22978e-05, wall=18282, train_wall=14900
| epoch 001:  12200 / 118626 loss=8.170, nll_loss=6.986, ppl=126.76, wps=983, ups=0.7, wpb=1466, bsz=51, num_updates=12200, lr=0.000400819, gnorm=2.568, clip=0%, oom=8.19605e-05, wall=18350, train_wall=14961

For a training set I joined 5 whole corpora (Yandex, TED, Wikipedia, Newscom11, EUbookshop) and also selected subsets from OpenSubtitles 2018 (3.5M) and from ParaCrawl (730.000). I tokenized with joint BPE encoding (with transliterated RU corpus)). I used this dataset already for training Transformer base model with OpenNMT system and didn't have any problems.
training_log.txt

Are the parameters the same with fairseq and Open NMT?

Hello, @huihuifan! No, I trained Transformer Base model (6 layers, 8 heads, 512 dimension size) at OpenNMT, and I tried to train Big model (transformer_wmt_en_de_big: 6 layers, 16 heads, 1024 dimension size) here.
Anyway, I decided to stop this experiment, because it's too hard to train such model with a single GPU (now I'm testing DynamicConv). So I'm closing the issue. Thank you for your reply!


Conversion adds pip-check: false on non-python packages

This comes out of a logical misinterpretation of the CEP-14:
https://github.com/conda-incubator/ceps/blob/main/cep-14.md#python-test-element
pip_check defaults to true IFF the package is a Python package. For non-Python packages, this is an error.
TODO: We need a way to classify recipes as building "python" packages that is reliable and consistent.

After some experimentation with this fake recipe file, running ``
package:
  name: test
  version: 1.0.0

requirements:
  host:
    - python
    - requests
  run:
    - python
    - requests

We get:

As written, this produces: conda-bld/osx-arm64/test-1.0.0-py311_0.tar.bz2
host/python redacted: conda-bld/osx-arm64/test-1.0.0-py312_0.tar.bz2
run/python redacted: conda-bld/osx-arm64/test-1.0.0-0.tar.bz2
Both redacted: conda-bld/osx-arm64/test-1.0.0-0.tar.bz2

^ So to summarize, if run contains python, it's likely a "python recipe". This might have some false-positives if the package includes some utility scripts that run in python, BUT such cases likely don't have pip check in their current test suites and setting the new python/pip_check to False should be fine.

Spoke too soon, Wolf just confirmed we're good.


SAMZA-1889: Extend ExecutionPlanner to support Stream-Table Joins

Extend ExecutionPlanner to verify agreement in partition count among the
stream(s) behind Tables — including side-input streams — and other streams
participating in Stream-Table Joins.

@vjagadish1989 @bharathkk Here is the 3rd and last PR of this series.
@nickpan47 Let's follow up on our discussion regarding verification vs assignment at your earliest convenience.

@nickpan47 I separated the logic for assignment and verification of partition counts as suggested.
One concern I have now, however, is about the utility/usefulness of IntermediateStreamManager as an independent class.

With my change, IntermediateStreamManager cannot operate independently from the ExecutionPlanner since it relies on it for traversing the operator graph and grouping conjoined edges.

If we have plans to use IntermediateStreamManager independently, then our only alternative would be to have it perform the traversal/grouping work currently done in the ExecutionPlanner redundantly. In addition to the computational overhead, this would entail promoting the stream grouping class, StreamSet, into a package-level class — an option I would not prefer because this class has no way of maintaining its invariant, i.e. the correct categorization of a group of streams, e.g. all vs some vs no partitions set, since StreamEdges are mutable.

I also dislike the idea of having calculatePartitions() expect both a JobGraph and a list of conjoined stream edges since there seems to be quite a bit of overlap between the two. On the other hand, I wouldn't want to reconstruct these groups in the IntermediateStreamManager redundantly, unless it could be used independently from the ExecutionPlanner.


External with device parameter

Fixes #265, #270, #242
Current issues:

[x] math.ceil fails and always returns the biggest integer possible when it is mapped to cmath ceil or libdevice __nv_ceil.
[x] math.log2 fails during typing
[x] math.remainder fails during typing
[x] math.floor gives the wrong result
[x] math.trunc gives the wrong result

TO-DO:

[x] Drop name keyword and use the first name as key.
[x] Avoid calling register() in every scenario. For instance, we don't need to do typing for math.* functions.
[x] Introduce a Registry() in omnisci_mathimply.py. Currently we are lowering functions using extending.lower_builtin.

This PR introduces and changes the following:

Changes External to dispatch the implementation based on TargetInfo.is_cpu/is_gpu
Introduce omnisci_mathimpl.py and omnisci_mathtyping.py. The former lowers math.* functions using new External behavior while the latter adds typing information to math.log2 and math.remainder.
Remove name keyword from External.fromobject
Add two keywords (typing=True, lowering=True) to External.fromobject to indicate if External should automatically type/lower or not a given external function call.
typing and lowering of omnisci_mathimpl and omnisci.mathtyping are done in separated Registry(). Previously I was using the global registry from Numba (extending.lower_builtin)

Why omnisci_mathimpl.py hooks are not effective here?

@pearu, test_external.py is testing bindings with C math function. I guess what is missing there is to skip the test if GPU is enabled.

Failure is related to a travis CI issue


Song detection issues on rdio

Hello.
I use Last.fm Scrobbler daily with rdio and I noticed a weird problem with the artist/song title detection issue.
For instance, just now I started playing my radio and second song was Devin Townsend's ZTO (1:17 long) and the extension showed the grey icon on the address bar. Right after, it played Meshuggah's Bleed (7:22 long) and I noticed the popup saying it scrobbled Devin Townsend - Bleed.
While playing the forth song on the list, my Last.fm account shows only one song with the 2nd artist name and track duration but the 3rd song title.
While writing this description I listened to Katatonia - The Parting and Mastodon - Oblivion, but got Katatonia - The Parting and Katatonia - Oblivion scrobbled.
Long story short, after 5 plays on rdio, my Last.fm listed 3 scrobbles, 2 of which had mixed artist/titles.
This is ruining my library and adding a lot of phony tracks to Last.fm. :(
Let me know if you need additional info.
Cheers, Nélson.

No longer a service


Missing community guidelines

I just noticed that Codewars doesn't have any community guidelines/rules. This is usual standard practice on community driven sites. They contain something like

don't harass other users
don't post things with certain content
don't pose as moderators
be nice to each other
don't spam
…

While Codewars is a friendly place, something like this probably won't hurt.

I totally agree with that!!!


Removed required keyword arguments for Ruby 2.0 compatibility

react_on_rails currently requires Ruby 2.1, but it's really only a handful of lines that use required keyword arguments. This commit removes those so that react_on_rails is compatible with Ruby 2.0.

This change is

@zimmru Any reason you can't move to Ruby 2.1?

Seems like an easy win for extra compatibility though

For those of us that can't use rvm (no internet access, rpm requirements, etc.) or already have other gems that force a ruby version, changing ruby versions is a really big deal.  In my case 2.1 is a deal breaker.  Ideally this gem should match the ruby requirements of rails 4, which is "Ruby 2.0 preferred; 1.9.3+ required".
With such a small number of rails projects using react, it seems wise to me to try to be as inclusive as possible to make it more mainstream.  I agree with @robwise, this seems like an easy win for the extra compatibility.

I agree, it's a good change to make easier adoption.
However, I would want to see some sort of linter check added as part of this PR which would fail if any incompatible syntax is added, if that's possible.  Otherwise other incompatible stuff will just get added in the future.

Sounds good -- Once this passes CI, I'll review and merge.

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

@zimmru I can't merge this until it passes CI.

There were a bunch of recent commits that use Ruby 2.1 features, so it's no longer the handful of lines that are different. Probably not worth trying to maintain at this point.

@zimmru Are you able to update to Ruby 2.1?
Are there any strong reasons that people want to use an advanced tool like React on Rails, with an old version of Ruby?

@justin808 It's, of course, easy to update my dev machine to Ruby 2.1. The issue is at work, where our servers have Ruby 2.0 on them. Updating them is a bit of a pain.

@zimmru  Yep.  I feel your pain, but that's why Containers (e.g. Docker) and PaaS are all the rage and the direction of the future - persistent servers are difficult to move forward without effort and risk - even if you use tools like Chef and Ansible to automatically and declaratively update them.
But, it's a good direction, for good reasons...

@thewoolleyman It is important to note that PaaS is not always an option for those that must host their own stuff.  If you are required to deploy on other people's hardware this becomes even more problematic as many times you will not have access to the internet.  For complex installations, containers aren't always a feasible solution.

If we get several people that want this, and the PR is good, I'll merge.

@justin808 I still think we should require a linter to fail in CI if newer syntax is used to consider this mergeable.  Otherwise, we'll just have a continuous stream of issues like this as people inadvertently use newer syntax on master and in pull requests.

I'm closing. If several people want Ruby 2.0, please comment.

I'm using JRuby 1.7 and am unable to upgrade to JRuby 9000 (company won't allow it currently). It would be great if this issue could be re-opened

@austinfox Your use case sounds valid. If you can make a PR that fixes this, I'll merge it. Otherwise, we ShakaCode can contract with your firm and get it done.


Feed name search is too strict

Describe the bug
When searching for a feed, the criteria seems to require an exact match, case and all!
It should probably be a big fuzzier...
https://github.com/SamTV12345/PodFetch/assets/2161844/464e2de7-13ba-4c61-8f5f-73a48e696e1c
Reproduction
Fresh install
System Info
Version: v4.4.1-73eca04f (HEAD)
Commit: v4.4.1-73eca04f (HEAD)
CI build: No CI platform
Build date: Wed, 15 Nov 2023 17:18:51 +0000
Branch: HEAD
OS: linux

Used Package Manager
n/a
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Apologies if this should be a feature request.


chore: Release 0.0.1

:robot: I have created a release beep boop
0.0.1
0.0.1 (2024-05-20)
⚠ BREAKING CHANGES

remove trailing slash in package name (trigger release-please)
Each rust crate is a separate component that is linked together with linked-version plugin
reset global release type to rust and remove Cargo.toml from path (trigger-release-please)
Add component name to bls12_381 package (trigger release-please)
Add separate release-type for bls12_381 crate (trigger release-please)
Make release type simple
modify release-please to point to the c rust crate (trigger release-please)
cargo format (trigger release-please)
replace hythens in all crates with underscore
replace bls12-381 with bls12_381.
enforce PR title

Miscellaneous Chores

Add component name to bls12_381 package (trigger release-please) (07dc500)
Add separate release-type for bls12_381 crate (trigger release-please) (7d37ef1)
Cargo format (trigger release-please) (3acecea)
Each rust crate is a separate component that is linked together with linked-version plugin (39d7e50)
Enforce PR title (c50e666)
Make release type simple (73fc287)
Modify release-please to point to the c rust crate (trigger release-please) (0192964)
Release 0.0.1 (f551ec9)
Remove trailing slash in package name (trigger release-please) (5caa419)
Replace bls12-381 with bls12_381. (9299a37)
Replace hythens in all crates with underscore (66a63d8)
Reset global release type to rust and remove Cargo.toml from path (trigger-release-please) (fd557f9)

bls12_381: 0.0.1
0.0.1 (2024-05-20)
⚠ BREAKING CHANGES

replace bls12-381 with bls12_381.

Miscellaneous Chores

Release 0.0.1 (f551ec9)
Replace bls12-381 with bls12_381. (9299a37)

c_bindings: 0.0.1
0.0.1 (2024-05-20)
Miscellaneous Chores

Release 0.0.1 (f551ec9)

eip7594: 0.0.1
0.0.1 (2024-05-20)
⚠ BREAKING CHANGES

replace hythens in all crates with underscore
replace bls12-381 with bls12_381.

Miscellaneous Chores

Release 0.0.1 (f551ec9)
Replace bls12-381 with bls12_381. (9299a37)
Replace hythens in all crates with underscore (66a63d8)

java_bindings: 0.0.1
0.0.1 (2024-05-20)
⚠ BREAKING CHANGES

replace hythens in all crates with underscore

Miscellaneous Chores

Release 0.0.1 (f551ec9)
Replace hythens in all crates with underscore (66a63d8)

kzg_multi_open: 0.0.1
0.0.1 (2024-05-20)
⚠ BREAKING CHANGES

replace hythens in all crates with underscore

Miscellaneous Chores

Release 0.0.1 (f551ec9)
Replace hythens in all crates with underscore (66a63d8)

nim_bindings: 0.0.1
0.0.1 (2024-05-20)
⚠ BREAKING CHANGES

replace hythens in all crates with underscore

Miscellaneous Chores

Release 0.0.1 (f551ec9)
Replace hythens in all crates with underscore (66a63d8)

node_bindings: 0.0.1
0.0.1 (2024-05-20)
Miscellaneous Chores

Release 0.0.1 (f551ec9)

polynomial: 0.0.1
0.0.1 (2024-05-20)
⚠ BREAKING CHANGES

replace bls12-381 with bls12_381.

Miscellaneous Chores

Release 0.0.1 (f551ec9)
Replace bls12-381 with bls12_381. (9299a37)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/crate-crypto/peerdas-kzg/releases/tag/v0.0.1 :sunflower:

:robot: Release is at https://github.com/crate-crypto/peerdas-kzg/releases/tag/bls12_381-v0.0.1 :sunflower:

:robot: Release is at https://github.com/crate-crypto/peerdas-kzg/releases/tag/polynomial-v0.0.1 :sunflower:

:robot: Release is at https://github.com/crate-crypto/peerdas-kzg/releases/tag/c_bindings-v0.0.1 :sunflower:

:robot: Release is at https://github.com/crate-crypto/peerdas-kzg/releases/tag/kzg_multi_open-v0.0.1 :sunflower:

:robot: Release is at https://github.com/crate-crypto/peerdas-kzg/releases/tag/eip7594-v0.0.1 :sunflower:

:robot: Release is at https://github.com/crate-crypto/peerdas-kzg/releases/tag/node_bindings-v0.0.1 :sunflower:

:robot: Release is at https://github.com/crate-crypto/peerdas-kzg/releases/tag/nim_bindings-v0.0.1 :sunflower:

:robot: Release is at https://github.com/crate-crypto/peerdas-kzg/releases/tag/java_bindings-v0.0.1 :sunflower:


user12986714: Watch www.bulkrenameutility.co.uk

user12986714 requests the watch of the watch_keyword www\.bulkrenameutility\.co\.uk. See the MS search here and the Stack Exchange search here.

www\.bulkrenameutility\.co\.uk has been seen in 3 true positives, 0 false positives, and 0 NAAs.

Approved by Daniil in Charcoal HQ


qtile missing some more modules

Describe the bug
The installation of qtile seems to omit some modules.
Related to #146026.
Steps To Reproduce
Steps to reproduce the behavior:
Note: I built NixOS from github, version 21.11.git.2fa862644fcM (Porcupine), but I have included this patch: #146029.

In NixOS config, add qtile to environment.systemPackages.
nixos-rebuild switch --upgrade
Log into qtile.
Run qtile check.

$ qtile check
checking qtile config file /home/amy/.config/qtile/config.py
error: failed mypy build.
config.pyi:4: error: Cannot find implementation or library stub for module named 'libqtile.config'
config.pyi:4: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
config.pyi:5: error: Cannot find implementation or library stub for module named 'libqtile.layout.base'

Expected behavior
I expected qtile to check the configuration file.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Notify maintainers
@kamilchm
@jonringer
Metadata
# nix-channel --list
nixos https://nixos.org/channels/nixos-unstable

$ nix-shell -p nix-info --run "nix-info -m"
this path will be fetched (0.06 MiB download, 0.30 MiB unpacked):
  /nix/store/94n19nsi7xdsna40zl7iy4476kwldlzg-bash-interactive-5.1-p8-dev
copying path '/nix/store/94n19nsi7xdsna40zl7iy4476kwldlzg-bash-interactive-5.1-p8-dev' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.75, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.5pre20211007_844dd90`
 - channels(amy): `""`
 - channels(root): `"nixos-21.11pre330462.2fa862644fc"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module: qtile

please review PR

I tried this, and it had no effect on the error. However, I'm new to working with branches and trying other people's commits, so I may be doing something wrong. Here's what I did:
git clone https://github.com/NixOS/nixpkgs
cd nixpkgs
git remote update origin
git checkout -b local 931ab058daa

Next, I copied the pkgs/applications/window-managers/qtile/default.nix in your PR, replacing the one in my repo. I assume there's a smarter way to do this?
nixos-rebuild switch --upgrade -I nixpkgs=/home/amy/nixpkgs

To explore this issue further, I thought I'd try to build the upstream repo according to their instructions, outside of NixOS. I ran into a problem, and I thought I'd post it here in case it's relevant. Even if it's not relevant to the issue, maybe you can tell me how to fix it and I can go on to investigate the real issue.
I created a nix shell with with what I believe are all the required dependencies. I entered that shell and ran the following commands, all of which succeeded.
virtualenv venv
source venv/bin/activate
pip install --no-cache-dir cairocffi
pip install qtile

Finally, I invoked qtile check and got an error about a missing library.
$ qtile check
Traceback (most recent call last):
  File "/home/amy/qtile/venv/bin/qtile", line 5, in <module>
    from libqtile.scripts.main import main
  File "/home/amy/qtile/venv/lib/python3.9/site-packages/libqtile/scripts/main.py", line 6, in <module>
    from libqtile.scripts import check, cmd_obj, migrate, run_cmd, shell, start, top
  File "/home/amy/qtile/venv/lib/python3.9/site-packages/libqtile/scripts/check.py", line 29, in <module>
    from libqtile import confreader
  File "/home/amy/qtile/venv/lib/python3.9/site-packages/libqtile/confreader.py", line 31, in <module>
    from libqtile.backend.x11 import core
  File "/home/amy/qtile/venv/lib/python3.9/site-packages/libqtile/backend/x11/core.py", line 38, in <module>
    import xcffib
  File "/home/amy/qtile/venv/lib/python3.9/site-packages/xcffib/__init__.py", line 38, in <module>
    lib = ffi.dlopen(soname)
OSError: cannot load library 'libxcb.so': libxcb.so: cannot open shared object file: No such file or directory
(venv)

Here's my shell.nix.
$ cat shell.nix
with (import <nixpkgs> {});
stdenv.mkDerivation {
  name = "pip-env";
  buildInputs = [
    # System requirements.
    readline
    mypy
    glib
    cairo
    pango
    pkg-config
    xcb-util-cursor
    xorg.libxcb

    # Python requirements (enough to get a virtualenv going).
    python39Full
    python39Packages.virtualenv
    python39Packages.pip
    python39Packages.setuptools
    python39Packages.wheel
    python39Packages.pywlroots
    python39Packages.pywayland
    python39Packages.xkbcommon
  ];
  src = null;
  shellHook = ''
    # Allow the use of wheels.
    SOURCE_DATE_EPOCH=$(date +%s)

    # Augment the dynamic linker path
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${R}/lib/R/lib:${readline}/lib
  '';
}

```It seems to me that, having installed xlibs.xcb, libxcb.so should be visible.
 nix-locate libxcb.so --top-level
remarkable-toolchain.out                              0 s /nix/store/qpgskxqvrvbs960kb73f31lx0gkjrc11-remarkable-toolchain-3.1.2/sysroots/x86_64-codexsdk-linux/usr/lib/libxcb.so.1
remarkable-toolchain.out                        158,600 x /nix/store/qpgskxqvrvbs960kb73f31lx0gkjrc11-remarkable-toolchain-3.1.2/sysroots/x86_64-codexsdk-linux/usr/lib/libxcb.so.1.1.0
remarkable2-toolchain.out                             0 s /nix/store/x53cix2lcr1yxblybbyr5wl8v26h499b-remarkable2-toolchain-3.1.2/sysroots/x86_64-codexsdk-linux/usr/lib/libxcb.so.1
remarkable2-toolchain.out                       158,600 x /nix/store/x53cix2lcr1yxblybbyr5wl8v26h499b-remarkable2-toolchain-3.1.2/sysroots/x86_64-codexsdk-linux/usr/lib/libxcb.so.1.1.0
xlibs.libxcb.out                                      0 s /nix/store/c2ghjp08azbccl3nj75rrm3s78vwkxvh-libxcb-1.14/lib/libxcb.so
xlibs.libxcb.out                                      0 s /nix/store/c2ghjp08azbccl3nj75rrm3s78vwkxvh-libxcb-1.14/lib/libxcb.so.1
xlibs.libxcb.out                                223,760 x /nix/store/c2ghjp08azbccl3nj75rrm3s78vwkxvh-libxcb-1.14/lib/libxcb.so.1.1.0


Create new document for cluster-scoped operators

We currently duplicate our documentation about cluster-scoped operators in each of the three user guides (Go, Ansible, and Helm). We should abstract that documentation (and any other relevant docs, links, etc) into a separate document and link to it from each of the three user guides.
The relevant sections are:

https://github.com/operator-framework/operator-sdk/blob/master/doc/user-guide.md#operator-scope
https://github.com/operator-framework/operator-sdk/blob/master/doc/ansible/user-guide.md#operator-scope
https://github.com/operator-framework/operator-sdk/blob/master/doc/helm/user-guide.md#operator-scope

Hi @joelanford . I would like to take this up

I know @hasbro17 was going to begin working on this, and I'm not sure if he has started yet.
@hasbro17, can @Avni-Sharma take this off your plate?

@Avni-Sharma The doc changes here depend on some CLI changes that need to be made as a result of #890
So I think it's probably best to wait until I can get those changes in first.
In the meanwhile you can probably pick up another issue like #1165 if you'd like.

Sure, I would go through that

May I suggest that the document to create also contains a comparison table of cluster-scoped vs namespace-scoped operators and cluster-scoped vs namespace-scoped CRDs?

This issue is closed by #1434


defining configmap/secret data in a way that auto-creates the container env vars

so defining configmaps and exposing them as env vars is very painful.  e.g. this:
name: web
replicas: 1
containers:
- image: wordpress:4
  env:
  - name: WORDPRESS_DB_PASSWORD
    valueFrom:
      secretKeyRef:
        name: wordpress
        key: DB_PASSWD
  - name: WORDPRESS_DB_NAME
    valueFrom:
      configMapKeyRef:
        key: MYSQL_DATABASE
        name: database
  - name: WORDPRESS_DB_HOST
    valueFrom:
      configMapKeyRef:
        key: WORDPRESS_DB_HOST
        name: web
  - name: WORDPRESS_DB_USER
    valueFrom:
      configMapKeyRef:
        key: MYSQL_USER
        name: database
  livenessProbe:
    httpGet:
      path: /
      port: 80
    initialDelaySeconds: 120
    timeoutSeconds: 5
  readinessProbe:
    httpGet:
      path: /
      port: 80
    initialDelaySeconds: 5
    timeoutSeconds: 2
services:
- name: wordpress
  type: LoadBalancer
  ports:
  - port: 8080
    targetPort: 80
  rules:
  - host: minikube.local
    http:
      paths:
      - backend:
          serviceName: wordpress
          servicePort: 8080
        path: /
configData:
  WORDPRESS_DB_HOST: "database:3306"

we could use magic character prefixes on env vars like $FOO or /bar for files. Maybe separate nested structs could help; as they can also let us define multiple secrets/configmaps too. e.g. here's one way of doing the above:
name: web
replicas: 1
containers:
- image: wordpress:4
  livenessProbe:
    httpGet:
      path: /
      port: 80
    initialDelaySeconds: 120
    timeoutSeconds: 5
services:
- ports:
  - port: 8080
    targetPort: 80
  expose: true
envSecret:
- name: wordpress
  data:
    WORDPRESS_DB_PASSWORD: something
envConfig:
- name: database
  data:
    WORDPRESS_DB_NAME: foo
    MYSQL_USER: myuser
- name: web
  data:
    WORDPRESS_DB_HOST: "database:3306"

where we use envConfig to specify environment variables which populate a ConfigMap and ditto envSecret for secrets.
Note that in the case where there's 1 ConfigMap and 1 Secret it looks like:
name: web
replicas: 1
containers:
- image: wordpress:4
  livenessProbe:
    httpGet:
      path: /
      port: 80
    initialDelaySeconds: 120
    timeoutSeconds: 5
services:
- ports:
  - port: 8080
    targetPort: 80
  expose: true
envSecret:
- data:
    WORDPRESS_DB_PASSWORD: something
envConfig:
- data:
    WORDPRESS_DB_NAME: foo
    MYSQL_USER: myuser
- data:
    WORDPRESS_DB_HOST: "database:3306"

also since we have nested structs for the secret / config map data we can also add an extra map for files
containers:
- image: wordpress:4
 envSecret:
- data:
    WORDPRESS_DB_PASSWORD: something
  files:
   pub.ssh.key: ~/.ssh/foo_rsa.pub
envConfig:
- data:
    WORDPRESS_DB_NAME: foo
    MYSQL_USER: myuser
  files:
    application.properties: target/classes/application.properties

if folks wanted to work with multiple configmaps/secrets and want to make the exposing as env vars more container specific they could maybe do this kinda thing, nesting them inside the container...
name: foo
replicas: 1
containers:
- name: wordpress
  image: wordpress:4
  livenessProbe:
    httpGet:
      path: /
      port: 80
    initialDelaySeconds: 120
    timeoutSeconds: 5
  envConfig:
  - data:
      WORDPRESS_DB_HOST: "database:3306"
  envSecret:
    data:
      WORDPRESS_DB_PASSWORD: something
- name: database
  image: postgres
  envConfig:
    data:
      WORDPRESS_DB_NAME: foo
      MYSQL_USER: myuser
services:
- ports:
  - port: 8080
    targetPort: 80
  expose: true

where the configmaps / secrets would be generated using ${pod.name}-${container.name} by default. e.g. the above would generate foo-wordpress and foo-database ConfigMaps and foo-database Secret

I guess for files there's 2 separate concerns; importing data from local files; then mounting configmap/secret entries as volumes. I guess you can always do an explicit mount of the latter; but it might be nice to have some kinds of mounts within the envConfig / envSecret?

another implementation idea is that we keep the definitions of configmaps / secrets as top level things; then we have a way to import env vars inside the container structs; using wildcards?
name: web
replicas: 1
containers:
- image: wordpress:4
  envValuesFrom:
  - kind: Secret
    imports:
    - FOO_BAR
    - WHATNOT_*
  - kind: ConfigMap
    name: cheese
  livenessProbe:
    httpGet:
      path: /
      port: 80
    initialDelaySeconds: 120
    timeoutSeconds: 5
services:
- ports:
  - port: 8080
    targetPort: 80
  expose: true
secrets:
- name: wordpress
  data:
    WORDPRESS_DB_PASSWORD: something
configs:
- name: database
  data:
    WORDPRESS_DB_NAME: foo
    MYSQL_USER: myuser
  files:
    cheese: ../foo/bar.txt
- name: web
  data:
    WORDPRESS_DB_HOST: "database:3306"

whats kinda nice about the import approach is we can more easily do container specific imports with wildcards; we can default the name of the configmap/secret to the app name too to make things more concise.
e.g. when there's only 1 Secret and ConfigMap (which would be the common default) its like this:
name: web
replicas: 1
containers:
- image: wordpress:4
  envValuesFrom:
  - kind: Secret
    imports:
    - FOO_BAR
    - WHATNOT_*
  - kind: ConfigMap
  livenessProbe:
    httpGet:
      path: /
      port: 80
    initialDelaySeconds: 120
    timeoutSeconds: 5
services:
- ports:
  - port: 8080
    targetPort: 80
  expose: true
secrets:
- data:
    WORDPRESS_DB_PASSWORD: something
configs:
- data:
    WORDPRESS_DB_HOST: "database:3306"
    WORDPRESS_DB_NAME: foo
    MYSQL_USER: myuser
  files:
    cheese: ../foo/bar.txt

with an optional imports structure to list the names or wildcards to import; so you can list all the values imported; or use wildcards (if no imports I guess default to all values?)

I wonder if merging the kind field into a nested structure is cleaner - it does mean we need to add the 'import:' or 'name:' field though...
name: web
replicas: 1
containers:
- image: wordpress:4
  envValuesFromSecrets:
  - imports:
    - *
  envValuesFromConfigMaps:
  - imports:
    - *
  livenessProbe:
    httpGet:
      path: /
      port: 80
    initialDelaySeconds: 120
    timeoutSeconds: 5
services:
- ports:
  - port: 8080
    targetPort: 80
  expose: true
secrets:
- data:
    WORDPRESS_DB_PASSWORD: something
configs:
- data:
    WORDPRESS_DB_HOST: "database:3306"
    WORDPRESS_DB_NAME: foo
    MYSQL_USER: myuser
  files:
    cheese: ../foo/bar.txt

@jstrachan

where we use envConfig to specify environment variables which populate a ConfigMap and ditto envSecret for secrets. src

About the root level envSecret, how do we know which container do we populate it to? We cannot populate it to all the containers?
I am okay with populating configMap like that because it does not have much secret information, but I am skeptical on doing so with secrets.

also since we have nested structs for the secret / config map data we can also add an extra map for files src

I like this idea of allowing users to specify a relative path to embed files and when converting we embed the file content in the configMap.

if folks wanted to work with multiple configmaps/secrets and want to make the exposing as env vars more container specific they could maybe do this kinda thing, nesting them inside the container... src

this will create secrets and configmaps which are container specific, here how do we enable someone else to use the secret defined here?
For e.g. the MYSQL_PASSWORD defined in database will be accessed in wordpress as WORDPRESS_DB_PASSWORD, how do we enable that?

I guess for files there's 2 separate concerns; importing data from local files; then mounting configmap/secret entries as volumes. I guess you can always do an explicit mount of the latter; but it might be nice to have some kinds of mounts within the envConfig / envSecret? src

I think mountPath can go with file as shown below? But if mountPath is not given it get exposed as env variable?
envConfig:
- data:
    WORDPRESS_DB_NAME: foo
    MYSQL_USER: myuser
  files:
    application.properties: target/classes/application.properties
    mountPath: /foo/bar

whats kinda nice about the import approach is we can more easily do container specific imports with wildcards; we can default the name of the configmap/secret to the app name too to make things more concise. src

why do we need to have wildcards when containerSpec now has a key called envFrom? I think we need to look more into how we enable user to import individual key from secret or configmap data respectively?
envFrom: https://kubernetes.io/docs/api-reference/v1.6/#envfromsource-v1-core and https://kubernetes.io/docs/api-reference/v1.6/#container-v1-core

Can we close this since envFrom is supported now?
ping @kadel @surajssd

Yes I think so we can close this one!


Override cmdlets

When installing packages like coreutils that contain commands that are already provided by Powershell like mv, rm, etc., is there a way to force PS to use the Scoop versions?
The only way I've been able to find to do this would be using functions which is pretty clunky.

In your $PROFILE you can remove the aliases. Eg:
Remove-Item alias:/mv
Remove-Item alias:/rm
On Tue, Feb 7, 2017 at 5:17 PM Hampton Maxwell<EMAIL_ADDRESS>wrote:

When installing packages like coreutils that contain commands that are
already provided by Powershell like mv, rm, etc., is there a way to force
PS to use the Scoop versions?
The only way I've been able to find to do this would be using functions
which is pretty clunky.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lukesampson/scoop/issues/1324, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA0Qgo1VUK-qsDWnCflDeWssp3Edt9rWks5raAyVgaJpZM4L5Gaz
.

This is great, thanks so much for the quick response. Having all these commands makes developing on Windows so much less painful.
I'm sure other people have had the same issue, it would nice to have this in the docs somewhere.

Since I would prefer Scoop versions of commands over PS, I attempted to Remove-Item alias:/ all of the commands listed in https://github.com/lukesampson/scoop/blob/master/bucket/coreutils.json .  Some errored due to aliases not existing, but at the time of this reply the following list was successful, in case it will save some time for future readers.
Remove-Item alias:/mv
Remove-Item alias:/rm
Remove-Item alias:/cat
Remove-Item alias:/cp
Remove-Item alias:/echo
Remove-Item alias:/ls
Remove-Item alias:/ps
Remove-Item alias:/pwd
Remove-Item alias:/rmdir


Crashes when quickly press ctrl+` twice

Version: 1.34.0 (user setup)
Commit: a622c65b2c713c890fcf4fbf07cf34049d5fe758
Date: 2019-05-15T21:59:37.030Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17763

Steps to Reproduce:

When there is no terminal opened, quickly press ctrl+` twice
Window pop up(maybe at the back of the vs code window). Whatever which button I choose, vs code window would tell me there was a crash and need to restart window

Does this issue occur when all extensions are disabled?: Yes

Does this happen consistently for you? I can't reproduce it.
This check is meant to prevent this exception from occurring:
https://github.com/microsoft/node-pty/blob/5924d76d6765ac4da3996f49e1282eaafd591452/src/windowsTerminal.ts#L140-L142
Unless the process crashes or something? 😕

@Tyriar Yes It crashes every time on my computer. Maybe you didn't press keyboard quick enough? XD
I looks like terminal cannot initialize if the intergrated terminal is not visible.
I think I can send a screen record later

I had failed to record a meaningful capture.... Just simply press the keyboard as quick as possible

Video of making it crash with extensions enabled or disabled: VSCODE_Crash.zip
Logs from these sessions: logs.zip

Version: 1.35.0-insider (system setup)
Commit: e9c50663154c369a06355ce752b447af5b580dc3
Date: 2019-05-30T05:19:53.372Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17763

@Tyriar I can confirm this is with user setup version only on my machine. I installed the system installer and removed the user setup. I cannot duplicate this issue anymore.

@wsmelton thanks for the video 👍

@wsmelton could you enable trace logging (F1 > "log level" > "trace"), then repro the issue again and check the logs if there is a IPty.resize entry at the end? These will be located in your user data directory, something like this: %APPDATA%\Code - Insiders\logs\<latestdatetime>\renderer1.log

Related https://github.com/microsoft/vscode/issues/71789

Did the trace and find this entry and the end of the render1.log:
[2019-05-31 06:49:55.367] [renderer1] [debug] Terminal process ready (shellProcessId: 12116)
[2019-05-31 06:49:55.370] [renderer1] [trace] IPty#resize NaN NaN

@wsmelton perfect! You found the bug 😃

Can add an extra defensive check in https://github.com/microsoft/node-pty/issues/316 too

I can't reproduce the original issue using 1.34 user install so I'm not sure how to verify. Any repro/verification steps?

Verify via code review, I could not reproduce the issue either.


ndk-build: Consider ANDROID_SDK_ROOT as deprecated instead of ANDROID_HOME

Fixes https://github.com/rust-windowing/android-ndk-rs/issues/327, CC @Hoodad
According to the official documentation ndk-build is considering the wrong variable as deprecated.  The wrong message was introduced in #39 which bizarrely failed to quote any reference matterial on the matter, making it impossible to understand whether this has always been the case or recently switched in precedence.

Thank you for fixing it 👍🙏


Update seriesmeta for firmware changes

A UUID for each series is now required. See https://www.mobileread.com/forums/showthread.php?p=3959731.
cc @davidfor @shermp

I'm planning to generate a UUIDv5 of the series metadata with a namespace of 9ea9be91-2966-4fbf-b822-de692259bc9b.

@davidfor is taking the series ID from Kobo if it exists in the content table with a matching series and author, and otherwise, just using the series name as the ID (https://www.mobileread.com/forums/showthread.php?p=3959768).
I'm going to implement the same thing, but I've decided not to check the author (some series are written by more than one author, and also, it's a lot more likely for there to be inconsistencies in authors than in series).

Note that if there are different authors for the books in a series, nickel will merge them into a list which displays under the series name in the series view.

Yeah, I was going to go with whatever @davidfor ends up doing with the Calibre driver.
Haven't had a chance to look into this yet however.

I've implemented and tested the implementation of this for seriesmeta. See the commit message for more details.
I've also considered adding a trigger to automatically update the series ID if a book is added from the Kobo Store with a proper series ID, but I decided against it for performance reasons (it be another hook which would run on every update of the content table), because it's not an urgent thing to update (it'll be fixed when seriesmeta is run again), and because it won't really occur that often (if someone's sideloading a series, why would they end up getting it from Kobo as well?).

I'm going to v3.1.0 with this change, and then I'm going to release the patches.

As of https://github.com/kovidgoyal/calibre/commit/477d9ef5600b2fbdf575f45756cf43a7f19d12c1, seriesmeta's implementation is fully compatible with Calibre's. It seems that @davidfor decided not to check the author after all.

Should the trigger update SeriesNumberFloat as well? It's what I'm planning to do in KU, and what the new calibre changes also appears to do.
I haven't got FW 4.20.x installed on a Kobo yet, so I'm making an assumption here, but one assumes the SeriesNumberFloat would be used to order the list in Nickel. Is this correct?

I don't currently update it in seriesmeta. AFAIK, it isn't used anywhere right now. I don't see the harm in updating it though, and I should probably do it myself for the next release.
The list seems to still be in order with only SeriesNumber.

I wasn't sure how Nickel behaved, since SeriesNumber is a text column, not a numeric column. Although I guess ORDER BY SQL works regardless...

@geek1011: When I checked the code last night, I remembered that I did the series name with a plan to add the author check. But, it worked and I think found a case that would have been broken if the author was also used.
@shermp: I don't think the library lists is done directly from a SQL query. I'm pretty sure that the library is built into a structure and list built from that. Individual book details are pulled up as needed. And, I'm pretty sure I tried setting the SeriesNumberFloat to a different order from the SeriesNumber and the SeriesNumberFloat was used instead.

But, it worked and I think found a case that would have been broken if the author was also used.

:+1:

I'm pretty sure that the library is built into a structure and list built from that.

That's correct. After the initial load, it never reads directly from the DB until a reboot, or a sync under some circumstances.


[Bug] Metal Syringe - No Recipe

Describe the bug
No recipe for the metal syringe to add genes to other entities
Expected behavior
No recipe in JEI for metal syringe

Fixed for next update


Parameter order seem strange between global and extensions

clk extension --global create test_extension
clk extension enable test_extension
clk parameter --extension test_extension set log Extension
clk parameter --global set log Global
clk log User

The last command should display Global Extension User but will instead display Extension Global User
We would suppose that the priority of parameters should be global, extension, user parameters instead we get extension, global, user parameters

This is on purpose.
The rationale is that configuration put in extensions come by default and you override them in your computer in global.
Can you tell me more about the use case?

either I may help you achieve what you want with the current state of clk,
or we can write your story and implement it somehow.

I any case, the order of the profiles is not documented in the use cases. I'm adding this to my maybe list :-).

In fact, my current focus is on documenting extensions, from the creation to the sharing. So thanks to you I know that in this documentation, I should tell about the rationale why we have this ordering.

The idea we had was to use extension to change sets of commands parameters by toggling extensions.
We could have a default set of parameters using the global, then by activating an extension we could change the set of parameters used.
We would want a set of uses that goes like following priorities (lower to higher) :

Use the global configuration
Use an extension if it is activated
Use given parameter from the command line
That way depending on context we could easily switch sets of settings, for example enabling a full debug mode using a "debug" extension

This looks legit to me.
When I will write about extensions, I will try to tell about both use
cases: the extension that comes with default values that you overwrite
in global and the extension that is enabled with the aim of overwriting
global. And afterwards I will be able to implement those.
To help me write something that actually makes sense, could you be a
little bit more specific about the extension you are trying to
setup. The more concrete the story, the more likely I will be able to
develop something that will answer real life problems.
For instance, I have in mind to talk about video editing and
playing. The user starts by creating wrappers around ffmpeg, catt,
handbrake etc, then bring them together in an extension, share it in
github. Then someone else gets the extension and use global parameters
and aliases to make the extension adjust to whatever expectation per
has. This will show how extensions can be created, used and customized
while providing a concrete example. This is a real life use case of
mine.
So, what is your concrete example that we can narrate so as tl
illustrate the other kind of extension usage?

Still no work about documenting extensions has started.
I think that a outside point of view could be a good bootstrap for this
documentation.
Could you try to tell me why someone would use extension, and how per would create/use/install
them? That would be very useful.

@neomatamune
Hi. Just for your information, there is still nothing planned in the near future
to deal with this.
How did you work around this issue?

Due to the lack of interest in this issue. I closed it. Feel free to reopen it
in case you want to continue the conversation.


Nested find() error

Describe the bug
When I search for tags in the html page, I'm able to perform the search and echo the contents but rss-bridge displays an error. Is there a way to get around this? I'm trying to develop my own bridge and I can probably work around this by doing regex expressions but it seemed really easy to use the html simple dom to just search again.
Is this the same as #2750 ?
To Reproduce
Steps to reproduce the behavior:

$html = new simple_html_dom();
$html->load($result); //$result is a curl request using post and $result = curl_exec($ch);
$chapter = $html->find('li[class=wp-manga-chapter] a]');

for ($i = 0; $i < count($chapter); $i++) {
       $item = [];
       $item['id'] = $chapter[$i]->find('a', 0); //several times the chapters come with extra info and spans and I just want the link
}

Expected behavior
When I run the same code on through xamp and php 8, I'm getting search results and no errors
Additional context
Docker image using rssbridge/rss-bridge:latest
Error message that is displayed on RSS-Bridge and while sometimes it says "find() on null" and other times "find() on bool"
Bridge returned error 0! (19387)
2023-01-30 21:30:50
Application Error

The application could not run because of the following error:
Details
Type: Error
Code: 0
Message: Call to a member function find() on null
File: bridges/ladyMangaBridge.php
Line: 68
Trace
#0 index.php(7): RssBridge->main()
#1 lib/RssBridge.php(15): RssBridge->run()
#2 lib/RssBridge.php(88): DisplayAction->execute()
#3 actions/DisplayAction.php(136): LadyMangaBridge->collectData()
#4 bridges/ladyMangaBridge.php(68)

Context
Query: action=display&bridge=ladyMangaBridge&manganame=is-this-hunter-for-real-003&format=Html
Version: dev.2022-06-14 (git.master.e76ddf9)
OS: Linux
PHP: 7.4.29

I suggest you post a complete snippet that displays the bug. It's a bug in your code or in https://simplehtmldom.sourceforge.io/docs/1.9/index.html

Here is the complete bridge code and I ran similar code on my own php server by including the html simple dom.
If I echo the contents of this variable I do get the expected results but this is the line it doesn't like
$item['id'] = $chapter[$i]->find('a', 0);//->innertext;
Here is the whole bridge code and I'm giving it "is-this-hunter-for-real-003" as the manga to find
<?php
class LadyMangaBridge extends BridgeAbstract
{
    const URI = 'https://ladymanga.com/';
    const CACHE_TIMEOUT = 21600; // 6h
    const DESCRIPTION = 'Get the latest series releases';
    const MAINTAINER = 'JugglerMaster';
    const NAME = 'Lady Manga Updates';
    const PARAMETERS = [ [
        'manganame'=> [
            'name' =>'manganame',
            'type' =>'text',
            'exampleValue'=> 'manga Name from URL',
            'title' =>'The name of the comic in the URL after https://ladymanga.com/',
            'required' =>true
        ]
    ]];
    private function getChapters($manga)
{

    $header = [
       'Authority: ladymanga.com',
       'Accept: */*',
       'Accept-Language: en-US,en;q=0.9',
       'Content-Length: 0',
       'Origin: https://ladymanga.com',
       'Referer: https://ladymanga.com/manga/' . $manga . '/ajax/chapters/'
    ];

    $opts = [
        CURLOPT_POST => true,
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_ENCODING => 'gzip, deflate'
    ];

    $postSearchURL = "https://ladymanga.com/manga/" . $manga ."/ajax/chapters/";
    $postSearchStr = getContents($postSearchURL, $header, $opts);
    return $postSearchStr;
}

   public function collectData()
    {
	$html = new simple_html_dom();
	$page = $this -> getChapters($this->getInput('manganame'));
	$html->load($page);
	$chapter = $html->find('li[class=wp-manga-chapter] a');

	$date = $html->find('span[class=chapter-release-date] i');
	$dateNew = $html->find('span[class=chapter-release-date] a[class=c-new-tag]');
	if (count($dateNew) != 0){
  		//echo "found new chapters<br>";

  		$tempDate = [];
  		$shift = 0;
  		$keepChapterShift = [];
  	for ($i = 0; $i<count($dateNew);$i++){
    		$tempDate[$i] = new DateTime();
    		$tempDate[$i] = $tempDate[$i]->format('M d, Y');
    		$keepChapterShift[$i] = $chapter[$shift];
    		$shift = $shift + 2;
       	}
  	$date = array_merge($tempDate, $date);

for ($i = 0; $i < count($chapter); $i++) {
       $item = [];
       $item['id'] = $chapter[$i]->find('a', 0);//->innertext;
       //$item['uri'] = $chapter[$i]->find('a', 0)->href;
       if (count($dateNew)>$i){
        $item['timestamp'] = DateTime::createFromFormat('M d, Y', $date[$i])->format('M d, Y');
       }else{
        //$item['timestamp'] = DateTime::createFromFormat('M d, Y', $date[$i]->innertext)->format('M d, Y');
       }

	$this->items[] = $item;

	}
   }
   }
    public function getURI()
    {
        if (!is_null($this->getInput('manganame'))) {
            return self::URI . urlencode($this->getInput('manganame'));
        }

        return parent::getURI();
    }

    public function getName()
    {
        if (!is_null($this->getInput('manganame'))) {
            return $this->getInput('manganame') . ' - Lady Manga';
        }

        return parent::getName();
    }

}

It was an error

I suggest you post a complete snippet that displays the bug. It's a bug in your code or in https://simplehtmldom.sourceforge.io/docs/1.9/index.html

it was a bug in my code with doing two loops and trying to reference a function that I'm guessing conflicted. I just didn't realize the loop wasn't closed before I started the next, thanks

Ok thanks. Good luck!


Support multiple tables under one entity

We need a possibility to work with couple tables under one Entity.
The most convenient way for us - create table with something like tableName by Tx.Current.get().getRepositoryTransaction().table(entityCls, tableName)
In this case we have to think at least about:

names in projections
behavior in SchemaChecker

Did you try dynamic entities (@Schema.Dynamic), they call the entity's NamingStrategy.getNameForClass() each time the table is used. I think Audit Trails in YC has used this feature once (you can ask them and search in git history; currently they don't use it.)

Did you try dynamic entities (@Schema.Dynamic), they call the entity's NamingStrategy.getNameForClass() each time the table is used. I think Audit Trails in YC has used this feature once (you can ask them and search in git history; currently they don't use it.)

Dynamic hard to use. I propose something like this https://github.com/ydb-platform/yoj-project/pull/33

Instead of plain table name, it would be better to pass the whole NamingStrategy to support renames for columns too.

Supporting custom NamingStrategy would be more complex, we'll have to have same-entity table with essentially different Schemas (because column names would be different for different invocations of BaseDb.table(...)). Just supplying a custom table name would be much simpler, I think.
In addition, the NamingStrategy's setName(JavaField) method is just a bad bad influence. We plan to make JavaField.name immutable (eventually) but adding new NamingStrategy use cases and possibly new implementations - does not help that goal.

We are using custom NamingStrategy for some entities which we do not control (can't change their annotations or fields), and right now we are registering that NamingStrategy via static SchemaRegistry.getDefault().namingOverrides().add(type, strategy).
The problem with that method is that it must be called before any other code that will query EntitySchema for that type, otherwise the schema registry will initialize the default naming strategy for that type.
Passing the NamingStrategy at the point where the table is being created feels like the cleanest way to remove or at least minimize the dependencies on the static state.
I don't get the point about "bad bad setName(JavaField)". There should be a way to override column names, and it could provide a better api than setName(JavaField).
setName(JavaField) is just the implementation detail, but we still need a feature to rename columns for entities which code is outside of our control.

:tada: We've introduced basic table name changing functionality in v2.6.5!
It is currently an @ExperimentalApi (i.e., can change or disappear at any moment) but the functionality is reasonably stale to start experimenting :-)

JFYI @lavrukov @estekhin @g-sg-v ;-)


TextOverflow.ellipsis should have "start", "middle" and "end"

Currently there's just TextOverflow.ellipsis, which puts ... at the end of the text. There should also have TextOverflow.ellipsisStart and TextOverflow.ellipsisMiddle as sometimes we want to show the beginning and the end of the text, or just the end, examples:
TextOverflow.ellipsisMiddle:
<EMAIL_ADDRESS>-><EMAIL_ADDRESS>
TextOverflow.ellipsisStart:
<EMAIL_ADDRESS>-><EMAIL_ADDRESS>
Then TextOverflow.ellipsis could be deprecated to TextOverflow.ellipsisEnd.

Hi @feinstein
I see there's an open issue addressing the case you described.
Please follow up on that issue,
I'm closing the current one as duplicate.
If you disagree please write in the comments
and I will reopen it.
Thank you


STAR-1347 Port CNDB-4547 Add snitch method to sort by keyspace affinity used for reads and counters.

Co-authored-by: Sergio Bossa<EMAIL_ADDRESS>

The way that endpoints are implemented/represented in DSE differs from CC; in DSE it's basically just a List of InetAddress endpoints, while in CC the actual endpoints are represented by candidates and contacts Endpoints as part of a ReplicaPlan.
In CC Endpoints extends AbstractReplicaCollection which has a filter and this is used in ReplicaPlans forRead and forRangeRead methods to further filter the candidate and contacts Endpoints using filterByAffinity.
Therefore, in CC IEndpointSnitch.filterByAffinity is implemented as a Predicate in CC. In DSE it was directly manipulated the List argument.
Here the changes made in StorageProxy are the same as the DSE changes were made in CounterWriteHandlerSupplier - in DSE that code was moved from StorageProxy as part of some cdc changes that have not yet been made in CC (see STAR-1379).

@k-rus I have added a test to ReplicaPlansTest that tests filterByAffinity using the keyspace name.
This test incorporates pieces I found in both ReplicaPlansTest and AssureSufficientLiveNodesTest, and it seems reasonable to locate the new test in ReplicaPlansTest rather than creating a new test class, but that could be done too.
I tried my best to add explanatory comments within the limits of what I understand; in particularly my understanding of the details/reasons in setting up Keyspace and TokenMetadata is rather limited, having borrowed much from the previously mentioned tests.


pull request for e2e test at 12/16/2016 21:26:18

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Crash happens on Android devices

[x] I have read the Getting Started section
[x] I have already searched for the same problem

Environment

Technology
Version

Flutter version
3.13.3

Plugin version
5.7.2+3

Android version
10

iOS version

macOS version

Xcode version

Device information:  XiaoMi MIX3
Description
I have upgrade flutter version from 3.10 to 3.13.3 a few days ago. And I run into some crashes on Android devices.  From the stacktrace, the crash happened in InAppWebView.java, when run "imm.isAcceptingText()". I have searched isAcceptingText and NullPointerException, but got no clue about how to solve this.
Steps to reproduce

I am not sure, just click some links on webpages.
Images
Stacktrace/Logcat

I have doing some test on this issue.  The crash rate is proportional to delay time. If I extend the delay time to about 400 milliseconds,  it crashes every time i opened another webpage. After removed the postDelayed and call hideSoftInputFromWindow directly in onCreateInputConnection, all goes well.


feat(auth): add SAML IdP support through config json files

Issue #, if available:
Description of changes:
add provider type and metadata url params to createIdentityProvider in
hostedUIProvidersCustomResources lambda function to allow SAML IdP support. To add SAML provider,
add provider type param to hostedUIProviderMeta in parameters.json and metadata url param to
hostedUIProviderCreds in team-provider-info.json
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Issue with merge in PR. Raised another PR with merged changes: https://github.com/aws-amplify/amplify-cli/pull/5185


DI: Remove unnecessary assertion [4.2]

It's totally fine to have a conditional destroy of 'self' because
we now uniformly treat assignment to self and self.init delegation,
both of which can appear multiple times in a value type
initializer.
This change removes the assertion and adds some tFileCheck tests to
ensure that DI was already capable of inserting the correct memory
management operations in this scenario.
Fixes rdar://problem/40417944, https://bugs.swift.org/browse/SR-7727.

@swift-ci Please test


Dont show baseTexture.source deprecation if texture is not valid

Fix #6401 .
Proof: https://www.pixiplayground.com/#/edit/bDATVV0BjViqlg1suv75b

Codecov Report

Merging #6403 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #6403   +/-   ##
=======================================
  Coverage   76.84%   76.84%
=======================================
  Files          69       69
  Lines        3912     3912
=======================================
  Hits         3006     3006
  Misses        906      906

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 ed0c995...1e9238e. Read the comment docs.


Calling JTE template with multiple parameters

Is there a way to call a jte template with multiple parameters from Java without using a Map? We are migrating from Jsp land and looking for something like jsp:param.  We are reluctant to use render(,Map<String,Object>,) because we want to preserve type safety in our templates. The benefits of compile time static type analysis is one of the reasons we are trying to move away from jsp/pebble templates ...
What are we missing?
Thank you for a fantastic template engine.

Welcome @a1730 and thank you for the heads up!
Unfortunately render() calls are dynamic and not type safe. This is a compromise made for hot reloadability during developement. Personally, I usually pass a context object instead of a map to mitigate this.
For instance, when rendering a page:
public class WelcomePage {
   // page attributes
}

@param WelcomePage page

${page.getFoo()}
${page.getBar()}

Then, there's one place of dynamic dispatch, when you render the template:
templateEngine.render("welcome-page.jte", new WelcomePage(), out);
With the IntelliJ plugin installed, all changes to WelcomePage will be picked up and available in the template. As long as the contract "welcome-page.jte uses class WelcomePage" is valid, there won't be any surprises.
Are you evaluating to migrate from JSP? If so, did you already have a look at the JSP to jte convert?

Hi @casid,
Thank you for the fast response - as usual.
We figured that render(?,Object,?) will rear its ugly head:smile:
Actually, what you proposed is we have been doing -sorta, we created a JteContext which is currently a marker interface that is implemented by classes passed to render but we wanted to ensure that we are not duplicating the work that you have already done to render a template with multiple parameters. Our motivation for naming thigs comes from Java JEP 369,; we have drunk the coolaid that a central aspect of Java's philosophy is that names matter. WelcomePage would have to implement JteContext in our environment.
However, it is comforting to know that we are not missing a direct route for using multiple parameters and we will continue to use JteContext in our code base.
It is a shame that TemplateEngine is a final class -we would have gladly changed render render to public void render(String name, JteContext param, TemplateOutput output)  and remove the Intellij rule eliminating render(,Map,.) proposal.
Thank you.
PS: we are using JSP to jte convert on some of our migrations. JTE's ease of use and missing straight forward documentation makes it our second choice to manual conversion.

Hey @a1730,
thanks for the detailled info! It looks we have quite the same philosophy to do things in Java. I'm also enforcing the usage of a context object in my projects through composition. E.g. for rendering pages no one knows the actual TemplateRenderer instance ;-)
public final class PageRenderer {
   private final TemplateEngine templateEngine = initTemplateEngine();

  public void render(Page page, HttpServletResponse response) {
    Utf8ByteOutput output = new Utf8ByteOutput();
    templateEngine.render(page.getTemplate(), page, output);

   // ...
  }
}

In case jte is used for other aspects like mails (usually with a different template root):
public final class MailRenderer {
   private final TemplateEngine templateEngine = initTemplateEngine();

  public String render(Mail mail) {
    StringOutput output = new StringOutput();
    templateEngine.render(mail.getTemplate(), mail, output);

   // ...
  }
}


Flag provided but not defined:

Any flag I give to lego return this error.

2018/06/20 11:37:11 flag provided but not defined: -m

lego version 1.0.1 Downloaded compiled from the release page.

You have to add a value after -m.
ex: ./lego -m<EMAIL_ADDRESS>

Of course I added.

Any flag I give to lego.

I used the tar (amd64) from https://github.com/xenolf/lego/releases/tag/v1.0.1, and I don't reproduce your issue.
Works for me:
./lego -m<EMAIL_ADDRESS>


Symlinks cause weirdness related to trailing slash

I found that tab expansion doesn't work in a symlinked folder. Investigation found that the shell can't see ANY items in the $PWD, but /something/ causes things to right themselves in the same session.
Steps to reproduce
cd /tmp
mkdir test1
mkdir test1/foo
mkdir test1/bar
ln -s test1 test2 # using /bin/ln here
dir test1 # "case A"
dir test2 # "case B"

Expected behavior
Output from case A should equal case B, but the "Directory name" should read  "/tmp/test2".
Actual behavior
Case B shows only the file entry of the symlink. That would be ok in some cases, HOWEVER what you see is that this behavior affects lots of things like tab expansion. For example, to continue repro:
cd test2
cd [TAB] # nothing happens with any tab completion commands here

Note that you can get around some of the issues by manually appending a forward-slash. e.g. dir test2/.
Environment data
OSX 10.11.6

Name                           Value
----                           -----
PSVersion                      6.0.0-alpha
PSEdition                      Core
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   <IP_ADDRESS>
GitCommitId                    v6.0.0-alpha.8
CLRVersion
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

This may be related to #2865

@chunqingchen can you validate if your PR for the related issue fixes this and if we need to add a test case for this issue?

See if https://github.com/PowerShell/PowerShell/pull/3509 fixes this

Still repros with #2974

@SteveL-MSFT @joeyaiello
I used to be able to repro it on ubunto 14.04
Now I test the scenario on both macos 10.12.4 and ubunto 16.04 and it passes.
It seems this bug is OS version related but not powershell version related (the default powershell installed from ./tools/download.sh also passes).
Shall we set this bug as not repro?

This isn't repro'ing for me with beta1.  Looks like it was fixed with another change.


New session handler, various fixes, new tests

Coverage decreased (-1.9%) to 50.429% when pulling d96db6287dfc744d6a1d34ad13317aa43b264055 on maxhq:db-and-session into 8853c4a87c6c03fd568388f36d0ced5051f14417 on openxpki:develop.


cannot install llm-vm

Describe the bug
When going through the installation process, the following error occurs:
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.496.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Error: Installing dependencies failed. Setup aborted.
To Reproduce
I am on Windows 10.0.2262
Python version is 3.12.1
Steps to reproduce the behavior:

open windows shell
clone the git repository with git clone https://github.com/anarchy-ai/LLM-VM.git
enter the llm-vm  directory with cd llm-vm
Enter the command ".\ windows_setup.ps1"

Expected behavior
The program should install fully but it does not.

Hey @dshunter107, thanks for raising the issue.
Do try opening the windows_setup.ps1 directly from the File Explorer rather than the Windows Shell.

what program would I run it with? The default is for it to open with notepad.

what program would I run it with? The default is for it to open with notepad.

You can run a .ps1 file in powershell

I tried running the .ps1 file in powershell and am still getting the same issue. Is there a solution to this?


Test. Does this PR build?

My other PR didn't.  Check if master is building cleanly?

Turns out the pkcs11 package was broken by go1.9.4.  I'll open a PR to update our vendored dep.


"Orodel" is listed in the drop-down menu

Description:
"Orodel" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Orodel" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Orodel, DOLJ".


Update Pages “hvac-seo-marketing-hvac-trade”

Automatically generated by Netlify CMS

👷 Deploy Preview for dreamy-lolly-62bcd8 processing.

Name
Link

🔨 Latest commit
cc17c2d2177d49eb88dea08254ead9f93e678a38

🔍 Latest deploy log
https://app.netlify.com/sites/dreamy-lolly-62bcd8/deploys/6270c8931fdd5b0009fab40a


Added Lessons Learnt blog post and images

Wow @morgantaschuk, this is incredibly useful!  Thank you for writing it up!  🎉

Wow @morgantaschuk, this is incredibly useful! Thank you for writing it up! 🎉

To give credit where credit is due, Morgan added the stuff about Discord and put the post into this blog...but most of the text was written by Karsten (with help from me and a few others).

Contributors (in no order):

Karsten Hokamp
Nomi Harris
Denis Yuen
Morgan Taschuk
Peter Cock
Michelle Brazas
Dave Clements
Christina Hall
Christopher Fields


add token cRecy

A system based on a DApp that rewards the act of directing the waste towards recycling and composting. The MVP is the backbone of interactions within the system where we started momentum to transfer those interactions to the DApp while it has just started to be developed. It started with actors (recycling and waste generating) submitting waste reports which are the base to minting cRecys and distributing it between actors and the market.

Can you update conflicting files?
Also, could you add
isExperimental: true

to your token please?


Add JSX as template language

What about transpiling to ES5? Should that work?

node 4 is deprecated now


EnvoyFilter setting maxRequestBytes breaks ingressgateway

Bug Description
This filter is used to work with the 1.11 version:
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: size-limit
  namespace: istio-system
spec:
  workloadSelector:
    labels:
      istio: ingressgateway
  configPatches:
    - applyTo: HTTP_FILTER
      match:
        context: GATEWAY
        listener:
          filterChain:
            filter:
              name: envoy.filters.network.http_connection_manager
      patch:
        operation: INSERT_BEFORE
        value:
          name: envoy.buffer
          typed_config:
            '@type': type.googleapis.com/udpa.type.v1.TypedStruct
            value:
              maxRequestBytes:<PHONE_NUMBER>

After creating this filter and restarting ingressgateway instances ingressgateway is always unhealthy and outputs:
...
2022-03-29T09:45:04.182440Z    warn    Envoy proxy is NOT ready: config received from XDS server, but was rejected: cds updates: 3 successful, 0 rejected; lds updates: 0 successful, 3 rejected
...

Version
istioctl version
client version: 1.13.2
control plane version: 1.13.2
data plane version: 1.13.2 (7 proxies)

kubectl version --short
Client Version: v1.23.5
Server Version: v1.23.5

Additional Information
istioctl bug-report
Target cluster context: kubernetes-admin@kubernetes
Running with the following config:
istio-namespace: istio-system
full-secrets: false
timeout (mins): 30
include: {  }
exclude: { Namespaces: kube-node-lease,kube-public,kube-system,local-path-storage }
end-time: 2022-03-29 09:58:33.621778134 +0000 UTC
Cluster endpoint: https://<IP_ADDRESS>:6443
CLI version:
version.BuildInfo{Version:"1.13.2", GitRevision:"91533d04e894ff86b80acd6d7a4517b144f9e19a", GolangVersion:"go1.17.8", BuildStatus:"Clean", GitTag:"1.13.2"}
The following Istio control plane revisions/versions were found in the cluster:
Revision default:
&version.MeshInfo{
{
Component: "pilot",
Info:      version.BuildInfo{Version:"1.13.2", GitRevision:"91533d04e894ff86b80acd6d7a4517b144f9e19a", GolangVersion:"", BuildStatus:"Clean", GitTag:"1.13.2"},
},
}
The following proxy revisions/versions were found in the cluster:
Revision default: Versions {1.13.2}
Fetching proxy logs for the following containers:
istio-operator/istio-operator/istio-operator-67b876d65f-d8dlm/istio-operator
istio-system/istio-ingressgateway/istio-ingressgateway-6dc5bf864d-7pr4c/istio-proxy
istio-system/istio-ingressgateway/istio-ingressgateway-6dc5bf864d-9hk6g/istio-proxy
istio-system/istio-ingressgateway/istio-ingressgateway-6dc5bf864d-9wrwc/istio-proxy
istio-system/istiod/istiod-59c5cfc9db-j6vbs/discovery
Fetching Istio control plane information from cluster.
Running istio analyze on all namespaces and report as below:
Analysis Report:
Info [IST0102] (Namespace istio-operator) The namespace is not enabled for Istio injection. Run 'kubectl label namespace istio-operator istio-injection=enabled' to enable it, or 'kubectl label namespace istio-operator istio-injection=disabled' to explicitly mark it as not needing injection.
Creating an archive at /root/bug-report.tar.gz.
Cleaning up temporary files in /tmp/bug-report.
Done.

could not reproduce, BTW envoy.buffer is replaced by "envoy.filters.http.buffer"

Thank you. Changing envoy.buffer -> envoy.filters.http.buffer solved this issue.


preprocessing data

Hi,
I think this line should be:
os.system('ffmpeg -ss {} -t 8 -i {}/preprocess_all_audio.wav -ac 1 -ab 16k -ar 16000 {}/p{}.flac'.format(i*8, OUTPUT_DIR, OUTPUT_DIR, i))
Otherwise, you only use the first (int(length)//8 - 1) + 8 seconds of your training data?

@zhang-jian I think you are right - a lot of the training data is lost this way.
Another option might be changing this line to:
for i in xrange(int(length) - 1):
This will still generate overlapping 8 second samples, but allow the entire training set to be used.


Slow double click in explorer can open two files

The double-click window is just long enough that you can get a different file with the second click because the "Open Editors" section of the explorer moves the file explorer down. The timing is a little tricky, and it seems like it only works if you don't move the mouse.

VSCode Version: 1.27.2
OS Version: High Sierra 10.13.6

Steps to Reproduce:
In this gif, I only click twice (once per file):

Be in a directory with at least 2 openable files adjacent in the explorer.
Click a file, which should open it in preview mode (where the filename is italicized in the tabs).
The "Open Editors" section of the explorer will open and push down the directory explorer. Without moving the mouse, click again as the file right above the one you just clicked moves down under your mouse.
If you get the timing right, Code should recognize the second click as a double click and open the second file (not in preview mode) and the original file will still be in preview mode.

Does this issue occur when all extensions are disabled?: Yes

I am aware fo this limiation but have no plans to fix it -> closing as out of scope
As a workaround either:

Move open editors to the bottom
Set "workbench.editor.enablePreview": false in your settings
Hide open editors

Also dup of https://github.com/Microsoft/vscode/issues/25911


[WIP] Automate - RFE - Allow Retirement override for Services.

Modified methods to allow a dialog to pass retirement day and days to warn
for a service bundle and service item.

@tinaafitz
Please review

Closed in favor of #9653


70 gh action

#70

the other execution files which produce trained pipelines are too resource intensive to run


Set ms.topic: faq where YamlMime:FAQ

Set ms.topic: faq where YamlMime:FAQ
Note the following:

DocuTune drives improved quality of technical content by finding and automatically correcting a broad set of issues in Markdown and YAML files. DocuTune performs these updates intelligently, only making corrections in the sections of a document where the correction is suitable.
DocuTune PRs often standardize spacing, formatting, and casing of Markdown elements to support the DocuTune onboarding process.
DocuTune PRs might contain other minor edits noticed during a manual review.
DocuTune PRs might include files whose Acrolinx score was below the target threshold prior to this PR.
Delimiters such as asterisks and backticks may be added to link descriptions or alt-text to denote UI elements or other string literals that should not be modified during automation.
Other formatting or indentation corrections might appear in DocuTune PRs to improve the accuracy of document parsing.

CorrelationId: 4be46d6e-996e-42aa-b63e-5cf3271b90c5

Docs Build status updates of commit 1367f7c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/license-faq.yml
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 593f2f5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/license-faq.yml
:white_check_mark:Succeeded
View

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


SFC update operation must not be allowed, if given SFC is already binding to a Security Group

Description
SFC update operation must not be allowed, if given SFC is already binding to a Security Group
Expected Behavior
Sfc update operation should fail with validation expectation, if this sfc is already binding to a security group
Actual Behavior
SFC is updated with no error.
Steps to Reproduce

Create virtualizationConnector with neutron-sfc
Create DA-1 and DS under this virtualizationConnector
Create Security Group under this virtualizationConnector
Create SFC with virtualsystem under DA-1
Bind SFC with the Security Group
Update SFC with either null list or a new virtual system

Additional Information
Environment

OSC Version/Build:
osc build - 128
Cloud Provider Info:
Plugin Info:
Other:

Status

[x ] Reproduced
[x ] In Progress
[ ] Validated     =>    Verified in Version/Build:

DE5393

Verified with Build Version: 1.0.0-SNAPSHOT (Build:144-g9c773e4, 2017-10-27T07:21:25Z)

securityBroker-cannot-update-binded-sfc.log
Relevant Excerpts from the log:
2017-10-27 17:42:27,425 [WARN | qtp1257726116-59| o.o.c.b.s.ServiceDispatcher]: Service request failed (logically): Open Security Controller: Cannot update Service Function Chain: 'sfc-order' as it is binded to Security Group(s) 'sg-1'
2017-10-27 17:42:32,394 [ERROR| RabbitMQ Thread - vc-215| o.o.c.b.r.c.o.v.n.RabbitMQClient]: Failed to connect to Rabbit MQ server '<IP_ADDRESS>' Error:null
2017-10-27 17:43:32,513 [ERROR| RabbitMQ Thread - vc-215| o.o.c.b.r.c.o.v.n.RabbitMQClient]: Failed to connect to Rabbit MQ server '<IP_ADDRESS>' Error:null
2017-10-27 17:44:32,625 [ERROR| RabbitMQ Thread - vc-215| o.o.c.b.r.c.o.v.n.RabbitMQClient]: Failed to connect to Rabbit MQ server '<IP_ADDRESS>' Error:null


Writeup of the comparison Operator

Originally created in #236

@mpharrigan @Strilanc I highlighted that we are focusing only on the case of logarithmic depth since for the linear depth case the T complexity is always $4n$.
I also reordered the notebook and fixed grammar issues

@mpharrigan I pushed, but the push wasn't successful .. fixed now

@mpharrigan @Strilanc is this approved? .. if so I will move it to cirq so that it appears on the quantumai website. so please take a look

@mpharrigan @Strilanc I think this is now ready to be merged into qualtran.


test(datepicker): timezone mock, lint and type fixes

Mock timezone for consistent test snapshots
fix linting errors '==' => '===' in packages/datepicker/src/js/index.ts
change type | undefined to key?: as it resolves to type | undefined

Seems my test fix does not work on the CI. Back to drawing board.

In my branch, I changed approaches to use the ISO8601 date format in the form input, per MDN:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date
This gets rid of the TZ issue entirely.  Yay!
I've lifted the linting adjustments that you pinpointed here out of your diff.  Thank you!
Closing.


[Bug] fuzzy matching error of like '%%'

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
doris-2.0.3
What's Wrong?
the match result is error，in my example,‘gzt’ should not be match
What You Expected?
What is the reason for this error？
How to Reproduce?
select 'DCache.LiveLinkWanzhePanelDataKKV_gzt_MKVCacheServer3' like 'DCache.LiveLinkWanzhePanelData_%MKVCacheServer%'
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Sorry, there was an error in my description of What's Wrong. Please correct it as follows:
‘KKV’  should not be match

the underscore (_) represents a single character. refer to doris - like
I guess you want to use the literal underscore (_), so u should prepend it with a backslash: \_.
such as:
mysql> select 'DCache.LiveLinkWanzhePanelDataKKV_gzt_MKVCacheServer3' like 'DCache.LiveLinkWanzhePanelData_%MKVCacheServer%';
+------------------------------------------------------------------------------------------------------------------+
| ('DCache.LiveLinkWanzhePanelDataKKV_gzt_MKVCacheServer3' like 'DCache.LiveLinkWanzhePanelData_%MKVCacheServer%') |
+------------------------------------------------------------------------------------------------------------------+
|                                                                                1 |
+------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)

mysql> select 'DCache.LiveLinkWanzhePanelDataKKV_gzt_MKVCacheServer3' like 'DCache.LiveLinkWanzhePanelData\_%MKVCacheServer%';
+-------------------------------------------------------------------------------------------------------------------+
| ('DCache.LiveLinkWanzhePanelDataKKV_gzt_MKVCacheServer3' like 'DCache.LiveLinkWanzhePanelData\_%MKVCacheServer%') |
+-------------------------------------------------------------------------------------------------------------------+
|                                                                                0 |
+-------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)


Add ListAccessControl{Request,Response}.

This is part of the work for #842. To make parsing more efficient I had to
include google/cloud/storage/internal/nljson.h in a public header. That
made the dependency on nlohmann/json public, so some additional
changes to the CMake file are included here.

Rebased. PTAL.


lib: show correct error when loadManifest fails

The err value was accidentally getting overriden with the error from the
os.Stat call.

Thanks!


[Help] Am I supposed to set ACTIONS_ID_TOKEN_REQUEST_URL

Hey sorry this is probably a dumb question but I've read through the readme, and I've copied pasted each setup step exactly without issue. However when I try and authenticate I get
Error: Action failed with error: Error: Error message: Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable

Am I supposed to set ACTIONS_ID_TOKEN_REQUEST_URL as a Action Secret, if so where do I get this value on the GCP console?
I'm just trying a really basic example using:
      - id: 'auth'
        name: Login to Google Storage
        uses<EMAIL_ADDRESS>        with:
          workload_identity_provider: 'my-provider'
          service_account: '<EMAIL_ADDRESS>
      - name: Upload to Google Storage
        uses<EMAIL_ADDRESS>        with:
          path: ${{steps.download.outputs.download-path}}/*
          destination: my-bucket/release

Hi @peavers this should be populated automatically. A few questions

Do you have permissions set for the job/workflow?

    permissions:
      contents: 'read'
      id-token: 'write'

Is the workflow being triggered by a PR from a fork?

Yes, you're correct... I was missing permissions in the auth/upload stage;
Apologies!

This helped thanks 🙇


[SPARK-15126][SQL] RuntimeConfig.set should return Unit

What changes were proposed in this pull request?
Currently we return RuntimeConfig itself to facilitate chaining. However, it makes the output in interactive environments (e.g. notebooks, scala repl) weird because it'd show the response of calling set as a RuntimeConfig itself.
How was this patch tested?
Updated unit tests.

cc @andrewor14

Test build #57778 has started for PR 12902 at commit d229062.

Test build #57778 has finished for PR 12902 at commit d229062.

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

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57778/
Test PASSed.

Merging into master 2.0


Pluralize results text based on the results count

The total results count shown is not pluralized correctly and it shows 1 results instead of 1 result when there is only one result found.

Hey, this seems like a quick fix. I can do it. Assign me this task.

After building the code, the extension manager shows the above error. Was not even able to run it on my system.

Just for records,

After building the code, the extension manager shows the above error. Was not even able to run it on my system.

This error was fixed along with this issue