Traffic Ops doesn't allow for active/standby configuration in Multi Site Origin.

Thought there was an issue on this already, but can't find it... This is needed for the redundant  linear video origin setup
See code starting @ https://github.com/Comcast/traffic_control/blob/master/traffic_ops/app/lib/UI/ConfigFiles.pm#L1088 and line 1100
We are hardcoded to round_robin=consistent_hash
for active/standby, we need round_robin=false
@limited - is this something you guys are going to do??? (referring to our email convo)... Any idea on when?

In progress as we speak.

Don't know why we can't assign weinfensh, will ask around.

Added weifensh as a "collaborator" to the project, now we can assign.

Jan,
There are actually four possible values for ‘round_robin’.  Should traffic ops not support all four?  Here are the possible values for ‘round_robin’:

‘false’ - The first parent is always chosen if marked available.  Other parents in the list are chosen if the first selected parent is unavailable or if there is a connection error, then another parent is chosen to retry the transaction.
‘true’ - Parents are chosen using on modulus arithmetic of the client IP.  As above, if the first chosen parent is unavailable or if there is a connection error, another parent is chosen to retry the transaction.
‘strict’ - Parents are chosen in strict round robin fashion.  As above, if the first chosen parent is unavailable or if there is a connection error, another parent is chosen to retry the transaction.
‘consistent_hash’ - Parents are chosen from a consistent hash ring based upon a hash of the request url.  As above, if the first chosen parent is unavailable or if there is a connection error, another parent is chosen to retry the transaction.

Thanks
John J. Rushford
IPCDN Engineering
1400 Wewatta Street, Denver Colorado 80202
<EMAIL_ADDRESS>From: Jan van Doorn <notifications<EMAIL_ADDRESS>Reply-To: Comcast/traffic_control <reply<EMAIL_ADDRESS>Date: Monday, April 25, 2016 at 10:56 AM
To: Comcast/traffic_control <traffic_control<EMAIL_ADDRESS>Subject: [Comcast/traffic_control] Traffic Ops doesn't allow for active/standby configuration in Multi Site Origin. (#1344)
Thought there was an issue on this already, but can't find it... This is needed for the redundant linear video origin setup
See code starting @ https://github.com/Comcast/traffic_control/blob/master/traffic_ops/app/lib/UI/ConfigFiles.pm#L1088 and line 1100
We are hardcoded to round_robin=consistent_hash
for active/standby, we need round_robin=false
@limitedhttps://github.com/limited - is this something you guys are going to do??? (referring to our email convo)... Any idea on when?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHubhttps://github.com/Comcast/traffic_control/issues/1344

The design of Multi Site Origin Design For Algorithm Primary/backup is ready at https://docs.google.com/document/d/1TAo2jBZqdb8TY9Tn_Kjn1zYm7XHt5jhQnt1AvBK8eO0/edit?usp=sharing and please take a look.  And the code will come soon. thanks

Is there anyway we can get away from the single profile per origin? Could we separate the "cache server assignment" from the "origin server assignments"?
Create a new table called "deliveryservice_origin" and assign ranks in that table for example. This might also open some option regarding origin servers assignements.
For example, I would like to be able to specify "routes" to get to an origin in the future.. Would be nice to specify Origin with Mid neighbors.
Example: Origin is in Atlanta region and I have 3 Mid-Cache groups. I'd like to tier my Mids (or my edges if needs be).
Atlanta Edge -> Atlanta Mid -> Atlanta Origin
North East Edge -> North East Mid -> Atlanta Mid -> Atlanta Origin
West Edge -> West Mid -> Atlanta Mid -> Atlanta Origin

@smalenfant Thanks for your comments. Use a separated "origin server assignments" looks to be a better way to assign the origin servers and define their "ranks". The current implementation tries to make less changes on traffic_ops. Maybe we could enhance this in future?

@jrushford Hi John, so far only two types of "round_robin" policies are added: "consistent_hash" and "false". If the other two are also needed, I could add it.

I am +1 on adding the others? Since we're in there anyway?

I guess those two are fine for now.  We can add the others if and when needed.
Thanks
John J. Rushford
IPCDN Engineering
1400 Wewatta Street, Denver Colorado 80202
<EMAIL_ADDRESS>From: weifensh <notifications<EMAIL_ADDRESS>Reply-To: Comcast/traffic_control <reply<EMAIL_ADDRESS>Date: Tuesday, May 3, 2016 at 4:22 AM
To: Comcast/traffic_control <traffic_control<EMAIL_ADDRESS>Cc: John Rushford <John_Rushford<EMAIL_ADDRESS>Mention <mention<EMAIL_ADDRESS>Subject: Re: [Comcast/traffic_control] Traffic Ops doesn't allow for active/standby configuration in Multi Site Origin. (#1344)
@jrushfordhttps://github.com/jrushford Hi John, so far only two types of "round_robin" policies are added: "consistent_hash" and "false". If the other two are also needed, I could add it.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHubhttps://github.com/Comcast/traffic_control/issues/1344#issuecomment-216489024

+1 on adding them now.
Thanks
John J. Rushford
IPCDN Engineering
1400 Wewatta Street, Denver Colorado 80202
<EMAIL_ADDRESS>From: Jan van Doorn <notifications<EMAIL_ADDRESS>Reply-To: Comcast/traffic_control <reply<EMAIL_ADDRESS>Date: Tuesday, May 3, 2016 at 6:33 AM
To: Comcast/traffic_control <traffic_control<EMAIL_ADDRESS>Cc: John Rushford <John_Rushford<EMAIL_ADDRESS>Mention <mention<EMAIL_ADDRESS>Subject: Re: [Comcast/traffic_control] Traffic Ops doesn't allow for active/standby configuration in Multi Site Origin. (#1344)
I am +1 on adding the others? Since we're in there anyway?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHubhttps://github.com/Comcast/traffic_control/issues/1344#issuecomment-216513700

So adding the extra 2, pull request is #1377


Maping JSON Series Data to Line Charts

Hello!
Love using Chartist for responsive, accessible charts but I've come across a bit of a snag in trying to import simple series data for two separate Line charts using JSON data.
I have an example CodePen where I can import the labels, but not the series. Using a fetch() request and no JS libraries.

https://codepen.io/VirtuallyCreative/pen/KBLPaE
Any insight would be helpful as I'm a bit stumped about what I'm doing wrong with maping the series data.

Found a working solution for the moment, but probably not the best way to go about it.
Updated the CodePen for reference.
Using the example from: http://jsbin.com/budugo/1/edit?js,output


Request for example using http://esri.github.io/ArcREST/arcrest.security.security.html and PKI

Any chance you could publish a sample script that utilizes http://esri.github.io/ArcREST/arcrest.security.security.html? I see something like https://github.com/Esri/ArcREST/blob/master/samples/update_user_password.py. What would be helpful would be something simple that hits a secure arcgis service that's accessed through a https web adapter, using windows authentication and smart-card-only login.

@tpcolson - your sample you are asking for is very complex.
First you'll need to read the smart-card: http://pyscard.sourceforge.net/ and grab the information you need.  Then you'll need to pass the user windows authentication to the web request.
I don't have a site setup with that configuration but if you need help, I can try to provide guidance for your custom security handler.

@tpcolson  - closing due to lack of response.


module 'torch.optim' has no attribute 'Prodigy'

module 'torch.optim' has no attribute 'Prodigy'
I am on pytorch 2.

I see the issue is already closed, but I'll respond just in case. The optimizer is indeed not provided as part of PyTorch, you can only import it if you install the package separately. You can do it with pip by running pip install prodigyopt and then the optimizer needs to be imported not from torch.optim but from the installed package: from prodigyopt import Prodigy

Yes, I found that out.  Thank you.

how to imported from the  installed package？

Just run from prodigyopt import Prodigy and then opt = Prodigy(net.parameters()) will give you the default version of the optimizer (change net to the name of your initialized network if it's different).


04/11/2018 18:10 : Create Pull Request for branch master -> prTesting1_2018041118

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Missing bulk data?

We’ve had a chance to try the latest MEDS release and are seeing a similar problem with the bulk DDMS data missing as we had seen when we tried the Oak Forest preview release.
We also loaded the TNO data using our site.
https://experiencelab7284.azurewebsites.net/dataload
by Deploying the “open-test-data” spec in Azure.
We see lots of wells, wellbores, and well logs loaded.  When we make a request to DDMS to get the well log header, that works fine.
GET …../api/os-wellbore-ddms/ddms/v3/welllogs/'logId'
When we ask for the bulk data
GET …../api/os-wellbore-ddms/ddms/v3/welllogs/'logId'/data
We get an error.
{
'detail': 'bulk for record platform7284-opendes:work-product-component--WellLog:000a9129ac8b4880af1c42a097b458bb not found'
}
As an attempt at fixing this, we tried populating the bulk data ourselves from the las files used to create the well log header.  We tried sending both a parquet data file and a json Pandas file to the POST bulk data API.  The first errors that we got back were like this.
{'detail':'Column(s) DT, NPHI, RHOB, GR, DEPT do(es) not match any CurveID of the WellLog record.'}
The well log headers don’t have any CurveID values, so it looks like that prevents the bulk data API from working.
I forced an updated of the CurveID values (set them equal to the mnemonic) on a couple Well Log records to see if that helps.  Then tried updating the bulk data again.  It now takes about 80 seconds for the request to come back, but I still get a 500 error back.
{'detail':'Unexpected error and save bulk'}
I tried both parquet and the json Pandas formats and get the same errors.
Is the intention that the TNO data load should have loaded the bulk data?  If not, do you know why us trying the populate it ourselves may have failed?
Thanks,
Mike

@mikeroqc,
This is a known gap in the current release of OSDU that's used by MEDS. As a workaround you can ingest data directly to the wellbore DMS using the api’s (as bulk ingestion won’t register the data with the DMS) here Tutorial - Work with well data records by using Wellbore DDMS APIs | Microsoft Learn


Add support for mglyph

This PR adds preliminary support for mglyph elements.
Currently, you need to give explicit width and height attributes (they default to 1em otherwise), because loading images may be asynchronous, and for node-based use, you might want to read from files rather than from the network to find the images, so that would require additional configuration and name mapping.  I'm going to leave those for future extensions.

I notice there is a remark re future extensions in the code. Do we have/need a central way to collate those?

I don't expect to have any others for now (all the MathML elements are now implemented in CHTML), but if there are some of yours that you want to keep track of, I suppose we could start a meta issue with the list of them.  Unless you have a better suggestion in mind?


Add msvc scheme to libxml2

Also add a msvc scheme.

Doesn't work yet

OK, I went back to how I had it before.
I'm just a bit worried it is using the wrong cruntime because it complains:
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library [C:\work\local\hunter\examples\libxml2\build\libxml2-example.vcxproj]
Although, everything seems to work and this is how every other Hunter library is doing it.
It only produces a Release library right now. I can make it produce both release and debug but didn't see a point.

Alright, I added the:
set(LIBXML2_LIBRARIES libxml2::libxml2)
Makes sense. Thanks.

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.3110
https://travis-ci.org/ingenue/hunter/builds/319149689?utm_source=github_status&utm_medium=notification

Note that there are no Visual Studio toolchains in testing, you can enable them with separate pull request. I've tested one variant locally.

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.3112
https://travis-ci.org/ingenue/hunter/builds/319184241?utm_source=github_status&utm_medium=notification

Released: https://github.com/ruslo/hunter/releases/tag/v0.19.207

Yep! I had used /D for testing before but removed it when I switched to the bat file. Sorry!


feat(producttemplate): add optional content to product template

Summary 🍿
Allow ProductTemplate to host optional product specific content.
Usage 💻
<ProductTemplate
    title="Product title"
    subtitle="Product subtitle"
    content={
custom content here
}
>
    <ProductTemplate.Card>This is the body of the card.</ProductTemplate.Card>
</ProductTemplate>

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Build code examples on top of the Helpdesk app from the Get Started guide

Show where you found the issue
I have followed the Get Started guide to build the Helpdesk app and then   followed the Whats next section where we have a link to learn how to use Code interfaces.
While I perfectly understood how to use the define_for , because it builds on top of the Helpdesk app,  I wasn't able to grasp how to use the define_interface, because the example for it doesn't build on top of the Helpdesk app.
Share the problematic documentation

define_for and define_interface
Notice how we included a specific Api module using define_for above. Without this, no functions will be defined in the resource. This is because you might want to define the interface for multiple resources in a single module. While we encourage the use of define_for Api , it is not the only way to do it. You could also do something like this:
defmodule MyApp.MyApi.Interface do
 require Ash.CodeInterface

 Ash.CodeInterface.define_interface(MyApp.MyApi, MyApp.Resource1)
 Ash.CodeInterface.define_interface(MyApp.MyApi, MyApp.Resource2)
end

And then call functions on MyApp.MyApi.Interface instead.

`
Additional context
It would be awesome if all the docs code examples would build on top of the HelpDesk app.

Great idea :D

Can you please give me an example of how to use define_interface with the Helpdesk app?


GoogleWebAuthorizationBroker.AuthorizeAsync crash on HoloLens

Hello,
I just begin testing my Windows 10 UWP app on HoloLens (emulator). It crashes on login GoogleWebAuthorizationBroker.AuthorizeAsync
When I type (proper) auth data it throws
Exception thrown: 'System.AggregateException' in mscorlib.ni.dll
and in InnerException I get this:
http://i.imgur.com/vObH7s4.jpg
Same code works fine on Windows 10 PC and Mobile.
PS. To reproduce it you'll need Windows 10 machine, VS 2015 Update 2 and HoloLens SDK installed.
PS2. Currently I use Google.Apis.Drive.v3 v<IP_ADDRESS>5 and I didn't test newer version, because of release config error which I mentioned in other issue.

Thanks for the report. I'll try to take a look as soon as I can. Could you provide a short but complete example demonstrating the problem, so we can see how you're trying to authenticate?

@jskeet I can, but you'll have to wait till tomorrow.

That's fine - I'm very unlikely to be able to get to it imminently anyway, I'm afraid.

OK, I've got example which recreates the problem.
GoogleDownload.zip

Thanks, will take a look when I can.

Hmm. Have installed the emulator, downloaded the sample, downloaded a client_secret.json file, put it in the Assets directory and changed it to a build action of Content... and everything works. When I click on "Click me", I'm prompted for my username and password, then 2 factor auth, then permission - everything works fine.
At what point does it break for you?

It throws exception when you give permissions to your account

Right, so it got as far as the screen saying "Are you happy for this application to access Drive"? Does it happen every time, or just occasionally? It's tricky as I'm failing to reproduce it at the moment. I assume you have a working network connection and everything? Just grasping at straws at the moment :(

One extra quick check - could you use ildasm to have a look at which versions of Google.Apis.Auth and Google.Apis.Auth.PlatformServices are being pulled in? On my box it's <IP_ADDRESS>, which I suspect is what you've got as well, but I thought I'd check...

Yes, it's v1.11.1
Yes, I've got internet connection 'and everything' :D To be sure that we understand each other correctly I've attach video where I recreate issue - it happened 7/7 tries.
Nagywanie_2016_06_27_15_39_25_621.zip

Thanks for the video. Will scratch my head and see what I can do to provoke it here :(

Gah - stupidly, I hadn't actually been launching it in the HoloLens emulator... so I'd just been seeing it working in the UWP version. Now launched HoloLens emulator, and am failing to use it... but hopefully I'll be able to reproduce it now.

If it's the error about UDP port - I've been there - there is a lot instructions on the internet about how to fix that. But if you have second machine to test it, maybe it will be luckier. I had this problem on one computer, couldn't fix it, but on my second machine emulator worked out-of-the-box.

No errors about the UDP port - just failing to click on the button at all, despite toggling the "use keyboard and mouse". Will keep trying.

Okay, good news - I've managed to reproduce your exact error. Next I'll see if I can do that with a debug version of the auth library.

When you said in the first comment:

Currently I use Google.Apis.Drive.v3 v<IP_ADDRESS>5 and I didn't test newer version, because of release config error which I mentioned in other issue

Which other issue are you talking about? I can only see one issue in Github from you at the moment.

This one:
https://github.com/google/google-api-dotnet-client/issues/752

@Piachu91: Gotcha, thanks. Was confused by Github's time filter. Will edit your first comment to refer to it, for simplicity.

Okay, it looks like this is Hololens being broken, as far as I can tell. You can reproduce the problem without any Google client code:
string clientId = // Insert your client ID here; it's in the JSON file
string approvalUrl = "https://accounts.google.com/o/oauth2/approval";
string escapedScope = "https:%2F%2Fwww.googleapis.com%2Fauth%2Fdrive";
string requestUrl = $"https://accounts.google.com/o/oauth2/auth?access_type=offline&response_type=code&client_id={clientId}&redirect_uri=urn:ietf:wg:oauth:2.0:oob&scope={escapedScope}";

WebAuthenticationResult result = await WebAuthenticationBroker.AuthenticateAsync
                    (WebAuthenticationOptions.UseTitle, new Uri(requestUrl), new Uri(approvalUrl));

Doing this in the Hololens emulator, you end up with a result with:

ResponseData = "Request for Permission"
ResponseErrorDetail = 0
ResponseStatus = Success

When running as a desktop app, you end up with a result with:

ResponseData = "Success code=[code stuff here]"
ResponseErrorDetail = 0
ResponseStatus = Success

I suspect it would be worth reporting this to MS. Are you happy to do that?

Yes, I'll be happy to
seeing in my head that Microsoft sends HoloLens device to Poland as a thank you :dancer:
Thanks for taking care of the issue, now I'm closing


Use quay.io as default to mitigate dockerhub rate limit errors

Expected Behavior
You can freely download the calico container images on a fresh cluster
Current Behavior
Due to Docker Hub ratelimits, re-building a cluster and having many containers pull from Docker Hub might result in hitting rate-limits.

Possible Solution
Push Calico containers to Github Container Registry (ghcr) or quay.io

Context
https://docs.docker.com/docker-hub/download-rate-limit/

It would be nice to cover the following images on a separate registry.
docker.io/calico/typha
docker.io/calico/node
docker.io/calico/kube-controllers

@onedr0p @samip5 all of those images are also available on quay.io already.
Another solution would be to download once to a local registry and serve the images locally - this is definitely the best solution for production clusters as it (1) reduces dependency on external infrastructure and (2) reduces ingress traffic to the cluster to download new images (once, rather than once per-node).

I'm going to leave this open, since we should probably consider switching to quay.io as our default registry (again).

I did not know these were all on Quay, that's awesome! Seems like you need to modify some pipelines to push the multiarch images to quay and you'll be mostly set 👍🏼

Seems like you need to modify some pipelines to push the multiarch images to quay and you'll be mostly set 👍🏼

I'll need to check if quay has finally started supporting multiarch images. We used to use quay as the default and swapped to dockerhub because at the time quay did not support multi-arch.
If that's changed that would be great, otherwise we have a tradeoff: ratelimit vs multi-arch support.

haha, looks like you already found https://github.com/projectcalico/calico/issues/3520 and informed me that quay does now support multi-arch.
Yeah, we should probably start pushing multi-arch to quay and change our default.

Multi-arch images are on quay now, changing the default still hasn't happened but for anyone finding this you should just be able to switch to images from quay.io/calico/

you should just be able to switch to images from quay.io/calico/

This may be daft question, but how is this done? Installing the tigera-operator using the helm chart doesn't appear to have this as a configuration option, only the following:
# Configuration for the tigera operator
tigeraOperator:
  image: tigera/operator
  version: v1.25.7
  registry: quay.io
calicoctl:
  image: docker.io/calico/ctl
  tag: v3.22.2

Answering my own question above: The following values.yaml is required to use quay.io as the registry source.
installation:
  registry: quay.io/

As you currently have an unpaid account. It would be beneficial to not break a lot of production clusters to either pay or announce a change in the image registry soon.
https://blog.alexellis.io/docker-is-deleting-open-source-images/
Kind request what your current plan is regarding the distribution of container images of calico.

If you are using the tigera operator without helm, you can edit the Installation custom resource (installations.operator.tigera.io) to add:
# kubectl edit installations default
apiVersion: operator.tigera.io/v1
kind: Installation
# ...
spec:
  registry: "quay.io/"

Calico will then be redeployed using the Quay registry.

If you are using the tigera operator without helm, you can edit the Installation custom resource (installations.operator.tigera.io) to add:
# kubectl edit installations default
apiVersion: operator.tigera.io/v1
kind: Installation
# ...
spec:
  registry: "quay.io/"

Calico will then be redeployed using the Quay registry.

@Exagone313 it is more about the people who never touch a running system ;)

I agree the default should be Quay at this point moving forward.
https://github.com/docker/hub-feedback/issues/2314

We should still switch to quay for sure, but in case anyone is worried about Calico's old images, I can confirm that we are not using a free tier plan. Additionally, Docker has announced that they are not going to remove old free team images anyway: https://www.docker.com/blog/no-longer-sunsetting-the-free-team-plan/

Just got bit by this. I'm running the operator.

Failed to pull image "docker.io/calico/csi:v3.25.1": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/calico/csi:v3.25.1": failed to resolve reference "docker.io/calico/csi:v3.25.1": pulling from host registry-1.docker.io failed with status code [manifests v3.25.1]: 429 Too Many Requests

Switching to quay.io fixed it.

Any plans on this to make quay.io the default address for pulling the calico images? 😄


Round pen sizes to int

Scratch does this; presumably we should do too.
See https://scratch.mit.edu/projects/102130425/ for a test case (also includes negative and <1 pen sizes).
Relates to #568

Mentioned in #397

Mentioned in #297

https://github.com/LLK/scratch-flash/blob/64fbd33b921ca74248c374bd8f08272f556edce9/src/scratch/ScratchSprite.as#L264
I think the reason I was avoiding this is that it's slow(er than not rounding).

I thought that might be it :P

Some projects actually look smoother with fractional pen sizes, eg. https://scratch.mit.edu/projects/104715050/#comments-57760526. I vote we close this. :-)


Raise when calling connection on a sharded model without a shard

/cc @bquorning @grosser @kassio @craig-day
When calling Model.connection on a sharded model when we're not on a shard returns a connection to the unsharded database. This PR fixes the issue by raising when trying to call connection without specifying a shard.
fyi @jacobat

How does this play with #130?

@jacobat I would assume your PR would be fine. Our issue in Classic is some code paths relying on default_shard to be set, but it's actually nil. Removing default_shard would probably raise the same way it does here.


Add failing PSBT test for script segwit

https://github.com/MetacoSA/NBitcoin/issues/927#issuecomment-714514489

Closing this I am on it, will make a commit as well. I think you should remove your current hack then.


Scan quotes RN

PLEASE READ
Following a recent back-end update, all contributors with a local clone or fork of our repository are required to run yarn install. This does not apply to direct page edits.

[x] Yes, I've run yarn install
[ ] No, does not apply to me

Purpose of this pull request
This pull request...

Select the type of change:

[ ] Minor Changes - Typos, formatting, slight revisions, .clabot
[ ] Update Content - Revisions, updating sections
[x] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - Updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

@JV0812, this PR has been in draft a few months. Is it ready for review yet?

It looks like this PR no longer contains changes. @JV0812 , maybe we could close this out?

Closing this PR as we have covered the intent of this through other PR: https://github.com/SumoLogic/sumologic-documentation/pull/4641


The length of tokens in data-clipped

Hi, I'm now trying to use training data in generated_data/data-clipped for fine-tuning. I'm now using Roberta, but I found that there are still many sentence pairs over the limit of 512. Now I process the sentence pair like this: textclaim, maybe I'm wrong or something?
Thank you in advance!

sry, I mean <s>text</s></s>claim</s>


Issue loading Visuality v0.4.3 in fabric modpack

Crashes MC Launcher + Fabric when loaded. When I open MC Launcher again it gives a "1" exit code. Mods using:
Better Animation Collection v4.0.2
continuity v2.0.1 (1.19)
effective v1.3
fabric API v0.61.0
Forge Config API Port v4.2.6
illuminations v1.10.8
indium v1.0.9
Just Enough Items v<IP_ADDRESS>2
lithium v0.8.3
logical zoom v0.0.17
mod menu v4.0.6
moonlight v2.0.31
phosphor v0.8.1
physics mod v2.8.13
iris v1.3.1
PuzzelsLib v4.3.9
sodium v0.4.4
supplementaries v2.2.3
toms storage v1.4.3
worldedit v7.2.12
Xaeros Minimap v22.15.1
Xaeros Worldmap v1.28.0
fabric v0.14.9
Is this due to conflicting mods or an issue with fabric or visuality?

For more information: i removed Visuality and it worked just fine, with each of the mods. I'm not sure if it's me using a wrong version of visuality or conflicting mods.

I also realized I forgot to add this: hardware specs are Intel i7 CPU with integrated Intel UHD620 graphics. 16gb of ram (about 4gb of which are dedicated to minecraft).

You are trying to use 1.18.2 version of the mod on 1.19.2, you need 1.19.2 version which is 0.5.1(https://modrinth.com/mod/visuality/version/0.5.1), also you need cloth config(https://modrinth.com/mod/cloth-config/version/8.2.88%2Bfabric)


Need help ...my model is not showing properly all i see is my model in black colour and background image is not showing please help me

In order to help you, we need you to fill out the whole issue template instead of deleting it. That is what allows us to repro your problem and help fix it.


[dev-tool] failingt test on Windows: 1) Project Resolution       resolution finds dev-tool package

Error:
5 passing (53ms)
1 failing

Project Resolution
resolution finds dev-tool package:
AssertionError: expected 'C:\github\jeremymeng\jssdk\common\tools\dev-tool' to match /.*\azure-sdk-for-js\common\tools\dev-tool/
at C:\github\jeremymeng\jssdk\common\tools\dev-tool\test\resolveProject.spec.ts:25:12
at Generator.next ()
at fulfilled (test\resolveProject.spec.ts:7:58)

Hm. This looks like I just incorrectly assumed that the sdk would be checked out into a directory named azure-sdk-for-js. This should be an easy fix. Thanks for reporting this @jeremymeng .


[bugfix] locale/en-ie.js date format

Correct to en-IE date locale to match the ICU definition: http://www.localeplanet.com/icu/en-IE/index.html
ICU defines the en-IE date format to be 06/11/2018 rather than 06-11-2018.

Coverage increased (+0.008%) to 88.143% when pulling bc4be4c7f587bf9658e3524ebd267563dbfb3168 on martinmcwhorter:develop into c68b4f111c9bedfb00b96652fde09ae78138e3ee on moment:develop.

@chriscartlidge approval?

As well, this PR brings this locale inline with https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
new Intl.DateTimeFormat('en-IE').format(new Date())
"17/12/2018"


Bug on check button

Should be centered

This has been centered and is being changed now.

PR?

Didn't work.

This should be fixed in the new release of bug fixes, and will also fix every button with (Only) an Icon that is not currently centered.

This is not fixed with your PR.

Ok, I think it's a Padding issue.

https://github.com/Extum/flarum-ext-material/commit/17680a00d2f9fe5fa44a7720fe979478860d7d12 makes this PR better.


Add benchmarks to measure sksl warmup on iOS

We have these benchmarks running on Android:
Linux_cubic_bezier_perf_sksl_warmup__e2e_summary
Linux_flutter_gallery_sksl_warmup__transition_perf
Linux_flutter_gallery_sksl_warmup__transition_perf_e2e
Mac_android_cubic_bezier_perf_sksl_warmup__timeline_summary
We should have equivalent benchmarks for iOS now that sksl warmup is supported there.
I wonder if it would be as simple as adding files like https://github.com/flutter/flutter/blob/f6e5227b2829d3aa5d5c18ab0edf369fbc831e21/dev/devicelab/bin/tasks/cubic_bezier_perf_sksl_warmup__timeline_summary.dart but with DeviceOperatingSystem.ios.
Without this, we won't be able to measure the impacts of https://github.com/flutter/flutter/issues/83953 and https://github.com/flutter/flutter/issues/84213, so I am marking this as P2 as well to match.
/cc @chinmaygarde

I added iOS versions of flutter_gallery_sksl_warmup__transition_perf and cubic_bezier_perf_sksl_warmup__timeline_summary, and we should be getting results from them shortly. I'm going to hold off on the e2e versions.


Revert #1122 and changes made on top of it.

See discusson on #748 in scratch-gui and #1145 .  We will fix this a different way next week.
Resolves
Not a resolution, but see discussion on https://github.com/LLK/scratch-gui/issues/748
Proposed Changes
Reverts #1122, though mostly by hand because of conflicts.
Reason for Changes
The bulk update change had the right idea, but it causes some other problems.

Heads up, I added a commit to fix failing travis build due to linting on trailing spaces.


add RDS Aurora min capacity variable

variable not previously exposed, pairs with existing max_capacity variable

in rds module section add
min_capacity                    = var.min_capacity


Make certain dependencies optional

It would be nice if eidolon-auth and sha3 were made optional, so that we don't have to depend on them if we don't use them. I'm not sure where sha3 is currently used actually, or if it's needed somewhere I'm not realizing.
sha3 is currently being pulled by cypheraddr
eidolon-auth is being pulled by cyphernet

sha3 is used by Tor support - and it is already an optional requirement at the level of both cypheraddr and main cyphernet crate (both sha3 and tor features must be set off).
eidolon is now optional with #8


[Branch-2.9][transaction] Cmd-Subscribe and Cmd-Producer will not succeed even after 100 retries.

Motivation
Cherry-picked #16248

@poorbarcode  PTAL :)

/pulsarbot run-failure-checks

Hi, @poorbarcode
The new test looks to have some problems on branch 2.9. Could you please help check it?


💬 RFC: Add versioning and dependency scope to Entities and Entity References

🔖 Need
Backstage's Component currently does not have a versioning mechanism. When a dependency is added to a Backstage entity (component, system, etc.), there is no built-in way to explain whether that dependency is required to be up-and-running for the component to work.
For example, a piece of software could run on various environments (VM, Docker, K8s, etc.). These environments can be added as dependencies, but there is no way to indicate which environment is the preferred environment, which version its dependency should be at (say OS version).
🎉 Proposal
Entity versioning
For versioning, two types of versions could be provided: the entity's version and the actual asset's version the Component is describing (similar to Helm chart versioning). These could be implemented as labels, or as spec fields.
Version labels
metadata:
  labels:
    backstage.io/version: "2022.4.1" # type string to let users use the versioning scheme inherent to their system
    backstage.io/entity-version: 1.10 # semver versioning for Backstage's entity versioning

Spec labels
spec:
  # type string to let users use the versioning scheme inherent to their system
  version: "2022.4.1"
  # semver versioning for Backstage entity's versioning
  entityVersion: 1.10

Dependency scoping and versioning
For entity references, I'm proposing that we extend the Backstage's entity reference strings to become similar to the purl spec with additional fields added for versioning, using purl-spec version range spec and CycloneDX's component scope.
At the moment, the Backstage entity reference has the following form: [<kind>:][<namespace>/]<name>.
Following the purl spec, we can extend this to be [<kind>:][<namespace>/]<name>@<default-version>.
For additional fields, we could present them as URL parameters.
Using the purl versioning spec, we can extend this to be
[<kind>:][<namespace>/]<name>@<default-version>?vers=">=(min_ver)|<=(max_ver)" (min_ver and max_ver wrapped in brackets to make things easier to read). The versions here are the software/library/etc. that the entity refers to. They don't necessarily need to be semver and could be whatever existing versioning system the user is using.
To indicate whether a dependency is required/optional, the format could be extended to [<kind>:][<namespace>/]<name>@<default-version>?scope=<scope>&default_scope=<default_scope>. The scope values could be required, optional and excluded. If the scope is not defined, required is assumed. (CycloneDX's component scope)
These fields can be combined. An example of a full Component could be
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
  name: app-connect-runtime
  title: App Connect Runtime
  labels:
    backstage.io/version: "<IP_ADDRESS>"
    backstage.io/entity-version: "0.1.0"
  namespace: cp4i
spec:
  type: application
  lifecycle: production
  owner: group:integration-team
  dependsOn:
    - component:cp4i/foundational-services@<IP_ADDRESS>?scope=optional&default_scope=required&vers=">=22.0.0|<=22.0.2"

In block form, these entity references could look like
- name: foundational-services
  kind: component
  namespace: cp4i
  version: "<IP_ADDRESS>"
  scope: optional
  default_scope: required
  vers: ">=22.0.0|<=22.0.2"

〽 Alternatives
No response
❌ Risks
An entity dependency can have the same name but different versions. The resolved entity name in Backstage UI can contain the default version entity-name@default-version.
👀 Have you spent some time to check if this RFC has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Let me start out by mentioning that the overall goal with the catalog as a product is to have a "human" centred collection of entities, ie, the higher level concepts that people care about and think about, devoid of runtime and technical aspects. We very deliberately do not have versioning or environment or runtime information, nor any fast-changing or highly technical fields in the default model. Adding such information tends to turn out being a poor fit.
Essentially a catalog definition should change very very rarely, and be easily maintainable by hand by a person that's busy with a lot of other business needs.
The catalog is also not a general storage engine for any type of information. There's a lot of things that we leave out of it, and instead put in specific-purpose storages / services instead. We understand the desire to have rich information around your entities and what their performance and needs are like in the real world. We defer that information to plugins, and leave it intentionally out of the catalog. For example,

We have a very rich and realtime deployment view for our services, but that's all fetched out of our continuous deployment systems and kubernetes clusters etc. The only thing the entities contain is a (generally static) application ID that can be used to fetch more information out of any number of auxiliary systems
We have code insights in dedicated storage, where you can quickly get the exact library versions used by every software project and similar information. This data is all maintained by a different team, and gets updated based on CI happening, without involving the catalog

And the list goes on.
Now, winding back a bit and ignoring that context, there are some technical hurdles to the proposal.
First, there's no place today to even put this additional per-relation metadata. But let's suppose we add it. We collect and deduplicate relations and adding more metadata to the model makes it unclear how that deduplication should work with colliding / conflicting statements in them. We also almost always emit relations in pairs. Specifically, they are often only declared from one side (A's spec says its parent is B, but B's spec doesn't say that A is its child) but the relation pair is automatically emitted in both directions by processors anyway. It's unclear what the "backward" edge would have in its metadata, and how that relates to the "forward" edge. Does there even always exist a corresponding or inverse version of each type of metadata?
Regarding entity versioning, that's almost even harder. Given that

you need to refer to things back and forth using entity refs, and
the version isn't part of the ref (for good reason), and
the fact that reality is complex and there's almost always several versions "active" at any given time

... I don't see how the entity versioning could have any practical effect in the catalog. We can't expect people to register entities for every version of their thing, inventing unique names for them every time, while it's being rapidly developed and shipped. So trying to refer to such various versions carries less value then too.
For the same reason, I find that the spec.definition field of the API kind very problematic, since it can never be anything more than vaguely advisory / informative, since any given API probably has many versions concurrently both produced and consumed.
Any ideas that pop into mind based on the above?

Hey @freben

We also almost always emit relations in pairs. Specifically, they are often only declared from one side (A's spec says its parent is B, but B's spec doesn't say that A is its child) but the relation pair is automatically emitted in both directions by processors anyway.

For context, in my org, we have software teams developing different products with their own release cycles. Each of these releases are versioned. They are used in other team's software. To maintain production operations, the software versions must be locked. Versioning and version dependency locking it is a critical piece of information for IT as well as business.

We can't expect people to register entities for every version of their thing, inventing unique names for them every time

For IT organisations that have the same business and IT requirements as my org, I don't think this will be an issue. They can scope component/system's versions in different namespaces with the same names, different names in the same namespace, or different names in different namespaces. For example, if component A has versions 1.0 and 0.9, the A team can represent the different versions as component:a-1.0/component-A, component:a-0.9/component-A; or as different names in the same namespace: compnonent:a/component-A-0.9 and component:a/component-A-1.0. These are two separate entities.

It's unclear what the "backward" edge would have in its metadata, and how that relates to the "forward" edge. Does there even always exist a corresponding or inverse version of each type of metadata?

Say component B version 1.0 depends on only component A version 0.9, but not 1.0, because for whatever reasons, component A 1.0 removed certain features that B requires. I don't get why you can't have the inverse relation of component A version 0.9 is a dependencyOf component B version 1.0. Semantically it makes sense.
As for partOf relations, because each component version is its own entities, you would never run into the scenario where A's spec says its parent is B, but B's spec doesn't say that A is its child.

For the same reason, I find that the spec.definition field of the API kind very problematic

If you have to capture an entity's version in Backstage, where would you put them?

I think it's a worthwhile exercise to sit down with stakeholders and checking what the exact requirements are, and what the absolute ideal management solution for that is, and ideally how it can be automatically populated entirely without any user interaction. Is there something that can be done as part of CI/CD for example, to HTTP POST edge / version statements to a service somewhere? That could even be a dedicated Backstage backend service if you enjoy our development environments. Then you can either ingest that data as part of your entity providers so your entities have additional magic labels or similar on them - or just make frontend views that are powered by this service, to show rich information to end users upon request. This is what we most often do.


RuntimeError: maximum recursion depth exceeded

Hi, when running subliminal
subliminal download /mnt/series/Fear.the.Walking.Dead -l fr -v",
I get the following error.
It happens on this file : "Fear.the.Walking.Dead.S01E02.HDTV-720p.Proper.x264.AC3-KILLERS.mkv"
Best regards,
Christophe.
Traceback (most recent call last):
  File "/usr/local/bin/subliminal", line 11, in <module>
    sys.exit(subliminal())
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 700, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 680, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1027, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 873, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 508, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context().obj, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/subliminal/cli.py", line 269, in download
    hearing_impaired=hearing_impaired, only_one=single)
  File "/usr/local/lib/python2.7/dist-packages/subliminal/api.py", line 185, in download_best_subtitles
    for s in subtitles], key=operator.itemgetter(1), reverse=True)
  File "/usr/local/lib/python2.7/dist-packages/subliminal/providers/podnapisi.py", line 61, in get_matches
    matches |= guess_matches(video, guess_episode_info(release + '.mkv'))
  File "/usr/local/lib/python2.7/dist-packages/guessit/__init__.py", line 370, in guess_episode_info
    return guess_file_info(filename, info=info, options=options, type='episode', **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/guessit/__init__.py", line 302, in guess_file_info
    result.append(_guess_filename(filename, options, **kwargs))
  File "/usr/local/lib/python2.7/dist-packages/guessit/__init__.py", line 114, in _guess_filename
    mtree = _build_filename_mtree(filename, options=options, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/guessit/__init__.py", line 127, in _build_filename_mtree
    mtree = IterativeMatcher(filename, options=merged_options, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/guessit/matcher.py", line 120, in __init__
    self._process(transformer, False)
  File "/usr/local/lib/python2.7/dist-packages/guessit/matcher.py", line 138, in _process
    transformer.process(self.match_tree, self.options)
  File "/usr/local/lib/python2.7/dist-packages/guessit/transfo/guess_language.py", line 125, in process
    GuessFinder(self.guess_language, None, self.log, options).process_nodes(mtree.unidentified_leaves())
  File "/usr/local/lib/python2.7/dist-packages/guessit/matcher.py", line 227, in process_nodes
    self.process_node(node)
  File "/usr/local/lib/python2.7/dist-packages/guessit/matcher.py", line 269, in process_node
    self.process_node(node, partial_span=relative_span)
  File "/usr/local/lib/python2.7/dist-packages/guessit/matcher.py", line 269, in process_node

.... REPEATING

File "/usr/local/lib/python2.7/dist-packages/guessit/matcher.py", line 269, in process_node
    self.process_node(node, partial_span=relative_span)
  File "/usr/local/lib/python2.7/dist-packages/guessit/matcher.py", line 269, in process_node
    self.process_node(node, partial_span=relative_span)
  File "/usr/local/lib/python2.7/dist-packages/guessit/matcher.py", line 269, in process_node
    self.process_node(node, partial_span=relative_span)
  File "/usr/local/lib/python2.7/dist-packages/guessit/matcher.py", line 236, in process_node
    matcher_result = self.guess_func(string, node, self.options)
  File "/usr/local/lib/python2.7/dist-packages/guessit/transfo/guess_language.py", line 46, in guess_language
    guess = search_language(string, allowed_languages)
  File "/usr/local/lib/python2.7/dist-packages/guessit/language.py", line 277, in search_language
    for prop, language, lang, word in find_possible_languages(string, allowed_languages):
  File "/usr/local/lib/python2.7/dist-packages/guessit/language.py", line 251, in find_possible_languages
    elif lang == 'mul' or hasattr(lang, 'alpha2'):
  File "/usr/local/lib/python2.7/dist-packages/babelfish/language.py", line 159, in __eq__
    return str(self) == other
  File "/usr/local/lib/python2.7/dist-packages/babelfish/language.py", line 178, in __str__
    s = self.alpha2
  File "/usr/local/lib/python2.7/dist-packages/babelfish/language.py", line 150, in __getattr__
    return language_converters[name].convert(alpha3, country, script)
  File "/usr/local/lib/python2.7/dist-packages/babelfish/converters/__init__.py", line 159, in convert
    raise LanguageConvertError(alpha3, country, script)
RuntimeError: maximum recursion depth exceeded'''

This is an issue with guessit and should be reported to guessit. Make sure you have latest version of guessit installed and searched guessit's closed issues first.


fixed issue 119 for master

PR o'clock
Description
When you specify two ALB listeners (http-80 and http-8080) and two Target Groups (tg-80 and tg-8080), you get the following mapping:
http-80 -> tg-80
http-8080 -> tg-80

and instead of the expected:
http-80 -> tg-80
http-8080 -> tg-8080

https://github.com/terraform-aws-modules/terraform-aws-alb/issues/119
Checklist

[x] terraform fmt and terraform validate both work from the root and examples/alb_test_fixture directories (look in CI for an example)
[x] Tests for the changes have been added and passing (for bug fixes/features)
[ ] Test results are pasted in this PR (in lieu of CI)
[ ] Docs have been added/updated (for bug fixes/features)
[ ] Any breaking changes are noted in the description above

I don't expect any breaking changes

the travis-ci is failing is complete unrealted to my changes. the CI/CD test environment looks missconfigured the the aws provider region:
$$$$$$ Running command `terraform destroy -force -lock=true -lock-timeout=0s -input=false  -parallelism=10 -refresh=true   /home/travis/build/terraform-aws-modules/terraform-aws-alb/examples/alb_test_fixture`

       Error: Error refreshing state: 1 error(s) occurred:

       * provider.aws: Invalid AWS Region:

-----> Destroying <default-aws>...

$$$$$$ Running command `terraform init -input=false -lock=true -lock-timeout=0s  -force-copy -backend=true  -get=true -get-plugins=true  -verify-plugins=true /home/travis/build/terraform-aws-modules/terraform-aws-alb/examples/alb_test_fixture`

       Initializing modules...

       - module.vpc

       - module.security_group

       - module.alb

       Initializing provider plugins...

       Terraform has been successfully initialized!

$$$$$$ Running command `terraform workspace select kitchen-terraform-default-aws`

$$$$$$ Running command `terraform destroy -force -lock=true -lock-timeout=0s -input=false  -parallelism=10 -refresh=true   /home/travis/build/terraform-aws-modules/terraform-aws-alb/examples/alb_test_fixture`

       Error: Error refreshing state: 1 error(s) occurred:

       * provider.aws: Invalid AWS Region:

       ```

I will have to review and correct CI steps for more than just this repository.
v4.2.0 of this module has been just released.
Thank you!


Sending Status Notification

I am trying to figure out how to send status notification for different states like charging, unavailable and faulted. Does this happen automatically in OCPP_loop() or we have to define functions as we did for start and stop notification?

I have the same question. Please tell me to solve this.


subdomains: Allow systeminternal users access on root domain.

Installs which only have a single realm, but wish to use the Nagios or
Munin integrations for send-receive time, need a domain name that the
internal monitoring bots can post API requests to.  Since such
installs generally only have certificates for a single hostname, there
is no way for them to post to zulipinternal.zulip.example.com, and
thus all attempts to use the monitoring will fail with the message
"Account is not associated with this subdomain".
Allow users on the SYSTEM_BOT_DOMAIN to post to the root domain as
well.  Users still need to auth as the system-internal users, of
course -- this merely lets them do so on a hostname that exists and
that the server has a certificate for.
Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

That said, it would be nice to be able to run this monitoring on chat.zulip.org. @cognusion @andersk thoughts?

We could try to cleverly send the request to https://zulip.example.com (or https://localhost) but with a Host: zulipinternal.zulip.example.com header?

#22540 makes --force-localhost --insecure --site=https://zulipinternal.andersk.zulipdev.org work, though it spews lots of InsecureRequestWarning warnings and could maybe be cleaned up a bit.


The starlette must be upgraded to 0.21.0 to solve this bug:https://github.com/tiangolo/fastapi/issues/5403

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
fastapi>=0.85.1
starlette>=0.21.0

Description
these package versions have conflicting dependencies.
I want to use starlette=0.21.0.
Operating System
Linux
Operating System Details
No response
FastAPI Version
0.85.1
Python Version
python--3.9.7
Additional Context
No response

@caishengxiang could please close the issue -> https://github.com/tiangolo/fastapi/releases/tag/0.87.0


Attempting to load from checkpoint gives unicode error.

Traceback (most recent call last):
  File "train.py", line 114, in <module>
    main()
  File "train.py", line 48, in main
    train(args)
  File "train.py", line 66, in train
    saved_model_args = cPickle.load(f)
  File "C:\Users\User\AppData\Local\Programs\Python\Python35\lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 25: character maps to <undefined>

I'd stopped a run with ctrl+c and I assumed the checkpoint would work to restart it. Instead I get the above error. Running TF 0.12 on Windows 10 with CUDA 8 and cuDNN, Python v3.5.2.

Python 3 incompatibility issue, due to binary files wrongly being opened in text mode. The pull request above should fix it.

(Closed the above pull request because pull request #43, from back in July (!), does the same thing.)


Node.js Compat: Implement the nodejs_compat_v2 compat flag

The nodejs_compat_v2 flag supersedes the 'nodejs_compat' flag. When enabled...

Node.js built-ins are available for import/require
Unlike the original nodejs_compat flag, Node.js imports do not require the 'node:' specifier prefix. Internally, the implementation will detect a Node.js raw specifier and convert it into the appropriate prefixed specifier, e.g. 'fs' becomes 'node:fs'
The Buffer, process, and global are exposed on the global
A user worker bundle can still provide its own implementations of all node: modules which will take precedence over the built-ins
The new process.getBuiltinModule(...) API is implemented. See https://github.com/nodejs/node/pull/52762

A worker can replace the implementation of node:process if they choose, which may mean that getBuiltinModule(...) is not available.
Refs: https://github.com/cloudflare/workerd/issues/2133

@jasnell could you also expose global on globalThis as an alias of globalThis?
Essentially:
globalThis.global = globalThis;

The getBuiltinModule(...) implementation is not actually working correctly yet as verified by a test. Going to require just a bit more work to get right.

@fhanau @harrishancock @dom96 ... this change is needed by the frameworks/wrangler folks to move forward on evolving the node.js compat story.
@irvinebroque @mikenovitch ... heads up from the product perspective this changes the way node.js compat is enabled. There's the existing nodejs_compat flag for the original version, and then a new nodejs_compat_v2 flag to enable this variation. Whee!

@irvinebroque @mikenomitch ... heads up from the product perspective this changes the way node.js compat is enabled. There's the existing nodejs_compat flag for the original version, and then a new nodejs_compat_v2 flag to enable this variation. Whee!

Is the plan to make nodejs_compat_v2 become equivalent with nodejs_compat after a certain compat date? That would be my preference as I want to avoid a proliferation of compat flags. I see nodejs_compat_v2 just as a temporary vehicle to test the changes we plan to make to nodejs_compat which will be enabled at a set compat date.

Is the plan to make nodejs_compat_v2 become equivalent with nodejs_compat after a certain compat date? That would be my preference as I want to avoid a proliferation of compat flags. I see nodejs_compat_v2 just as a temporary vehicle to test the changes we plan to make to nodejs_compat which will be enabled at a set compat date.

Unfortunately I don't think so. Given the way compat dates work and the guarantees they carry, we can't really combine these at any point and we had made the decision long ago that Node.js compat would not be on-by-default ever. If we move forward with adding this, it'll mean a second node.js compat mode going forward indefinitely. This is something we should discuss tho to see if there's a reasonable path forward.

@jasnell sorry if I was not clear, I'm not suggesting that nodejs_compat_v2 becomes activated on by default after some compat date. What I'm suggesting instead is that after some compat date nodejs_compat and nodejs_compat_v2 mean the same thing (and nodejs_compat_v2 becomes unnecessary). This would reduce the number of flags we need to document and explain to developers as well as number of branches in our codebase.

Even then, I'm not sure we can combine nodejs_compat and nodejs_compat_v2 unfortunately. This PR introduces a few changes that could be technically breaking even in the nodejs_compat case currently. We'll need to evaluate carefully.

... is the main breaking change the new globals that are added?

I'll say "potentially" breaking change are the new globals and the fact that statements like import('buffer') will suddenly start working where they fail now. As we've seen with other recent changes, folks like to do feature-sniffing by trying an action and revering to some fall back logic when it doesn't work. Having it so that the non-prefixed specifiers suddenly start working could cause unexpected side effects that we need to be careful of.

LGTM otherwise


Import statement deleted when reformatting multiline boolean condition

Take the following two classes:
package com.repro.internal

class Foo

package com.repro

import com.repro.internal.Foo

class Repro {
    fun repro(condition: Boolean, obj: Any): Boolean {
        return obj is Foo
            && condition
    }
}

Expected Behavior
When running the formatter, the Repro class should be formatted as such:
package com.repro

import com.repro.internal.Foo

class Repro {
    fun repro(condition: Boolean, obj: Any): Boolean {
        return obj is Foo && condition
    }
}

Observed Behavior
When running the formatter, the Repro class gets formatted as such, with the import statement removed:
package com.repro

class Repro {
    fun repro(condition: Boolean, obj: Any): Boolean {
        return obj is Foo &&
            condition
    }
}

Although the formatter "succeeds", it ends up introducing a compilation error since Foo can no longer be resolved. This does not occur in 0.41.0.
Your Environment

Version of ktlint used: 0.42.1
Version of Gradle used (if applicable):

------------------------------------------------------------
Gradle 7.1.1
------------------------------------------------------------

Build time:   2021-07-02 12:16:43 UTC
Revision:     774525a055494e0ece39f522ac7ad17498ce032c

Kotlin:       1.4.31
Groovy:       3.0.7
Ant:          Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM:          11.0.9 (Eclipse OpenJ9 openj9-0.23.0)
OS:           Mac OS X 10.16 x86_64

Operating System and version: MacOS Big Sur 11.5

Most likely this issue is solved by #1201 which is already fixed. Can you please retry with latest snapshot version?

Nope, this is still an issue, present on master


add '-no-user-package-db' flag to ghci and ghcid

Nice! Is there anywhere else we should consider using this?  Maybe this should be a default for our GHC, just like -fexpose-all-unfoldings.


Overwriting the config results in sed error

When I overwrite the config.php with --volumes it results in
"sed: cannot rename ./sedXXXXXX: Device or resource busy"
According to https://docs.docker.com/v1.4/userguide/dockervolumes/ sed on mounted files is bad.
"Note: Many tools used to edit files including vi and sed --in-place may result in an inode change. Since Docker v1.1.0, this will produce an error such as "sed: cannot rename ./sedKdJ9Dy: Device or resource busy". In the case where you want to edit the mounted file, it is often easiest to instead mount the parent directory."
Maybe its better to create a config directory or don't use sed.

Hello,
a run option may solve your problem,
can you try to run your container with --copy-service ?
docker run [you options] osixia/phpldapadmin:0.6.7 --copy-service

Yes that fixed the problem :)
But what does --copy-service do? I can't find any docs for this flag :s

phpLDAPadmin image extends osixia/web-baseimage to get php and apache config (see Dockerfile)
and osixia/web-baseimage extends osixia/light-baseimage
--copy-service options is an osixia/light-baseimage command line argument to copy  /container/service directory to /container/run/service when the container start.
So it's not a docker option but a osixia/light-baseimage "run tool" command line argument added exactly to solve this kind of mounted files problems :)
more info : https://github.com/osixia/docker-light-baseimage

Ah! Okay.
Thx for your help :)
Maybe you should add this hint to the HowToStart.

same problem here. Thanks.

If used docker-compose, what is the syntax for '--copy-service' ?


Add DCO verify in CI

Add DCO verify in ci

I've just enabled https://probot.github.io/apps/dco/ on this repository.


Shall NWG be mentioned?

https://www.reddit.com/r/rust/comments/hu1s7v/nativewindowsgui_is_back_and_ready_to_kick_some/
It's even marked "1.0".

Should have done this sooner but, #46

Resolved in https://github.com/areweguiyet/areweguiyet/pull/46


Support X86 and arm architecture for debian

Support X86 and arm architecture for debian

Related to PR #13


Table of Atomic functions

First changes for refactoring of atomic functions

minor details for scalar dcp: missing perspective function since the curvature is "same as f".
minor detail for element wise dcp: added "constant in the curvature for (power, 0)"

now need to fix the path for the image. Ideally I define a central images folder that can be reached from the conf.py
Also here is the link to view the docs: https://cvxpy.readthedocs.io/en/cvxpy-datatables/.


Get rid of $oid

Don't you think it is overcomplicating using
_id: { $oid: string };
instead of the simpler
_id: string
We have to make a lot of hacks, validations and wrappers in our code in order to make our API's return database documents.

Unable to determine whether the string type is normal text or an ObjectId.
Should use
import {ObjectId} from "..."
_id: ObjectId("string")

Is any way to do like:
interface MySchema {
  _id: {
    from: string,
    to: string,
    changed: number
  };
  vote: number;
}

const db = client.database("db");
const karmas = db.collection<MySchema>("col");

const insertId = await karmas.insertOne({
  _id: {
      from: "a",
      to: "b",
      changed: 1
  },
  vote: 2
});

So far it complains like Property '$oid' is missing in type '{ from: string; to: string; changed: number; }' but required in type 'ObjectId'.
Am I missing something or composite _id is not supported?

This problem has been implemented in v0.20.0


After run format, the cursor would jump to the start of the line.

After run :MixFormat, the cursor would jump to the start of the line.
My env:
macOS High Sierra, 10.13.1
neovim 0.2.2

Does it always happen?
What about this one-line file:
IO.puts "foo"

:MixFormat should put parentheses around the string without moving the cursor.

@mhinz Sorry for being so late.
Yes, it always happens. I tried your one-line file suggestion above and yes, parentheses were put around the string, but the cursor was moved to the beginning of the line again.


Data Table "On this page" is missing Row Selection

Change Type
Addition
Proposed Changes
The Data Table "On this page" section is missing the Row Selection index and link to https://www.shadcn-svelte.com/docs/components/data-table#row-selection

@brucegl Has this been fixed? I'm seeing Row Selection with an href="#row-selection" in “On This Page”.

@brucegl Has this been fixed? I'm seeing Row Selection with an href="#row-selection" in “On This Page”.

Hi @jonasaurus , it looks like it has. Thanks!


bug: Wagmi 0.7.8 isn't working with react 17

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
0.7.8
Current Behavior
I had wagmi 0.5.12 before but didn't realise that it didn't have useContract hook so I updated my wagmi package and I get this error in the log for some reason and the app doesn't work

Expected Behavior
Basically it should've worked without any issues, I followed the docs too for createClient and using useConnect hook but it still doesn't work with react 17
Steps To Reproduce
No response
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response

Thanks for reporting! Can you please provide a minimal reproducible example via a CodeSandbox (feel free to use this template). I'll reopen this issue when a reproduction is provided! Sorry for the inconvenience.


Sync eng/common directory with azure-sdk-tools for PR 4169

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/4169  See eng/common workflow

/check-enforcer override


How to get player description?

Hello!
When I use function getBlurb this return as case. How do I unpack it?

Nevermind. Fixed


ITF-14 checksum

Hi,
Would it be possible to set an option to remove the checksum check and autocomplete in ITF-14?
I would need to generate ITF-14 code e.g "189506310010" that do not strictly conforms to the norm, but is widely use in medical prescription in Belgium.
Thanks.

Just use the ITF barcode. It encodes in the same way as ITF-14 but does not enforce 14 digits or any checksum.

Just use the ITF barcode. It encodes in the same way as ITF-14 but does not enforce 14 digits or any checksum.

Thanks. So easy. Sorry.

Thanks. So easy. Sorry.

No problem. Good luck with what you are building 😄

No problem. Good luck with what you are building 😄


add new mutation testing tool

Hey! 👋 Could you add this new mutation testing tool on your list? It’s an open-source, language-agnostic tool that uses LLMs to generate powerful mutants!
https://github.com/codeintegrity-ai/mutahunter
Let’s get mutation testing widely spread! 🎉

Done! 😄


Added HeartbeatKey secret for Octavia

Related to https://issues.redhat.com/browse/OSPRH-395

recheck

/lgtm


Upgraded cakephp-qobo-admin-panel plugin to v2.0.0

:information_source: CI tests were run locally as TravisCI seems to be down.


invite code command working

To Test:

Log on to JabbR in two separate browsers as two different users
In one of the browsers, create a new room
Go into the database and manually set the room as private in the ChatRooms table
Restart JabbR. And you should see the new room has a little lock on it
Go into the private room as both users on both browsers (the owner of the room should be able to get in, the other user should NOT be able to join)
As the owner of the room , run the /invitecode  command. It should say "the invite code is [code]" (save this invite code somewhere or just copy it)
As the other user in the other browser, in the lobby type /join [roomName] [code] and this user should now be able to join the private room. Once this new user is in the private room , see if they can run /invitecode. They should be able too and it should have the same results as earlier.
-Restart JabbR again , and test that both users can still join the private room and run the /invitecode command

@gcrev93 InviteCodeCommand works as expected! Tested with multiple users. An Admin account can enter the private room without a code (which is how it should be). Having slight issues with the UI and the room registering and showing that others have entered the private room. Messages are not being recieved. Not sure if this is a SignalR context issue (most likely).

I recommend waiting for @jcocchi to implement LockCommand, retesting then merge.


Linux dirs creation/deletion reporting which fixes #4 and #10

Fix for issues #4 and #10 by properly reading the bits mask field in the inotify_event struct.
This change also:

Adds a watch for created directories if DMON_WATCHFLAGS_RECURSIVE was set by the user.
Removes empty spaces at end of lines (done automatically by lite-xl editor)

nice!
thanks a lot,
I'm a bit loaded with other projects, Last night I could take a look and found out there are some other regression bugs in there created by myself, but didn't have the time to fix update recursive dirs.
I appreciate the MR


Matching Engine: filtering with restricts not working as expected

When running a query with or without restricts on my Matching Engine index, I always end up getting the same result.
For example, I sent the following restricts along with my query:
restricts = [{'namespace': 'color', 'allow_list': ['red']}]
Which ends up returning the following datapoint (using find_neighbors):
print(datapoint.restricts)
[
namespace: "color"
allow_list: "blue"
allow_list: "green",
namespace: "shape"
allow_list: "round",
namespace: "size"
allow_list: "small"
]

Since red isn't in the allow_list of the returned datapoint, I expect that this datapoint should get ignored. Is my understanding wrong here? Why is it still being returned?
More detailed implementation:
# Setup
client = aiplatform_v1beta1.MatchServiceClient(
    client_options=MY_CLIENT_OPTIONS,
)
request = aiplatform_v1beta1.FindNeighborsRequest(
    index_endpoint=MY_ENDPOINT,
    deployed_index_id=MY_INDEX,
    return_full_datapoint=True
)

# Setting up my restricts
restricts = [{'namespace': 'color', 'allow_list': ['red']}]

# Querying
datapoint = aiplatform_v1beta1.IndexDatapoint(
    datapoint_id="0", feature_vector=MY_FEATURE_VECTOR, restricts=restricts
)
query = aiplatform_v1beta1.FindNeighborsRequest.Query(
    datapoint=datapoint, neighbor_count=1
)
request.queries.append(query)
response = client.find_neighbors(request)
neighbors = response.nearest_neighbors[0].neighbors

# Display result
print("input:")
print(datapoint.restricts)
print("output:")
print(neighbors[0].datapoint.restricts)

Which returns:
input:
[namespace: "color"
allow_list: "red"
]

output:
[
namespace: "color"
allow_list: "blue"
allow_list: "green",
namespace: "shape"
allow_list: "round",
namespace: "size"
allow_list: "small"
]

Specifications

Version: google-cloud-aiplatform==1.28.0

The issue is resolved by replacing:
request.queries.append(query) with request.queries = [query]
The problem was that I was running the query twice. First without restricts, then with restricts.
This means that the second query got appended to the request.queries list which already contained the first query.
And since I'm doing ...
response.nearest_neighbors[0]
... I only get the results from the first query in both cases.


UI: Changed the padding of y-axis in the privacy policy page to decrease … #144

PR Description:
This PR solves the issue of unnecessary blank space or extra padding on the Y-axis in the privacy policy route. Gave different padding values to different screens to ensure responsiveness across multiple devices.
Fixes #144

Hi,
If anyone is seeing this PR, I have solved the padding issue that I created earlier. Kindly review this PR so it can be merged into production.

Hey @poswalsameer   rakshit will soon be sharing a project timeline with all, he is  building v2 rn once thats done it's ready to take  forward

Hi, If anyone is seeing this PR, I have solved the padding issue that I created earlier. Kindly review this PR so it can be merged into production.

Hey @poswalsameer  rakshit will soon be sharing a project timeline with all, he is  building v2 rn once thats done it's ready to take  forward, after that contributions are most welcomed

Hey @poswalsameer rakshit will soon be sharing a project timeline with all, he is building v2 rn once thats done it's ready to take forward

Hi, If anyone is seeing this PR, I have solved the padding issue that I created earlier. Kindly review this PR so it can be merged into production.

Hey @poswalsameer rakshit will soon be sharing a project timeline with all, he is building v2 rn once thats done it's ready to take forward, after that contributions are most welcomed

Alright, I will be waiting for the v2 to go on prod, so we can start contributing to it.

Hi guys @vatan45 @poswalsameer , i'll merge this for now. Getting v2 done ASAP.

Hi guys @vatan45 @poswalsameer , i'll merge this for now. Getting v2 done ASAP.

Hi, thanks for merging. Waiting for the v2 to contribute to it more.

yes just caught up with work, we've got the oauth credentials from chesscom so a whole new auth flow will be dropping soon

yes just caught up with work, we've got the oauth credentials from chesscom so a whole new auth flow will be dropping soon

sounds cool!


I could not  change font weight or font size

could you please tell me How to make the font bold and increase the font size?

hallo,
in my recent solustion, i use printBitmap to print receipt, you can check my new update about print bitmap


fix(deps): update input follows

In 5bdbaf39, the dream2nix input got updated to a version that includes all-cabal-json as an input. The tarball for that input is ~192 MB, and when extracted, it produces so many files that it takes some of my less powerful systems upwards of 20 minutes just to chech the NAR hash.
As far as I can tell, we don't actually make use of any dream2nix functions that use this input. I also noticed that other unused inputs had been overriden to point to nixpkgs, which I assume was done to avoid downloading them too.
This pull request updates the follows values for the unused inputs so that they're all set to "", meaning nothing will be downloaded for them.
It might also be a good idea to modify the flake update workflow so that it checks whether any new inputs have been added, to avoid this sort of thing happening again in the future.

Thanks for the PR!


parameter 'path' references an unresolved type 'Stdlib::UnixPath'

Affected Puppet, Ruby, OS and module versions/distributions

Puppet: 4.8.2
Ruby: 2.1.0p0
Distribution: CentOS 7.2
Module version: 3.0.0 and later

How to reproduce (e.g Puppet code you use)
logrotate::rule { 'sssd':
      path          => '/var/log/sssd/*.log',
      rotate        => 4,
      rotate_every  => 'week',
    }

What are you seeing
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Logrotate::Rule[sssd]: parameter 'path' references an unresolved type 'Stdlib::UnixPath'

What behaviour did you expect instead
run without errors

@bp85 It looks like you're missing a recent version of stdlib, no?

No response, closing


Add array uptime to OME GitHub

Hi team, please it's possible to include the array uptime that now is available with purity 6.6.x with command purearray list --controller in the OME GithHub
My customer wants to add it to their prometheus portal.

Hi, thanks for the issue.
we already have this metric as purefa_hw_controller_mode_since_timestamp_seconds
Which is available in both this exporter, and the native 6.6.11 exporter.
@james-laing can you look into adding it into our Grafana example dashboards?


[flakytest] LLCRealtimeClusterIntegrationTest.testInvertedIndexTriggering

https://github.com/apache/pinot/actions/runs/3419762999/jobs/5693691165
https://github.com/apache/pinot/actions/runs/3416093989/jobs/5685886707
https://github.com/apache/pinot/actions/runs/3390452918/jobs/5634615231

This is caused by a bug (or undesired behavior) in real-time freshness calculation: when a new consuming segment is created without consuming records from upstream, the freshness value will be reset to 0. This fails the check in the test


Embedding dimension when using BGEM3FlagModel

First of all Thank you for the amazing work. We use multiple encoders from Sentence transformers in our repo and so I wanted to know if there is any way we could get embedding dimension similar to SentenceTransformers's model.get_sentence_embedding_dimension() when we using model from BGEM3FlagModel class?

Hello, @shriram1998! Thank you for your suggestion. We will add this function in the next version to support this.


CAS-229: Add current user to Leaderboard

Ticket: CAS-229
Description:
Adds Current User to the Leaderboard, if wallet is connected. Leaderboard API now returns a user if passed an address.

When I try to cast a vote on a community that I just created I receive the error ERROR: relation "user_achievements" does not exist (SQLSTATE 42P01)

Checking it out - it seems like the database/migration are out of sync and that has created an issue. I have dropped everything locally, ran the migrations and voted via the UI and it all worked as expected.


Update example kube file to use rust smallbank tp

Signed-off-by: Ryan Beck-Buysse<EMAIL_ADDRESS>

Depends on PR #2213 being merged and nightly artifacts being published.


Testing send->message api route

looking at this code
https://github.com/hackla-engage/CouncilTag-Django/blob/0066944929d2675e6b491e57b92b9871b5b862a5/CouncilTag/api/views.py#L98
 curl -d '{"content":"value", "ag_item":1}' --verbose -H "Content-Type: application/json" -X POST https://council-tag.herokuapp.com/api/send/message/
Note: Unnecessary use of -X or --request, POST is already inferred.
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to council-tag.herokuapp.com (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: C=US; ST=California; L=San Francisco; O=Heroku, Inc.; CN=*.herokuapp.com
*  start date: Apr 19 00:00:00 2017 GMT
*  expire date: Jun 22 12:00:00 2020 GMT
*  subjectAltName: host "council-tag.herokuapp.com" matched cert's "*.herokuapp.com"
*  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA
*  SSL certificate verify ok.
> POST /api/send/message/ HTTP/1.1
> Host: council-tag.herokuapp.com
> User-Agent: curl/7.54.0
> Accept: */*
> Content-Type: application/json
> Content-Length: 32
>
* upload completely sent off: 32 out of 32 bytes
< HTTP/1.1 302 Found
< Connection: keep-alive
< Server: gunicorn/19.7.1
< Date: Thu, 12 Apr 2018 02:26:31 GMT
< Content-Type: text/html; charset=utf-8
< Location: /api/login?next=/api/send/message/
< X-Frame-Options: SAMEORIGIN
< Content-Length: 0
< Vary: Cookie
< Via: 1.1 vegur
<
* Connection #0 to host council-tag.herokuapp.com left intact

is this correct?

 curl -d<EMAIL_ADDRESS>"user": "test0", "name": "test0", "password": "password"}' --verbose -H "Content-Type: application/json" -X POSTapp.com/api/signup/g.herokua
Note: Unnecessary use of -X or --request, POST is already inferred.
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to council-tag.herokuapp.com (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: C=US; ST=California; L=San Francisco; O=Heroku, Inc.; CN=*.herokuapp.com
*  start date: Apr 19 00:00:00 2017 GMT
*  expire date: Jun 22 12:00:00 2020 GMT
*  subjectAltName: host "council-tag.herokuapp.com" matched cert's "*.herokuapp.com"
*  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA
*  SSL certificate verify ok.
> POST /api/signup/ HTTP/1.1
> Host: council-tag.herokuapp.com
> User-Agent: curl/7.54.0
> Accept: */*
> Content-Type: application/json
> Content-Length: 92
>
* upload completely sent off: 92 out of 92 bytes
< HTTP/1.1 500 Internal Server Error
< Connection: keep-alive
< Server: gunicorn/19.7.1
< Date: Tue, 24 Apr 2018 02:09:45 GMT
< Content-Type: text/html
< X-Frame-Options: SAMEORIGIN
< Content-Length: 27
< Vary: Cookie
< Via: 1.1 vegur
<
* Connection #0 to host council-tag.herokuapp.com left intact

Server Error (500)

tried again

Test on the dev server url. That has the most work on it right now
On Mon, Apr 23, 2018, 7:10 PM hungrymonkey<EMAIL_ADDRESS>wrote:

curl -d<EMAIL_ADDRESS>"user": "test0", "name": "test0", "password": "password"}' --verbose -H "Content-Type: application/json" -X POSTapp.com/api/signup/g.herokua
Note: Unnecessary use of -X or --request, POST is already inferred.

Trying <IP_ADDRESS>...
TCP_NODELAY set
Connected to council-tag.herokuapp.com (<IP_ADDRESS>) port 443 (#0)
ALPN, offering h2
ALPN, offering http/1.1
Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
successfully set certificate verify locations:
CAfile: /etc/ssl/cert.pem
CApath: none
TLSv1.2 (OUT), TLS handshake, Client hello (1):
TLSv1.2 (IN), TLS handshake, Server hello (2):
TLSv1.2 (IN), TLS handshake, Certificate (11):
TLSv1.2 (IN), TLS handshake, Server key exchange (12):
TLSv1.2 (IN), TLS handshake, Server finished (14):
TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
TLSv1.2 (OUT), TLS change cipher, Client hello (1):
TLSv1.2 (OUT), TLS handshake, Finished (20):
TLSv1.2 (IN), TLS change cipher, Client hello (1):
TLSv1.2 (IN), TLS handshake, Finished (20):
SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
ALPN, server did not agree to a protocol
Server certificate:
subject: C=US; ST=California; L=San Francisco; O=Heroku, Inc.; CN=*.herokuapp.com
start date: Apr 19 00:00:00 2017 GMT
expire date: Jun 22 12:00:00 2020 GMT
subjectAltName: host "council-tag.herokuapp.com" matched cert's "*.herokuapp.com"
issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA
SSL certificate verify ok.

POST /api/signup/ HTTP/1.1
Host: council-tag.herokuapp.com
User-Agent: curl/7.54.0
Accept: /
Content-Type: application/json
Content-Length: 92

upload completely sent off: 92 out of 92 bytes
< HTTP/1.1 500 Internal Server Error
< Connection: keep-alive
< Server: gunicorn/19.7.1
< Date: Tue, 24 Apr 2018 02:09:45 GMT
< Content-Type: text/html
< X-Frame-Options: SAMEORIGIN
< Content-Length: 27
< Vary: Cookie
< Via: 1.1 vegur
<
Connection #0 to host council-tag.herokuapp.com left intact

Server Error (500)
tried again
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hackla-engage/CouncilTag-Django/issues/42#issuecomment-383780248,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAs5OJYsM10a7JBQB1RscYXdIHtpvrmdks5trol-gaJpZM4TRCS-
.

dev server url?
curl -d<EMAIL_ADDRESS>"name": "test0", "password": "password"}' --verbose -H "Content-Type: application/json" -X POST https://council-tag.herokuapp.com/api/signup/
Note: Unnecessary use of -X or --request, POST is already inferred.
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to council-tag.herokuapp.com (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: C=US; ST=California; L=San Francisco; O=Heroku, Inc.; CN=*.herokuapp.com
*  start date: Apr 19 00:00:00 2017 GMT
*  expire date: Jun 22 12:00:00 2020 GMT
*  subjectAltName: host "council-tag.herokuapp.com" matched cert's "*.herokuapp.com"
*  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA
*  SSL certificate verify ok.
> POST /api/signup/ HTTP/1.1
> Host: council-tag.herokuapp.com
> User-Agent: curl/7.54.0
> Accept: */*
> Content-Type: application/json
> Content-Length: 75
>
* upload completely sent off: 75 out of 75 bytes
< HTTP/1.1 500 Internal Server Error
< Connection: keep-alive
< Server: gunicorn/19.7.1
< Date: Tue, 24 Apr 2018 02:11:27 GMT
< Content-Type: text/html
< X-Frame-Options: SAMEORIGIN
< Content-Length: 27
< Vary: Cookie
< Via: 1.1 vegur
<
* Connection #0 to host council-tag.herokuapp.com left intact

Server Error (500

@ShariqT  are there other url that i do not know of?

@ShariqT
curl -d<EMAIL_ADDRESS>--verbose https://council-tag.herokuapp.com/api/signup/
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to council-tag.herokuapp.com (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: C=US; ST=California; L=San Francisco; O=Heroku, Inc.; CN=*.herokuapp.com
*  start date: Apr 19 00:00:00 2017 GMT
*  expire date: Jun 22 12:00:00 2020 GMT
*  subjectAltName: host "council-tag.herokuapp.com" matched cert's "*.herokuapp.com"
*  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA
*  SSL certificate verify ok.
> POST /api/signup/ HTTP/1.1
> Host: council-tag.herokuapp.com
> User-Agent: curl/7.54.0
> Accept: */*
> Content-Length: 57
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 57 out of 57 bytes
< HTTP/1.1 201 Created
< Connection: keep-alive
< Server: gunicorn/19.7.1
< Date: Tue, 24 Apr 2018 02:25:14 GMT
< Content-Type: application/json
< Vary: Accept, Cookie
< Allow: POST, OPTIONS
< X-Frame-Options: SAMEORIGIN
< Content-Length: 143
< Via: 1.1 vegur
<
* Connection #0 to host council-tag.herokuapp.com left intact
{"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6Im1vbmtleWJveXRlZEB5YWhvby5jb20ifQ.DssRY0hR5mbzJ6UkawuapU2w1Ogq-xngr4VgBXXmqHk"}

i think they both work

curl -d<EMAIL_ADDRESS>--verbose https://council-tag.herokuapp.com/api/login/
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to council-tag.herokuapp.com (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: C=US; ST=California; L=San Francisco; O=Heroku, Inc.; CN=*.herokuapp.com
*  start date: Apr 19 00:00:00 2017 GMT
*  expire date: Jun 22 12:00:00 2020 GMT
*  subjectAltName: host "council-tag.herokuapp.com" matched cert's "*.herokuapp.com"
*  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA
*  SSL certificate verify ok.
> POST /api/login/ HTTP/1.1
> Host: council-tag.herokuapp.com
> User-Agent: curl/7.54.0
> Accept: */*
> Content-Length: 46
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 46 out of 46 bytes
< HTTP/1.1 201 Created
< Connection: keep-alive
< Server: gunicorn/19.7.1
< Date: Tue, 24 Apr 2018 03:00:25 GMT
< Content-Type: application/json
< Vary: Accept, Cookie
< Allow: POST, OPTIONS
< X-Frame-Options: SAMEORIGIN
< Content-Length: 139
< Set-Cookie: csrftoken=6KcbhFN9ITnisiNb3X02rKM3TaeyArVhriODLQYDHYCdv2pDFUk5XIn4acmBjMwr; expires=Tue, 23-Apr-2019 03:00:25 GMT; Max-Age=31449600; Path=/
< Set-Cookie: sessionid=rx6j9kvgz2is80bsmnri4c42zj3ebq94; expires=Tue, 08-May-2018 03:00:25 GMT; HttpOnly; Max-Age=1209600; Path=/
< Via: 1.1 vegur
<
* Connection #0 to host council-tag.herokuapp.com left intact
{"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJlbWFpbCI6Im1vbmtleWJveXRlZEB5YWhvby5jb20ifQ.6MlhS0sZR6yIlPpWAiTKg2YurvjHY1fdpyQ6JuKvsFU"}

curl -d 'user=test0&password=password' https://council-tag.herokuapp.com/api/login/

Server Error (500)

The dev server has the message API endpoint and some of the other most
recent changes. So use that
On Mon, Apr 23, 2018, 8:01 PM hungrymonkey<EMAIL_ADDRESS>wrote:

curl -d 'user=test0&password=password' https://council-tag.herokuapp.com/api/login/
Server Error (500)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hackla-engage/CouncilTag-Django/issues/42#issuecomment-383788148,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAs5ONkqC9XUM6lH7SlFOY5LkUycv4gfks5trpWcgaJpZM4TRCS-
.

ok
https://github.com/hackla-engage/CouncilTag-Django/issues/43


Random Connection Errors

Is the below error on my server's end or Instagram's? I'm only doing a handful of calls an hour so I don't believe I am being rate-limited. Only happens sporadically. Any thoughts? Thanks!
PHP Fatal error:  Uncaught Instagram\API\Framework\InstagramException: Instagram Request failed: [POST] [https://i.instagram.com/api/v1/media/MEDIA_ID_HERE/like/] Failed to connect to 2a03:2880:f21b:c4:face:b00c:0:43fe: Network is unreachable (Code 7)

Up


use github app instead of personal access token

for fetching the pro examples from the private repo, we need a github access token. currently, we are using a PAT (personal access token) but this is not ideal as these are valid only for 90days max. we should switch to our own github app that should live under the xyflow org (not in the personal user account).

another option would be to push the pro examples to upstash using github actions (already have repo access). this way we would further decouple the pro examples from the pro platform

this was fixed #51


Support for lazy component imports

dynamic() is really nice to make our code cleaner.
Yet it could be even better.
Right now every component inside dynamic loads at the same time when user visits the page. It would be nice to have them load on-demand, with lazy imports.  The reason behind this feature request is that once your application grows and we have dozens of routes/pages, the browser then "downloads" all components at once and the initial page load can be longer, especially on mobile networks.
The lazy import should look like this (keep in mind the svelte:component needs to change too to something like this):
<svelte:component this={dynamic($path, [
  ['/', () => import('./Home.svelte')],
  ['/about',  () => import('./About.svelte')],
  ['/blog',  () => import('./Blog.svelte')],
  ['/blog/:post',  () => import('./Post.svelte'), {id: $params['post']}],
],  () => import('./Error.svelte'))} />

Fair enough, I'll implement this in a next version. However, probably will have to be in a separate dynamicAsync() function or something like this.

Any updates on this?

I intend to implement this in upcoming version 3.0 which will be svelte 5 compatible, as I mentioned in #8. I'll be closing this issue when I finish it.


fix: Allow quota project to be used in combination with null credentials

Credentials may be null, e.g. when connecting to an emulator. This fix makes it possible to use null credentials in combination with setting quota project id, something that may be useful in testing.

Hello @irock - thank you for your contribution!
Active development for this project has moved to https://github.com/googleapis/sdk-platform-java/tree/main/gax-java
Please reopen your PR in the new location to have it reviewed by the appropriate people.

Thanks for letting me know!
Opened issue https://github.com/googleapis/sdk-platform-java/issues/1687 and PR https://github.com/googleapis/sdk-platform-java/pull/1688.


Add support for SSH in git-sync

@ghodss @huggsboson

@huggsboson @rw103 I changed to writing a wrapper script instead of writing a config file, let me know what you think. We're still not fully out of the woods with running as root, given the clunky copy-and-chmod needed for the ssh key secret, but I'm looking into better ways of handling that.

Looking very close! :)


How to get the loading when re-fetching

I want to get the loading status even when I re-fetch.
With this method, I don't get the loading state when I re-fetch (validation, pagination, reactive parameter changes).
  if (data.value === undefined && !error.value) {
    state.value = STATES.PENDING
    return
  }

Is there any way to get the loading state even when re-fetching?

Check out https://github.com/Kong/swrv#useswrvstate for a way to calculate states. You can use isValidating here.

thanks.
It's resolved!
By using isValidating, I was able to make the loading state due to parameter changes!


Replace DBPurge Debug boolean with CronJob

We previously introduced a DBPurge boolean under the GlanceDebug struct to make sure we were able to trigger a cronJob in debug mode. Since the first patch multiple cronjobs have been added (pruner and cleaner), hence it makes sense to change the boolean variable name to something that is valid and meaningful for a generic cronjob object.
This patch concludes the image-cache series support in the glance-operator.

/retest-required


Simplifying forwarding logic a bit

Main changes

Split publisher side mute and subscriber side mute to enhance chances of a quicker restart on publisher side unmute
Try to hold current layer as much as possible so that forwarding can resume/continue as much as possible.

Reviewers: can use eagle 👀 . Ended up with something simpler than some of my intermediate efforts on this. But, I did end up twisting myself up in knots in between, so it is possible that I am missing something.
Some more things to do

Get rid of notion of available layers - don't think we need it
One of the goals is to be a bit more resilient to stream tracker false negative (i. e. it declaring layer stop when layer is not really stopped, but just has very low frame rate). This does not cover all cases. Need to spend another cycle specifically looking at that.
Clean up StreamStateUpdate to send pause/resume only on congestion/congestion relieve events.

More comments inline.

Thank you for the review @cnderrauber .
@davidzhao @paulwe Going to merge this based on @cnderrauber 's review. But, please let me know if you have any feedback and I will address in a subsequent PR. Want to get more people using this and get more soak to catch any corner case I may have missed.


Scope and time scheduling of the meeting for setting of diploma thesis for the review process - 2024#1 (issue #1071 related)

The goal is to schedule the meeting in Teams calendar on 2024.12.12 at 20:30.

Meeting has been scheduled.