utils/random: implement tests, fix generated ID length

Tests were failing, because ID generated was up to 63 characters in length

How come Travis is still failing on the same issue?

That's also a mystery to me:
~/dev/go/src/github.com/TheThingsNetwork/ttn issue/587-fix-randomizers*
❯ for i in {1..100}; do go test ./api/broker/; done
ok      github.com/TheThingsNetwork/ttn/api/broker      0.274s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.271s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.274s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.259s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.264s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.268s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.275s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.271s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.268s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.300s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.272s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.258s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.275s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.275s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.273s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.256s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.276s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.272s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.271s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.276s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.274s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.274s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.275s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.278s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.276s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.274s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.269s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.273s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.257s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.267s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.272s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.274s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.271s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.281s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.280s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.254s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.272s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.274s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.267s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.269s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.272s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.277s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.277s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.262s
ok      github.com/TheThingsNetwork/ttn/api/broker      0.276s

After repeating the test a few thousand times, here's the invalid IDs I got:
Invalid: -rv0dqbmdsf8i58xm_3iak
Invalid: _yogvog8vyidgu
Invalid: -mvxo0m
Invalid: -gccrnuekwb
Invalid: -5c2ntwxaq
Invalid: _zpo
Invalid: _fike9qg
Invalid: _pf48kjrt3ok-sps
Invalid: _j7r5c4kdqf5siwjf2vtoowf
Invalid: -giray9hmgw94ep5ay
Invalid: -0yhxcskzqeqvmqulgic
Invalid: _vy_92lelviwnwxxzpc0cs94lnuq
Invalid: -zg9lxmk_jpkpszdqfswewnysruy
Invalid: -yx7s55u8gl3mbxdvx1_rm1tvu1k
Invalid: -nbh28cpooumk7cmiw45iev2bc40ad
Invalid: _82umzf5h9lfl949aamatx6kri8k
Invalid: _nupqqs9a6uzgabyvclbep3jqx
Invalid: _rrcqb_h8hcnasplqrjiqp
Invalid: _fpjphoyc-gekaj

The issue is with patterns starting with double - _
that was my initial idea, but once I noticed the ID length I immediately assumed it's the issue(it also happened much more often than this one)

Coverage decreased (-0.4%) to 74.686% when pulling<PHONE_NUMBER>3ec75b77108d79130e87f3951a65fc on issue/587-fix-randomizers into e704c312f6380e854c2a1f2384b5dadb0ab0b644 on develop.

+1 for https://github.com/TheThingsNetwork/ttn/pull/592/commits/6ff132e0e982ddb8db453327d28271b4d9653ad3. Let's keep things simple and don't waste time on this stuff

Coverage decreased (-0.4%) to 74.752% when pulling 6ff132e0e982ddb8db453327d28271b4d9653ad3 on issue/587-fix-randomizers into e704c312f6380e854c2a1f2384b5dadb0ab0b644 on develop.


"Not connected" problem

I can't connect to electrum btcp servers
There is "Not connected" message in the bottom left corner of the GUI.
The server address is electrum.btcprivate.org, port is 5222.
How can I establish connection?

Same error. imho problem is caused by Roskomnadzor. What about wallet safety with using free proxy?

Yeah, think so too. What proxy should I use. I tried several, but still have no connection

Guys, working on other PC with other internet provider. Maybe only PC, maybe provider...

Balance opened, but blocks cant synchronize. Tryed proxies, but wallet disconnect at syncronizing moment...
How can we transfer coins to other wallet?

Wallet does not work, how fix it?
not connected

Only proxy...Tried like 10 proxy, but disconnect alltime. Try more and u will connect!
https://yadi.sk/i/fqw3GdHF3Uqc2W

still not working


Delete duplicated files in dreamview

The files from the following two paths have already been moved to 'modules/dreamview/backend/common,' the files in the original paths are no longer in use. However, they have not been deleted.

modules/dreamview/backend/map  ----->modules/dreamview/backend/common/map_service
modules/dreamview/backend/teleop ----->modules/dreamview/backend/common/teleop

Yes, this is a bug and will be fixed later


2 dots appear at once

http://kenwheeler.github.io/slick/
Go to Single page Demo.
Click on a dot in the dot list.

The dot doesn't clear, so you get two dots!

Android 6, Chrome 46.0
(Thanks so much for this lib BTW!)

Verified on Android 5.1, Chrome 47

+1

Verified on two mobile platforms

Nexus 5 - Android 4.4.2 - Chrome
iPod Touch - Safari

I am facing same problem with jquery 1.11.1.
But it works with fine with jQuery 1.8.3


Create detailed forward plan for full XBRL integration

Currently we are prototyping a subset of FERC Form 1 tables to test the process for integrating XBRL tables into PUDL (1531 and 1538). Once this is completed we should have a better understanding of what this process will entail, and be able to come up with a better plan forward.

[ ] Outline any irregularities or issues that will impede full XBRL integration
[ ] Create testing process to verify status of integration
[ ] Coordinate with RMI team on priorities

List of tables used by RMI
Respondent ids and names

f1_respondent_id

Balance sheet (assets) breakdown

f1_comp_balance_db
f1_utltyplnt_smmry
f1_plant_in_srvce
f1_accumdepr_prvsn

Balance sheet (liabilities) breakdown

f1_bal_sheet_cr
f1_retained_erng

Income statement breakdown

f1_income_stmnt
f1_incm_stmnt_2
f1_elctrc_oper_rev
f1_dacs_epda
f1_elc_op_mnt_expn

Plant tables, for both balance sheet and income statement breakdown, to be overwritten by ferc-eia-deprish in the future

f1_steam
f1_hydro
f1_pumped_storage
f1_gnrt_plant

For purchased power breakout:

f1_elctrc_erg_acct
f1_purchased_power

Additional table handed off to optimus:

f1_cash_flow

Additional table handed to transmission team:

f1_xmssn_line

Have looked at, might use in the near future:

f1_sales_by_sched
f1_othr_reg_assets
f1_othr_reg_liab

Closing to track here.


Consider using Discriminator schema instead of oneof

In schemas/interfaces_schema.json the items of the property chains could be a discriminator schema (tagged union) instead of expressed as a big oneof.
See https://jsontypedef.com/docs/jtd-in-5-minutes/#discriminator-schemas

It actually seems this is a JTD feature rather than a json schema feature.


Modify the screenshot of Freemind theme.

I changed the screenshot of Freemind theme so as to show the build-in color themes.

The size of screenshot should be 800x500


⚠ Bofrost.be has degraded performance

In 8272424, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 864 ms

Resolved: Bofrost.be performance has improved in c7bbbb9.


New impacts with Libyang 2.2.8

Hello there !
Just a heads-up, it seems with latest libyang release there are some breaking changes that needs adaption in the lib
https://github.com/CESNET/libyang/releases/tag/v2.2.8
Changes are detailed in that document:
https://github.com/CESNET/libyang/blob/master/doc/transition_2_3.dox
I had to make a few adaptations in my software, mostly around the log callback and replacing LYD_NEW_PATH_OUTPUT      by
LYD_NEW_VAL_OUTPUT but I guess there could be more impacts in libyang-cpp

An updates? :)

Yeah, sorry for this. It's a work in progress. You can follow the development here, and after clicking on the most recent one, there's a download button in there. Right now you can get the latest and greatest like this:
git fetch origin refs/changes/53/7353/6 && git checkout FETCH_HEAD

Done.


Cellpose 3.0.8

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Thanks @carsen-stringer

thank you for your help!


Calling Boogie from emacs on Mac OS X (or any other unix system)

I want to call Boogie from Emacs (using the boogie-friends package) on Mac OSX. I ended up stealing my way from Dafny, and created the following wrapper file
#!/usr/bin/env bash

# A wrapper calling Boogie.exe using mono

MONO=$(which mono)

# find the source directory for this script even if it's been symlinked [issue #185]
# from https://stackoverflow.com/questions/59895/
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do
    DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
    SOURCE="$(readlink "$SOURCE")"
    [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
done
BOOGIE_ROOT="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
BOOGIE="$BOOGIE_ROOT/Boogie.exe"

if [[ ! -x "$MONO" ]]; then
    echo "Error: Dafny requires Mono to run on non-Windows systems."
    exit 1
fi

if [[ ! -e "$BOOGIE" ]]; then
    echo "Error: Dafny.exe not found at $BOOGIE."
    exit 1
fi

"$MONO" "$BOOGIE" "$@"

and then set up   flycheck-boogie-executable accordingly. However, I wonder if there was a more canonical approach available?

I have the exact same script adapted from Dafny on my machine :)
I think it should be added to the repository. Any objections?
On Ubuntu, I noticed that you can directly call the Boogie.exe file (and point flycheck-boogie-executable to it) which invokes it using mono.


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_800us6soae/clone/recipe/meta.yaml:15: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_800us6soae/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_800us6soae/clone/recipe/meta.yaml:28: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_800us6soae/clone/recipe/meta.yaml:32: incorrect_license: The recipe's about/license key is not an SPDX compliant license or license exception, closest match: NGPL
WARNING: /tmp/abs_800us6soae/clone/recipe/meta.yaml:35: missing_description: The recipe is missing a description
ERROR: /tmp/abs_800us6soae/clone/recipe/meta.yaml:35: missing_dev_url: The recipe is missing a dev_url
ERROR: /tmp/abs_800us6soae/clone/recipe/meta.yaml:35: missing_documentation: The recipe is missing a doc_url or doc_source_url
Errors were found


question around release v4.3.0

I have a short question around release v4.3.0:
I see the release branch has been merged to master branch: https://github.com/ONLYOFFICE/Kubernetes-Docs/commit/cd7384a2198ff108299397ef38a828566283b3bb
But currently I don't see a tag v4.3.0 on the repository. When will you tag the repository?
@agolybev @alexonlyoffice

@wkloucek, thank you for reporting. Tag 4.3.0 was added.

Thanks, that was quick


fail to import context.json file

A recent commit (feceb8b2c86f3a2935d9f52143a8a838a51abe48) tries to import required file at the correct directory.
It does work when importing a file with a relative path (as the relative path is built from the current path).
But it does not work when using an absolute path.
I call conventional-changelog from /home/user/dev/myproject/ and the json file is then at /home/user/dev/myproject/context.json.
Using the following command will work as context.json path will be built as /home/user/dev/myproject/ + context.json (I guess)  which equals to /home/user/dev/myproject/context.json.
changelog [...] -c context.json
But the following command will not work as context.json path will be built as /home/user/dev/myproject/ + /home/user/dev/myproject/context.json (I guess) which equals to /home/user/dev/myproject/home/user/dev/myproject/context.json.
changelog [...] -c /home/user/dev/myproject/context.json

Fix welcome

Please include tests to prove it actually works. I also forgot to add some tests for feceb8b2c86f3a2935d9f52143a8a838a51abe48

I won't be the one who writes the fix, I'm really not skilled enough for that. Sorry.


Continuous Query Every Minute grouped by 5m

We are developing an alerting system, which checks whether the threshold is crossed in the last 5 minutes. However, we want to test this every minute whether the last five minutes has crossed a specific interval.
Currently this is not possible in continuous queries.
Even when we give "group by time(5m)", and have compute-runs-per-interval as 10 and compute-no-more-than set to 1m, even though it would run every minutes, it would only store once in 5 minutes. ie. we will find 01:05 and then 01:10.
Our requirement is to have five entries
01:05 (this has avg of 01:01 till 01:05)
01:06 (this has avg of 01:02 till 01:06)
01:07 (this has avg of 01:03 till 01:07)
...
01:10 (this has avg of 01:06 till 01:10)
Such a feature would be very helpful.
Refer discussion at google groups

+1
I have a few examples where I'd like to calculate info on the previous hour storing the result into another measurement.

rolling averages response body sizes
distinct items

An explicit CQ interval would make this possible instead of deriving it off of group by time.

+1

This short of thing is now possible with Kapacitor. Example TICKscript to compute the mean of the last 5 minutes every minute
batch
    |query(' SELECT mean(value) FROM mymeasurement')
        .period(5m)
        .every(1m)
    |influxDBOut()
        .database('mydb')
        .retentionPolicy('myrp')
        .measurement('anothermeasurement')
        .precision('s')

The alerting piece is also possible see https://docs.influxdata.com/kapacitor/latest/nodes/alert_node/ for more info

This is now possible with InfluxDB CQs, but does require multiple CQs.
In 0.13, the offset of GROUP BY time intervals can be set, so you would have five CQs (paraphrasing):
SELECT ... INTO ... FROM ... GROUP BY time(5m), *
SELECT ... INTO ... FROM ... GROUP BY time(5m, 1m), *
SELECT ... INTO ... FROM ... GROUP BY time(5m, 2m), *
SELECT ... INTO ... FROM ... GROUP BY time(5m, 3m), *
SELECT ... INTO ... FROM ... GROUP BY time(5m, 4m), *


Updating service worker on every deployement.

Hi,
I'm trying to update my service worker on every fresh deployment on firebase server but I can't find any way on how to do it.

@jeffposnick

Hello @rawris—The most relevant thing to keep in mind when ensure your service worker updates in a timely manner when using Chrome is to disable HTTP caching of your service-worker.js file on your server. There's more information at https://stackoverflow.com/questions/38843970/service-worker-javascript-update-frequency-every-24-hours/38854905#38854905
Configuring this in Firebase is fairly straight forward; here's an example (swap out /sw.js for /service-worker.js): https://github.com/googlearchive/workbox-microsite/blob/eaee7d0899c582afe1b2a327777c1906368c1624/firebase.json#L4


Lambda ValidationException when setting fileSystemConfigs

Describe the bug
When I try and deploy a Lambda with the ACK using the fileSystemsConfigs block, I get a status 400 ValidationException. Interestingly, the Lambda ACK spec doesn't appear to have a section to configure the File System access point, unlike the console - could this be part of the issue?
2023-06-09T15:38:03.222Z ERROR Reconciler error {"controller": "function", "controllerGroup": "lambda.services.k8s.aws", "controllerKind": "Function", "Function": {"name":"xxx","namespace":"ack-system"}, "namespace": "ack-system", "name": "xxx", "reconcileID": "xxx", "error": "ValidationException: \n\tstatus code: 400, request id: xxx"

Steps to reproduce
apiVersion: lambda.services.k8s.aws/v1alpha1
kind: Function
...
  fileSystemConfigs:
  - arn: arn:aws:elasticfilesystem:us-west-2:1234567:file-system/fs-abc123
    localMountPath: /mnt/hf_models_cache

Expected outcome
I expect the Lambda ACK to allow me to configure EFS including the EFS arn, access point, and local mount point.
Environment

Kubernetes version 1.24
Using EKS (yes/no) yes
AWS service targeted - Lambda

@aws-controllers-k8s/lambda-maintainer

@aws-controllers-k8s/lambda-maintainer again :)

Hey @christopher-wong,
Thanks for creating the issue and letting us help you. We tried to reproduce the issue on our side and we couldn't as the functionality is working properly. There are couple of things you need to be sure of while using EFS for Lambda function, we have listed them below.

The Lambda Function and EFS should be within same VPC.
The Lambda Function, EFS and VPC should be in the same region.

On trying different combination for above listed criteria, we figured the  error: ERROR Reconciler error {"controller": "function", "controllerGroup": "lambda.services.k8s.aws", "controllerKind": "Function", "Function": {"name":"xxx","namespace":"ack-system"}, "namespace": "ack-system", "name": "xxx", "reconcileID": "xxx", "error": "ValidationException: \n\tstatus code: 400, request id: xxx" is generating when the Lambda function and EFS are not within the same region.
Can you please confirm if your Function, EFS and VPC are in the same region? And additionally if your Lambda function and EFS are within same VPC?
Thanks!

Closing this issue, as we were unable to replicate it and didn't have more information from the issuer.
/close

/close


Evaluation function based on LLM grading

Changes

[X] New is_correct() evaluation function, which asks an LLM model to return if a response is correct

Proof-of-life

Test-ran the example cases using gpt-3.5-turbo instead of the default gpt-4 (still waiting for the API). It is a good function to be added in.

I like the idea, the only thing is the implementation is very openai-specific, which is probably fine as long as we make it clear.  How about we break down evals.py into evals/base.py and evals/openai.py.
Goal would be to import is_correct from promptimize.evals.openai

Should we begin with some sort of base eval function/class that could be used for other LLMs?

<EMAIL_ADDRESS>


amar

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Can you provide more details about what happened? This isn't enough information to act on.


Is there a non Helm mySQL example?

Anyone can provide a non Helm mySQL example?
thx

HI @elg0ch0.
There is currently an open PR may be close to what you're looking for: https://github.com/kanisterio/kanister/pull/244
Though the readme describes installing MySQL via helm, the Blueprint is not tied to helm. The Blueprint may requiring some tweaks depending on how you deploy MySQL. For example, you may need to change how the secret is referenced, or change Deployment to StatefulSet.
If you'd like, I can take a a look at your API object yamls and figure out if the Blueprint will work. Also feel free to join the slack channel: https://kasten.typeform.com/to/QBcw8T


Roadmap

Currently we have 2 draft pull request, both already have InitiallyUnowned as a separate type and the implicit bindings are gone. Probably there will be more draft pull requests which would need this, too. So to get the develop branch in shape we should work on #53, #54.
The next question would be how to integrate the INotifyPropertyChanged part. I would suggest that we work for #44 and #46 on separate draft pull requests (could be that we need several drafts per issue) but don't make the whole library working. Just for one or two example cases. If we all agree on the code in general we can than create a final pull requests in a final branch.
This final pull request should at first contain the final GObject type system integration part.
As the general route how the the wrappers should look like is clear at this point we could divide the work to port over the libraries. And finally merge everything into develop.
Afterwards we should get our self s.th. to drink :-)
Any thoughts?

I agree with you.
The work @firox263 is doing on #48 is the most important now, since it will be the base of several other implementations and further thinking.
For the INPC implementation I think it will be something doable when a proper way to get/set properties will exist, so when GetProperty<T>(Property<T> prop), SetProperty<T>(Property<T> prop, T value) and everything related will be implemented. But for now we can at least create an OnpropertyChanged method :-).
I've browsed the source code yesterday, and from I seen I think the work on properties can be done in parallel with the work on type system integration, and the current Object.Properties.cs file is a great starting point! I can be wrong so I will let @firox263 give his point of view on that.

na2axl: I've browsed the source code yesterday, and from what I've seen I think the work on properties can be done in parallel with the work on type system integration, and the current Object.Properties.cs file is a great starting point! I can be wrong so I will let firox263 give his point of view on that.

I suppose type-system integration is a bit of a misleading name, as it really is object creation, property creation, lifetimes, and class registration. On that basis, I think very simple static properties should probably be part of the PR directly, as we'll need them in place for the call to g_object_new_with_properties.
My idea at the moment is we should try land the following as soon as possible, building on #52.

Very basic static properties (based on your proposal)
Removal of implicit casts and creating a GInitiallyUnowned class
Construct-time properties based on @badcel's very nice param Prop[] idea
A WrapPointer<T> function for wrapping a foreign IntPtr in a C# type/retrieving an existing one

Once this is done, the public API is mostly finalised, and we can then work on nice things like more in-depth properties, data bindings, INPC, etc. More importantly, it means the more involved parts of type integration (which are entirely behind the scenes) like object lifecycle management, composite templates, and virtual function overrides can be done on a separate PR and won't hold up development any longer.

badcel: I would suggest that we work for #44 and #46 on separate draft pull requests (could be that we need several drafts per issue) but don't make the whole library working. Just for one or two example cases. If we all agree on the code in general we can than create a final pull requests in a final branch.

This sounds good to me. What do you think of splitting #46 into what I've described above? I'm confident that we already have what we require wrappers/subclasses to implement (in terms of constructors, methods, etc), so with maybe another weeks' work, #52 could be merged. Then we can work on the other parts separately in conjunction with properties, since there's very little overlap.
What are your thoughts? @badcel @na2axl

badcel: Afterwards we should get our self s.th. to drink :-)

Of course 😉

I suppose type-system integration is a bit of a misleading name, as it really is object creation, property creation, lifetimes, and class registration. On that basis, I think very simple static properties should probably be part of the PR directly, as we'll need them in place for the call to g_object_new_with_properties.

My idea at the moment is we should try land the following as soon as possible, building on #52.

Very basic static properties (based on your proposal)
Removal of implicit casts and creating a GInitiallyUnowned class
Construct-time properties based on @badcel's very nice param Prop[] idea
A WrapPointer function for wrapping a foreign IntPtr in a C# type/retrieving an existing one

@firox263, @badcel can I then start an RFC explaining technical details about my proposal + open an issue for that RFC for general discussion about the subject + open a PR based on #52 for code reviewing and progression tracking ?

As https://github.com/gircore/gir.core/pull/75 is somewhat finished and we could merge this (or continue work there) the question comes up how to progress.
There are still a lot of things to do. For me the most pressing ones are the type integration(@firox263 ),  clean up the code, align to our editor config, get the samples to work, clean up the samples, support the orignal libraries (me)
@na2axl I'm not sure on which part you would like to work or if you want to support both @firox263  and me? Other points which could be interesting for you are perhaps the question if / how we want to generate more code, the toolkit layer or the easy integration of 3rd party GObject based libraries (dotnet tool)?


[SPARK-33468][SQL] ParseUrl  in ANSI mode should fail if input string is not a valid url

What changes were proposed in this pull request?

With ParseUrl, instead of return null we throw exception if input string is not a vaild url.
Why are the changes needed?

For ANSI mode.
Does this PR introduce any user-facing change?

Yes, user will get exception if set spark.sql.ansi.enabled=true.
How was this patch tested?

Add test.

Test build #131226 has started for PR 30399 at commit 62bf87f.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35829/

@dongjoon-hyun thanks for the review. Updated the comment.

Test build #131227 has started for PR 30399 at commit a408734.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35829/

Merged build finished. Test FAILed.

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35830/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35830/

Merged build finished. Test PASSed.

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

Test build #131226 has finished for PR 30399 at commit 62bf87f.

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

Merged build finished. Test PASSed.

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

cc @cloud-fan and @maropu

Test build #131227 has finished for PR 30399 at commit a408734.

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

Merged build finished. Test PASSed.

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

Looks fine otherwise.

Test build #131245 has started for PR 30399 at commit 2202ca4.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35848/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35848/

Merged build finished. Test PASSed.

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

Test build #131245 has finished for PR 30399 at commit 2202ca4.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Looks ok otherwise.

Test build #131377 has started for PR 30399 at commit 497015c.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35980/

Test build #131387 has started for PR 30399 at commit ecd2143.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35980/

Merged build finished. Test PASSed.

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

Test build #131377 has finished for PR 30399 at commit 497015c.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class ParseUrl(children: Seq[Expression], failOnError: Boolean = SQLConf.get.ansiEnabled)

Merged build finished. Test FAILed.

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

Test build #131391 has started for PR 30399 at commit d7e437b.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35989/

Test build #131387 has finished for PR 30399 at commit ecd2143.

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

Merged build finished. Test FAILed.

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

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35989/

Merged build finished. Test PASSed.

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35995/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35995/

Merged build finished. Test FAILed.

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

Test build #131391 has finished for PR 30399 at commit d7e437b.

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

Merged build finished. Test PASSed.

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

thanks, merging to master!

thanks for merging !


webm/wav in Chrome seems to record silence

On OSX 10.11.2 in Chrome 47.0.2526.106, I'm trying to use videojs-record to record video and play it back. I'm not sure if this is a duplicate of https://github.com/collab-project/videojs-record/issues/4, but I'm having trouble getting audio. Here's the code:
<video id="recorder" class="video-js vjs-default-skin"></video>

var recorder = videojs("#recorder", {
  controls: true,
  loop: true,
  width: 400,
  height: 250,
  debug: true,
  plugins: {
    record: {
      audio: true,
      video: true,
      maxLength: 10
    }
  }
});

recorder.on('finishRecord', function() {
  setTimeout(function() {
    recorder.play();

    sound = new Howl({
      urls: [URL.createObjectURL(recorder.recordedData.audio)],
      format: "wav",
      onplay: function() {
        console.log("playing sound");
      }
    }).play();
  }, 1000);
});

I can see the callback from howler.js work correctly but I don't hear anything. The audio seems to exist but I think it's recorded silence. I also don't hear anything in the
audio-only demo. I can hear audio in both the demo and in the merged webm in Firefox.
Is there anything obvious I'm doing wrong here? Thanks for any help and for all your work on this plugin!

@abgoldstein what happens when you remove loop setting, this seems to screw things up after first playback. I'm also on that version of OSX with Chrome/48.0.2564.79.

Thanks for such a fast reply! I removed the loop and I still don't hear anything. Does your audio-only demo work for you in Chrome?

Your event handler calls play() on the recorder, yes, that works I can hear that here. When I comment it out I expect it to hear with howler.js but that doesn't play. Can you point me to an example of a blob playing with howler.js?

If you use this in the event handler:
var audio = new Audio(URL.createObjectURL(player.recordedData.audio));
audio.play();

works here.

Ok, turns out your usage of howler.js was incorrect. Try this:
<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <title>Audio/Video Example - Record Plugin for Video.js</title>

  <link href="//vjs.zencdn.net/5.4.6/video-js.css" rel="stylesheet">
  <link href="../src/css/videojs.record.css" rel="stylesheet">

  <script src="//vjs.zencdn.net/5.4.6/video.min.js"></script>
  <script src="//cdn.webrtc-experiment.com/RecordRTC.js"></script>
  <script src="//cdn.bootcss.com/howler/1.1.28/howler.min.js"></script>
  <script src="../src/js/videojs.record.js"></script>

  <style>
  /* place fullscreen control on right side of the player */
  .video-js .vjs-control.vjs-fullscreen-control {
    position: absolute;
    right: 0;
  }
  /* change player background color */
  #myVideo {
      background-color: #E8E884;
  }
  /* make sure the custom controls are always visible because
     the plugin hides and replace the video.js native mobile
     controls */
  .vjs-using-native-controls .vjs-control-bar {
      display: flex !important;
  }
  </style>
</head>
<body>

<video id="myVideo" class="video-js vjs-default-skin"></video>

<script>
var player = videojs("myVideo",
{
    controls: true,
    width: 320,
    height: 240,
    plugins: {
        record: {
            audio: true,
            video: true,
            maxLength: 10,
            debug: true
        }
    }
});

// error handling
player.on('deviceError', function()
{
    console.log('device error:', player.deviceErrorCode);
});

// user clicked the record button and started recording
player.on('startRecord', function()
{
    console.log('started recording!');
});

// user completed recording and stream is available
player.on('finishRecord', function()
{
    // the blob object contains the recorded data that
    // can be downloaded by the user, stored on server etc.
    console.log('finished recording: ', player.recordedData);

    setTimeout(function() {
      var sound = new Howl({
        urls: [URL.createObjectURL(player.recordedData.audio)],
        format: ["wav"],
        buffer: true,
        volume: 1,
        onplay: function() {
          console.log("playing sound");
        }
      }).play();
    }, 1000);

});
</script>

</body>
</html>

I tried both that code and your example with Audio and I didn't hear anything. Maybe this is something with my environment.

I'm afraid it is..

Alright, thanks for the quick help!

If you manage to download that blob, run ffmpeg's ffprobe on it, I'm curious what it returns..

Updated Chrome to 47.0.2526.106 and now I hear the audio. Not sure what the deal is but I'll take it.

 Oh well, good to know.


Formatted title

Split title into title and subtitle, center-justified text, and added emojis

Great work! Love the new layout and subtitle, @jbarns14 !


Replaced converter with IValueProvider

Fixes #80

Previous implementation worked fine for dotnet but defaulted to JObject for out-of-proc languages
Updated BindToTrigger but realized that converters were not firing this way. (discussed with @mathewc about this)
Current workaround removes converters and relies on destinationType to determine whether to convert to POCO or not until we can find a better way.

Ran through the samples and they worked alright.
Had to add additional,  special type check for BasicDeliverEventArgs alone.

Note that we've had problems with TriggerAdapterBindingProvider.GetDefaultType in the past. Most recently, @ankitkumarr did some work in https://github.com/Azure/azure-webjobs-sdk/pull/2301. I think the fundamental issue is that we're ignoring requestedType. Note that previously before the changes in the referenced pull request we did use requestedType. Contrast this to BindToInputBindingProvider where we do use requestedType. Seems these provider classes are out of sync.

Pinging for reviews please.

@mathewc, yeah I think as you said the BindToTrigger<T> is still broken in that it does not honor requestedType. I guess the fix in this PR to use the BindToTrigger instead of BindToTrigger<T> makes sense to unblock RabbitMQ. We should still open a follow-up item in webjobs-sdk for the root issue. As any new extension that uses the simplified  BindToTrigger<T> would run into the same issue.

Added support for binding to byte[] since this was identified as a gap in previous implementation as well.

Opened an issue here https://github.com/Azure/azure-webjobs-sdk/issues/2636


Castor/Initial.hs: Refactor mkRole

Created by: vvv
Either is a monad. Let's use this fact to make the code nicer.

Closing as an obsolete


Added About GSSOC and Steps To clone into Local System

Added detailed steps for cloning the repository and information about GSSoC 2024 participation to the README.md file.
Details:
Added a section about contributing to this project under GSSoC 2024.
Included clear steps for cloning the repository to a local system.
Provided instructions on verifying the clone and additional resources.
Additional Changes:
Incorporated an image related to GSSoC 2024 to enhance visual appeal.
This update aims to improve the accessibility and usability of the README.md file for new contributors and users interested in participating in GSSoC 2024.

Added About Gssoc


Generic Tooltips for page turn arrows

Small cosmetics:
At the moment it uses the native tootip but it should also use the zoomable generic tooltips like the other menu items.

I believe this because the page turn arrows are not bootstrap based buttons.

Suggested fix:
Update the selector nav *[title] to match the arrow buttons, for example by adding , button.page-switch-overlay-icon (needs testing, that's just from the top of my head):
https://github.com/readium/readium-js-viewer/blob/develop/lib/ReadiumViewer.js#L61
https://github.com/readium/readium-js-viewer/blob/develop/lib/ReadiumViewerLite.js#L39
https://github.com/readium/readium-js-viewer/blob/develop/templates/reader-body-page-btns.html

Closing - The fix was committed on Feb 16, 2016.


Question about touch to another view

Hi pedrovgs,
I have the question about touch to another view.
I using Draggable View. In fragment, i have a seekbar. My problem is : "When i seek to seekbar, draggable view is scaled too".
Plz, help me. Thank u so much.

You need to disable the touch listener of the DraggablePanel. I think this library has a method to do that.

sorry, i can't find that method in DraggableView

can you make snippet code for me, thanks u

thanks for support, i do solved problem.
In draggable view, declare :
private boolean isDisableDraggableView = false;
@Override public boolean onInterceptTouchEvent(MotionEvent ev) {
if(isDisableDraggableView) return false; // -> add to this
if (!isEnabled()) {
return false;
}
}
@Override public boolean onTouchEvent(MotionEvent ev) {
if(isDisableDraggableView) return false; // -> add to this
int actionMasked = MotionEventCompat.getActionMasked(ev);
}
and in my fragment, solved:
skProgress.setOnTouchListener(new View.OnTouchListener() {
@Override
public boolean onTouch(View v, MotionEvent event) {
int action = event.getAction();
switch (action){
case MotionEvent.ACTION_DOWN:
draggableView.setIsDisableDraggableView(true);
break;
case MotionEvent.ACTION_UP:
draggableView.setIsDisableDraggableView(false);
break;
}
return false;
}
});
Tkz u and close my issue :)

@DuongNTdev I've seen this patch in other issue and I've already asked you about a pull request so I'm going to close this one. Can you review your code and send me a PR with the changes?
Thanks!


Handle popup when there's no cookie set.

When there's not a cookie, a blank page sits there staring you in the face.

[ ] At a minimum there should be a console error.
[ ] Ideally, I could show a customizable error with a "Close Window" button.

Issue moved to feathersjs/feathers-authentication-popups #3 via ZenHub


Slack buttons randomly not working and skipping logs

Context
Channel: Slack.
Installation: standard (using the link provided by bot framework)
Conversation type: 1 on 1.
Issue
The first buttons of a conversation between the bot and a user sometime doesn't do anything.
We can see in the logs the user initiating the conversation, having a few interactions up until the point the bot ask them to confirm something and provide a button to do so.
At this point we stop receiving logs on that interaction, for a few minutes.
Then the user's log restart after a while, but after the confirmation point (which is mandatory to pass initially).
More details

This seems to occur randomly.
The users victims to the bug, report that the button is not working properly (the bots answer that he doesn't recognize their answer).
But does work again after a while (ranging from minutes to hours).
We have no log for these users of either interaction (either working or not working)

Additional information
I am happy to give you anything required to help us solve this for our clients. More specific context if needed, or the bot IDs in private DM.

Thank you for the report, @unemx
You might be interested in reading these other issues:

https://github.com/microsoft/BotBuilder-Samples/issues/2553
https://github.com/microsoft/botbuilder-dotnet/issues/4246

Can you determine if you're using a classic Slack app or not?

@unemx, can you share the relevant portion of the bot's source code (minimal repro case would be ideal). Also if you can send me your bot id, I will look at the telemetry on our end (you can email me here)

Closing -- cannot reproduce the problem. Feel free to reactivate if you have small self-contained repro.


Project: Readme

Added Scala and small formatting changes.

I updated  the changes myself @grhifen , PR merged.


Add proxy support for external-dns

Task
Add proxy support for external-dns. The same approach used for cert-manager can be followed.

done


Copernicus 30m DEM support

Hi @mwheeler.
I just created a new branch for you to play with: https://github.com/OpenDataCubePipelines/ard-pipeline/tree/cop-dem-stash. Go nuts!
Essentially, the task here is to develop code that lets the ARD pipeline use the Copernicus 30m DEM as is. The DEM we currently use is based on SRTM and is in a mozaic. Whereas the CopDEM comes in 1deg-by-1deg tiles. I think you would want to develop it to be able to download from the s3://copernicus-dem-30m/ bucket. Would you please keep the download code separate from the processing code maybe? Not critical.
You can create a stand-alone python script to do this if you want. Integration into our codebase is not necessary.
The relevant code for DEM reading (it says it supports CopDEM, but that's really a mozaic that we created)
https://github.com/OpenDataCubePipelines/ard-pipeline/blob/cop-dem-stash/wagl/dsm.py#L45
This function takes an acquisition object, you can create it like:
from wagl.acquisition import acquisitions

acquisition = acquisitions(PATH_TO_YOUR_LEVEL1_DATASET)

With this, you should be able to use much of the code in get_dsm. Roughly what it does is:

create a geobox (an object that represents a bounded grid (like an image) with origin, pixelsize, shape, and CRS info)
expand the geobox by some specified buffer (to be able to calculate shadows cast by surrounding elevation)
read the data into an array with the same geospatial extent as the expanded geobox (this is where we need to re-engineer things)
re-project into the target CRS and re-sample (I think you can just reuse the code there)
apply a gaussian filter (not super important, and you can reuse the code)
write to an hdf5 group (you can write to a tiff, and since you already have the target geobox (dem_geobox in the code I think), you can draw inspirations from https://github.com/OpenDataCubePipelines/ard-pipeline/blob/cop-dem-stash/wagl/data.py#L120 if you want)

So, the key job here is the read the data into an array. We would not have the luxury of calculating one geobox in the DEM CRS to read the data from anymore, but fortunately read_subset only needs extends in the DEM CRS (angular coordinates in our case). I think you can experiment with mozaicing first and then read a subset, or reading overlapping subsets from each tile and then mozaicing them, whichever is convenient. It is not necessary to use read_subset but it supports reading from rasterio datasets if that helps.
In the code, subs is the array of DEM data in DEM coordinates, which we reproject and resample immediately after to the target coordinates, which is called dsm_data. Note that the desired output is really dsm_data. Mix and match the data read part and the reproject/resample part as you see fit.
And please feel free to reach out if you need any clarifications.

Just clarifying something that I just got bitten by:
from wagl.acquisition import acquisitions

# the acquisitions function actually returns an `AcquisitionContainer` object, not an `Acquisition` object
container = acquisitions(PATH_TO_YOUR_LEVEL1_DATASET)
acquisition = container.get_all_acquisitions()[0]

or something like that.

Just clarifying something that I just got bitten by:
from wagl.acquisition import acquisitions

# the acquisitions function actually returns an `AcquisitionContainer` object, not an `Acquisition` object
container = acquisitions(PATH_TO_YOUR_LEVEL1_DATASET)

# this is what you want to pass to `get_dsm`
acquisition = container.get_all_acquisitions()[0]

or something like that.

Yep, all good 👍 I haven't had any issues figuring out the wagl functions so far / there's already a prototype of the DEM acquisition here: https://github.com/OpenDataCubePipelines/ard-pipeline/commit/3929a79ad90b2ec4d377bd40d687769d656f4f36
I still have a weird bug to solve (west most column of tiles don't seem to get mosaiced, unsure why yet - need to manually go through the process to compare if maybe it actually is correct and visually it just doesn't meet what I expected with a 1deg border, or if it's actually wrong (it looks wrong... way too much space on eastern side, not enough on western side - despite north/south border looking fine with same math...)).
I've put that to the side for a day though & I'm already working on the other ECMWF ancillary data (should be done sometime this week depending on my other workload).
Depending on any bugs I have to fix, I'm hoping I can give you a nice polished/documented/tested bunch of code next week 🤞 (for all 4 ancillary, DEM+watervapour+ozone+aerosol)

Thanks @mwheeler , closing this.


Use palettepacker library to generate palettes

See coding channel in discord for demo.

Has issues with multiple files. Looking into how to fix...

This is awesome! Thank you for making this


fix: log type for BAPI messages

Fix for the scenario where you may want to pass a BAPI return structure or table to e( ) or a( ) for example rather than add( ), until now those log types are ignored. Also includes other clean code changes.

Thanks, @jelliottp! LGTM
PS: I had to "hunt" for the fix a bit. It's better to keep bug fixes and cleaning code in separate PRs. 😉

Thanks, @jelliottp! LGTM
PS: I had to "hunt" for the fix a bit. It's better to keep bug fixes and cleaning code in separate PRs. 😉

Fair enough! Perhaps I'll do another one with more cleanup, I know there is a lot here that trips up our checks. :)

Thanks for the PR


bug(scan): gitignore applied to absolute path leading to wrong exclusion

Found a bug? You're welcome to

Please make sure to:

Describe in details what the problem is
Attach a log file with relevant data preferably in DEBUG level (--log-level=DEBUG)
Attach the scanned sample files, anonymize the data if the original file cannot be provided
When attaching files to the issue make sure they are properly formatted

Expected Behavior
(Which results are expected from KICS?)

.gitigore only applies to files within the same dir it exists and below
.gitignore does not apply to the (absolute) parent dir path

Actual Behavior
(Formatted logs and samples helps us to better understand the issue)
.gitignore rules get applied to the parent dir path leading to all files being ignored
Steps to Reproduce the Problem
(Command line arguments and flags used)

Run KICS in any parent dir

in our case this, we used MegaLinter on Bitbucket Pipelines with the work dir/parent dir being /opt/atlassian/pipelines/agent/build

create a .gitignore file that ignores that contains a rule matching the parent dir

in our case: build/ matching and excluding i.e. /opt/atlassian/pipelines/agent/build/some/dir/or/file
in another dir that didn't match (e.g., when running it locally), we got different results as the files were not ignored

Run KICS with config verbose: true to see the exclusions

Specifications
(N/A if not applicable)

Version: v2.0.1 (as part of MegaLinter v7.12.0)
Platform:
Subsystem:

Relates-to: issue #4584
Relates-to: PR #5506

Hi @pjungermann,
Thank you for bringing this bug to our attention we opened an internal bug and will work on it as soon as possible.


Release preparation

@dincho I am considering that:

docs/cuda-miner.md shall not be updated as it reports a tested configuration
deployment/README.md does not need to be updated, as it documents deployment instructions for the DevOps scripts


[BUG] Template follow option is missing since 2.10.1

Since updating to the most recent version of the module (2.10.1) the option to have a spell template follow a token is missing. It was there in the previous version and I was using it regularly.
Foundry 0.6.6
5e version: 0.98

it was intentionally removed in 2.8, see changelog:
https://github.com/Moerill/token-mold/blob/master/CHANGELOG.md#v28

Okay, aside from the fact that I liked your implementation WAY better, I see no way to attach spell templates using that module. You can't actually select the spell template to attach it, unless I'm missing something.

To be able to attach measure templates, lights, sounds and journals you need the select-tool-everywhere module, as of writing this there is no select tool in those controls.

from the package description.
While i'm happy that to read that you liked my implementation more, i prefer to let a module created for this specific task handle it.
The sticky templates did never really fit into token molds concept, so i was and am happy that someone else tackled this usecase in their own module, so i could get rid of my half hearted solution.


A few more usernames in forbiddenUsernames array

Also, something to prevent similar name or filter evasion like c.o.o.kiezi
Il lun 4 apr 2016 23:22 Howl<EMAIL_ADDRESS>ha scritto:

Merged #127 https://github.com/osuripple/ripple/pull/127.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/osuripple/ripple/pull/127#event-614281950

--
Ora uso un nuovo indirizzo email (marco.bassetto@protonmail.com), se vuoi
rispondermi per favore usa quello.


[Feature Request] Support Microsoft Graph servicePrincipals Add/Remove owner API

Context
MS Graph API servicePrincipals has

Add owner
Remove owner

but there is no corresponding Azure CLI command.
> az ad sp owner -h

Group
    az ad sp owner : Manage service principal owners.

Commands:
    list : List service principal owners.

Solution
Introduce corresponding commands:

az ad sp owner add
az ad sp owner remove

Support Microsoft Graph servicePrincipals Add/Remove

I think this is mis-tagged, it's not a feature for MS Graph, but for az cli, to have a feature MS Graph API already has.


Moved nanoid use from next-server to next/build

Another (more proper?) solution to #5427
Is this what you had in mind @timneutkens ?

I don't think so. The reason for #5427 was to move nanoid to server but this PR just leaves it where it was.

Ah I see 👍

Thanks!


setImmediate is not defined.

Hi there,
When I use this library in browser and add an entry to feed db, it gives me an error that setImmediate is not defined.
It seems that browser like Chrome doesn't support setImmediate function.
So I installed the npm module setImmediate manually and added the following lines to resolve this issue:
var setImmedaite = require('setimmediate')

if (typeof(window['setImmediate']) === 'undefined') {
  window['setImmediate'] = setImmedaite
}

Thanks

And I have a question here:
Is it possible to create a global database.
Say that there is a database called DB in this world.
I am running a IPFS node nodeA on computer A, and running a IPFS node nodeB on computer B.
Is it possible that both nodeA and nodeB connect to DB and can modify DB?
Thanks

Yes, you'll just have to:

create DB with public access in nodeA:

const access = {
    // Give write access to everyone
    write: ['*'],
  }

  const db = await orbitdb.keyvalue('DB', access)

get the address of DB on nodeA:

db.address.toString()

Pass the address string to nodeB somehow
Replicate DB on nodeB:

const db = await orbitdb.keyvalue(addressStringFromNodeA)

See this for a complete guide.

@cristiano-belloni Thank you! That's awesome!


Opening a file on macOS triggers a 'change' event

Describe the bug
A clear and concise description of what the bug is.
Versions (please complete the following information):

Chokidar version 3.5.2
Node version 12.18.1
OS version: macOS 12.0.1

Description:
#762 fixes an issue to ignore updates for the access time caused by read operations. I am on macOS and opening a text file still triggers a 'change' event.
To Reproduce:
A double click on a newly created text file updates the following entries (extracted by mdls):

The options for chokidar are these:
{
      ignored: /(^|[/\\])\../, // ignore dotfiles
      depth: 0,
      usePolling: false,
      alwaysStat: true,
      followSymlinks: false,
      ignorePermissionErrors : true,
      ignoreInitial: true,
      cwd: this.cwd,
      awaitWriteFinish : {
        stabilityThreshold: 500,
        pollInterval: 250
      }

We run in to this problem as well.
One interesting note though: This is in an Electron app, and when run in "dev" mode - that is from the Git repo via the bundled Electron binary in node_modules - the problem occurs. In this case cwd in the app is /path/to/git-repo/from-where-we-launched.
When the app is run as a packaged app - i.e. Our Application.app - the problem does NOT occur. In this case cwd is always / regardless from where the app was launched.
Another note: We are watching specific files and no directories.

Okey, so on MacOS when Chokidar is configured with usePolling: false, MacOS native FSEvents is used, as we want, in fsevent-handler.js - rather than nodefs-handler.js - which doesn't seem to track any previous file stat so no atime comparison is being made as described/fixed in #762.
I don't personally have time atm to look deeper into this, but this is the gist of it.
Temporary solution 1: Use polling

I have not idea what implications this has, if any, on memory and/or CPU consumption though.

Temporary solution 2: Create a thin wrapper yourself in your project that tracks previous stat and does the atime comparison "manually".

Same problem here


Speed up GetTables operation for Spark session catalog

:mag: Description
Issue References 🔗

This pull request aims to speed up the GetTables operation for the Spark session catalog.
As reported in https://github.com/apache/kyuubi/discussions/4956, https://github.com/apache/kyuubi/discussions/5949, the GetTables operation is quite slow in some cases, and in https://github.com/apache/kyuubi/pull/4444, kyuubi.operation.getTables.ignoreTableProperties was introduced to speed up the V2 catalog, but not covers session catalog.
Describe Your Solution 🔧
Extend the scope of kyuubi.operation.getTables.ignoreTableProperties to cover the GetTables operation for the Spark session catalog.
Currently, the basic step of GetTables in the Spark engine is
val catalog: String = getCatalog(spark, catalogName)
val databases: Seq[String] = sessionCatalog.listDatabases(schemaPattern)
val identifiers: Seq[TableIdentifier] = catalog.listTables(db, tablePattern, includeLocalTempViews = false)
val tableObjects: Seq[CatalogTable] = catalog.getTablesByName(identifiers)

then filter tableObjects with tableTypes: Set[String].
The cost of catalog.getTablesByName(identifiers) is quite high when the table number is large, e.g. dozen thousand.
For some cases, listing tables only for table name display, it is worth speeding up the operation while ignoring some properties(e.g. table comments) and query criteria(specifically in this case, when kyuubi.operation.getTables.ignoreTableProperties=true, criteria tableTypes will be ignored, and all tables and views will be treated as TABLE to return.)
Types of changes :bookmark:

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪

Checklist 📝

[x] This patch was not authored or co-authored using Generative Tooling

Be nice. Be informative.

Codecov Report
Attention: 17 lines in your changes are missing coverage. Please review.

Comparison is base (47a1091) 61.16% compared to head (405b124) 61.07%.

Files
Patch %
Lines

...e/kyuubi/engine/spark/util/SparkCatalogUtils.scala
48.48%
15 Missing and 2 partials :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6018      +/-   ##
============================================
- Coverage     61.16%   61.07%   -0.10%
  Complexity       23       23
============================================
  Files           623      623
  Lines         37060    37076      +16
  Branches       5024     5029       +5
============================================
- Hits          22669    22643      -26
- Misses        11956    11993      +37
- Partials       2435     2440       +5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Merged to master/1.8


Improved Renderer.drawPlayer

Added 5 more arguments to Renderer.drawPlayer method (showNametag, showArmor, showCape, showHeldItem, showArrows) and a (-1, 1, 1) scale so the user no longer needs to do negative scale to use it.
The arguments are pretty self explanatory. Performance shouldn't be bad, I did some testing (Thanks to DJtheRedstoner for some performance improvements).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.BuildTools seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Dev-mode display using wx?

I think we should be able to draw a bunch of basic pixels (single pixel rectangles) using wxWidgets as a way to have a test output.
It will require a bit more decoupling to work gracefully. But it should be quite useful and an interesting bit of work:
Useful references:
https://gist.github.com/rlipscombe/5f400451706efde62acbbd80700a6b7c
http://erlang.org/doc/apps/wx/chapter.html#Introduction

Once the GenServer is implemented, we could:

extract a behaviour from InkyIO, probably naming that InkyIO
rename the module InkyIO to InkyGPIO and have it implement the InkyIO behaviour
add a dev-only option that instructs Inky to use InkyWX instead of InkyIO

My suggestion is that we discuss this further once:

more tests are in place
more decoupling has been done after the GenServer is implemented.

Sounds good.

If we switch our internal representation to use matrices from https://github.com/versilov/matrex we would also be able to visualise the state before writing to the physical screen (see the visualisation examples in the matrex README).
This means that we could turn Commands into a behaviour, minimising the need of trickery required to see what the library believes about the state of the buffer, since it would be even less intertwined with the bit conversion and shovelling parts.

That would be cool but it would also mean a dependency and I rather like how limited this project is with deps so far. So I'm a bit split on this :)

Will be merged when we've refactored commands a bit: https://github.com/pappersverk/inky/pull/17

This is a separate library. It is working for master branches on inky and inky_host_dev at time of writing. I've tested it using lawik/sample_inky.
It should be published and stuff. I've no idea if it is worthwhile to try writing tests for it considering it mostly does magical wx-things. I'd suggest holding off on that.
So I'll close this and add one about packaging this dep up for hex release along with Inky and the driver.

Hm. Shouldn't that library become a dev-only dependency of Inky, then, so that you can run stuff locally when working on an Inky-based project?

Ah, by default? Possibly. Yeah, that'd work. Would still need to be conditionally hooked in somehow. Probably by the user. Or do you have something more in mind. The lib just provides a HAL-module.

Could the Scenic driver take advantage of this? https://github.com/pappersverk/inky/blob/master/lib/inky.ex#L122

I'm assuming you mean to render using wx on the host for Inky. Not without significant work to get a cross-platform framebuffer-reading-sort-of-deal from what I know.
Considering we can just provide an instruction for Scenic where you render to glfw instead of our driver, I don't think that's a worthwhile thing to pursue. I see it as a largely solved problem.
The only corners not covered is that the glfw thing might look a bit better than we want with all the fancy shades it has. And I call that good enough.

Do you think it would require too much effort to hack in a down-sampler? :D

Yes. I think it would. And while there is a point, I don't see it being worthwhile. I've no plans to at this point :)


Introducing Prowler Guru on Gurubase.io

Hello team,
I'm the maintainer of Anteon. We have created Gurubase.io with the mission of building a centralized, open-source tool-focused knowledge base. Essentially, each "guru" is equipped with custom knowledge to answer user questions based on collected data related to that tool.
I wanted to update you that I've manually added the Prowler Guru to Gurubase. Prowler Guru uses the data from this repo and data from the docs to answer questions by leveraging the LLM.
In this PR, I showcased the "Prowler Guru", which highlights that Prowler now has an AI assistant available to help users with their questions. Please let me know your thoughts on this contribution.
Additionally, if you want me to disable Prowler Guru in Gurubase, just let me know that's totally fine.

Hey everyone, have you had a chance to check this out?


helm lint: "No template associated with template gotpl" when linting subcharts

Output of helm version: version.BuildInfo{Version:"v3.9.3", GoVersion:"go1.17.13"}
Output of kubectl version:
Client Version: v1.24.3
Kustomize Version: v4.5.4
Server Version: v1.22.11

Cloud Provider/Platform (AKS, GKE, Minikube etc.): AKS

Hi,
I'm attempting to lint my umbrella chart but running into this persistent error surrounding the use of parent templates within the child charts templates. I can recreate this with a minimal example using just helm create. Suppose we have the following directory structure (generated by running helm create twice):
parent/
├── Chart.yaml
├── charts/
│   └── child/
│       ├── Chart.yaml
│       ├── charts/
│       ├── templates/
│       │   ├── _helpers.tpl
│       │   └── configmap.yaml
│       └── values.yaml
├── templates/
│   └── _helpers.tpl
└── values.yaml

The chart parent has a dependency on the chart child, as specified in it's Chart.yaml:
apiVersion: v2
name: parent
description: A Helm chart for Kubernetes
type: application
version: 0.1.0
appVersion: "1.16.0"

dependencies:
  - name: "child"
    version: 0.1.0

Within parent's _helpers.tpl file, we have the following definition:
{{/*
Test template
*/}}
{{- define "parent.emotions" -}}
"Happy"
{{- end }}

... and within child's configmap.yaml:
apiVersion: v1
kind: ConfigMap
data:
  myvalue: {{ include "parent.emotions" . }}

When we run helm template . from the root parent directory we get:
helm template .
---
# Source: parent/charts/child/templates/configmap.yaml
apiVersion: v1
kind: ConfigMap
data:
  myvalue: "Happy"

Indicating that this is a valid use of templates in the umbrella chart. However, when we run helm lint --with-subcharts from the same directory:
helm lint . --with-subcharts
==> Linting .
[INFO] Chart.yaml: icon is recommended

==> Linting charts/child
[INFO] Chart.yaml: icon is recommended
[ERROR] templates/: template: child/templates/configmap.yaml:4:14: executing "child/templates/configmap.yaml" at <include "parent.emotions" .>: error calling include: template: no template "parent.emotions" associated with template "gotpl"

Error: 2 chart(s) linted, 1 chart(s) failed

Expected result
I would expect helm lint . --with-subcharts to succeed as this is a valid use of templates . Am I doing something wrong with Umbrella charts?
Any help appreciated!

lgtm

That is awkward. A chart is expected to be able to be installed stand-alone. You should be able to drill down into that subchart and install it without its parent. Yet the documentation reads otherwise on that page https://helm.sh/docs/chart_template_guide/subcharts_and_globals/#overriding-values-from-a-parent-chart .
This is confusing and could use some direction from the @helm/helm-core-maintainers . I suspect this is going to end up being a documentation bug.

/unstale

Any update on this issue?

Well, it can also be a documentation bug. But certainly something else is wrong since helm template and helm install properly takes the gotpl function from the parent when called from the subchart. The only issue is with helm lint.

As @joejulian pointed out earlier, the same document that shows you how to share named templates with subcharts also states:

A subchart is considered "stand-alone", which means a subchart can never explicitly depend on its parent chart.

These seem to conflict, as I don't think a subchart that depends on a parent chart defining a named template can be "stand-alone".
I recognize that Helm currently works this way for helm template and helm install. Was Helm intentionally designed this way? Should named templates defined in the parent be available in the subchart? Which part of the documentation is incorrect?

Well named templates all exist in the same namespace. If you define a template in a chart and subchart(s), which named template you actually get is undefined.

which named template you actually get is undefined

Yeah, I also observed such unreliable behavior. But that's a different issue than the one being reported here.

Oh, I see. It's not that you're trying to override a subchart value, it's that your subchart is using a template that's defined in the parent chart. I totally misread that the first time, sorry.
As @tom-mckay points out, the rules are pretty explicit that a subchart must be stand-alone. The linter is correctly pointing out that it's not.
The linter is working as intended. Perhaps the chart renderer is not, but changing it now would break hip-0004.
I'm closing this as "works as intended".

The problem I have had with this is that I have not found a way for a fallback for a named template. I tried to search the docs without finding it.
E.g. this is not possible.
{{- define "child.foo" -}}
{{- if (include "parent.version" .) -}}
include "parent.version" .
{{- end -}}

Is there a way to check if a named template exists with conditionals?

@joejulian

Oh, I see. It's not that you're trying to override a subchart value, it's that your subchart is using a template that's defined in the parent chart. I totally misread that the first time, sorry.

Is this the same for library charts? For example, I see this same inconsistent behavior when I try to run helm template or helm install where service1 below uses library-chart.
parent/
├── Chart.yaml
├── charts/
│   └── service1/
│       ├── Chart.yaml
│       ├── templates/
│       │   └── deployment.yaml
│       └── values.yaml
│   └── library-chart/
│       ├── Chart.yaml
│       ├── templates/
│       │   └── _deployment.yaml
└── values.yaml

You may need to run helm dependency build to fetch missing dependencies:


ExecutionOrder.cs robustness issues

The [ExecuteBefore], [ExecuteAfter], and [ExecuteBeforeDefault]/[ExecuteAfterDefault] attributes were super handy to set up easily-readable (and flexible!) execution order constraints on-the-go while building parts of the UI module revamp, but after a number of compilations (and checkouts to and from other branches...) it started complaining, "Not enough execution indexes to fit all of the scripts!" This shouldn't be happening based solely on the attributes themselves; the doc comments' explanation of that error is definitely not what's going on.
Assigning the author, Amarcolina. These attributes are pretty handy. It would be great if they were reliable... But if it's not worth it to fix it, we should remove them so users don't stumble upon them and hit upon these same issues.

Want to discuss removing this attribute altogether.  We never like relying on execution order and so I think we could switch to an entirely event based system and do away with execution order entirely????

I am in support of removing the attribute in favor of event-based systems or manager systems.
In the Interaction Engine, we resolve execution order problems by having everything IE choreographed by the Interaction Manager. This is basically the same as having an Component-System configuration, where InteractionBehaviours are the Components updated by the InteractionManager system. Same deal with the Graphic Renderer component and Feature subcomponents. We'll probably use this pattern a lot.
The Hand Controller is a different story, since it can't really be a global manager for all hand-related things, so an event-based model makes more sense and is actually what it uses.
In other words, I don't think it's worth maintaining this feature, since we have good alternatives.


All subscriptions rejected for SUBSCRIBE packet that contains multiple Topic Filters

Summary
As per MQTT 3.1.1,
If a Server receives a SUBSCRIBE packet that contains multiple Topic Filters it MUST handle that packet as if it had received a sequence of multiple SUBSCRIBE packets, except that it combines their responses into a single SUBACK response
But even when only one of the topic filters is disallowed by any auth_on_subscribe (in our case, this is vmq_acl), all other topics also receive subscription not allowed.
Environment

vmq_acl is on
vmq.acl is as follows:

pattern a/%u/b
Expected behaviour

The topics that are allowed according to the acl should be allowed to be subscribed.
The topics that are forbidden as per the acl must be forbidden.

Actual behaviour

All the topics are not allowed

Steps to reproduce

vmq_acl=on

vmq.acl is as follows:
pattern a/%u/b

Subscribe using mosquitto
mosquitto_sub -u user -h localhost -p 1883 -t a/invalid-user/b -t a/user/b -q 1 -i rand_client -k 300 -d

Response
Client rand_client sending CONNECT Client rand_client received CONNACK (0) Client rand_client sending SUBSCRIBE (Mid: 1, Topic:  a/invalid-user/b, QoS: 1, Options: 0x00) Client rand_client sending SUBSCRIBE (Mid: 1, Topic: a/user/b, QoS: 1, Options: 0x00) Client rand_client received SUBACK Subscribed (mid: 1): 128, 128 Client rand_client sending DISCONNECT All subscription requests were denied.

On tracing client
Calling auth_on_subscribe(user,{[], <<"rand_client">>}) with topics:   q:1, t: "a/invalid-user/b"   q:1, t: "a/user/b" 2021-07-28T11:30:33Z <9445.4049.33> Hook returned {error,                                                  plugin_chain_exhausted} 2021-07-28T11:30:33Z <9445.4049.33> MQTT SEND: CID: "rand_client" SUBACK(m1, qt[not_allowed,                                                                                not_allowed])

@dumbpreacher thanks, your assessment seems to be correct and this seems to be a bug. We could probably keep the behaviour that we end up in plugin_chain_exhausted in case one subscription cannot be validated, but we should still mark & allow the valid subscriptions in the resulting SUBACK.
I think it's relatively important to fix.

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages (.deb/.rpm/Docker) requires a subscription.

This is also spec breaking, we should absolutely allow a list of individual response codes in the SUBACK payload, even if one of them is a Failure response code.
From the 3.1.1 spec:

[MQTT-3.9.3-1] The order of return codes in the   SUBACK Packet MUST match the order of Topic Filters in the SUBSCRIBE Packet.

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages (.deb/.rpm/Docker) requires a subscription.


modified the ui

if you wnat to change theme again.. u can re-assign me

Looks great @kmahesh18

Closes #63


Navigation bar large titles support

Hello!
Large titles and section headers #283  issue below:

Solved,
in ScrollingNavigationController.swift
at line 446
i remove className == "UINavigationBarContentView" ||
and add className == "UINavigationBarLargeTitleView"
Also i add UINavigationBar.appearance().isTranslucent = false

Nice catch @Mazorati
I've added the largetitleview to the check in master

@andreamazz it is not that easy. When you use Large titles - you have to remove "UINavigationBarContentView" and add className == "UINavigationBarLargeTitleView". Because default title not hiding!

Good point. https://github.com/andreamazz/AMScrollingNavbar/commit/dfb6baf7cb7a3901cef4a3a90d5d23735f5e7786 should take care of that. I've also added a sample.


Add some better support for base64 in FnFormat

I often use cloud-init config style user data, and I occasionally find that I need to send the entire contents of a file to a stack as a template parameter. In many cases it is difficult to ensure soething does not get messed up (either whitespaes in the file content, or overall yaml formatting of outer userdata) when the parameter containing the file is expanded into its value. Luckily, cfn provides a base64 function just specifically for this kind of thing.
I have found myself writing the following code a bunch of times

  Instance(:node) {
   ...
   UserData FnBase64( FnFormat( <<EOF ,
#cloud-config
...
runcmd:
  - echo %{Base64ParameterName} | base64 -d > /path/to/file
EOF
                                                       :Base64Parameter => FnBase64( Ref( :ParameterName ) ),
   ))
 }

This works reasonably well, but it would be nice if FnFormat were smart enough to realize that when I refer to a value like :Base64ParameterName, what I really mean is the base64 encoding of the value of ParameterName unless I have explicity defined the value somewhere else.
Alternatively....
It might be nice to be able to declare named values globally across the template.

  Declare( :b64ParameterName, FnBase64( Ref( :ParameterName ) )

  Instance(:node) {
   ...
   UserData FnBase64( FnFormat( <<EOF ))
#cloud-config
...
runcmd:
  - echo %{b64ParameterName} | base64 -d > /path/to/file
EOF
   ))
 }

The implication here is that anyplace that directly or implicitly evaluates Ref(:b64PaameterName) will get the value passed in as the second argument to the Declare function.

Since Openstack does not implement the Base64 function correctly, this suggestion is more or less worthless to me


fix(slide-toggle): incorrect text color when placed inside an overlay with a dark theme

The slide toggle doesn't define its text color, but inherits it from the closest theme root element. The problem is that if the element is moved out to something like an overlay, the color may be inherited from the body which won't be correct. These changes explicitly set the color.
Fixes #18701.

@crisbeto ~51 screenshot targets failing on this one. Change seems like an improvement, but probably not worth the effort to approve all the diffs since MDC (probably?) fixes this also.

Needs to be rebased and updated to the new theming API - you might want to just close this PR since it'll soon be deprecated and it sounds like theres a fair amount of screenshot issues on it


Nomialmap and fastsp

@mayork, @1ozturkbe, also try out your code on this branch -- should be even faster.

test models please


[Bug]: Unable to send an email with signup link on successful creation of a license from LMA

Is there an existing issue for this?

[X] I have searched the existing issues

Description
The license creation is successful but the mail with signup link is not sent to the user.
Steps To Reproduce

Login to LMA (License manager app) and switch to "Create License" tab
Enter the details and click on "Submit"

Observe that the License creation is successful but sending an email to the entered email id is throwing an error.
Below is the screenshot.

Public Sample App
No response
Environment
Release
Issue video log
No response
Version
Appsmith Business v1.9.27

This is happening because in release emails are configured to be sent from Aparna’s account whereas it is trying to send from<EMAIL_ADDRESS>which won’t work.
Since release and prod are git connected, we don’t want to change from address in Application so that’s why email’s are not being sent in release but works fine in prod.
Discussed with team and this issue will be taken up in sprint but no need to mark it as release blocker since credentials are configured correctly on production.
Hence removing the release blocker label and will be moving the ticket to cloud-services to track it further.


feat(worker/activitypub): modify mastodon data transformation logic

Summary
This PR modifies the Mastodon worker transformation logic to addresses identified issues.
Note: There are 2 ToDo comments to be checked.
Create Note Object:
{
          "id": "https://airwaves.social/users/VicRB/statuses/112836523057177095",
          "network": "mastodon",
          "index": 0,
          "from": "<EMAIL_ADDRESS>          "to": "<EMAIL_ADDRESS>          "tag": "social",
          "type": "post",
          "platform": "Mastodon",
          "total_actions": 1,
          "actions": [
            {
              "tag": "social",
              "type": "post",
              "platform": "Mastodon",
              "from": "<EMAIL_ADDRESS>              "to": "<EMAIL_ADDRESS>              "metadata": {
                "handle": "<EMAIL_ADDRESS>                "body": "\u003cp\u003e#VesselAlert #Vaixell ... \u003c/p\u003e",
                "publication_id": "112836523057177095",
                "timestamp":<PHONE_NUMBER>
              },
              "related_urls": [
                "https://airwaves.social/users/VicRB/statuses/112836523057177095"
              ]
            }
          ],
          "success": true,
          "timestamp":<PHONE_NUMBER>
}

Comment Note Object:
{
          "id": "https://beekeeping.ninja/users/Pagan_Animist/statuses/112840117527501203",
          "network": "mastodon",
          "index": 0,
          "from": "<EMAIL_ADDRESS>          "to": "<EMAIL_ADDRESS>          "tag": "social",
          "type": "comment",
          "platform": "Mastodon",
          "total_actions": 1,
          "actions": [
            {
              "tag": "social",
              "type": "comment",
              "platform": "Mastodon",
              "from": "<EMAIL_ADDRESS>              "to": "<EMAIL_ADDRESS>              "metadata": {
                "handle": "<EMAIL_ADDRESS>                "body": "\u003cp\u003e\u003cspan class=\"h-card\" translate=\"no\"\u003e\u003ca href=\"https://mas.to/@evedazzle\" class=\"u-url mention\"\u003e@\u003cspan\u003eevedazzle\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e \u003c/p\u003e\u003cp\u003eCan communities band together ...\u003c/p\u003e\u003cp\u003eWould they help?\u003c/p\u003e\u003cp\u003eI’m just thinking of your power grid and next time.\u003c/p\u003e",
                "publication_id": "112840117527501203",
                "timestamp":<PHONE_NUMBER>,
                "target": {
                  "handle": "<EMAIL_ADDRESS>                  "body": "\u003cp\u003eI have no idea what the other families are doing, or how their hourly workers are coping with having no work for a week and a half. This is a disaster in so many different ways for so many people.\u003c/p\u003e",
                  "publication_id": "112802025232873362",
                  "timestamp":<PHONE_NUMBER>
                }
              },
              "related_urls": [
                "https://mas.to/users/evedazzle/statuses/112802025232873362"
              ]
            }
          ],
          "success": true,
          "timestamp":<PHONE_NUMBER>
}

Announce Note Object:
{
          "id": "https://toad.social/users/wdlindsy/statuses/113289542439341014/activity",
          "network": "mastodon",
          "index": 0,
          "from": "<EMAIL_ADDRESS>          "to": "<EMAIL_ADDRESS>          "tag": "social",
          "type": "share",
          "platform": "Mastodon",
          "total_actions": 1,
          "actions": [
            {
              "tag": "social",
              "type": "share",
              "platform": "Mastodon",
              "from": "<EMAIL_ADDRESS>              "to": "<EMAIL_ADDRESS>              "metadata": {
                "handle": "<EMAIL_ADDRESS>                "publication_id": "113289542439341014",
                "timestamp":<PHONE_NUMBER>,
                "target": {
                  "handle": "<EMAIL_ADDRESS>                  "body": "\u003cp\u003e\u003cspan class=\"h-card\" translate=\"no\"\u003e\u003ca href=\"https://toad.social/@wdlindsy\" class=\"u-url mention\"\u003e@\u003cspan\u003ewdlindsy\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e \u003c/p\u003e\u003cp\u003eThere is a lot of \u0026#39;burn the village to the ground to save the village\u0026#39; about these people.\u003c/p\u003e",
                  "publication_id": "113289464976693734",
                  "timestamp":<PHONE_NUMBER>
                }
              },
              "related_urls": [
                "https://mastodon.online/users/mastodonmigration/statuses/113289464976693734"
              ]
            }
          ],
          "success": true,
          "timestamp":<PHONE_NUMBER>
}

Checklist

[x] The commit message follows Angular Contributing guidelines;
[x] Tests for the changes have been added (for bug fixes / features);

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

{
          "id": "https://beekeeping.ninja/users/Pagan_Animist/statuses/112840117527501203",
          "network": "mastodon",
          "index": 0,
          "from": "<EMAIL_ADDRESS>          "to": "<EMAIL_ADDRESS>          "tag": "social",
          "type": "comment",
          "platform": "Mastodon",
          "total_actions": 1,
          "actions": [
            {
              "tag": "social",
              "type": "comment",
              "platform": "Mastodon",
              "from": "<EMAIL_ADDRESS>              "to": "<EMAIL_ADDRESS>              "metadata": {
                "handle": "<EMAIL_ADDRESS>                "body": "\u003cp\u003e\u003cspan class=\"h-card\" translate=\"no\"\u003e\u003ca href=\"https://mas.to/@evedazzle\" class=\"u-url mention\"\u003e@\u003cspan\u003eevedazzle\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e \u003c/p\u003e\u003cp\u003eCan communities band together ...\u003c/p\u003e\u003cp\u003eWould they help?\u003c/p\u003e\u003cp\u003eI’m just thinking of your power grid and next time.\u003c/p\u003e",
                "publication_id": "112840117527501203",
                "timestamp":<PHONE_NUMBER>,
                "target": {
                  "handle": "<EMAIL_ADDRESS>                  "body": "\u003cp\u003eI have no idea what the other families are doing, or how their hourly workers are coping with having no work for a week and a half. This is a disaster in so many different ways for so many people.\u003c/p\u003e",
                  "publication_id": "112802025232873362",
                  "timestamp":<PHONE_NUMBER>
                }
              },
              "related_urls": [
                "https://mas.to/users/evedazzle/statuses/112802025232873362"
              ]
            }
          ],
          "success": true,
          "timestamp":<PHONE_NUMBER>
}

The related_urls are wrong, it should be a link of<PHONE_NUMBER>27501203.

should add openapi doc of /federated APIs


The Header Response is not available...

Hi.
Sometimes, the REST APIs call returning some values through the header response. Unfortunately, I couldn't find anything in the document in this regard. It seems the WEB activity only return the response body through @activity("<xxx>").output
I couldn't find anything for the response header. Is there any way to access that? Thanks

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

ID: 34b3d465-6a2b-88ad-6e80-4fb784cd489e
Version Independent ID: 51b70888-d089-7352-4abd-7d587726700a
Content: Web Activity in Azure Data Factory
Content Source: articles/data-factory/control-flow-web-activity.md
Service: data-factory
GitHub Login: @sharonlo101
Microsoft Alias: shlo

@Kamyar5353 Thank you for your query . We will investigate and update this thread further.

@sharonlo101 Can you please take a look at this one ?

Hi there,
Sorry for the delay in response! The header response is now available via @activity("").output.ADFWebActivityResponseHeaders. We will update the docs accordingly.
Thanks,
Daniel
#please-close

Thank you for the update @Kamyar5353 .  I see you have created a new issue out of your last comment here.  As the original ask of this issue has been resolved, I will keep this issue closed and work with you on the new one (#41796).


Strengthen atomic_compare_exchange seq_cst failure mapping

The Zacas extension defines different ordering behavior when an amocas fails:

The memory operation performed by an AMOCAS.W/D/Q, when not successful, has
acquire semantics if aq bit is 1 but does not have release semantics,
regardless of rl.

This requires a leading fence to maintain A6C compatability for both the RVWMO and Ztso memory models. The A7 mappings can use the non-fenced versions.
See issue #444 for more context and litmus tests.
Resolves #444.

Happy to update formatting/verbage. An alternative format would to
introduce another table like this:
[cols="<20,<20,<4",options="header",]
|===
|C/{Cpp} Construct |RVWMO AMO Mapping |Notes

|`atomic_compare_exchange(memory_order_relaxed)` |`amo<op>.{w\|d}` |4,7

|`atomic_compare_exchange(memory_order_acquire)` |`amo<op>.{w\|d}.aq` |4,7

|`atomic_compare_exchange(memory_order_release)` |`amo<op>.{w\|d}.rl` |4,7

|`atomic_compare_exchange(memory_order_acq_rel)` |`amo<op>.{w\|d}.aqrl` |4,7

|`atomic_compare_exchange(memory_order_*, memory_order_seq_cst)` |`fence rw,rw; amo<op>.{w\|d}.aqrl` |4

|`atomic_compare_exchange(memory_order_*, memory_order_seq_cst)` |`amo<op>.{w\|d}.aqrl` |3,4

|`atomic_compare_exchange(memory_order_seq_cst, memory_order_{relaxed\|acquire\|release\|acq_rel})` |`amo<op>.{w\|d}.aqrl` |3,4

|===

7) The memory model listed is the stronger of the given success and
failure memory oderings. If acquire and release are used for success and
failure then the memory ordering is mapped to be acq_rel.

Thanks for the review!
I'm going to convert this to a draft so it's not accidentally merged before the discussion in the related issue is complete.

@hboehm

Updated to address @hboehm's review by adding note-3 to the Ztso table.
https://github.com/riscv-non-isa/riscv-elf-psabi-doc/issues/444#issuecomment-2232076614


Provides a method to identify subtypes.

We can use the is keyword to determine if a variable is of a type (or subtype). But you can't determine it from a variable of Type Type. Can you provide a top-level function like the following isSubtype() to achieve this?
/// Gets elements of the specified type.
///
/// The [includeSubType] indicates whether elements inherited from type [type] are also obtained,
/// default being 'true'.
Iterable<IDevice> typeElements(Type type, {bool includeSubType = true}) sync* {
  assert(isSubType(type, IDevice), "The supplied type must be a subclass of IDevice.");
  for (final e in this._elements) {
    if (e.runtimeType == type || (includeSubType && isSubType(e.runtimeType, type)))
      yield e;
  }
}

Note: The above is just sample code. This code is exactly what I needed, but it won't work because I don't know how to implement the isSubtype() function.

@YowFung
Which api doc and class are you referring for this ?

@darshankawar I think it should be in the dart:core library or as top-level function. Such as issubclass() function in python.

@darshankawar I want the signature of this function to look something like this:
bool isSubType(Type testObject, Type superType);

This sounds like a question for Dart, not Flutter: https://github.com/dart-lang/sdk/issues


Update npm version and jhipster-sample-app used for integration tests

jhipster-sample-app-ng2 is deprecated and not updated anymore

This PR requires https://github.com/hipster-labs/generator-jhipster-spring-cloud-stream/pull/33


Instead of --net="host"

Instead of using the not so good practice --net="host" parameter it is better to use these ports for plex;
TCP: 32400 (for access to the Plex Media Server) [required]
UDP: 1900 (for access to the Plex DLNA Server)
TCP: 3005 (for controlling Plex Home Theater via Plex Companion)
UDP: 5353 (for older Bonjour/Avahi network discovery)
TCP: 8324 (for controlling Plex for Roku via Plex Companion)
UDP: 32410, 32412, 32413, 32414 (for current GDM network discovery)
TCP: 32469 (for access to the Plex DLNA Server)
Found the ports at: https://support.plex.tv/hc/en-us/articles/201543147-What-network-ports-do-I-need-to-allow-through-my-firewall-
-p 32400:32400
-p 1900:1900/udp
-p 3005:3005
-p 5353:5353/udp
-p 8324:8324
-p 32410:32410/udp
-p 32412:32412/udp
-p 32413:32413/udp
-p 32414:32414/udp
-p 32469:32469

Your welcome to do that.
And if you had read the readme you would have seen that it's not the recommended method.
Another reason why you might want to sometimes do --net=host is so plex can see the original IP's (besides bonjour discovery) .
Though it's not a requirement and with plexes latest changes it's needed less.
Anyway this is not a bug. Please read the readme before posting an issue.

As Tim explains discovery does not work and that is the main reason you would want --net=host. Discovery uses Layer 2 broadcasts and these cannot cross network boundaries (between subnets). With the latest versions of Docker, it is possible to put plex into a network that is bridged with your main network (which is what I do) but this is not documented in the README and is probably beyond the scope of the README. Maybe it's worth mentioning as a possibility, a pointer in the right direction and an exercise for the reader if they REALLY need auto-discovery but also REALLY don't want to use --net=host but this is not a priority.

Though it seems they have been moving more of the discovery into plext.tv.
Though you need to be signed in for this to work.


Starship Titanic

Hello,
do you know that your wrapper works very well with Starship Titanic (original french cd version version 1.5)? I didn't see that game in your compatibility list. And it's a good thing because on Linux with Wine it is the wrapper that obtain the better results with this game.
Only one issue I saw: at the game beginning, when you have to insert the cd in the cd-rom computer drive, we could see violet color that should normally be transparent:

Do you think you could correct this issue?

Oh, that's interesting, never heard about this game before :)
It looks like it could be easy to fix, I already have an idea about what could be wrong.
Just googled a bit but couldn't find a demo version of the game so I can't really test it...
If you want you could generate a debug log and attach it here to your next post, I attached a cnc-ddraw build that generates a file named "cnc-ddraw.log" below.
ddraw.zip

Fast reply, fast answer, this is the log for the first game minutes:
cnc-ddraw.zip

Thanks! I think I got it fixed, attached a fixed build
ddraw.zip

You done a one shot! Nice work.  Thank you.


Rewrite az in python

Use python instead of bash, so that we get benefits from using #!/usr/bin/env python:

distutils will replace it with an absolute path to the specific python interpreter being used

helps with pip install (#1043)
helps with tools like pipx (pipxproject/pipx#162)

if running inside a virtualenv as is, it will run the python interpreter for that virtualenv (#3989)

There doesn't seem to be a measurable startup delay impact as has been reported with using entry_points/console_script (#7469).

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[x] I adhere to the Command Guidelines.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: suominen sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

I've tested it with

Python 2.7.16 and 3.7.3 on Debian 10.1 (buster).
Python 2.7.10 and 3.7.4 on macOS 10.14.6 (Mojave).

@fengzhou-msft - Didn't mean to dismiss any reviews, but just keep this branch without merge conflicts. Maybe it is better I don't resolve conflicts going forward -- it is just about HISTORY.rst changing in dev.

@fengzhou-msft  please help deal with this PR.

@yonzhan I have tested the code, it works as stated and solved several issues. This change impacts the entry point for running all commands when installed with pip. We need @zikalino to review and see if there's any drawbacks.

@zikalino  please review this PR.

/azp run

/azp run


fix: height prop not working in select

Fixes https://github.com/GeekyAnts/NativeBase/issues/4126 and https://github.com/GeekyAnts/NativeBase/issues/4122

Just curious, how can I know that this fix is now deployed to the native-base package on npm?


Inform the user the IBAN is wrong instead of 'Something went wrong'

I assume this is solved by an 11-test in the frontend, so https://github.com/svsticky/digidecs/pull/16

The backend does the validation already, basically just need to pass the error back to the dialog, rather than just using the default message.

I think this can be closed due to #16 . The frontend handles the check (as well as the backend, but that doens't matter anymore)


elasticsearch exit accidentally

env:
ubuntu 16.04 with vmware
the command was this
sudo docker run   -p 80:80 -p 9200:9200 blacktop/elastic-stack:5.1
the result was:

and the kibana ui turned out:

Could you help me to find out the cause?

Can you try doing this before you start elastc-stack -
echo "vm.max_map_count=262144" | sudo tee -a /etc/sysctl.conf
sudo sysctl -w vm.max_map_count=262144

This was already set.

Can you try:
$ sudo docker run -d --name elstack -p 80:80 -p 9200:9200 blacktop/elastic-stack:5.1
$ sudo docker exec elstack head -n30 /var/log/elasticsearch.stdout.log

yafngzh@ubuntu:~$ docker exec elstack_A head -n30 /var/log/elasticsearch.stdout.log

There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (mmap) failed to map<PHONE_NUMBER> bytes for committing reserved memory.
An error report file with more information is saved as:
/tmp/hs_err_pid24.log

There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (mmap) failed to map<PHONE_NUMBER> bytes for committing reserved memory.
An error report file with more information is saved as:
/tmp/hs_err_pid59.log

There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (mmap) failed to map<PHONE_NUMBER> bytes for committing reserved memory.
An error report file with more information is saved as:
/tmp/hs_err_pid91.log

There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (mmap) failed to map<PHONE_NUMBER> bytes for committing reserved memory.
An error report file with more information is saved as:
/tmp/hs_err_pid154.log
The reason seems to be not sufficient memory.
And it works well after I resize the memory of the VM. Thanks!


Move headings to the top row of subdimension details

Move the headings for the questions to the top of the subdimension control break.

Question | Your answer | Points Earned/Points | Available Recommendation | Recommendation Links

This looks like it's done.  Closing.  @aaronlugo reminder to please leave a comment on items when you finish them so we know when to test them.