Unable to parse github PR patch files

I downloaded https://patch-diff.githubusercontent.com/raw/esp-rs/esp-idf-svc/pull/82.patch and am trying to apply the patch, but patching fails.
$ cargo patch
Error: Unable to parse patch file

The patch file looks like a standard git diff patch, so I see no reason why it shouldn't work?

also, looking a bit closer, the patch file is definitely relative the crate, see the original crate here: https://github.com/esp-rs/esp-idf-svc

Unfortunately this is a bit harder to fix then expected.
Most important thing is that you cannot use the git patch url. You have to use the .diff url like this one: https://patch-diff.githubusercontent.com/raw/esp-rs/esp-idf-svc/pull/82.diff. Reason for this is that the git patch format is different from the standard patch format. But even that format does not work as is as it has a a/ and b/ attached to files which then of course do not exist, which is another difference to the diff command. Normally I recommend changing the file to make it compatible to the patch library I'm using (which is compatible with the diff command).
Unfortunately, it turned out that it is not enough to just correct these changes, as the currently logic does not allow adding or deleting files. So further changes are necessary before this particular patch file can work.
I do not have the time to perform the changes at the moment, so either someone else may have a look at it or I will do it once I h ave a bit more spare time.


[Feature] Extract Historical District Data for Provinces

Make csvs with history for each of the districts and subdistricts for ever provinces
See issues

#147
#146
#145

See the western cape example in the data folder.

@SefaraTJ could you please also add to the README.md of the district data where you got the info.


Car running without input from arduino

The script rc_control_test.py is running but i am not sure whether its taking my input or not. The remote buttons have 4 pins connected to the board of which i have soldered wires to two pins because connecting the wire to single pin doesn't make the car work. After connecting to the 2 pins the car goes only in forward direction. Urgently help required!!

Let me guess you are from india??
I had to deal with the same type of cicuit to interface with arduino
I failed cos the other 2 pins runs on -ve voltage which ur arduino cant
supply
Thats what your problem is
On Tue 3 Apr, 2018, 4:58 PM gamer2199<EMAIL_ADDRESS>wrote:

The script rc_control_test.py is running but i am not sure whether its
taking my input or not. The remote buttons have 4 pins connected to the
board of which i have soldered wires to two pins because connecting the
wire to single pin doesn't make the car work. After connecting to the 2
pins the car goes only in forward direction. Urgently help required!!
[image: img_20180403_165315887]
https://user-images.githubusercontent.com/29453894/38246620-006dc1d6-3760-11e8-8411-c8123e5e0185.jpg
[image: img_20180403_165336715_hdr]
https://user-images.githubusercontent.com/29453894/38246621-00ba7c38-3760-11e8-8512-d04328ed248e.jpg
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hamuchiwa/AutoRCCar/issues/92, or mute the thread
https://github.com/notifications/unsubscribe-auth/AgOJulSSZRfgrRCU-WQgwgRojO4fNFyLks5tk1zDgaJpZM4TE5uR
.

Any solution for this?

I made myself a new rc car using L298n motor driver with RF transmitter and
reciever
Works like a charm
On Tue 3 Apr, 2018, 5:26 PM gamer2199<EMAIL_ADDRESS>wrote:

Any solution for this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hamuchiwa/AutoRCCar/issues/92#issuecomment-378224333,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AgOJuroBqdFvgN8KIN8vA8QeBWvSH-0_ks5tk2NlgaJpZM4TE5uR
.

i guess your transmitter is the remote and you have connected it to the arduino?

Yeah
Arduino + transmitter
And reciever + arduino to control motor driver for car movement
On Tue 3 Apr, 2018, 5:45 PM gamer2199<EMAIL_ADDRESS>wrote:

i guess your transmitter is the remote and you have connected it to the
arduino?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hamuchiwa/AutoRCCar/issues/92#issuecomment-378228954,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AgOJuuSfQS0A4TpI3tXce4YNRO_SblMvks5tk2fWgaJpZM4TE5uR
.

wait you have 2 arduinos in the project?

Yup
On Tue 3 Apr, 2018, 5:56 PM gamer2199<EMAIL_ADDRESS>wrote:

wait you have 2 arduinos in the project?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hamuchiwa/AutoRCCar/issues/92#issuecomment-378231858,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AgOJuvEn514ilfwcfTwHJ97ZOwYMtq-5ks5tk2qRgaJpZM4TE5uR
.

Can you post an image if possible? it would give me a clear understanding

Give me a hour will post the pic soon
On Tue 3 Apr, 2018, 5:59 PM gamer2199<EMAIL_ADDRESS>wrote:

Can you post an image if possible? it would give me a clear understanding
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hamuchiwa/AutoRCCar/issues/92#issuecomment-378232453,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AgOJunvf9Cu_ND9F992FnYuwVpEyDIXPks5tk2shgaJpZM4TE5uR
.

Thanks a lot..it will really help me :)

Hey....is the project ready? i am in a hurry to see it because my submission are approaching and i am stuck

i tried your solution but its still not working....did you supply negative voltage?

I did not understand what you mean by supplying negative voltage,negative voltage to the remote control ? Yes,other than soldering two wires to each terminal of the switch I did not change anything in there and you have to power the RC by putting batteries in battery compartment and then connect the wires soldered to switch to IC.The IC needs 5v supply and GND connection.

i am not able to control the car using keypress..i have connected the ic as you said but no avail

Can you post images of connections ??

no the pygame window doesnt popup

go to the link I posted above.those files are modified for working with OpenCV 3.0 as guided by @hamuchiwa  in another thread.rc_driver.py is also modified.As you have moved on to testing the car with rc_driver.py I assume that the car now can be controlled using your pc.

yup i can control the car using my pc. I will run the rc_driver.py from your link later and let you know if any errors occur.

self.model = cv2.ml.ANN_MLP_load(file_path)
AttributeError: 'module' object has no attribute 'ANN_MLP_load'
this is the new error thats occuring...my open cv version is 3.1.0

install OpenCV 3.4.1 for this to work.I followed this tutorial.make sure you uninstall all previous versions before installing this one.

I installed open cv 3.4.1 and now its working but the car keeps turning left.Test accuracy was around 72%. Does it have to be higher and what was your accuracy when you ran the script?

My accuracy was around 80% but I had another issue while I ran the script.The rate at which the frames were streamed from rpi to computer and the speed of the car were not matching so my car also used to keep turning left.I managed to tackle the issue by adding "self.stop()" after every move of the car so as to synchronize.but now the car runs slow(actually very slow).but it runs on track.

have you tried increasing the frame rate?

Yes,I tried increasing the frame rate it streamed smoothly only in the test(stream_server_test.py) but in rc_driver.py it is still slow.I think the time taken by ml model to predict the output adds to the lag.

i want to increase the speed a bit...its too slow right now. What we I somehow control the speed of motor and increase the frames?

If you increase the value of variable 'time' in Arduino sketch speed of the car will increase.framerate can be increased in stream client code for rpi.

where do we make the changes in stream client...i am having trouble finding it

in raspberry pi folder in file stream_client.py change 'camera.framerate' to your desired framerate value.

i changed the frame rate at first but its doesn't do any effect while streaming

@gamer2199 tkajbaje solution could solve this issue?

@kxrf97 can you specify which issue exactly? If you are talking about the title, yes it did!

i have a controller almost same as yours

there are 4 pins for each push button

i connect one pin for one button, after i plug into my arduino, only forward and left are functioning. Reverse and right are not receiving any signal at all. May i know which 2 pins you soldier with your wire?

@gamer2199

@kxrf97 sorry for the late reply. I did exactly the same thing that you have done here. Maybe its a connection/soldering issue or input issue? Is the PyGame window opening up?

@gamer2199 @tkajbaje need your help. my car was working before with optocouplers but now it stopped working and takes continuous input i.e without input keeps going forward. what do I do?


Get new Paging object from next url

As far as I understood atm I have to manually perform a request to the URL given by Paging#getNext to loop through a whole list. It would be useful to be able to directly get a new paging object.

Did you search the issues? https://github.com/thelinmichael/spotify-web-api-java/issues/148#issuecomment-419234433


Prometheus exporter

Hi and thanks for your time putting all this together.
I wrote a little prometheus exporter for smarthome metrics, added docker builds and an example grafana dashbord to play with. As I can't edit wiki pages here (or I don't know how to :-) ), you may want to include a link to https://github.com/jayme-github/fritzbox_smarthome_exporter
Thanks!

Thanks for the pointer. I will update the wiki later this week.


Book Recommendation Collaborative Filtering #1

This is a simple yet classic Book Recommendation System using Model Based Collaborative Filtering technique. Source files are available by the name book_dataset.zip. Can also be obtained from the link: http://www2.informatik.uni-freiburg.de/~cziegler/BX/BX-CSV-Dump.zip

@Dharshini91 Thank you for your first contribution. Please add MLflow into your codebase.


MCMC control list extraction

Modified MCMC samplers to use new control list extraction function extractControlElement function, to prevent errors caused by R's partial matching of list element names.

@danielturek Do you really want extractControlElement exported. If so we'd need to add Roxygen info for the Rd. I'm removing the @export unless you tell me otherwise.

@paciorek Please see email discussion that I just forwarded to you (from the users' list, with David Pleydell, a contributing user).  I would prefer to keep extractControlElement exported, unless there's a better way to support full usage, or a better way to manage the MCMC list extraction.  I'm happy to discuss, but for the meantime, perhaps the "export" shouldn't be removed just yet.

Fine by me. Are you up for adding @export back in and with Roxygen documentation?

@danielturek @paciorek IIUC, David was making a new nimbleFunction by copying and modifying one in our source code.  I'm not sure that's a good reason for every function used in setup code to be exported.  Instead, someone copying and modifying could insert "nimble:::" where needed to gain access to non-exported functions.

@perrydv @paciorek Well, I'm no longer (and admittedly, never was) sure what the right solution is here.  As is, the extractControlElement provides a single entry point for MCMC sampler setup functions, for handling errors like the one which came up.  But, unless this function is exported, users can't copy and re-use, or make extremely minor tweaks to samplers - which seems like a big easy bonus to allow, without them jumping through other hoops. And, I don't think there are any other functions used in setup code which aren't exported, at least not commonly (or ever) used in setup of MCMC samplers.  So it felt good to me to have this function exported.  Open for discussion on better options.

Thanks for that explanation.  I agree that sounds general enough that it would be good to export it.

@paciorek Are you ok to re-add export(extractControlElement) to the NAMESPACE file?

NAMESPACE is populated automatically based on having @export in the R code file.
But if it's exported we need documentation. That could be real documentation or just defaulting to our "artificial" documentation for stuff we don't really want to document, in order to satisfy CRAN.
@danielturek  So just let me know if this is something where we should have a least a bit of real documentation. If so, it would help if you would write the roxygen.

@paciorek just noting I believe we have quite a lot of exported functions, with no documentation.  But I'm happy to add something for extractControlElement, I'll do that now. But, for example, copied directly from BUGS_utils.R:
#' @export
is.model <- function(obj, inputIsName = FALSE) {
    if(inputIsName) obj <- get(obj)
    return(inherits(obj, 'modelBaseClass'))
}

#' @export
is.Rmodel <- function(obj, inputIsName = FALSE) {
    if(inputIsName) obj <- get(obj)
    return(inherits(obj, 'RmodelBaseClass'))
}

#' @export
is.Cmodel <- function(obj, inputIsName = FALSE) {
    if(inputIsName) obj <- get(obj)
    return(inherits(obj, 'CmodelBaseClass'))
}

@paciorek Roxygen documentation for extractControlElement is now added, and appears on devel branch.

Yeah, is.model is an example of where we just point to the "nimble-internal" artificial documentation that I was referring to. It's set up in prep_pkg.R.


chore(alb-helper.ts refactor): Change alb-helper structure to accomodate Fargate targets

Issue #, if available:
Description of changes:
alb-helper was structured in a way that hardcoded lambda targets into creation of the first listener. The new structure creates the listener(s) and targets separately so you can create routines that create any type of target.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: a312d43dc150ac0e84f402af84d0d324629f4894
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v1
Commit ID: a312d43dc150ac0e84f402af84d0d324629f4894
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 42599e8224b69760f6f18844c9b67f6377c6c06b
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v1
Commit ID: 42599e8224b69760f6f18844c9b67f6377c6c06b
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: e43392b6493c582ada55e26b8152af4496b628fb
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v1
Commit ID: e43392b6493c582ada55e26b8152af4496b628fb
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


docs: add contribute & license

📚 Description

📝 Checklist

[x] All commits follow the Conventional Commit format
[x] The PR's title follows the Conventional Commit format

Closing as stale.

not stale

When would you expect to answer my questions above?

I'm sorry, I don't see your questions.)

Oh ok, I've resubmitted them. I think they should show now. Sorry for the confusion :pray:

:tada: This PR is included in version 7.5.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 8.0.0-beta.4 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Spells using the wrong ability scores

My cleric (Varaike) cast Protect Threshold as a cleric spell, yet it appears to be using her Intelligence for the save DC instead of Wisdom for some reason.
Similarly, my Inventor (Alfonsel) is trying to use Sanctuary as an inventor spell, but it appears to be using wisdom to calculate the DC rather than Intelligence as it should.
Neither character is multiclassed or has spells from any other source than their class spell list.
I don't know if other spells are affected, but I'll report back if I notice any more.
Alfonsel was respec'd at one point from a character named Parrick, so forgive the mismatched filenames.
bug report.zip

Small update: The Protect Threshold bug appears only to happen when Protect Threshold is cast as a ritual.

Does it happen with any other ritual vanilla spell?

Are there any other ritual spells in the game with saving throws or attack rolls associated with them? I can't think of any.

There isn’t much I can do here as this is a vanilla limitation. Will remove ritual to avoid any confusion.

There isn’t much I can do here as this is a vanilla limitation. Will remove ritual to avoid any confusion.

A workaround that would let you keep it as a ritual might be to lower the damage a bit and remove the saving throw so that creatures simply take a set amount of damage when they cross, rather than saving to halve it.


Enable build_test_all_windows on GitHub runners, opt-in.

This will be opt-in for presubmit (always enabled for LLVM integrates) and will always run on postsubmit. It uses GitHub-hosted runners, which are very slow to build the full compiler (3h+ builds). This is similar to build_test_all_macos_x86_64 which also uses GitHub-hosted runners.
ci-exactly: build_test_all_windows

Closing in favor of https://github.com/iree-org/iree/pull/17979


Fix Chinese environment week display incorrectly again

Take the last character of the Chinese weekday names instead of the third character #893

Thanks @jjyyxx  for the fix 👍


PHP Proxy returning 500 Internal Server Error for POST

Hi
I am using PHP proxy to load web map which has secured layers with pop-up enabled. The webmap is loading with layers. but when i click on any feature, then the popup is not displayed as the query is failing with 500 Internal server Error.
Please let me know if i need to change anything in proxy in order to work with POST requests.

I found the solution.
In proxy.php file while calling the post method in runProxy() method at line number 868 () we have to pass null parameters.
$this->proxyPost(); change to $this->proxyPost(null,null);

@BharathKonaganti - I'm glad you got it working.
What version of php are you using?

@bsvensson: php version is 7.1.33


e2e/syncer: stop (some of) the bleeding

Use a smaller busybox image 1.6GB => 2.66MB 🤡

According to https://hub.docker.com/r/bitnami/kubectl/tags, the compressed size is 46MB. But still, that's big 😄


Minor feature request: change wording above drawing tools to be more generic or change them depending on the schema

As shown below ATIP currently says "Click on an intervention" which is not right for reporting criticals

Suggested text

Click on a tool to document the location of a critical issue

(or similar)

Reproducible example: https://acteng.github.io/atip/scheme.html?authority=Isle+of+Wight&schema=criticals#14.72/50.63716/-1.40675

We use "intervention" in many places in both the code and user-visible app. "0 interventions" on the left, in the instructions, in the legend, etc.
Should we show a per-schema noun? For criticals, "critical issue." For planning, what should it be -- "planning application" or "application"?
Or should we aim for a kind of generic word and just say "object"?

Or should we aim for a kind of generic word and just say "object"?

For now a generic word like object could be fine:

Click an object to fill out its attributes

works for all modes. :+1: to the suggested fix, good thinking, and will help reduce code complexity and number of lines of code, for now...

Reopening because we've had clear communication that Object is not good for the main use case. I suggest reverting this or making the word "Object" change depending on the mode.

So what specifically do we want to change it to? When the schema is v1/v2 (not criticals or planning), do we again use "intervention"?
For planning mode, maybe "development"?
For critical issue mode, maybe "issue"?

#256 has a fix for this I think.

So what specifically do we want to change it to? When the schema is v1/v2 (not criticals or planning), do we again use "intervention"?

Yes for sure, that's what Lynsey and the inspections team wanted. In hindsight we shouldn't have changed it to 'object' in the first place, apologies for jumping the gun on that decision which we're now reverting.

For planning mode, maybe "development"?

Development is perfect

For critical issue mode, maybe "issue"?

I vote Critical issue to be specific.

Closed by the PR above


Use inline functions

Some small frequently used functions can be made inline to increase performance.

The usecase i thought of when creating this issue were the world to screen/screen to world conversion methods in RenderUtil.kt. From what i think know it would be better to just have extension functions of the Vector2 class which are called: toScreenSpace and toWorldSpace.

The performance gain on inline functions manly comes from situations where functions are passed as parameters. Since I already avoid that is this unnecessary.


bootcfg renders integers in metadata badly

With a config.yaml like the following:
---
api_version: v1alpha1
groups:
  - name: Worker
    spec: worker
    metadata:
      rack: 1

bootcfg renders the following upon requests to /metadata:
RACK=%!s(int=1)

I would instead expect it to render:
RACK=1

Depending on the solution chosen for gRPC metadata message types, metadata may be limited to string values at the leaves. If that's the case, some validation will be used to reject configs like this. TBD

How would I force 1 to be a string value of "1" instead of an integer value of 1?

This was addressed in some of the gRPC work.
The bootcfg config file will treat metadata more strictly in v0.3, starting at 717a240b1d5. The config.yaml may contain any valid YAML, but bootcfg will ignore (and log) metadata values that aren't either a string, list of strings, or nested map of strings or lists.
---
api_version: v1alpha1
groups:
  - name: Worker
    spec: worker
    metadata:
      rack: 1
      some_proxy: on

2016-03-11 13:20:20.268894 E | config: ignoring metadata value true
2016-03-11 13:20:20.268935 E | config: ignoring metadata value 1
2016-03-11 13:20:20.268981 I | main: starting bootcfg HTTP server on <IP_ADDRESS>:8080

All metadata is serialized as JSON []byte in gRPC message types so this simplifies the conversion, avoids issues where YAML "helpfully" converts on to true, and continues to allow nesting. Instead, quote strings in metadata.
---
api_version: v1alpha1
groups:
  - name: Worker
    spec: worker
    metadata:
      rack: "1"
      some_proxy: "on"

This may be made more lenient case by case. If YAML still proves to be troublesome, I imagine bootcfg should switch to require JSON top-level configs.


Fix the link in contacts

The original link did not lead anywhere. The other option would be to simply refer to /contribute page on the site itself which has variety of options how people can contribute.

LGTM 👍


Faster Clique Computation

Incorporate Rann's cliquer code from before using Cython

Closing as this is no longer a computational bottleneck after https://github.com/scikit-tda/DREiMac/tree/0.2.0


Feature: Adaptive Backpressure

Expected Behavior
Adaptive backpressure - the client uses a sliding window to detect:

the responsiveness of the gateway,
the current volume of jobs,
the average job completion time in the worker,
backpressure from the broker

/lm add enhancement

The Java client currently backs off the job worker on GRPC_ERROR_8 Backpressure error from the server.

Not going to implement at this stage.


Fix rigged hands in remoting

Overview
This PR updates the rigged hands logic to not display when a transparent display is used, like over remoting. We'd been getting reports of rigged hands not aligning well with the physical hands and causing confusion.
This also fixes some potential null refs when the rigged hand material isn't set.
This also simplifies one of the controller visualization profiles that wasn't using "both" handedness for certain entries.
This also includes some like formatting and style updates for simplification.

Noticed we're still carrying around an "ObsoleteXRSDKProfile". Is this something we think we can just remove? Otherwise I'm not sure we should be changing any properties on that profile.

I am not fan of removing profiles in a patch release though.

I am not fan of removing profiles in a patch release though.

Agreed. It could be a big breaking change if people currently have it assigned unless we introduce a migration path.

Otherwise I'm not sure we should be changing any properties on that profile.

I'm fine reverting the changes here. Mostly, one of the paths was referencing an also-marked-obsolete hand joint prefab and there were duplicate entries, but if we think that's risky I'm happy to revert!

No super strong opinions, I'll leave it to your judgement. I just wanted to raise the possibility of extra breaking changes.


Broken in python 3.9

Stack trace:
Enter data to encode: asdfasdfasdfsd
Traceback (most recent call last):
  File "/home/cip/2021/wa94tiju/convert.py", line 20, in <module>
    image = qr.make_image(fill_color=(0, 0, 0), back_color=(255, 255, 255))
  File "/usr/lib/python3/dist-packages/qrcode/main.py", line 292, in make_image
    im = image_factory(
  File "/usr/lib/python3/dist-packages/qrcode/image/base.py", line 13, in __init__
    self._img = self.new_image(**kwargs)
  File "/usr/lib/python3/dist-packages/qrcode/image/pil.py", line 24, in new_image
    if fill_color.lower() != "black" or back_color.lower() != "white":
AttributeError: 'tuple' object has no attribute 'lower'

Please fix!1!!1!11

Hoppala der CIP is schuld 🤷

problem seems to be on your side, maybe try updating the qrcode package
closed for now


error in angular 5

when i use ng build the blow error occurred
   <owl-carousel               [ERROR ->][items]="images"               [carouselClasses]="['owl-theme', 'sliding']">
<owl-carousel               [items]="images"               [ERROR ->][carouselClasses]="['owl-theme', 'sliding']">

Hi, Can you share some more details?
which version of angular is used?
are you facing same issue now?


Facebook users might have email field empty, ask them for email

It turns out some facebook users might have their email field empty,
which causes issues in signup process
we need to ask them for it

The mobile and email verification are present into login flow through Facebook without filled email
Checked on QA V 0.20.3-0
Desktop: Windows 10 // Google Chrome 81.0.4044.138
Video: https://www.screencast.com/t/VckzlR3wfD


Fix a couple of covariant overrides in Expression.

It was widening the return type of a couple of operators compared to
what EquationMember declared it should return. Since it did in fact
always return an Expression, the widening wasn't needed.
This just tightens them to match the base class.

@Hixie is your best reviewer.  Thanks for the PR!

do you have commit access?

Added @munificent to contributors jus now, so he should!

I still don't seem to have write access, but I look forward to being drunk with power once it's sorted out. :)

i'll land this for you while that gets sorted out

Thanks!

@munificent Github tells me "invitation sent".  I think you just have to click YES. :)

Ah, now I got it. My primary email was my personal one. Thanks!


How to avoid generating mirrored text?

This question is discussed #93 before. But it's not solved up to now. So I reopen a new issue.
What's more, I try to use link to check whether the homography matrix is nice at Line388, but the mirrored text still exists.
So, where and what should be modified to avoid this situation?

I think I have solved this question. What I do is just to check the homography matrix whether is a mirror matrix. Specifically，I follow these steps:
PS: modified only in synthgen.py

the subfunction to check the homography

def nice_homography(H):
    def _homographyBB(bbs, H, offset=None):
        """
        Apply homography transform to bounding-boxes.
        BBS: 2 x 4 x n matrix  (2 coordinates, 4 points, n bbs).
        Returns the transformed 2x4xn bb-array.

        offset : a 2-tuple (dx,dy), added to points before transfomation.
        """
        eps = 1e-16
        # check the shape of the BB array:
        t,f,n = bbs.shape
        assert (t==2) and (f==4)

        # append 1 for homogenous coordinates:
        bbs_h = np.reshape(np.r_[bbs, np.ones((1,4,n))], (3,4*n), order='F')
        if offset != None:
            bbs_h[:2,:] += np.array(offset)[:,None]

        # perpective:
        bbs_h = H.dot(bbs_h)
        bbs_h /= (bbs_h[2,:]+eps)

        bbs_h = np.reshape(bbs_h, (3,4,n), order='F')
        return bbs_h[:2,:,:]

    # Construct a bb0 (2x4x1), and transform it to bb. Just check the points order of bb0 and bb.
    wordBB0 = np.array([[1,10,10,1], [10,10,20,20]]).reshape((2,4,1))
    wordBB = _homographyBB(wordBB0.copy(), H)
    wordBB0 = wordBB0[:,:,0]
    wordBB = wordBB[:,:,0]
    vec00 = wordBB0[:,3] - wordBB0[:,0]
    vec01 = wordBB0[:,2] - wordBB0[:,1]
    vec02 = wordBB0[:,1] - wordBB0[:,0]
    vec03 = wordBB0[:,2] - wordBB0[:,3]
    vec10 = wordBB[:,3] - wordBB[:,0]
    vec11 = wordBB[:,2] - wordBB[:,1]
    vec12 = wordBB[:,1] - wordBB[:,0]
    vec13 = wordBB[:,2] - wordBB[:,3]
    # I just check the vectors of corresponding pairs whether have the same orientation.
    if np.dot(vec00, vec10) < 0 or np.dot(vec01, vec11) < 0 or np.dot(vec02, vec12) < 0 or np.dot(vec03, vec13) < 0:
        clockwise = False
    else:
        clockwise = True
    return clockwise

In the function filter_for_placement():

# # raw code
# masks.append(mask)
# Hs.append(H)
# Hinvs.append(Hinv)
# filt[idx] = True
# # by YMK
if nice_homography(Hinv):
    masks.append(mask)
    Hs.append(H)
    Hinvs.append(Hinv)
    filt[idx] = True

@ayumiymk Did you try checking the determinant? That should also work.

@ankush-me Do you mean your advice in #93? I have tried, but failed.

@ayumiymk Did you solve this problem? How did you solved it?


HDDS-2506. Remove keyAllocationInfo and replication info from the auditLog

What changes were proposed in this pull request?
Remove key location info (and replication info) from audit log params.  The same information can be obtained (for debug purposes) from Ozone Insight.  This improves performance of audit logging, formatting a deeply nested proto message structure is expensive.  It also improves audit log structure, as each messages is expected to be a single line (except for stack traces).
https://issues.apache.org/jira/browse/HDDS-2506
How was this patch tested?
Ran ozonesecure acceptance test.  Verified audit messages:
2019-12-02 12:10:43,616 | INFO  | OMAudit |<EMAIL_ADDRESS>| ip=<IP_ADDRESS> | op=ALLOCATE_KEY {volume=vol-0-29689, bucket=bucket-0-44465, key=key-0-79381, dataSize=10240} | ret=SUCCESS |
2019-12-02 12:10:46,042 | INFO  | OMAudit |<EMAIL_ADDRESS>| ip=<IP_ADDRESS> | op=COMMIT_KEY {volume=vol-0-29689, bucket=bucket-0-44465, key=key-0-79381, dataSize=10240} | ret=SUCCESS |

https://github.com/adoroszlai/hadoop-ozone/runs/330684634

Thanks @adoroszlai I totally agree (+1), for me "audit" is audit of security and not audit for debugging. I think it's better to use "ozone insight" for debug and include only the key information (WHO did WHAT with a resource)
But will wait at least one day to get some feedback from @bharatviswa504

Thanks @dineshchitlangia and @bharatviswa504 for the review.

having replication information would be a good idea right, to know what type of replication factor is used for creating keys.

I think replication factor/type are fine to keep in the audit log, they are of limited size.  Let me know if I should add them back.

Thanks @dineshchitlangia and @bharatviswa504 for the review.

having replication information would be a good idea right, to know what type of replication factor is used for creating keys.

I think replication factor/type are fine to keep in the audit log, they are of limited size. Let me know if I should add them back.

+1 to add replication information

+1 to add replication information

Why? it is a Audit log. Why do we need Replica Info? Audit is used to find out who made access and when. There is a very delicate trade-off between making the size of Audit log larger and finding critical information when we need it. Typically, an HDFS cluster would produce GBs of Audit logs per day, and processing all that information is lots of work. The replication in my mind is a debug tool, plus, you can always get that info from the OM.
We have a set of Queries that we support in the Audit log tool. If we are able to write at least one query, them I am +1 for adding this to Audit Log. In fact, that should be the test for adding any field to the Audit log; we cannot consume the field what is the point of having it in the log.
Even a far-fetched hypothetical scenario is ok, but we must have some use from the auditing and security point of view to add something to the audit log.

+1. I am good to commit this change. I will leave open till end of the day to see if anyone would like to comment on this. Thanks

Since there are no follow up comments, I will commit this now. If we need to make any changes to this, please feel free to file a follow-up JIRA.

Thanks @anuengineer for committing it.


Collection activity dates are incorrectly set

All dates from Collection activity (BUY event) query are set to T00:00:00Z and this skews the 24-hour activity metric
Seen on /rmrk/collection/2644199cf3652aaa78-PNW ?tab=activity
Screenshot

Last date is from /rmrk/gallery/11586500-2644199cf3652aaa78-PNW -PLEASE_NO_WAR-0000000000000239 and should be 2022-03-07T23:11:06.016Z

could it be related with #2506?

Hei,
the query should not be skewed as I group by date.
that means I cut the time from the timestamp and then group by (2022-03-07).
Moreover I return data(timestamp) so that means the time is set to 00.
To sum it up all events that happens between (2022-03-07T00:00:00.000Z and 2022-03-07T23:59:59.999Z) are included under 2022-03-07

To sum it up all events that happens between (2022-03-07T00:00:00.000Z and 2022-03-07T23:59:59.999Z) are included under 2022-03-07

So quick fix would be to remove/initialize time from yesterdayDate and others in Kodadot app

So quick fix would be to remove/initialize time from yesterdayDate and others in Kodadot app

Looks like you are trying to solve a specific use case ?
If we need something like last 24 hrs it would be better to write a new resolver


Split up mouse.rs into smaller chunks

Objective

Part of the splitting process of #3692.

Solution

Split up mouse.rs into smaller chunks.

Reasons

It makes navigating the file structure easier.
It helps to find particular things faster.
It's a good practice to not just dump everything into one huge file.
Discussion in #3692.

I'm not sure I see the point of this. I know in other ecosystem it's common to split things in multiple files, but it's not really the case in the rust ecosystem. I personally never had any issues finding something in big files and I even prefer having one big file with all the things related to a module close to each other.
Also, is mouse.rs that big of a file? It's just a couple of simple structs and a small system.

@IceSentry
I definitely prefer having things split into smaller files for the reasons mentioned in the PR description. The mouse.rs file is not a huge file of course and could be left the way it is, but for consistency reasons with all the other PR's it made sense to also split it. The main thing to consider here is that now it might just be a couple of simple structs and a small system, but that may change in the future. To future proof ourselves this is a step into the right direction in my eyes. You can look at the huge gamepad.rs file for example to see the disadvantages of just stuffing everything into one file.
Related PR's

#4316
#4317
#4318


Fix Iceberg read when positional delete files are unaligned

When the base data file and positional delete files contains multiple
unaligned RowGroups, some of the bits at the end of
IcebergSplitReader::deleteBitmap_ could be mistakenly skipped, causing
wrong result. This commit fixes it by introducing an offset into this
deleteBitmap_ and shift the unused bits to the beginning for each batch.
Fixes https://github.com/facebookincubator/velox/issues/9856

@Yuhta Would you please review again? Thank you!

@Yuhta Thanks for reviewing and approving this PR. Do we know when it will be merged?

@Yuhta Thanks for importing the PR and let me know the failures! I have updated the PR with your comments addressed.


Add function definition and calling

Defined with 'define' keyword, can contain from zero to unlimited parameters. When called, an argument to all parameters must be specified, and no more than that. Scope inside functions can see only outer scopes, and disappears after function stopped executing.
The last expression is returned
define culminate =>
	def a = 2
	def b = 3
	a + b

define multiply(a, b) =>
	a * b

def result1 = culminate
def result2 = multiply(7, 7)

This is much worse than I expected.


Taxon constraint:  various (via Tree Grafter annotation)

Please provide as much information as you can:

GO term ID label:

GO:0032186 cellular bud neck septin ring organization | only in budding yeasts
GO:0097271  protein localization to bud neck  only in budding yeasts
GO:0000282  cellular bud site selection    only in budding yeasts
GO:0071875    adrenergic receptor signaling pathway  (suggesting never in fungi, need to check)
GO:0047522    15-oxoprostaglandin 13-oxidase activity
GO:0006693    prostaglandin metabolic process
GO:0048168    regulation of neuronal synaptic plasticity (only in metazoa?)

All never in fungi
GO:0090090 negative regulation of canonical Wnt signaling pathway
GO:0030178 negative regulation of Wnt signaling pathway
GO:0090263 positive regulation of canonical Wnt signaling pathway
GO:0060828 regulation of canonical Wnt signaling pathway

GO:0010975 | regulation of neuron projection development | IEA with PTHR24057:SF0 | GO_REF:0000118 |  GO:0048671 | negative regulation of collateral sprouting | IEA with PTHR24348:SF22 | GO_REF:0000118 | 1
GO:0045773 | positive regulation of axon extension | IEA with PTHR10829:SF25 | GO_REF:0000118 | 1
 GO:0010976 | positive regulation of neuron projection development | IEA with PTHR13759:SF1 |
 GO:0050770 | regulation of axonogenesis | IEA with PTHR48015:SF35 | GO_REF:0000118 | 3


Chair and Things dataset when fine-tuning on Sintel

Hi Gengshan,
You added the Chair, Things, Hd1k, and Kitti datasets to the Sintel dataset when fine-tuning. I guess this operation aims to improve generalization ability and avoid overfitting. I was wondering is this important for the Sintel benchmark result and training set performance?
Best Regards

Yes, the reason of using multiple dataset is to improve generalization ability. You can refer to PWCNet+ for performance gain on Sintel by adding HD1K and KITTI.
I don't have a concrete number to show how much the model gains from Chairs and Things, but in my controlled experiments, it did slightly help on Sintel's validation set.

Thanks for your helpful suggestion.


feat:exposing CBRs in DA

Description
Exposed CBRs in DA
Release required?

[ ] No release
[ ] Patch release (x.x.X)
[x] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content
Exposes CBRs in DA
Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

@Aditya-ranjan-16, also please link the GIT issue in this PR description.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

:tada: This PR is included in version 4.19.0 :tada:
The release is available on:

GitHub release
v4.19.0

Your semantic-release bot :package::rocket:


C/C++: Improved macros and expressions

This can be seen as an extension of #2320.
Macro expressions after the directive are now highlighted. I also added some highlighting for macro-specific syntaxes like \ at line ends and the concatenation operator.

when could I download the prismjs that include this #2440 enhancement?

@blotfi Right now!

just to be more precise, it must be valid in C language (and therefore in C++ language) #2440 enhancement
thanks

@blotfi Right now!

you mean if i download
https://prismjs.com/download.html#themes=prism&languages=clike+c+cpp+json&plugins=line-numbers+file-highlight+keep-markup
I will find the modification (for C and CPP) ?

you mean if i download [...] I will find the modification (for C and CPP) ?

Yes.

it must be valid in C language

Macro expressions will be highlighted as C code in C and as C++ code in C++. You can see this with #define macros that contain C++ keywords.
C:

C++:

Is that what you meant?

I am testing now, 2 min
I see you put:
		'directive-hash': /^#/,
		'punctuation': /##|\\(?=[\r\n])/,
		'expression': {
			pattern: /\S[\s\S]*/,
			inside: Prism.languages.c

Works great
Thanks
I will open another issue for #include <xc.h>
it works well with file

but not if it is included in the html

#include <xc.h>
return;
#ifdef NON
void list()
{
}


21.0.0 Dark Mode - Missing contrast

Hi.
Today I installed 21.0.0. I was using dark mode before. I never changed something in colors. But now the dark mode is no more usable.

All the > before expandable objects are also black on black -till you hover over it.
I tried to play with colors, but do not find a solution for the ">" signs.
May be it would be fine to get a correction pack for the dark mode?
Best regards,
Peter

Well. even the syntax highlighting in the SQL Editor is a nightmare in dark mode.


Add OGC API collections for Geoserver instances

Example geoserver

https://services.geo-spatial.org/geoserver
http://cloud.epsilon-italia.it:8080/geoserver

Added to scheduled.

Updated apidetect.py code to identify Maps, Tiles, Images and Features collections


Extending angular.json schema with custom options?

I'm looking to use the function callback in @angular-builders/custom-webpack for for environment based webpack configuration. However any any unexpected values in the angular.json cause the schema validation to fail.
Example webpack.config.json:
module.exports = (config, options) => {
  if (options.someCustomConfiguration) {
    config.plugins.push(
      // some environment specific webpack plugin
    )
  }

  return config;
};

Describe the solution you'd like
A way to extend the valid schema in angular.json OR pass environment specific configuration into the webpack callback function.
Describe alternatives you've considered
As an alternative I was going to try and detect the environment and load the configuration from an external file,  however I found no good way way to detect the configuration name from the passed in options.
The other option I was thinking about was creating another builder that extended this one to provide a custom schema, however that seemed a bit overkill and error prone.

You can simply use plain environment variables (by setting them before the build in package.json) and use them like in [this] (https://github.com/meltedspark/electron-angular-native/blob/master/native-webpack.config.js) example.

You can simply use plain environment variables (by setting them before the build in [package.json] (https://github.com/meltedspark/electron-angular-native/blob/1fbbd124112f2dc75e14a57808430a55fdc412a4/package.json#L42)) and use them like in [this] (https://github.com/meltedspark/electron-angular-native/blob/master/native-webpack.config.js) example.

The issue is we have configuration that doesn't fit well in env vars and some apps that have a ton of environments.
The specific usecase we're looking at is inlining external includes into the index.html at build time. For example:
          "configurations": {
            "dev": {
              "includes": [
                  {
                    "type": "script",
                    "src": "path-to-dev-tag-manager.com",
                    "async": true,
                    "location": "body"
                  }
              ]
            },
            "prod": {
              "includes": [
                  {
                    "type": "script",
                    "src": "path-to-prod-bug-reporter",
                    "async": false,
                    "location": "head"
                  },
                  {
                    "type": "script",
                    "src": "path-to-prod-tag-manager.com",
                    "async": true,
                    "location": "body"
                  }
              ]
            }

You can have multiple config files and use each of then in the corresponding configuration.
Then you can run the build with configuration option: ng build --configuration=dev.
Example for app with multiple configs.

Sure, but having a separate place to define which scripts get inlined is a lot less ergonomic than having them defined in the angular.json.

In that case it does sound right to create a custom builder. The thing is, you do want schema validation so that you'd be able to catch errors in your configuration. The moment you allow anything to be entered in the options object you lose this capability.
As for you specific use case there is something you should know anyways.
In Angular CLI 8 they are no longer generating index.html with Webpack. So if your solution uses Webpack to append the scripts to html it will stop working the moment you upgrade to version 8.
The only way to change the html is having a separate script that changes index.html in dist after the build. Dev server though still uses Webpack so you'll need it for development.
I'm talking about current implementation, it might change in the future. Maybe @clydin could provide more details on their plans.


Cr 996

Motivation and Context

The CR-996 card describes the problem as follows:
The GET /cases/uprn endpoint fabricates a case to return to Serco in the event that AIMS has the address but RM does not.
There is a field, ceOrgName in the response to Serco which we cannot currently populate when the case is created from an AIMS address.
That field will be added to the AIMs API response (TBC), and it should be mapped into the case we send to Serco, the cached case and the NEW_ADDRESS_REPORTED event we send to RM.
What has changed

Changes have been made, mainly to the CCSvcBeanMapper, so that the getCasesByUprn endpoint will:

return (to Serco) the value of the ceOrgName field from RM if it is found to be populated.
set the value of the ceOrgName in a new CachedCase, if need be, amd return it to Serco
return (to Serco) the value of the ceOrgName field from an existing CachedCase if it is found to be populated.
send RM the value of ceOrgName in the NEW_ADDRESS_REPORTED event

Relevant JUnit tests have also been amended to test the organisation name mappings etc.
How to test?

Need to make sure that the getCasesByUprn endpoint will:

return (to Serco) the value of the ceOrgName field from RM if it is found to be populated.
set the value of the ceOrgName in a new CachedCase, if need be, amd return it to Serco
return (to Serco) the value of the ceOrgName field from an existing CachedCase if it is found to be populated.
send RM the value of ceOrgName in the NEW_ADDRESS_REPORTED event

Manually test these as follows:

Open the GCP console and go to the Firestore collection named census-rh--new-case. Delete any existing case that has uprn<PHONE_NUMBER> or uprn<PHONE_NUMBER>4.
Check that the mock case service contains a case that has uprn<PHONE_NUMBER> and has a value in its organisationName field (in cases.yml).
Run rabbitmq locally e.g. go into the census-rh-service repo, in the terminal, and enter this command: docker-compose up -d
Also, go into the rabbit console and purge the queue named event.case.address.update
Run the following command to make sure that you have permission to access Firestore (no error occurs otherwise - it just freezes and fails): gcloud auth application-default login
Run the mock case service and the ccsvc in eclipse
In postman run http://localhost:8171/cases/uprn/1347459999
Confirm test 1; that the value of organisationName from "RM" appears in the ceOrgName field that gets returned to postman.
Also, make sure that no new case has been created in Firestore this time.
In postman run http://localhost:8171/cases/uprn/10013671754
Make sure that the value of organisationName from AI appears in the ceOrgName field that gets returned to postman. NB. in AI we call this:

https://rh-dev-ai-api.ai.census-gcp.onsdigital.uk/addresses/rh/uprn/10013671754?addresstype=paf&verbose=true
And get this:
{"apiVersion":"1.0.0-SNAPSHOT","dataVersion":"72","response":{"address":{"uprn":"10013671754","formattedAddress":"Gorseway Retirement & Nursing Home, 354 Sea Front, Hayling Island, PO11 0BA","addressLine1":"Gorseway Retirement & Nursing Home","addressLine2":"354 Sea Front","addressLine3":"","townName":"Hayling Island","postcode":"PO11 0BA","foundAddressType":"PAF","censusAddressType":"CE","censusEstabType":"Care Home","countryCode":"E",
"organisationName":"Gorseway Retirement & Nursing Home"},"addressType":"PAF","historical":true,"epoch":""},"status":{"code":200,"message":"Ok"},"errors":[]}
And in postman we get this:
[
{
"id": "3bb17269-6007-4fba-8b53-f4148cee8842",
"caseRef": null,
"caseType": "CE",
"addressType": "CE",
"estabType": "CARE_HOME",
"estabDescription": "Care Home",
"allowedDeliveryChannels": [
"POST",
"SMS"
],
"createdDateTime": "2020-06-26T10:58:39.758Z",
"lastUpdated": null,
"addressLine1": "Gorseway Retirement & Nursing Home",
"addressLine2": "354 Sea Front",
"addressLine3": "",
"townName": "Hayling Island",
"region": "E",
"postcode": "PO11 0BA",
"ceOrgName": "Gorseway Retirement & Nursing Home",
"uprn":<PHONE_NUMBER>4,
"estabUprn": null,
"caseEvents": null,
"secureEstablishment": false
}
]
i.e. the ceOrgName value is populated.

Now in Firestore change the value in the ceOrgName field. To confirm test 3: check that the new value gets returned if you call the same postman endpoint again:
http://localhost:8171/cases/uprn/10013671754

Finally test 4; go to rabbit management console and check the queue named event.case.address.update to see if it contains a NEW_ADDRESS_REPORTED event. If so then
check that the collectionCase json contains a value named organisationName, which is populated. NB. Currently there is an organisationName json field but it is null.

Thanks for the review Rob.

Thanks for your approval too Andy : )


WLT wont install on Unity 2022.3.7f1 with MRTK 2.8.3 and MixedReality OpenXR Plugin

Hi!
I am trying to upgrade a project from Unity 2019 to 2022 and need to replace the WorldAnchorStore.
Upon installing WLT from Mixed Reality Feature tool i get these errors:

I have looked far and wide for a solution to this but can't find anything not related to MRTK3 which I am not using...

I also meet this, i use MRTK3 and WLT, i has some try and found that if i install the MRTK, the WLT will lose it`s dependence...why?


Feature Request: Allow configuration of MAX_CLIENTS

Hi - great project! I have flashed it onto a Wemos D1 R2 & it works great, but I have a use case where I want to be able to limit the number of client connections. I notice that user_config.h has a MAX_CLIENTS defined & user_main.c uses it, so I'm wondering if you could either put a parameter in the web config tool or put a command line setting so that it can be changed?
Thanks!

Can do this - will be added in the next version.

Awesome - thank you! Any idea when this will be?

Has been added, try:
set max_clients 5
save
reset


Prepare 0.2.2 release

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

42 of 43 (97.67%)  changed or added relevant lines in 4 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.09%) to 87.581%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

modelica_builder/model.py
7
8
87.5%

Files with Coverage Reduction
New Missed Lines
%

modelica_builder/edit.py
5
70.24%

Totals

Change from base Build<PHONE_NUMBER>:
-0.09%

Covered Lines:
543

Relevant Lines:
620

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

42 of 43 (97.67%)  changed or added relevant lines in 4 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.09%) to 87.581%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

modelica_builder/model.py
7
8
87.5%

Files with Coverage Reduction
New Missed Lines
%

modelica_builder/edit.py
5
70.24%

Totals

Change from base Build<PHONE_NUMBER>:
-0.09%

Covered Lines:
543

Relevant Lines:
620

💛  - Coveralls


Move things to Game class

Moved to game class:

Animation frames
Wait for resources loaded

Rework buffer util funcs on Renderer class
Async shader compilation

Progress towards #8 and #3


No precompiled package for TravisCI ArangoDb 2.6.5

http://www.arangodb.com/repositories/travisCI/setup_arangodb_2.6.sh script generates:
https://www.arangodb.com/repositories/travisCI/ArangoDB-2.6.5.tar.gz

But only 2.6.4 version exists:
https://www.arangodb.com/repositories/travisCI/ArangoDB-2.6.4.tar.gz
Also https://www.arangodb.com/repositories/travisCI/ArangoDB-2.6.tar.gz has size of 0 bytes.
It would be good to be able to test against newest stable version.

Package is uploading.


Add basic support for building C via swiftpm

Basic implementation of proposal https://github.com/apple/swift-evolution/blob/master/proposals/0038-swiftpm-c-language-targets.md

Swiftpm can be used to create and build C libraries.
Same rules apply for layouts except that include/module.modulemap should be present for each C lang module
If a dir contains .swift and .c, it will error out.
Right now only creates shared libraries and not executable.
Assumes module.modulemap will be available inside a include directory, doesn't generates it automatically.
Adds Test cases for possible layouts and mixing of swift and c code.

Remaining features will be added incrementally.

@mxcl @ddunbar would love inputs on this

Looks like a great start and really: great job getting this going.
I'll review it more thoroughly in the morning.

OMG awesome! Will review ASAP

Overall seems like a great start to me. There are a couple things I'd like to see fixed before merge (mostly having to do with erroring out on unsupported things, or not erroring out on things which do work but aren't yet complete (like not require the module.modulemap to be written, even though we don't synthesize it yet)), but once @mxcl is happy with it I'd be glad to see it go in and then build in the other things like module map synthesis or incremental build support.

@ddunbar I think I was able to resolve almost all of the things pointed by you. You can re-review the changes here: https://github.com/apple/swift-package-manager/pull/183/files

Also I am waiting for a new toolchain to arrive before I resolve conflicts.

I succeeded in building toolchain from latest masters and then use that for developing this. Now rebased correctly. 😬

@mxcl CI on this? though probably review first.

Let's try it.
@swift-ci please test

A key point in our evolution, many thanks everyone 👊🏻

Woot!

😱😱 didn't expect a merge so soon. Thanks! It was fun doing this. Will try adding other remaining things from proposal😀


chore: github actions cleanup

Pull Request

Proposed Changes

[x] switch to umutable actions on ones that allow it (closes 9 security warnings)

Readiness Checklist
Author/Contributor

[ ] If documentation is needed for this change, has that been included in this pull request
[ ] run make lint and fix any issues that you have introduced
[ ] run make test and ensure you have test coverage for the lines you are introducing
[ ] If publishing new data to the public (scorecards, security scan results, code quality results, live dashboards, etc.), please request review from @jeffrey-luszcz

Reviewer

[ ] Label as either fix, documentation, enhancement, infrastructure, maintenance or breaking

Thanks JM! 🎉


Support for podman instead of docker

Latest version of Docker doesn't work on Fedora 31 because of missing cgroupsv2 support. Can you add support for alternative container runtimes - for example podman.

FYI, Docker works when you boot with systemd.unified_cgroup_hierarchy=0. Still +1 from me.

Can you add support for alternative container runtimes - for example podman.

Just to be sure I understand, is the issue with the container runtime or the image builder? (it's common to conflate the two since they often come as one package)
For the image builder, tilt supports non-docker image builders via custom_build.
For the container runtime, I believe as long as you're not using restart_container with live_update, the container runtime does not matter to Tilt. (and if you want to use restart_container with a non-docker runtime, there's rerun-process-wrapper as a workaround.

I think this is about image building, so the relevant tool is buildah.
I still have a lot of confusion around registries, but custom_build does not seem to be a full replacement because Tilt still assumes the result is an image stored in Docker. You could do disable_push=True, but it seems like Tilt has some mechanisms built in to override a remote registry with a in-cluster registry (or does it?), so doing a push via buildah would break that.
Besides, I think there's still some value in supporting buildah natively. When you work in a team and people are using different platforms, not everyone will be using the same container builder/runtime. podman/buildah do not require a daemon or even root access, that's why they're seeing more and more adoption.

let me poke at this a bit and write docs on how to do it.
ideally, i'd want custom_build to be powerful enough that you could implement docker_build as just a thin wrapper around custom_build. And then there'd be a bunch of off-the-shelf Tiltfile functions for how to use custom builds that you could load() or copy-and-paste.
custom_build should be smart enough to handle in-cluster registries correctly but i'll check that too

@nicks thanks! amazing job! I'm going to test it now.

we actually needed to do some fixes on the Tilt side, which will be available in the next release. I'm also going to add a bit to our custom_build guide, but for reference, here's a demo Tiltfile where i got it working:
https://github.com/windmilleng/tilt-frontend-demo/blob/nicks/buildah/Tiltfile

can't test as I can't build binary :-(
# make all
....
FAIL
FAIL	github.com/windmilleng/tilt/internal/tiltfile	13.045s
ok  	github.com/windmilleng/tilt/internal/tiltfile/analytics	(cached)
ok  	github.com/windmilleng/tilt/internal/tiltfile/dockerprune	(cached)
ok  	github.com/windmilleng/tilt/internal/tiltfile/flags	(cached)
ok  	github.com/windmilleng/tilt/internal/tiltfile/git	(cached)
ok  	github.com/windmilleng/tilt/internal/tiltfile/include	(cached)
?   	github.com/windmilleng/tilt/internal/tiltfile/io	[no test files]
ok  	github.com/windmilleng/tilt/internal/tiltfile/k8scontext	(cached)
ok  	github.com/windmilleng/tilt/internal/tiltfile/os	(cached)
ok  	github.com/windmilleng/tilt/internal/tiltfile/starkit	(cached)
?   	github.com/windmilleng/tilt/internal/tiltfile/value	[no test files]
ok  	github.com/windmilleng/tilt/internal/tiltfile/version	(cached)
ok  	github.com/windmilleng/tilt/internal/token	(cached)
ok  	github.com/windmilleng/tilt/internal/tracer	(cached)
ok  	github.com/windmilleng/tilt/internal/watch	(cached)
ok  	github.com/windmilleng/tilt/internal/yaml	(cached)
ok  	github.com/windmilleng/tilt/pkg/assets	(cached)
ok  	github.com/windmilleng/tilt/pkg/logger	(cached)
ok  	github.com/windmilleng/tilt/pkg/model	(cached)
?   	github.com/windmilleng/tilt/pkg/webview	[no test files]
?   	github.com/windmilleng/tilt/tools/devlog	[no test files]
?   	github.com/windmilleng/tilt/web	[no test files]
FAIL
make: *** [Makefile:58: test-go] Error 1

Will wait until next release.

OK, v0.10.22 should have a new argument to custom_build called skips_local_docker=True that skips the image check so you can use buildah. I've updated the branch with more details:
https://github.com/windmilleng/tilt-frontend-demo/blob/nicks/buildah/Tiltfile

Added some documentation to the custom_build guide on how to use buildah:
https://docs.tilt.dev/custom_build.html


Separate LoB into a vcache package for external use.

Maybe rename to BigList or something, too.

no longer relevant


Resolving MUI theme import error

When starting up the MUI-templated application with yarn dev, I received the following error:
TypeError: Cannot read property 'primary' of undefined
at MyDocument.render (webpack-internal:///./src/pages/_document.tsx:35:73)
I believe this is due to an attempt to import the theme from _app.tsx without destructing the exported theme const

I verified that the app would load correctly after this change.
Also, just as a style note, I've found that our team often extend and reference custom MUI themes pretty often as we build out our app. It may eventually be worth extracting the theme out into its own theme.ts file to help people know where to look.

Hi @divideby0,
Thanks for your PR but this issue is more than change the import you can find my fix here https://github.com/paljs/prisma-tools/commit/eede98c7872c73b2352184489bad4851092b550d
pushed new fix with last version


Response doesn't load. It goes into the sleep  state forever.

It just sleeps when calling any request. And never gets back. It just calls "dispatch_semaphore_wait" and then never comes to the success block.

Don't use it in main queue.

If i use "dispatch_async", then it won't be synchronous request anymore.

You shouldn't and actually you can't block main queue in iOS. Alamofire can do all the things that this component can do.It just provides another way to code.

Sorry! Fixed it.


hyprcursor: init at 0.1.4

Description of changes
The hyprland cursor format, library and utilities.
fixes: #294395

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

[ ] 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

[ ] 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.05 Release Notes (or backporting 23.05 and 23.11 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.

Added the dev and lib outputs.

Result of nixpkgs-review pr 294648 run on x86_64-linux 1

3 packages built:

hyprcursor
hyprcursor.dev
hyprcursor.lib

Result of nixpkgs-review pr 294648 run on aarch64-linux 1

3 packages built:

hyprcursor
hyprcursor.dev
hyprcursor.lib

Result of nixpkgs-review pr 294648 run on x86_64-darwin 1


TDI-37658: avoid the NPE when use tsalesforcebulkexec and

https://jira.talendforge.org/browse/TDI-37658

unit test please.

Pull request test result: success :star:

Pull request test result: success :star:

Hi Ivan, how about the last commit? it follow the document.

ok for me

Pull request test result: success :star:


[Question] Get better error messages for "ValueError: dimensions mismatch as broadcasting 2 non-one dimension sizes."?

Is there a way to see which tensors are causing the issue for this error? I dumped the logs using CUDNN_FRONTEND_LOG_FILE and CUDNN_FRONTEND_LOG_INFO, but it's not giving me anymore useful information.
Also, I ran the example notebook on an H100 and the assertion comparing CuDNN attention's results to vanilla attention failed.

Seems the graph is malformed. The assertion is fired from here
Seems like you are broadcasting across dimensions which are not 1. Eg. [2, 1, 16, 16] -> [2, 8, 16, 16]  is valid but [2, 1, 16, 16]  -> [2, 1, 16, 256] is not, i.e. 16 -> 256?
Thanks

Unfortunately, I can't tell which tensors are the issue. I've added shape checks that pass -- so it looks like everything should be fine?
                dQ_bwd_cu, dK_bwd_cu, dV_bwd_cu = g_bwd.sdpa_backward(
                    name="sdpa_backward",
                    q=cu_tens['q_cu_bwd'],
                    k=cu_tens['k_cu_bwd'],
                    v=cu_tens['v_cu_bwd'],
                    o=cu_tens['o_cu_bwd'],
                    dO=cu_tens['dO_cu_bwd'],
                    stats=cu_tens['stats_cu_bwd'],
                    attn_scale=1.0 / math.sqrt(D),
                    use_causal_mask=False,
                    # use_padding_mask=True,
                    seq_len_q=cu_tens['seqlens_q_cu_bwd'],
                    seq_len_kv=cu_tens['seqlens_kv_cu_bwd']
                )

                # TODO: Is this safe?
                cache['dQ'] = torch.empty_like(q)
                cache['dK'] = torch.empty_like(k_view)
                cache['dV'] = torch.empty_like(v_view)

                # make dQ, dK, dV contiguous
                # assert cache['dQ'].is_contiguous()

                dQ_bwd_cu.set_output(True).set_dim(cache['dQ'].size()).set_stride(cache['dQ'].stride())
                dK_bwd_cu.set_output(True).set_dim(cache['dK'].size()).set_stride(cache['dK'].stride())
                dV_bwd_cu.set_output(True).set_dim(cache['dV'].size()).set_stride(cache['dV'].stride())

                cu_tens['dQ_cu_bwd'] = dQ_bwd_cu
                cu_tens['dK_cu_bwd'] = dK_bwd_cu
                cu_tens['dV_cu_bwd'] = dV_bwd_cu

                # assert all shapes ...
                assert tuple(cu_tens['q_cu_bwd'].get_dim()) == (B, H, N, D), f"{cu_tens['q_cu_bwd'].get_dim()} != {(B, H, N, D)}"
                assert tuple(cu_tens['k_cu_bwd'].get_dim()) == (B, H, N + L, D), f"{cu_tens['k_cu_bwd'].get_dim()} != {(B, N + L, H, D)}"
                assert tuple(cu_tens['v_cu_bwd'].get_dim()) == (B, H, N + L, D), f"{cu_tens['v_cu_bwd'].get_dim()} != {(B, N + L, H, D)}"
                assert tuple(cu_tens['o_cu_bwd'].get_dim()) == (B, H, N, D), f"{cu_tens['o_cu_bwd'].get_dim()} != {(B, N, H, D)}"
                assert tuple(cu_tens['dO_cu_bwd'].get_dim() )== (B, H, N, D), f"{cu_tens['dO_cu_bwd'].get_dim()} != {(B, N, H, D)}"
                assert tuple(cu_tens['dV_cu_bwd'].get_dim()) == (B, H, N + L, D), f"{cu_tens['dV_cu_bwd'].get_dim()} != {(B, H, N, D)}"
                assert tuple(cu_tens['dK_cu_bwd'].get_dim()) == (B, H, N + L, D), f"{cu_tens['dK_cu_bwd'].get_dim()} != {(B, H, N + L, D)}"
                assert tuple(cu_tens['stats_cu_bwd'].get_dim()) == (B, H, N + L, 1), f"{cu_tens['stats_cu_bwd'].get_dim()} != {(B, H, N + L, 1)}"
                assert tuple(cu_tens['seqlens_q_cu_bwd'].get_dim()) == (B, 1, 1, 1), f"{cu_tens['seqlens_q_cu_bwd'].get_dim()} != {(B, 1, 1, 1)}"
                assert tuple(cu_tens['seqlens_kv_cu_bwd'].get_dim()) == (B, 1, 1, 1), f"{cu_tens['seqlens_kv_cu_bwd'].get_dim()} != {(B, 1, 1, 1)}"

                g_bwd.validate()
                g_bwd.build_operation_graph()
                g_bwd.create_execution_plans([cudnn.heur_mode.A, cudnn.heur_mode.FALLBACK])
                g_bwd.check_support()
                g_bwd.build_plans()

The stats looks suspect.
It should be B, H, N, 1 and not B, H, N + L, 1, right?

@Anerudhan Thanks, that fixed the issue.
For what it's worth, in the frontend I was using a stats tensor with shape (B, H, N + L, 1), and the frontend graph was compiling, so it might be worth adding some stricter checks?


Fail to create bridge on WSL 2

Describe the bug
When installed and registered as described in the How To, sudo tedge connect c8y fails to create bridge.
To Reproduce
execute sudo tedge connect c8y on WSL
Expected behavior
Successful connection
Screenshots
sudo tedge connect c8y

Checking if systemd is available.

Checking if configuration for requested bridge already exists.

Validating the bridge certificates.

Saving configuration for requested bridge.

Restarting mosquitto service.

Error: failed to create bridge to connect Cumulocity cloud.

Caused by:
    Systemd returned unspecific error for service mosquitto while performing restart it.
    Hint: Lacking permissions or service's process exited with error code.

Environment (please complete the following information):

OS System: Ubuntu 20.04.3 LTS  WSL 2
System-Architecture x86_64
thin-edge.io version 0.4.0

Additional context
I think WSL has no systemd but it prints a Checking if systemd is available. without an error on this line.
Permissons should be alright:
 ls -l /etc/tedge
total 16
drwxr-xr-x 3 root      root      4096 Oct 28 15:11 contrib
drwxr-xr-x 2 mosquitto mosquitto 4096 Oct 28 17:38 device-certs
drwxr-xr-x 2 tedge     tedge     4096 Oct 29 09:16 mosquitto-conf
-rw-r--r-- 1 tedge     tedge      119 Oct 29 09:16 tedge.toml

and mosquitto:
 ls -l /usr/sbin/mosquitto
-rwxr-xr-x 1 root root 297280 Oct 27 23:00 /usr/sbin/mosquitto

Hallo @simeonthefirst
yes systemd is usually missing in WSL. We will look into why the systemd check in connect is not working.
Please use a systemd supported system to install thin-edge.io on.


Integrate turn-by-turn navigation module

During GSoC our student Thomas implemented a turn-by-turn navigation (https://github.com/Greennav/gn-path-follower) :+1:  but it is not integrated yet.
Maybe the gn-turn-by-turn (see modules) navigation could be accessible via a paper-button - or something like this - in the gn-menu.

falsely closed by old commit messages from other repos :sweat_smile:

@fabianbormann  Is this project active ??

@sumeetkhirwal yes it's active :wink: so if you want to implement the turn-by-turn navigation -> do it ! :+1:

@fabianbormann Does routing (go backend server) supports turn-by-turn navigation and provides this information?
If go backend server does not provide this feature OpenLayers Google-Map-Integration can be used for getting turn-by-turn details as with new version it provides support with google maps. I will start working on this, once updated. Thanks.

@shreyakupadhyay it doesn't have that yet, but we can access the information.  I opened an issue there :)


Multiple aggregation not working as intended.

Description of the Error
Aggregation feature is not working as intended when multiple metrics are provided even though no error is being thrown. (I opened this issue since I found that it is not working as intended even on the main branch.)
Expected Behaviour
We should get an aggregated field with all metrics values properly computed.
Actual Behaviour
Only the first metric is being computed. And its value is being copied from the last output only.
Steps to Reproduce

Run the following manifest file with the main branch version.

Manifest File That Generated the Error
name: carbon_pipeline
aggregation:
  metrics:
  - carbon
  - energy
  type: time
initialize:
  plugins:
    teads-curve:
      method: TeadsCurve
      path: '@grnsft/if-unofficial-plugins'
    multiply:
      method: Multiply
      path: builtin
      config:
        input-parameters:
        - resources-reserved
        - cpu/energy
        output-parameter: cpu/energy-total
    e-mem:
      method: EMem
      path: '@grnsft/if-plugins'
    sci-e:
      method: SciE
      path: '@grnsft/if-plugins'
    sci-m:
      method: SciM
      path: '@grnsft/if-plugins'
    sci-o:
      method: SciO
      path: '@grnsft/if-plugins'
    sci:
      method: Sci
      path: '@grnsft/if-plugins'
      config:
        functional-unit: R
  outputs:
  - yaml
tree:
  defaults:
    memory/utilization: 100
    device/emissions-embodied: 1887000
    cpu/thermal-design-power: 3.76
    device/expected-lifespan: 126230400
    duration: 1800
  pipeline:
    compute:
    - teads-curve
    - multiply
    - e-mem
    - sci-e
    - sci-m
    - sci-o
    - sci
  children:
    0:
      children:
        child_1
          inputs:
          - timestamp:<PHONE_NUMBER>
            cpu/utilization: 35.32553725926037
            grid/carbon-intensity: 251.0
            resources-reserved: 1.0
            resources-total: 90
            memory/capacity: 2.576980378
          - timestamp:<PHONE_NUMBER>
            cpu/utilization: 33.50961455555754
            grid/carbon-intensity: 251.0
            resources-reserved: 1.0
            resources-total: 90
            memory/capacity: 2.576980378
          - timestamp:<PHONE_NUMBER>
            cpu/utilization: 34.02016962963023
            grid/carbon-intensity: 251.0
            resources-reserved: 1.0
            resources-total: 90
            memory/capacity: 2.576980378

The output that has been generated  :
name: carbon_pipeline
aggregation:
  metrics:
    - carbon
    - energy
  type: time
initialize:
  plugins:
    teads-curve:
      path: '@grnsft/if-unofficial-plugins'
      method: TeadsCurve
    multiply:
      path: builtin
      method: Multiply
      config:
        input-parameters:
          - resources-reserved
          - cpu/energy
        output-parameter: cpu/energy-total
    e-mem:
      path: '@grnsft/if-plugins'
      method: EMem
    sci-e:
      path: '@grnsft/if-plugins'
      method: SciE
    sci-m:
      path: '@grnsft/if-plugins'
      method: SciM
    sci-o:
      path: '@grnsft/if-plugins'
      method: SciO
    sci:
      path: '@grnsft/if-plugins'
      method: Sci
      config:
        functional-unit: R
execution:
  command: >-
    C:\Users\malmounayar\programs\node-v20.17.0-win-x64\node.exe
    C:\Users\malmounayar\if\build\if-run\index.js --manifest
    ..\GreenIt\test-manifest\inputs\multiple-aggregation.yaml --output
    ..\GreenIt\test-manifest\outputs\multiple-aggregation.yaml
  environment:
    if-version: 0.7.0
    os: "Microsoft Windows 11 Enterprise\r"
    os-version: 10.0.22631 N/A Build 22631
    node-version: 20.17.0
    date-time: 2024-10-10T16:07:10.065Z (UTC)
    dependencies:
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>      - '<EMAIL_ADDRESS>      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>      - '<EMAIL_ADDRESS>      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>      - '<EMAIL_ADDRESS>      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>      - '<EMAIL_ADDRESS>      - '<EMAIL_ADDRESS>extraneous -> undefined'
      - '<EMAIL_ADDRESS>extraneous -> undefined'
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>extraneous -> undefined
      -<EMAIL_ADDRESS>  status: success
tree:
  defaults:
    memory/utilization: 100
    device/emissions-embodied: 1887000
    cpu/thermal-design-power: 3.76
    device/expected-lifespan: 126230400
    duration: 1800
  pipeline:
    compute:
      - teads-curve
      - multiply
      - e-mem
      - sci-e
      - sci-m
      - sci-o
      - sci
  children:
    '0':
      children:
        child_1:
          inputs:
            - timestamp:<PHONE_NUMBER>
              cpu/utilization: 35.32553725926037
              grid/carbon-intensity: 251
              resources-reserved: 1
              resources-total: 90
              memory/capacity: 2.576980378
            - timestamp:<PHONE_NUMBER>
              cpu/utilization: 33.50961455555754
              grid/carbon-intensity: 251
              resources-reserved: 1
              resources-total: 90
              memory/capacity: 2.576980378
            - timestamp:<PHONE_NUMBER>
              cpu/utilization: 34.02016962963023
              grid/carbon-intensity: 251
              resources-reserved: 1
              resources-total: 90
              memory/capacity: 2.576980378
          outputs:
            - timestamp:<PHONE_NUMBER>
              cpu/utilization: 35.32553725926037
              grid/carbon-intensity: 251
              resources-reserved: 1
              resources-total: 90
              memory/capacity: 2.576980378
              memory/utilization: 100
              device/emissions-embodied: 1887000
              cpu/thermal-design-power: 3.76
              device/expected-lifespan: 126230400
              duration: 1800
              cpu/energy: 0.0012094032917143286
              cpu/energy-total: 0.0012094032917143286
              memory/energy: 0.001010176308176
              energy: 0.0022195795998903286
              carbon-embodied: 0.2989771085253632
              carbon-operational: 0.5571144795724725
              carbon: 0.00047560643783213096
              sci: 0.00047560643783213096
            - timestamp:<PHONE_NUMBER>
              cpu/utilization: 33.50961455555754
              grid/carbon-intensity: 251
              resources-reserved: 1
              resources-total: 90
              memory/capacity: 2.576980378
              memory/utilization: 100
              device/emissions-embodied: 1887000
              cpu/thermal-design-power: 3.76
              device/expected-lifespan: 126230400
              duration: 1800
              cpu/energy: 0.001179441369467165
              cpu/energy-total: 0.001179441369467165
              memory/energy: 0.001010176308176
              energy: 0.002189617677643165
              carbon-embodied: 0.2989771085253632
              carbon-operational: 0.5495940370884345
              carbon: 0.00047142841422988756
              sci: 0.00047142841422988756
            - timestamp:<PHONE_NUMBER>
              cpu/utilization: 34.02016962963023
              grid/carbon-intensity: 251
              resources-reserved: 1
              resources-total: 90
              memory/capacity: 2.576980378
              memory/utilization: 100
              device/emissions-embodied: 1887000
              cpu/thermal-design-power: 3.76
              device/expected-lifespan: 126230400
              duration: 1800
              cpu/energy: 0.0011880189188019983
              cpu/energy-total: 0.0011880189188019983
              memory/energy: 0.001010176308176
              energy: 0.002198195226977998
              carbon-embodied: 0.2989771085253632
              carbon-operational: 0.5517470019714775
              carbon: 0.00047262450583157817
              sci: 0.00047262450583157817
          aggregated:
            carbon: 0.00047262450583157817

@narekhovhannisyan please could you verify that this should no longer be an issue? 🙏

status update: working on debugging the issue

It looks like the issue stems from the plugins we’re using, as they don’t include a parameter-metadata attribute. This attribute (which is deprecated, so adding it might not be feasible) is what initialize.ts relies on via storeAggregationMetrics() for aggregation. It may be worth highlighting where the aggregation method should be specified—likely in parameter-metadata—since this isn’t explicitly mentioned in the documentation.

HI @mouhamadalmounayar, thanks for reporting. It's fixed by our latest release v0.7.2.


Anchors without an href and with a tabindex of 0 don't get picked up

This can be fixed by changing line 16 of index.js from..
|| (candidate.tagName === 'A' && !candidate.href && !candidate.tabIndex)
to..
|| (candidate.tagName === 'A' && !candidate.href && (!candidateIndex && candidateIndex !== 0))
I won't be using tabbable this way, but someone might be.

Good find. PR welcome.

This is actually common case for single page apps that strive for keyboard accessibility.

Closed by https://github.com/davidtheclark/tabbable/pull/3


:bug: remove rest of Fira Code

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] Closes #4481
[ ] Requires deployment <>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[x] I've tested it at </bsx/collection>
[x] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

Can't tell whether it's changing something in the SVG, best visible here:
Before:

After:

right arrow should use Fira Code if I'm not mistaken

@exezbcz are we keeping Fira Code on arrow?

right arrow should use Fira Code if I'm not mistaken

@exezbcz are we keeping Fira Code on arrow?

i think we can keep it, i just see it bit differently:

issue with work sans is that the typeface doesn't have ligatures
the one in the image i think works fine.

@exezbcz which one of those images do you mean?

[ ] @roiLeo's screenshot - Work Sans, can be checked at https://deploy-preview-4488--koda-nuxt.netlify.app/
[ ] your screenshot - Fira Code, everywhere else.

@exezbcz which one of those images do you mean?

[ ]  @roiLeo's screenshot - Work Sans, can be checked at https://deploy-preview-4488--koda-nuxt.netlify.app/
[ ]  your screenshot - Fira Code, everywhere else.

i prefer the line solid, not divided into --->

pay 50 usd
Resolve merge conflicts and it's good to go

😍 Perfect, I’ve sent the payout
💵 $50 @ 26.53 USD/KSM ~ 1.885 $KSM
🧗 FNyt7T1xdbhN7dagf7yGYCRJuE3R45VmTCE3tjzy1rKxa7y
🔗 0xb4140b175d01ad646bbd93851f430dc485598f0bae6507c8669cdf0a6d004ad8
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues

cut text at some length on landing page?
can be done once #4488 merged

0xb4140b175d01ad646bbd93851f430dc485598f0bae6507c8669cdf0a6d004ad8

conflicts resolved, transaction not 😆

oh probably handling check balance before sending would be nice to preserve close to reality state

pay 50 usd

pay 50 usd

😍 Perfect, I’ve sent the payout
💵 $50 @ 25.2 USD/KSM ~ 1.984 $KSM
🧗 FNyt7T1xdbhN7dagf7yGYCRJuE3R45VmTCE3tjzy1rKxa7y
🔗 0xfcb10abf473e13a34f4da391a6db0c54e4483eabcf3b1f73cff46b4a39c04661
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Added support for PHP 5.3.3

This branch replaces the short by the long array notation to add support for PHP 5.3.3.

:-1:

I really don't want to see new libraries supporting EOL php. :(

@GrahamCampbell That depends largely on the target audience. For very low-level libraries with a large target audience, support for 5.3 is unfortunately still mandatory.
For high-level libs or frameworks, that's a different story, of course..

@GrahamCampbell not supporting PHP 5.3 in this library means that any tools which wants to keep support for 5.3 would have to implement phar-updating themselves rather than using this secure implementation.
So supporting 5.3 here is a good idea

Or it just forces them off php 5.3...

@padraic tests checking that phars signed with openssl are updated should be skipped if the system running the tests does not have Openssl

@GrahamCampbell You can do that if you change the min version for large and established projects (ZF, Symfony, Typo3, ..). New and yet unused libraries won't force anyone.

@webmozart Symfony is moving forward though. 2.7 needs more than just php 5.3.3 now, and 3.0 will need 5.5.9+.

@GrahamCampbell sure. but phar-updater does not have the same power. If it requires 5.4+, projects allowing 5.3 today will just avoid switching to phar-updater

I added 5.3 to travis.yml and marked the tests as skipped now that fail if openssl is not installed. Travis is green now.

I'd prefer to see folk adopt secure updates, and the reality is that phar-updater is genuinely too small with the sole 5.4 feature used being short array syntax. 5.4 adoption is better driven by larger units of functionality. I already have Humbug and Mockery at 5.4, so compromise is fine by me on this significantly smaller focused package.

I'll tag a new release in a few hours @webmozart.

Thanks a lot, much appreciated :)

And tagged.

Awesome! :clap:


FEATURE REQUEST: Power Toggle

There are currently actions for both Power On & Power Off.
Would it be possible to get a Power Toggle option

The upstream library that does the API calls only has power on or off. We would have to do a check every time to determine if it’s already on or off before then sending the command if the command doesn’t match the state.
so no.


远程服务器连接报错

Requesting address is denied

Hi,
this is not a support channel, for support options check https://github.com/smehrbrodt/nextcloud-libreoffice-online#professional-support


Does not build on Python > 3.5

Because python3.5 is hardcoded in the venv command, modern macOS devices (I'm currently on High Sierra beta) don't make correctly, although it builds fine if changed to python3.

Thanks @jarpy for your reply. I've filed a PR as #39.

Oh no, thank you for the patch!


[FEATURE REQUEST] Boot trigger

Problem
Before Kernel starts and it can handle connections, a lot of work have to be done.
For example:

validating configuration
warming up cashes
checking connections
building dependency tree

Solution 1 - any program, checks exit value.
New config value server.boot. Same as services except it uses timeouts from worker pool and does not restart.

0 - start workers
>=1 - error, stop everything, pass exit code and RR returns same code
string - ?

server:
    boot: "any_program.sh"

Solution 2 - RR_MODE
Use RR_MODE=boot and start one worker only. If it exists with 0, continue.
Solution 3 - new type packets
Consider RR_MODE is moved to packet. Then RR starts one worker, sends BOOT packet, and if it responds with "everything is fine" continue booting other workers and accepting requests.
Solution 4 - ready packet
I do not know if now RR sends packet when php worker is ready. But if not, it could send ready when first waitRequest call is made. I think time difference between workers starting is enough to avoid most race conditions. And custom boot logic could be avoided at all. First started worker could create file lock if more time is required.

Thanks for the proposal, @OO00O0O, Solution 1 seems fine to me. The process can't return string exit code, so, it would be only 0 or >= 1, which is also fine. Generally, the proposal looks good to me.
In the boot or I guess would be better on_init or init stage, RR executes the file/script provided by the path, and then if everything is fine (no timeouts, no non zero exit code) will continue to work. RR would not read the process output or communicate with the process, just fire and wait.
Except for few things:

I can't read the pool timeouts (there are could be several pools, with different timeouts)
I guess, this section should look like the following:

server:
     on_init:
         command: "any_program.sh/php"
         timeout: 10s
         other_possible_options.
.... regular server's options......

With this config, we would have the ability to easily extend on_init config option and provide the timeout.
Regarding the #36 , we would have the ability to define per-plugin on_init scripts. I expect, that for the http and for example temporal workers, on_init routines might be different.


Remove WATCH_NAMESPACE from makefile or make it empty

Our makefile sets WATCH_NAMESCE by default to default. which is used in make run.
This is inconvenient for two reasons:

our operator should watch all-namespaces.
on minishift I am not able to set namespace/project to default (it's reserved for k8s core components)

From contributing readme

Similar instructions also work for OpenShift, but the target run-openshift can be used instead of run. Make sure you are using the default namespace or that you are overriding the target namespace by setting NAMESPACE, like: make run-openshift WATCH_NAMESPACE=myproject

This will allow us to remove this line, also note that run-openshift was removed when we auto detected platform.


button active and hover states

Active and hover states were missing from buttons following the new a11y focus state changes.
How to review
Check all the hover, active and focus states of all button types.

 Buttons: Missing hover and active states

 Buttons opening in a new window need to warn users


Using kor-ui

Just to let you know I've switched to your kor-ui components for one of my project!
The preview component is now running kor-ui, with a nice interface! (But it's just the beginning...)
https://dontcode.github.io/preview-ui
from
https://dontcode.github.io project.

Nice to hear from you again and great to know you managed to get on board with Kor-UI (though the links do not work for me, but I trust you it is looking nice ^^)
If you come across any bug, limitation or would like a feature to be added, please help me make it grow step by step.


make lora slider max values adjustable

closes #235

@pascal-pfeiffer maybe we can just increase the max values? do we really need a setting here?

It becomes harder to set specific low values if the max value is really large. Let's say 2048 is the max value, it's hard to set it to 4.
I don't think it is too common to set it to very high values (right now), so I would hide it a bit.


Periodic event

Is it possible to add a periodic event, pretty much like you can do it using the browser? I can't find any option for this.

Using quick you should be able to (e.g. 'dinner every wednesday at 8pm'.)  We don't support adding recurrence settings today if you use a normal add.


Corrupted HLS stream

Hey,
v4l2rtpserver is awesome, exactly what I was looking for. However, although the rtsp stream is flawless (tested with VLC), I can't seem to get the HSL stream to run properly, the image is always corrupted (tested with Chrome and Firefox native extensions/addons, as well as the hsl.js player). I've tried different resolutions, frame-rates, etc, but not luck so far.
I ran the stream both with verbose and very verbose output but don't see anything that stands out. The camera I use is a Logitech C920, if that is useful in any way. How could I debug this? Any suggestions?
I can attach a preview file if you want. The problem seems similar to #81, but -c didn't help me.

HI Claudiu,
Just to be sure, did you add the -S option to enable HLS ?
Best Regards,
Michel.

I'm having the same issue with -S and HLS.