Cannot read properties of undefined (reading 'component') while loading Elemental

Summary
Fixes #11414

Occurred changes and/or fixed issues

make sure we are adding the machine config to the subTypes array so that it is available while creating/editing an Elemental cluster

Technical notes summary

The problem lies with the edit view of provisioning.cattle.io.cluster where if the preferred provisioner (RKE1 or RKE2 - toggle on cluster creation screen, which is persistent) would omit the machine config for Elemental clusters if it was toggled for RKE1. This PR makes it available always in a scenario where a subType has been selected, which will cover the create/edit Elemental cluster direct links.
Areas or cases that should be tested

Start elemental locally (install extension and operator + crds)
Go to cluster management -> hit create -> toggle the rke indicator to rke1
Go to Create Elemental cluster via Elemental extension -> dashboard -> button Create Elemental Cluster
Make sure interface loads fine and that cluster creation succeeds
Go to cluster management and edit the Elemental cluster
Make sure interface loads fine and that cluster edit succeeds

Areas which could experience regressions

Screenshot/Video

Checklist

[x] The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
[x] The PR has a Milestone
[x] The PR template has been filled out
[x] The PR has been self reviewed
[x] The PR has a reviewer assigned
[x] The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
[x] The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

Tried creating and editing RKE1, RKE2 and Elemental


Entry point fix

Old string entry point (app - production) replaced with new path.join and constants.SRC_DIR.

Ups. Thank you!


[Addons] netlify addons:delete fauna fails once in bad state

- Do you want to request a feature or report a bug?
Bug
- What is the current behavior?
I cannot config or delete the fauna addon
- If the current behavior is a bug, please provide the steps to reproduce.

Create a fauna addon
go into the fauna dashboard and delete the database there
Try to config or delete the addon in the netlify cli

- What is the expected behavior?
I can delete the addon so that I can recreate a new one
- Local Environment Information
Paste the results of netlify status --verbose here
────────────────────┐
 Environment Info   │
────────────────────┘

  System:
    OS: macOS Mojave 10.14.5
    CPU: (4) x64 Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
  Binaries:
    Node: 10.15.3 - ~/.nvm/versions/node/v10.15.3/bin/node
    Yarn: 1.15.2 - /usr/local/bin/yarn
    npm: 6.11.3 - ~/.nvm/versions/node/v10.15.3/bin/npm
  Browsers:
    Chrome: 77.0.3865.90
    Firefox: 59.0.1
    Safari: 12.1.1

I'd rather not paste all account info here... can I email that info?
netlify CLI version: netlify-cli/2.15.0 darwin-x64 node-v10.15.3
This is the output of netlify addon:delete fauna:

Hi @wes566 , can you try again and see if it works for you?

Hey @wes566 just wanted to follow up on this.
Were you able to get it working?

@DavidWells @BrunoQuaresma I don't have my environment setup anymore, I'm fine with closing this out, if I come back around to it and hit issues again then I can make a new issue.


FP2 needed for my 2018 Crosstrek Limited

Description
Using "subaru-PR-test", and my 2018 Crosstrek was not getting identified correctly. So I did an FP2 and the only diff needed was one more FP2 code added to the Ecu.eps subsection.
Verification
Several drives, checking the "platform" result on my.comma.ai, and the route table is now always "SUBARU IMPREZA LIMITED 2019" for my car.

Checked the PR, eps fw b'z\xc0\004\000' is equal to already existing b'z\xc0\x04\x00'


[Feature] Adaptive width/height of legend container

What problem does this feature solve?
Based on this issue: https://github.com/apache/echarts/issues/7887
We need our chart to adapt the height/width of the legends both vertical and horizontal type so that items doesn't overflow onto the graph area. Currently they only way is to hardcode a pixel/percentage value but it's not responsive.

There is a way in which you can make it dynamic.
The idea is to retrieve the maximum length (in characters) and give that spacing to the grid (by multiplying it by X, depending on the font size).
MaxLength:
let maxLength = 0;
const series = option.series.map((key) => {
if (key.name.length > maxLength) {
maxLength = key.name.length;
}
....
GRid like this:
grid: {
containLabel: true,
right: showLegend ? maxLength * 9 : 40,
bottom: 80,
},
and thats it :)


dvd-slideshow: Add package.

This adds dvd-slideshow, a suite of command line programs that creates a
slideshow-style video from groups of pictures.

Thanks.


Unusual traffic

Is there a roundabout to this or should I just wait until I can actually use the script again?
[ERROR] Unable to parse initial video data. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<meta http-equiv="content-type" content="text/html; charset=utf-8"><meta name="viewport" content="initial-scale=1"><title>https://www.youtube.com/watch?v=De9YvehoMqs</title>

<form id="captcha-form" action="index" method="post">

<input type='hidden' name='q' value='EgQIHWksGNiGuo4GIhCemr7m7JgiWMOQ9JIilbMLMgFy'><input type="hidden" name="continue" value="https://www.youtube.com/watch?v=De9YvehoMqs">
</form>

About this page

Our systems have detected unusual traffic from your computer network.  This page checks to see if it's really you sending the requests, and not a robot.  Why did this happen?

This page appears when Google automatically detects requests coming from your computer network which appear to be in violation of the Terms of Service. The block will expire shortly after those requests stop.  In the meantime, solving the above CAPTCHA will let you continue to use our services.

This traffic may have been sent by malicious software, a browser plug-in, or a script that sends automated requests.  If you share your network connection, ask your administrator for help — a different computer using the same IP address may be responsible.  Learn more

Sometimes you may be asked to solve the CAPTCHA if you are using advanced terms that robots are known to use, or sending requests very quickly.

IP address: xxxxxxxx
Time: 2021-12-31T04:13:12Z
URL: https://www.youtube.com/watch?v=De9YvehoMqs

.


cookie_example is not working

/git/cowboy/examples/cookie$ make run
/home/per/git/cowboy/examples/cookie/_rel/cookie_example
Erlang/OTP 19 [erts-8.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
(cookie_example@Vivo1)1>
=ERROR REPORT==== 19-Feb-2017::16:21:43 ===
Ranch listener http, connection process <0.521.0>, stream 1 had its request process <0.522.0> exit with reason function_clause and stacktrace [{cowboy_req,header,[<<"cookie">>,#{path => <<"/">>,resp_cookies => #{<<"server">> => [<<"server">>,<<"=">>,"503725",<<"; Version=1">>,<<>>,<<>>,[<<"; Path=">>,<<"/">>],<<>>,<<>>]}},undefined],[{file,"src/cowboy_req.erl"},{line,347}]},{cowboy_req,parse_header,4,[{file,"src/cowboy_req.erl"},{line,391}]},{cowboy_req,match_cookies,2,[{file,"src/cowboy_req.erl"},{line,402}]},{toppage_handler,init,2,[{file,"src/toppage_handler.erl"},{line,13}]},{cowboy_handler,execute,2,[{file,"src/cowboy_handler.erl"},{line,37}]},{cowboy_stream_h,execute,3,[{file,"src/cowboy_stream_h.erl"},{line,172}]},{cowboy_stream_h,proc_lib_hack,3,[{file,"src/cowboy_stream_h.erl"},{line,157}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]
=ERROR REPORT==== 19-Feb-2017::16:21:43 ===
Ranch listener http, connection process <0.521.0>, stream 2 had its request process <0.523.0> exit with reason function_clause and stacktrace [{cowboy_req,header,[<<"cookie">>,#{path => <<"/">>,resp_cookies => #{<<"server">> => [<<"server">>,<<"=">>,"730271",<<"; Version=1">>,<<>>,<<>>,[<<"; Path=">>,<<"/favicon.ico">>],<<>>,<<>>]}},undefined],[{file,"src/cowboy_req.erl"},{line,347}]},{cowboy_req,parse_header,4,[{file,"src/cowboy_req.erl"},{line,391}]},{cowboy_req,match_cookies,2,[{file,"src/cowboy_req.erl"},{line,402}]},{toppage_handler,init,2,[{file,"src/toppage_handler.erl"},{line,13}]},{cowboy_handler,execute,2,[{file,"src/cowboy_handler.erl"},{line,37}]},{cowboy_stream_h,execute,3,[{file,"src/cowboy_stream_h.erl"},{line,172}]},{cowboy_stream_h,proc_lib_hack,3,[{file,"src/cowboy_stream_h.erl"},{line,157}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]

It is working, but you need the most recent version of Cowboy to have the correct example. Examples currently download master and don't use the top-level Cowboy.


[Bug][Sync Frequency] Skipping data collection when there are multiple projects with the same schedule

Search before asking

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

What happened
Data collection is not occurring on schedule for some projects when I have multiple projects with the same schedule.

What do you expect to happen
Data collection is triggered for all projects with the same schedule.
How to reproduce
The problem is occurring with 61 projects with the same schedule, I don't know the exact number of projects for the bug to occur, for a small amount it doesn't occur.
Anything else
The bug occurs in all schedules
Version
v1.0.0
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

@dosu Is there any environment variable to change the value of maxConcurrency?

Try the latest beta, It might be fixed but I can't recall which version it was.


SPI to Policy-Model reference

Hello everyone,
at the time of writing the SPI references the policy model extension. I think the SPI should not depend on any EDC extension. Therefore I would suggest moving the code from the policy model to the SPI and delete it. The policy model is included in the SPI by reference anyway.
Dominik Pinsel<EMAIL_ADDRESS>Daimler TSS GmbH, legal info/Impressum

This is by design. The core policy model (different from the policy engine) should not depend on any runtime classes. The idea here is that the policy model can be embedded in an offline tool for authoring policy.
The other benefit is this would allow policy enforcement in external subsystems.

ah ok :) Then it was just a misunderstanding on my side. Now that you mention it, I think you already explained it at some point in time. Thanks for the fast reply and  I will close this issue now.


on Oracle datasource wrong query to select failed rows: LIMIT keyword doesn't exist

Hi,
I re-open the issue https://github.com/sodadata/soda-core/issues/2060 because the problem is still present.
I tried with the last version 3.3.9.
Soda builds the query to select failed rows samples using LIMIT keyword, but it doesn't exist in Oracle.
Query error: oracle_beneficiario_with_connstring_dev.MYTABLE.duplicate_count[MYCOLUMN].failed_rows.aggregated: ORA-00933: SQL command not properly ended

WITH frequencies AS (
    SELECT MYCOLUMN, COUNT(*) AS frequency
    FROM MYTABLE
    WHERE MYCOLUMN IS NOT NULL
    GROUP BY MYCOLUMN)
SELECT *
FROM frequencies
WHERE frequency > 1
ORDER BY frequency DESC
LIMIT 10

The correct query should use the ROWNUM keyword:
WITH frequencies AS (
    SELECT MYCOLUMN, COUNT(*) AS frequency
    FROM MYTABLE
    WHERE MYCOLUMN IS NOT NULL
    GROUP BY MYCOLUMN)
SELECT *
FROM frequencies
WHERE frequency > 1
  AND ROWNUM <= 10
ORDER BY frequency DESC

Thank you

CLOUD-8027

@m1n0  didn't we fix this recently? Or did we only fix it in Soda Library and not Soda Core?

@stelapo could you please share the full log output showing the version? This is where that query is constructed and it uses the right keyword https://github.com/sodadata/soda-core/blob/main/soda/oracle/soda/data_sources/oracle_data_source.py#L350

Hi @benjamin-pirotte and @m1n0 ,
thank you for your reply.
I tried again today, but now it works. I honestly don't understand why; I had checked the installed library version using pip show.
Anyway, better that way! :)
I am closing this thread.
Finally, I would like to point out this other thread https://github.com/sodadata/soda-core/issues/2125; I have also checked this problem again and confirm that it exists.
Thank you very much
Translated with DeepL.com (free version)

I understand why :) .... now there's the new version 3.3.10; when I tried there was the version 3.3.9.
Thank you


switch from docker-compose to docker compose

Docker Compose is now in the Docker CLI, try docker compose up

resolved with #54


LICENSING issue

Hi,
I'm big fan of this library, but recently come into environment where legal stuff and licensing is very much part of development process. I found out that one the dependencies that redux-actions is using is not properly licensed. The dependency in question is reduce-reducers. This dependency states that is licensed under MIT but doesn't have any license file in repository not in npm package. Can this be somehow remedied on this package ? I have already issued a PR on reduce-reducers repo with proper license file, but there is not response there.
Thank you very much

I reached out to @acdlite privately. Let's see if we can resolve this somehow, but unfortunately it's not possible on our side.

We (redux-utilities organisation) now have access to the repository.


ENYO-2431: Accessibility: When the focus return to the button from in…

…put it does not read.
Issue:
When a button gets spotlight back from Input, there is no readout
Cause:
When spotlight is focused on InputDecorator and dom node having 'aria-hidden'
it doesn't set dom focus on them. Therefore when spotlight moves back to
the button, it has dom focus already.
Fix:
Blur dom focus in onSpotlightBlur.
https://jira2.lgsvl.com/browse/ENYO-2431
Enyo-DCO-1.1-Signed-off-by: Jaewon Jang<EMAIL_ADDRESS>

Closing in favor of #207


Add Serialize methods support for SKPicture

Is your feature request related to a problem? Please describe.
Add support for serializing SKPicture as skp stream or SKData object. Currently you can not serialize created SKPictures. For example when loading SVG image from file you can only draw resulting SKPicture and can not save for later use.
Describe the solution you'd like
Add support for the following skia methods:
https://github.com/google/skia/blob/90c300fb4ac9421b7274ba7c94c8c90f600766db/include/core/SkPicture.h#L157
https://github.com/google/skia/blob/90c300fb4ac9421b7274ba7c94c8c90f600766db/include/core/SkPicture.h#L169
Describe alternatives you've considered
Did not find any alternatives in SkiaSharp.
Additional context
https://github.com/google/skia/blob/master/site/user/api/skcanvas_creation.md#skpicture
#include "SkPictureRecorder.h"
#include "SkPicture.h"
#include "SkStream.h"
void picture(int width, int height,
             void (*draw)(SkCanvas*),
             const char* path) {
    SkPictureRecorder recorder;
    SkCanvas* recordingCanvas = recorder.beginRecording(SkIntToScalar(width),
                                                        SkIntToScalar(height));
    draw(recordingCanvas);
    sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
    SkFILEWStream skpStream(path);
    // Open SKP files with `viewer --skps PATH_TO_SKP --slide SKP_FILE`
    picture->serialize(&skpStream);
}

@wieslawsoltes is there a reason you closed this?

@mattleibow Any new on this issue? This would make debugging issue much easier as you can load created .skp into https://debugger.skia.org/

Oh wow. An old issue.
That is awesome. Let me get this is asap!

Wow indeed. That is a nice tool.

And you get some nice insights:
{
  "command": "DrawPath",
  "visible": true,
  "path": {
    "fillType": "winding",
    "verbs": [
      {
        "move": [
          20.5,
          344.5
        ]
      },
      {
        "cubic": [
          [
            20.5,
            344.5
          ],
          [
            22,
            333.5
          ],
          [
            10.5,
            346.5
          ]
        ]
      }
    ]
  },
  "paint": {
    "strokeWidth": 1,
    "antiAlias": true,
    "style": "stroke",
    "filterQuality": "low"
  },
  "auditTrail": {
    "Ops": [
      {
        "Name": "SmallPathOp",
        "ClientID": 310,
        "OpsTaskID": 264,
        "ChildID": 28,
        "Bounds": {
          "Left": 193.948,
          "Right": 205.214,
          "Top": 483.872,
          "Bottom": 491.691
        },
        "Stack": [
          "SkGpuDevice::drawPath",
          "GrRenderTargetContext::drawPath",
          "GrRenderTargetContext::drawShape",
          "GrRenderTargetContext::internalDrawPath",
          "GrSmallPathRenderer::onDrawPath",
          "GrRenderTargetContext::addDrawOp"
        ]
      }
    ]
  }
}

Now that is very nice!
I got a PR up that should make this a cinch. Leave any comments, and once I merge CI will push to the preview feed: https://github.com/mono/SkiaSharp/pull/1514

@mattleibow Amazing!
Will test the preview.
PS. Now we can submit issues with recordings.

Oh yeah. That will be such a great help! The avalonia folks might also find this helpful... @danwalmsley @kekekeks?

I can compare my library svg rendering vs chrome svg rendering, like draw command by draw  command, you can inspect filters and effects etc.

@mattleibow I also wonder if there is any built-in public skia API to inspect SKPicture draw commands

@mattleibow I also wonder if there is any built-in public skia API to inspect SKPicture draw commands

Like https://api.skia.org/classSkPicture.html#a9e5313999fc681ec64586dada8f5a259
virtual void SkPicture::playback	(	SkCanvas * 	canvas,
AbortCallback * 	callback = nullptr
)		const

@mattleibow I also wonder if there is any built-in public skia API to inspect SKPicture draw commands

Like https://api.skia.org/classSkPicture.html#a9e5313999fc681ec64586dada8f5a259
virtual void SkPicture::playback	(	SkCanvas * 	canvas,
AbortCallback * 	callback = nullptr
)		const

But than I need to somehow intercept commands from SkCanvas

Hm maybe this can be used
https://skia.googlesource.com/skia/+/master/include/core/SkCanvasVirtualEnforcer.h
https://skia.googlesource.com/skia/+/master/include/core/SkCanvas.h#2502

@wieslawsoltes There doesn't seem to be any APIs for anything too advanced on SKPicture. The playback is more for when drawing the picture. SKCanvas.DrawPicture does this in one operation, the Playback will basically replay all the commands you did. So, all the crops, draws and transforms. Not sure exactly how this works... Maybe if there was some background thread that would cancel it?
In the code there is basically a loop that goes through all the commands and provides a call to the abort method to optionally break.
SKPicture is basically an abstract type that never exists. There are some derived types that have all the props, but they are private/internal.

@mattleibow yeah looks like there is no way to get access to picture draw commands, also skp file format is undocumented and no plans for opening it by Google


Run server with delays disabled

Is your feature request related to a problem? Please describe.
We currently use the mock server for two use cases:

demonstrating the functionality of the app, where we want delays in order for the api calls to feel more realistic
E2E testing, where we don't want delays, in order for the tests to run as fast as possible

Describe the solution you'd like
Ideally we can define delays in the resource files exactly as now, but when we run our E2Es we could optionally start the mock server with some kind of flag e.g. --no-delays which will ignore all the defined delays.

Hi @E1200533, very good idea ! 😄 Let me have a look the merge request this afternoon and I will include it in the next release.
Thanks for the support

FYI: @E1200533 , I opened an issue in the cli where you can execute the mocks without --no_delay flag like:
hjs start --no_delays
I will inform here once the new version is deployed

Here you have the new version of for the cli:
<EMAIL_ADDRESS>


User PSR-4

See: https://github.com/doctrine/mongodb/issues/282#issuecomment-262332535

Missed that one. I'll close it then.


[WIP] Enables spelling

Summary
This enables the spelling so that running make spell locally for me works. I have created custom dictionary - allowed it to create a custom dict of unknown words and then sorted it and went through it pulling out words that appeared to be misspellings and fixed up the source material where it got flagged once removed, I updated configuration as needed and dropped the explicit settings on pylint make spell in makefile for the project file config. I debated whether we really want to spell check test and tools but left it now as this is what we did in the apps. The original intent was to spellcheck what we have emitted in the docs and since that includes none of test or tools spell checking it seems a bit unnecessary but as I said I left it be.
This remains to be enabled on CI here - where the custom dict may need tweaking as I have noticed that I can get different results from CI in the past as I do not think its quite the same dict being used.

[ ] Add spelling to CI

Details and comments

I updated configuration as needed and dropped the explicit settings on pylint make spell in makefile for the project file config.

I see lint is failing in Mac here on CI - perhaps that's why the setting was explicit before in the makefile - will have to try here and see)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.994%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
6395

Relevant Lines:
7106

💛  - Coveralls

Given this was altering the main workflow I figured I'd the deprecation message extraction/combining.


Questions on cross merge

Many thanks for open-source this great project! Here's a question on CrossMerge function:
In Pytorch version, it seems cross-merge takes 2D feature map as input, while in the paper it takes 1D feature from S6 block, does S6 block reshape the 1D feature back to (H,W)? If so, why is this necessary since in the CrossMerge function, the input is again reshaped into 1D for merge?
class CrossMerge(torch.autograd.Function):     @staticmethod     def forward(ctx, ys: torch.Tensor):         B, K, D, H, W = ys.shape         ctx.shape = (H, W)         ys = ys.view(B, K, D, -1)         ys = ys[:, 0:2] + ys[:, 2:4].flip(dims=[-1]).view(B, 2, D, -1)         y = ys[:, 0] + ys[:, 1].view(B, -1, W, H).transpose(dim0=2, dim1=3).contiguous().view(B, D, -1)

Because we need to get the shape of the output of CrossMerge, while we do not want to input other parameters into this function. Meanwhile, the output of S6 block is only required to be viewed as (...,H, W), rather than reshaped, which means there's no actual modification on the data itself.


GroundOverlay KMLs are not supported

As far as I can tell, GroundOverlays in KMLs are not supported. I found a pull request https://github.com/ericfong/openlayers/commit/888bacf65d2b6a551662ff4aa7896806e9465461, which is for OpenLayers 2, and which was never merged into the project. I feel like GroundOverlays are not an uncommon feature of KMLs and thus an implementation in OpenLayers would be extremely pertinent.
It seems like it would be similar to parsing Placemarks, which are supported, except the image is scaled to a particular extent on the map. I'll try to make a pull request, but does anybody have a desire for this feature?

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Google Earth Web Plugin is not a solution as it is being permanently deprecated. +1 for adding this feature to openlayers.

Yeah, the deprecation notice was issued in December. Although, I feel like Google may have something similar up their sleeve (based on WebGL, maybe).

If this is developped, it could be great to propose an enhancement on the gdal package to go to the latest version of ol3.
https://github.com/OSGeo/gdal/blob/11ab6f3132d025e9ccdee9d4dda817786cead5b3/gdal/swig/python/scripts/gdal2tiles.py#L1995

Was there any progress with support of GroundOverlay feature on Openlayers?

I would like to see this issue reopened. I am hoping that GroundOverlay support can be added.


Allow python 3.12

@EthanMarx I need to update mldatafind so that I can update amplfi so that I can update the online project in aframe.

Lol... sounds good, just fix up pre-commit


Finish v1.3 Rulebook

Going to finish the v1.3 rulebook by v1.3.1! Probably gonna release by Monday-Wednesday.

@gitboui could you help a little bit?


Istio ingress Gateway route traffic 443 to 80 at  AWS ELB level with patching

Hi Team,
I am applying patch for Istio ingress gateway with AWS ACM certificate for ELB, Its applying properly but one thing doesn’t working.
My goal is, AWS ELB and Istio gateway should use same ACM Certificate (AWS ACM), and whatever the traffic comes to 443 it should redirects to 80.
Whatever the request comes to ELB with 80 or 443, should forwards the traffic to Istio gateway, at Istio gateway SSL should terminate and traffic should go through plaintext (80).
After applying the patch, manually changing the Instance 80 port to 443 (31678) at ELB as below

Istio version: 1.9
This is my gateway file
gateway.txt
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: istio-ingressgateway
namespace: istio-system
labels:
app: ingressgateway
spec:
selector:
istio: ingressgateway
servers:

port:
number: 80
name: http
protocol: HTTP
hosts:

'*'

Following YAML File using for applying the patch for ELB with ACM
kubectl -n istio-system patch service istio-ingressgateway --patch "$(cat<<EOF
metadata:
annotations:
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp
service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: "4000"
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: ""
service.beta.kubernetes.io/aws-load-balancer-ssl-ports: https
spec:
selector:
istio: ingressgateway
servers:

port:
name: http
number: 80
protocol: HTTP
targetPort: 80
nodePort: 31687
hosts:

‘*’

port:
name: https-443
number: 443
protocol: HTTP
targetPort: 80
nodePort: 31687
hosts:

‘*’
EOF
)"
istio-acm-patch.txt

The issue seems to be missing what is not working? One thing I noticed is the servic nodee port is not matching the UI

The issue seems to be missing what is not working? One thing I noticed is the servic nodee port is not matching the UI
Hi @howardjohn, I am using AWS EKS cluster to deploy My application,I have Installed Istio-1.9 on EKS cluster and deployed Istio Gateway on EKS cluster.
Istio is Spinning up elb loadbalancer from the AWS, so I wanted to apply SSL certificate for ELB and Istio Gateway for SSL communication.
I used patching to apply SSL certificate for ELB, So its been applying SSL properly and its working fine, but for the ELB instance listner ports should be same for both 80 and 443. When 443 and 80 requests comes to ELB, both should allow and that requests should forward to same instance port at ELB as posted in the above picture. But the issue is its applying SSL certficate for ELB, same node port (listener port) is not applying, after applying the patch i am manually updating the port at ELB with 80 of listener port
Please see the patch yaml file and gateway yaml file posted above

Note: My goal is the patch should apply ACM Certificate as well as same Listener port for 80 and 443.

@vangahari if the issue is ELB port is not correct, please file a bug with AWS. Istio has no control over that.

It may be related to this other case here. https://stackoverflow.com/questions/66231268/istio-terminate-tls-at-aws-nlb/66898971#66898971
I'm trying to use NLB in front of my ingress gateways with ACM SSL certificates on AWS load balancer and it all works fine if I expose my ingress gateway on port 80, but then I have to call https://:80
The problem manifests when I switch the ingress gateway to port 443 maintaining the gateway protocol as plain "HTTP". Envoy no longer replies to plain text HTTP requests.

my current config, for reference: (tried all the combinations possible)
ingressGateways.k8s
          service:
            ports:
              - name: status-port
                port: 15021
                targetPort: 15021
              - name: http2
                port: 443
                targetPort: 8080

apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
  name: truth-service
spec:
  selector:
    istio: ingressgateway
    visibility: private
  servers:
  - port:
      number: 443
      name: https
      protocol: HTTP
    hosts:
    - "truth-service.pod998.zdmesh.io"
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: truth-service
spec:
  hosts:
  - truth-service.pod998.zdmesh.io
  gateways:
  - truth-service
  http:
  - route:
    - destination:
        host: truth-service.truth-service.svc.cluster.local
        port:
          number: 80

(not so) fun discovery, it's specific to port 443.  If I expose my ingress gateway k8s service using 8443 while plain HTTP,  all  works as expected.


Nested properties not recognized in .sass syntax

What version of Sass Lint are you using?

"sass-lint": "^1.13.1"

Please include any relevant parts of your configuration

files:
  include: 'path/to/**/*.{sass,scss}'
rules:
  attribute-quotes:
    - 1
    -
      include: true
  bem-depth:
    - 0
  border-zero:
    - 1
    -
      convention: none
  brace-style:
    - 1
    -
      style: stroustrup
      allow-single-line: false
  class-name-format:
    - 0
  clean-import-paths:
    - 1
    -
      leading-underscore: false
      filename-extension: false
  declarations-before-nesting:
    - 1
  empty-args:
    - 1
    -
      include: false
  empty-line-between-blocks:
    - 1
    -
      include: false
  extends-before-declarations:
    - 1
  extends-before-mixins:
    - 1
  final-newline:
    - 1
    -
      include: true
  force-attribute-nesting:
    - 0
  force-element-nesting:
    - 0
  force-pseudo-nesting:
    - 0
  function-name-format:
    - 0
  hex-length:
    - 0
  hex-notation:
    - 0
  id-name-format:
    - 0
  indentation:
    - 0
  leading-zero:
    - 1
    -
      include: true
  max-file-line-count:
    - 1
    -
      length: 300
  max-line-length:
    - 0
  mixin-name-format:
    - 0
  mixins-before-declarations:
    - 0
  nesting-depth:
    - 0
  no-attribute-selectors:
    - 0
  no-color-hex:
    - 1
  no-color-keywords:
    - 0
  no-color-literals:
    - 0
  no-combinators:
    - 0
  no-css-comments:
    - 1
  no-debug:
    - 0
  no-disallowed-properties:
    - 0
  no-duplicate-properties:
    - 1
  no-empty-rulesets:
    - 0
  no-extends:
    - 0
  no-ids:
    - 1
  no-important:
    - 2
  no-invalid-hex:
    - 0
  no-mergeable-selectors:
    - 1
  no-misspelled-properties:
    - 2
    -
      extra-properties:
        - -webkit-overflow-scrolling
        - border-top-radius
        - border-bottom-radius
        - border-left-radius
        - border-right-radius
        - size
        - max-size
        - margin-x
        - margin-y
        - padding-x
        - padding-y
        - border-x
        - border-y
        - border-x-color
        - border-y-color
        - absolute
        - fixed
        - relative
  no-qualifying-elements:
    - 1
    -
      allow-element-with-attribute: true
  no-trailing-whitespace:
    - 1
  no-trailing-zero:
    - 1
  no-transition-all:
    - 2
  no-universal-selectors:
    - 0
  no-url-domains:
    - 2
  no-url-protocols:
    - 2
  no-vendor-prefixes:
    - 1
    -
      additional-identifiers:
        - khtml
        - o
      ignore-non-standard: true
  no-warn:
    - 0
  one-declaration-per-line:
    - 1
  placeholder-in-extend:
    - 0
  placeholder-name-format:
    - 0
  property-sort-order:
    - 0
  property-units:
    - 0
  pseudo-element:
    - 2
  quotes:
    - 1
    -
      style: single
  shorthand-values:
    - 2
  single-line-per-selector:
    - 1
  space-after-bang:
    - 1
    -
      include: false
  space-after-colon:
    - 1
    -
      include: true
  space-after-comma:
    - 1
    -
      include: true
  space-around-operator:
    - 1
    -
      include: true
  space-before-bang:
    - 1
    -
      include: true
  space-before-brace:
    - 1
    -
      include: true
  space-before-colon:
    - 1
    -
      include: false
  space-between-parens:
    - 1
    -
      include: false
  trailing-semicolon:
    - 1
    -
      include: true
  url-quotes:
    - 1
  variable-for-property:
    - 0
  variable-name-format:
    - 0
  zero-unit:
    - 2
    -
      include: false

What did you do? Please include the actual source code causing the issue.

.foo
	transform: translateX(-1px)
		origin: top left
		style: preserve-3d

or
.foo
	font: 20px fantasy
		weight: bold

What did you expect to happen?

No warnings or errors.

What actually happened? Please include any error messages given to you by Sass Lint.

Seems like Sass-Lint recognizes Sass nexted properties as regular properties causing the issue.

If you're using a IDE plugin have you tried the CLI too?

I am using plugin for Intellij IDEA, but CLI causes this issue too:
  14:4  error  Property `origin` appears to be spelled incorrectly  no-misspelled-properties
  15:4  error  Property `style` appears to be spelled incorrectly   no-misspelled-properties
  23:3  error  Property `weight` appears to be spelled incorrectly  no-misspelled-properties

#1113 related

Your indentation is incorrect for sass, you should be getting a parse error... This is not a bug


Make it possible to inherit from ZodiosHookClass

I'm trying to extend ZodiosClass with some dependent features like prefetching queries for SSR. But I got an obvious error
Class 'ZodiusHooksPrefetch<Api>' incorrectly extends base class 'ZodiosHooksClass<Api>'.
  Types have separate declarations of a private property 'apiName'

This small change of modifiers keeps required to be private properties private, makes the typescript compiler happy, and lets it extend hooks API without errors.
class ZodiusHooksPrefetch<Api extends ZodiosEndpointDefinitions> extends ZodiosHooksClass<Api> {
  constructor(
    protected readonly apiName: string,
    protected readonly zodios: ZodiosInstance<Api>,
    protected readonly options: { shouldAbortOnUnmount?: boolean } = {}
  ) {
    super(apiName, zodios, options);
  }
}

Thanks

available on 10.4.5


Matrix.org comparison not updated

This is a suggestion and a request for comment for the matrix comparison

is there a specific reason I'm not aware of for which the open source value was left blank?
based on these latest developments I think we should at some point consider changing their distributed tab to partially or wait for the implementation to be final to change it to true?
consider e2ee is now default in 2-participant rooms, but yes this does not change the status to true
why is the aosp tab void? does riot / riotx android client not work without GCM?

I think this is important as IMO Matrix [along with signal] is the real leader on the bleeding edge out there, and is investing a lot in P2P, so it'd be interesting to cross-reference approaches and advantages/disadvantages with them. Shoutout to Jami and status.im of course.
Thanks!

Hi @nordurljosahvida

Open source can be filled 'True' (https://matrix.org/faq/#what-do-you-mean-by-open%3F: Matrix is also open source, meaning that we have released the source code of the reference servers, clients and services to the public domain under the Apache Licence v2, to encourage anyone and everyone to run their own servers and clients, and enhance them and contribute their enhancements as they see fit.)
Considering this post, we can switch Distributed from 'False' to 'Partially'.
Since 2020-05-06, Matrix is is end-to-end encrypted by default for private conversations. So, E2EE can be switched to true.
It is precisely when we are not sure of the answer that we leave the box blank. There is a button to create a PR if someone wants to make a change to the table with if possible a link to a source/screenshot.

I just did a PR to update accordingly. Thanks for your input.

awesome thank you
really hope matrix and berty can cross reference tech and join efforts in some way


Weather files

Include several weather files, so different combinations of building and climate can be simulated.
The main sources for these files are:

DOE's 19 climate zones, most of them in USA (Link)
Climate.OneBuilding files, from most of the world (Link).

When integrating these files, the design day must be also taken into account.
TO DOs:

[ ] Design days have to be included manually. Find a way to do it automatically
[x] Modify weather from one year to another
[ ] Include more types of weather files, and also more locations (not USA)

Hi, I have a question regarding the modification of weather files from one year to another. Did you mean here the option to use Ornstein-Uhlenbeck noise to avoid having the same weather for each episode? Or is it also possible to specify the weather files that are used in the simulation?
I have a list of weather files of consecutive years that I want to use in a specific order.
The change I would like to implement is relatively straightforward (and can solve it myself); one option would be to pass a list of weather files (instead of a single weather file) and then call each episode the next element of the list. By taking a look at the reset function, it seems that most of the necessary steps are already implemented there.
I am wondering whether this is interesting for you. This is a feature in Moriyama et al's environment that I find pretty nice. (They ask to define custom weather files via environment variables, which is potentially easier to deal with than defining them in the init file)
But I really like this library so far!

@biemann take a look in our environments register, these environment specifications can be modified in this way:
env=gym.make(<env_name>, weather_file=<new_weather_file>)
Probably simulation won't be ok due to IDF is not modified in consequence.

We have Ornstein-Uhlenbeck noise implemented in order to not use the same weather for each episode. The problem is when you change the weather file, since it is necessary to change IDF DesignDay and Location too. However, it is an interesting point of view. We will keep in mind for future updates! Thank you so much for support @biemann! 👍

Thanks for the answer. Yeah, I did not think of the design days 😕.  In the IDF files you just modify the values of the sizing period at the beginning?  Do you know where these changes are used in the simulation?
In general, when downloading EnergyPlus files from either source (the official website or ClimateOneBuilding), it comes with a .ddy file, containing the information required to change the design day. So I guess I could manually change this. I am wondering whether there is a way to automatically read these files in addition to the epw files when available.

@biemann The sizing and design days are used in the warm-up and calibration of the simulation, before the episode begins.
I guess we could use the .ddy files to specify the design days. The changes we should implement then are:

[ ] Add both .ddy and .epw files for each weather.
[ ] Automatically read both of them for specifying Location and DesignDays in the IDF. You can use opyplus for reading .epw data from Python, hopefully it is similar for .ddy.
[ ] Allow to pass both a string and a list in the weather_file parameter of the environment. If a list is passed, then each episode uses a different weather in order. Then during the initialization of the simulation, the IDF would be modified to work with the specified weather data.

Does this sound good to you? @AlejandroCN7 Maybe we could further think about the design days, but I think this is a good first approach.
Thanks for the comments and for using Sinergym! :)

This sounds good to me. I don't about opyplus, but it seems that the part we are interested in the .ddy files is the part following the text "Annual Heating 99.6%" for the winter design days, and "Annual Cooling (DB=>MWB)" for the summer design days.
Maybe we could use this to extract the relevant information from the files.
Such an approach may be prone to bugs however.

I'm working on that. Probably during this week we will have some updates! ;)


Use relative paths if root folder is relative

I found a problem when I had a project with "test" in the name (so the absolute node_modules path became .../my-project-with-test-in-the-name/node_modules/).
Using files.walk always gives the absolute paths to the files, so my entire dependencies folder was being ignored due to the project name.
I've updated the legally function to map the absolute path to a relative path when the root folder is also relative - if the root is absolute then it will continue to use the absolute path.

The failed build seems to be also happening in master - I don't think this PR introduced it.

Interesting issue, thanks for the PR! I think overall the walking itself is quite janky and could/should be rewritten at some point, but for now this seems like a good temp fix, thanks!

Also I'm not using Appveyor anymore (now using Actions for tests) but couldn't figure out how to remove it from the project!

I think I removed it successfully, the tests are passing on Windows as well, thanks!
https://github.com/franciscop/legally/actions/runs/240788189

Published as<EMAIL_ADDRESS>

Awesome! Thanks for doing it so quickly 💪

Sorry, completely my fault... I didn't run the build to regenerate index.min.js as part of my PR - so 3.5.7 doesn't have the updated code 🤦♂

Ahh no that's on me, I run the "quick" publish script that I have because I forgot this project had a build step, published as<EMAIL_ADDRESS>:tada:


feat: introduce video-events package

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


⚠ ClamAV has degraded performance

In b6f35cb, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 74 ms

Resolved: ClamAV performance has improved in a0cc76b after 15 minutes.


fix(upgrade): re-order upgrade sequence

This PR adds :

Add rebuild check before 1st drain
Fix ordering sequence of control-plane check and rebuild check
Fix the "Waiting for rebuild" log with details about no-of replicas being rebuilt. Add the log even if no replicas are rebuilding

@sinhaashish Are you planning to modify is_rebuilding in this PR:
https://github.com/openebs/mayastor-extensions/pull/299

@sinhaashish Are you planning to modify is_rebuilding in this PR? PR: #299

@abhilashshetty04  no, we need to discuss on that as @tiagolobocastro  had asked for. I can make the change in another PR after we finalize.

bors merge

bors merge


Book module support: keys optional; bid can be new or FALSE; add original_bid, parent_depth_limit.

This is a follow-up to https://github.com/mglaman/phpstan-drupal/pull/523 - I know the book module is deprecated, but my project still uses it and we still want to use PHPStan to make our lives easier.
Motivation
As of Drupal 9.5, 10.0, and 10.1, the book module adds a "book" property to Node instances that have been enabled as books. PHPStan is now aware of this as of https://github.com/mglaman/phpstan-drupal/pull/523 but:

In practice, all of the properties in the $node-book array are optional;
The bid property can be set to the string 'new', or the boolean FALSE when creating a new book (currently the rules only allow numeric-strings); and;
The parent_depth_limit and original_bid keys are sometimes used inside the core book module (and could be used by code that takes inspiration from core).

Proposed changes

Makes all the $node->book properties optional;
Allows the bid property to be set to 'new' and FALSE;
Adds the optional parent_depth_limit property (allowing ints and numeric-strings); and;
Adds the optional original_bid property (allowing ints and numeric-strings).

Alternatives considered
I didn't really consider any alternatives, since the code already existed, it just needed to be changed slightly.
That being said, I did search core and ~84 contributed modules with the following regex to find any other edge cases missed...
('|")(nid|bid|pid|has_children|weight|depth|p1|p2|p3|p4|p5|p6|p7|p8|p9)('|")\s*?=>\s*?('|")(\P{C})('|")

... there are a lot of results (~29,000) in my codebase - most results in various test fixtures - but other than a handful of things unrelated to book (i.e.: establishing mappings), a scroll through results didn't show anything out of the ordinary... so hopefully I won't have to trouble you with more pull requests on this topic.
Testing steps
I did update the tests in this MR.
You could manually test by running php vendor/bin/phpstan web/core/modules/book when Drupal Core 9.5, 10.0, or 10.1 is installed, and looking through the errors. Note the book module sometimes sets EntityInterface::$book but making other entities into books isn't really possible.

Thanks!


flutter has exited unexpectedly

command
flutter version
exception
ProcessException: ProcessException: Process "git" exited abnormally:
error: unsupported sort specification 'creatordate'
usage: git tag [-a | -s | -u ] [-f] [-m  | -F ]  []
or: git tag -d ...
or: git tag -l [-n[]] [--contains ] [--points-at ]
[...]
or: git tag -v ...
-l, --list            list tag names
-n[<n>]               print <n> lines of each tag message
-d, --delete          delete tags
-v, --verify          verify tags

Tag creation options
-a, --annotate        annotated tag, needs a message
-m, --message
tag message
-F, --file      read message from file
-s, --sign            annotated and GPG-signed tag
--cleanup       how to strip spaces and #comments from message
-u, --local-user
use another key to sign the tag
-f, --force           replace the tag if exists
Tag listing options
--column[=

What do
which git

and
git --version

show?
It seems like you may have an old version of git in your path.

which git
/usr/local/git/bin/git
git --version
git version 2.4.3

I only appeared after I updated flutter.
flutter old version : v1.5.2

I only appeared after I updated flutter.
flutter old version : v1.5.2

git version 2.21.0  is work


Added CLI and fixed a bug in make-microshift-app-images-rpm

added a CLI to the script
fixed a bug where multiple copies of the image would get created
due to storage.conf getting a storage path appended every time
the app is run.
check for dependecies prior to attempting to build an image

Signed-off-by: Brent Salisbury<EMAIL_ADDRESS>

Caught a bug while adding a CLI to this. Noticed copies of the image were getting incremented every time the app was run. Turned out to be lines getting appended every run under additionalimagestores in /etc/containers/storage.conf. Just added a check if it's already there to not append another line.
additionalimagestores = [
"/var/lib/containers/storage/overlay-images",
"/var/lib/containers/storage/overlay-images",
"/var/lib/containers/storage/overlay-images",
"/var/lib/containers/storage/overlay-images",
"/var/lib/containers/storage/overlay-images",
]

Ty!!

/retest

Hey brent, sorry for stepping feet here, I have been working on https://github.com/redhat-et/microshift/pull/645 to fix some of the issues here, and also some additional ones I found (like broken permissions everywhere because of how rpm packages)
I added you on that one as co-author, first to reflect what you were also working on improving this, and also because I took some bits from here (like the sed with different delimiter which I didn't know that could be done).
I hope that other one works for you and if it doesn't let me know, and let's improve it.

@mangelajo awesome! Will give 645 a spin.


Confirm idValid and define a role system

what is the type of idValid boolean ?
where are stored the roles somebody could have ?
roles exemples: "admin", "beta", "moderator", etc

IdValid is the identity vérification.
Roles are stored in mongodb database.

the roles are not present in the schema


All categories | Buffa's Blog

https://bairuofei.github.io/categories/index.html
All or nothing, now or never

Good job


Update parse version with Azure

I have deployed Parse Serer with the button "Deployed to azure".
The version is 2.0. I have changed the the package.json with this line :  "parse-server": "~2.1.4"
I deployed to Azure and my app doesn't work anymore.
Thanks for your feedback

We don't support deployment issues here on GitHub. Consider asking a question on Azure support or Stack Overflow or Server Fault.


Breakout pieces from interactive.

MAINT: Move expr and compute pieces out interactive.

Move the `_Data` class and rename it to `Data`.
(A soon to follow patch will add a `Literal` class from which `Data` will
inherit, and change dispatches to use `Literal`.)

Also, move compute and coerce functions into compute.core.

This is part of the effort of supporting a literal type which is importable from
expr instead of interactive.

This includes https://github.com/blaze/blaze/pull/1636

Coverage decreased (-0.1%) to 87.199% when pulling 2b578e56432fe641a86ab35a0e7b5652bbe2aeab on quantopian:breakout-literal into 5f815cbd749a5c38ea34e78d6feb7e2fe3834352 on blaze:master.

Coverage increased (+0.04%) to 87.389% when pulling 3723b13f83f7bee4c61a78512e7b1d79d531d1c9 on quantopian:breakout-literal into 308c5b32faf41e013ee087af9a0d4fc48c9eeda9 on blaze:master.

@llllllllll I fixed up the future imports (for Python 2.7), and rebased against HEAD master (which contained #1637). This is green now, and ready for review.

Thanks for this, I just have one request: can you add something like:
def data(*args, **kwargs):
    warnings.warn(DeprecationWarning('blaze.interactive.data has been moved to blaze.data'))
    return blaze.literal.data(*args, **kwargs)

so that any external code that did from blaze.interactive import data continues to work.

Coverage increased (+0.02%) to 87.37% when pulling 243db9ac249e256d05c10d3605ae74f137a1cd3f on quantopian:breakout-literal into 308c5b32faf41e013ee087af9a0d4fc48c9eeda9 on blaze:master.

@llllllllll I added in the deprecation warning:
In [1]: import warnings

In [2]: warnings.filterwarnings('always')

In [3]: from blaze.interactive import data

In [4]: data(frozenset([1, 2, 3]))
/home/ehebert/src/quantopian/blaze/blaze/interactive.py:34: DeprecationWarning: blaze.interactive.data has been moved to blaze.data
  warnings.warn(DeprecationWarning('blaze.interactive.data has been moved to blaze.data'))
Out[4]: <'frozenset' data; _name='None', dshape='3 * int64'>

Coverage decreased (-0.2%) to 87.176% when pulling 7db95cdae104602093b67823b2b8753a4202931e on quantopian:breakout-literal into 308c5b32faf41e013ee087af9a0d4fc48c9eeda9 on blaze:master.

Coverage decreased (-0.2%) to 87.176% when pulling 7db95cdae104602093b67823b2b8753a4202931e on quantopian:breakout-literal into 308c5b32faf41e013ee087af9a0d4fc48c9eeda9 on blaze:master.

Coverage decreased (-0.2%) to 87.176% when pulling 7db95cdae104602093b67823b2b8753a4202931e on quantopian:breakout-literal into 308c5b32faf41e013ee087af9a0d4fc48c9eeda9 on blaze:master.

I can not yet reproduce the test errors in blaze/compute/tests/test_dask.py in my local Python 2 install.
(https://travis-ci.org/blaze/blaze/jobs/229914873)

Coverage increased (+0.01%) to 87.364% when pulling d3045990d6910f1512d824ce01858f11d7deeebc on quantopian:breakout-literal into 308c5b32faf41e013ee087af9a0d4fc48c9eeda9 on blaze:master.

Coverage increased (+0.01%) to 87.364% when pulling d3045990d6910f1512d824ce01858f11d7deeebc on quantopian:breakout-literal into 308c5b32faf41e013ee087af9a0d4fc48c9eeda9 on blaze:master.


Center 2 team members

Hi there—love this theme, and pretty new to Jekyll, but can you give me any tips on how to center the two images when I only have two people in a team?

Changing the class to col-sm-6 works, but then the two columns appear kind of far apart. I'll keep tinkering in these column classes, perhaps.

Hey Craig,
If you want 2 columns and smaller space in between, try 'col-sm-4
col-sm-offset-2' for the first element and 'col-sm-4' for the second.
Rick
On Wed, Jun 24, 2015 at 9:53 AM, Craig Eley<EMAIL_ADDRESS>wrote:

Changing the class to col-sm-6 works, but then the two columns appear kind
of far apart. I'll keep tinkering in these column classes, perhaps.
—
Reply to this email directly or view it on GitHub
https://github.com/y7kim/agency-jekyll-theme/issues/15#issuecomment-114874392
.

Thanks, Rick. But since this is called within a "for" loop how would I adjust the two elements independently?

Yes, of course - you can just take it out of the loop.  Replace the div
block on line 10 with something like this:
https://gist.github.com/y7kim/b383b36b843ac6e454b1
On Wed, Jun 24, 2015 at 7:52 PM, Craig Eley<EMAIL_ADDRESS>wrote:

Thanks, Rick. But since this is called within a "for" loop how would I
adjust the two elements independently?
—
Reply to this email directly or view it on GitHub
https://github.com/y7kim/agency-jekyll-theme/issues/15#issuecomment-115047897
.

Cool. Thanks, Rick!


SyntaxError in variable unpacking

for x, *y in (enumerate(range(5))): pass

SyntaxError: invalid syntax

This behaviour is described in PEP 3132 -- Extended Iterable Unpacking. The example given in this document is:
for a, *b in [(1, 2, 3), (4, 5, 6, 7)]:
    print("a={0}, b={1}".format(a, b))

a=1, b=[2, 3]
a=4, b=[5, 6, 7]

Probably also of interest: https://github.com/IronLanguages/ironpython3/blob/master/Src/StdLib/Lib/test/test_unpack_ex.py

Here are some more from test_unpack_ex.py
Case 1
Expected
[a, *b, c] = range(5)
print("a={0}, b={1}, c={2}".format(a, b, c))

a=0, b=[1, 2, 3], c=4

Actual
>>> [a, *b, c] = range(5)
  File "<stdin>", line 1
    [a, *b, c] = range(5)
        ^
SyntaxError: invalid syntax

Case 2
Expected
a, *b, c, *d, e = range(10)

SyntaxError: two starred expressions in assignment

Actual
>>> a, *b, c, *d, e = range(10)
>>> a
0
>>> b
[1, 2, 3, 4, 5, 6]
>>> c
7
>>> d
8
>>> e
9

Case 3
Expected
*a = range(10)

SyntaxError: starred assignment target must be in a list or tuple

Actual
>>> *a = range(10)
>>> a
range(0, 10)

Case 4
Expected
a* = range(10)
a*

    a* = range(10)
       ^
SyntaxError: invalid syntax

Actual
>>> a = range(1)
>>> *a
range(0, 1)

Case 5
Expected
*1

SyntaxError: can't use starred expression here

Actual
>>> *1
1

Notes
There are a couple more failures in there, but they look like they are possibly handled by other cases, or they are valid but different messages for example a, *b, c = [1] gives an equivalent error message.

The grammar definition for 3.4.10 is here: https://github.com/python/cpython/blob/v3.4.10/Grammar/Grammar


Use assertIn for inclusion check in a recently added test.

R: @violalyu or @aaltay

Thanks @tvalentyn !


Command+Click doesn't open links using an alias in new tabs

Sorry to keep saddling you with annoying edge case bugs, but I was trying out my sister's MacBook to see if I should switch and I noticed that links that use aliases (i.e. links of the form [[note|alias]]) are not opening in a new tab when I Command+Click them. This affects all notes, even those without a MathLink. Even stranger, this starts after enabling MathLinks but seems to persist even after disabling it! It only stops happening for me after restarting Obsidian.

The way I handled inputs (even in 0.3.3) is admitedly really bad, and I am in the process of fixing it. The new solution (currently in the mouse-wheel-button branch) should fix these problems.
As for cmd+click opening in a new tab, I unfortunately won't be able to test it out. However, this stackoverflow post suggests that event.metaKey should be able to capture the cmd key in Mac, which I've now implemented in the mouse-wheel-button branch of this repo. It would be appreciated if you could clone it and test it out.

Tested it and it seems to work!

Nice! I'll merge it after testing some of the other features.


swipeinv: new app

Attempts to fix #3048 as an alternative to #3202. Up for discussion.
Inverts swipe direction globally or per app, see settings. If global inversion is enabled, you can unselect the inversion per app and vice versa.
Ping @jt-nti @thyttan

This looks like a more general version of the work around I've been using:— an app that specifically reverses the calendar swipes :)
I'm beginning to think that the general problem (consistent and configurable scroll directions) cannot easily be fixed in a seperate app, if at all. This app would definitely work around #3048, so that's good, but it has limitations:

installing a separate app is not an obvious mechanism for configuring scroll directions
it reverses both directions for any swipe interaction in an app (apps may use swipes differently for different interactions)

I still think it would be useful though, especially since it doesn't seem like a common problem,— the Desktop Launcher scrolls the way I expect for example.
To make consistent and configurable scrolling possible more generally, I think adding hscroll and vscroll interface types to Bangle.setUI that can be configured with a system setting might work, i.e. to distinguish scrolling from other direction specific swipe interactions in apps.

installing a separate app is not an obvious mechanism for configuring scroll directions

I can see that that one might expect to find this kind of function as a setting in many cases. Proof being the different times the subject has come up. But the path with a separate app is probably a neat solution to the problem. To me it feels a little 'unix-like' which I'm sympathetic to - one problem one tool.

it reverses both directions for any swipe interaction in an app (apps may use swipes differently for different interactions)

The code that @nxdefiant has written here can be modified to give ability to set, per app, if both or just one axis should be inverted.

The code that @nxdefiant has written here can be modified to give ability to set, per app, if both axes or just one should be inverted.

Sure it can be, but I would leave it as it is for now and wait for the feature request if it ever happens.

I tried it on my watch now. It works for apps using Bangle.setUI as expected.
Some additional thoughts:
Some apps use Bangle.on("swipe", ()=>{...}) so for those it doesn't work - obviously. I don't know if those could be handled through swipeinv as well with additional logic. Otherwise many could be refactored to use Bangle.setUI which would probably be a good thing anyway (could be done over time, no need to do it now). But I think in some cases Bangle.setUI has already been called and the app adds on a swipe handler with a Bangle.on call. Maybe those can be refactored as well.
quicklaunch, backswipe and ´clock_infousesBangle.onand I don't think it will work refactoring them toBangle.setUIsince that would (I'm pretty sure - didn't test yet) remove the underlyingBangle.setUI` called by the foreground app/clock face.

It definitely seems like a useful work around as is, even with the limitations, so merging now makes sense to me.

ok, lets merge.

Sounds good, thanks for the change


Vulnerability in Python 3.10 (setuptools inside ensurepip folder)

We are working on Python 3.10 and found vulnerable version of setuptools package which is setuptools-65.5.0.
We did see Python 3.10 already has a fix for setuptools package and updated version of setuptools package which is setuptools-65.5.1. Though while doing analysis, we found the traces of vulnerable version inside ensurepip folder.
Please refer absolute file paths highlighted by blue in attached screenshot :

Vulnerability reference : https://github.com/advisories/GHSA-r9hx-vwmv-q579
CC: @samruddhikhandale, @eljog, @gauravsaini04

./usr/local/lib/python3.10/ensurepip/_bundled/setuptools-65.5.0-py3-none-any.whl

As ensurepip module is part of pip, does the Python image needs an update for the pip package as well?
We use the python image as base for the dev container images which are getting flagged with the setuptools vulnerability. in our scanners.
We appreciate the quick fix for https://github.com/docker-library/python/pull/783, hoping to get this resolved as well. Thank you!
// cc @tianon

The ensurepip module is part of Python's own stdlib (which is thus where this is coming from), not pip :sob:

Hmmm. @tianon Is there any way to patch this? 🤔

I'm sure there's a way -- the best one would be for Python upstream to do new releases with the updated setuptools bundled (because this really isn't a Docker-specific problem -- it just looks like one because we seem to be one of the few parties publishing builds of their sources fairly "vanilla").  I don't know what the likelihood of that happening is, though.
For your builds, it would probably be pretty reasonable to purge the ensurepip module completely from your derivative images, but I must admit I don't know how common ensurepip is for users to actually use.

For your builds, it would probably be pretty reasonable to purge the ensurepip module completely from your derivative images, but I must admit I don't know how common ensurepip is for users to actually use.

Removing ensurepip could break the ability to bootstrap pip into new virtual environments created with venv (a tool for creating isolated Python environments), or other systems that rely on ensurepip to ensure pip is available. Hence, I don't think we should remove ensurepip from our images.

it just looks like one because we seem to be one of the few parties publishing builds of their sources fairly "vanilla"

@tianon Is the python image always build with latest builds of Python?
@bhupendra-vaishnav can you raise this issue in https://github.com/python/cpython and ask them to update their ensurepip bundle?

Yep, we build from the latest published releases and try to keep any changes minimal.
See https://github.com/docker-library/python/blob/b273afc57978521d33fefe5887ad901d0d35de87/3.10/bookworm/Dockerfile for the current Dockerfile for python:3.10.

I think this issue should be closed as wontfix, given that the fix should come from upstream (as the wheel in the ensurepip folder comes from upstream).


Add "Contact Preference" field to member object

Require members to indicate phone vs email contact preference via the join form, and store it on the member object.
Allow null values for this field for existing member objects? Or maybe we should default everyone that's existing to email?

Currently working on this issue!

Great! @had2020 you might want to base your work off of #155 to prevent merge conflicts since there are some join form changes in there


Add support for bucket logging

what

Add support for configuration of bucket access logs

why

Missing API support

references

Closes #10

/rebuild-readme

/terraform-fmt

/test all


Snowflake is basically unusable when DBeaver runs with Java 17

When DBeaver runs with Java 17, it's pretty much impossible to read any result set returned by the Snowflake driver. This means that most queries in SQL Editor don't work, the navigator doesn't show objects such as tables, views, etc. I'm aware of only one query that successfully runs: SHOW TABLES.
The exceptions thrown when trying to use DBeaver for Snowflake access indicate that this is caused by the fact that the current Snowflake driver we use (3.13.6) is not compatible with Java 17.
We need to wait for Snowflake to update their driver. We need to keep in mind though that we use the aforementioned version because the latest one (3.13.10) doesn't work with authentication via an external browser.

Not sure if it is related or separate issue, but after upgrading to 21.3.0 DBeaver won't connect to snowflake. It doesn't seem to trying. Error message is !390400!. I have authentication in external browser, but nothing happens at all, except for the error message that comes instantly when trying to connect to the database.

Hello @deep750. This is a related issue (see the last paragraph in my OP). But that's really odd considering that we didn't change our preferred driver version for Snowflake. Could you please tell me what driver version do you use?

@akilovich I'm currently using snowflake-jdbc-3.6.12 - at least that's the one in my personal folder.dbeaver-drivers-folder

@deep750 Please change to 3.13.6. To do that, select your Snowflake connection in the navigator -> F4 -> Edit driver settings -> Libraries -> Download/Update, then follow the instructions from the gif below.

Also, when doing that, what version of the driver is displayed before changing it to 3.13.6? Have you changed the version of your driver manually before?

@akilovich will updating the driver solve anything with latest version of DBeaver? Understood the initial comment that 3.13.6 doesn't work with the latest version of DBeaver, as it is using Java 17 (?)
According to Snowflake's driver page, latest version is 3.13.11 - maybe that fixes it? I haven't tried it yet.

upgrading to 3.13.11 didn't solve anything-

3.13.6 works just fine with the latest version of DBeaver if DBeaver runs on Java 11. Most of the distributions of DBeaver run on that version, this should work for you.

It will be fixed alongside #17303

Nevermind, we'll do that independently.

With Java 17 and 3.13.6 driver, if you open a connection to Snowflake, the default database and schema aren't highlighted in the navigator. In the logs we see
2022-10-25 13:11:27.390 - Exception caught when refreshing defaults for Snowflake execution context
net.snowflake.client.jdbc.SnowflakeSQLLoggedException: JDBC driver internal error: Fail to retrieve row count for first arrow chunk: null.
	at net.snowflake.client.jdbc.SnowflakeResultSetSerializableV1.setFirstChunkRowCountForArrow(SnowflakeResultSetSerializableV1.java:1061)
	at net.snowflake.client.jdbc.SnowflakeResultSetSerializableV1.create(SnowflakeResultSetSerializableV1.java:550)
	at net.snowflake.client.jdbc.SnowflakeResultSetSerializableV1.create(SnowflakeResultSetSerializableV1.java:467)
	at net.snowflake.client.core.SFResultSetFactory.getResultSet(SFResultSetFactory.java:29)
	at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:219)
	at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
	at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
	at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
	at net.snowflake.client.jdbc.SnowflakeStatementV1.executeQueryInternal(SnowflakeStatementV1.java:238)
	at net.snowflake.client.jdbc.SnowflakeStatementV1.executeQuery(SnowflakeStatementV1.java:133)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeQuery(JDBCStatementImpl.java:345)
	at org.jkiss.dbeaver.ext.snowflake.model.SnowflakeExecutionContext.refreshDefaults(SnowflakeExecutionContext.java:144)
	at org.jkiss.dbeaver.ext.snowflake.model.SnowflakeDataSource.initializeContextState(SnowflakeDataSource.java:76)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCExecutionContext.connect(JDBCExecutionContext.java:162)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCRemoteInstance.initializeMainContext(JDBCRemoteInstance.java:102)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCRemoteInstance.<init>(JDBCRemoteInstance.java:61)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.initializeRemoteInstance(JDBCDataSource.java:128)
	at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.<init>(GenericDataSource.java:109)
	at org.jkiss.dbeaver.ext.snowflake.model.SnowflakeDataSource.<init>(SnowflakeDataSource.java:43)
	at org.jkiss.dbeaver.ext.snowflake.SnowflakeDataSourceProvider.openDataSource(SnowflakeDataSourceProvider.java:97)
	at org.jkiss.dbeaver.registry.DataSourceDescriptor.openDataSource(DataSourceDescriptor.java:1108)
	at org.jkiss.dbeaver.registry.DataSourceDescriptor.connect(DataSourceDescriptor.java:988)
	at org.jkiss.dbeaver.runtime.jobs.ConnectJob.run(ConnectJob.java:70)
	at org.jkiss.dbeaver.runtime.jobs.ConnectJob.runSync(ConnectJob.java:98)
	at org.jkiss.dbeaver.ui.actions.datasource.DataSourceHandler.connectToDataSource(DataSourceHandler.java:113)
	at org.jkiss.dbeaver.ui.actions.datasource.UIServiceConnectionsImpl.initConnection(UIServiceConnectionsImpl.java:87)
	at org.jkiss.dbeaver.model.navigator.DBNDataSource.initializeNode(DBNDataSource.java:158)
	at org.jkiss.dbeaver.model.navigator.DBNDatabaseNode.getChildren(DBNDatabaseNode.java:225)
	at org.jkiss.dbeaver.model.navigator.DBNDatabaseNode.getChildren(DBNDatabaseNode.java:1)
	at org.jkiss.dbeaver.model.navigator.DBNUtils.getNodeChildrenFiltered(DBNUtils.java:77)
	at org.jkiss.dbeaver.ui.navigator.database.load.TreeLoadService.evaluate(TreeLoadService.java:49)
	at org.jkiss.dbeaver.ui.navigator.database.load.TreeLoadService.evaluate(TreeLoadService.java:1)
	at org.jkiss.dbeaver.ui.LoadingJob.run(LoadingJob.java:88)
	at org.jkiss.dbeaver.ui.LoadingJob.run(LoadingJob.java:72)
	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:105)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

The same exception appears when we open a data editor.
It's a Snowflake JDBC driver issue, which is in turn an issue of Apache Arrow. Unfortunately, they haven't migrated to Java 9 modules.


Fix calendar UI, add app icon

Coverage remained the same at 79.99% when pulling b8cd2bf36e4ee8bab21999ba3a82cc9bb09ec495 on eldriclim:enhance-ui into 2ac37d722c0d2a8e9f3c2b20f962a7a7a0e20715 on CS2103AUG2017-W09-B3:master.


 is already part of PR #10392, but needed to get this PR to build.   That commit will be removed from this PR once #10392 is merged.]
This offloads the getaddrinfo() socket operation to the
simplelink WiFi driver, via a socket_offload hook.
This was validated using http_get on cc3220sf_launchxl.
Also implements freeaddrinfo().

Codecov Report

Merging #10442 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #10442   +/-   ##
=======================================
  Coverage   53.14%   53.14%
=======================================
  Files         210      210
  Lines       25747    25747
  Branches     5673     5673
=======================================
  Hits        13682    13682
  Misses       9755     9755
  Partials     2310     2310

Impacted Files
Coverage Δ

include/net/socket.h
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@rlubos, thanks for the review, and for placing the getaddrinfo() hook into the offload.

Rebased.   Removed "[DNM]" designation.


[SE-0040] Replace '=' with ':' before attribute argument.

What's in this pull request?

Implement SE-0040. Replace '=' with ':' before a attribute argument. The changes include parser (warning + fixit) and ASTPrinter.
Update tests accordingly.
Apply new syntax from the proposal to stdlib.

Note: at the time this PR is submitted, SE-0040 is still under review. I'm leaving this here just in case this wild proposal gets accepted. SE-0040 has been approved.

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    OS X platform               | @swift-ci Please test OS X platform
    Linux platform              | @swift-ci Please test Linux platform

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci Please test

Heh, thanks.  It certainly seems like a highly controversial proposal! :-)

@swift-ci Please test

Help! These patches have big impact areas and I have been resolving lots of conflicts. It'd be great if they get a quick review and be merged soon. 🙇

Awesome, merged and tests pass for me, thank you!

Great. Thanks Chris!


Updates to Xamarin.Forms 4.7 and associated packages

Updates to the packages of the projects. Also corrects a minor bug with the iOS final version of the app.

Everything ran fine on my latest update to VS2019. I couldn't test iOS with my current setup yet, but it looked good with the current code.


Publish v0.2.0 to npm

Hi @zkochan, I noticed that the version of @pnpm/meta-updater on npm is still at v0.0.6 (a year old now), would you mind publishing the latest v0.2.0?
I'm currently exploring how to automatically generate TypeScript project references in our monorepo – your implementation seems great, eager to try it out!

Done


Add GH stars count to plugins

Hi,
I noticed that the number of Github stars was available in the data but not displayed in the website. I think it is valuable information so I add it this way:

Feel free to update the styles to your convenience of course

@sylvainpolletvillard this is rad, thanks for adding!

It's important to know that the stars on the plugins list are only updated periodically, so it won't be perfectly up-to-date in every case.
 Anyway if this is done everytime a plugin is added, I suppose it is good enough currently.

Yeah like it should be fine for a rough estimate, but later if we wanted we could hit the GitHub API for the actual ⭐ count 👍

Sorry for merging this so slowly, I've forgotten where I deployed the site 😅  I'm moving it to Netlify now so the master branch gets auto-deployed :muscle:

@mxstbr lol don't worry about it dude, you're busy pimping styled-components to the world! 👍 💅  Great talk, btw!


[WIP] Add axis labels to data streams

I'm starting the PR early to get comments on the approach I've chosen (in particular from @lamblin @dwf @bartvm).
The axis_labels attribute (defaulting to None) is introduced in Dataset and AbstractDataStream. Like in H5PYDataset, this attribute should be a dict mapping source name to tuple of axis labels.
By convention, if a source doesn't appear in axis_labels, it means there's no axis label for this source (or, equivalently, its label is ''). None is treated as an empty dict.
Transformer subclasses replace the axis_labels attribute of their wrapped data stream by None by default, because we can't know what a transformation will do to the axis semantics. Subclasses can override that property; as an example, I've implemented the property for ForceFloatX, which trivially passes its wrapped data stream's axis_labels attribute.

As a side note, I'm sneaking a fix for #80 in this PR.

LGTM. A bit of documentation with MNIST as an example would be nice at one point, but we can leave that for a future PR.

I opened an issue (#99) for adding documentation and addressed your inline comment. If I merge when the tests pass, is it alright with you?

Yes, although right now the tests are failing because MarkovChainDataset doesn't call super. I think it should probably be compulsory to call super, so updating MarkovChainDataset would be the way to go then.

I'm on it.

Tests pass on both sides, I'll merge.

@vdumoulin @bartvm is there anything automatic that can be done for DataStream, if the dataset it is wrapping has axis information? Should it essentially strip off batch, since it seems to default to an example-wise stream?
Currently there's no way to add axis information to a Batch stream, other than setting the attribute after construction (see #134).

@vdumoulin @bartvm Actually, even that doesn't work, since it's a read-only property! FML

I think this should probably have the same approach as was discussed for num_examples and num_batches: each Transformer and DataStream should have an axis_labels property that determines the axis labels of the stream based on the wrapped stream or dataset, and its own configuration. For example, for DataStream it depends on the iteration scheme used whether there is a batch axis, right? And for more complicated Transformers the labels could change entirely (i.e. flattening).

Agreed.


[autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1

This is an automatic PR
This is an automated patch to potentially fix a bug in the upgrade script.
ynh_setup_source doesn't overwrite the destination directory, but rather extracts the source in the existing directory.
This might lead to weird cases where legacy source files aren't deleted.
The command has an argument --full_replace=1 that fixes this behaviour.
BE CAREFUL because this change might lead to data losses! You should check that all the patches calls to ynh_setup_source
do exactly what you expect to do and don't delete user data.
If you want exclude some files from being overwritten/deleted, use the --keep argument, just like that:
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config/config.yaml"

!testme

@Tagadda you’ll need to add config.yaml and code-server.env to the --keep argument :)

I'll look for other files on y machine before the merge

@Tagadda you’ll need to add config.yaml and code-server.env to the --keep argument :)

@Salamandar In fact those files are generated right after https://github.com/YunoHost-Apps/code-server_ynh/pull/84/files#diff-57aeb84da86cb7420dfedd8e49bc644fb799d5413d01927a0417bde753e8922fR90-R91


Base64 decode: handle invalid inputs

Fixed the following problems of Base64::decode():

It said it skips invalid characters, but no reason to do that. It should treat them as invalid input and return empty string.
There should not be unused bits but it was not handled. (e.g. "AB=="<PHONE_NUMBER>01) should be an invalid input because the last 4 bits of second character B contains 1)

Reviewing these kind of PRs gives me a headache. @RomanDzhabarov @PiotrSikora @dnoe I feel that all of you probably enjoy this kind of thing so please review. :)

Yup, will do over the weekend, this is fun!

Thank you everyone for your comments. I've just updated it :)


🐞 - Blank svg when loading into Figma

Which @codeimage/* package(s) are the source of the bug?
Don't known / other
Please provide a screenshot or a video to a minimal reproduction of the bug
No response
Description
The exported .svg files open fine in a browser. But for some reason, when I import them into Figma they just show up as an empty box.

Which browsers have you used?

[X] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

Which operating systems have you used?

[ ] macOS
[X] Windows
[ ] Linux
[ ] iOS
[ ] Android

I also tried dropping the svg into a compressor (https://vecta.io/nano) and it decided to take it from 291KB. Here's the export I'm attempting, I've tried changing some options like background vs no background, but same thing happens.

to 66B

Hi @zach-browserless , unfortunately this is an issue of the SVG export that relies on [foreignObject])(https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject), which is not supported on figma (I think due to their "security" constraints)

This also happens in Adobe Illustrator


[ENH] Collapse multiple submodule to one cython extension

Collapse multiple submodule to one cython extension:

duplicate of #2849


Version for Scala 3.0.0-RC2 not published on maven

Hi, maybe I missed something but according your release notes the latest version of the library is compatible with Scala 3.0.0-RC2 and should be published but so far I see it isn't :see_no_evil:

It's there: https://search.maven.org/artifact/com.github.jwt-scala/jwt-core_3.0.0-RC2/7.1.3/jar
But it's only for core and upickle, because AFAIK other libraries don't have released a stable version based on Scala 3. What json library are you using?

I see, well we're using circe over here. I think there are preview versions of circe 0.14 available which support Scala 3.0.0-RC2. However I'm still myself in the process of figuring out how to migrate.

PS: Thank you very much for the quick answer!

Yes, I'm not planning to release a version based on a pre-release (that would have to be a pre-release itself...)
So in the meantime you can include jwt-circe with withDottyCompat. That would pull the Scala 2.13 version but it should work with Scala 3.


Feature Request: Add Footer to Website

Is your feature request related to a problem? Please describe.
I'm always frustrated when I need to scroll back up to find important links or contact information. Having this information consistently available at the bottom of each page would improve the user experience significantly.
Describe the solution you'd like
I would like to have a footer added to the website that includes:

Contact information (email, phone number)
Social media links (Twitter, LinkedIn, GitHub, etc.)
Copyright notice
Quick links to important sections of the site (About, Blog, Contact, etc.)

Describe alternatives you've considered
As an alternative, I have considered adding these elements to a sidebar. However, a footer is more universally recognized and accessible, especially on mobile devices where sidebars can be less user-friendly.

There is an issue #190 for this. Closing this issue as duplicate.


Bring back "sort raw data files" module

Is your feature request related to a problem? Please describe.
In MZmine2, under "Raw data methods," there was a "sort raw data files" module. I always used it when running MZmine2 in batch mode and considered it an essential part of keeping an organized project. However, I can't find the method in MZmine3 so my files are getting imported in a random order.
Describe the solution you'd like
Bring back the "sort raw data files" module from MZmine2 so that files can be sorted in batch mode.
Describe alternatives you've considered

I know that in the GUI, you can right-click and select "sort alphabetically" from the context menu, but that option isn't available for batch mode.
A workaround in the meantime is to import the files one at a time. However, this is not ideal because it makes the batch file much longer and introduces an opportunity for inconsistent file import settings.
An even better solution for my use case would be to modify the raw data import method to maintain the same order as the files are listed in the XML. That way any order could be specified.

Additional context
Implementing this feature would also solve the GUI issue https://github.com/mzmine/mzmine3/issues/794.
Thank you for your time!

It looks like the Java files for the "sort raw data files" module and the "sort feature lists" module (requested in https://github.com/mzmine/mzmine3/issues/872) already exist in the MZmine3 repository under the Tools subfolder, but both were largely commented out in https://github.com/mzmine/mzmine3/commit/f8419d63a32aedf2dd2ef2aad9d50bde4f8959a2. Was it intentional to comment out the sorting code? Would simply uncommenting those lines restore the modules or do they need to be re-implemented?


Add animated cursor

I will add a animated cursor to fit with the color theme and UI.
@SaranshBangar assign it to me !

@manya1632 I don't think so it is required at this stage


License clarification

There are 3 licenses referenced in the library

MIT/BSD in the readme
GPL in lib.rs

Could you please clarify in which direction you want to go?
Many thanks!

The lib.rs license was incorrect, it should be MIT/BSD.
This is fixed now.
Thank you!


CannotObserveExternalResource Elasticache User

What happened?
Creating an Elasticache user of type IAM apparently works (the user does appear in the AWS Console), but then we end up with the following warning:
Events:
  Type     Reason                         Age                     From                                                   Message
  ----     ------                         ----                    ----                                                   -------
  Warning  CannotObserveExternalResource  2m34s (x1126 over 18h)  managed/elasticache.aws.upbound.io/v1beta1, kind=user  cannot get connection details: cannot get connection details: cannot expand wildcards: cannot expand wildcards for segments: "passwords[*]": "passwords": unexpected wildcard usage

Looks like Crossplane cannot observe the resource it has created...
How can we reproduce it?
Create an Elasticache user with:
---
apiVersion: elasticache.aws.upbound.io/v1beta1
kind: User
metadata:
  labels:
    cluster/name: cluster
  name: redis-user
spec:
  forProvider:
    userName: "redis-user"
    accessString: "on ~* +@all"
    engine: "REDIS"
    region: eu-west-3
    noPasswordRequired: false
    authenticationMode:
      - type: iam
  providerConfigRef:
    name: default

What environment did it happen in?

Crossplane Version: 1.12.1
Provider Version: 0.35.0
Kubernetes Version: 1.23.17-eks-c12679a
Kubernetes Distribution: EKS

Hi @dspereira004,
Thank you for raising this issue. We encountered this issue while working on the elasticache: cannot create users with passwords issue and it can be reproduced.

Blocked by: https://github.com/upbound/upjet/issues/202

We have the same with with Firehose deliverystream resource
   Warning  CannotObserveExternalResource  44m (x16 over 78m)     managed/firehose.aws.upbound.io/v1beta1, kind=deliverystream  cannot get connection details: cannot get connection details: cannot expand wildcards: cannot expand wildcards for segments: "splunk_configuration[*].hec_token": "splunk_configuration": unexpected wildcard usage

   Warning  CannotObserveExternalResource  4m20s (x151 over 78m)  managed/firehose.aws.upbound.io/v1beta1, kind=deliverystream  cannot get connection details: cannot get connection details: cannot expand wildcards: cannot expand wildcards for segments: "http_endpoint_configuration[*].access_key": "http_endpoint_configuration": unexpected wildcard usage
│

The relevant upstream issue has been fixed and closed, will test this issue after upgrading the https://github.com/crossplane/upjet


Update operations manager and PAS

⬆ Operations Manager to 2.1.6
⬆ PAS to 2.1.7
⬆ Stemcell to 3541.30
There's a known issue with operations manager prior to 2.1.4 and Healthwatch, so recommend merging this at the same time as #15.

@johnsonj friendly ping :-)
This project suits my use cases perfectly, if it's not maintained please let me know, happy to work in a fork.

Hi @zmb3 - sorry for the silence. @evandbrown will take a look at this when he's back from the holidays.


#37652856-Backend api implementation of project CRUD

Description
Developing the API backend for creating, updating and viewing of projects on voxnostra,

### How Has This Been Tested?
Tests have been written for the different endpoints
Any background context you want to provide?
### Relevant Task link (from the project board)

Card 37652856
Questions

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented on my code, particularly in hard-to-understand areas
[x] I have added necessary inline code documentation
[x] I have added tests that prove my fix is effective and that this feature works
[x] New and existing unit tests pass locally with my changes
closes #14

Hey @tanerochris Please could you attach screenshot for test on different endpoints?

Hello you can clone the branch and run the test. yarn test or npm test
On Fri, May 15, 2020, 19:56 Teneng Clifford<EMAIL_ADDRESS>wrote:

Hey @tanerochris https://github.com/tanerochris Please could you attach
screenshot for test on different endpoints?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/BuildForSDG/voxnostra/pull/20#issuecomment-629424222,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACC3JXKVWUTHWCWLQDN34ELRRWF7LANCNFSM4NBFPPPQ
.

@KaiserPhemi I will love to mention that we are using NextJS for the
project ,it is an opinionated framework so there are some aspects of the
file structure and naming convention that is dictated by the framework.
Equally handling API requests.
On Thu, May 21, 2020, 03:46 Oluwafemi Akinwa<EMAIL_ADDRESS>wrote:

@KaiserPhemi requested changes on this pull request.
Critical

File Naming: Going forward let's adopt camelCase for naming files as
opposed to snake-case that's been used.
It appears responses aren't sent for error messages thrown.
I noticed we're using res.json() & having to set the header.
res.send() automatically sets the header so it's preferable.
I might need to schedule a sync with all today(21st May) on this .

In pages/api/user/sign-out.js
https://github.com/BuildForSDG/voxnostra/pull/20#discussion_r428397670:

@@ -0,0 +1,19 @@
+import Middleware from '../../../middlewares';
+/**

Sets the session value to null.

DELETE endpoint

@param req

@param res

@returns {Promise}

*/
+async function SignOutHandler({ req, res }) {
if (req.method === 'DELETE') {

Nitpick
If this route is meant to specifically handle sign-out (cos the frontend
should specifically send delete request in the first place) why check the
http method in the first place? Besides I believe all checking/validation
should be handle by a middleware.
In pages/api/user/sign-up.js
https://github.com/BuildForSDG/voxnostra/pull/20#discussion_r428398945:

+import { setUserSession } from '../../../helpers/auth-helpers';
+import Middleware from '../../../middlewares';
+import User from '../../../models/user/user.model';

+/**

POST only

Sign up a user, body must contain these two fields

@param req

@param req.body.email

@param req.body.password

@param res

@returns {Promise}

*/
+async function SignUpHandler({ req, res }) {
if (req.method === 'POST') {

Nitpick
Same thing as the comment I left above.
In pages/api/projects/index.js
https://github.com/BuildForSDG/voxnostra/pull/20#discussion_r428408301:

@@ -0,0 +1,40 @@
+import mongoose from 'mongoose';
+import Middleware from '../../../middlewares';

+const Project = mongoose.model('Project');
+/**

@async

@desc Api handles project list and search request

@param {{ req: NextApiRequest, res: NextApiResponse }} prop

*/
+const IndexProjectHandler = async ({ req, res }) => {
if (req.method === 'GET') {
const limit = req.query.limit || 0;

Nitpick
A better approach would be to abstract these into a helper file or a
middleware
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/BuildForSDG/voxnostra/pull/20#pullrequestreview-415822168,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACC3JXNQTJJ5TXQGOWR4VLLRSSIY5ANCNFSM4NBFPPPQ
.


Add working directory option to Exec function

I think it would be very useful to have an option to set the working directory when executing script blocks (For example if you want to run git in the root of your repository and not in the directory containing the script).
Because of this I added a workingDirectory option to the Exec function.
The option is optional. If specified the current path gets saved using Push-Location and the current location gets set to the specified working directory. After the script block is executed the location will be set back to the previous location.

Because I use this pattern a lot in my scripts, I want to suggest to put the "Pop-Location" in a finally block. The end result would then be something like the following:
Push-Location
try
{
  # ....
}
finally
{
  Pop-Location
}

If an exception is thrown in the body of the 'try' clause, then the script will still end up in the location it started from...

@DaveSenn what were your thoughts about the suggestion from @rvdginste?  Did you want to incorporate it into your PR?  Thanks!

@DaveSenn up

@gep13 I like the suggestion of rvdginste. It's a good idea to move the Pop-Location statement to a finally block. With my solution, the user could end up in a wrong directory, if some script/exe fails.
Please see #200

Closing this out as the better using the finally block is in PR #200


feat(hexonet registrar module): added custom nameserver hosts feature for domains

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


fix(client): fix bug of query cache (#381)

What this PR does / why we need it:
Add your description
Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes #
Reference to #

Special notes for your reviewer:
/cc @iawia002

Release note:

Fix bug of query cache, now client cache will be deep copied after called Request

/lgtm
/cherrypick release-0.3

/lgtm


C# naming conventions

I think it would be better if you use C# naming conventions standards as described here:
https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions
https://github.com/ktaranov/naming-convention/blob/master/C%23%20Coding%20Standards%20and%20Naming%20Conventions.md

I've been thinking about naming conventions while writing WTelegramClient.
In the end, I decided to choose a compromise between Telegram API naming conventions and C# naming conventions, a compromise such that the names stays similar to those found on the official Telegram API documentation :

PascalCase (like C#) for classes and methods (when Telegram API opted for camelCase)
method category separated by an underscore (when Telegram API opted for a dot)
snake_case (like Telegram API) for fields (which is close enough to the C# camelCase)

The aim is to reduce the effort for users of the library when they are searching the equivalent in WTelegramClient of something they found in Telegram API documentation.
I also decided not to append an Async at the end of every methods because it would such a mess and long names otherwise. 99.9% of Client methods are asynchronous anyway.


Populate series in the PromQL engine in two phases.

This allows other storage implementations (for instance, where Select might take more time to execute) to process multiple selects in the background and speed up queries.
Signed-off-by: Tom Wilkie<EMAIL_ADDRESS>

Sure. Hopefully the other will go in early next week.


added 'filter' function

Method 'filter' returns an array of all entities that match the pattern that is based on the 'name' (search term) that it accepts.
Sample input:
provinces.filter('la u')
Output:
[ { name: 'La Union',
    region: 'Region I',
    municipalities:
     [ 'Agoo',
       'Aringay',
       'Bacnotan',
       'Bagulin',
       'Balaoan',
       'Bangar',
       'Bauang',
       'Burgos',
       'Caba',
       'Luna',
       'Naguilian',
       'Pugo',
       'Rosario',
       'San Fernando',
       'San Gabriel',
       'San Juan',
       'Santo Tomas',
       'Santol',
       'Sudipen',
       'Tubao' ] } ]

Sample use case:

You have a search box for cities.
You enter a search term.
After 3 seconds of not typing, a dropdown-like list appears below the search box showing a list of cities matching your query.

Thanks for the PR @jadurani . This looks good. I'll be merging this and published a new version.

@pcofilada Hello! When I recently just installed via npm, found out the the changes in this pull request don't reflect in the dist/ directory--only in lib/. Might have forgotten to build before publishing to npm?
Also, my bad, there's an error in the last line of my changes in README. Instead of
barangays.all()
barangays.find('San Nicolas East')
barangays.find('san nico')

It should be
barangays.all()
barangays.find('San Nicolas East')
barangays.filter('san nico')

@pcofilada works perfectly now. Thanks!


D3 Visual on Forecast page freezes in web service

D3 Visual on Forecast page freezes in web service (browser) when slicers are updated.
Workaround is to use desktop where it works fine.
Case logged with Microsoft<PHONE_NUMBER>002776

Now fixed :)


RPGLE Linting configurability

Hi Team,
I work in CVS Health and was exploring Linting feature of RPGLE on VS Code for our discovery project on VS Code. Linting is a really good feature which is not available in RDI and we know RPGLINT.JSON file can some pre-defined linting parameters to enforce the rules but we want to use this feature to next level if there is way to add/configure our own rules for linting so that we can better use this feature of VS Code.
Our Use case is  : We have Dev code check list with a long list which our developers performs manual check on the code and we want to automate that. I know we can user Sonarqube scans which are available for RPGLE but that is too late in the game when code goes through CI pipeline. We want to enforce/configure our own rules during coding time so that we can force developers to fix the code early in the game.
We have huge list of Dev code checklist but below is 1 example from that list which we may want to add in RPG linting. So we want to understand if we have flexibility to add rules like below in RPG linter or we are just restricted to use pre-defined rules only.
Please suggest.
Check list item : Has SETLL and READE been used instead of CHAIN for performance.?
Thanks
Sudhir.

Thanks for the detailed response. There is a mention of creating our own extension and then we can add our rules. Can you share the steps to create our own extension or in case you have any reference then that would be great.

@sudhiraroraCVS See the guide here: https://code.visualstudio.com/api/get-started/your-first-extension
I am going to close this issue now. Thanks.


Quectel GNSS: rare crash on recv

Crashes on the receive here.
https://sentry.io/organizations/commaai/issues/3479610511/

ModemManager was interfering, fixed in #25973