Update module gopkg.in/routeros.v2 to v3

This PR contains the following updates:

Package
Type
Update
Change

gopkg.in/routeros.v2
require
major
v2.0.0-20190905230420-1bbf141cdd91 -> v3.0.0

Release Notes

go-routeros/routeros (gopkg.in/routeros.v2)
v3.0.0
What's Changed

Add post-6.43 login support by @archaron in https://github.com/go-routeros/routeros/pull/4
Simplify tests (on master) by @im-kulikov in https://github.com/go-routeros/routeros/pull/8
Address in newClientAndLogin is unused (on master) by @im-kulikov in https://github.com/go-routeros/routeros/pull/9
Fix handling command response when !trap is received by @v12 in https://github.com/go-routeros/routeros/pull/16
refactoring, use context, use logger, use go mod by @archaron in https://github.com/go-routeros/routeros/pull/24

New Contributors

@v12 made their first contribution in https://github.com/go-routeros/routeros/pull/16

Full Changelog: https://github.com/go-routeros/routeros/commits/v3.0.0
Breaking changes

Usage of gopkg.in was removed in favor of Go modules. Please, update you import paths to
github.com/go-routeros/routeros/v3.

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: go.sum
Command failed: go get -d -t ./...
go: -d flag is deprecated. -d=true is a no-op
go<EMAIL_ADDRESS>parsing go.mod:
	module declares its path as: github.com/go-routeros/routeros/v3
	        but was required as: gopkg.in/routeros.v3


Re-introduce webhook

Cleanup samples and re-introduce nodeset webhook.
Depends-On: https://github.com/openstack-k8s-operators/openstack-operator/pull/459

/test precommit-check

recheck

recheck

recheck


update parcel version & remove react lazy api

Update parcel version to resolve build question.
The react lazy api is experimental, It has strange problems when combined with parcel's build command.

Need to wait for this pull request https://github.com/imgcook/pipboard/pull/15#issue-543299312


UV Index API Deprecated

FYI:
The UV Index API will be retired on April 1st, 2021. The OneCall API needs to be used instead.
See: https://openweathermap.org/api/uvi
Cheers! Sacha

Thanks! Taking a look at this now.


Unclear what needs to be stored in logger.info

Having import all the necessary modules into my own code for "executeProbe" I'm getting a args.logger.info is not a function error.
Somewhere else in the code I found this:
info: {
outgoing_peer_to_increase_inbound: nodeOut.alias,
incoming_peer_to_decrease_inbound: nodeIn.alias,
rebalance_target_amount: tokAsBigTok(tokens),
},
But clearly this is not what executeProbe is expecting.
So what do  I need to put in logger?

it expects a winston logger object: https://github.com/winstonjs/winston
like {info: line => console.log(line)} etc

Really appreciate your fast response.
Thanks a bundle!


Schema Info Popup Improvement.

(Forked from https://github.com/uwdata/polestar/issues/161)

[ ] ordinal should show samples when cardinality is high and show the whole domain when cardinality is low
[ ] quantitative should show [min, max] as domain e.g.,  [0, 10]
[ ] hide min, max for ordinal / nominal

No longer plan to do this as I'll probably get rid of it.


Inserting new rows at any position

Problem
Currently it is only possible to add new row at the bottom of table. It would be useful to be able to add it at any position.
Solution
Add new option to the button at the right side of rows.
Additional details
No response

@kkot Hi kkot. Thanks for the request. I actually had this implemented and just removed it. I will reconsider adding it to my new system for table management.

Fixed in 6.3.0


Add CONTRIBUTING.md

Include a mention regarding why  gets its properties from separate mixins. I'm thinking being explicit that it is not for re-usability of these mixins but rather for testing purposes.
The choice of yarn as a package manager and the including of .yarn/* files should be mentioned as well. Here are some refs regarding that:

https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
https://yarnpkg.com/features/zero-installs
https://yarnpkg.com/getting-started/install

About commit conventions: https://www.conventionalcommits.org/en/v1.0.0/


Initial support for SD-JWT VC.

This adds a new identity-sdjwt library which includes support for working with the core data structures in IETF SD-JWT and SD-JWT VCs. Future commits will add support for provisioning and presentation in the 'wallet' module.
Test: New unit and all unit tests pass.

Thanks for the review, force-pushed some of the nit fixes! Will land this.


Last-location cached working for each bot

Short Description:
Fixes:

Normalized the configs to follow the same pattern (stop using storage or Strings when a boolean or an integer should be used
Normalized launch parameter names
Added a timeout of 10 to the Geolocation service API because lots of users complaining about having to launch the app over and over

New Feature:

For each bot, the current location is dumped in data/last-location-USERNAME.json and this is used when location_cached is set to True to spawn the bot at the same location at next run.

TO say, the description is super good.

What do you mean ? ^^' it's my first pull request to an open source project :p


Updated badges, wrote HISTORY

@Peilin-Yang I thought about it and like your original suggestion of separate release notes better.


Provided fonts in font settings

Describe what your pull request addresses

Adds all "shipped" fonts into the dropdown font settings
Sets the default font as a hybrid font with Ezra for Hebrew characters plus Noto Sans for all others.
Includes this hybrid font in the dropdown settings
Improves presentation styling

Oh, my bad! This was intended to be a downstream PR, not yet an upstream one. [Closed for that reason.]


fix(event-bridge): use inline role policy

from event bridge, removes the policy document, policy, and role policy attachment in favor of an inline role policy.

Looks good, but this will break the snippets currently shown in the UI right? Since they rely on the output of one module as the input to another?

https://sysdig.atlassian.net/browse/SSPROD-24317 is intended to address this.

rebased and preserved organizational count changes in #16


Added a HttpRequestBuilder

When working with Gdx.net to communicate with a JAX-RS webservice, I noticed that a small utility like this makes working with HttpRequests a lot more comfortable.
It's a pretty standard builder pattern with built-in pooling. Furthermore it offers some small additional features like a default timeout or a base-URL that can be set to avoid having to prepend the same IP/domain address for every request, when communicating with just a single server (which should be the most common case). Last, but not least, it offers two methods to form-encode and JSON-encode the request content as well as a method to implement HTTP basic authentication.

 I can't even commit any changes anymore without git telling me that "Everything is up-to-date" whatever I do.


Dumping option possibly dumps IR and TPLC of script wrapper instead of script itself

Which seems not as expected behavior
I did not test that and concluded just from code, so may be wrong.
The following leads me to that conclusion.
Investigation
Here we see that IR and TPLC uses code :: CompiledCode a, not scr :: Script.
It's a third argument of DumpScript a datatype.
instance IsTest DumpScript where
  run opts (DumpScript nm scr code) _ = do
    runIf @DumpPlutusIR opts (dumpIR nm code)
    runIf @DumpPlutusTypedCore opts (dumpTypedCore nm code)
    runIf @DumpPlutusCore opts (dumpCore nm scr)

When search DumpScript on #136 changes, we see all constructions of this datatype, both in tasty-plutus/src/Test/Tasty/Plutus/WithScript.hs:

At line 81

  (DumpScript name (getValidator $ validatorScript val) wrap)
  ...

where wrap :: CompiledCode (ValidatorType s -> WrappedValidatorType), so it's a wrapper

At line 118

 dump = singleTest "Dump script" (DumpScript name (getMintingPolicy mp) wrap)

where wrap ::  CompiledCode ((r -> ScriptContext -> Bool) -> (BuiltinData -> BuiltinData -> ())), and this is wrapper either

Oops, this looks like a careless mistake. Just fixed it in #136.

Closed by #136.


2x2 eyes are too wide when i look up and eyebrows are missing but i added them

title

https://github.com/user-attachments/assets/3fbc4724-2158-4096-b27a-6d655d7b5221

changed a bit maybe this will work

nvm fixed


containers/scripts/singularity_cmd: Argument list too long

Hi -- I'm trying to use the ReproNim container for HeuDiConv in datalad, and I'm getting and error with singularity_cmd (containers/scripts/singularity_cmd: Argument list too long) when using datalad containers-run. I wasn't sure if I should post this here or the datalad issues page, but I think the singularity_cmd is from this repository.
Example code is below.
# create dataset and provide inputs and code
sub=10369
datalad create -c yoda "datalad-testing-rf1"
cd datalad-testing-rf1
mkdir -p inputs/rawdata
cp -r /data/sourcedata/rf1-sra/Smith-SRA-$sub inputs/rawdata/.
eval "datalad save -m 'add dicoms for sub-${sub}' inputs/rawdata --jobs 16"
cp ../rf1-sra-data/code/heuristics.py code/.
cp ../rf1-sra-data/code/prepdata.sh code/.
datalad save -m 'add code' code

# install repronim containers
datalad install -d . ///repronim/containers

# run heudiconv
datalad containers-run -m "Convert sub-10369 DICOMs into BIDS" \
  --container-name containers/nipy-heudiconv \
  'heudiconv -d inputs/rawdata/Smith-SRA-10369/*/scans/*/*/DICOM/files/*.dcm -f code/heuristics.py -s 10369 -c dcm2niix -b --minmeta -o outputs/sub-10369'

And here's the full output of the error:
[INFO   ] Making sure inputs are available (this may take some time)
[INFO   ] == Command start (output follows) =====
/bin/sh: 1: containers/scripts/singularity_cmd: Argument list too long
[INFO   ] == Command exit (modification check follows) =====
run(error): /data/projects/datalad-testing-rf1-05 (dataset) [containers/scripts/singularity_cmd run c...]
action summary:
  get (notneeded: 2)
  run (error: 1)
  save (notneeded: 2)

Thanks for any tips or pointers!
David

you don't need to include heudiconv command in your invocation, since it is already an entry point in that container:

$> datalad containers-run --container-name nipy-heudiconv
[INFO   ] Making sure inputs are available (this may take some time)
[INFO   ] == Command start (output follows) =====
WARNING: Nothing to be done - displaying usage help
usage: heudiconv [-h] [--version] [-d DICOM_DIR_TEMPLATE | --files [FILES ...]] [-s [SUBJS ...]] [-c {dcm2niix,none}]
                 [-o OUTDIR] [-l LOCATOR] [-a CONV_OUTDIR] [--anon-cmd ANON_CMD] [-f HEURISTIC] [-p] [-ss SESSION]
                 [-b [BIDSOPTION1 [BIDSOPTION2 ...]]] [--overwrite] [--datalad] [--dbg]
                 [--command {heuristics,heuristic-info,ls,populate-templates,sanitize-jsons,treat-jsons,populate-intended-for}]
                 [-g {studyUID,accession_number,all,custom}] [--minmeta] [--random-seed RANDOM_SEED] [--dcmconfig DCMCONFIG]
                 [-q {SLURM,None}] [--queue-args QUEUE_ARGS]

Example: heudiconv -d 'rawdata/{subject}' -o . -f heuristic.py -s s1 s2 s3

...

the actual issue is probably in the large number of those dicom files you are pointing to, i.e. do smth like that to discover that

/bin/ls -1 inputs/rawdata/Smith-SRA-10369/*/scans/*/*/DICOM/files/*.dcm | nl | tail -n 1

which is what triggers that error message

I don't think you want to use -d argument (since not using template) but rather directly --files and then do not bother listing the files but point to folders e.g. --files inputs/rawdata/Smith-SRA-10369/*/scans/*/*/DICOM/files

Thanks! That fixed it! Closing this issue.


Add a camera sensitivity setting

Just a simple camera movement multiplier (sensitivity). Preferably one that can distinguish between arrow key movement and mouse button movement so they can be set individually.

Are there any updates on this feature?

added in 9b8f2877fca1bc668ace6864db777ea056ea8c2b


Draw Clusters Based on User's Followers

From our functional requirements:

The nodes must be sized and coloured. This will be based on:

The density of Tweets originating from the node’s geolocation.
The number of Tweets coming from people the user follows.
The number of Tweets coming from people the user is followed by.

https://github.com/googlemaps/android-maps-utils/tree/master/library/src/com/google/maps/android/clustering
Modify algo to associate weight with nodes.

private void changeBitmapColor(Bitmap sourceBitmap, ImageView image, int color) {

    Bitmap resultBitmap = Bitmap.createBitmap(sourceBitmap, 0, 0,
            sourceBitmap.getWidth() - 1, sourceBitmap.getHeight() - 1);
    Paint p = new Paint();
    ColorFilter filter = new LightingColorFilter(color, 1);
    p.setColorFilter(filter);
    image.setImageBitmap(resultBitmap);

    Canvas canvas = new Canvas(resultBitmap);
    canvas.drawBitmap(resultBitmap, 0, 0, p);
}

Something like this to add a color filter to a bitmap


Extract the UserRef CRUD flow from predicates

We have CRUD operations of the User resources implemented in the predicate funcs. Probably not a good flow for handling CRUD operations. If possible, need to invent a better approach

PR #616 which implements it for Cassandra was merged

Implement for Postgres

pg user management is going to be remove at all


how to print each executed line of program?

Please answer the following before submitting your issue:
Note: Please include any substantial examples (debug session output,
stacktraces, etc) as linked gists.
What version of Delve are you using (dlv version)-
Delve Debugger
Version: 1.0.0-rc.1
Build: 5c9b200
What version of Go are you using? (go version)?- go version go1.8.3 linux/amd64
What operating system and processor architecture are you using?- ubuntu16.04.3 LTS
What did you do?
I am trying to print each line of code that is executed.
I have tweak some line of code in next and continue cmd. It is working fine for all program that is not calling other function i.e have the only main function. But if the program has another function then it is not printing the custom function body.
I know why it is not working as next cmd require breakpoint to locate the line that is outside of int function.
How will I achieve that?
If anyone wants to check code, I will provide.
Or anyone can help me anyway... I am struggling with it from very long time.
P.S.- This is not a bug. I am not able to find the solution elsewhere that's why putting it here.

Is you want to step into functions you need to use the "step" command, not "next"


⚠ Jenkins Plugins Artifactory has degraded performance

In 8e02e2f, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1016 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 26ae5f9 after 20 minutes.


Small simulator backend cleanup

What is the purpose of the change
This is some small simulator backend cleanup. Was doing this as driveby's with property check integration, decided to split this out into its own PR.

We move validator type juggling to mock_tendermint
Abstract db work into its own file + a schema file

To get further significant improvements in code readability & debugging, I think we need to:

Be able to create the traces produced by logWriter, off of the statsDb, then we can start deleting  the logWriter and move runBlockSimulator to be based off the simpler simstate struct
Ditto for event logging / tally fn
Finally open up & tackle genesis handling
Start improving queued operation (e.g. queued action)

Going to move some of these further works into new issues
Testing and Verifying
This change is a trivial rework / code cleanup without any test coverage.
Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? no
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? no
How is the feature or change documented? N/A

@ValarDragon It appears this might have broken simulator CI


Add support of S3 logs

Need add support for logs that stored in the AWS S3

Guess it would be helpful https://stackoverflow.com/a/12776856/1471338

Are AWS CodeBuild S3 logs will be stored in S3 only after the CodeBuild job will be finished? Or archive with logs will be updated for each logs portion update? I mean is it make sense to track the status of S3 logs like we are doing it for CloudWatch, or is it just enough to download the results log from S3?


Isometric view

I'm trying to figure out if this plugin would be good to use for isometric projects. I'm guessing that in principle it's possible to use, we just have to calculate the position of each tile properly.
But then how to deal with z-axis occlusion?

I'm guessing that in principle it's possible to use, we just have to calculate the position of each tile properly.

pixi-tilemap is low-level lib, not something that dictates you coords. It only implements "fill tilemap, clear before refill" idea. No buffer reuploaded needed between refills.
You have to do it anyway because pixi is not a engine/framework. You have to decide which isometric coord you want. I recomment to look through those topics: https://www.html5gamedevs.com/search/?q=isometry&quick=1&type=forums_topic&nodes=15
As for Z-index, I wanted to make a plugin for it, automatic isometric Z-sorting with cutting sprites when needed, but not many people expressed interest in it. Please make your case more clear, post demos, show the progress - maybe i'll help with it.
basic thing is just sort by center-y of tile.
I personally recommend to store tiles in 2D array in cells that have (i+j)%2==0 and ignore others. then coord sytstem wil look like x = i * tileWidth/2, y = j*tileHeight/2.  You want to test a point whether it belong to tile - you have to make a formula for diamonds, as an exercise :)

Yeah the coordinate thing is not the tricky part I think. The z-index is much more complicated. I'm guessing you would sort this out in the shader, right? But then you have a player sprite, enemies, etc walking around the map they would have to be affected by the z-index too.
I havent started experimenting with isometric yet, mainly because I'm not sure if it's smart to use pixi-tilemap here or maybe use regular oldschool pixi sprites as it seems to offer more flexibility.

z-index on shader in 2d is a problemon its own.
No, i solve it with correct sorting of elements.

Yes, you can start with old-school sprites then switch to pixi-tilemap when you figure out all coords stuff :)


Update french translation

The first capital letter was removed not so long ago in #1239. He provided a wikipedia link why the months should be in lowercase. Dunno if you're french and agree on that?

Effectively, I just go to the wiki page given by @janv8000 that explains it, but this is true when the date is enrolled in a sentence unlike english where day or month names always should start with uppercase (even in a sentence)...
But we are in another case : day or month names are alone in the sentence and, even if they don't have to start with an uppercase, like in all other cases, we should have the first letter of first word of the sentence in uppercase...
We just have to note that this case is not usual and may only be found on the date pickers-like, that's probably why it is not explained on the Wiki page...

I don't believe that the argument that the dates are part of a sentence is valid here.
Eg.

"janvier 2015" is not really a sentence as it does not contain a subject, verb, ... So the rule for uppercasing the first letter does not really apply.

I ask the question directly to The French Academy... Let will see !! :wink:

I've spoke about it to many people who're agree with me: all write's startings should start with an uppercase even if the word usually don't have to start with one...
Anyway, I have no answer from French Academy at the moment... I still waiting and hope they'll answer me... (I've asked from the dedicated form that they offer)
In fact, we're both right:

I was speaking about the calendar picker view where days or months are alone, so, to me, it should starts with an uppercase
You was speaking about full date value (i.e. : "Lundi 12 mars") : if I'm right, only first word should start with an uppercase (day) but not the others (month), so my new french definition is wrong...

This problem doesn't exist with english date because all words starts with an uppercase...
So, to add an uppercase to sentence's first letter's first word, when I will have confirmation, the solution would be a new small functionality rather than my update...
Are you agree with that?

Could you post some screenshots showing your intended behaviour of the datepicker (with different casings in different situations)?
When looking at other applications for inspiration you can see they also use lowercase for the names in french:
eg. Globalize.js uses the Unicode CLDR
Chrome native datepicker:

I just received an answer from the french academy: a pickup calendar with months and/or day names seems to be considered as enumerations, so it doesn't need a first uppercase letter which seems consistent.
However, like I thought, a french full date should start with an uppercase letter (ie. "Lundi 9 février 2015") even if day or month names should not start with an uppercase letter.
So in our case, it should be applicable on full date result field format. So if the widget result a "ddd dd mmm yyyy" format, it should result a first uppercase letter. @janv8000, your first screenshot example ("Date de clôture") should start with an uppercase too.
Even if this behavior could be implemented on the widget, I don't know if it's worth because it means that the host application have to be able to parse the date with this particular case too... Maybe too much stuff for little need...
I wait a few to cancel my pull request, according your opinion !

I think we should keep the lower case names for now, but thanks for your contribution @lherry!

a pickup calendar with months and/or day names seems to be considered as enumerations, so it doesn't need a first uppercase letter which seems consistent.

Like the wiki page linked at 786e26b4fe7dd9eb9a4dc795cab755c73a76f8aa states (and unlike the commit comment), there is no official rules for this. The only official rule about dates if that we should not capitalize month name in a full date.
But on the datepicker there is no full date, it's just month and day names. And in this case it's either fine to write it with upper or lower case.
For the dots, like I said in #1352, per design there is none in bs-dp. English too should use dots for abbreviation, yet there is none, by design. It seems ridiculous to have some language respecting the dots and not others, either we should put dots everywhere, either don't have them in French.
I really think those changes are rubbish, it's fine to write either uppercase in this case, and having a coherent design inside bs-dp seems more important to me.

The full date appears after you've selected a date from the the datepicker in the result field (depending the given format)...

Yeah, I forgot to write that part my bad. For the result I agree to lowercase, but not for the picker.

Your purpose seems to unify the translation because of no standards, right ? Even if I personaly prefer the uppercase on months and days, why should it be chosen rather than the lowercase ? Same question about dots ?
To conclude, if we unify the translations, what to choose ? Dot or not ? Uppercase or not ?
As I previously said, to simplify answer parsing, all in lower case seems easier to code (fortunately, it's already done like that, so no work to do).
Anyway, the simplest way to unify it seems to conform with solution the most used today in translations !

My purpose is to unify because of design. And yeah we can permit ourselves this because there is no standards or mighty rule about this (At least in French).
So it's all a matter of taste I guess, and the look and feel aimed by bs-dp. And I'm talking about the picker on itself, not the output. I would say that for the output it might need to more complexity than just dots or not and upper or lower case.
Same thing for abbreviation by the way, I find ugly the 3/4/5 notation for months, you have month on 3 letters, others on 4, some with dots, others without. It's not sexy to be honest, but maybe I care too much about how things look. Anyway if bs-dp is going to keep this abbreviation rules it should be "Avr." not "Avril".
So yeah, my point is design for the picker, "standards" for the output. Isn't Bootstrap all about design ?

@azaret Could you post a jsfiddle with your proposed changes?


Recursion - Add interview problems and solutions

I am a contributor in GSSoC 2023.
Add well known recursion problems asked in interviews
Please Assign it to me @aaryahjolia

Hi @aaryahjolia , I would like to add the interview problems with detailed solution on Recursion. Can you please assign this issue to me as I want to contribute in GSSoc'23.


Update berate_ap

fix for "ERROR: Your adapter can not transmit to channel 1, frequency band 2.4GHz." - see https://github.com/sensepost/berate_ap/issues/12
iw list now seems to add ".0" to the frequency, which causes parsing to fail. may be similar for 5ghz, not tested due to lack of hardware.
10:44 root@kali /alex $ iw list | egrep " MHz "
			* 2412.0 MHz [1] (20.0 dBm)
			* 2417.0 MHz [2] (20.0 dBm)
			* 2422.0 MHz [3] (20.0 dBm)
			* 2427.0 MHz [4] (20.0 dBm)
			* 2432.0 MHz [5] (20.0 dBm)
			* 2437.0 MHz [6] (20.0 dBm)
			* 2442.0 MHz [7] (20.0 dBm)
			* 2447.0 MHz [8] (20.0 dBm)
			* 2452.0 MHz [9] (20.0 dBm)
			* 2457.0 MHz [10] (20.0 dBm)
			* 2462.0 MHz [11] (20.0 dBm)
			* 2467.0 MHz [12] (20.0 dBm)
			* 2472.0 MHz [13] (20.0 dBm)
			* 2484.0 MHz [14] (disabled)

Im looking at the linux-router project (The successor to create_ap), and seeing how they addressed this. What are your thoughts on https://github.com/garywill/linux-router/blob/master/lnxrouter#L624-L641.

As an additional note, your regex does not escape the ..

Yes,true. Feel free to add the [], but I strongly believe whoever uses kali has it up2date anyway ;)

I faced the same issue for both 2.4 GHz and 5 GHz. Fixed it by simply adapting the grep to match the frequency in float format:
    if [[ $USE_IWCONFIG -eq 0 ]]; then
        if [[ $FREQ_BAND == 2.4 ]]; then
            CHANNEL_INFO=$(get_adapter_info ${IFACE} | grep " 24[0-9][0-9]\.0 MHz \[${CHANNEL_NUM}\]")
        else
            CHANNEL_INFO=$(get_adapter_info ${IFACE} | grep " \(49[0-9][0-9]\|5[0-9]\{3\}\)\.0 MHz \[${CHANNEL_NUM}\]")
        fi


Can you add onLongPress inside ?

Feature request:
is it possible to add onLongpressInside funcionality ?

Thanks for the feature request!
Anything is possible. :-)
Can you please explain to me a little about the use case for this functionality?

I need a solution receiving longpress event on focused(edited) textfield. The in-built flutter Gesture detector don't works because the active TextField eats up every tap event on it if edited, exept of onPanUpdate .Currently i have no idea how to listen to textfield onLongrpress event whiteout to hack the TextField original class, which would be overkill for me at this moment.


returned images default to specific language/printing

is there a way to change the returned printing? Returned images are a different language than i'd like to download

I hadn’t planned for non-Japanese speakers to use this, but since you’ve brought it up, I’ll work on adding a language switch feature. Please give me a little time.

its a great tool. take your time. thanks
On Tue, Nov 26, 2024 at 11:50 PM Kintsuba @.***> wrote:

I hadn’t planned for non-Japanese speakers to use this, but since you’ve
brought it up, I’ll work on adding a language switch feature. Please give
me a little time.
—
Reply to this email directly, view it on GitHub
https://github.com/kintsuba/scryfall-image-batch-downloader/issues/250#issuecomment-2502767043,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BNIFTBWOCLE2NEJTRZCIRMD2CVFS7AVCNFSM6AAAAABSR3SSLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBSG43DOMBUGM
.
You are receiving this because you authored the thread.Message ID:
@.***
com>


A way to make a header column required

Hello everyone,
I have two questions:

Is there a way to make a header column required?
What is the proper approach for validating each row with a custom form?

Thanks!

Is there a way to make a header column required?

Do you mean 'how to make a column required'? - i.e. show an error if a column is missing?  Are you using the Admin interface?

What is the proper approach for validating each row with a custom form?

I don't know what you mean here.  You can set validation rules using widgets for each field, but I don't know how you would use a form.  Can you give more information as to what the use case is?

You can do it like this using the v4 rc3 release:
class BookResource(ModelResource):
    class Meta:
        model = Book

    def before_import_row(self, row, **kwargs):
        if "some_column" not in row:
            raise ValidationError("missing column")


[book] let is not mentioned

The documentation doesn't mention the let statement.
It should, it is a really nice feature of PRQL!
I just found out about it in #1762.

It's currently at https://prql-lang.org/book/queries/tables.html.
Possibly we should rename that to "Let"?

I don't know.
But maybe it should also have a simper example, like just assigning a string to a variable. Maybe this should even be featured on the front page?

like just assigning a string to a variable

At the moment it only supports "relations" (i.e. tables). But we'd like to generalize it to also allow scalars like numbers or strings.

Yes, let me see if I can adjust the docs a bit. They won't be perfect but I'll try and make it clearer. It's good feedback

At the moment it only supports "relations" (i.e. tables). But we'd like to generalize it to also allow scalars like numbers or strings.

It seems to work with  a single number. This works:
let num = 5
from employees
take num

It seems to work with a single number. This works:

OK, you're absolutely right!

Ah, I remember now; the thing we can't do is an expression:
let x = 5 + 5
from y

Error:
   ╭─[:1:9]
   │
 1 │ let x = 5 + 5
   ·         ──┬──
   ·           ╰──── expected pipeline that resolves to a table, but found `10`
   ·
   · Help: are you missing `from` statement?
───╯

Discussed in https://github.com/PRQL/prql/issues/1772

I would like to see simpler examples of just just basic variable assignment, such as:
let name = "Alice"

let includeDrafts = true

let age = 20

At the moment we don't support expressions — e.g. let x = 5 + 5, and so advertising the case where scalars happen to work sets an ambitious expectation. Let's wait until that is implemented and then document those.


Ops involving only CPU tensors run on device, not CPU

In the code below running jax op that has CPU backed inputs runs on device, (which for my use case OOMs):
def CpuArray(numpy_array):
  return jax.device_put(numpy_array, device=jax.devices(backend='cpu')[0])

data = CpuArray(np.ones([100, 4], dtype=np.float32))
slice_indexes = CpuArray(np.zeros([100], dtype=np.int32))
# Summing the data runs on TPU.
summed_data = jnp.sum(data[slice_indexes])
# So does slicing it.
sliced_data = data[100]

print("data device", data.device_buffer.device())
print("sliced indexes", slice_indexes.device_buffer.device())
print("sliced data", sliced_data.device_buffer.device())
print("summed data", summed_data.device_buffer.device())

Prints:
data device cpu:0
sliced indexes device cpu:0
Both output arrays are on TPU:
sliced data device TPU_0(host=0,(0,0,0,0))
summed data device TPU_0(host=0,(0,0,0,0))

This feels similar to #2883

I agree! I'm not sure yet if it's the same or not.

I verified that on master on a GPU machine this prints gpu:0:
import jax
import numpy as onp

CPU = jax.devices('cpu')

x = jax.device_put(onp.ones(2), CPU[0])
y = x[0]
print(y.device_buffer.device())

Possibly also related to #2878.

I think it's because _rewriting_take calls asarray, which is itself not respecting the device of its input.


error while running gulp serve

Thank you for reporting an issue, suggesting an enhancement, or asking a question. We appreciate your feedback - to help the team understand your
needs please complete the below template to ensure we have the details to help. Thanks!
Please check out the documentation to see if your question is already addressed there. This will help us ensure our documentation is up to date.
Category
[ ] Enhancement
[ ] Bug
[ ] Question
Version
Please specify what version of the library you are using: [         ]
If you are not using the latest release, please update and see if the issue is resolved before submitting an issue.
Expected / Desired Behavior / Question
If you are reporting an issue please describe the expected behavior. If you are suggesting an enhancement please
describe thoroughly the enhancement, how it can be achieved, and expected benefit. If you are asking a question, ask away!
Observed Behavior
If you are reporting an issue please describe the behavior you expected to occur when performing the action. If you are making a
suggestion or asking a question delete this section.
Steps to Reproduce
If you are reporting an issue please describe the steps to reproduce the bug in sufficient detail to allow testing. If you are making
a suggestion or asking a question delete this section.
Submission Guidelines
Delete this section after reading

All suggestions, questions and issues are welcome, please let us know what's on your mind.
Remember to include sufficient details and context.
If you have multiple suggestions, questions, or bugs please submit them in separate issues so we can track resolution.

Thanks!

Hello @kalyani-gogulakonda,
This issue is not related to the components. The packager can't find localization file.
Please check if you moved it or changed the configuration.
Check this documentation for localization details.


feat: enable using plugin without auth

Fixes UTY-65

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#55  👈
#54
#53
#52
#51
#50
main

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

Join @NathanFlurry and the rest of your teammates on  Graphite


Same local pack added several times

Hi
Working with local packs:
cpackget pdsc add <pdsc file>
We got
<pdsc vendor="STMicroelectronics" url=file://localhost/xxx" name="xxx" version="0.0.1"></pdsc>
in the local_repository.pidx
We update the pdsc file, to increase version for example.
We need then to update the version in our local_repository.pidx
cpackget pdsc add <same pdsc file>
We got the same file 2 times:
<pdsc vendor="STMicroelectronics" url=file://localhost/xxx" name="xxx" version="0.0.1"></pdsc>
<pdsc vendor="STMicroelectronics" url=file://localhost/xxx" name="xxx" version="0.0.2"></pdsc>

@VVESTM

Thanks for reporting. I had discussed this use case with @chaws end of last week and I do expect this to be fixed soon.
The basic rule is that you cannot register the same path + ..pdsc  twice.
At the same time we have also discussed that the version attribute in the local_repository.pidx is "meaningless".
While packs installed in $CMSIS_PACK_ROOT are read-only the purpose of the local_repository.pidx is to reference 'rw' packs. Therefore all tools shall fully rely on the latest version described in the pdsc file which may be different from the time of adding the pdsc file.
Please let me know in case you have any comments or questions.

This issue was fixed in https://github.com/Open-CMSIS-Pack/cpackget/pull/74
# List 1.2.4 installed
$ cpackget list
I: Using pack root: "../packroot"
I: Listing installed packs
I<EMAIL_ADDRESS>(installed via /home/chaws/linaro/src/arm/cpackget/testdata/devpack/1.2.4/TheVendor.DevPack.pdsc)

# Copy the PDSC file to a new location so we can edit it
$ cp testdata/devpack/1.2.4/TheVendor.DevPack.pdsc /tmp/

# Update the version to 1.2.5
$ sed -i 's/1.2.4/1.2.5/g' /tmp/TheVendor.DevPack.pdsc

# Installing should be OK
$ cpackget add /tmp/TheVendor.DevPack.pdsc
I: Using pack root: "../packroot"
I: Adding pdsc "/tmp/TheVendor.DevPack.pdsc"

# Make sure it is installed
$ cpackget list
I: Using pack root: "../packroot"
I: Listing installed packs
I<EMAIL_ADDRESS>(installed via /home/chaws/linaro/src/arm/cpackget/testdata/devpack/1.2.4/TheVendor.DevPack.pdsc)
I<EMAIL_ADDRESS>(installed via /tmp/TheVendor.DevPack.pdsc)

# Now update it to 1.2.6
$ sed -i 's/1.2.5/1.2.6/g' /tmp/TheVendor.DevPack.pdsc

# Installing should be prevented this time
$ cpackget add /tmp/TheVendor.DevPack.pdsc
I: Using pack root: "../packroot"
I: Adding pdsc "/tmp/TheVendor.DevPack.pdsc"
I: pdsc already in index

# Make sure it did not get installed, but confirm that the version got updated to 1.2.6
$ cpackget list
I: Using pack root: "../packroot"
I: Listing installed packs
I<EMAIL_ADDRESS>(installed via /home/chaws/linaro/src/arm/cpackget/testdata/devpack/1.2.4/TheVendor.DevPack.pdsc)
I<EMAIL_ADDRESS>(installed via /tmp/TheVendor.DevPack.pdsc)


[ISSUE #3284]Optimizing benchmark code

Make sure set the target branch to develop
What is the purpose of the change
#3284
Brief changelog
XX
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage increased (+0.07%) to 54.292% when pulling bde8cfb404e5b6469361dade2af2e195a57a5d25 on zhangjidi2016:optimize_benchmark into 9e66da4bbcd07dc5abf66f2e970d357217f0500d on apache:develop.

Codecov Report

Merging #3285 (bde8cfb) into develop (9e66da4) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #3285      +/-   ##
=============================================
- Coverage      47.99%   47.96%   -0.03%
+ Complexity      4559     4557       -2
=============================================
  Files            552      552
  Lines          36536    36536
  Branches        4822     4822
=============================================
- Hits           17535    17525      -10
- Misses         16776    16792      +16
+ Partials        2225     2219       -6

Impacted Files
Coverage Δ

...in/java/org/apache/rocketmq/test/util/MQAdmin.java
38.88% <0.00%> (-5.56%)
:arrow_down:

...rocketmq/client/impl/factory/MQClientInstance.java
49.55% <0.00%> (-1.49%)
:arrow_down:

...mq/client/impl/consumer/RebalanceLitePullImpl.java
48.52% <0.00%> (-1.48%)
:arrow_down:

...ocketmq/store/schedule/ScheduleMessageService.java
74.24% <0.00%> (-1.02%)
:arrow_down:

...e/rocketmq/client/impl/consumer/RebalanceImpl.java
39.45% <0.00%> (-0.79%)
:arrow_down:

...he/rocketmq/client/impl/consumer/ProcessQueue.java
58.60% <0.00%> (-0.47%)
:arrow_down:

.../apache/rocketmq/logging/inner/LoggingBuilder.java
63.60% <0.00%> (-0.32%)
:arrow_down:

...mq/client/impl/producer/DefaultMQProducerImpl.java
44.86% <0.00%> (-0.25%)
:arrow_down:

...ent/impl/consumer/DefaultLitePullConsumerImpl.java
69.37% <0.00%> (-0.18%)
:arrow_down:

...etmq/client/latency/LatencyFaultToleranceImpl.java
50.00% <0.00%> (ø)

... and 3 more

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 9e66da4...bde8cfb. Read the comment docs.


The repo is outdated, I forked it

Hi,
I see this repo is very old, so I forked it and made a production-ready container that is building for each new release automatically.
https://github.com/riotkit-org/docker-django-wiki

Hi, I'm glad you found this project useful and forked it. If you want to propose changes to this project use PRs. Thanks.


Add manifests in the resulting docker image

Currently we don't copy manifests in the image and therefore CVO can't deploy it.

This is failing because we don't have the version set in the cluster operator. Let's make sure we fix that before merging this
/hold

/hold cancel, I think other than the nit this should be good to go

/lgtm
/approve

/hold cancel

/test e2e-aws-serial


Fake change

Signed-off-by: Patrick Hodoul<EMAIL_ADDRESS>DO NOT merge.
That's a fake pull request to test the complete Autodesk workflow following the master to main rename.

Success


Add LICENSE file

Add Apache-2.0 LICENSE file

Missed this one.  This one should have been merged last week with all the other feedstocks. Merging now.


Go back to sbt-release-early

See https://github.com/jvican/sbt-release-early/issues/34 for a description.

Pull Request Test Coverage Report for Build 47

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.468%

Totals

Change from base Build 46:
0.0%

Covered Lines:
77

Relevant Lines:
79

💛  - Coveralls


"Examples" property is disabled

When running swagger2markup-cli (1.0.0) with a OAI JSON that contains the "examples" property, the created markup files do not contain this property.
java -jar swagger2markup-cli-1.0.0.jar convert -i weakforce-openapi.json -d /opt
15:16:13.175 [main] INFO  io.swagger.parser.Swagger20Parser - reading from weakforce-openapi.json
15:16:14.106 [main] INFO  i.g.s.m.b.i.asciidoc.AsciiDocBuilder - Markup document written to: /opt/overview.adoc
15:16:14.110 [main] DEBUG i.g.s.i.d.b.PathsDocumentBuilder - Include examples is disabled.
15:16:14.110 [main] DEBUG i.g.s.i.d.b.PathsDocumentBuilder - Create separated operation files is disabled.
Apparently there is no way to re-enabled it from the command line. Find the affected
weakforce-openapi.json.zip
JSON attached.

Sorry for the noise, examples can be enabled via the configuration file parameters.
swagger2markup.generatedExamplesEnabled=true


Create abstract factory for AttributeCodes

In addition to \LizardsAndPumpkins\Product\AttributeCode::fromString($code), add methods for specific attributes like \LizardsAndPumpkins\Product\AttributeCode::price().
These new methods will return the specific attributes. Reference Issue #365

Shouldn't it be implementation specific? I can imagine catalogs which have no prices, even easier no stocks.


Error while saving output file using stardist-predict2d.py

Describe the bug
I'm using stardist's entry point script stardist-predict2d, the script seems to run  until the point of saving the output file..
Raising the following error TypeError: imwrite() got an unexpected keyword argument 'compress'
I don't think there's a 'compress' argument on imwrite()
To reproduce
I'm using some ome.tif files to segment.
And running it from the command line using the following command
stardist-predict2d -i ~/data/plate_2024_01_29_A3_nuclear/ometif/Plate_2024_01_29_A3_s01c1.ome.tif -o ~/data/plate_2024_01_29_A3_nuclear/segmentation/stardist/ -m 2D_versatile_fluo -v
Expected behavior
I would have expected it to run and output the file on the specified directory
Data and screenshots

Environment (please complete the following information):

StarDist version [0.9.1]
CSBDeep version [0.8.0]
TensorFlow version [2.15.0]
OS: [Mac]
GPU memory (if applicable): [ 32 GB M1 mac]

You may run this code and paste the output:
stardist: 0.9.1
csbdeep: 0.8.0
tensorflow: 2.15.0
WARNING:tensorflow:From :2: is_gpu_available (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.config.list_physical_devices('GPU') instead.
tensorflow GPU: False

Hi @migueLib, thanks for raising this issue.

I don't think there's a 'compress' argument on imwrite()

There was until version 2022.4.22 of tifffile (see changelog).
I just replaced the use of compress in one of our example notebooks, but I overlooked the prediction scripts. We will fix this for the next release.
In the meantime, you can try downgrading tifffile to an earlier version, e.g. pip install "tifffile<2022.4.22".
(Beware that this can potentially break another package in your environment.)

@uschmidt83  Thanks a lot for the quick reply!


[ERROR] java.io.FileNotFoundException: https://picasaweb.google.com/data/feed/api/user/default/albumid/default

Hi,
First of all, sorry to post this issue here , in the wrong project because it is about STG Uploader, but I couldn't find a better place to contact you. Second: I would love to help fix this bug and make this app even better. I have tons of experience with Android app development.
So when do I get the error:
Since it happened, it happens every time I try to upload again. So now uploading never works (anymore). It worked the first few times, but at a certain point it stopped working. This is what I see/do:
start app
see it connecting to wifi
see the user interface with the two buttons Start Upload and Settings. I also see that 100 photos are ready to upload.
When I click Start Upload it tries to start upload, and I see the 'small animation', but it does not upload and after a while it just stops.
The logs says:
[INFO] setting wifi enabled state to true
[INFO] Resume org.bostwickenator.googlephotos.LoginActivity
[INFO] Pause org.bostwickenator.googlephotos.LoginActivity
[INFO] Resume org.bostwickenator.googlephotos.MainActivity
[INFO] Response Code : 403
[ERROR] java.io.FileNotFoundException: https://picasaweb.google.com/data/feed/api/user/default/albumid/default
[INFO] Response Code : 403
[ERROR] java.io.FileNotFoundException: https://picasaweb.google.com/data/feed/api/user/default/albumid/default
[INFO] Response Code : 403
What doesn't work:
Clearing the database
Re authorizing Google
What does work (strangely enough):
Installing the app again (without removing it first)

Hi,
Thanks for sharing the code. I'm able to build the apk and install the app on my camera, but it gives me an error with login into Google. I tried removing the C.DAT file, but I get a 401 error on the login screen and saying it is missing oauth. I'm not sure if I'm missing some files/libraries or if I'm just doing something wrong. Maybe you can help me out?
Thanks

There are no keys shared in the repo. Check the AuthenticationManager class https://github.com/Bostwickenator/STGUploader/blob/6328fccea73fb2e3881cf58fb6cdb499aa12f1e4/app/src/main/java/org/bostwickenator/googlephotos/AuthenticationManager.java#L29-L30. If you want to build a functioning version you will need to register your own application with Google. I will add this to the readme.

@Bostwickenator When you register the application with google, which apis did you choose and what application type did you choose? Also I notice that Android apps to not have a client secret. Did you choose Web Application or Other?

Yes choose web. The Android type relies on Google Play Services which we
don't have on the camera.
On Thu, 18 May 2017 at 08:15 Brian Chen<EMAIL_ADDRESS>wrote:

@Bostwickenator https://github.com/bostwickenator When you register the
application with google, which apis did you choose and what application
type did you choose? Also I notice that Android apps to not have a client
secret. Did you choose Web Application or Other?
[image: screen shot 2017-05-18 at 11 14 56 pm]
https://cloud.githubusercontent.com/assets/4782836/26203767/d9907a18-3c1f-11e7-939e-43ecdeefdff5.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Bostwickenator/STGUploader/issues/5#issuecomment-302400191,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABjjjDyLSOjjVF3vj_pTyRYUxAgr8ZiMks5r7ESFgaJpZM4NUaDV
.

Hello. Thanks for this project. Any update on this issue?

 How many photos are you uploading?

I can't seem to repeat it now. It was around 200 fotos last time it happened.


@web5/agent Adding DwnServerInfo to RPC Clients

Added a DwnServerInfo HTTP client to get info from the dwn-server's /info endpoint

export type ServerInfo = {
  /** the maximum file size the user can request to store */
  maxFileSize: number,
  /**
   * an array of strings representing the server's registration requirements.
   *
   * ie. ['proof-of-work-sha256-v0', 'terms-of-service']
   * */
  registrationRequirements: string[],
  /** whether web socket support is enabled on this server */
  webSocketSupport: boolean,
}

This is helpful for retrieving registration requirements and whether the server supports sockets.
There are also 3 different caching interfaces provided to prevent from having to query the server every single time the info is needed. LevelDB Cache, InMemory Cache, and NoOp Cache. We default to InMemory Cache.

@shamilovtim good call outs on the unnecessary caching implementations. We can add ones if there is a need but I think a memory TTL cache is all that we currently need.

Could the two caches somehow reuse the MemoryStore or LevelStore interfaces? It seems like we've written that same API a handful of time already in web5 SDK

The MemoryStore is simply a map where as the TTLCache has a bit more logic to evict data once a size is hit.
I would like to create an issue to create an AsyncTTLCache or something of that nature that would fit an async interface better, effectively a generic version of what DwnServerInfoCacheMemory is doing. We could create that in @web5/common and then replace some of these other wrappers that are just doing the same thing by extending the AsyncTTLCache.
Let me know what you think about the approach and I'll create an issue.


DEPRECATE spack-install.environments in favor of using data_files and commands

This PR deprecates the environments variable and gives examples of how to accomplish the same with commands.
Submission Checklist
Please take the following actions before submitting this pull request.

Fork your PR branch from the Toolkit "develop" branch (not main)
Test all changes with pre-commit in a local branch #
Confirm that "make tests" passes all tests
Add or modify unit tests to cover code changes
Ensure that unit test coverage remains above 80%
Update all applicable documentation
Follow Cloud HPC Toolkit Contribution guidelines #

Force pushed to fix typo in spack command:
s/spack activate/spack env activate


WIP: Charting

[x] Bar
[x] Line
[x] Area
[x] Donut

🏆

@zernonia Is there any chance that the charts will come to the library ? They look amazing and it's a real shame that they have not been on the main branch until now

Glad to hear you are looking forward to this @Veskel01 !  Still have some touchup and consideration to be made, and I'm kinda occupied elsewhere.
However you are welcome to copy/paste the current code into your project if you wan 😁

Glad to hear you are looking forward to this @Veskel01 ! Still have some touchup and consideration to be made, and I'm kinda occupied elsewhere.
However you are welcome to copy/paste the current code into your project if you wan 😁

so are charts stable enough to be used in projects?

Any updates on this one please ?

very excited about this pr. much appreciated

Great work @zernonia 🔥 really needed the charting tool even if i use radix-vue now i need shadcn-vue too ? XD


Add MQTT support

MQTT pubsub driver for Go Cloud Development Kit
REFERENCES:
https://github.com/google/go-cloud/issues/1466
https://github.com/google/go-cloud/pull/2751

How long does it take to review this pr?

I can't give an accurate estimate because we're closing a release, but we check and appreciate  every issue and pr, so don't panic it will be review in a week or so.

@filinvadim, great job! I think the pkg is promising even at its early stage (the project is not very mature). After a quick review of the code there are some things I think could be problematic, such as using infinite waits at the subscribe and publish methods or the lack of parameters
please, let us know when the project is a little more mature and we'll resume the integration process
cheers!

@kpacha this project and the whole code was copied from existing go-cloud pubsub drivers. So according your logic go-cloud immature too :)
I'll fix infinite waits at the subscribe and publish methods or the lack of parameters.

Infinite waits and lack of parameters were fixed.

@kpacha sorry for bothering you by my employer keeps poking me about this pr

@filinvadim we offer professional services and consultancy for Enterprises. This repository is open-source. Get in touch: support AT devops DOT faith.

Guys?

Hello @filinvadim
Thanks for the time you spent on this new functionality. Although we don't have a market for this kind of feature currently, I was initially excited to see MQTT support, and I asked the team to go through this PR.
We take very seriously all the components and functionalities that are added in the gateway as they impact a broad base of users. Some of the things we evaluate internally are performance, long-term support, licensing, production usage of included libraries, etc.
The krakend pubsub component is included in all our KrakenD Enterprise offerings. It's a cornerstone for service connectivity and needs much more attention from our side than other pieces of the gateway as the impact of adding code is more prominent.
The first thing that refrains me for accepting the PR is that the library our project will depend on, cannot be considered to be yet in production. It seems that there is no usage or references to the library, only 1 contributor, and not backed (hosted) by a company:
https://pkg.go.dev/github.com/filinvadim/go-cloud-pubsub-mqtt?tab=importedby
The library has only 5 commits.
When going through the implementation, we've found other problems related to performance and configuration. I do not put in doubt the value of the contribution, and I am sure this solution will work for you, but I am not confident of adding it to all our user base.
My recommendation would be referencing your own component in your main.go (and will be your first imported of the library :wink:). For now we won't merge the feature. We can review it again  when there is official support of Google Cloud to the MQTT functionality.
Спасибо


'react/bridging/CallbackWrapper.h' file not found

What were you trying to do?
Hello here since I switched to react-native 0.69.2 I have this bug that drives me crazy I tested everything nothing happens I even created a react-native project project and just installed react-native-vision- camera I have the same problem..

Reproduceable Code
No response
What happened instead?
I just can't start my application anymore.
Relevant log output
No response
Device
iPhone 13
VisionCamera Version
2.14.0
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

Looks like a fix was merged in react-native. Until it's released, adding this to my post_install block in ios/Podfile fixed it (I have no idea if the issue affects Android too, we're only targeting iOS right now).
installer.target_installation_results.pod_target_installation_results.each do |pod_name, target_installation_result|
  target_installation_result.native_target.build_configurations.each do |config|
    # For third party modules who have React-bridging dependency to search correct headers
    config.build_settings['HEADER_SEARCH_PATHS'] ||= '$(inherited) '
    config.build_settings['HEADER_SEARCH_PATHS'] << '"$(PODS_ROOT)/Headers/Private/React-bridging/react/bridging" '
    config.build_settings['HEADER_SEARCH_PATHS'] << '"$(PODS_CONFIGURATION_BUILD_DIR)/React-bridging/react_bridging.framework/Headers" '
  end
end

Looks like a fix was merged in react-native. Until it's released, adding this to my post_install block in ios/Podfile fixed it (I have no idea if the issue affects Android too, we're only targeting iOS right now).
installer.target_installation_results.pod_target_installation_results.each do |pod_name, target_installation_result|
  target_installation_result.native_target.build_configurations.each do |config|
    # For third party modules who have React-bridging dependency to search correct headers
    config.build_settings['HEADER_SEARCH_PATHS'] ||= '$(inherited) '
    config.build_settings['HEADER_SEARCH_PATHS'] << '"$(PODS_ROOT)/Headers/Private/React-bridging/react/bridging" '
    config.build_settings['HEADER_SEARCH_PATHS'] << '"$(PODS_CONFIGURATION_BUILD_DIR)/React-bridging/react_bridging.framework/Headers" '
  end
end

Hi thank you for your comment but I don't know if it's me who misplaces the piece of code you gave me but it doesn't work can you show me your code please...

@lvothnrv In you ios/Podfile, there should be a line that starts with post_install do |installer|. Put this inside that.

@lvothnrv In you ios/Podfile, there should be a line that starts with post_install do |installer|. Put this inside that.

I did that but it doesn't work..
post_install do |installer|
installer.target_installation_results.pod_target_installation_results.each do |pod_name, target_installation_result|
target_installation_result.native_target.build_configurations.each do |config|
# For third party modules who have React-bridging dependency to search correct headers
config.build_settings['HEADER_SEARCH_PATHS'] ||= '$(inherited) '
config.build_settings['HEADER_SEARCH_PATHS'] << '"$(PODS_ROOT)/Headers/Private/React-bridging/react/bridging" '
config.build_settings['HEADER_SEARCH_PATHS'] << '"$(PODS_CONFIGURATION_BUILD_DIR)/React-bridging/react_bridging.framework/Headers" '
end
end
react_native_post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end

@lvothnrv Did you run pod install again after adding this? If so, then I'm not sure what else to add...

No I didn't.. thank you very much you really save my life again thank you my friend.

@lvothnrv Did you run pod install again after adding this? If so, then I'm not sure what else to add...

No I didn't.. thank you very much you really save my life again thank you my friend.

Upgrading to react-native 0.69.3 seems to resolve the problem

Looks like a fix was merged in react-native. Until it's released, adding this to my post_install block in ios/Podfile fixed it (I have no idea if the issue affects Android too, we're only targeting iOS right now).
installer.target_installation_results.pod_target_installation_results.each do |pod_name, target_installation_result|
  target_installation_result.native_target.build_configurations.each do |config|
    # For third party modules who have React-bridging dependency to search correct headers
    config.build_settings['HEADER_SEARCH_PATHS'] ||= '$(inherited) '
    config.build_settings['HEADER_SEARCH_PATHS'] << '"$(PODS_ROOT)/Headers/Private/React-bridging/react/bridging" '
    config.build_settings['HEADER_SEARCH_PATHS'] << '"$(PODS_CONFIGURATION_BUILD_DIR)/React-bridging/react_bridging.framework/Headers" '
  end
end

This worked on react native 0.70.6 and vision camera 2.15.2.

I added this block to the Podfile, ran pod install, but when I try to generate the build it gives me "Build file not found"

facing same problem any solution?

also still got this

Closing as this is a stale issue - this might have been fixed with the full rewrite in VisionCamera V3 (🥳) - if not, please create a new issue.

I also faced the same issue and I am using react-native-vision-camera ver 2.16.1. I solved the issue by adding s.dependency "ReactCommon" into the node_modules/react-native-vision-camera/VisionCamera.podspec at the last line as shown below.
Pod::Spec.new do |s|
  ...
  s.dependency "React-callinvoker"
  s.dependency "React"
  s.dependency "React-Core"
  s.dependency "ReactCommon"    <== Add this line
end

After made the changes, I execute pod install command then recompile the app again. Hope this will help those who using V2 of react-native-vision-camera.


Updated README with correct info for _order

Does not work with lowercase.

In recent versions, it should work with both cases, at least the test passes:
https://github.com/typicode/json-server/blob/master/test/server/plural.js#L257


[Bug]: Legendary thinks all which-key mappings are in normal mode

Similar Issues

[X] Before filing, I have searched for similar issues.

Neovim Version
NVIM v0.7.0-dev+1443-gdbd5242d8
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/gcc-11 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -DNVIM_TS_HAS_SET_ALLOCATOR -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -Wimplicit-fallthrough -Wsuggest-attribute=pure -Wsuggest-attribute=const -Wsuggest-attribute=malloc -Wsuggest-attribute=cold -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/runner/work/neovim/neovim/build/config -I/home/runner/work/neovim/neovim/src -I/home/runner/work/neovim/neovim/.deps/usr/include -I/usr/include -I/home/runner/work/neovim/neovim/build/src/nvim/auto -I/home/runner/work/neovim/neovim/build/include
Compiled by runner@fv-az32-353

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/share/nvim"

Run :checkhealth for more info

Expected Behavior
I would expect for a mapping created in which-key, which has a mode other than n, would be picked up by legendary as that same mode.
Actual Behavior
legendary thinks that all which-key bindings are in normal mode.
Minimal Configuration to Reproduce
An example of a which-key binding that is not in normal mode is the following example.
require('which-key").register(
    {
        ["d"] = {[["_d]], "Delete (blackhole)"},
    },
    {mode = "v"}
)

When looking in legendary I see the following line:
n       │ d                       │ Delete (blackhole)

Whenever creating a binding with legendary that species a mode, like the following example, everything is fine.
require("legendary").bind_keymap(
    {
        "<C-,>",
        "<Cmd>Legendary keymaps<CR>",
        description = "Show Legendary keymaps",
        mode = {"n", "i", "x"}
    }
)

When looking in legendary I see the following line:
n, i, x │ <C-,>                   │ Show Legendary keymaps

Additional Details and/or Screenshots
No response

Should be fixed, reopen otherwise.

This appears to have regressed -- keymaps without an implementation hit this path  and end up with an empty mode_mapping, then end up with the default value in the formatter.

I think this is the same issue as #271, so I'll close this as a duplicate.


poor communications with Intersect staff

There have been various ways in which comms with Intersect staff haven't been smooth - from meetings cancelled with little notice, to no response being given to questions, to difficulties with getting the staff team to amplify messages about Town Hall, to actually incorrect info being sent out.
There have been a couple of meetings between the Swarm team and the Intersect staff that have touched on these issues, but they don't seem to have led to much improvement.

The Swarm team has a meeting with Jack Briggs on Monday 14th which might address some of these issues

After this weeks call with Jack, I feel more confident we get to start solving our initial communication issues and unsolved topics that we have listed in TH Project Board: https://github.com/Catalyst-Swarm/Intersect-Town-Hall/issues/64


Modifying default user prop value

I may have missed this in the documentation, but I can't figure out how to modify the user object that is defined in initialPage->props->user? I wanted to add in a few more relationships but wasn't sure where in the code the user data is passed to the initialPage props.

Perhaps this is what you're looking for: https://inertiajs.com/shared-data

Thanks @piljac1. That's useful!
Although I'm still not sure where the initialPage props is being set with my app as I want to extend the data that is being loaded into the user prop. I thought it came built into the app setup, but maybe I added it or it's part of Jetstream

And I just confirmed it's because of JetStream.
It has a Middleware ShareInertiaData that was being loaded in.


Softmax does not support non-contiguous arrays

Functions related to softmax (softmax, log_softmax, softmax_cross_entorpy, etc.) cause an error when cuDNN is enabled and the input is non-contiguous. The problem looks same as #850, which was fixed for convolution_2d.

It seems to be solved. Do we need to make a test case? https://github.com/pfnet/chainer/blob/master/cupy/cudnn.py#L229


Feature to track contiguous combo build

Using either standard combos or category rules, award points if a certain number of contributing bonuses are claimed without interruption. eg: three ferries without other claims.

Implemented as level 2 sequences using category logic


Empty group

Would it be a good idea to have an empty group object to make it easier to manipulate some items that go together but don't necessarily fit "inside" of each other. This is what I was trying to achieve with "clearrect" in the file I uploaded in one of the other issues, where clearrect was just a thinly styled object.

The clearrect is a good idea; I would avoid creating concepts like empty groups (as long as I don't find a good way to make them easy to use) since this introduces group/ungroup issues which makes UI design in most applications rather annoying imho.

If you find out what kills the "clearrect" element's styles on loading the file, we could include this

+1 for an empty group / clear rect. It could have an on-hover style so you can see it when dragging things around / moving the mouse. But then becomes invisible when viewing / printing.


Setup continuous integration service

evaluate available services (at least TravisCI should be working for the open source projects fine)
build/test on the pull request including integration tests
support testing with Java 8 and Java 11 (two containers)
check what static code analysis we could add (pmd, findbugs, etc)

Goal: pull request check already works with the submitted PR

I would also like to include CircleCI in the evaulated services


Rolling Flaws app crash

hexan — Yesterday at 2:08 AM
@codeallnight I don't know if you're already aware of this: flipper 1 with the Flaws app running, Flipper 2 sends a Nice FloR-S signal, Flipper 1 reboots with message "MPU fault, possibly stack overflow".

In the latest version Flipper 1 just vibrates but does not display any updated text when a FloR-S signal is sent.


Fix inexact slope for determining pH

Probably fixes #3.
I tried to make this PR as minimal as possible.
Hopefully this change is sufficient! Quick testing shows that the new slope is accurate close to machine precision (relative error bounded by about 1e-14).
I think this should only make pH solves a little bit more accurate where it used to be inaccurate (e.g., for extreme input) at the price of a few extra computations that I hope incur only a marginal cost. This also potentially reduces the number of Newton iterations, so it could turn out a bit more efficient.
But just to be sure, could someone check that I did not mess anything up? Is there a test suite available somewhere?

Hey, nice work! Would suggest also adding this to the more recently updated CO2SYSv3 here: https://github.com/jonathansharp/CO2-System-Extd

Oh I had no idea this existed! I'll take look soon...
Is it worth adding some link pointing users to the new version in the ReadMe?


Extract writing bundle logic into separate package, and decide its location

Right now, almost all commands have implemented their own logic for writing a bundle to disk - either to a user-specified file, or to the bundle store.
We should extract that logic, and simply expose this package to commands in cmd/duffle - there are a few options as to where to actually have this package:

github.com/deislabs/duffle/pkg/<some-bundle-utils>
github.com/deislabs/cnab-go/bundle - expose a method that writes to a file, leaving the recording of the bundle reference in the store to each command, as necessary
both - cnab-go/bundle implements writing a bundle to disk, while deislabs/duffle/pkg/<some-bundle-utils> deals with recording the bundle reference.

Personally, I'd go for 3, as we would expose a clear way of doing so for Duffle commands, while also providing a stripped down version of writing bundles to a file, that doesn't contain any Duffle-related logic.
Thoughts?
EDIT: deislabs/cnab-go/bundle already has logic for writing bundles - https://github.com/deislabs/cnab-go/blob/master/bundle/bundle.go#L42-L59

I vote number 3, seems like it's half done?


[Snyk] Upgrade @headlessui/vue from 1.7.20 to 1.7.21

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade @headlessui/vue from 1.7.20 to 1.7.21.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.

The recommended version was released on a month ago.

Release notes

Package name: @headlessui/vue

1.7.21 - 2024-04-26Fixed

Prevent closing the Combobox component when clicking inside the scrollbar area (#3104)
Don’t unmount portal targets used by other portals (#3144)

1.7.20 - 2024-04-15Fixed

Expose disabled state on <Tab /> component (#2918)
Prevent default behaviour when clicking outside of a DialogPanel (#2919)
Don’t override explicit disabled prop for components inside <MenuItem> (#2929)
Add hidden attribute to internal <Hidden /> component when the Features.Hidden feature is used (#2955)
Allow setting custom tabIndex on the <Switch /> component (#2966)
Forward disabled state to hidden inputs in form-like components (#3004)
Respect selectedIndex for controlled <Tab/> components (#3037)

    from @headlessui/vue GitHub release notes

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

obsoleted by https://github.com/walt-id/waltid-identity/pull/451


Linux CurrentProcessMetrics collects allocated file descriptor table size instead of current usage

Fixed in https://github.com/vostok/metrics.system/commit/073e2a9710bda072a5459d24fa8216c8e9838dca


Update applications-that-can-bypass-wdac.md

Included dbgsrv.exe to the ruleset that was missing & a known WDAC bypass.

Why
Updated the missing WDAC policy

Changes
Included a WDAC policy with dbgsrv.exe
https://fortynorthsecurity.com/blog/how-to-bypass-wdac-with-dbgsrv-exe/

@jgeurten -- please let me know if you have any questions on this one.

@officedocspr4 @aczechowski: I believe @Lo236816 was mistakenly added as a reviewer & don't have permissions to revoke.


Dropdown with unselectable index 0 will not scroll to top on arrow_down with last index selected

Demo:
https://plnkr.co/edit/k2xl65uBG8xsFVaX
Steps to reproduce:

Create a dropdown with an options group at element 1
Fill your dropdown with enough items to trigger a scrollbar (data-size=5 and 10 elements should do)
Open the dropdown and use arrow down to traverse the dropdown until you are at the last item.
Hit arrow down one last time. The selector will select the correct item, but your scroll bar will not be set to the top.

Environment:
Boostrap 4
Boostrap-select 1.13.17
jQuery version 3.4.1
Windows 10
Chrome 83.0.4103.97
Code that seems buggy:
bootstrap-select.js
line: 2876-2881:
else if (e.which === keyCodes.ARROW_DOWN || downOnTab) { // down
            index++;
          if (index + position0 >= that.selectpicker.view.canHighlight.length) index = 0;

          if (!that.selectpicker.view.canHighlight[index + position0]) {
            index = index + 1 + that.selectpicker.view.canHighlight.slice(index + position0 + 1).indexOf(true);
          }
        }

This code selects the first highlightable index. In this case index = 1
Further down in the scroll to top code:
line: 2901-2911:
else if (e.which === keyCodes.ARROW_DOWN || downOnTab) { // down
          // scroll to top and highlight first option
          if (index === 0) {
            that.$menuInner[0].scrollTop = 0;

            liActiveIndex = 0;
          } else {
            activeLi = that.selectpicker.current.data[liActiveIndex];
            offset = activeLi.position - that.sizeInfo.menuInnerHeight;

            updateScroll = offset > scrollTop;
          }

Only scrolls to top if index === 0. Since index 0 is not highlightable. This has to check for the first highlightable index and not 0.
BR,
Lucas

Tried the changes locally, seems to be working. Thanks!

Released in v1.13.18!

I think I found a simple solution to this problem.
$('#country').selectpicker('destroy');
this code solves the problem.
Maybe you need to make similar changes as well.
$('#country').empty();
$('#country').html('- İl Seçiniz -- Please selecet Country-');
$("#country").val(-1);
In this way scroll to top


PWM is not atomic/sync with WFI and cleared clk_sys_pwm

When sleeping with disabled clk_sys_pwm there is some undefined result for PWM-channels.
I set_duty(0) or disable() the channel before going to sleep, but sometimes the LEDs stay on the old duty, rare it is lighting with full power instead going off.
If I do about 2000 or more asm::nop() before wfi() the chance of occurrence is lower, but not gone.
With clk_sys_pwm-bit set, there is no problem.
When I interpret the datasheet correctly, there should be no problem with disabling pwm during sleep and reusing it afterwards.

I guess this is just the way the hardware works: If you disable clk_sys_pwm, that doesn't magically the value sent by the pwm peripheral to the i/o pin circuit. And without a clock, the pin will stay high or low, depending on the current value the moment the clock stopped.
Also, setting set_duty(0) internally just sets the CC register, which doesn't take effect immediately. The value is double-buffered and only takes effect when the PWM counter wraps around. (See datasheet section <IP_ADDRESS>. Double Buffering for a better explanation.)
Maybe your 2000 cycle delay is often, but not always, long enough so the 0 value got effective before you turn of the clock? To be sure you'd have to wait one full PWM cycle. How long that takes depends on your PWM config.

Yes this is the case, but the API provides a disable() which is the same like duty(0) and it doesn't provide something to disable PWM before sleep without invalidating the settings, because it is owned memory. Per register you could disable PWM but in Rust this stuff is already owned, so you can not modify.

Slice::disable() does set csr.en to false. Does that set the pin to low? In the datasheet, I can't find a clear description what that bit does, exactly.

I believe that could be done by polling has_overflown if it were reading intr instead of ints.

Interesting observation. Is there any use case where reading ints makes sense for implementing has_overflown? I tend to think this is a bug and should be changed.

I tend to think this is a bug and should be changed.

https://github.com/rp-rs/rp-hal/pull/562

Slice::disable() does set csr.en to false. Does that set the pin to low? In the datasheet, I can't find a clear description what that bit does, exactly.

Thanks for reactions of all of you.
Well, could not try, I think there is no chance to disable the slice, while there are channel assignments:
cannot borrow `*pwm3` as mutable more than once at a time

Or without using refs:
borrow of partially moved value: `pwm3`
partial move occurs because `pwm3.channel_a` has type `rp_pico::rp2040_hal::pwm::Channel<rp_pico::rp2040_hal::pwm::Pwm3, rp_pico::rp2040_hal::pwm::FreeRunning, rp_pico::rp2040_hal::pwm::A>`, which does not implement the `Copy` trait

Would work only if I drop all this before disable() and reassign and re-configure after enabling it again. But this is overhead and if I do dropping, in this situation I am in no need to disable it any longer, because then there is nothing left which needs to be disabled when calling wfi().
What happens to PWM, if I disable the used pin?
Compiling is possible:
Channel::output_to() returns e.g. Pin<Gpio25, Function<Pwm>> and on this pin I can call Pin::into_pull_down_disabled().
After wakeup I can call e.g. Channel::output_to(Pin<Gpio25, PullDownDisabled>).
Maybe this is the way to go, and let the PWM part do whatever it likes to do without a clock and without output pin.
But not sure if you should name it disable when there is nothing disabled ;-)
Also when it is not possible to disable a setup and used slice, how do you want to sync the slices (called channels in datasheet) like it is described in PWM: EN Register...?

This register aliases the CSR_EN bits for all channels.
Writing to this register allows multiple channels to be enabled
or disabled simultaneously, so they can run in perfect sync.
For each channel, there is only one physical EN register bit,
which can be accessed through here or CHx_CSR.

The has_overflown() might be interesting if you really want to wait for a defined state, but in which state PWM is at the interrupt, I guess, depends on the SliceMode.
I want it to stop powering immediately and any signal glitches are of no interest.

What happens to PWM, if I disable the used pin?

It continues running, unaware that the pin is no longer following it's commands.

Channel::output_to() returns e.g. Pin<Gpio25, Function> and on this pin I can call Pin::into_pull_down_disabled().
After wakeup I can call e.g. Channel::output_to(Pin<Gpio25, PullDownDisabled>).

Indeed, TBH output_to only does an into_mode so you could skip this call completly and do the let p: Pin<_, FunctionPwm> = p.into_mode(); yourself and get the same result.

But not sure if you should name it disable when there is nothing disabled ;-)

Indeed Channel::disable may be a bit misleading. On the other hand, the doc explicitly says it's not actually disabling anything.
Note that Slice::disable effectively disable the slice as expected.

I want it to stop powering immediately and any signal glitches are of no interest.

I think disabling the pin in a given state is your way to go then :)

But not sure if you should name it disable when there is nothing disabled ;-)

I fully agree! Unfortunately, we don't really have a choice here: Note that this is inside impl embedded_hal::PwmPin for Channel, so the name of the function is defined by embedded-hal.
The only alternative would be to not implement that trait at all.
https://github.com/rust-embedded/embedded-hal/pull/430
→ The new trait in embedded-hal 1.0 probably won't have that disable function, for reasons related to this issue. "I think they were underspecified (for example, is the pin high or low when disabled?), and not very useful in practice."

borrow of partially moved value: pwm3

It might not fit well to your code layout, but it may be possible to avoid destructuring.
Instead of this:
let mut channel = pwm.channel_a;
channel.set_duty(6000);
[...]
pwm.disable(); // <-- doesn't work

you could do this:
pwm.channel_a.set_duty(6000);
[...]
pwm.disable(); // <-- still works!

you could do this:
pwm.channel_a.set_duty(6000);
[...]
pwm.disable(); // <-- still works!

Oh, yeah ;-) I oversaw that. There is no need to have the channel-struct all the time available, once registers are set.
And the setup is staying in registers and not the struct... there are only methods with bit-banging.
Thank you very much.


8K audio preprocess

What is the recommended fft_size and mel size for 8K audio preprocess? I noticed that when using fft size 1024 and mel size 80, the last few dimensions of mel features are always 0. I guess it is due to the low sample rate of the audio.  While is it normal or not?

I've tried 8k, fft_size 1024 and mel_size 80 are ok for me. What's your hop size? 100 or 128 or some other value?

I've never tried with 8kHz but why don't you use the same time length?


Configuration file(s) and config document schemas would be very helpful

This is a Feature Request

What would you like to be added
A reference to yaml config file structures, specifically from within the kubeadm reference pages. More specifically the kind: InitConfiguration and kind: ClusterConfiguration blocks. But finding a reference to any structures has proven very difficult.

Why is this needed
Perhaps it's because I'm new to kubeadm and k8s, but it's proven very difficult to find a schema of these config structures. The output of kubeadm config print join-defaults has a structure that seems to differ from that of the kubeadm join command reference page.
i.e. print join-defaults
apiVersion: kubeadm.k8s.io/v1beta2
caCertPath: /etc/kubernetes/pki/ca.crt
discovery:
  bootstrapToken:
    apiServerEndpoint: kube-apiserver:6443
    token: abcdef.0123456789abcdef
    unsafeSkipCAVerification: true
  timeout: 5m0s
  tlsBootstrapToken: abcdef.0123456789abcdef
kind: JoinConfiguration

discovery.bootstrapToken.token but --discovery-token is listed on the reference page. Not sure if these are even. synonymous, but, just an example.
I also notice nodeRegistration key in both JoinConfiguration and InitConfiguration defaults. How do these relate or how does one take precedence over the other? Is there a place to reference these keys and the schemas of these different configuration ("kind" key) yaml documents?
Comments

/triage feature
/sig cluster-lifecycle
There actually was an effort to generate and publish this config. See https://github.com/kubernetes-sigs/reference-docs/pull/176.

we are already tracking improvements in:
https://github.com/kubernetes-sigs/reference-docs/pull/176
https://github.com/kubernetes/website/issues/24558
/kind support
/close

A reference to yaml config file structures, specifically from within the kubeadm reference pages. More specifically the kind: InitConfiguration and kind: ClusterConfiguration blocks. But finding a reference to any structures has proven very difficult.
...
Perhaps it's because I'm new to kubeadm and k8s, but it's proven very difficult to find a schema of these config structures.

we do occasional requests to improve this, but not very often.
users that are having troubles ask in #kubeadm on k8s slack.

discovery.bootstrapToken.token but --discovery-token is listed on the reference page. Not sure if these are even. synonymous, but, just an example.

our docs instruct users not to mix flags and config files.
general rule is that you should be passing --config only.

I also notice nodeRegistration key in both JoinConfiguration and InitConfiguration defaults. How do these relate or how does one take precedence over the other? Is there a place to reference these keys and the schemas of these different configuration ("kind" key) yaml documents?

<EMAIL_ADDRESS>- NodeRegistration, that holds fields that relate to registering the new node to the cluster; use it to customize the node name, the CRI socket to use or any other settings that should apply to this node only (e.g. the node ip).

the godoc pages are linked from both the kubeadm init and join pages.

side note:
looks like godoc changed their structure, so now our link from the kubeadm join page no longer goes to the list of versions at the bottom
the old link here:
https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/#config-file
is:
https://godoc.org/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm#pkg-subdirectories

but there is no longer an anchor called pkg-subdirectories

the idea is that you should:

pick an API version from godoc e.g<EMAIL_ADDRESS>read the general info at the top
then find a structure that you want to use e.g<EMAIL_ADDRESS>and read the field comments.

most users don't have troubles following that.


FATAL LOCALHOST FAILED

Sorry, have failed during installation, can you help?
fatal: [localhost]: FAILED! => {"failed": true, "msg": "The conditional check 'enable_pptpd_support and ansible_distribution == 'Ubuntu' and ansible_distribution_version >= '14'' failed. The error was: error while evaluating conditional (enable_pptpd_support and ansible_distribution == 'Ubuntu' and ansible_distribution_version >= '14'): 'enable_pptpd_support' is undefined\n\nThe error appears to have been in '/home/victor/radiusdesk-installer/roles/radiusdesk/tasks/main.yml': line 39, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: RadiusDesk PPTPD Setup (Ubuntu 14+)\n  ^ here\n"}

What OS are you running the Installer on? Also confirm that your version of Python is 2.7.9+

It was linux mint, i reinstall in ubuntu 14.04 and works fine, thank you.

Okay great. Also, if you have some time, we could work on a Linux Mint port :)

Overload at this moment, but i will think on it.
Ubuntu 16.04 it´s a good goal too.
You give us a very nice job!! thank you  for your efforts.

Okay, Ubuntu 16+ support will be added later today or tomorrow, haven't gotten around to push many of the changes to github. Thanks for the feedback as well.


185532784 Prevent graphs from corrupting documents when all points are removed from a linked dataset.

PT Story: https://www.pivotaltracker.com/story/show/185532784
This PR prevents the graph from recomputing its axes ranges when there are no points to plot. Previously, this was resulting in null values being assigned to the axes' mins and maxes, which resulted in corrupted documents.

The "restore points to canvas" cypress test has failed randomly for me often now. I did get it fail locally at least once too, but unfortunately I was too busy to track it down.
@tejal-shah


[Bug]: Issue building docker-compose.server.example.yml file

What happened?
I am attempting to run the docker-compose file that pulls from the hosted images, with the eventual goal of having Chroma run in a docker-compose.yaml file in my own directory without needing to clone Chroma and run it separately.
after cloning chroma, I am running the command:
docker compose -f docker-compose.server.example.yml up --build
Worth noting that I have tried pre-building the image with arm64:
export DOCKER_BUILDKIT=1 ,
docker buildx build --platform linux/arm64 -t my_chroma_server .
and then adjusting the docker-compose file, like so:
services:
  server:
    image: my_chroma_server

This did not resolve the issue, but it did prevent the image from exiting, and I was able to interact with Chroma.
Versions
Chroma: 0.3.25
Python: 3.11.4
Node: 18.16.1
MacOS: 12.5 Monterey (M1 Pro chip)
Relevant log output
chroma-server-1      | Collecting numpy
chroma-server-1      |   Downloading numpy-1.25.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.6 MB)
chroma-server-1      |      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.6/17.6 MB 1.3 MB/s eta 0:00:00
chroma-server-1      | Building wheels for collected packages: hnswlib
chroma-server-1      |   Building wheel for hnswlib (pyproject.toml): started
chroma-server-1      |   Building wheel for hnswlib (pyproject.toml): finished with status 'error'
chroma-server-1      |   error: subprocess-exited-with-error
chroma-server-1      |
chroma-server-1      |   × Building wheel for hnswlib (pyproject.toml) did not run successfully.
chroma-server-1      |   │ exit code: 1
chroma-server-1      |   ╰─> [55 lines of output]
chroma-server-1      |       running bdist_wheel
chroma-server-1      |       running build
chroma-server-1      |       running build_ext
chroma-server-1      |       creating tmp
chroma-server-1      |       gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.10 -c /tmp/tmpjdj5qscd.cpp -o tmp/tmpjdj5qscd.o -std=c++14
chroma-server-1      |       gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.10 -c /tmp/tmpghoopc6g.cpp -o tmp/tmpghoopc6g.o -std=c++11
chroma-server-1      |       Traceback (most recent call last):
chroma-server-1      |         File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
chroma-server-1      |           main()
chroma-server-1      |         File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
chroma-server-1      |           json_out['return_val'] = hook(**hook_input['kwargs'])
chroma-server-1      |         File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
chroma-server-1      |           return _build_backend().build_wheel(wheel_directory, config_settings,
chroma-server-1      |         File "/tmp/pip-build-env-ivhgsf7y/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 416, in build_wheel
chroma-server-1      |           return self._build_with_temp_dir(['bdist_wheel'], '.whl',
chroma-server-1      |         File "/tmp/pip-build-env-ivhgsf7y/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 401, in _build_with_temp_dir
chroma-server-1      |           self.run_setup()
chroma-server-1      |         File "/tmp/pip-build-env-ivhgsf7y/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup
chroma-server-1      |           exec(code, locals())
chroma-server-1      |         File "<string>", line 116, in <module>
chroma-server-1      |         File "/tmp/pip-build-env-ivhgsf7y/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 107, in setup
chroma-server-1      |           return distutils.core.setup(**attrs)
chroma-server-1      |         File "/tmp/pip-build-env-ivhgsf7y/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
chroma-server-1      |           return run_commands(dist)
chroma-server-1      |         File "/tmp/pip-build-env-ivhgsf7y/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
chroma-server-1      |           dist.run_commands()
chroma-server-1      |         File "/tmp/pip-build-env-ivhgsf7y/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
chroma-server-1      |           self.run_command(cmd)
chroma-server-1      |         File "/tmp/pip-build-env-ivhgsf7y/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1234, in run_command
chroma-server-1      |           super().run_command(command)
chroma-server-1      |         File "/tmp/pip-build-env-ivhgsf7y/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
chroma-server-1      |           cmd_obj.run()
chroma-server-1      |         File "/tmp/pip-build-env-ivhgsf7y/overlay/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 343, in run
chroma-server-1      |           self.run_command("build")
chroma-server-1      |         File "/tmp/pip-build-env-ivhgsf7y/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
chroma-server-1      |           self.distribution.run_command(command)
chroma-server-1      |         File "/tmp/pip-build-env-ivhgsf7y/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1234, in run_command
chroma-server-1      |           super().run_command(command)
chroma-server-1      |         File "/tmp/pip-build-env-ivhgsf7y/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
chroma-server-1      |           cmd_obj.run()
chroma-server-1      |         File "/tmp/pip-build-env-ivhgsf7y/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 131, in run
chroma-server-1      |           self.run_command(cmd_name)
chroma-server-1      |         File "/tmp/pip-build-env-ivhgsf7y/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
chroma-server-1      |           self.distribution.run_command(command)
chroma-server-1      |         File "/tmp/pip-build-env-ivhgsf7y/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1234, in run_command
chroma-server-1      |           super().run_command(command)
chroma-server-1      |         File "/tmp/pip-build-env-ivhgsf7y/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
chroma-server-1      |           cmd_obj.run()
chroma-server-1      |         File "/tmp/pip-build-env-ivhgsf7y/overlay/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 84, in run
chroma-server-1      |           _build_ext.run(self)
chroma-server-1      |         File "/tmp/pip-build-env-ivhgsf7y/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
chroma-server-1      |           self.build_extensions()
chroma-server-1      |         File "<string>", line 103, in build_extensions
chroma-server-1      |         File "<string>", line 70, in cpp_flag
chroma-server-1      |       RuntimeError: Unsupported compiler -- at least C++11 support is needed!
chroma-server-1      |       [end of output]
chroma-server-1      |
chroma-server-1      |   note: This error originates from a subprocess, and is likely not a problem with pip.
chroma-server-1      |   ERROR: Failed building wheel for hnswlib
chroma-server-1      | Failed to build hnswlib
chroma-server-1      | ERROR: Could not build wheels for hnswlib, which is required to install pyproject.toml-based projects
chroma-server-1      |
chroma-server-1      | [notice] A new release of pip is available: 23.0.1 -> 23.1.2
chroma-server-1      | [notice] To update, run: pip install --upgrade pip
chroma-server-1      | 2023-06-21 21:39:09 INFO     chromadb.telemetry.posthog Anonymized telemetry enabled. See https://docs.trychroma.com/telemetry for more information.
chroma-server-1      | qemu: uncaught target signal 11 (Segmentation fault) - core dumped
chroma-server-1      | /docker_entrypoint.sh: line 5:    54 Segmentation fault      uvicorn chromadb.app:app --workers 1 --host <IP_ADDRESS> --port 8000 --proxy-headers --log-config log_config.yml
chroma-server-1 exited with code 139

@petersolimine can you try docker compose up -d inside chroma?

I updated the docs to remove this while we sort it out - sorry about this. https://github.com/chroma-core/docs/pull/86

@petersolimine can you try docker compose up -d inside chroma?

Yes, to confirm, this has worked for me with no issue.
The issue is only when trying to run the hosted images. No worries!

Update:
I've successfully built my own image, peterbeulr/chroma:latest, and it is operating as expected. I adjusted the Dockerfile to explicitly include a version of gcc that supports C++11 and set it to be used by default. Here's the Dockerfile:
FROM python:3.10-slim-bullseye as builder

RUN apt-get update && apt-get install -y \
    build-essential \
    gcc \
    g++ && \
    rm -rf /var/lib/apt/lists/*

RUN mkdir /install
WORKDIR /install

COPY ./requirements.txt requirements.txt

RUN pip install --no-cache-dir --upgrade --prefix="/install" -r requirements.txt

FROM python:3.10-slim-bullseye as final

RUN apt-get update && apt-get install -y \
    gcc \
    g++ && \
    rm -rf /var/lib/apt/lists/*

RUN mkdir /chroma
WORKDIR /chroma

COPY --from=builder /install /usr/local
COPY ./bin/docker_entrypoint.sh /docker_entrypoint.sh
COPY ./ /chroma

EXPOSE 8000

CMD ["/docker_entrypoint.sh"]

When I execute docker-compose -f docker-compose.server.example.yml up --build using my server image (peterbeulr/chroma:latest instead of ghcr.io/chroma-core/chroma:latest), the hnswlib build completes without issues.

@petersolimine you are THE MAN

@jeffchuber Should I open a PR for this (Dockerfile change) or close out?

@petersolimine yea if you can open a PR that'd be great


The result should be separated by 'release' and 'debug'

After built the project, the result should be classified as 'release' or 'debug' version, by place the target into different folders, like 'pkg/release' and 'pkg/debug'

Not sure about this. It is easier having to look in just one place after the build.

Some platform might have the same target name for 'release' and 'debug' build.

I think only the most recent build should be in the pkg/ directory. Otherwise there could be a confusion, and the developer could debug the wrong build, or publish an old build. Older builds should be deleted before the start of the next build.

Keeping all packages in the same dir for now.