remove unnecessary dependency on k/utils

RealClock is just a wrapper over the time from stdlib.
I believe K8s uses it for testing and overriding purposes. It's not required in flagger's contexts.

Codecov Report

Merging #561 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #561   +/-   ##
=======================================
  Coverage   52.72%   52.72%
=======================================
  Files          63       63
  Lines        4922     4922
=======================================
  Hits         2595     2595
  Misses       1924     1924
  Partials      403      403

Impacted Files
Coverage Δ

pkg/controller/webhook.go
72.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Super smash bros ultimate

I've never played this game. I think it would be nice to learn more about it though. It should be possible to connect to the server and call methods already, but the server probably also provides a few custom methods. The game server id and access key are documented here.

It is difficult to figure out more about SSBU because the game provides very little debugging information. I don't think it is worth the time for me to reverse engineer all methods of this game. If someone else wants to try, I would be happy to accept a PR though.
I'm closing this issue for this reason. And also because there is no clear goal in this issue. If I should reopen it, let me know.


preview.png is still needed

I had missed that asset as it is referenced in the code rather than in the CSS, sorry for that. I looked for other image assets that might be needed in that plugin, and couldn't find more that's still missing, so it should be good now crosses fingers

👍


Note to connect CLI to an instance before deploy

This could perhaps be re-worded, but the gist is that my co-workers and I were running into issues with the ent bundle deploy command because we hadn't seen anything about attaching the Entando VM while following the other setup tutorials. Running ent attach-vm entando at the suggestion of @nshaw fixed the problem for us, so I thought this note might save future developers a bit of searching.

hi @fuhsaz, i suggest we modify the language of the prerequisites and linked page to reflect this clearly, before the tutorial is followed.

I agree, that's a better place for this. How does this look?

i think we can combine bullets 2 and 5 and add that command to the linked profile page. if you don't mind, i can create a tracked PR that follows our current processes and style guide, then add you as a reviewer

I don't mind at all! Thank you!

perfect :)


Update wmi_exporter to v0.0.5

Related Issue: https://github.com/rancher/rancher/issues/27911
Why is it related?
In Feb 11, 2020 Windows rolled out a security update that changed the
interface between user mode and kernel mode, so difficult-to-debug issues
related to starting the container process can show up if the Windows Server
container image and the Windows container host are out of sync with the
patch.
This is most likely the case with the AWS AMI that experienced the issue
noted on the ticket, so the fix from our end is to bump the version of
wmi_exporter to one that was built after the patch was released.
Link to Announcement:
https://support.microsoft.com/en-us/topic/you-might-encounter-issues-when-using-windows-server-containers-with-the-february-11-2020-security-update-release-b9a8fcae-950d-7a0b-ac7c-cb6b294cb809

@nickgerace bumped PR to v0.0.5, waiting on https://github.com/rancher/wmi_exporter-package/pull/8 for drone fix and for the image to be available at https://hub.docker.com/v2/repositories/rancher/wmi_exporter-package/tags/v0.0.5.

v0.0.5 manifest now exists and a 20H2 image has been pushed out.


Post-22.1 errors from pkg during update check

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
Receiving I/O and permission errors for pkg repo cache files during update check since upgrade to 22.1.
To upgrade I first upgraded to 21.7.8, then I converted from UFS to ZFS during the 22.1 upgrade process.  It seems as if the repo cache files may not have correct permissions following config import.
To Reproduce
Steps to reproduce the behavior:

Upgrade firewall from 22.7.8 (UFS) to 22.1 (ZFS) with configuration import.
Run check for update process.  Errors will occur.

Expected behavior
Update check should not produce errors
Describe alternatives you considered
Considered manually changing permissions on pkg repo cache.   Cache databases are all owned by root with 644 permissions.
Screenshots
root@opnsense:/var/db # ls -l pkg
total 17686
-rw-r--r--  1 root  wheel       158 Jan 28 11:02 OPNsense.meta
-rw-r--r--  1 root  wheel       158 Jan 27 23:40 SunnyValley.meta
-rw-r--r--  1 root  wheel  14114816 Jan 28 11:02 local.sqlite
-rw-r--r--  1 root  wheel   1630208 Jan 25 01:36 repo-OPNsense.sqlite
-rw-r--r--  1 root  wheel    237568 Jan 27 23:40 repo-SunnyValley.sqlite
-r--r--r--  1 root  wheel   6968604 Jan 28 03:13 vuln.xml

Relevant log files
See screenshot
Additional context
Add any other context about the problem here.
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 22.1-amd64
FreeBSD 13.0-STABLE
OpenSSL 1.1.1m 14 Dec 2021

Sounds like a package database corruption of some sort. Note the database will not be cloned from the UFS system so it got corrupted from the install media maybe.

That's possible.  Do you think I should just remove the package databases and let them rebuild?

Rebuilding is a bit tricky. The least destructive way is moving the database to a different folder and running „opnsense-bootstrap“ utility without parameters to reinstall everything cleanly.

Running pkg update from the command line produces no errors, and other pkg functions seem to be fine also.  pkg check -s -n produces no issues either, nor does pkg upgrade -n  (I'm using -n to avoid accidentally modifying the system while testing the pkgdb)
The system hasn't produced any new errors since the ones in the screenshot, but I'm at a loss to explain why.   I removed a plugin today (happened to be the etpro telemetry plugin) so maybe that fixed the database?

Not sure but if not an operational issue give it some slack and keep this issue open for a bit longer? 😊
Cheers,
Franco

It doesn't seem to be causing any issues.  I'll monitor and see what happens.

The errors have not recurred since the last ones in the screenshot and things seem to be operating fine.  At this point I'm chalking it up to some transient post-upgrade behavior related to restoration after changing the filesystem.
I've not dug into the code but given the post-upgrade circumstances maybe the relevant code is missing a 'database exists' check before moving on to modification operations, and because of that more worrisome messages are generated than are really warranted.


Docker Swarm service fail upon attaching more than 2 networks

Hi, Guys,
Is it possible to create multiple SDNs and connect a service to all of them (to networks of more than 2)?
for example, scenario 1 demo service started attaching 2 networks and in scenario 2  same service attached to 3 networks.
scenario 1
docker network create --driver overlay demo-db
docker network create --driver overlay demo
docker network create --driver overlay proxy
docker service create --name demo-db
–network demo-db
mongo:3.2.10
docker service create --name demo
-e DB=demo-db
–network demo
–network demo-db
demo:1.0
docker service create --name proxy
-p 80:80
-p 443:443
-p 8080:8080
–network proxy
–network demo
-e MODE=swarm
proxy
docker service ls
ID NAME MODE REPLICAS IMAGE PORTS
cl5d7ryscz4f demo replicated 1/1
pm9kj8fsi4kt demo-db replicated 1/1
y3ie75hbcytb proxy replicated 1/1
scenario 2
docker service create --name demo-db
–network demo-db
mongo:3.2.10
docker service create --name demo
-e DB=demo-db
–network demo
–network demo-db
–network proxy
demo:1.0
docker service create --name proxy
-p 80:80
-p 443:443
-p 8080:8080
–network proxy
-e MODE=swarm
proxy
docker service ps demo
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
asq865sqiarf demo.1 demo:1.0 node-3 Running Starting 7 seconds ago
zpxw67ojy0r8 demo.1 demo:1.0 node-3 Shutdown Failed about a minute ago “task: non-zero exit (2)”
Question:
is it as designed that docker service cannot attach to network more than 2 or is it a bug in docker swarm?

Hi, @prageethw  . Thanks for your feedback.
I am afraid that your issue is related to Swarm Mode of docker engine, maybe it is more proper to post issue here https://github.com/docker/docker/issues/new . This project is about Swarm which is different from swarm mode in docker engine.
Here are more details about the difference https://github.com/docker/swarm#swarm-disambiguation
I am closing this. If you need more help, feel free to let us know. Thanks again for your contribution.


fix : [IDP-1875] Updated the image for sidenav variations in flows

Harness Developer Pull Request
Updated the image for sidenav variations in flows
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://658143c270b54178eb8041e4--harness-developer.netlify.app


Live tab in app/ tvOS during transition period

3 different states in BCC Media app during transmission period.

Functional live in live tab
Directory to connect app/ app store in live tab
Disable live tab

Versions released during transition period (jan- after easter) should be able to handle all 3 states behind feature flag
After Easter, only accommodate state 3

Duplicate of #722 and #763 ? Implemented for the mobile app already. see 722

@fredrikved infotekst for live tab
New livestream app
Go to Live by BCC Connect to continue watching livestreams. Click to open or download the app from App Store or Google Play.
Ny app for livesendinger
Gå til Live fra BCC Connect for å fortsette å se direktesendinger. Klikk for å åpne eller laste ned appen fra App Store eller Google Play.


Additional TLDs

Great work, any plans to incorporate more of the international domain TLDs?
http://www.unpm.org/wiki/Sample_whois.conf has a list of more TLD to whois

need specific tlds as opposed to a list of every tld.


FragmentPlans: plan window does not list plan views

Describe the bug 📝
When loading model, the plan is not loading the list of plan views
this is the repo:
https://github.com/MiguelG97/obcFragPlans
Reproduction ▶
No response
Steps to reproduce 🔢
No response
System Info 💻
"@types/three": "^0.161.2",
    "bim-fragment": "^1.4.0",
    "npm": "^10.4.0",
    "openbim-components": "^1.4.2",
    "three": "^0.160.1",
    "web-ifc": "^0.0.51"

Used Package Manager 📦
npm
Error Trace/Logs 📃
No response
Validations ✅

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a repository issue and not a framework-specific issue. For example, if it's a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
[X] Check that this is a concrete bug. For Q&A join our Community.
[X] The provided reproduction is a minimal reproducible example of the bug.

I was missing some code. It's working after adding a couple lines


GetArgsList function appends additional hyphens to args if it already has hyphens.

Please assign this bug to me. Thanks.
Environmental Info:
K3s Version: Main branch
Describe the bug:
When calling GetArgsList and passing an args that already have -- you will get back args with ----.
Steps To Reproduce:

Installed K3s:

Expected behavior:
That you only return args with two hyphens.

This is needed so that we can use the function to merge additional args in downstream executors.

This was mostly necessary for rke2 windows. The fact that's working is confirmation of this, and also this had unit tests added to them and is small enough that we should be able to trust those and not need any additional validation from me here.


Allow for custom overlay styles a-la redbox-react

See https://github.com/commissure/redbox-react#style-object
In my particular case, I just want to tweak zIndex.  Shockingly, 9999 isn't high enough, and I don't have control over the host UI.
I know that it's already possible to provide a custom overlay implementation, but that seems like a tall order for such a small tweak.

If you can come up with a reasonable API, then i'll take a PR for this.
Alternatively I'd also take a simple PR which makes the zIndex much higher :)


Compiler Error with Set Membership

Consider the following initial declarations:
Row goes from 1 to 9.

Column goes from 1 to 9.

Value goes from 1 to 9.

grid_square goes from 1 to 9.

A cell is identified by an id, and has a row, and a column.

There is a cell c1 with row equal to 1, and with column equal to 1.
There is a cell c2 with row equal to 1, and with column equal to 2.

Grid_Square S is a set.

These compile pretty much as expected:
row(1..9).
column(1..9).
value(1..9).
grid_square(1..9).
cell("c1",1,1).
cell("c2",1,2).
set(S) :- grid_square(S).

Suppose I want to say that grid_square 1 contains cells c1 and c2.
Adding the following:
Grid_Square 1 contains c1, c2.

gives the following syntax error:
Error trying to process rule "simple_entity":

Compilation error at line 21:
    Entity "contains" not declared before its usage.

If I change the line to:
Grid_Square 1 contains cell c1.
Grid_Square 1 contains cell c2.

I get the expected rules:
contain(1,"c1") :- grid_square(1), cell("c1",_,_).
contain(1,"c2") :- grid_square(1), cell("c2",_,_).

If I however try to use the shorthand (set initialization syntax):
Grid_Square 1 contains cell c1, cell c2.

Then I have a miscompile:
contain(1,"c1") :- grid_square(1), cell("c1",_,_), cell("c2",_,_).

The definition of sets is supported with the following syntax:
set_name "is a set."
and you can define the elements (which, currently, can only be strings) of the set by the following syntax:
set_name "contains" list_of_elements .
You can have for example:
Grid_Square is a set.
Grid_Square contains c1, c2.

Moreover, set definition, as for the concept definitions, should go at the beginning of the declaration:
Row goes from 1 to 9.

Column goes from 1 to 9.

Value goes from 1 to 9.

grid_square goes from 1 to 9.

A cell is identified by an id, and has a row, and a column.

Grid_Square is a set.
Grid_Square contains c1, c2.

There is a cell c1 with row equal to 1, and with column equal to 1.
There is a cell c2 with row equal to 1, and with column equal to 2.

In your example you have this:
grid_square goes from 1 to 9.
...
Grid_Square is a set.

In this situation, is the symbol grid_square the name of a type inhabited by the positive integers 1..9 or is it the name of a single set?

Sorry, I made a mistake. Names must be unique and they are case insensitive, thus the example is wrong and the symbols should have different names.
I also fixed a bug in using multiple sets, so please update to the latest release.


Add feature to enable coloured keys and logger level.

Checklist

[x] I have read the Contributor Guide
[x] I have read and agree to the Code of Conduct
[x] I have added a description of my changes and why I'd like them included in the section below

Description of Changes
Adds the ability to enable coloured keys and the level of the logger. If you have any suggestions to changes I can make or would like to fix please let me know.

@fredr Pushed the changes, take a look when you can, cheers.

Ah, didn't realize that the CI hadn't run yet, sorry about that. If you could fix the clippy lint, I can help out with the deny thing

Ah, didn't realize that the CI hadn't run yet, sorry about that. If you could fix the clippy lint, I can help out with the deny thing

Fixed the clipply warnings, take a look when you can. Thanks!

released in 0.3.3 :rocket:


Version catalog fixes

This PR contains quick fixes for reported version catalog bugs.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test and merge

Your PR is queued because #16975 is being built.

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.


module prefix

issue #3452
depend on #3457
still work to do :

some unit tests on generate directive and generate component
use the ${prefix}-root selector when generating a new module and his main component

@noelmace Please rebase branch with latest code.

Closing every Blueprints related issue and PR.


[in_app_purchase] Migrate to NNBD

This is a monolithic plugin, but has a substantial amount of code to migrate.
It also has a number of dev_dependencies blockers. Those will need to be evaluated and potentially restructured. (E.g., usually integration_test is part of example not the plugin.)

@stuartmorgan should I wait for the migration of dependencies or add --skip-import-check ?

The dependencies will need to be migrated first, or restructured. I think this will need at least an initial look from someone who has significant familiarity with the plugin.


Implement PayIn.cast()

Fixes #90.

Thanks for this add @Changaco ! 👍

Can you release a new version please?


trackEcommerce method is not defined

This is what I get when I log the analytics object to the console:
[Log] UniversalAnalyticsPlugin (console-via-logger.js, line 173)
proto: UniversalAnalyticsPlugin
addCustomDimension: function (key, value, success, error) {
addTransaction: function (transactionId, affiliation, revenue, tax, shipping, currencyCode, success, error) {
addTransactionItem: function (transactionId, name, sku, category, price, quantity, currencyCode, success, error) {
constructor: function UniversalAnalyticsPlugin() {}
debugMode: function (success, error) {
setUserId: function (id, success, error) {
startTrackerWithId: function (id, success, error) {
trackEvent: function (category, action, label, value, success, error) {
trackException: function (description, fatal, success, error) {
trackTiming: function (category, intervalInMilliseconds, name, label, success, error) {
trackView: function (screen, success, error) {
proto: Object
Am I missing something?

Looks like I don't have the right version of the plugin. Closing for now.


Fix using 2 portals

Fixes #8,
ToDo:
[ ] Clicking outside of the Menu should close the Dropdown Dialog.
[ ] Test with a dialog Polyfill
I had to nest the open menu within another <dialog> element, as the browser will not position anything over an open <dialog>, except for another open <dialog>.
Feedback is appreciated.

@HriBB could you publish the fix as a release on npm please?

@jguffey, could we add on blur collapse the dropdown?

@zhenyanghua true. @HriBB this project hasn't been updated in some time. If I can get this PR up to spec (passing use case tests that zhenyanghua pointed out, would you be interested in merging this PR?

I am on a long vacation. Will merge when I get back in a week or so 😉 sorry for the delay.

@HriBB Oh! Thanks for checking in, in that case I'll try to address some of the issues @zhenyanghua brought up. I've been using this lib in production, but there are a few issues still holding it back.

The bugs with this PR seem to mostly be related to the use of the <dialog> component, which is not well supported outside of Chrome at this time. Using a polyfill should fix most of the issues @zhenyanghua pointed out. Personally I've had success with dialog-polyfill. One of my to-do items for this PR is to conduct more testing with this polyfill.
The other issue: "The dropdown doesn't collapse when it is onBlur", is also related to <dialog>. We want to detect a click on the pseudoelement ::backdrop, but according to this thread that approach may be troublesome in some browsers.

It even breaks other demos? Thanks for checking, I'll look into that.
Clicking outside to close a Portal is a known issue, one I'm not entirely sure how to solve and may not be solvable given the ::backdrop problem explained in that thread I mentioned.


update dependencies

Update all dependencies fix #96

@marcobiedermann why is this failing?

@dciccale I think it failed because of an outdated Node version.
I merged the changes on master in it and all tests work fine with the newly set up versions 5.1, 4.4 and 0.12

maybe there are breaking changes on grunt 1+.. it could make sense releasing a major version, need to do more research

@dciccale

Be advised Grunt 1.0.0 will no longer support Node.js v0.8.

Hmm … The previous tests were run against Node.js v0.10, so this might not be the issue

i mean more of inside grunt APIs.. methods, etc, but I guess that if tests pass we are good to go..


Usage of msgpack as response object

I see no way to use msgpack for rest communication using Flask-RESTful. I am not sure if it's indeed impossible right now or if it's undocumented.

It is indicated here:
https://flask-restful.readthedocs.io/en/latest/extending.html#response-formats
Just needed to add a representation for msgpack:
@api.representation('application/msgpack')
def output_msgpack(data, code, headers=None)
    """Makes a Flask response with a msgpack encoded body"""
    resp = make_responsemsgpack.packb(data, use_bin_type=True), code)
    resp.headers.extend(headers or {})
    return resp


FAQ entry for enterprise on hung meta nodes

From @kostasb:

if you see a cluster stalling at startup on the following log lines
[run] 2016/09/19 08:25:03 InfluxDB starting, version 1.0.0-c1.0.0, branch 1.0, commit f0db39037796e2c501785b8dfb6e570d5b645c20
[run] 2016/09/19 08:25:03 Go version go1.6.2, GOMAXPROCS set to 2
[run] 2016/09/19 08:25:04 Using configuration at: /influxdb/conf/influxdb-data.conf
[metaclient] 2016/09/19 08:25:04 Using client state dir: /influxdb/meta

it would stay stuck in the last log line, e,g, not loading the data directories.
even if everything looks good on influxd-ctl output, the meta part of the cluster has some issue. Restarting meta nodes helped in my case.
Meta nodes presented some vote errors, one of the nodes was constantly logging a “vote rejected” message. Once I restarted it, everything went back to normal.

might be too obscure for now, let's not document until it happens again.


Authentication Profile patch

When we are trying to use patch for authentication profiles it throws an error, the same payload works well via REST API call

The requested URL /v1/projects/<PROJECT>/locations/europe-west3/connections?updateMask=%2A was not found on this server.

 That’s all we know.

@cmgpbint - can you please share the command you are executing

$(apigeeCONFIGS_INTEGRATIONS_CLI_GET) authconfigs update \                                         -t $(apigeeCONFIGS_INTEGRATIONS_CLIToken_GET) \                                         -f $AUTH_PROFILE_PAYLOAD \                                         -r $REGION \                                         --update-mask "*" \                                         -p $PROJECT
We are using a bash framework to encapsulate, but the arguments are being set correctly

which version are you using?
integrationcli --version

We use a image, I had check and we are on 0.69
RUN export INTEGRATIONCLI_VERSION=v0.69 &&\     curl -L https://raw.githubusercontent.com/GoogleCloudPlatform/application-integration-management-toolkit/main/downloadLatest.sh | sh -
We were forced to set a version because of the LTS support, we had issues when we used downloadLatest.sh script

Thanks for confirming. There was a fix for Auth config update in v0.70 (https://github.com/GoogleCloudPlatform/application-integration-management-toolkit/releases/tag/v0.70)
Please update your version and retry. Let us know if the issue still exist

Thanks for the feedback, I'll give you an update with LTS 0.70

@cmgpbint - were you able to test?

Yes, after upgrade tthe tools to latest version ( integrationcli version 0.70 date: 2023-10-04T01:12:26Z [commit: 7968f90] )
We get the same error,

The requested URL /v1/projects/<PROJECT>/locations/europe-west3/connections?updateMask=%2A was not found on this server.

 That’s all we know.

worth menction when using via REST we can do it. The URL is sighly different, we are using
https://%s-integrations.googleapis.com/v1/projects/%s/locations/%s/authConfigs/%s?updateMask=*&alt=json

Thanks for checking @cesar-m-pinto-alb
We will look into this and provide an update soon

We just released a beta version (v0.71.1-beta), can you please test using that and let us know if its working as expected
To install the beta version:
export INTEGRATIONCLI_VERSION=v0.71.1-beta
curl -L https://raw.githubusercontent.com/GoogleCloudPlatform/application-integration-management-toolkit/main/downloadLatest.sh | sh -

@cesar-m-pinto-alb - can you please try with 0.71.2-beta

it worked.


Can't transfer GAS from Gate to NEO 3

Transfer fails.
After further investigation, looks like Gate upgraded to Neo N3 Mainnet:
https://www.gate.io/en/article/22525/?ch=en_sm_0921
Now, I have no idea how to get GAS into poltergeist, in order to move SOUL from NEO to phantasma.
Please help.

Thanks Relfos.
Will you please reply here when its ready?

Sure, also please contact admins on phantasma telegram channel https://t.me/phantasma_io
They will provide you with a drop of gas needed to swap SOUL to mainnet.

4 months later - still, no support for NEO3.
I can't believe this.

Can't belive that we have huge queue of pending tasks and this one has lower priority than others?


Generate test certificate avec testingCenterOfFacility avec des espaces ne fonctionne pas

Lors de l'appel de /api/v1/covidcertificate/test
si on met des espaces dans l'attribut testingCentreOrFacility la signature X-Signature n'est pas correctement validée et un message du type: 490 Integrity check failed, the body hash does not match the hash in the header

I was not able to reproduce this when applying the regex on the payload before creating the hash. Please make sure you are creating the hash as described here:  https://github.com/admin-ch/CovidCertificate-Apidoc#content-signature

Since we have tested successfully all kind of api calls with different datas, I though it was a problem on your side. I actually try api with c# generated client using nswag... maybe it's related to the generated client... but not sure.
Here the successful data sended to genererate a test certificate:
"testInfo": [
{
"typeCode": "LP6464-4",
"manufacturerCode": "",
"sampleDateTime": "2021-06-02T06:26:25.720Z",
"testingCentreOrFacility": "centre",
"memberStateOfTest": "CH"
}
],
And the unsuccessful data sended:
"testInfo": [
{
"typeCode": "LP6464-4",
"manufacturerCode": "",
"sampleDateTime": "2021-06-02T06:26:25.720Z",
"testingCentreOrFacility": "centre test",
"memberStateOfTest": "CH"
}
],
And the response:
{
"type": "https://tools.ietf.org/html/rfc7231#section-6.6.1",
"status": 403,
"detail": "Error code : 490 Detail : Integrity check failed, the body hash does not match the hash in the header"
}

You have a space in the unsuccessful data: "centre test". I guess that you do not remove all spaces from message before you apply the signature.
Have a look at the regex from the documentation: /[\n\r\t ]/gm
The list includes the space character. This applies also to JSON values.

OK tested with spaces on other values fail too... sorry. I will check on my side.

Hi @delixfe , I've tried numerous times but unable to fix this problem.
My payload before signing has no space nore multiline since I have used the provided regex to remove them.
Here my payload:
{"name":{"familyName":"FedererMartin","givenName":"Roger"},"dateOfBirth":"1950-06-04","language":"fr","otp":"xxx","vaccinationInfo":[{"medicinalProductCode":"EU/1/20/1507","numberOfDoses":2,"totalNumberOfDoses":2,"vaccinationDate":"2021-05-14","countryOfVaccination":"CH"}]}
This is the string I sign (otp removed for security purpose).
This payload reflect the data:
{"name":{"familyName":"Federer Martin","givenName":"Roger"},"dateOfBirth":"1950-06-04","language":"fr","otp":"xxx","vaccinationInfo":[{"medicinalProductCode":"EU/1/20/1507","numberOfDoses":2,"totalNumberOfDoses":2,"vaccinationDate":"2021-05-14","countryOfVaccination":"CH"}]}
Any help would be appreciate

@golayp Please contact me at<EMAIL_ADDRESS>

Help received from @delixfe  thank to him!!


How to apply patches ?

I am a new bud to Linux.
Since I am using Manjaro Linux 5.4-35 on the ASUS laptop,I am terribly shame to ask my question,which sounds quite silly:
How to apply the patches you mentioned in "readme.md" from "https://patchwork.kernel.org" to my linux kernel?
Could you please give some docs link,tips or something just make me understand how to deal with it?Thank you so much.

Hey,
What model of your laptop? Possibly you don't need to update anything.
On Manjaro you can update kernel to version 5.6 with the help of mhwd-kernel, open terminal and type:
sudo mhwd-kernel -i linux56

I have installed the linux56 kernel by mhwd successfully,but the service still doesn't work well.
My laptop model is ASUS TUF Gaming FX80.CPU core i5-8300H,GPU GTX1050 Ti,RAM 8GB.
Operating system is Manjaro Linux 5.6.8-1.
Here is the error log.

Last time the error is switch fan mode from "normal" to "silent",and report error either.
I tried to edit the file "/sys/devices/platform/asus-nb-wmi/fan_boost_mode", after I edit it from "2"(normal mode) to "1"(overboost mode),the problem appeared:though the fan starts to speed up and works well,my laptop's keyboard lose control.I cannot do anything but reboot compulsively.
After reboot,I tried fn+F5,it doesn't work.
Is there anything need to config or fix?
Thank you again for your kindness!

Bad news, mentioned patch still not merged into 5.6 tree, only in 5.7 it's merged. If you don't mind installing pre-release kernel, try to install 5.7-rc3 using:
sudo mhwd-kernel -i linux57

This should work.

Yes，after installed linux57 kernel the service runs automatically.Thank you!


ox: 0.6.7 -> 0.6.10

changes: https://github.com/curlpipe/ox/compare/0.6.7...0.6.10
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 354280

x86_64-linux

:white_check_mark: 1 package built:

ox

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 354280

x86_64-darwin

:white_check_mark: 1 package built:

ox

Please fix the merge conflict.

Thank you! 🙏


Android Auto

Does our SDK need to include anything special to work with Android Auto?
https://developer.android.com/training/auto/index.html

I would not include Android Auto considerations in the first round. Maybe we can deal with this in the second or third quarter if we have some time.


Update Pimoroni SDK cmake

See: https://github.com/pimoroni/pimoroni-pico/pull/388

I believe this would be fixed by #18


Specify the return field when querying

Hi, thanks for such a great library.
I would like to know how to specify the fields of the query before the sql statement is sent(That is, specify the field when select).

Hello @vvanglro could you please give me an example? I'm not sure that I'm understanding the question.

Are you referring to this?
https://saffier.tarsild.io/queries/queries/#values
P.S.: Thank you for your kind words before 🙂

Are you referring to this?
https://saffier.tarsild.io/queries/queries/#values
P.S.: Thank you for your kind words before 🙂

It isn't. This VALUES is the specified field that is taken out after the query, I meant to specify the field when splicing the sql.
I printed out the last executed sql statement, which is the selected part of the picture. For example, I only want to query the field is_active.
Then the sql statement should look like this：
SELECT users.is_active
FROM users
WHERE users.is_active = false

sqlalchemy can specify fields like this：
db.session.query(users.is_active, users.id).all()

Got it. Something like this:
https://edgy.tarsild.io/queries/queries/#only
Edgy is the other ORM with a lot of extras 🙂
In Saffier that is not yet added due to the nature of the ORM itself but it's in pipeline

Understood, I've been following both projects, for me I prefer saffier because design wise.
I probably think it's better to separate the orm model from the pydantic model(In terms of maintenance, functionality, compatibility, etc.) .
That is, more pure orm functionality.

That is exactly the purpose. You nailed it but no worries, soon that functionality will be out but that is what you are looking for, right?

That is exactly the purpose. You nailed it but no worries, soon that functionality will be out but that is what you are looking for, right?

yep.

@vvanglro apologies for taking so long but there were a few changes that needed to be made + Christmas and I couldn't fully address this functionality.
As we discussed, the only and defer are now available in the new version of Saffier 1.3.0.
Please check the release notes as there are breaking changes but nothing major, just an environment variable that needs updating as now Saffier implements the Dymmond Lazy Settings.
https://saffier.tarsild.io/release-notes/
Enjoy :)

The problem occurs in the setup method of the dymmond_settings library.
    def _setup(self, name: Optional[str] = None) -> None:
        """
        Load the settings module pointed to by the environment variable. This
        is used the first time settings are needed, if the user hasn't
        configured settings manually.
        """
        settings_module: str = os.environ.get(
            ENVIRONMENT_VARIABLE, "dymmond_settings.global_settings.Settings"
        )

Traceback (most recent call last):
  File "/Users/hulk/code/py/workhome/test_saffier/1.py", line 48, in <module>
    asyncio.get_event_loop().run_until_complete(run())
  File "/Users/hulk/miniforge3/envs/py38/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/Users/hulk/code/py/workhome/test_saffier/1.py", line 33, in run
    await models.create_all()
  File "/Users/hulk/miniforge3/envs/py38/lib/python3.8/site-packages/saffier/core/connection/registry.py", line 94, in create_all
    async with self.engine.begin() as connection:
  File "/Users/hulk/miniforge3/envs/py38/lib/python3.8/site-packages/saffier/core/connection/registry.py", line 78, in engine
    return self._get_engine
  File "/Users/hulk/miniforge3/envs/py38/lib/python3.8/functools.py", line 967, in __get__
    val = self.func(instance)
  File "/Users/hulk/miniforge3/envs/py38/lib/python3.8/site-packages/saffier/core/connection/registry.py", line 64, in _get_engine
    url = self._get_database_url()
  File "/Users/hulk/miniforge3/envs/py38/lib/python3.8/site-packages/saffier/core/connection/registry.py", line 58, in _get_database_url
    elif url.driver in settings.mssql_drivers:
  File "/Users/hulk/miniforge3/envs/py38/lib/python3.8/site-packages/dymmond_settings/functional.py", line 16, in inner
    self._setup()
  File "/Users/hulk/miniforge3/envs/py38/lib/python3.8/site-packages/dymmond_settings/conf.py", line 30, in _setup
    settings: Type["Settings"] = import_string(settings_module)
  File "/Users/hulk/miniforge3/envs/py38/lib/python3.8/site-packages/dymmond_settings/module_loading.py", line 15, in import_string
    module = import_module(module_path)
  File "/Users/hulk/miniforge3/envs/py38/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'dymmond_settings.global_settings'

from datetime import datetime

import saffier
import asyncio
from saffier import Database, Registry
from sqlalchemy import func

database = Database("postgresql+asyncpg://postgres:postgres@<IP_ADDRESS>:55432/saffier")
models = Registry(database=database)

class User(saffier.Model):
    """
    The User model to be created in the database as a table
    If no name is provided the in Meta class, it will generate
    a "users" table for you.
    """

    id = saffier.IntegerField(primary_key=True)
    is_active = saffier.BooleanField(default=False)
    created = saffier.DateTimeField(default=datetime.now, server_default=func.now())
    updated = saffier.DateTimeField(default=datetime.now, server_default=func.now(), auto_now=True)

    class Meta:
        registry = models

# Create the db and tables
# Don't use this in production! Use Alembic or any tool to manage
# The migrations for you
async def run():
    await models.create_all()
    await database.connect()
    await User.query.create(is_active=False)
    user = await User.query.get(id=1)
    print(user.id)
    print(user.is_active)

    user2 = await User.query.filter(is_active=False).first()
    print(user2)

    user3 = await User.query.filter(is_active=False).values(['is_active'])
    print(user3)
    # await models.drop_all()
if __name__ == '__main__':

    asyncio.get_event_loop().run_until_complete(run())

Here's what I did to fix it after troubleshooting.
import os
os.environ['SETTINGS_MODULE'] = 'saffier.conf.global_settings.SaffierSettings'
from dymmond_settings import settings as settings

Please check the release notes as there are breaking changes but nothing major, just an environment variable that needs updating as now Saffier implements the Dymmond Lazy Settings.

We should give the SETTINGS_MODULE environment variable value correctly. Right?

Please check the release notes as there are breaking changes but nothing major, just an environment variable that needs updating as now Saffier implements the Dymmond Lazy Settings.

We should give the SETTINGS_MODULE environment variable value correctly. Right?

Yes that is correct. The release notes mentioned that 🙂

@vvanglro let me know if now everything is ok. The only() as we discussed is working 👍🏼

only no problem.
Environment variables are something that should be set by the library. They do not need to be set by the user.

@vvanglro you actually found a bug. This should have been set automatically by the library and overwritten by the user if necessary.
I will patch it and do a release today. Thank you for this


chore(deps): update terraform terraform-ibm-modules/secrets-manager/ibm to v1.18.3

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/secrets-manager/ibm (source)
module
patch
1.18.2 -> 1.18.3

Release Notes

terraform-ibm-modules/terraform-ibm-secrets-manager (terraform-ibm-modules/secrets-manager/ibm)
v1.18.3
Compare Source
Bug Fixes

deps: update terraform terraform-ibm-modules/kms-all-inclusive/ibm to v4.15.12 (#205) (c22f4f7)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

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

This PR has been generated by Renovate Bot.

/run pipeline

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


Select conversation first, then unbox

select conv and then unbox
cc @keybase/react-hackers

What motivates this change

@mmaxim was thinking this might improve performance when tapping in

Bite were code frozen so unless this really solves something let's wait

We should get this in, otherwise coming from a push notification is kind of bustedl


Not coin

Iam having a problem, I sent the wrong token ton please help.

 Iam having a problem, I sent the wrong token ton please help.

Hey @Zha12-02,
If you've accidentally sent the wrong token, immediately check the transaction details and reach out to Ton Coin dApps Token Recovery Ticket Requests for assistance. If you have access to your wallet’s private keys, you can also try adding the token manually. Time is crucial, so act quickly for the best chance of recovering your funds!
Tip: Click the live chat icon at the bottom-right corner of the page to connect with the support team instantly.

Want to withdraw this token toy bybit account

Yes
On Sun, Nov 10, 2024, 2:44 AM PearlsAmos @.***> wrote:

Want to withdraw this token toy bybit account
—
Reply to this email directly, view it on GitHub
https://github.com/ton-blockchain/highload-wallet-contract-v3/issues/9#issuecomment-2466407531,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BLRP3KSJY6JXIII2DAPLZELZ7ZJYXAVCNFSM6AAAAABOTCPNSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGQYDONJTGE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***
.com>


Portable backup can fail with data corruption on high-latency networks [forward-port 1.x]

Forward-port the patch from #20115 to the master-1.x branch.

this went to:
master-1.x: #21978
1.9: #21993
1.8: #21991

git grep 'io.Read[^A-Za-z]' shows no similar usages in 2.x

Closing, this is ported everywhere


Fix issue #203 #202 regarding parseDiffFile

[x] handle diff line contains quotes https://github.com/facebook/mention-bot/issues/203
[x] identify and handle rename lines https://github.com/facebook/mention-bot/issues/202
[ ] for some reason diffParseFile is still sometimes called with start of a diff causing;

Error: Invalid line, should start with something like `diff --git a/`, instead got
--- a/README.md

Also just did the naive solution for this,  improvements are welcome

Thank you!


this class is not key value coding-compliant for the key (null)

I followed the documentation but I'm getting this error:
Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<ViewController 0x7fe2b35299c0> valueForUndefinedKey:]: this class is not key value coding-compliant for the key (null).'
Don't know if this is the correct place, didn't now where to get help.
Kind regards

You're going to need to give us more information, what is the stack trace? What are you even trying to do? Which instructions?

This is probably a noob mistake.
I gave this setup method (being called on - (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions):
  [ARAnalytics setupWithAnalytics:@{
    ARFlurryAPIKey : @"KEY HERE",
  } configuration:@{
    ARAnalyticsTrackedScreens : @[
      @{
        ARAnalyticsClass : ViewController.class,
        ARAnalyticsDetails : @[
          @{
            ARAnalyticsPageNameKeyPath : @"title",
          },
          @{
            ARAnalyticsEventName : @"button pressed",
            ARAnalyticsSelectorName : ARAnalyticsSelector(buttonPressed:),
          },
        ]
      }
    ]
  }];

  [ARAnalytics incrementUserProperty:@"app launched count" byInt:1];

for this message:
- (IBAction)buttonPressed:(id)sender {
  NSLog(@"button pressed");
}

This looks fine, you've set the right class?

I pushed a sample project where I could reproduce the error: https://github.com/the-civilian/just-a-button.git

Crashes with the following stack:
*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<ViewController 0x7fd0c3d272f0> valueForUndefinedKey:]: this class is not key value coding-compliant for the key (null).'
*** First throw call stack:
(
0   CoreFoundation                      0x000000010694af65 __exceptionPreprocess + 165
1   libobjc.A.dylib                     0x00000001063c4deb objc_exception_throw + 48
2   CoreFoundation                      0x000000010694aba9 -[NSException raise] + 9
3   Foundation                          0x0000000104a53e8c -[NSObject(NSKeyValueCoding) valueForUndefinedKey:] + 226
4   Foundation                          0x00000001049a9f37 -[NSObject(NSKeyValueCoding) valueForKey:] + 280
5   JustAButton                         0x000000010471c259 __53+[ARAnalytics(DSL) addScreenMonitoringAnalyticsHook:]_block_invoke_4 + 201
6   JustAButton                         0x00000001047eb35f -[RACSubscriber sendNext:] + 239
7   JustAButton                         0x00000001047a802c -[RACPassthroughSubscriber sendNext:] + 444
8   JustAButton                         0x00000001047ea5b4 __23-[RACSubject sendNext:]_block_invoke + 68
9   JustAButton                         0x00000001047ea3b3 -[RACSubject enumerateSubscribersUsingBlock:] + 595
10  JustAButton                         0x00000001047ea547 -[RACSubject sendNext:] + 151
11  JustAButton                         0x000000010478e8fb RACForwardInvocation + 347
12  JustAButton                         0x000000010478e6fc __RACSwizzleForwardInvocation_block_invoke + 92
13  CoreFoundation                      0x00000001068a0d97 forwarding + 487
14  CoreFoundation                      0x00000001068a0b28 _CF_forwarding_prep_0 + 120
15  UIKit                               0x0000000104f4f1fa -[UIApplication sendAction:to:from:forEvent:] + 92
16  UIKit                               0x00000001050b3504 -[UIControl sendAction:to:forEvent:] + 67
17  UIKit                               0x00000001050b37d0 -[UIControl _sendActionsForEvents:withEvent:] + 311
18  UIKit                               0x00000001050b2906 -[UIControl touchesEnded:withEvent:] + 601
19  UIKit                               0x0000000104fb9aa3 -[UIWindow _sendTouchesForEvent:] + 835
20  UIKit                               0x0000000104fba691 -[UIWindow sendEvent:] + 865
21  UIKit                               0x0000000104f6c752 -[UIApplication sendEvent:] + 263
22  UIKit                               0x0000000104f47fcc _UIApplicationHandleEventQueue + 6693
23  CoreFoundation                      0x00000001068770a1 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
24  CoreFoundation                      0x000000010686cfcc __CFRunLoopDoSources0 + 556
25  CoreFoundation                      0x000000010686c483 __CFRunLoopRun + 867
26  CoreFoundation                      0x000000010686be98 CFRunLoopRunSpecific + 488
27  GraphicsServices                    0x0000000108f4ead2 GSEventRunModal + 161
28  UIKit                               0x0000000104f4d676 UIApplicationMain + 171
29  JustAButton                         0x0000000104712e8f main + 111
30  libdyld.dylib                       0x0000000107edd92d start + 1
31  ???                                 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

You're using the wrong keys for different sections, this is our example code:
[ARAnalytics setupWithAnalytics: @{ /* keys */ } configuration: @{
   ARAnalyticsTrackedScreens: @[ @{
      ARAnalyticsClass: UIViewController.class,
      ARAnalyticsDetails: @[ @{
          ARAnalyticsPageNameKeyPath: @"title",
      }]
  }],
   ARAnalyticsTrackedEvents: @[@{
      ARAnalyticsClass: MyViewController.class,
      ARAnalyticsDetails: @[ @{
          ARAnalyticsEventName: @"button pressed",
          ARAnalyticsSelectorName: NSStringFromSelector(@selector(buttonPressed:)),
      },
      @{
          ARAnalyticsEventName: @"switch switched",
          ARAnalyticsSelectorName: NSStringFromSelector(@selector(switchSwitched:)),
      }]
   },
   ...

You need to use ARAnalyticsTrackedEvents for tracked events, switching that in your example to this:
  [ARAnalytics setupWithAnalytics:@{
    ARFlurryAPIKey : @"KEY HERE",
  } configuration:@{
    ARAnalyticsTrackedScreens: @[ @{
      ARAnalyticsClass: ViewController.class,
      ARAnalyticsDetails: @[ @{
          ARAnalyticsPageNameKeyPath: @"title",
      }]
  }],
   ARAnalyticsTrackedEvents: @[@{
      ARAnalyticsClass: ViewController.class,
      ARAnalyticsDetails: @[ @{
          ARAnalyticsEventName: @"button pressed",
          ARAnalyticsSelectorName: NSStringFromSelector(@selector(buttonPressed:)),
      }]
   }]
}];

works :+1:

Noob mistake, worked! Thanks a lot!


No animals were harmed

After the "No animals were harmed slice" it would be interesting to see a slide that changes 'hungryCat[0]' and shows that the original animal slice was modified.
One of the students asked about this.
This is a very important warning for working with slices. I think it often trips up new users.

Mutation came up in "Mutation happens" but it might help to reference it earlier as well.

Is there a copy function for slices? It could be referenced here, too?

The "change capacity" discussion was done live but it would be nice to see it in a slide so students (and future teachers) can refer to it.
I think more slides showing mutation problems could be helpful... or just really, really confusing. Probably just confusing.


made changes to readme

lgtm may alter more

So i added a table like view to the test case documentation as i was a little confused at first and others shouldn't face the confusion i faced


[WalletApp] I can't connect relay.walletconnect.com when I am in Chain.

Describe the bug
The reason why .com can't link is this host is polluted.
SDK Version

Client: [Swift]
Version [1.6.15]

To Reproduce
Steps to reproduce the behavior:

I'm in Chain, and it's important.
Run ExampleApp - WalletApp target
Scan QR from https://react-app.walletconnect.com/
issue1 : There will be a alert "WalletConnect - Pairing timeout error"
issue2:  after 40s the link view popup.

Expected behavior
No alert and show link view quickly.
Screenshots
https://github.com/WalletConnect/WalletConnectSwiftV2/assets/9858676/26edd6bb-237f-4e70-baa6-6c0f6b56db1a
There is the pollute result:

verify.walletconnect.com
echo.walletconnect.com

The second issue is due to these links also are polluted:verify.walletconnect.com, echo.walletconnect.com

same problem, did you solve it?

I'm in Portugal but has the same problem

related to #1048


[langchains] tries to use the wrong python command

Describe the bug
OpenDevin cannot run python code because the environment variable for its sandbox does not seem to be set
Steps to Reproduce

Fahrenheit_to_celsius example given in ReadMe

Expected behavior
Actual behavior
Additional context
ACTION:
CmdRunAction(command='python fahrenheit_to_celsius.py', background=False)
    OBSERVATION:
    bash: line 1: python: command not found

ACTION:
CmdRunAction(command='apt update && apt install python3 -y', background=False)
    OBSERVATION:

    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

    Reading package lists...
    E: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied)

Noticed that it was executing functions with python and pip whereas it should be using python3 and pip3. How do I change default commands it uses?

Hmm--this isn't a simple issue. The LLM is responsible for deciding what commands to run and what to try. But we could potentially provide it with a list of installed software as part of the prompt
Related issue: https://github.com/OpenDevin/OpenDevin/issues/216

Hi @rbren, can I please take up this task?

I don't think there's any easy solution here--I'm going to close it for now. We have a separate issue tracking the ability to install python

if I just change the container on sandbox.py?
quay.io/jupyter/scipy-notebook

yes you can set the sandbox container image in your config.toml


fix copyright

Signed-off-by: Thanos Makatos<EMAIL_ADDRESS>

@swapnili please take another look.


Invalid registered toolchain '@local_execution_config_python//:py_toolchain': Repository '@python' is not defined

OS Platform and Distribution
Ubuntu 18.04
Compiler version
No response
Programming Language and version

Installed using virtualenv? pip? Conda?(if python)
No response
MediaPipe version
0.10.17
Bazel version
6.1.1
XCode and Tulsi versions (if iOS)
No response
Android SDK and NDK versions (if android)
Android SDK: 30 Android NDK: 21
Android AAR (if android)
None
OpenCV version (if running on desktop)
No response
Describe the problem
We are trying to build the Mediapipe Framework for Android using Bazel by following this link: [https://ai.google.dev/edge/mediapipe/framework/getting_started/android]
But running into below error when running:
bazel run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world
Python version used:
3.11.5
Complete Logs
ERROR: /mediapipe/mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu/BUILD:35:15:
While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu:
invalid registered toolchain '@local_execution_config_python//:py_toolchain':
 error loading package '@local_execution_config_python//':
Unable to find package for @python//:defs.bzl:
The repository '@python' could not be resolved: Repository '@python' is not defined.

Hi @amra-lemis,
Please review the fix provided here as. It should resolve the issue. We have also received confirmation from the community. Let us know if the issue persists.
Thank you!!

Hi @kuaashish,
We've applied the fix you've given, but we are facing the below issue now. Could you please check?
ERROR:
~/external/XNNPACK/BUILD.bazel:784:36: Compiling external/XNNPACK/neonbf16_prod_microkernels.c failed: (Exit 1): clang failed: error executing command (from target @XNNPACK//:neonbf16_prod_microkernels) external/androidndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -no-canonical-prefixes '--target=aarch64-linux-android21' -fdiagnostics-color -Wa,--noexecstack -faddrsig -faligned-new ... (remaining 157 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
clang: error: the clang compiler does not support '-march=armv8.2-a+bf16'
Target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu failed to build
FAILED: Build did NOT complete successfully

Hi @amra-lemis,
Could you confirm if you've successfully built the Hello World example? Additionally, please share the full build command you are using that resulted in the error now.
Thank you!!

Please update Clang to version 18 and set the following:
echo "build --define=xnn_enable_avxvnniint8=false" >> .bazelrc
With Clang 20 (untested) you can build without this flag.

Hi @kuaashish,
Yes, we were able to successfully build the Hello World example by following this link: https://ai.google.dev/edge/mediapipe/framework/getting_started/install
We are now facing issue when trying to build the HandTracking Android example app using the below bazel command:
bazel build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu
As suggested by @schmidt-sebastian, we've update clang version to 18 and set the following flag:
echo "build --define=xnn_enable_avxvnniint8=false" >> .bazelrc
Yet we are facing issues. The following error message is thrown now on running the Bazel build command:
ERROR: /home/luser/.cache/bazel/_bazel_luser/1215dd19034d45756c66832c821a5ffb/external/XNNPACK/BUILD.bazel:784:36: Compiling external/XNNPACK/neonbf16_prod_microkernels.c failed: (Exit 1):
clang failed: error executing command (from target @XNNPACK//:neonbf16_prod_microkernels) external/androidndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -no-canonical-prefixes '--target=aarch64-linux-android21' -fdiagnostics-color -Wa,--noexecstack -faddrsig -faligned-new ... (remaining 157 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
clang: error: the clang compiler does not support '-march=armv8.2-a+bf16'

Please see here: https://github.com/google/XNNPACK/issues/3618


The tracked object disappears from the scene and reappears, it takes several seconds for the result to be correct.Are there any ways to improve？?

You can refer to this issus #3 . By retaining the memory of tracked objects from past frames (instead of just the latest 6 frames and the first frame), there might be some improvement in performance.

You can refer to this issus #3 . By retaining the memory of tracked objects from past frames (instead of just the latest 6 frames and the first frame), there might be some improvement in performance.

Thank you very much for your detailed reply. I will check this issue

You can refer to this issus #3 . By retaining the memory of tracked objects from past frames (instead of just the latest 6 frames and the first frame), there might be some improvement in performance.

Thank you very much for your detailed reply. I will check this issue

May I ask if this effect has been realized? When there is a new frame with old and new objects (given a prompt), it would be efficient to segment them and track.


ShowTimeInput styling issues with mobile devices.

https://jsfiddle.net/mkdowtvc/
There is a issue with the .showTimeInput (currently tested with Iphone X).When a user selects a time and touch the body the .flatpickr-calendar div doesn't remove the .open class causing that the .showTimeInput no closes. Check my JS Fiddle to get a better idea of what I'm saying, it is important to open it from a mobile device to see because the issue on desktop works fine.
Your Environment

flatpickr version used: Latest
Browser name and version:  iOS chrome & Safari
OS and version:

Hi @jcjabros,
Please create a separate minimal reproduction on JS Fiddle. You can fork this example: https://jsfiddle.net/tj2Lo4z7/ . This helps us be sure that the problem is caused by something internal to Flatpickr and not something on your website. Also, that way we make sure the code doesn't change when your website changes

Done! is important to open it from a mobile device.

Hi @jcjabros,
Please create a separate minimal reproduction on JS Fiddle. You can fork this example: https://jsfiddle.net/tj2Lo4z7/ . This helps us be sure that the problem is caused by something internal to Flatpickr and not something on your website. Also, that way we make sure the code doesn't change when your website changes

Done! is important to open it from a mobile device.
https://jsfiddle.net/mkdowtvc/

The same happen with the calendar when you click outside it on desktop it closes but on mobile don't.

Ok, checked it out. This might be part of a bigger issue with the time picker. I'll be looking for a fix these days

Ok, checked it out. This might be part of a bigger issue with the time picker. I'll be looking for a fix these days

Thanks @viorelsfetea with this is issue is almost imposible to use on mobile devices.


Preference for including file extension on auto imports

Search Terms

Auto imports
Preferences
File extensions

Suggestion
From https://github.com/Microsoft/vscode/issues/51259
Add a preference to include file extensions on auto import paths.
Use Cases
File extensions are required when working with browsers.
Examples
a.js:
export const abc = 123;

b.js
abc|

Trigger auto import on abc in b.js to get:
import { abc } from './a.js'

abc

This has actually existed in TS since #26177, but was never added to typescript-language-features. I just tried it and confirmed it works. From conversation in #28288, though, it sounds like we should maybe consider setting .js endings as the default for JS projects? @mjbvz @DanielRosenwasser thoughts?

(Question related to #90405) Is there an existing configuration that can achieve the same behavior for autosuggest when typing the import statement manually?
For example:
{
  "javascript.preferences.importModuleSpecifierEnding": "js",
}

import { someFunction } from './|';
                                ^ when picking a file from autosuggest here,
                                  the file extension seems to always be omitted

I can’t immediately think of a reason why we shouldn’t respect that same setting for module specifier completions. @wsmd would you mind opening a new bug for this?

Thanks @andrewbranch! Will do! I think it would be nice to have importModuleSpecifierEnding applies for both auto-imports and manual import suggestions 👍


Scoresheet bug in Study tab

https://youtu.be/gmRSOVaryg4
https://youtu.be/GLhW0fGQ4RA
https://youtu.be/IIjFgRyKL8w

https://youtu.be/ywN49UOPbg4

Can you please attach your Endgame.pgn file so I can hopefully reproduce it?
You mean this? https://drive.google.com/drive/folders/1HzGE9TKIuVT76WURbePtbtp2dDcz4OUi?usp=sharing

No, I mean the one where you produced that "dual" 2. Bg2 move.  (The title bar says "Endgame.pgn").

I have tried repeating all the steps in your video (importing 500 games, clicking around etc.) in attempt to reproduce the problem.
The first symptom in your video is when you click on 1...e5, and in the scoresheet in remains 1...c5 but I cannot reproduce that.

Oh, ok, please ignore. I have a repro now!

Issue 2: now fixed (will release private build 1.2.3 soon)
Issue 3: i.e., hiding engine lines after the user clicked on the scoresheet:  fixed as well

I guess we missed this one. https://youtu.be/IMIztYSWaWk

Yes, fixed in the upcoming release.


Add permissions to django-updated OSF Admin app [OSF-7417]

Purpose
The final (hopefully) update in a long string of OSF Admin updates getting it all ready for DjangOSF. This one redoes the admin permissions system to better make use of Django's permissions and groups.
This PR takes some pre-existing groups and permissions, changes some names, and hopefully makes some logical sense.
Groups:
read_only:

view_node
view_user
view_conference
view_spam
view_metrics
view_desk

osf_admin
All of the above plus:

change_node
delete_node
change_user
change_conference
mark_spam

prereg_admin

view_prereg
administer_prereg

prereg_view

view_prereg

metrics_only

view_metrics

Changes

Changes to templates checking for specific permissions instead of group membership
Changes to views checking for permissions
Remove groups for auth mixins
Migration to create groups with permissions
Migration to create special view permissions for some OSF models
Change's admin's password hashing to match the OSF's
Update the API's (and the Admin's) ODMBackend to inheret from Django's ModelBackend
Add blank=True to Institutions and External Accounts for OSFUsers so that permissions can successfully be added via the admin

Side effects

Migrations will need to be run to add new groups along with permissions in those new groups. There is also a migration to add special view permissions to the OSF models that need them, mainly in Node, Registration, Conference, and field updates for OSFUser

NONE of the old OSF Admin Accounts will work any longer! We'll have to instead mark each of the OSF Admin users' OSF accounts through the admin app. Sara can still do this, as she's a superuser.

How to test locally!!
pre-setup - run all migrations and whatnot

Create a superuser

open the shell with docker-compose run --rm web python manage.py shell_plus and get your user
set is_superuser and is_staff to True and save

log in to the osf admin with that superuser
upgrade different already existing OSF users with http://localhost:8001/account/register/

Select their permissions, mentioned above

notes:

metrics might not work if you don't have API keys locally, but this PR does not deal with these as the're js only and not python

Ticket
https://openscience.atlassian.net/browse/OSF-7417

@mfraezz updated and ready!

LGTM. RTM when Travis is happy.


[Doc] Describe the error codes returned from RemoteAuthorizationManager API

Background
The descriptions of the error codes that will be returned from the RemoteAuthorizationManager API.
REF: https://docs.wso2.com/display/IS530/Managing+Permissions+with+APIs

Updated the following docs:

https://docs.wso2.com/display/IS530/Managing+Permissions+with+APIs
https://docs.wso2.com/display/IS540/Managing+Permissions+with+APIs
https://docs.wso2.com/display/IS541/Managing+Permissions+with+APIs
https://docs.wso2.com/display/IS550/Managing+Permissions+with+APIs
https://docs.wso2.com/display/IS560/Managing+Permissions+with+APIs
https://docs.wso2.com/display/IS570/Managing+Permissions+with+APIs
https://docs.wso2.com/display/IS580/Managing+Permissions+with+APIs


operators hive-operator (2.5.3487-54077a8)

Create new channel for Hive community operator at 2.5.3487-54077a8

/merge possible

/merge possible


#49603821 check plz

The number is #3362

The number is #3362

find the double check your inscription number double check results here -> https://github.com/orc721/monkes21/blob/master/DBLCHECK.md

good job ~ 👍


The field name should be split into first and second name

https://www.nttdocomo.co.jp/english/service/developer/make/content/barcode/function/application/addressbook/index.html
due to this documentation there are some special obstacles when you have only first/second name and both of them.
Check the other cases too.

I'm sorry but I do not understand very well, the MeCard format contains "Name", which you can enter first and last name split by  ','
Did you mean that?

Name - When a field is divided by a comma (,), the first half is treated as the last name and the second half is treated as the first name.
But in your code you use one field - "name"

Well, So in Bean would MeCard two variables , name and surname?

yes

Please update your version ;-)
dependencies {
compile 'it.auron:mecard-parser:1.0.6'
}


Only show "Sign up with google" when enabled

The default behavior shows a "Sign up with google" button on the signup page, even if google authentication isn't enabled. This PR adds a check.

Automated message from Dropbox CLA bot
@jmandel, it looks like you've already signed the Dropbox CLA. Thanks!

Looks like this lost the %trans on the string ?
Otherwise looks great!
-Tim Abbott (mobile)

Yeah, um, not totally sure how I did that. But %trans is back now, good catch @smarx

Merged via 15dae10.


Tabbar might unexpectedly be hidden when switching from regular to compact mode

When switching to “iPhone” mode (50/25% splitview) when in a repo > issue, going back will not pop back the tabbar until you are back at root.
Steps to reproduce:
On iPad, use GitHawk in >50%
Open a repo > issues > open an issue
Switch to 50 or 25%
— the tab bar will now be hidden - as expected
Navigate back
— the tab bar will be hidden until popping to root, but should immediately pop back up instead

Bug Report Dump (Auto-generated)

Version 1.16.0<PHONE_NUMBER>)
Device: iPad7,3 (iOS 11.2)
TestFlight: true

Ok, this is actually happening more often:

Open a repo in > 50%
Go to 50/25%
Tab bar should pop back up immediately, but doesn’t

Sent with GitHawk


Add tests to template projects

Template projects are rather good but what about tests for client-side? For example, while using Vue + Asp.Net Core template it was very hard to connect any available test framework to work with as it uses not the very popular case: typescript + Vue. Could you please add configured tests to templates to make testing not so painful.

This is now implemented in the Angular, React, and React+Redux templates 👍
We're not planning to schedule work to add it to the Aurelia/Knockout/Vue templates add-on package because that add-on package is more community driven and doesn't ship in the CLI by default. If you or someone else in the community is keen to add generation of unit test files to the Aurelia template we'd certainly consider a pull request!


Create a JSON file

The JSON file will have data of

[ ] Current Core members
[ ] People in managerial positions
[ ] Alumni

{
   name: ' '
   batch: ' '
   desig: [ ]
   chapters: [ ]
   social_handles: {}
}

For details on how to collect these data contact the admins

For details, refer to : https://codeiiest.github.io/


Support CUE language

This PR adds support for the CUE language.
Draft because there is another language using .cue, likely cue sheet. I will need to add a heuristic.
Checklist:

[x] I am adding a new language.

[x] The extension of the new language is used in hundreds of repositories on GitHub.com.

Search results for each extension:

https://github.com/search?q=extension%3Acue+package

[x] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

https://github.com/cilium/cilium/blob/b7ffa0eb1fb9c59834c95f811c32eed1b4631f27/examples/kubernetes/connectivity-check/defaults.cue

Sample license(s): Apache v2.0 License

[x] I have included a syntax highlighting grammar: https://github-lightshow.herokuapp.com/?utf8=✓&scope=from-url&grammar_format=auto&grammar_url=https%3A%2F%2Fgithub.com%2Fbetawaffle%2Fvscode-cue%2Fblob%2Fmaster%2Fsyntaxes%2Fcue.tmLanguage.json&grammar_text=&code_source=from-url&code_url=https%3A%2F%2Fgithub.com%2Fcilium%2Fcilium%2Fblob%2Fb7ffa0eb1fb9c59834c95f811c32eed1b4631f27%2Fexamples%2Fkubernetes%2Fconnectivity-check%2Fdefaults.cue&code=
[ ] I have updated the heuristics to distinguish my language from others using the same extension.

Great to see this being worked on. Please note the vscode-cue plugin has been moved to a new home at https://github.com/cue-sh/vscode-cue

Should we open another PR to get this moving again? Recently adopted CUE and the lack of linguist support makes the files quite painful to read on GitHub.

Per https://github.com/github/linguist/issues/5013#issuecomment-804263183, given that it appears this PR has stalled, we're trying and revive work on CUE support coordinating via that issue.

Closing in favour of https://github.com/github/linguist/pull/5312


Meetup Suggestion: Reno-Tahoe Bitcoin Meetup

Required:

Name of Meetup: Reno-Tahoe BTC
Location Of Meetup: Reno, Nevada and Lake Tahoe
At least one of the following:

Meetup Page (or similar): https://twitter.com/TahoeBTC

As the organiser of Reno-Tahoe BTC Meetup I can confirm that the meetup is bitcoin-only
-The meetup is bitcoin focused.
-'Altcoins' are scams and are not promoted in talks/presentations at our meetups.
#bitcoinonlymeetups @bitcoinonly_

Ready to be made into a pull request.


Overflow Warning Encountered in Power

Hi David,
I'm encountering an overflow warning when passing a value for bi that is small but not exactly zero

The fit.best_values were calculate by passing the dca.MH function to  LMFIT.
Here are the details on the curve fit

It appears dca.MH is using the hyperbolic equation since b != 0, but in this instance b is very small so perhaps it should use the exponential decline instead. Normally I would just set bi = 0 and be done with it, but in this problem, bi can take on any value between 0 and 2 during the curve fit. Any suggestions?

The hyperbolic rate function reduces to the exponential form if b < 1e-10, but perhaps this should be increased a few orders of magnitude. Let me do some testing to find a good value.

Addressed in #10.

David,
Do I simply run a pip install petbox-dca --upgrade from my terminal or is there some other step I need to perform to bring in your changes?
Thanks,
David Hickman

From: David S. Fulford @.>
Sent: Friday, April 16, 2021 2:53 PM
To: petbox-dev/dca @.>
Cc: David Hickman @.>; Author @.>
Subject: Re: [petbox-dev/dca] Overflow Warning Encountered in Power (#13)
Addressed in #10https://github.com/petbox-dev/dca/pull/10.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/petbox-dev/dca/issues/13#issuecomment-821526383, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIZE5TSZIZ6MEQC5M2Q72QTTJCISHANCNFSM426CP37A.

I need to publish to pypi first. I will do that in the next few days. Otherwise, you can install from master here.

@dhickman81 This is now on pypi. You can run the following:
pip install --upgrade petbox-dca


Update Salt Minion URL and bump current version

Updating URL per https://github.com/saltstack/salt-bootstrap/pull/711/commits/05f344c596af9efd7b13b4e31f3e6366140409f3 and bumping the current version to 2015.8.8-2

Untested but looks good. Thanks for the effort.


New pod format support

I wonder how could I use the library with the new pod format
# Uncomment this line to define a global platform for your project
platform :ios, '9.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :release,
  'Release' => :release,
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
  unless File.exist?(generated_xcode_build_settings_path)
    raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
  end

  File.foreach(generated_xcode_build_settings_path) do |line|
    matches = line.match(/FLUTTER_ROOT\=(.*)/)
    return matches[1].strip if matches
  end
  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
  end
end

Please try this:
# Uncomment this line to define a global platform for your project
platform :ios, '9.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :release,
  'Release' => :release,
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
  unless File.exist?(generated_xcode_build_settings_path)
    raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
  end

  File.foreach(generated_xcode_build_settings_path) do |line|
    matches = line.match(/FLUTTER_ROOT\=(.*)/)
    return matches[1].strip if matches
  end
  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))

+  # If you use `use_frameworks!` in your Podfile,
+  # uncomment the below $static_framework array and also
+  # the pre_install section.  This will cause Flipper and
+  # it's dependencies to be built as a static library and all other pods to
+  # be dynamic.
+  # $static_framework = ['FlipperKit', 'Flipper', 'Flipper-Folly',
+  #   'CocoaAsyncSocket', 'ComponentKit', 'Flipper-DoubleConversion',
+  #   'Flipper-Glog', 'Flipper-PeerTalk', 'Flipper-RSocket', 'Yoga', 'YogaKit',
+  #   'CocoaLibEvent', 'OpenSSL-Universal', 'boost-for-react-native']
+  #
+  # pre_install do |installer|
+  #   Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
+  #   installer.pod_targets.each do |pod|
+  #       if $static_framework.include?(pod.name)
+  #         def pod.build_type;
+  #           Pod::BuildType.static_library
+  #         end
+  #       end
+  #     end
+  # end
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
+    if target.name == 'YogaKit'
+      target.build_configurations.each do |config|
+        config.build_settings['SWIFT_VERSION'] = '4.1'
+      end
+    end
  end
+  file_name = Dir.glob("*.xcodeproj")[0]
+  app_project = Xcodeproj::Project.open(file_name)
+  app_project.native_targets.each do |target|
+    target.build_configurations.each do |config|
+      cflags = config.build_settings['OTHER_CFLAGS'] || '$(inherited) '
+      unless cflags.include? '-DFB_SONARKIT_ENABLED=1'
+        puts 'Adding -DFB_SONARKIT_ENABLED=1 in OTHER_CFLAGS...'
+        cflags << '-DFB_SONARKIT_ENABLED=1'
+      end
+      config.build_settings['OTHER_CFLAGS'] = cflags
+    end
+    app_project.save
+  end
+  installer.pods_project.save
end

@lijy91 Cool thank you, I will try it for sure


Surround URL pasted from clipboard with angle brackets when composing a message

fixes https://github.com/thundernest/k-9/issues/6756
PR Description
Surround URL pasted from clipboard with angle brackets when composing a message
Issue video
https://www.loom.com/share/b7edc0c460044601a6b73409f716b98a?sid=e7d87146-4f1b-481c-a7b0-b241669ed825
Fix Video
https://www.loom.com/share/a3867dde674b4408abdabb861e9e67cb?sid=9957115d-eed4-47bb-9de3-6c3a8f7c0039

This code was written and reviewed by GitStart Community. Growing great engineers, one PR at a time.

Superseded by #7113


Move the SkipFailedBlocks option to RPC config

#52  👈
main

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

Join @vegarsti and the rest of your teammates on  Graphite


Fixed it.

Was throwing some errors for me with unicode and keys so fixed that.
import os
import csv
import json
import datetime
def process_file(file_path, data_writer):
with open(file_path, encoding='utf-8-sig') as file:
data = json.load(file)
for obj in data['timelineObjects']:
if 'placeVisit' in obj:
location = obj['placeVisit']['location']
name = location.get('name', '')  # Use .get() to avoid KeyError and provide a default value
address = location.get('address', '')  # Use .get() to avoid KeyError and provide a default value
lat = location.get('latitudeE7', 0) / 107
lon = location.get('longitudeE7', 0) / 107
timestamp = obj['placeVisit']['duration'].get('startTimestamp', '')
placeid = location.get('placeId', '')
            # Convert the timestamp to a datetime object
            try:
                datetime_obj = datetime.datetime.strptime(timestamp, '%Y-%m-%dT%H:%M:%SZ')
            except ValueError:
                try:
                    datetime_obj = datetime.datetime.strptime(timestamp, '%Y-%m-%dT%H:%M:%S.%fZ')
                except ValueError:
                    datetime_obj = None

            # Convert the datetime object to Unix epoch time
            if datetime_obj:
                epoch_time = int(datetime_obj.timestamp())
            else:
                epoch_time = ''

            # Write the data to the CSV file
            data_writer.writerow([timestamp, lat, lon, address, placeid, name, epoch_time])

def main():
root_dir = "Takeout/Location History/Semantic Location History"
output_file = "semantic_location_history.csv"
with open(output_file, 'w', newline='', encoding='utf-8') as outfile:  # Specify encoding='utf-8'
    data_writer = csv.writer(outfile)
    data_writer.writerow(["timestamp", "latitude", "longitude", "address", "placeid", "name", "epoch_time"])

    for subdir, dirs, files in os.walk(root_dir):
        for file in files:
            if file.endswith(".json"):
                file_path = os.path.join(subdir, file)
                process_file(file_path, data_writer)

if name == "main":
main()
print('semantic_location_history.csv created in current directory')

Feel free to raise a PR so i can review changes and merge

closing


Instance not appearing in the deployment list after a successful deployment

Description
After a successful deployment i got the message that tells me that i'll be notified when my deployment is ready and after about 2 mins i got another message telling me that my deployment is up and running however during this period my deployment did not appear in the deployment list and i had to reload the page for my deployment to appear.
Get Mastodon (8).webm

Verified on https://getmastodon.threefold.io/
The deployment details now appear in the deployment list immediately after a successful deployment.
Get Mastodon (16).webm


KMongo 4.2.7 does not work with Kotlinx Coroutines 1.5

KMongo 4.2.7 is not working with Kotlinx Coroutines 1.5. Since some function signatures have changed, it does throw NoSuchMethodError exception.
The current workaround is to exclude Kotlinx Coroutines from KMongo dependencies in Gradle, and add newer versions of them:
dependencies {
    implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0")
    implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.5.0")
    implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.5.0'

    implementation("org.litote.kmongo:kmongo-coroutine:4.2.7") {
        exclude group: "org.jetbrains.kotlinx", module: "kotlinx-coroutines-reactive"
        exclude group: "org.jetbrains.kotlinx", module: "kotlinx-coroutines-core-jvm"
    }
}

It seems to be working without any issues with Coroutines 1.5.

Thank you for reporting. This is strange, as kmongo 4.2.7 depends of coroutine of 1.5.0-RC as you can see here: https://mvnrepository.com/artifact/org.litote.kmongo/kmongo-coroutine-core/4.2.7
Anyway I release a new kmongo version today with updated dependencies

Thanks for the fix. I'm not sure why this was happening as you've shown that dependencies are correctly set. I've seen Gradle resolve dependencies to lower versions before, in case of conflicts, but I will not dig too much into this as the new release of KMongo (4.2.8) solved the problem.
Thanks again!!


Common intents training module (GUI)

Acceptance Criterias:

[ ] Common topics will be distinguished from local intents #10
[ ] View and edit rules/stories/responses for common intents (original model must be commented out, but kept in the dataset);

GUI Story's:

[ ] tba
[ ] tba

DSL Story's:

[ ] tba
[ ] tba

@vmugra
The difference here compared to other intents training module GUI functionalities are only limited to different data sets, right?

@turnerrainer o

@vmugra
Makes sense. Just a separate DSL then, no GUI developments needed.

@turnerrainer
We discussed earlier, that common intents and organization intents will be separated into different views. This means GUI developments are still needed here.

Solved with task #10


Overlapping horizontal labels in large data sets

So I've found a bug where, with large data sets, horizontal labels seem to get cut off because I assume they are overlapping.
Here's a little context on what I'm trying to do. I've got a large data set (hundreds of points) that I'm graphing as a line chart. I've created a neat little widget that allows the user to see the graph at different snapshots. It works great when you have a small number of points! However, when I graph a large enough number of points, labels start overlapping. Now, I'm not trying to draw hundreds of labels, I only assign label values to 7 or chart entries, regardless of how many points I put into the chart. My assumption was that for larger data sets, only the labels I assigned would appear. This does not appear to be working.
For the moment, as a workaround, I'm only going to graph the data points that I label, but doing means my graph loses a lot of granularity and detail. Any help with this would be appreciated.
Thanks for all your work, this is a great library and I'm glad I pulled it into my project!

@mgramley have you found any workaround for this yet? I'm running into this issue right now as well. I don't really want to go as far as to add another controller that will be put on top of the bottom of the chart so that I can show the horizontal labels on 'larger' datasets...

@eddie010 I haven’t found a good solution to this yet. I’ve been a bit inactive on the project that was using micro charts which is why I haven’t gotten around to fixing it. My plan was to pull the source and try to contribute to the project with a solution, but I haven’t gotten around to it yet.

I believe @aloisdeniel didn't implement something like this on purpose, to keep the data represented by the library as simple as possible. This library wasn't designed for complex/super detailed data. That said, I'll look into it, and see if there's anything that we can accomplish.


Transport wss test suite

PR summary
This PR leverages the existing real engine test suite for the websocket transports (both tls and unencrypted).

[x] unencrypted websocket test suite
[x] tls encrypted websocket test suite

Review checklist

[x] The story has unit or integration tests
[x] No new bugs, and any tech-debt is identified and justified
[x] There is enough API documentation (how to use)
[x] There is enough code documentation (how the code works)

sweet!
In the future, we might make a macro out of the launch_*_test() since its always the same thing, don't you think?

Agreed- there is still some boiler plate left here to eliminate but it's a good start!


Update skafka to 12.2.0

Updates com.evolutiongaming:skafka from 11.10.0 to 12.2.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.evolutiongaming", artifactId = "skafka" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequest = { frequency = "@monthly" },
  dependency = { groupId = "com.evolutiongaming", artifactId = "skafka" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #348.


API V2 Shipped-- Chatbot issues

So Dialogflow updated to their V2 API and sunsetted V1, meaning the tokens we had for our bots are now... ineffective. Any idea how to go about this?

I get a fix done for this soon

Tried to integrate V2 API but I can't figure it out. An update would be nice.

Sorry, I've been really busy, I'll get to it asap after my exams are done

Totally understandable. Been busy with my programming major. I could look into it and see if I can find a way to help you out? I can't promise much, but I can look at the code and stuff


Select multiple directories at once

This pull request allows to select multiple directories in the "Add directory"  dialog. This is helpful if you have a directory per chapter/issue/... with the corresponding images and want to convert several such directories at once.

I'm aware that is possible by creating custom widget. But last time I checked this approach don't work with native widgets - and that cause nightmarish look of this form on most of platforms.

I tested it on Ubuntu 16.04. and it looked exactly the same as before. I have a hard time getting it to run on windows but I can try again. I don't have a mac available so I can't test this.
If it should turn out to look bad on anything but Ubuntu, how would you feel about adding another check and make it available only in Linux? I've seen quite some of similar checks in the code already.

OK. Maybe they fixed it. I will check this out.
Thanks.

Did you ever get a chance to test this on something that's not Ubuntu?

No. No yet.

I got it to run in Windows. My change actually didn't work there at all, but I added a line to make it work there as well. But as you said that deactivates the native file dialog, though I think it still looks reasonably good. Maybe this could be a setting somewhere? Or if you don't like the look at all, I could leave out the line I added and make it a Linux only feature?

I should have time this week to check this out.

I tested it on QT 5.7 and as I expected it look bad on most of the platforms (Windows, OS X, some Linux WM). So I'm not interested with this change.


[docs] Update mui-x on material-ui navigation

Changes

Added the redirects for those who directly access the old URL (will land on the MUI X docs)

Update the navigation UI by grouping data-grid & date-picker under MUI X and mark the lab as legacy.

Before
After

Added a deprecated page as a summary of the afford and provide useful links to other resources.
Preview: https://deploy-preview-31810--material-ui.netlify.app/material-ui/deprecated-pickers/

[x] I have followed (at least) the PR section of the contributing guide.

Maybe we should have Data Grid, Date Picker, and all the X components under the Components folder and then have them as separators:

Components

DATA GRID
Overview
....
DATE PICKER
Overview
....

Are we talking about the old doc infra or the new one
If it's the new one, do you want to list all the pages of the Data Grid and Date Pickers or just the 2-3 most important ?

This is the new infra (X docs separated from Core).

DATA GRID

Overview
Demo
Getting started

DATE/TIME PICKERS

Overview
Demo
Getting started

This format? @danilo-leal @flaviendelangle

I've just reviewed a bit of the wording but I'll be requesting Sam's review for further improvement.

Thanks, that's a lot better! I'll commit and wait for another review from Sam.

This page talks about date and time pickers, but the blog post about the move seems to suggest that it is just the date pickers moving. Or does the x-date-picker package include time pickers?

Yes, we meant the same thing (the whole pickers family). Any suggestion to make it clear?

@samuelsycamore we have a lot of pickers (date picker, time picker, date time picker, date range picker, year picker, ...)
We chose to name the package @mui/x-date-pickers (with an s) instead of just @mui/x-pickers for instance because you could have pickers that are not related and that would go in another package (an emoji picker for instance).
And on the other hand, being more precise, like @mui/x-date-and-time-pickers makes the name very long and still is not exhaustive.

you could have pickers that are not related and that would go in another package

Wouldn't it make more sense to use x-pickers as a broader package name that includes each and every picker we come to develop? Having the package be x-date-pickers does spark a bit of confusion at first given it creates an expectation to have only date pickers. And, at some point, I'll also figure out that there are date time pickers and even pickers in general there as well.
Leaving it broader also gives the benefit of the doubt for the future — what if the emoji picker ends up sounding like a good idea one or two years from now? We'd just include it in the x-pickers package and there you go. No need to create x-emoji-pickers. It's just an example but I think there is a benefit.

@danilo-leal here is the Slack discussion
I don't think the term "picker" creates a component family consistent enough to group them in a single package.
For me this package is only intended for pickers that have something to do with to time.
An emoji picker or a color picker should not be in this package for me.

Shoot, seeing now that I even voted in favor of x-date-pickers 😅 But yeah, okay, don't think we should change the decision here or anything. But I'm afraid that x-date-pickers doesn't put clearly across that you'll find a time picker there as well (time in terms of interacting with a clock not with date). It's reasonable to expect anything date-related but time may come as a surprise (not a bad one but just something not right in your face).

In this case, I would propose that we refer to x-date-pickers collectively as "date and time pickers," which can be shortened to just "pickers" or "picker components" after the first usage in a document.

@samuelsycamore @danilo-leal I updated the url to be /material-ui/lab-date-and-time-pickers/ (from what I understand in the comments). Is there anything that needs to be done in this PR?


SortMergeJoin: Add RightSemi join support

Is your feature request related to a problem or challenge?
Sort Merge Join currently supports LeftSemi join however it would be nice to have RightSemi support as well
https://github.com/apache/datafusion/blob/main/datafusion/physical-plan/src/joins/sort_merge_join.rs
Describe the solution you'd like
Add support unit tests and fuzz tests
Describe alternatives you've considered
No response
Additional context
No response

take


Weird scrollbar behavior on OS X

It almost seems as if the hide/show logic for the scrollbars is inverted somehow; initially when loading Atom, no scrollbar is visible (as expected), upon scrolling no bar shows up. Then when scrolling stops , the scrollbar suddenly appears even though it should now be hidden.
Steps to reproduce:

Build Atom from master (also present in beta).
Open some file that allows scrolling, but do not scroll. Verify that there's no scrollbar visible.
Begin scrolling. Most likely no scrollbar will appear, but when you stop scrolling, one will likely appear.
Scroll once more and the scrollbar (if visible) will most likely go away.
Repeat ad infinitum.

I have the editor.scrollPastEnd option set to true, and running OS X 10.11.1.
I'm also experiencing scenarios when it doesn't show up at all.
Here's a screen recording where I'm attempting to illustrate what's happening. It almost seems as if it's showing up every other time. Although it also seems almost random at times.

In summary, a bit hard to explain, but easily reproduced. I'm checking stable now to see if the problem is present there as well. Either way, I'll probably start bisecting to figure out when this regression was introduced.

The problem is not present in stable (1.0.20-7229d1a).

Noticing the same. Tree-view and settings are ok, just the scrollbar in the editor has this issue.

I tested different versions of electron, and this bug started to happened since the update to electron v0.32.x, e.g. the one with Chrome 45 upgrade. It seems that some behavior in Chrome 45 has changed.

@zcbenz I bisected this earlier and tracked it down to the v0.33.1 bump in Atom (https://github.com/atom/atom/commit/9354b865dd9df0c383b9518b52db5db7cbb82b7f), which supports your findings.

This seems to be a Chrome bug. I created a reproduction example and opened an issue on their tracker: https://code.google.com/p/chromium/issues/detail?id=554722

I also got a very strange scrollbar in my project, not too much files, also its Atom 1.2.2 and Windows 7/8/10 (same bug on all of them).
Screenshot:

This issue is still in progress on the Chromium side and is officially slated for Chrome 49, which is currently in beta. I asked whether that estimate as accurate on the linked thread because it doesn't seem like it is. Seems like we may be waiting until Chrome 50 or later for a fix. Considering it's in progress, it doesn't seem high-priority enough to justify a hacky workaround, even if we could come up with one.

@lee-dohm Heads up: Marking this as blocked for now.

The patch has landed in Chromium and this will be fixed in Chrome 51.


The difference between official diffusers and SLiMe’s implementation

Anything different between the official diffusers and your implementation? is that OK to simply use the diffuser with pip install

We have made some changes in the code to be able to extract attention maps from the UNet. So if you use the diffusers with pip install it won't work

Thanks for sharing the information. Could you share the specific files have been modified? I would like to use the updated diffusers.
By the way, the work is solid, thanks for sharing the codes.

I have modified the following files:
diffusers/models/attention.py lines: 294 and 312
diffusers/models/attention_processor.py lines: 387 and 651


batch_update does not seem to exist

In the docs, the method batch_update is referenced.
Unfortunately, it just doesn't seem to exist in the 0.15.1 airtable-python-wrapper package. That's off, since the code is in the repo.
dir(airtable)

> ...
  'batch_delete',
 'batch_insert',
 'delete',
 'delete_by_field',
 'get',
 'get_all',
 'get_iter',
 'insert',
 'match',
 'record_url',
 'replace',
 'replace_by_field',
 'search',
 'session',
 'table_name',
 'timeout',
 'update',
 'update_by_field',
 'url_table']

airtable.batch_update()

> 'Airtable' object has no attribute 'batch_update'

Can you try updating to 15.1?
https://github.com/gtalarico/airtable-python-wrapper/blob/master/HISTORY.md#0152

I'm sorry for taking so long to get back to you. This is tested and fixed.


Startup Bug: Settings form Player box is disabled

Describe the bug
New developer cannot input ID. I think that this bug effects all new users, or at least new developers on this project.
To Reproduce
Steps to reproduce the behavior:

On a new machine, open the code in Visual Studio.
Run it
See error (screenshot below)

Expected behavior
The settings form player box should be enabled so that the user can input his ID.
Screenshots

Desktop (please complete the following information):

OS: Windows 11

I find another reason for the issue.
The exception has occurred because an async HTTP request method calls a method, which accesses a GUI object.
1: HTTP NotFound Exception occurred. But it is not the reason for the bug.

2: Refer to GUI label object from the async task that is not GUI context.

3: The problem is direct access to the label when InvokeRequired is true. And no one doesn't catch the exception properly.