1.0.8

Coverage remained the same at 100.0% when pulling 8055442a81ec3b428d9743266a4b9af3af08c212 on yarn into 7e4be70d52f214a5c23b870f7e897262b07cea50 on master.

Coverage remained the same at 100.0% when pulling 0c950dddb271cc3f588c0521f5964f3ea3904e4b on yarn into 7e4be70d52f214a5c23b870f7e897262b07cea50 on master.


chore: merge agoric-upgrade-6 back into Agoric

Close out the special-purpose development branch. The Agoric branch hasn't been modified since the branch point.

Codecov Report

Merging #18 (31c78ba) into Agoric (9f6c04c) will decrease coverage by 0.07%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           Agoric      #18      +/-   ##
==========================================
- Coverage   11.33%   11.26%   -0.08%
==========================================
  Files          11       11
  Lines        1085     1092       +7
==========================================
  Hits          123      123
- Misses        956      963       +7
  Partials        6        6

Impacted Files
Coverage Δ

app/ante_handler.go
0.00% <0.00%> (ø)

app/app.go
0.57% <0.00%> (-0.02%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Stale lint finding - ignoring.


Number of pubs on the map

This is what you see when you click on Browse pubs.
The map is not showing the reality of the pubs' distribution we have.
Can we fix this so that it shows more pubs in other locations? Dublin, Galway and other locations we have.
This is about setting expectations to users when visiting our site and they see this map which shows only one location with pubs.

The truth is it's just charging the first few last pubs it have been added in the database. The issue is the same as #83.
I guess I could figure out something but that will be a hack and non-trivial.

Sounds good.
Let's see what we can do with  the map and the pubs shown there.


All disks encryption - Azure

Azure disk encription manual process is decribed in Azure documentation and it's quite easy
https://docs.microsoft.com/en-us/azure/security/fundamentals/azure-disk-encryption-vms-vmss
Basically firstly keyvault needs to be created where encryption key will be stored and than machine encryption is possible from az cli.
There is also possible to apply encryption using Terraform.
Kayvault creation:
https://www.terraform.io/docs/providers/azurerm/r/key_vault.html
But this doesn't work (for me) with azurerm 1.27 version which is setup in epicli 0.4.2. I needed to use version 1.38.0.
After when kayvault is created diskencrypt Terraform module should be used for disk encryption:
https://registry.terraform.io/modules/Azure/diskencrypt/azurerm/2.0.0
This needs to be checked. I haven't tested it well because of problems with my local environment.

As for the keyvault creation with Terraform there is/was an issue with the creation of azurerm_subnet_network_security_group_association with azurerm 1.28 when having more then 3 subnets. Some kind of order issues when it was creating the resources on Azure:
https://www.terraform.io/docs/providers/azurerm/r/subnet_network_security_group_association.html
Hense I locked it at 1.27. We might want to try if the latest Azurerm 1.38 fixes the problem. All the code is there:
https://github.com/epiphany-platform/epiphany/blob/3c4f284cd2426c58a6c36e7e49f553d1100fa8e0/core/src/epicli/cli/engine/providers/azure/InfrastructureBuilder.py#L66
Then again Im not sure if Azurerm 1.38 needs any additional changes to the templates.


Authentication error

Anyone else has trouble on authenticate on https://www.weback-login.com/WeBack/WeBack_Login_Ats_V3
Always return fail... they change something?

No problem. You may use bad authentication information.
 I create a test account, in app works fine, but on api keeps getting fail
curl --location --request POST 'https://www.weback-login.com/WeBack/WeBack_Login_Ats_V3'
--header 'Content-Type: application/json'
--data-raw '{
"App_Version": "android_3.9.3",
"Password": "09134b78b78ab5f22a16781758d3ccb6",
"User_Account"<EMAIL_ADDRESS>}'
Region: Brazil - +55
Email<EMAIL_ADDRESS>password: weback1234

I'm trying to auth with Tesvor X500, but Sam not able connect. Password or username incorrect. I double checked via weback app and also tried a telephone number instead of email. Any clues what I can do?

I had the same issue, but solution was easy. I just hadn't updated my client.py and hence missed the change, Tim made last year  exactly for this error "CERTIFICATE_VERIFY_FAILED".

So what needs to be changed? Sorry for my dumb question.

Hello Georg,
I don‘t know your own setup using the module. I have a main program based on vacuum.py with my own modifications. This uses the class WebackApi from the file weback_unofficial/client.py. I only replaced my old client.py file with the updated one out of the repository. And I use my phone number as user to login in form +49-015……..  hope this helps

Iam using latest. Tried with email and phone number (also germany +49). But iam always getting the authentification error.

my last idea: check your Python environment regarding SSL certification
pip3 install certifi --upgrade

thats already satisfied. Does the example from sysonebr work on your side?

I found a github site saying api has changed.
curl --location --request POST 'https://user.grit-cloud.com/oauth' --header 'Content-Type: application/json' --data-raw '{"payload":{"opt":"login","pwd": "PW HASH"},"header":{"language":"de","app_name":"WeBack","calling_code":"COUNTRY CODE e.g 0049","api_version":"1.0","account":"EMAIL OR TEL","client_id":"yugong_app"}}'
this worked for me and i got a positive response.

I found a github site saying api has changed.
curl --location --request POST 'https://user.grit-cloud.com/oauth' --header 'Content-Type: application/json' --data-raw '{"payload":{"opt":"login","pwd": "PW HASH"},"header":{"language":"de","app_name":"WeBack","calling_code":"COUNTRY CODE e.g 0049","api_version":"1.0","account":"EMAIL OR TEL","client_id":"yugong_app"}}'
this worked for me and i got a positive response. marcelkordek/homebridge-tesvor#4 (comment)

alright, and what next ? after login ? if api changed everything else changed too..

I've rewrite a plugin to use the new API.
But it's for Jeedom, not HomeAssistant.
If you want to see how to use new API check my repo : Jezza34000/Weback
New API does not use HTTPS anymore to send command it use WSS and it make architecture completely different.

Did anyone found a documentation or a fix?

@GeorgKlaussner there is no fix, new api isnt backward compatible, and u need to register to new api. old login wont work with new api, i tried in my nodejs app. also all devices u had registered wont be accessible in new api, you need to register them again.


Seeking to certain points of a video leads to buffering happening outside of the desired range

I'm testing shaka player with a fairly standard MPD. The total duration of my video is around 540 s.
When I try to use seeking I'm finding a very weird issue where if I execute the following command in the chrome console:
document.getElementById('video').currentTime = 100
The video gets stuck in a buffering state. When I check the buffered property of the video I can see that for some reason the buffer starts a few seconds after the 100s mark.
> document.getElementById('video').currentTime = 100.0
< 100
> document.getElementById('video').buffered.start(0)
< 109.412426
> document.getElementById('video').buffered.end(0)
< 127.04

Oddly enough if I try to seek using the same method to the 200s mark it works fine and the buffers include the time I'm trying to play.
> document.getElementById('video').currentTime = 200.0
< 200
> document.getElementById('video').buffered.start(0)
< 193.329342
> document.getElementById('video').buffered.end(0)
< 221.08

It seems like in some cases the player is fetching the chunk just ahead of the one the one that I need. Is there some configuration I could have missed? What are good ways to try to debug this issue?

There are a number of ways a manifest could be inaccurate, and we do our best to compensate.  But some content is just broken (badly-encoded, missing or wrong information in the manifest, etc.)  It could also be a true bug in the client.  I don't think I've seen exactly this behavior before, so it's hard to guess.
Could you also check these values after seeking to 100?
app.player_.videoSource_.streamsByType_.video.sbm_.sourceBuffer_.buffered.start(0);
app.player_.videoSource_.streamsByType_.video.sbm_.sourceBuffer_.buffered.end(0);
app.player_.videoSource_.streamsByType_.audio.sbm_.sourceBuffer_.buffered.start(0);
app.player_.videoSource_.streamsByType_.audio.sbm_.sourceBuffer_.buffered.end(0);

The video element's buffered range is the intersection of the individual SourceBuffer ranges, so it would be informative to know what the SourceBuffers have to say.  Often-times, one stream or the other is actually the cause.
Also, is the stream publicly available?  If our team had access to the manifest and the content, that would really help.  If this is not something you can share publicly, please feel free to send me a private email.

Running the values of the audio and video buffer independently yield similar results
> app.player_.videoSource_.streamsByType_.video.sbm_.sourceBuffer_.buffered.start(0);
< 109.4
> app.player_.videoSource_.streamsByType_.audio.sbm_.sourceBuffer_.buffered.start(0);
< 109.412426
> app.player_.videoSource_.streamsByType_.video.sbm_.sourceBuffer_.buffered.end(0);
< 226.8
> app.player_.videoSource_.streamsByType_.audio.sbm_.sourceBuffer_.buffered.end(0);
< 540

I'll send you the link to the stream privately so you can check it out.

Thanks, @javess.  We'll take a look and try to reproduce.

Here's a simplified version of what I'm seeing in the manifest:
<SegmentTemplate timescale="25000" duration="175454" startNumber="0" media="segment_$Number$.m4s" initialization="init.mp4"/>
duration / timescale gives each segment a length of 7.018 seconds.  Segment 0 starts at t=0, segment 1 starts at t=7.018, etc.
Let's calculate the segment which contains t=100.  100 / 7.018 = 14.249, so we expect timestamp 100 to be in segment 14.  According to the manifest, segment 14 should start at t=98.254 and end at t=105.272.
If I examine the segments, this is what I find:

Segment Number
Calculated Timestamp
Actual Timestamp

0
0
0

1
7.018
10.920

2
14.036
22.920

3
21.054
32.920

...
...
...

14
98.254
109.400

So it seems that your manifest is inaccurate from the very beginning.  I don't think it's reasonable for the player to detect or handle this.
What encoder are you using?  How did you create this particular piece of content?

joey this was handed to me by a coworker but I believe it was done using bitmovin.
How did you examine the segments? I've been looking for a way to manually do that for a while

I used mp4info from Bento4.  Here's the skeleton of what I did:
# Download segments
wget http://foo.bar/path/to/init.mp4
wget http://foo.bar/path/to/segment_0.m4s

# Combine media segment with init segment so Bento4 can read the segment
cat init.mp4 segment_0.m4s > s0.mp4

# Show the first 10 frames and their timestamps:
mp4info --verbose --show-samples s0.mp4 | grep cts | head -n 10

Output looks like this:
[000001] size=   227 duration=  1000 (    40 ms) offset=      4134 dts=         0 (         0 ms) cts=      2000 (        80 ms) [0] [S]
[000002] size=    41 duration=  1000 (    40 ms) offset=      4361 dts=      1000 (        40 ms) cts=      6000 (       240 ms) [0]

[000003] size=    37 duration=  1000 (    40 ms) offset=      4402 dts=      2000 (        80 ms) cts=      4000 (       160 ms) [0]
[000004] size=    37 duration=  1000 (    40 ms) offset=      4439 dts=      3000 (       120 ms) cts=      3000 (       120 ms) [0]
[000005] size=    37 duration=  1000 (    40 ms) offset=      4476 dts=      4000 (       160 ms) cts=      5000 (       200 ms) [0]
[000006] size=    43 duration=  1000 (    40 ms) offset=      4513 dts=      5000 (       200 ms) cts=     10000 (       400 ms) [0]

[000007] size=    39 duration=  1000 (    40 ms) offset=      4556 dts=      6000 (       240 ms) cts=      8000 (       320 ms) [0]
[000008] size=    37 duration=  1000 (    40 ms) offset=      4595 dts=      7000 (       280 ms) cts=      7000 (       280 ms) [0]
[000009] size=    37 duration=  1000 (    40 ms) offset=      4632 dts=      8000 (       320 ms) cts=      9000 (       360 ms) [0]
[000010] size=    43 duration=  1000 (    40 ms) offset=      4669 dts=      9000 (       360 ms) cts=     14000 (       560 ms) [0]

Since this seems to be badly-encoded or badly-packaged content, I'm going to close this issue.  Please follow up with bitmovin for resolution and feel free to reference this conversation for the technical details.  Thanks for using Shaka!


[BANDWIDTH_THROTTLING] Remove httpStatus from recommendation coming from QuotaEnforcers.

This is a refactor only PR, with no logic changes.

Remove httpStatus from recommendation coming from QuotaEnforcers.
Change recommendedHttpStatus in ThrottlingRecommendation from int to HttpResponseStatus.

Codecov Report

Merging #2031 (527b4d8) into master (68e91ba) will decrease coverage by 58.41%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master    #2031       +/-   ##
=============================================
- Coverage     73.58%   15.16%   -58.42%
+ Complexity    10001     2291     -7710
=============================================
  Files           715      716        +1
  Lines         54714    54713        -1
  Branches       6785     6784        -1
=============================================
- Hits          40263     8299    -31964
- Misses        12303    45932    +33629
+ Partials       2148      482     -1666

Impacted Files
Coverage Δ

...va/com/github/ambry/quota/QuotaRecommendation.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...c/main/java/com/github/ambry/quota/QuotaUtils.java
0.00% <0.00%> (-21.06%)
:arrow_down:

...in/java/com/github/ambry/quota/ThrottlePolicy.java
0.00% <0.00%> (ø)

...m/github/ambry/quota/ThrottlingRecommendation.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...java/com/github/ambry/quota/MaxThrottlePolicy.java
0.00% <0.00%> (-96.78%)
:arrow_down:

...a/capacityunit/AmbryCapacityUnitQuotaEnforcer.java
0.00% <0.00%> (-80.00%)
:arrow_down:

...thub/ambry/quota/storage/StorageQuotaEnforcer.java
0.00% <0.00%> (-60.72%)
:arrow_down:

...github/ambry/quota/RejectRequestQuotaEnforcer.java
0.00% <ø> (-87.50%)
:arrow_down:

.../src/main/java/com/github/ambry/router/Router.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../src/main/java/com/github/ambry/store/Message.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 570 more

Continue to review full report at Codecov.

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

this all look good, but I am just wondering that if we should just return a boolean value from ThrottleRecommendation and let FrontendRestRequestService figure out which http status to send back. It seems like we only throw RestRequestException with a defined RestRequestErrorCode to FrontendRestRequestService. Maybe we should do the same thing for throttler.
This can come after this PR.


contrastratio

Hello,
I was wondering what you think about integrating in the model also a "colorContrast" method that check the color contrast between two colors.

That seems like a sensible function to have. I don't have time to implement it myself at present, but a pull request would be welcome.

Some notes on implementation based on information from https://www.w3.org/TR/WCAG/#visual-audio-contrast the relevant links for defining contrast ratios wrt to web standards:

https://www.w3.org/TR/WCAG/#contrast-ratiodef
https://www.w3.org/TR/WCAG/#relativeluminancedef

Any pull requests for this feature would need to satisfy these definitions.
These recommendations look like they should be implemented on the RGB model, unless it can be shown that the HSL luminance calculation is equivalent to the sRGB one from w3.

I suppose we can replicate what Lea Verou as already made in her contrast-ratio project.
https://github.com/LeaVerou/contrast-ratio/blob/gh-pages/color.js#L108

Yeah, I couldn't find anything related to HSL luminance...probably the only way to integrate this into also that model is to do an inner conversion to RGB and calculate on that the contrast-ratio. But doesn't look really elegant, even if it will work

It looks like a reasonable starting point; If nothing else it would prove a useful for testing correctness.

 The RGB model is the correct choice here simply because it means that the implementation of the algorithm can trivially be compared to the definition of the algorithm for ensuring correctness.
Regarding the HSL Luminance, it's just the L value so it would be a simple case of implementing the ratio calculation against that value. I think there's a separate issue here where the various conversions and calculations for the different models and values should be checked against the W3C definitions for those models in CSS. Ideally computing contrast ratios could be implemented on either of RGB or HSL and produce consistent results. This is one area where the project really shows its age (it largely predates CSS supporting a lot of this stuff).
† The magic is a little brittle when adding new models but maintaining the existing ones is fine. But implicit conversions is half the reason I wrote this originally; some operations just suit some models better. I would kind of like to make the models be used to define a graph and then calculate shortest paths to determine the conversions but that's fairly overkill.

Regarding the HSL Luminance, it's just the L value so it would be a simple case of implementing the ratio calculation against that value.
Not so sure about this, I've tried some values on the LeaVerou (assuming is correct) and here the results:

hsl(360,80%,30%) -> luminance: 0.10779410842543202
hsl(360,80%,90%) -> luminance: 0.7552837134836996
hsl(150,30%,90%) -> luminance: 0.8739183779656772

It's entirely plausible that the CSS specifications for HSL and RGB suffer from the same mapping concerns as color-js ;)


Default to PostgreSQL 13

[x] https://github.com/ManageIQ/container-postgresql/pull/41
[x] https://github.com/ManageIQ/manageiq-appliance-build/pull/532
[x] https://github.com/ManageIQ/manageiq-pods/pull/893
[x] https://github.com/ManageIQ/manageiq/pull/22129
[x] https://github.com/ManageIQ/manageiq-appliance_console/pull/192
[x] https://github.com/ManageIQ/manageiq-rpm_build/pull/309
[ ] Change default to PG13 for testing in travis, see here
[ ] Handle upgrades from 10 to 13 via dump/restore/pg_upgrade or other means

Note, the PG 10 final release is November 10, 2022.
https://www.postgresql.org/support/versioning/

Followup to K release PG 12 support https://github.com/ManageIQ/manageiq/issues/20580

Can the opening post be updated to reflect the active work in this area, such as

https://github.com/ManageIQ/manageiq/pull/22129
https://github.com/ManageIQ/manageiq-appliance_console/pull/192
https://github.com/ManageIQ/manageiq-rpm_build/pull/309

Thanks Oleg, done.


checksum fails easily by tikv timeout when restore big table with local backend

Bug Report
Please answer these questions before submitting your issue. Thanks!

What did you do? If possible, provide a recipe for reproducing the error.
When uses lightning to restore big table with local backend, I have seem several times in lightning logs with follows:

[2020/08/05 21:05:39.713 +08:00] [ERROR] [main.go:82] ["tidb lightning encountered error stack info"] [error="restore table `test`.`t` failed: compute remote checksum failed: Error 9002: TiKV server timeout"]

And further more, in some benchmark, after finishing load data, when manually exec select count(*) from table with big table, the select may fail with:
mysql> select count(*) from t;
ERROR 1105 (HY000): Execution terminated due to exceeding the deadline

By consulting @breeswish ,  The root cause for this is that tikv process subtask in one region execeeded 1 minute, Either because the region is too large or the task waited for too long.
I thinking the primary cause of this is that  With local backend, region key range is not accurate the size of 96M, thus maybe some region is too big.

What did you expect to see?
checksum should success without retry and select count(*) should return successfully

What did you see instead?

Versions of the cluster

Operation logs

Configuration of the cluster and the task

Screenshot/exported-PDF of Grafana dashboard or metrics' graph in Prometheus for TiDB-Lightning if possible

https://internal.pingcap.net/jira/browse/TIDB-4758
for your reference


[5.6][SymbolGraph] consider underscored symbols as private if they're internal

Cherry-pick of https://github.com/apple/swift/pull/41156
Explanation: Symbols that begin with an underscore are always treated as internal when generating a symbol graph. However, there are more nuanced semantics for them: Symbols that are already internal or less should be treated as private for the purposes of access level filtering. This PR introduces this logic.
Scope: This change is isolated to SymbolGraphGen, and should only affect symbol graphs which are generated with a -minimum-access-level of internal or less.
Issue: rdar://86294802
Risk: Low. This only affects SymbolGraphGen, and does not affect anything that happens during a regular compilation.
Testing: The lit test SymbolGraph/Symbols/SkipsPublicUnderscore was updated to verify the new logic.

@swift-ci please test


Getting 403 for a couple days now, wondering if this is permanent by MAL?

Good Morning,
Thanks for the great API!    I have a simple powershell script I've been using for a year or so that does a couple endpoint pulls from your API.  I just run this manually in a shell window on a per anime basis to create an informational text stub for a show.  I hit 3 different endpoints with the same malid.  The powershell commands doing the primary work are as follows...
Other IDs I've been trying to hit yesterday and today [32801,28121,10620,17827,2927,32924]
$malid = '18247'
$detailurl = "https://api.jikan.moe/v3/anime/$malid/"
$rns = Invoke-WebRequest -Uri $detailurl
$converted = ConvertFrom-JSON -InputObject $rns
$epurl = "https://api.jikan.moe/v3/anime/$malid/episodes"
$rep = Invoke-WebRequest -Uri $epurl
$converted = ConvertFrom-JSON -InputObject $rep
$churl = "https://api.jikan.moe/v3/anime/$malid/characters_staff"
$rch = Invoke-WebRequest -Uri $churl
$converted = ConvertFrom-JSON -InputObject $rch
I've been constantly hitting 403 on almost everything for a couple days now.  Wondering if this is new permanent state or if this might be resolved/released by MAL?   Any comments appreciated.

This is also interesting if I try one of the character examples I picked up from another page, I get a 200, but then try another show with a similar Invoke-WebRequest call and 403 again.  So I'm not really sure what's going on, if I just wait this out or if it's possibly something I'm doing?

Thanks!

I see this 403 issue is addressed on other pages.    I will consider the workaround options and see what happens.  Thanks for the comments and effort.


47 with token factory

attempts to ensure that all v0.31.x changes are present (I am not 100% sure of this)
uses cometbft in all places
uses ibc-go v7.1.x w/ wasm clients
uses cosmos-sdk v0.47.x
includes the token factory as a first class citizen

This PR contains:

https://github.com/CosmWasm/wasmd/pull/1208
#1205
#1204
#1200
#1149
#1201
#1105

With SDK 47 in main, I am closing this PR now. If there are any changes that were not included, please do small PRs with single purpose. This PR contains 231 files modified.
Token factory is a topic of it's own. I am against inlining the code. See #911

It's reasonable to close this; it had gotten rather long in the teeth.


responsive UI tweaks

show buttons below on mobile
make action buttons larger on mobile
prevent overflow with long text on desktop

#7  👈
main

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

Join @szamanr and the rest of your teammates on  Graphite


How to use social login google, with cognito?

Hi,
How can I configure react-admin-amplify to use a social auth provider, which I configured in amplify?
I tried to create a custom authProvider, but even passing the methods it doesn't authenticate, and it keeps returning "no user".
Example: https://gist.github.com/danjesus/6da3efcb7aa50a1443283c701731de2f
Has anyone ever needed to configure react-admin like this?
Some tip?

@MrHertal could you help me?

It just customize login screen, i just created a custom component.

@danjesus Could I see what you ended up doing?


using with kotlin, activejdbc_models.properties not found

I used (awesome) ActiveJDBC with kotlin and appended in build.gradle
activejdbc-gradle-plugin:2.2,
org.javalite:activejdbc:2.2,
org.javalite:activejdbc-kt:2.2
and apply plugin: 'org.javalite.activejdbc'
after, I met the following message.
'you are trying to work with models, but no models are found. Maybe you have no models in project, or you did not instrument the models. It is expected that you have a file activejdbc_models.properties on classpath'

so, I ran the 'instrumentModels' gradle task, and I met the below message.
> Task :instrumentModels FAILED
**************************** START INSTRUMENTATION ****************************
Directory: /Users/paz.raon/dev/my_project/build/classes/java/main

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':instrumentModels'.
> java.io.FileNotFoundException: /Users/paz.raon/dev/my_project/build/classes/java/main/activejdbc_models.properties (No such file or directory)

no java.. just kotlin.. I have a only build/classes/kotlin/.. directory.
anyway,
I created a 'activejdbc_models.properties' file to my resources directory with some definition. like this,
my.project.model.A:default
my.project.model.B:default

OK, good! run perfectly. but not fancy, What's the problem with me?

this file  is generated by instrumentation process, do not create manually.
here is hte problem:
/Users/paz.raon/dev/my_project/build/classes/java/main/activejdbc_models.properties (No such file or directory)

The file needs to be a the root of the classpath:
/Users/paz.raon/dev/my_project/build/classes/

not here:
/Users/paz.raon/dev/my_project/build/classes/java/main/


Fix formatting

Yeah, that is pretty awful rendering. Unfortunately, this file is autogenerated: "DO NOT EDIT: This file was auto-generated using make README.md" so the fix must be elsewhere. I fixed the problem with ab4cbba instead. Thanks for finding the problem!


[Docbug][link-correction][3076]

corrected links

Docs Build status updates of commit 9b6a089:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/webhooks-and-connectors/how-to/connectors-creating.md
:white_check_mark:Succeeded
View

msteams-platform/webhooks-and-connectors/how-to/connectors-using.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


[K12] When Current Grade Level field on Contact is Updated, Create/Update Grade Enrollment Record

Critical Changes
Changes
New Trigger Handler
We've added a new trigger handler (CON_CurrentGradeLevel_TDTM) that enables the following behaviors:

When you populate the Current Grade Level field on a new Contact record, this class creates a related Grade Enrollment record for the Contact and sets its status to Current.
When you update a Contact record that already has a value in the Current Grade Level field, this class creates a new Grade Enrollment record for the Contact and sets its status to Current. In this case, the previous Grade Enrollment’s status is set to Former.

Issues Closed
Closes #124
New Metadata
Deleted Metadata
Testing Notes

Passes QA - Merging
Will close WI


fixed small typos

[that file does not exist] I have read and complied with the Pull Request Contributing Guidelines.
[x] I checked if an an issue is necessary for my Pull Request and made sure it exists.
[n/a ] I have created a topic branch.
[x] I have used the Search Tool to make sure there are no open Pull Requests fixing the same thing.

Hi @tkimnguyen
Thanks for these fixes. Some of these typos still remain, but the patch no longer merges cleanly. Would you like to submit an updated patch and I'll make sure to merge it.

Sorry, I guess my tweaks mostly disappeared after resolving the conflicts. Oh well! :)

I think you may have merged the current master into the patch instead.
I'll close this PR and feel free to create a new one from scratch. I think 2 out of the 4 typos are still in the README, so it would definitively be great to fix them.


Add Markdown Lint to the CI pipeline

Won't add this as the linter will always throw errors due to HTML syntax being used in the README.md file.


Installation issue with torch 2.x

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
hey I just downloaded nerf studio via the git instruction
Expected behavior
--> installation
*Actual Result
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
functorch 1.13.1 requires torch<1.13.2,>=1.13.1, but you have torch 2.0.1+cu117 which is incompatible.
nerfstudio 0.2.2 requires torch<2.0.0,>=1.12.1, but you have torch 2.0.1+cu117 which is incompatible.
torchaudio 0.13.1+cu117 requires torch==1.13.1, but you have torch 2.0.1+cu117 which is incompatible.

so the current installation script seems not to be correct

Can you please uninstall functorch and install the newest nerfstudio?
pip install nerfstudio==0.3.0

it would be great if there were a way to specify that functorch should be automatically uninstalled

Perhaps issuing a warning if it is installed?


Zvbc: Define behaviour of vclmul[h].[vv,vx] in RV32 mode

What are vclmul[h].[vv,vx] instructions, that are part of Zvbc, supposed to do in RV32 mode?
The spec states that these instructions are reserved encoding if SEW is any value other than 64, which does not necessarily rule out RV32.
This has been raised on the Binutils mailing list by Jan Beulich: https://sourceware.org/pipermail/binutils/2023-July/128414.html

I could not find any mention of XLEN nor ELEN in the spec (I thought we discussed the case RV32 at some point but could only find this RFC https://github.com/riscv/riscv-crypto/blob/master/doc/supp/vector-clmul-rfc.md), this might indeed require some clarification.
The issue might lie with the .vx variants. For integer operations, the vector crypto spec states:

For integer operations, the scalar can be taken from the scalar x register specified by rs1. If XLEN>SEW, the least-significant SEW bits of the x register are used, unless otherwise specified. If XLEN<SEW, the value from the x register is sign-extended to SEW bits.

https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc#10-vector-arithmetic-instruction-formats
In the vclmul[h].v[v,x] case it would make more sense to zero-extend (to be confirmed) when XLEN=32.

Thanks for the question, Christoph. The answer lies in the pseudo code (Which I will reformat in the spec to make more readable.)
let op1 : bits (64) = if suffix =="vv" then get_velem(vs1,i)
                      else zext_or_truncate_to_sew(X(vs1));```

The xv form of the instruction reads X(vs2) and zero-extends it to SEW=64. When you need something other than 0s in the upper 32 bits of the vs1 operand, the vx form will not be very useful in RV32. However, the vv form will continue to operate.


Smartquote for Japanese

Description
I'd like to be able to use the smartquote for the Japanese language.
#set text(lang: "ja")
"日本語のテキストです"

To
「日本語のテキストです」

Use Case
Automatically have quotation marks for the Japanese language.

i don't think this is a common practice in cjk typesetting, at least not in Chinese.
A good news is that i guess you may implement this feature using show rule and regex without changing typst itself.

Customization for smart quotes is already implemented on main and will be in the next release.

I guess this issue could just be closed then?

i don't think this[1] is a common practice in cjk typesetting, at least not in Chinese.
A good news is that i guess you may implement this feature using show rule and regex without changing typst itself.
[1]: by "this" i mean typing " in source code and rely on typesetting engine to transform it into 「

Also I just thought of non native users with an English (or other) keyboard. Some people use the "A = あ" key order layout, and those keyboards use " instead of 「 from what I know. So for those users it could be nice.


Go-Swagger not generating properties in yaml file

Problem statement
The generated swagger.yaml file doesn't have properties of a response object. I have already checked this related issue
Steps to reproduce
Project Structure:
cmd
   -api
       -main.go
       -movies.go
internal
    -data
       -movies.go

cmd/api/movies.go
//swagger:route GET /movies movies listMovies
// Returns a list of movies
// responses:
//  200: moviesResponse
func (app *application) createMovieHandler(w http.ResponseWriter, r*http.Request){
//code here
}
// A list of movies
//swagger:response
type MoviesResponse struct {
    // All movies in system
    //
    //in: body
    Body    []data.Movie
}

internal/data/movies.go
type Movie struct {
ID int64 `json:"id"`
CreatedAt time.Time `json:"-"`
Title   string `json:"title"`
Year    int32 `json:"year,omitempty"`
Runtime int32 `json:"runtime,omitempty"`
Genres  []string `json:"genres,omitempty"`
Version int32 `json:"version"`
}

Generated swagger.yaml
paths:
    /movies:
        get:
            description: Returns a list of movies
            operationId: listMovies
            responses:
                "200":
                    $ref: '#/responses/moviesResponse'
            tags:
                - movies
responses:
    MoviesResponse:
        description: A list of movies
        schema:
            items: {}
            type: array

Command (at root of project) : swagger generate spec -w ./cmd/api/ -o ./swagger.yaml --scan-models
Environment
swagger version: 0.30.4
go version: go1.19.5 linux/amd64
OS:   Ubuntu 22.04.1 LTS
Additional info
go env:
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/tahir/.cache/go-build"
GOENV="/home/tahir/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/tahir/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/tahir/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.19.5"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build4028953291=/tmp/go-build -gno-record-gcc-switches"

https://github.com/go-swagger/go-swagger/issues/2897
Is that the same issue?

#2897
Is that the same issue?

Almost identical but in case of #2897 swagger.json has properties  if the go version is 1.19. But in my case it doesn't have properties even though go version is 1.19

I'm experiencing same issues and my go version is go1.20.1 darwin/arm64.
Is there an update on fixes for this?

We were able to workaround this by setting GOROOT when running the swagger command, e.g.:
GOROOT=~/sdk/go1.19.7 swagger generate spec

We believe this problem might be caused by go-swagger failing to import the encoding std package and ignoring the error.

I'm running with Go 1.19 and facing the same problem. The model definition is not generated with attributes inside of it, only with the default one x-go-package.
In my case I'm using //swagger:model and running wagger generate spec -o ./swagger.json --scan-models
This is my swagger version
version: v0.30.4
commit: df6da9b77aa9751f06bedb17fcf92b1ab67a7a47

We were able to workaround this by setting GOROOT when running the swagger command, e.g.:
GOROOT=~/sdk/go1.19.7 swagger generate spec

We believe this problem might be caused by go-swagger failing to import the encoding std package and ignoring the error.

I had the same issue, and setting GOROOT indeed fix it.


I added algorithm for jump search !!

@AnupKumarPanwar this pull request does not follow any of the protocols outlined for the repository!


Unaware of sped up transactions (gets stuck mid-deploy)

The loader does not respond to transactions that are mined after being sped up. If the user uses metamask's 'speed up' function (which overwrites the original tx by submitting it again with a new nonce, I believe) it remains stuck on that step. The dapp is unaware that the transaction was mined and does not move to the next deploy step.

The transaction is confirmed but the dapp is still looking at the old one which remains pending, so it is stuck loading forever.

Subsumed under 200


X,Y,Z to Lat, Long ?

What is the best way to do this ? My raytracer works with X,Y,Z. Uber works with Lat, Long as well as other libraries.
Uber does not have X,Y,Z to Lat, Long conversion routine ?!
Please add ?!?

This document seems to work good:
GPS_Facts_XYZ-NED.pdf
At least I tried the ConvertECEFToLTP and it works good !
CU LATER.

I don't think we intend to add x/y/z coordinate support to the library.


Enhance get function to support slice operations

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 81.81818% with 2 lines in your changes missing coverage. Please review.

Project coverage is 98.90%. Comparing base (2755115) to head (ea13626).

Files with missing lines
Patch %
Lines

th/__init__.py
66.66%
1 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##            master       #6      +/-   ##
===========================================
- Coverage   100.00%   98.90%   -1.10%
===========================================
  Files            8        8
  Lines          173      183      +10
  Branches        18       21       +3
===========================================
+ Hits           173      181       +8
- Misses           0        1       +1
- Partials         0        1       +1

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


Peer closing issue

I tried to implement multi connections at a time
same time A can communicate B and C and communicate with D , while I disconnect A from B , C and D also disconnected , how to close a specific peer connection without affecting other peer connections .

Hello @sarathkumar654
Thanks a lot for your interest on WebRTC and being so active on this repository.
I can see you have posted #72, #74, and #75 with very similar questions. Are those duplicates or already resolved? Can we consider them as duplicates and close them? Have you read my comments there? I have been providing some guidance on them.
The codelab is designed to connect only two peers. In order to connect several peers you can follow the comments on #72 or check the examples on WebRTC samples: live demo and code. I have also submitted #77 to have future reference to this very same ideas.
In general, we would also need to know how to reproduce the error. Does this happen only when you disconnect peer A (aka: room creator) or also when you disconnect any of the other peers? What are the steps to reproduce? If you have made changes to the code (it seems you did as the codelab only takes two peers) and now you are having new issues, we would need to see the code you are trying to use to help you here.  As it is not really part of the codelab, I would advise leveraging  #webRTC on StackOverflow where many people could chime in and provide good guidance.
// cc: @samdutton

we were following the below code
var os = require('os');
var nodeStatic = require('node-static');
var http = require('http');
var socketIO = require('socket.io');
var fileServer = new(nodeStatic.Server)();
var app = http.createServer(function(req, res) {
fileServer.serve(req, res);
}).listen(8080);
var io = socketIO.listen(app);
var clientsArray = {};
var roomNow;

io.sockets.on('connection', function(socket) {
// convenience function to log server messages on the client
function log() {
	var array = ['Message from server:'];
	array.push.apply(array, arguments);
	socket.emit('log', array);
}

socket.on('message', function(message) {

	io.sockets.in(roomNow).emit('message', message);

});

socket.on('create or join', function(room) {

	roomNow = room;

	if(clientsArray[room] === undefined)
		clientsArray[room] = [];
	clientsArray[room].push(socket.id);

	log('Received request to create or join room ' + room);

						console.log(clientsArray);

	//var numClients = Object.keys(io.sockets.sockets).length;
	var numClients = clientsArray[room].length;
	log('Room ' + room + ' now has ' + numClients + ' client(s)');

	if (numClients === 1) {
		socket.join(room);
		log('Client ID ' + socket.id + ' created room ' + room);
		io.sockets.in(room).emit('created', room, socket.id);
	} else if (numClients === 2) {
		log('Client ID ' + socket.id + ' joined room ' + room);
		io.sockets.in(room).emit('join', room);
		socket.join(room);
		io.sockets.in(room).emit('joined', room, socket.id);
	} else { // max two clients
		socket.emit('full', room);
	}
});

socket.on('disconnect', function() {
	for(var key in clientsArray) {
		for(var i=0; i<clientsArray[key].length; i++) {
			if(clientsArray[key][i] == socket.id) {
				clientsArray[key].splice(i, 1);
			}
		}
	}
});

socket.on('ipaddr', function() {
	var ifaces = os.networkInterfaces();
	for (var dev in ifaces) {
		ifaces[dev].forEach(function(details) {
			if (details.family === 'IPv4' && details.address !== '<IP_ADDRESS>') {
				socket.emit('ipaddr', details.address);
			}
		});
	}
});

});
while disconnect a room all the rooms connection has been disconnected

@sarathkumar654 In what step-xx did you apply this code? Otherwise, I am unable to test.


Add paging support for Github requests

@bclozel I rebased this PR against latest master.
Also, I tried to configure Eclipse Code Formatter, but it still won't apply imports in the proper order.

I should review the current caching infrastructure because this is not making it easier to leverage more caching.
Note that I can't merge this right now as this throws the following as soon as we're trying to cache data:
ERROR 14 --- [nio-8080-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet] :
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed;
nested exception is org.springframework.data.redis.serializer.SerializationException: Cannot serialize;
nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to serialize object using DefaultSerializer;
nested exception is java.lang.IllegalArgumentException: DefaultSerializer requires a Serializable payload but received an object of type [org.springframework.http.ResponseEntity]] with root cause

Digging further in, I actually need the ResponseEntity version of this RestTemplate because I need access to the content as well as the headers (the Link header to be precise). Given all that, it would appear that flagging this as cacheable isn't the right solution. I'll amend the PR.

This part has been moved to sagan-renderer and supports now paging for requests to GitHub.
Thanks!


Update registry version in product-is

Changes in this PR

$subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/3363895418

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/3366676848

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/3366676848
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/3367277009

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/3367277009
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/3368192953

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/3368192953
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/3369020989

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/3369020989
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/3371401963

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/3371401963
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/3371692797

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/3371692797
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/3374714268

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/3374714268
Status: cancelled

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/3376547068

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/3656759099

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/3656759099
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/3670059490

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/3670059490
Status: success


Create node.js.yml

Codecov Report

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

@@            Coverage Diff            @@
##            master       #11   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           16        16
  Lines          196       196
  Branches        34        34
=========================================
  Hits           196       196

Continue to review full report at Codecov.

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


(auth) separate initial and refresh auth

Summary
Currently, the auth exchange has a single function - getAuth - that gets called for both initial auth as well as refreshing. This is not great form a DX point of views, since "get initial auth" and "handle auth error" are very different things.
Set of changes

auth-exhange: remove getAuth and split it into getInitialAuth and refreshAuth.

Superseded by #3012


Change to OSM

Aves uses google maps for location info. I don't know if google is able to connect this info with me but I would be less worried if Aves used Open Street Maps. It would also fit better to the open source movement. Thx for considering.

Aves uses google maps for location info

Not quite:

Aves offers various layers when displaying the map. Google Maps layers are among them, as well as some layers using OSM data.
Reverse geocoding is performed through a provider-agnostic geocoder Android service on the device, which can be provided by Google, but that depends on what's installed on the device and not on Aves.

It would also fit better to the open source movement.

I'm not part of a movement.

thx for your explanation and sorry for the talk about "movement". "idea" would have been better, but also not neccessary to mention in the first place. Thx for your awsome work.


Error and assertion when viewing EAM (E3SM) initial condition file

I ran into a couple problems trying visualize some initial condition files in the E3SM inputdata repo. The files can be quite different, but a few of them have been particularly problematic, including this one => atm/cam/inic/homme/eam_i_rcemip_ne45np4_L60_c20210823.nc
When I first tried to open it with ncvis I got this error about the swband variable:
> ncvis /global/cfs/cdirs/e3sm/inputdata/atm/cam/inic/homme/eam_i_rcemip_ne45np4_L60_c20210823.nc
NcVis 2022.10.26 Paul A. Ullrich
ERROR: NetCDF fileset contains a dimension variable "swband" that is non-monotone

After removing that with a simple nco command:
ncks -x -v swband /global/cfs/cdirs/e3sm/inputdata/atm/cam/inic/homme/eam_i_rcemip_ne45np4_L60_c20210823.nc eam_i_rcemip_ne45np4_L60_c20210823_tmp.nc

I tried again and got this error:
...
..97% complete
..98% complete
..99% complete
..Done
Initializing the GridDataSampler took 31ms
EXCEPTION (/global/homes/p/paullric/ncvis/src/wxImagePanel.cpp, Line 648) Assertion failure

I'm trying to track down some issues with these files used for RCE experiments, so it's possible that there is a NaN value in the data, but either way it would be nice to have an option to ignore certain variables like swband.

I switched the ERROR to a WARNING on Cori and recompiled.  That got us past the first issue.
As for the assertion failure, it seems that there are two unstructured grid dimensions in the file:  ncol and ncol_d.  Right now ncvis is detecting ncol_d as the unstructured grid dimension used for sampling.  Would it be possible to separate the variables using ncol from the variables using ncol_d?  i.e.,
ncks -v lat,lon,area,ICEFRAC,SICTHK,SNOWHICE,TS1,TS2,TS3,TS4,TSICE /global/cfs/cdirs/e3sm/inputdata/atm/cam/inic/homme/eam_i_rcemip_ne45np4_L60_c20210823.nc temp.nc
I can put it on the “to do” list to support files with multiple unstructured dimensions.

On Dec 13, 2022, at 8:48 AM, Walter Hannah @.***> wrote:
I ran into a couple problems trying visualize some initial condition files in the E3SM inputdata repo. The files can be quite different, but a few of them have been particularly problematic, including this one => atm/cam/inic/homme/eam_i_rcemip_ne45np4_L60_c20210823.nc
When I first tried to open it with ncvis I got this error about the swband variable:

ncvis /global/cfs/cdirs/e3sm/inputdata/atm/cam/inic/homme/eam_i_rcemip_ne45np4_L60_c20210823.nc
NcVis 2022.10.26 Paul A. Ullrich
ERROR: NetCDF fileset contains a dimension variable "swband" that is non-monotone
After removing that with a simple nco command:

ncks -x -v swband /global/cfs/cdirs/e3sm/inputdata/atm/cam/inic/homme/eam_i_rcemip_ne45np4_L60_c20210823.nc eam_i_rcemip_ne45np4_L60_c20210823_tmp.nc
I tried again and got this error:
...
..97% complete
..98% complete
..99% complete
..Done
Initializing the GridDataSampler took 31ms
EXCEPTION (/global/homes/p/paullric/ncvis/src/wxImagePanel.cpp, Line 648) Assertion failure
I'm trying to track down some issues with these files used for RCE experiments, so it's possible that there is a NaN value in the data, but either way it would be nice to have an option to ignore certain variables like swband.
—
Reply to this email directly, view it on GitHub https://github.com/SEATStandards/ncvis/issues/11, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIVPZETJO6UM4SQMPJP3S3WNCSHTANCNFSM6AAAAAAS5NZOB4.
You are receiving this because you are subscribed to this thread.

Thanks Paul.
As for the assertion, I'm fine working around that problem with a temporary file, but can you put a warning in to explain what's going on? I'm thinking other people will likely hit this in the future, so it would be to have an informative error message.

This is probably obvious, but FYI this is a challenge with initial conditions for SE/HOMME using physgrid because some variables are initialized on the physgrid and others on the GLL nodes. IIRC, all history output in E3SM and CESM using SE/HOMME is dumped on the physgrid so you'll only have one ncol there.

@zarzycki I'm actually not sure that we "need" the physgrid data in the atmospheric IC file. In the files I'm looking at the only physgrid data is for surface data, like "TSICE", which I don't think we actually use... not sure though, maybe it's used for the first call to radiation?
On the other hand, we do need both grids in the topography file, so that might be a better case of having the ability to handle multiple grids in the same file to do quick sanity checks after generating new topo files. But that's also somewhat of an edge case.
Having a way to set the coordinate of interest (i.e. "ncol_d") and ignore any data that doesn't use that dimension would be a nice feature to have.

That's probably a good idea (having a user option to specify the unstructured dimension at the command line or via the GUI). ncremap does something similar (i.e., it has a default "list" of unstructured dim names but you can also specify which one corresponds.
The MPAS dual grid would be another situation where there are multiple unstructured dimensions on a single file (technically you can have the model dump winds at the cell edges and scalars at the cell center, although internally they also have an output stream that is the edge data mapped to cell center.

Curious why ncol_d was chosen instead of ncol when both were present.

@rljacob the variable I was trying to plot (PS) has the ncol_d dimension.


BNCLog functions for Swift

This is a Swift wrapper for the BNCLog Objective-C macros. It's not clear whether this should be integrated into the SDK, but it's useful and can at least serve as an example.
The BNCLogMessageInternal function is not available in Swift because it's variadic, so a BNCSwiftLog Objective-C class was provided with class methods to be called from Swift. For now, this requires a bridging header in the app. Updated: Another commit was added that just adds BNCLogMessageInternalSwift to BNCLog.[hm] in the SDK with a different signature. That allows removal of the bridging header and the Obj-C shim in the app. Of course, this commit can be reverted if it's not desirable to add such a function to the SDK. But this seems very simple by comparison with the previous approach.
Also, it was necessary to call BNCLogSetOutputFunction(nil) at initialization in order to avoid duplicate output.
To test, run the WebviewExample on a simulator and select any row from the table view. This will produce output like:
2017-04-07 10:25:00.909 WebViewExample[3386:69681] [branch.io] ArticleViewController.swift(92)     Log: Created Branch Universal Object
2017-04-07 10:25:01.425 WebViewExample[3386:69681] [branch.io] ArticleViewController.swift(67)     Log: Logged BNCRegisterViewEvent on BUO

Result of Integration 1
Duration: 3 minutes and 39 seconds
Result: 1 error, failing state: build-errors

Result of Integration 2
Duration: 2 minutes and 9 seconds
Result: 1 error, failing state: build-errors

Result of Integration 4
Duration: 2 minutes and 31 seconds
Result: 1 error, failing state: build-errors

Result of Integration 5
Duration: 1 minute and 52 seconds
Result: 1 error, failing state: build-errors

Result of Integration 6
Duration: 2 minutes and 26 seconds
Result: Perfect build! All 179 tests passed. :+1:
Test Coverage: 65%

One minor thing I noticed since I also wrapped the React Obj-C logger in the RN repo: The RCTLog macros/functions autocomplete better than the BNCLog ones. I think the reason is that there are various functions and other things that begin with BNCLog. By contrast, e.g., the RCTLog macros call _RCTLogNativeInternal, so that when you type RCTLog, you only see the developer-facing symbols:

I assume it's noisier in Objective-C. I rely heavily on autocompletion in Xcode, so this was noticeable, but hardly a huge problem, especially for an internal utility. But renaming some things might make it a bit easier to use.

Result of Integration 7
Duration: 6 minutes and 37 seconds
Result: Perfect build! All 179 tests passed. :+1:
Test Coverage: 65%

Result of Integration 1
Duration: 1 minute and 20 seconds
Result: -1 error, failing state: build-failed

Result of Integration 2
Duration: 19 seconds
Result: -1 error, failing state: build-failed

Result of Integration 1
Duration: 4 minutes and 47 seconds
Result: 1 error, failing state: build-errors

Result of Integration 2
Duration: 3 minutes and 2 seconds
Result: Perfect build! All 179 tests passed. :+1:
Test Coverage: 65%


docs: Adding playground links cheat sheet

What is it?

[x] Feature / enhancement
[ ] Bug
[x] Docs / tests

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Use cases and why

New Look:

Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[x] Added new tests to cover the fix / functionality

i have add playground_urls.tsx because of long urls.

i like the idea but version 0.12.1 it is showing error in playground

I'm sorry but I was wrong abut this part. Something is wrong with this repl. I checked the code and there is no fallback for version.
      version: '',
      buildMode: 'development',
      entryStrategy: 'hook',


Replace usage-data store module with utils file

Fixes

Fixes #1026 by @obulat (Alternative solution)
Description

In this PR I propose to move actions of the usage-data out of Vuex and therefore delete this module, it does not have a state per se so we can save maintaining another module (in Vuex or Pinia). I created a utils file instead of a composable because it doesn't involve any state logic about the view.
This PR also removes the unused component ReuseSurvey and triggers the sendDetailPageEvent when clicking the source link on the Image information section.
Testing Instructions

Check out this branch and enable Sentry temporarily in the sentry-config.ts file:

export const sentryConfig: ModuleConfiguration = {
  dsn:
    process.env.SENTRY_DSN || ...
-  disabled: !isProd,
+  disabled: false,
  lazy: true,
}

Run the app with ENABLE_INTERNAL_ANALYTICS=true pnpm dev
Test the places from where events are sent:

search results page: when searching for a term and/or clicking on a search result)
image details page: click on author name or source, click on copy license info)

Observe if events are being sent

Note
When we turn on analytics we should send these events from the audio page as well.
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[x] I added or updated tests for the changes I made (if applicable).
[x] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@obulat I'll check that out! If you want to specify more what parts that would also be of help.

This PR is ready for review folks.

... And we can probably close it because of #1084, @krysal ?

Yes, closing this as we decided to drop the analytics code until figuring out a better solution for that module.


Add default value for courses new command

We can add to the config the default value for each parameter in the courses new command.
Consider adding
nytid config courses.new.DD1310.num_students -s 200
nytid config courses.new.DD1310.num_groups -s 6

then run
nytid courses new prgm24 --code DD1310 --ics ...

and the number of students and groups are picked up from the config based on the matching course code.

Maybe add nytid courses new prgm24 --from prgm23.


docs: fix hyperlink

Hey, not sure if you wanted this hyperlinked or not, but thought I'd open this PR anyways!

Hey I appreciate it! Thank you!


Scaffolding Identity in Blazor WebAssembly ASP.NET Core Hosted Project

How can I customized my ApplicationUser:
    public class ApplicationUser : IdentityUser
    {
        public string Fullname { get; set; }
    }

If I cannot scaffold Identity in a Blazor WebAssembly ASP.NET Core Hosted Project?

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

ID: 804e24dd-7e30-8cf5-2c99-1ffacb4582f6
Version Independent ID: 3e25547b-e2c9-6634-2c38-2a77207f17d4
Content: Scaffold Identity in ASP.NET Core projects
Content Source: aspnetcore/security/authentication/scaffold-identity.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Hello! Thanks for contacting us. This sounds like a general question about using ASP.NET Core. While we try to look at and respond to all issues, for questions like this we recommend posting to a community support group like Stack Overflow with the asp.net-core tag.

Stack Overflow
ASP.NET Core Slack
ASP.NET Gitter

Potential bugs in the ASP.NET Core framework and product feedback can be reported at dotnet/aspnetcore issues (include full repro steps and cross-link to a repro project in GH when appropriate). For Visual Studio, use the Report a Problem gesture or Suggest a Feature gesture within VS, which open internal issues for the VS team. For Visual Studio Code, you can open an issue at microsoft/vscode issues.


Make website responsive.

Website currently breaks on most non-desktop screen ratios.

Can I work on this?

Absolutely!
If you encounter any difficulties or need some clarifications, please feel free to ask me. ;)


7'scarlet [PCSE01168]

App summary

App name: 7'scarlet
App serial: PCSE01168
App version: 1.00

Vita3K summary

Version: v0.1
Build number: 1781
Commit hash: https://github.com/vita3k/vita3k/commit/a989885d

Test environment summary

Tested by: Zangetsu38
OS: Windows 10
CPU: AMD Ryzen 9 3900X
GPU: NVIDIA RTX 2070 Super
RAM: 16 GB

Issues
save is corrupted after all reboot
video intro get stop after few sec
Unhandled base format SCE_GXM_TEXTURE_BASE_FORMAT_U8U3U3U2
Screenshot:

Log
vita3k.log

any updates?

Vita3K v0.1.5 2786-7ac13c3c
save is corrupted after a reboot
on the select scenario screen some graphics are missing
some videos are jittery and stutters
red boxes in text
vita3k.log

App summary

App name: 7'scarlet
App serial: PCSE01168
App version: 1.00

Vita3K summary

Version: v0.1.8
Build number: 3211
Commit hash: https://github.com/vita3k/vita3k/commit/e58419c0
CPU backend: Dynarmic
GPU backend: Vulkan

Test environment summary

Tested by: @hiroshiyuri
OS: Windows 10
CPU: Intel(R) Core(TM) i5-8250U
GPU: NVIDIA GeForce MX150
RAM: 8 GB

Issues
Playable with some color bugs and graphics bugs
Screenshots

Log
vita3k.log
Recommended labels

Playable
color bug
graphics bug

why is this playable? the text display doesn't work and when i updated the vita3k, the vulkan mode (which is the best) doesn't work now when i loaded my save file and neither the opengl...

why is this playable? the text display doesn't work and when i updated the vita3k, the vulkan mode (which is the best) doesn't work now when i loaded my save file and neither the opengl...

because sometimes updates cause a regression 🤷🏻♂
please post more details for devs to check this in the future 🔎
https://github.com/Vita3K/compatibility/blob/master/.github/ISSUE_TEMPLATE.md


rides endpoint phased out and functionality is established. the filter…

… for the rides matching was established and the requests post and put endpoints have been updated. tweaking still needs to be done to those endpoints. validateRiderId middleware established in middlweare/auth file. Re-naming of rides endpoints to users-rides folder and endpoints files. added new locations and rides to the seed files.
Co-authored-by: Ruth Poliakon<EMAIL_ADDRESS>Co-authored-by: Darren Angus<EMAIL_ADDRESS>Co-authored-by: Carl Redding<EMAIL_ADDRESS>Co-authored-by: Dennis Padiernos<EMAIL_ADDRESS>Description
Fixes # (issue)
fixes https://github.com/Lambda-School-Labs/carpal-be/issues/56
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Change Status

[x] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[x] Insomnia
[x] Jest

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

closes https://github.com/Lambda-School-Labs/carpal-be/issues/56


EVM transactions don't appear under extrinsics tab

balance transfer: https://nikau.uncoverexplorer.com/extrinsic/2935725-1
contract deploy: https://nikau.uncoverexplorer.com/extrinsic/2935753-1

 Explore and plan for better EVM support

 Update UNCover Scanner to accept all EVM Executed transaction as signed

deployed on Nikau & Rata.. will deploy on Azalea on next Thurs and close this


vg call crashes sometimes

Never seen this one before.  Will need to get into gdb.
More details: https://github.com/BD2KGenomics/toil-vg/issues/69#issuecomment-279420987

This is the error:
vg: src/caller.cpp:86: void vg::Caller::call_node_pileup(const vg::NodePileup&): Assertion `_node->s
equence().length() == pileup.base_pileup_size()' failed

This doesn't easily reproducing.  After extracting subgraph for region, and re-aligning the read
vg find -n 290483617 -x 22.xg -c 10 > subgraph1.v
toil-vg index ./jos2 ./os2 --chroms 22 --graphs ./subgraph1.vg
vg map -x os2/genome.xg -g os2/genome.gcsa -s TGCACCACTGCACTCTAGCCGCAGCAACAGGGCAAGACCTTGTCAAAAAAAAAAAAAAAAAGAAGAAAGGAAGGAAGAATGAAAGAAGAAAAGGAGAGACA | vg view -a -
gives.  which doesn't have the from_length 1 in the second edit.
[{"to_length": 31, "from_length": 31}, {"to_length": 1, "sequence": "G"}, {"to_length": 1, "from_length": 1}]}
running the same map command with the whole genome index gives the bad edit.

Raised an issue with vg: https://github.com/vgteam/vg/issues/666

This was due to an incompatible (corrupt? out of date?) gcsa index.  Still think vg should be more foolproof in handing.


Any CAN bus usage examples?

CH32V307 is also very interesting as it has 2 x CAN 2.0 built in.
Would be nice to have at least one example how to use it.

I think it's a good idea if I upload all the "EVT" / evaluation files from WCH here, they have all the examples (EXAM).

You can download it from https://www.wch.cn/downloads/CH32V307EVT_ZIP.html too. I'll also need to add documentation on how to import those examples into PlatformIO, but basically it's: Copy all source files from the "User" folder in an example to src/ of the PlatformIO project, except the system_ch32v30x.c.


Only send errors/stats for production

Fixes #1892
In addition to the minor code change:
TrackJS:

Removed trackAjaxFail: false since trackJs lib yields a warning that property is not supported anyway
Load trackJs on all environments (that has a token set in app_config.yml), but only send errors to trackJs if Rails env is set to production

For Mixpanel:

Always load mixpanel on all environments (that has a token set in app_config.yml)
Per Mixpanel's own proposal use a "dev/staging" token for non-production environments to not pollute statistics.

Will talk to devops about setting keys for staging env.
So, effectively we would catch errors at latest in staging, and for devs touching frontend should have the tokens in their dev env app_config.yml to catch errors even earlier.

@CartoDB/frontend sounds reasonable?

Frontend tests were OK :+1: (details)

Sounds good dude :+1: :dancer:

@zenitraM @lbosque @santisaez do you have any objections or is there anything I might have overlooked? If everything is OK I would need help from you with the following two tasks:

set the production TrackJs token for staging's app_config.yml
create a "dev token" for Mixpanel and set it for staging's app_config.yml (and pass the token to frontend@ mailing list so people

for me it should send stats when we have config for that, doing things in function of rails env gave a lot of problems in the past

please update news if needed and merge

Re: rails env that's totally reasonable :+1:, I'll make sure to fix it.
The reason why it have not been merged yet is because I need help from someone who has admin privileges to staging/production environments and mixpanel to do the necessary changes required by this PR (asked several occasions). I'll get back to this one as soon as I finished the other issues with higher priority related to the new dashboard.
Re: update NEWS, will do once this is ready to be merged.

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

Based on feedback have done some additional changes. To be able to merge & release this branch I would need the following changes to config/app_config.yml:
For staging:
mixpanel:
   api_key: 'dev-api-key'
   api_secret: 'dev-api-secret'
   token: 'dev-token'
trackjs:
  customer: 'key-used-in-production'
  enabled: false

For production:
trackjs:
  enabled: true

Again, the "dev-*_" strings should be created through Mixpanel's dashboard. @matallo It have come to my attention that you might be able to help me with this?  ;)
For the config changes, can someone of Devops @santisaez @zenitraM @azamorano help me out tomorrow Fri to finish this off finally?

Frontend tests were OK :+1: (details)

retest this please

Frontend tests were OK :+1: (details)


[CI] countinuous integration - automated builds

the daphne system should be built continuously - e.g. for every push to the repo - at least the main branch should be run.
as of now, I guess it does not make a lot of sense to build every feature branch ...

I have a basic & working github action file available for discussion ...


Add in-app update prompts

This update adds in-app update prompts via Google Play. See #49 for more information about when update prompts will appear.
The Google Play immediate update method is always used, which means users get kicked out of the app for less than a minute so that the new update can be downloaded and installed.
Users may see an optional or required update prompt.
The optional updated prompt is a bottom sheet, which will appear on every app launch but can be dismissed:

The required update prompt overtakes the entire app and cannot be dismissed:

To clean up MainActivity.kt some, I refactored a few things such as NfcRequired into their own "gate" components.
Closes #49
TODO:

[x] UI for less common app update states: update downloaded and update in progress
[ ] Make sure Detekt passes locally
[ ] Write instructions to test update flow
[ ] Devise way to specify update status in CI
[x] Debug weird flashing issue when app opens
[x] Code snippet for IAU that's supposed to go in MainActivity onResume

Not entirely convinced this is necessary with Compose and it is quite a bit of work to add an onResume hook in a Compose component

[x] From #49: Be sure to update our data collection info on the Play Console after merging this feature: https://developer.android.com/guide/playcore/in-app-updates#in-app_updates

Testing instructions:
Optional update flow

Download version code 18 of the app from this internal app sharing build link
a. You will need to uninstall the production version first. If you get an error when installing the build, try restarting your phone.
Open the app. Sign in, optionally.
Close the app.
Open this internal app sharing link for version code 19. Do not press the Update button!
Go to your home screen and re-open the app. You should be able to go through the optional update flow.
a. Optionally repeat for signed in/out and light/dark mode, if you feel so inclined

Required update flow

Uninstall any existing versions of the app on your phone.
Repeat the above steps, but use these internal app sharing links for the old and new app versions.
a. Old version - v18 req
b. New version - v19 req

Some resources for final verifications:

Download latest test build for this branch to confirm nothing is broken
Test builds that will only trigger the optional update flow:

30: 1.1.0-optional-test-1
31: 1.1.0-optional-test-2

Test builds that will only trigger the required update flow:

40: 1.1.0-required-test-1
41: 1.1.0-required-test-2


dlib directly includes avx2intrin.h

Note: The following report is based on observations on ubuntu trusty using gcc 4.8.4.
dlib includes avx2intrin.h in simd/simd_check.h if it is compiled with avx2 enabled.
Our project includes multiple libraries, specifically dlib and opencv 2.4 (the latter also makes use of immintrin.h). The compiler flags contain -march=native -O3 which leads to __AVX2__ being set (compiling on a newer i7 CPU) and dlib's check enables DLIB_HAVE_AVX2 as expected.
In this case I get error messages like this:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/avx2intrin.h: In function ‘__m256i _mm256_mpsadbw_epu8(__m256i, __m256i, int)’:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/avx2intrin.h:34:1: error: redefinition of ‘__m256i _mm256_mpsadbw_epu8(__m256i, __m256i, int)’
 _mm256_mpsadbw_epu8 (__m256i __X, __m256i __Y, const int __M)

In /usr/lib/gcc/x86_64-linux-gnu/4.8/include/avx2intrin.h the following check can be found:
#ifndef _IMMINTRIN_H_INCLUDED
# error "Never use <avx2intrin.h> directly; include <immintrin.h> instead."
#endif

This check is not triggered if immintrin.h was already included by another library.
To me it seems including avx2intrin.h directly is discouraged (at least in gcc 4.8.4). Maybe there is a special reason why dlib is including this file directly. If not, this would be an issue that could be fixed by changing simd/simd_check.h to not use #include <avx2intrin.h> but to use #include <immintrin.h>

Thanks for the report.  I removed the offending #include.  I recall adding it because some system needed to have it included, but I don't recall what.  I just ran a bunch of tests on different systems and compilers and all worked without that header, and as you point out, it's not supposed to be included.  So removing it seems to be a good idea.


Simplify HF vs Direct APIs

When using HF APIs only the HF version code and catalog will be used

HF API will be deprecated in the future.


fix duplicate nodes in OSM XML output (fixes #356)

Addresses issue #356. Bulk of the changes are in utils.py where I put the logic to extract the node order from the edges. The docstrings of that function (utils.get_unique_nodes_ordered_from_way) highlight the one major caveat of this approach, namely that if all of the nodes associated with a given way can't be connected based on the edges table, then the algorithm will simply take the first continuous component and throw out the rest. It's unclear to me if the OSM XML schema allows for such a structure, but I couldn't find anywhere where its explicitly forbidden, so I had to account for this edge case. In my testing I haven't found any examples of this yet, but that doesn't mean they aren't out there, and I needed to be careful with the while loop. Thoughts?

Coverage decreased (-1.1%) to 91.86% when pulling 64e178bfaba4033f067f9421089de0dca8495837 on mxndrwgrdnr:master into c16f10b26e2066fb474da4dbec51599dcf35660b on gboeing:master.

Let's hold off on the merge until we address the latest issue in #356.

Looks like there's a conflict that still needs to be resolved.

OK looks like the new structure is causing a circular import error. ox.save_load.py now imports from ox.geo_utils.py to initialize the get_unique_nodes_ordered_from_way() method, but ox.geo_utils.py  is already importing from from ox.save_load.py (graph_to_gdfs()). Any other thoughts about how you'd like the files structured?

Ah, sorry. For now maybe it's best to just leave your helper function in utils.py. And I can just go through everything more thoughtfully next time there's a refactor.

OK cool. Looks like we're all set here then.

Thanks!


Changing wireId parameter to 32 bit

Trying to address following issue:
https://github.com/google/tracing-framework/issues/585

(commenting on bug)


navbar-brand shifted onto second line on iPhone 4s

Here's a screenshot (taken from Chrome Device Mode, but confirmed on my iPhone):

I believe the padding on navbar-brand makes it too wide for a smaller smartphone, like the iPhone 4s. The padding and perhaps the font size need to be adjusted to accommodate the smaller screen width.

Fixed in 2d97ff071042735d02717dc06e834d99d8ca4108


⚠ Bofrost.at has degraded performance

In 00357e2, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2441 ms

Resolved: Bofrost.at performance has improved in 970ab4b.


[forwardport] Upgrade to 2.3.0 causes Projects with malformed certs to fail to display in the UI

Forwardport https://github.com/rancher/rancher/issues/23285

verified the issue and the fix.
Steps:

On rancher:v2.2.8, deploy an rke cluster.
Deploy Cert Manager on a cluster - project on Rancher UI (default project)
Deploy a certificate from kubectl into a namespace

apiVersion: certmanager.k8s.io/v1alpha1
kind: Issuer
metadata:
  name: test-selfsigned
  namespace: cert-manager-test
spec:
  selfSigned: {}
---
apiVersion: certmanager.k8s.io/v1alpha1
kind: Certificate
metadata:
  name: selfsigned-cert
  namespace: cert-manager-test
spec:
  commonName: example.com
  secretName: selfsigned-cert-tls
  issuerRef:
    name: test-selfsigned

edit the cert - kubectl edit secret  -n  and change the tls.key or tls.cert value. (to make this cert and invalid one)
Save the changes made.
Now upgrade rancher to rancher:v2.3.0
Navigate to Cluster --> Default Project
Error is seen on the UI

request Response error: {"baseType":"error","code":"InvalidBodyContent","fieldName":"certs","message":"failed to decode key: not valid pem format","status":422,"type":"error"}

Upgrade rancher to master-head - latest (10/25/2019)

Navigate to Cluster --> Default Project

No error is seen on the UI.

Error is seen in logs:

2019/10/25 17:39:37 [ERROR] Error certs=InvalidBodyContent 422: failed to decode key: not valid pem format parsing cert selfsigned-cert-tls. Will not display correctly in UI
2019/10/25 17:39:37 [ERROR] Error certs=InvalidBodyContent 422: failed to decode key: not valid pem format parsing cert selfsigned-cert-tls. Will not display correctly in UI
2019/10/25 17:39:37 [ERROR] Error certs=InvalidBodyContent 422: failed to decode key: not valid pem format parsing cert selfsigned-cert-tls. Will not display correctly in UI
2019/10/25 17:39:37 [ERROR] Error certs=InvalidBodyContent 422: failed to decode key: not valid pem format parsing cert selfsigned-cert-tls. Will not display correctly in UI


[postgres] Improve config reading errors

I had this postgres.yaml:
init_config:

instances:
  - host: pepepe
    ...
    custom_metrics:
    - query: SELECT %s FROM pg_locks WHERE granted = false;
      metrics:
        count(distinct pid): [postgresql.connections_locked]
      descriptors: []
      relation: false

with a few other hosts and custom metrics. When deploying this I got the following error:
2017-02-13 15:33:14 UTC | ERROR | dd.collector | checks.postgres(__init__.py:762) | Check 'postgres' instance #0 failed
Traceback (most recent call last):
  File "/opt/datadog-agent/agent/checks/__init__.py", line 745, in run
    self.check(copy.deepcopy(instance))
  File "/opt/datadog-agent/agent/checks.d/postgres.py", line 606, in check
    custom_metrics = self._get_custom_metrics(instance.get('custom_metrics', []), key)
  File "/opt/datadog-agent/agent/checks.d/postgres.py", line 576, in _get_custom_metrics
    for ref, (_, mtype) in m['metrics'].iteritems():
ValueError: need more than 1 value to unpack

This was caused by a missing metric type in the yaml above i.e. it should have been [postgresql.connections_locked, GAUGE].
Because the error message is unclear and also doesn't point to the offending metric (remember I have other hosts and custom metrics), it took me a couple of hours to figure out the cause of this error.
Please consider improving the error messages around config reading.

Thanks a lot for this report @mausch!
We can't validate the config in a consistent manner, which makes something like this tricky to make the error better. We will work on making this a lot better in the future.
However, what we can do in the very near future is make the documentation both online and in the config yaml itself a lot better. The documentation for the postgres check does not make it clear how to use the custom metrics very well, so better documentation will definitely help to assuage this issue!
Thanks again for your report, we really appreciate this and I will add this to our issue board.

We can't validate the config in a consistent manner

Not sure what this means exactly, but generally speaking a good error message should give the user enough context so that they can readily fix it.
Better docs are great, but ultimately people will always make mistakes when defining complex config so you need good error messages.
In this particular case, it could be as easy as wrapping the iteration in _get_custom_metrics with a try..except and in the exception handler wrap the exception with another one that displays the metric being processed (e.g. raise CheckException("Error processing custom metric: " + str(m)) from e)
More generally, avoiding partial functions (like tuple unpacking in Python) makes it much easier to validate input and report errors correctly.

Adding to our queue, this would make the life of support engineers much easier, thanks for reporting and for the suggestions.


zona_bb_subcortex.smk

[ ] Add transformation of Zona labels from template to subject native space (by default, we have this template in MNI152 and MNI2009 space, so transformation may need to be performed)
[ ] Replace indicated codeblock with labelmerge
[ ] Check for any necessary updates for new snakebids version

Making a note to test flirt transformation within pipeline. (in the subcortical workflow, this was already provided by HCP)


Sets Github token type to plaintext

what

Adds github_token_type for codebuild module

why

Codebuild module defaults to parameter store, so passing a plaintext token to both CodePipeline and Codebuild fails

references
Closes #107

/test all

/test all

@goruha We can, but there will be a bit more modification needed since the Codepipeline resource is expecting a plaintext value.
`action {
name             = "Source"
category         = "Source"
owner            = "ThirdParty"
provider         = "GitHub"
version          = "1"
output_artifacts = ["code"]
  configuration = {
    OAuthToken           = var.github_oauth_token
    Owner                = var.repo_owner
    Repo                 = var.repo_name
    Branch               = var.branch
    PollForSourceChanges = var.poll_source_changes
  }
}

I will add the ability for the token to be pulled from Parameter Store or Secrets Manager if those types are provided. That will allow the downstream codebuild module to work while providing a plaintext value to codepipeline Github source.

/terratest


Update recipe for py312_patch

Preparation for py312 release.

Linter check found the following problems:
The following problems have been found:
ERROR: clone/recipe/meta.yaml:33: missing_pip_check: For pypi packages, pip check should be present in the test commands
INFO: clone/recipe/meta.yaml:50: invalid_url: https://github.com/dmuellner/fastcluster/raw/master/docs/fastcluster.pdf : URL domain redirect github.com ->  raw.githubusercontent.com
ERROR: clone/recipe/meta.yaml:50: missing_license_family: The recipe is missing the about/license_family key.
ERROR: clone/recipe/meta.yaml:50: http_url: http://danifold.net/fastcluster.html is not https
Errors were found

Linter check found the following problems:
The following problems have been found:
INFO: clone/recipe/meta.yaml:53: invalid_url: https://github.com/dmuellner/fastcluster/raw/master/docs/fastcluster.pdf : URL domain redirect github.com ->  raw.githubusercontent.com
ERROR: clone/recipe/meta.yaml:53: missing_license_family: The recipe is missing the about/license_family key.
Errors were found


[webpack 5] Yarn v2 can't resolve file loader in docs plugin

🐛 Bug Report
On webpack 5, Yarn 2 can't resolve file-loader when building docs.
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
Clone https://github.com/rdilweb/rdil.rocks and update the Docusaurus version in the /docs project - then yarn && yarn build.
Expected behavior
Build passes.
Actual Behavior
file-loader not found error.
Your Environment

Public source code: https://github.com/rdilweb/rdil.rocks
Public site url: https://rdil.rocks/docs
Docusaurus version used: alpha 75
Environment name and version: Debian LTS, Node 14.16.1
Operating system and version (desktop or mobile): Debian LTS

Reproducible Demo
https://github.com/rdilweb/rdil.rocks

It's something I noticed during the Webpack 5 PR.
Our Yarn2 e2e test did not use the latest version of Docusaurus.
After I fixed it, Yarn2 failed due to this missing file-loader.
As a temporary solution, added the file-loader to the init template sites so it can build on Yarn2.
This should be fixed once we migrate to the new assets system: https://github.com/facebook/docusaurus/pull/4708

Any update on this? The PR has been inactive for 3 months now.

@HazyFish this PR is stuck until I figure out a proper way to solve this problem: https://github.com/webpack/webpack/issues/12900#issuecomment-830197195
(any help welcome)
Your issue does not look related to Yarn2/file-loader/url-loader but more about Webpack not polyfilling nodejs modules anymore.
https://blog.sindresorhus.com/webpack-5-headache-b6ac24973bf1
You can add the missing polyfills yourself if you need to: create a local docusaurus plugin that modify the existing Webpack configuration to add that polyfill

oh, Is there any progress on this issue?
I installed these two missing packages and it works fine.
https://github.com/testing-library/testing-library-docs/issues/928

pnpm add url-loader @mdx-js/react


Update to Spring Data Neo4j 3.3.0.RELEASE and Neo4j 2.1.7

Hi @sksamuel,
I'm not sure about your versioning scheme so I left it alone.
I would also like to know why you went with Spring Data Neo4j and not a more performant way of talking to Neo4j. (Raw HTTP or the JDBC driver).
Might be interesting to either change to either of that or to look into SDN4 or the JAVA-OGM that comes out soon.
Cheers

Hi, migrated my db 2.1.5  to 2.1.7 but didn't work out.
migrated to 2.2.1 OK
but elasticsearch failed :
failed to create river [neo4j]
org.elasticsearch.common.settings.NoClassSettingsException: Failed to load class with value [neo4j]
at org.elasticsearch.river.RiverModule.loadTypeModule(RiverModule.java:87)
at org.elasticsearch.river.RiverModule.spawnModules(RiverModule.java:58)
at org.elasticsearch.common.inject.ModulesBuilder.add(ModulesBuilder.java:44)
at org.elasticsearch.river.RiversService.createRiver(RiversService.java:137)
at org.elasticsearch.river.RiversService$ApplyRivers$2.onResponse(RiversService.java:275)
at org.elasticsearch.river.RiversService$ApplyRivers$2.onResponse(RiversService.java:269)
at org.elasticsearch.action.support.TransportAction$ThreadedActionListener$1.run(TransportAction.java:93)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: neo4j
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.elasticsearch.river.RiverModule.loadTypeModule(RiverModule.java:73)
...9 more
I've tried to remove and reinstall the plugin.
Could you please tell me if river works fine with 2.2.1 ?
could you please address me on how to solve these issues?
much thank you

Could you also check that river work with the last version of ElasticSearch ?
Now using 1.2.1..
it would be useful to have it sync with the last versions of both neo and ES..
thank you!

Update - I tried to remove river and reinstall it, but no success - i found that even after:
bin/plugin -remove com.sksamuel.elasticsearch/elasticsearch-river-neo4j/<IP_ADDRESS>
I get message:
[Nocturne] failed to create river [neo4j][x_discovery]
org.elasticsearch.common.settings.NoClassSettingsException: Failed to load class with value [neo4j]
so it looks like the plugin does not actually remove itself..

Rivers are deprecated now, so I'd start to look at alternatives
On 17 April 2015 at 11:01, gg4u<EMAIL_ADDRESS>wrote:

Update - I tried to remove river and reinstall it, but no success - i
found that even after:
bin/plugin -remove com.sksamuel.elasticsearch/elasticsearch-river-neo4j/
<IP_ADDRESS>
I get message:
[Nocturne] failed to create river [neo4j][x_discovery]
org.elasticsearch.common.settings.NoClassSettingsException: Failed to load
class with value [neo4j]
so it looks like the plugin does not actually remove itself..
—
Reply to this email directly or view it on GitHub
https://github.com/sksamuel/elasticsearch-river-neo4j/pull/22#issuecomment-93956720
.

https://www.elastic.co/blog/deprecating_rivers
So this project won't be maintained anymore.
On 17 April 2015 at 11:01, Stephen Samuel (Sam<EMAIL_ADDRESS>wrote:

Rivers are deprecated now, so I'd start to look at alternatives
On 17 April 2015 at 11:01, gg4u<EMAIL_ADDRESS>wrote:

Update - I tried to remove river and reinstall it, but no success - i
found that even after:
bin/plugin -remove com.sksamuel.elasticsearch/elasticsearch-river-neo4j/
<IP_ADDRESS>
I get message:
[Nocturne] failed to create river [neo4j][x_discovery]
org.elasticsearch.common.settings.NoClassSettingsException: Failed to
load class with value [neo4j]
so it looks like the plugin does not actually remove itself..
—
Reply to this email directly or view it on GitHub
https://github.com/sksamuel/elasticsearch-river-neo4j/pull/22#issuecomment-93956720
.

oh nooo... which alternatives to index fulltext properties of neo ?
Could you please at least tell me how to actually remove it?
i mean, i removed it, no plugins installed, but when i run ES I still got:
[Nocturne] failed to create river [neo4j][x_discovery]
org.elasticsearch.common.settings.NoClassSettingsException: Failed to load class with value [neo4j]
and I don't understand where does it come from..

I don't know either sorry. As for alternatives, I think the idea is you do
something outside of ES to push data in.
On 17 April 2015 at 11:04, gg4u<EMAIL_ADDRESS>wrote:

oh nooo... which alternatives to index fulltext properties of neo ?
Could you please at least tell me how to actually remove it?
i mean, i removed it, no plugins installed, but when i run ES I still got:
[Nocturne] failed to create river [neo4j][x_discovery]
org.elasticsearch.common.settings.NoClassSettingsException: Failed to load
class with value [neo4j]
and I don't understand where does it come from..
—
Reply to this email directly or view it on GitHub
https://github.com/sksamuel/elasticsearch-river-neo4j/pull/22#issuecomment-93957641
.

Checkout: https://github.com/ADSolutions/NeoElasticIndexing
It sync nodes from Neo4j to Elasticsearch.
Not very flexible nowadays but with more coding and time it can be a useful tool.
With a worker we can loop it's execution.

great @ADSolutions ! @jexp any plan to integrate Elastic search and neo? neo has lucene inside, but looks that the query are not very perfoming... it would be cool to dev own tool for integration between ES and neo, what do you think?

Good point, we're looking into ES integration from a users-guide standpoint anyway, just need an ES expert with capacity.

I am the author of https://github.com/sksamuel/elastic4s.
If I can help in anyway let me know.
On 20 April 2015 at 10:49, Michael Hunger<EMAIL_ADDRESS>wrote:

Good point, we're looking into ES integration from a users-guide
standpoint anyway, just need an ES expert with capacity.
—
Reply to this email directly or view it on GitHub
https://github.com/sksamuel/elasticsearch-river-neo4j/pull/22#issuecomment-94410457
.


Output size is larger than input size

Using the example on https://donaldcwl.github.io/browser-image-compression/example/basic.html, the input size is 0.89mb and output size is 2.32mb using this image:

@rbozan Can you provide the platform and browser version that you are using. I cannot reproduce your issue.

I think you have to remove maxwidth input, so only maxsizemb to 1

I can confirm similar as well. input size = 470KB. Output is 2MB, While constraint is 0.1MB

@zehawki Would you mind uploading the image(s) you have tested with the problem?

Please see here https://gofile.io/d/QLRH8X

@zehawki Thanks, this issue has been fixed in the new version (v1.0.13).


[parser] Fix bug when wrapping expression in parens

Fixes #111
The parser is consuming the delimiter (newline) which is expected at the end of a WHEN.

Good catch! I could've sworn there was a spec around that already, but apparently not :/
Thanks for finding and fixing this so quickly :)


[Suggestion] Ability to buy Climbing Boots

Adding the ability to buy climbing boots to the shop would be a nice cheaper alternative to the spiked manacles which are currently bis for osb raids. While being a cheaper alternative they are also 2 less str than the manacles.
This should require the appropriate QP to buy.

Sure - done in next update.