Marcus/Improve code and add tags to Lesson

better adherence to SRP and naming conventions, update to UG and include tags in Lesson, etc

Codecov Report

Merging #190 into master will decrease coverage by 0.37%.
The diff coverage is 22.72%.

@@             Coverage Diff              @@
##             master     #190      +/-   ##
============================================
- Coverage     66.11%   65.73%   -0.38%
- Complexity      536      539       +3
============================================
  Files            83       84       +1
  Lines          1803     1821      +18
  Branches        228      230       +2
============================================
+ Hits           1192     1197       +5
- Misses          552      563      +11
- Partials         59       61       +2

Impacted Files
Coverage Δ
Complexity Δ

.../java/seedu/address/logic/commands/AddCommand.java
100.00% <ø> (ø)
8.00 <0.00> (ø)

...java/seedu/address/logic/commands/EditCommand.java
97.01% <ø> (ø)
12.00 <0.00> (ø)

...va/seedu/address/logic/commands/LessonCommand.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

...eedu/address/logic/parser/LessonCommandParser.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...in/java/seedu/address/logic/parser/ParserUtil.java
85.71% <0.00%> (+5.11%)
21.00 <0.00> (ø)

src/main/java/seedu/address/model/tag/Tag.java
80.00% <ø> (ø)
5.00 <0.00> (ø)

...c/main/java/seedu/address/model/task/DateTime.java
65.21% <ø> (ø)
11.00 <0.00> (ø)

.../java/seedu/address/storage/JsonAdaptedLesson.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...c/main/java/seedu/address/model/lesson/Lesson.java
38.98% <45.45%> (-1.02%)
13.00 <1.00> (ø)

src/main/java/seedu/address/model/lesson/Day.java
50.00% <50.00%> (ø)
3.00 <3.00> (?)

... and 2 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 adf69f1...73a081e. Read the comment docs.


[Jupyter] Add default pipeline image

The mount extension now hooks into the builtin ISettingRegistry. I used this repo as a guide for implementation.
Users can set the value of defaultPipelineImage in two ways:

setting the value in <sys-prefix>/share/jupyter/lab/settings/overrides.json where sys-prefix is the directory of there virtual environment where the extension is installed (venv).

{
  "jupyterlab-pachyderm:mount":  {
    "defaultPipelineImage": "org/image:tag"
  }
}

updating the value within the jupyter UI under Settings > Advanced Settings Editor

Notes

We can set this value to whatever we want, I just chose python:3.10 as a non-controversial option.
I don't think we'd be able to "detect what image the notebook server is running" very easily, and even if we could I don't know if its useful for that to be the default value.

Nice one!

Tested this branch locally. The default value appears correctly in the pipeline extension


[FEATURE] Hackbook, {branch: dev}

Detailed description
Resources > Hackbook
This will contains all of the hacking ways, XSS, SQL Injection, etc.
Context
This feature will be only focused on, how to hack... xss, sqli, etx..
Possible implementation
No response
Additional information
No response
Code of Conduct

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

@kabir0x23 Can we close this issue?


Update races.db

Added races. Added descriptions from aonsrd

Looks good, verified it, seems everything is a-ok! 👍


How do I use proxy IP?

 Issue by funnyway
Fri Oct 26 06:41:36 2018
Originally opened as https://github.com/codelucas/newspaper/issues/642

How do I use proxy IP?

Fastest way:
article = newspaper.article(url, proxies={'http':'<IP_ADDRESS>:8080', 'https':'<IP_ADDRESS>:8080')
It automatically downloads and parses the article


mjml-core 4.5.0 not released properly

Version 4.5.0 was released a few hours ago, mjml was updated but mjml-core was not (never released to npm).
To Reproduce
Steps to reproduce the behavior:

npm i<EMAIL_ADDRESS>or visit https://www.npmjs.com/package/mjml-core

Expected behavior
All mjml packages are released with latest version.
MJML environment (please complete the following information):
Not relevant.
Email sending environment(for rendering issues):
Not relevant.
Affected email clients (for rendering issues):
Not relevant.
Screenshots
Not relevant.
Additional context
Not relevant.

Also: https://www.npmjs.com/package/mjml

Same issue with our CI builds:
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'mjml'
npm ERR! notarget

any workaround?

any workaround?

same as last time on same issue with 4.4.1 release, use lower version, until its somehow starts working

We're working on it, we have a silent failing when publishing some packages with Lerna.

It should be fine now, mjml-core has been (re?)released !
You might have some cache issue still on NPM side, just wait few minutes and everything will be good :)


Fix webhook connection refused error

This commit makes changes to kustomization files that will only add the
label control-plane: odfmo-controller-manager to manager and webhooks.
This will fix the webhook issues where the service was targeting
multicluster-console server and failing
Signed-off-by: Vineet Badrinath<EMAIL_ADDRESS>

/cherry-pick release-4.11

/hold
Seems like a valid error in CI.

/unhold


Emphasize the text in your target4 button by adding HTML tags

Challenge Name

Issue Description

Browser Information

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code

jQuery Playground

#left-well

#target1
#target2
#target3

#right-well

#target4
#target5
#target6

// If relevant, paste all of your challenge code in here

Screenshot

Please use the Help chat room for getting challenge related help. Happy Coding!


CTR: ctr shim socket path seems wrong

Description
I see this line of code in the ctr shim code, and it looks wrong:
	s1 := filepath.Join(string(filepath.Separator), "containerd-shim", ns, id, "shim.sock")

I don't see any logic that makes it avoid that line, and the error I am debugging seems to be a consequence to this line, since the error message I saw is 20 lines below this line.
I see containerd-shim seems to be storing its sockets here per my instance:
/run/containerd/s/
link to the code
If this is true I'll put in a PR if appropriate.  I just don't know the status of this tool.  I'm assuming I did something wrong, but this sure looks wrong to me.
See below for details:
Steps to reproduce the issue

try to get the state of a shim via containerid
sudo ctr -n k8s.io  shim --id 09b...b09 state
get error:
ctr: fail to connect to container 09b...b09's shim

Describe the results you received and expected
try to get the state of a shim via containerid

check that shim is there:

p1> ps -aef | grep 09b...b09
...
root     27049     1  0 Mar03 ?        00:00:15 /.../bin/containerd-shim -namespace k8s.io -workdir /...containerd/io.containerd.runtime.v1.linux/k8s.io/09b...b09 -address /run/containerd/containerd.sock -containerd-binary /...containerd/bin/containerd -runtime-root /...containerd/runtime-root -systemd-cgroup
p1>

try to check on it

sudo ctr -n k8s.io  shim --id 09b...b09 state

get error

ctr: fail to connect to container 09b...b09's shim

check logs and see where shim sockets should be

Mar 09 20:32:21 ... msg="shim /...containerd/bin/containerd-shim started" address="unix:///run/containerd/s/9e9f666cbvarious38257cc7b" debug=true pid=61022

See that they are in /run/containerd/s/ per the command line

See them on disk there where they should be:
sudo ls -l /run/containerd/s/ ...

see that the code seems to expect them to be elsewhere:
code link

What version of containerd are you using?
v1.6.0-65-gb521429b6
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response

I think this must be wrong. It looks more like an API call than the thing I was looking at.  Closing.  I'll reopen later if appropriate.


Usable flats might get hidden due to grouping mechanism

I have got a night where the observer has taken the flats at the end of the night, most of the targets were observed with that particular configuration. Since the flats were obtained at the same point as the last science target the flats went directly to its science group (OBJECT, FLAT and COMP) which process them. I have a couple of possible solutions:

Grab all flats regardless of pointing or any other parameter and process it right away at the beginning
Then if a science target has its own flat would have priority over the 'afternoon flats'
Implement a pre-processing in order to find out if flats are available and if don't check that they don't exist elsewhere in the data.

This issue was solved by processing all existing flats first. Even target specific flats are used build first so they can be used for other objects


Question about super adminsitrator role

Greetings. I have a question about the app administration.
Is there some kind of super admin role with a dashboard or configuration page where someone can configure the app in more ways than the administrator of a community or a group? Or would it take code and database changes to do so?

At first you are probably missing the domain level admin access.  You can active it by running the following command in the root of your app. This will give admin access to all domains, community and group on your development instance.
node server_api/scripts/setAdminOnAll.js<EMAIL_ADDRESS>
Then you have access to the domain admin the same way as community and groups. Check it out and let me know anything specifically that you are missing.  In general all config options should be available through the domain, community, group and post level edit menus on the right side of the info box.

I've also added this information to the readme.

Thank you very much @rbjarnason ! That is exactly what I needed! Now I can access the domains settings, but when I try to change any of them e.g., the domain description, nothing happengs when I press the UPDATE button.
No "executing UPDATE query" notification is shown in the shell.

@MarceMMAD this problem is because the APIs edit fields are empty and this is actually a bug in one of the Polymer components - crashes on undefined state of paper-input when trying to send the PUT request. There is a PR here that fixes the issue, going to wait with doing a workaround hoping this will be merged soon: https://github.com/PolymerElements/iron-ajax/pull/234
A quick workaround is to add some random text into those API fields - do an update, then edit domain again and remove all the random text and leave just empty spaces.

Thanks a lot for the quick workaround and the explanation @rbjarnason.

I've made a fork of iron-ajax and fixed the problem here: https://github.com/rbjarnason/iron-ajax/commit/e449ea318b7c39fdafec7158a79f7d72cb351f09


bug: pricefeeder doesn't post prices for correct validator when acting as a delegated pricefeeder

The pricefeeder uses its own mnemonic when deciding which nibivaloper address to use when querying aggregate prevotes.

Delegated pricefeeding was implemented in https://github.com/NibiruChain/pricefeeder/commit/e68e58f981da7b70ded3b243ac719ac4e31d5ae4


Still maintained?

Is this project still maintained?
Seems like @bradleyfalzon does not react anymore? At least the github refresh token needs to be updated (see open PRs.)

It is still very unmaintained, my apologies for that, I never wanted to get it into this state. See https://github.com/google/go-github/issues/1150 for some discussions on this.


Missing Scrollbar at copy widget process

Hello :-)
is it possible to add a scrollbar to the target list at the copy widget process. If there are many views, the browser's zoom factor must be adjusted in order to select a target.
Tank You!


Resolve FR #3 Add interface "name" to labels

Added interface name label to each metric related to the interface
Logs from tests:
ovs_exporter_tests.log

Closing. The "name" could be extracted in a different way.


add RSSI to NMEA output file

$GPRMC: Position, velocity, time and date
$GPGGA: Position, orthometric height, fix related data, time
$GPWPL: Position and MAC AP
$GPTXT: ESSID in HEX ASCII
$GPTXT: RSSI, STATUS

Also check if it is possible to store the entire information to pcapng.


CSS modified for responsiveness

🛠 Fixes Issue

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

Hey, It doesn't look much responsive. Please make according to certain. Need to work on the Max-width property.

Ok @Pradumnasaraf bro. I will try.

Ok @Pradumnasaraf bro. I didn't know about it. Can you tell me please how to get a issue assign ? I don't know about it.

You can comment below on any issue and the maintainer will assign you!

Ok bro.Thanks.


DBZ-777 Extracting RelationalConnectorTask

https://issues.jboss.org/browse/DBZ-777
First step towards basing the PG connector on the new pipeline model.

@jpechane Any thoughts?

@gunnarmorling Generally I think it is good for the first cut, thanks! I've added few comments to it but I have one general concern. Coul you please be more generous with logging? The start/stop are definitely eligible for INFO messages and I would not mind adding more DEBUG and TRACE messages into all methods. They ar einvaluable when we are doing troubleshooting with our users.

@jpechane Good comment regarding logging. Can you perhaps simply push something to this PR that addresses this?

@jpechane So are you planning to take this over as part of your work on moving the PG connector to the framework classes?

@gunnarmorling Yes, completely

@jpechane, I think we can close this one by now, as it'll be superseded by your recent work?

@gunnarmorling Yes we can close this now as it will be supreseded

Closing, as outdated.


Further examples of use

Thank you for fixing the plugin for 10.3, I am able to use it now.
However, I am unable to get the expected behavior
I saw the image you posted here:
https://private-user-images.githubusercontent.com/6148389/358141248-74ebba76-c085-4f93-afec-129da22949cb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzMzMjc3NTIsIm5iZiI6MTczMzMyNzQ1MiwicGF0aCI6Ii82MTQ4Mzg5LzM1ODE0MTI0OC03NGViYmE3Ni1jMDg1LTRmOTMtYWZlYy0xMjlkYTIyOTQ5Y2IucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MTIwNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDEyMDRUMTU1MDUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDEzNjc2YzY2Y2E5YzBjZjAzZjIzNjE2YzI0MzYxMTg1MGYyMTQ4YThlNjY1ZjRkMGRhZGZiMjA0ZGRjYzI5YyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.xUyKL7G8vm5Ee7XOzhYJ88xLsQjpwOplJds1M9lEKhQ
but for all my testing, I am unable to get labels to show up only on the tooltip and not be graphed.  what is the data-type of 'PlateNo' or 'Flow'?  do you need transformations?  how do you prevent them from showing up ion the graph?
Things I have tried:

Using a 'Convert field type' transformation to make the field a String

In this case the field disappears from the graph, but is not present in the tooltip

Using 'Series->hide in area' to disable 'Viz'

Again, the series disappears from the tooltip as well

Here is my configuration (tooltip is right, but I don't want 'attempt' shown on the graph)

I want to hide 'attempt' from the graph, but have both 'data' and 'attempt' listed in the tooltip
Here is what it looks like with a transformation (the graph is right, but tooltip is missing 'attempt')

Thank you for fixing the plugin for 10.3, I am able to use it now.
However, I am unable to get the expected behavior I saw the image you posted here: https://private-user-images.githubusercontent.com/6148389/358141248-74ebba76-c085-4f93-afec-129da22949cb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzMzMjc3NTIsIm5iZiI6MTczMzMyNzQ1MiwicGF0aCI6Ii82MTQ4Mzg5LzM1ODE0MTI0OC03NGViYmE3Ni1jMDg1LTRmOTMtYWZlYy0xMjlkYTIyOTQ5Y2IucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MTIwNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDEyMDRUMTU1MDUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDEzNjc2YzY2Y2E5YzBjZjAzZjIzNjE2YzI0MzYxMTg1MGYyMTQ4YThlNjY1ZjRkMGRhZGZiMjA0ZGRjYzI5YyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.xUyKL7G8vm5Ee7XOzhYJ88xLsQjpwOplJds1M9lEKhQ
but for all my testing, I am unable to get labels to show up only on the tooltip and not be graphed. what is the data-type of 'PlateNo' or 'Flow'? do you need transformations? how do you prevent them from showing up ion the graph?
Things I have tried:

Using a 'Convert field type' transformation to make the field a String

In this case the field disappears from the graph, but is not present in the tooltip

Using 'Series->hide in area' to disable 'Viz'

Again, the series disappears from the tooltip as well

Here is my configuration (tooltip is right, but I don't want 'attempt' shown on the graph)  I want to hide 'attempt' from the graph, but have both 'data' and 'attempt' listed in the tooltip
Here is what it looks like with a transformation (the graph is right, but tooltip is missing 'attempt')

**please enable feature_toggles in  ini file
[feature_toggles]
#add below line
newVizTooltips = true
**

Thanks, that got me closer:

but if I disable the graph for 'attempt (ither with hide, or convert to string)', the tooltip also disappears:

I'm guessing this is because you are adding metadata and my mysql query doesn't produce any

Thanks you!  it works perfectly now. I've been wanting this functionality for years.  Great job!


Add v1.17 Release Blog

/hold

/retitle [WIP] Add v1.17 Release Blog
There is a FIXME-type  hyperlink: https://github.com/kubernetes/website/pull/18030/commits/b8e7f95937cac4ba2340f47d6e4ea9d87c1b00ce#diff-100ffc3d763b0022c5dbf5f21f59737dR119

@rawkode feel free to retitle when that's fixed

I think this is good.
Pending conversations with CNCF: @onlydole @guineveresaenger @justaugustus

/lgtm
/assign @castrojo

/approve
Remove the hold when you want to go live, nice work!

Yaaaay! Thanks everyone!

/lgtm

/hold cancel


Unpin pandas version

Closes #1618
This change will break our tests that use an older version aka break our conda package build 📦 🤯
A lot of the test changes have to do with how pandas now handles values returned in value_counts(). Now, if two values occur the same number of times, it is stored in the order that it was in the original data. Ex: [5, 1, 6, 5, 1] will be [5, 1, 6] :D
RE prediction explanation tests: confirmed by checking the transformed cols from the OHE that this is the reason for the changes. The new columns are:
Index(['amount', 'provider_American Express',
       'provider_Diners Club / Carte Blanche', 'provider_Discover',
       'provider_JCB 15 digit', 'provider_JCB 16 digit', 'provider_Maestro',
       'provider_Mastercard', 'provider_VISA 13 digit',
       'provider_VISA 16 digit', 'provider_VISA 19 digit', 'currency_CNY',
       'currency_EGP', 'currency_HTG', 'currency_IMP', 'currency_LAK',
       'currency_NAD', 'currency_PAB', 'currency_QAR', 'currency_TZS',
       'currency_XDR'],

Notably, currency_NAD, currency_HTG, and currency_PAB exist.
Using pandas 1.1.5, we get:
Index(['amount', 'provider_American Express',
       'provider_Diners Club / Carte Blanche', 'provider_Discover',
       'provider_JCB 15 digit', 'provider_JCB 16 digit', 'provider_Maestro',
       'provider_Mastercard', 'provider_VISA 13 digit',
       'provider_VISA 16 digit', 'provider_VISA 19 digit', 'currency_CNY',
       'currency_EGP', 'currency_IMP', 'currency_LAK', 'currency_MOP',
       'currency_MUR', 'currency_NIS', 'currency_QAR', 'currency_TZS',
       'currency_XDR'],
      dtype='object')

This aligns with the reason why the tests failed, as the columns chosen for the OHE have changed (due to behavior of value_counts changing)

@bchen1116 Correct! value_counts always sorted by frequency first but now breaks ties based on their occurrence in the original data, so the test cases that required updates are when the frequencies were equivalent.


cannot set the server URL in Unity SDK (v1.7.0)

Hi,
I am using Unity for development, and I downloaded the Unity sdk (v1.7.0)...
I dun know howto setup/change the 'server URL' in the sdk,
can anyone give me some hints !!
Thank a lot.

+1

There's an open issue on the .NET SDK itself to track this: https://github.com/ParsePlatform/Parse-SDK-dotNET/issues/166. It will be fixed by the next release.


RaspberryPi arm v6/7 support?

Hi there,
This project is awesome! I just wonder is there official support to use it on Raspberry Pi on raspbian? If not, any one tried it? Because Raspberry Pi is not so fast, so just wanna ask first, if no body tried before, maybe I can try it and share the result.
Thanks a lot!

Just install it on a raspbian, should work out of the box.

Thanks @Sytten, is it possible to provide the deb package for raspbian? Current release packages look like for PC only, thanks.

@sytten how can it work out of the box? Our builds are x86 and x64, not ARM.
@peterdavehello we currently don't support ARM computers, but we might do in Messenger for Desktop 2 (planned for this summer).
I'll reopen this to have it as a feature request.

Thanks! Feel free to ping me if you need somebody to help test it!

@Aluxian Yep true, I wasn't thinking about the architecture.
Don't think electron supports ARM anyway...

@sytten well... Look again :D They have linux-arm releases on the releases page. I checked myself before I wrote the other comment.

Yes its maybe possible then. Still you have different types of ARM, but since the RPI is a popular device they probably provide the support for it.


Update analytical-data-stores.md

This Change is requested as it is marked Yes in https://docs.microsoft.com/en-us/azure/architecture/data-guide/relational-data/online-analytical-processing

@EdPrice-MSFT - Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Hello Team,
Is there any update on the PR ?
Regards, Arindam Mitra

@EdPrice-MSFT - nudge

#Sign-Off


added ginga embed function for the notebook

Coverage increased (+0.004%) to 27.217% when pulling 724feebd2074b7e9389c0c96a35c4c57a8a5e309 on sosey:embed into<PHONE_NUMBER>fda30e6d531fb3336d15d6c1544458 on spacetelescope:master.


Error in the displayed code for the Client Side

Hi,
The said code shows WSHTTPBinding but the endpoint address is "net.tcp://...". See below
"
// Create the binding.
WSHttpBinding myBinding = new WSHttpBinding();
myBinding.Security.Mode = SecurityMode.Message;
myBinding.Security.Message.ClientCredentialType =
MessageCredentialType.Windows;
// Create the endpoint address.
EndpointAddress ea = new
EndpointAddress("net.tcp://machineName:8008/Calculator");
"
Regards
Ram

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

ID: ca217401-155c-a86a-e78d-c03fb2f33835
Version Independent ID: 8f8200ba-8203-49fe-353b-938408370af9
Content: Message Security with a Windows Client
Content Source: docs/framework/wcf/feature-details/message-security-with-a-windows-client.md
Service: unspecified
Product: dotnet-framework
GitHub Login: @BrucePerlerMS
Microsoft Alias: dotnetcontent

@zhenlan can you help with this question?

Looks like we should just use NetTcpBinding. Add @mconnew to confirm.

That's correct, switch to NetTcpBinding

is there any PR required for this? I can submit a PR if required.

If you would like to submit a PR to address this issue, @ramchandran84, that would be great!

@rpetrusha Can I submit a PR for this ?

Sorry, @Niladri24dutta, I'd meant to @-mention you, but didn't. Yes, we'd welcome a PR!

@rpetrusha ok working on it.

@rpetrusha as this requires a change in code snippet which is in another repository https://github.com/dotnet/samples/  , so should I fork and create the PR in that repository instead of here? I will mention the issue # in the PR as per the rule.

Yes, @Niladri24dutta, fork the samples repository and open the PR there. We're used this repo as the centralized repository for issues for dotnet/docs, dotnet/dotnet-api-docs, and dotnet/samples.

@rpetrusha I have updated the csharp version of the code snippet but there are some ambiguity in the endpoint declaration for the visual basic version.

The endpoint is declared like this in VB version
Dim netTcpUri As New Uri("net.tcp://localhost:8006/Calculator") for the service.But the endpoint has a different port in the web.config
<endpoint address="net.tcp://localhost:8008/Calculator"                   binding="netTcpBinding"                   bindingConfiguration="Windows"                   name="WindowsOverMessage"                   contract="ServiceModel.ICalculator" />

The client code in VB version uses WSHttpBinding and the endpoint URL starts with http
Dim myBinding As New WSHttpBinding()
myBinding.Security.Mode = SecurityMode.Message
myBinding.Security.Message.ClientCredentialType = MessageCredentialType.Windows
Dim ea As New EndpointAddress("http://localhost:90/Calculator")`

The web.config (for client) is also different for VB version than the actual endpoint
<client>       <endpoint address="net.tcp://machineName:8008/Calculator"                  binding="netTcpBinding"                 bindingConfiguration="NetTcpBinding_ICalculator"                 contract="ICalculator"                 name="NetTcpBinding_ICalculator">               </endpoint>     </client>

can you confirm that should I make the changes in the VB version too?

@Niladri24dutta, I suspect that localhost:8006 is a typo; it should be localhost:8008` to be consistent both with the configuration file and the C# example.
Overall, the best approach when having multi-language example is to produce a working example in one language (here, C#) and then convert it to VB. So the examples should correspond unless there's a compelling reason for them not to -- which I don't see in this case.

@rpetrusha Ok , so I am making the changes in VB version too before making the PR.

@rpetrusha I have created PR https://github.com/dotnet/samples/pull/95  for this. Can you please review it?


no integration to add

i cant see the integration;
under
conf>+integration>

Need more information.
Did you install through HACS or by copying the files?
Did you reboot after installing?
Try CTRL+F5 to force a refresh on the integration page after reboot and search again.
Are there any errors in your logs?

hi install via hacs.
rebooted.
then F5 ed and it is all in integration and working.
thank you.


fix: handle nested structures in global config merge [APE-1218]

What I did
Before, only top level keys worked, if you overrode one in a project, you had to override everything.
Now, it will merge the objects the best it can, thus global mainnet providers work a lot better as most projects still configure local Ethereum providers and that was causing conflicts / loss of config specs
How I did it
carefully merge the objects
How to verify it
can now config Ethereum in both places and have it merge and use both
Checklist

[ ] All changes are completed
[ ] New test cases have been added
[ ] Documentation has been updated

Probably needs a few more test cases for different scenarios

All test cases are now added, see comments in test explaining how each part is included.


[SPARK-48438][PS][CONNECT] Directly use the parent column class

What changes were proposed in this pull request?
Directly use the parent column class
Why are the changes needed?
the parent column class works with both Spark Classic and Spark Connect, no need to use get_column_class any more
Does this PR introduce any user-facing change?
no
How was this patch tested?
ci
Was this patch authored or co-authored using generative AI tooling?
no

Merged to master.

Merged to master.


Allow getting values from a specific section of config file

I have a use case where my config file has a DEFAULT section, then a section for each code environment (test, dev, qa, etc.). I see in the documentation that you recommend not forcing users to put settings in specific sections, but in this case am I defining the same variables in each section. Is there a way to have my values merge only with one section? For example, I might have:
[DEFAULT]
color = blue

[dev]
name = Simon

[qa]
color = red
name = Bill

When my environment is dev, I'm going to want color: blue, name: Simon, with the possibility of overriding either from the CLI. Am I missing this functionality, or is it something you might accept a pull request for?

I don't see a straight-forward way to support this use case directly. If I understand it correctly, there would need to be new methods or args added to the API for specifying which section to get values from as well as a bunch of implementation code specific to this feature.
Instead, could you just have separate files: default.conf, dev.conf, qa.conf, etc and just select the right one to pass in on the command line?

Thanks for the response. I ended up implementing this using a combo of ConfigParser and argparse. There was enough custom logic there that it seems difficult to write a general case. Separate files is probably the way to go.

This is a duplicate of https://github.com/bw2/ConfigArgParse/issues/250, in which I proposed a simple and maintainable solution to support configuration sections.


QuerySender resultQuery does not work with parameters

❗ please do not add sensitive information in issues, you can provide extra information via email using issue number as reference ❗
Describe the issue
It is not possible to use parameters with resultQuery on a QuerySender. When using the below configuration, the error is:
(JdbcSQLDataException) SQLState [90012], errorCode [90012]: Parameter "#1" is not set; SQL statement:
SELECT * FROM IBISPROP WHERE NAME=? [90012-210]
When adding a param to the sender (so that it has 3 params), results in the following error:
(JdbcSQLDataException) SQLState [90008], errorCode [90008]: Invalid value "3" for parameter "parameterIndex" [90008-210]
Reporter
Ricardo

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Screenshots
If applicable, add screenshots to help explain your problem.
Configuration
<module>
	<adapter name="Repro">
		<receiver name="Repro">
			<listener name="Repro" className="nl.nn.adapterframework.receivers.JavaListener"/>
		</receiver>

		<pipeline>
			<exits>
				<exit path="EXIT" state="success"/>
			</exits>

			<pipe name="Repro"
				className="nl.nn.adapterframework.pipes.SenderPipe">
				<sender className="nl.nn.adapterframework.jdbc.FixedQuerySender"
					query='INSERT INTO IBISPROP(NAME,"VALUE") VALUES(?,?)'
					resultQuery="SELECT * FROM IBISPROP WHERE NAME=?">
					<param name="Name" value="Repro"/>
					<param name="Value" value="Demo"/>
				</sender>
				<forward name="success" path="EXIT"/>
			</pipe>
		</pipeline>
	</adapter>
</module>

Input
Please provide an example of the input message.
Alternatively, provide a Ladybug report.

Environment
Please go to the console of your Frank, click on 'Information' and copy-paste the results here.

Additional Environment

DBMS: [e.g. Oracle, MSSQL, MariaDB, MySql, PostgreSQL]
Browser: [e.g. Chrome, Safari, Edge, Firefox]

Additional Context
Add any other context about the problem here. (f.e. ladybug report / test adapter with larva test)

Do you have a real use-case? Does it have priority?


[sobjectizer,so5extra] update to 5.7.4 and 1.5.1

SObjectizer and its companion project so5extra are updated to the latest versions.

Thanks for the updates!


笔记多级tag的渲染不对

Describe the bug
如图，class="tag-span"的标签渲染不对，多级tag没有完全包含进来。

Steps to reproduce
null
Screenshots or additional context
No response

Maybe related PR https://github.com/usememos/memos/pull/1974


Swift dictionary convention

change invalid dictionary convention
remove spacing between key and and :

Thanks for the PR! Cheers! 🍻


Autorest Regen Preview to 3.0.0-alpha.20230426.1 by Dapeng Zhang from refs/pull/3259/merge

Triggered from https://github.com/Azure/autorest.csharp/pull/3259

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.HybridContainerService


Adding private registry support for yarn berry

Initial support for private registries for yarn berry.  The credential injection code needs additional work specifically around detecting if credentials are needed for a given package update. I will also investigate writing a .yarnrc.yml builder analogous to the npmrc builder we currently have.

The credential injection code needs additional work

@pavera you wanna do that in this PR or in a follow-up?

@pavera you wanna do that in this PR or in a follow-up?
It's a bit tied up with the yarnrc.yml builder so I think I'll endeavor to do both of those in a subsequent PR.

Will this address https://github.com/dependabot/dependabot-core/issues/4669 as a side-effect?
I'm not familiar enough with Yarn / NPM ecosystem to know...

Will this address https://github.com/dependabot/dependabot-core/issues/4669 as a side-effect?

I don't think so, but it does seem like the situation is better for yarn berry

We're going to revisit this after the initial merge of yarn_berry support.  Closing this PR


Textarea always continues when pressing enter key

In the newest version (6.11.4) when using a textarea input, pressing enter will not bring you to a new line in the text area and will instead proceed as if you hit Confirm.
This behavior happens when allowEnterKey is set to false and focusConfirm is also set to false
https://jsfiddle.net/t8w2eLma/22/
This is working in an earlier version https://jsfiddle.net/cmqn7s8c/4/

Fixed in v6.11.5, thanks for reporting @Kullersj!


[REFAC]: Change description and put User Stories in English

Description

Padronize content of all issues in english

Hey team! Please add your planning poker estimate with ZenHub @Luanmq @lucasgabriel-2 @LucasSpinosa @MauricioMachadoFF @raphaiela @Wengel-Rodrigues


Incapable of deleting a job when a single one is running

When a single job is running, trying the qdel function leads to the following error:
Exception in thread "handler-10" java.lang.IndexOutOfBoundsException: 0
at scala.collection.mutable.ResizableArray$class.apply(ResizableArray.scala:43)
at scala.collection.mutable.ArrayBuffer.apply(ArrayBuffer.scala:48)
at main.scala.qup.scheduler.SchedulerExecutor.findJob(SchedulerExecutor.scala:183)
at main.scala.qup.scheduler.SchedulerExecutor.deleteJob(SchedulerExecutor.scala:114)
at main.scala.qup.scheduler.SchedulerServer.run(SchedulerServer.scala:62)
at java.base/java.lang.Thread.run(Thread.java:829)
It seems the findJob at this line is failing to find any object and searching for the zero-th returns an out of bound error:
// Step 2: Search running jobs
if (runningJobs.filter(.id == jobID).length != 0) {
return Some( runningJobs.filter(.id != jobID)(0) )
}
SchedulerExecutorScala.

Thanks for this bug report!  I'm currently traveling for the winter break here, and away from my normal development machine.  I may not be able to get to this bug for about two weeks, unless it's urgent?

Absolutely no problem ofc! Let me know when you have had a chance to look into it?

Sorry to bother you, but is there any updates regarding this issue?
Thank you very much.
Charles

Thanks again @cacof1 for submitting this bug! It turns out the != on that line should have been ==.
I've just pushed a fix to the main branch, so if you reclone and reinstall (sudo ./install.sh), it should update without issue.
I've also changed the build manager to SBT, so if there are any additional customizations that you find yourself wanting (that you don't want to submit a feature request for), repackaging should be as simple as running ./package.sh followed by ./install. sh.
I'd also like to thank you for submitting this bug report -- I'd noticed something was wonky with job deletion but I couldn't put my finger on it, since my test had multiple jobs.  I had initially planned on adding pre-emptable jobs, but since the job deletion wasn't 100%, I held off on that feature.  Now if I get a bit of time, I can hopefully add that one day. :)


Moving from django-tenant-schemas

Hi, currently I'm using django-tenant-schemas with some customizations to the storage and tenant middleware. Because that project seems abandoned / no longer maintained I've been looking at this project. What are the main differences between the two projects and would it be easy to switch over? Thanks!

Could someone provide a use case for a domain model? I can't see how an app would require tenants using more than one domain. Isn't the domain meant to represent the schema and therefore be unique to each tenant?

@rob101 No domain and schema can be different. You can have two domains pointing to the same schema.    I have two domain set for one schema. I use a number for the schema and use that for one domain. Then I also use a friendly company name for the other domain.  Hope that helps


DoorBird plugin...

Hi, I'm looking for guidance, or indeed help, in writing a home bridge plugin for DoorBird intercoms (see www.doorbird.com).  They have an open API, but I'm just not clued up enough to write it myself.
I've managed to get the camera output showing via homebridge-camera-ffmpeg plugin and can trigger the door opener using homebridge-httpdoor, but it would be great to see be able to converse with the caller via the Home app, or even have the Home app popup when the door bell rings, as it did in the Apple Keynote some time ago.
Any assistance for a newbie please?

I would love to know how you got the camera to show up on the homebridge plugin. I tried but it wouldn't display any video. What does your config file look like?
Also what is homebridge running on?
I had tried it on a Raspberry Pi3.
I thought the Home app would have that pop up as a feature as well. Maybe it's a setting in the notification of the device itself?

Hi tommyd75, I'm running this on a RPi3.  Firstly I installed ffmpeg using the instructions here, then I installed homebridge-Camera-ffmpeg plugin.  My config.json looks like this:
"platform": "Camera-ffmpeg",
"cameras": [{
  		"name": "Gates",
  		"videoConfig": {
       		"source": "-re -i http://x.x.x.x:80/bha-api/video.cgi?http-user=xxxxxxxxxx&http-password=xxxxxxxxxxx",
    		"maxStreams": 2,
    		"maxWidth": 1280,
    		"maxHeight": 720,
    		"maxFPS": 6
  		}
	}]

I've also installed homebridge-Httpdoor plugin, which allows you to trigger the gate opening from within the Home app too, config.json looks like this:
"accessories": [{
    "accessory": "Httpdoor",
    "name": "Gates",
    "controlURL"<EMAIL_ADDRESS>    "statusURL"<EMAIL_ADDRESS>}]

It doesn't do anything anything else, so notifications still come through the Doorbird app... at the moment... I'm still working it :)

@gshewan, Thanks!
OK, got it working perfect via Wifi, but when I turn off the wifi on the phone, I can only get the small preview window to show but when I try to open the larger window it just opens a black picture.
Any ideas?
Terminal doesn't show anything either like it does when I open the larger window on wifi.

@tommyd75, yeah I get the same thing. I noticed that the preview default to a 60 second update frequency, instead of 10 seconds when on wifi... so assume it's something to do with HomeKit that changes this.  I'll have a poke around the homebridge-camera-ffmpeg code to see if it's in there.

Ok. Thanks. Please post here if you find anything can tweak to make it happen.

For door opening i am using homebridge-http-simple-switch and syntax is like:
{
"accessory": "SimpleHttpSwitch",
"name": "Gates",
"url"<EMAIL_ADDRESS>"default_state_off": true,
"sendimmediately": "",
"http_method": "GET"
}
Status always is off - door closed, changes state to open only for moment when you open the gate.

Ok, I rebooted my phone and now it's showing 640 X 480 video when I'm not at home or turn wifi off. I had to change the settings to 640 X 480. Now the icing on the cake would be how to get notifications and see that live preview on the notification like in the WWDC demo. Does anyone have notifications working on homebridge camera?

I have a setup running where the Doorbird Doorbell triggers my Homematic, since that one is connected to homebridge that might work for me.
However, using the notification request (http:///bha-api/notification.cgi?) can potentially trigger any http url. You just need find a homebridge plugin that can receive such a call in your configuration.
Since we are now also having full RTSP and SIP available in the Doorbird API, an application as above should be possible.

Yes it's possible. I made a basic doorbell plugin from infos found on the internet. It's a doorbell accessory that (if placed in a room with a camera) sends such a notification and a snapshot and stream right to the ios screen. For testing purposes the "identify" event is connected as trigger.
You can find the plugin under:
https://github.com/Samfox2/homebridge-doorbell

Thanks Samfox2 (snigger), I'll take a look at that!

Was it possible to push the event and snapshot to home screen when the doorbird is triggered?

I tried the plugin of Samfox2, but it doesn't work

Oh it does work but action is hardcoded to identify command. You need to implement a method that connects the ring action of your doorbird.

The doorbird api needs to be tied to this. Either the notification api, monitor or check requests.
Running with notification on my zipato it's worked very well on doorbell event pushing to an http endpoint. Needs some time to make it work. Suggest asking or making a request for the plugin I think a few would want it.  Soon the doorbell to video will be a better experience

Crude plugin for Doorbird but does what is needed on Doorbell events, or combine with motion too.  Will make a few more updates so you can experience something tighter inside HomeKit app
https://github.com/brownad/homebridge-doorbird
there is also official support on Zipatile now too
Can probably close this now @nfarina

Awesome! Will reopen if needed.

I am tried to register a sip User in doorbird. but it has not to work. this way I have been trying. http://<IP_ADDRESS>/bha-api/sip.cgi?action=registration&user=ggzvvx0002&password=n7KqC&url=<IP_ADDRESS>?http-user=ggzvvx0002&http-password=n7KqC

Careful with your credentials..
Also SIP registered to what?  Only the listed SIP devices work as per doobird’s listed integrations.  However if you want to register a user do it from the doorbird app directly it’s documented on the doorbird LAN API.
Sent from my iPhone

On 28 Aug 2019, at 07:15, Krishan93<EMAIL_ADDRESS>wrote:
I am tried to register a sip User in doorbird. but it has not to work. this way I have been trying. http://<IP_ADDRESS>/bha-api/sip.cgi?action=registration&user=ggzvvx0002&password=n7KqC&url=<IP_ADDRESS>?http-user=ggzvvx0002&http-password=n7KqC
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

this Latest API documentation only.When I register Sip User Ip. here incoming user IP address not changed.that why how to register user. In documentation mentioned like this
http:///bha-api/sip.cgi?
action=registration&user=foo&password=bar&url=<IP_ADDRESS>
{
"BHA": {
"RETURNCODE": "1",
"SIP": [
{
"ENABLE": "1",
"PRIORITIZE_APP": "1",
"REGISTER_URL": "<IP_ADDRESS>",
"REGISTER_USER": "ggzvvx0002",
"REGISTER_PASSWORD": "n7KqC",
"AUTOCALL_MOTIONSENSOR_URL": "",
"AUTOCALL_DOORBELL_URL": "",
"SPK_VOLUME": "81",
"MIC_VOLUME": "33",
"DTMF": "1",
"relais:1": "",
"LIGHT_PASSCODE": "",
"INCOMING_CALL_ENABLE": "1",
"INCOMING_CALL_USER": "sip:<IP_ADDRESS>",
"ANC": "1",
"LASTERRORCODE": "408",
"LASTERRORTEXT": "Request Timeout",
"RING_TIME_LIMIT": "180",
"CALL_TIME_LIMIT": "180"
}
]
}
}

What are you trying to achieve with SIP here, what are you registering the doorbird with?
Look at the doorbird app properly you can add SIP users directly and set permissions for the users in the app avoiding the need to hit the API.
Sent from my iPhone

On 28 Aug 2019, at 07:50, Krishan93<EMAIL_ADDRESS>wrote:
this Latest API documentation only.When I register Sip User Ip. here incoming user IP address not changed.that why how to register user. In documentation mentioned like this
http:///bha-api/sip.cgi?
action=registration&user=foo&password=bar&url=<IP_ADDRESS>
{
"BHA": {
"RETURNCODE": "1",
"SIP": [
{
"ENABLE": "1",
"PRIORITIZE_APP": "1",
"REGISTER_URL": "<IP_ADDRESS>",
"REGISTER_USER": "ggzvvx0002",
"REGISTER_PASSWORD": "n7KqC",
"AUTOCALL_MOTIONSENSOR_URL": "",
"AUTOCALL_DOORBELL_URL": "",
"SPK_VOLUME": "81",
"MIC_VOLUME": "33",
"DTMF": "1",
"relais:1": "",
"LIGHT_PASSCODE": "",
"INCOMING_CALL_ENABLE": "1",
"INCOMING_CALL_USER": "sip:<IP_ADDRESS>",
"ANC": "1",
"LASTERRORCODE": "408",
"LASTERRORTEXT": "Request Timeout",
"RING_TIME_LIMIT": "180",
"CALL_TIME_LIMIT": "180"
}
]
}
}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I am working on third party device driver development. The app allowed the only API permission. In API documentation. any third party wants to communicate to door bird they should follow this way. they mentioned. balance video, image, door open are working fine. This Sip registration only balance.

I don’t think homebridge is the right place for doorbird specific questions reach out to doorbird directly they will help you on the driver.
Sent from my iPhone

On 28 Aug 2019, at 08:40, Krishan93<EMAIL_ADDRESS>wrote:
I am working on third party device driver development. The app allowed the only API permission. In API documentation. any third party wants to communicate to door bird they should follow this way. they mentioned. balance video, image, door open are working fine. This Sip registration only balance.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


VPN -> Signature extraction fails

youtube-dl is up-to-date, but I can't seem to download any videos? I am currently using VPN Hotspot Shield. When I turn off my VPN, there are no problems.
youtube-dl is up-to-date (2015.02.06)
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--output', 'C:\Users\Josue\Downloads/%(title)s.%(ext)s', '--no-mtime', '--extract-audio', '--audio-format', 'mp3', '--audio-quality=320k', 'https://www.youtube.com/watch?v=6SFNW5F8K9Y']
[debug] Encodings: locale cp1252, fs mbcs, out None, pref cp1252
[debug] youtube-dl version 2015.02.06
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {'http': 'http://<IP_ADDRESS>:8555', 'https': 'https://<IP_ADDRESS>:8555'}
[youtube] 6SFNW5F8K9Y: Downloading webpage
[youtube] 6SFNW5F8K9Y: Extracting video information
[youtube] {43} signature length 43.42, html5 player en_US-vflwImypH
[youtube] 6SFNW5F8K9Y: Downloading js player en_US-vflwImypH
ERROR: Signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 634, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 547, in _extract_signature_function
File "youtube_dl\extractor\common.pyo", line 396, in _download_webpage
File "youtube_dl\extractor\common.pyo", line 320, in _download_webpage_handle
File "youtube_dl\extractor\common.pyo", line 301, in _request_webpage
File "youtube_dl\YoutubeDL.pyo", line 1578, in urlopen
File "urllib2.pyo", line 410, in open
File "youtube_dl\utils.pyo", line 637, in http_response
IOError: CRC check failed 0x7d1b8747 != 0xb7b055c3L
(caused by IOError('CRC check failed 0x7d1b8747 != 0xb7b055c3L',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 634, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 547, in _extract_signature_function
File "youtube_dl\extractor\common.pyo", line 396, in _download_webpage
File "youtube_dl\extractor\common.pyo", line 320, in _download_webpage_handle
File "youtube_dl\extractor\common.pyo", line 301, in _request_webpage
File "youtube_dl\YoutubeDL.pyo", line 1578, in urlopen
File "urllib2.pyo", line 410, in open
File "youtube_dl\utils.pyo", line 637, in http_response
IOError: CRC check failed 0x7d1b8747 != 0xb7b055c3L
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 619, in extract_info
File "youtube_dl\extractor\common.pyo", line 268, in extract
File "youtube_dl\extractor\youtube.pyo", line 1064, in _real_extract
File "youtube_dl\extractor\youtube.pyo", line 644, in _decrypt_signature
ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 634, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 547, in _extract_signature_function
File "youtube_dl\extractor\common.pyo", line 396, in _download_webpage
File "youtube_dl\extractor\common.pyo", line 320, in _download_webpage_handle
File "youtube_dl\extractor\common.pyo", line 301, in _request_webpage
File "youtube_dl\YoutubeDL.pyo", line 1578, in urlopen
File "urllib2.pyo", line 410, in open
File "youtube_dl\utils.pyo", line 637, in http_response
IOError: CRC check failed 0x7d1b8747 != 0xb7b055c3L
(caused by IOError('CRC check failed 0x7d1b8747 != 0xb7b055c3L',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Obviously the problem in in your vpn/proxy. Closing as non youtube-dl issue.


Error on serverpod generate in generated file in server folder

Missing concrete implementations of 'SerializableEntity.toJson' and 'TableRow.toJsonForDatabase'.
Try implementing the missing methods, or make the class abstract.
@yahu1031  @II11II @vlidholt

@sandeepdevacc thanks for issues bruh. But just don't post the error msg only. Please provide the sufficient details of the error. Like code blocks, what you have done and tried, etc...

@yahu1031  thanks for your reply

this is the issue got when I run serverpod generate command in my server project.

Try deleting the generated folder and generating it again.

It's not working @yahu1031
Is there any other way?

It's possible that you have a missmatch between the version of the serverpod cli tool and the serverpod packages referenced in your project. Run serverpod version and check that it matches the version in your pubspec.yaml files. There may have been some breaking changes since you created your project, see the changelog for instructions on how to update your project.


Vcredist140 / Microsoft Visual C++ fails to install

Checklist

[X] I have verified that this is the correct repository, and the package is maintained by the chocolatey-community user.
[X] I have verified that this is happening in the latest available version of the package.

Chocolatey Version
2.3.0
Chocolatey License
None
Package Version
14.40.33810
Current Behaviour
i receive a error message during the installation of vcredist140. Error happens during the installation of 64 Bit version and 32Bit
Last Time it was working was Wednesday (02.10.2024)
Error Message:
Error - hashes do not match. Actual value was 'E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855'
Expected Behaviour
That the software will be installed without any problems
Steps To Reproduce
We Created a Virtual Maschine with Win10 and than tried to install the chocolatey package vcredist140
Problem appeared during the installation with a script and manually
Environment
- Operating System: Windows 10 Version 22h2 (OS Build 19045.4894)
- PowerShell Version: 5.1.19041.4894

Chocolatey Log
2024-10-08 13:49:14,628 5636 [DEBUG] - Running 'ChocolateyScriptRunner' for vcredist140 v14.40.33810 with packageScript 'C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\vcredist140', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-10-08 13:49:14,628 5636 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyInstall.ps1'
2024-10-08 13:49:14,644 5636 [INFO ] - VERBOSE: Checking Service Pack requirements
2024-10-08 13:49:14,738 5636 [DEBUG] - Running Get-OSArchitectureWidth
2024-10-08 13:49:14,753 5636 [DEBUG] - Running Get-OSArchitectureWidth
2024-10-08 13:49:14,753 5636 [INFO ] - VERBOSE: Analyzing servicing information in the registry
2024-10-08 13:49:14,769 5636 [INFO ] - VERBOSE: Version of installed runtime for architecture x86 in the registry: 14.40.33810
2024-10-08 13:49:14,769 5636 [INFO ] - VERBOSE: Version of installed runtime for architecture x64 in the registry: 14.36.32532
2024-10-08 13:49:14,785 5636 [INFO ] - VERBOSE: Version number of runtime installed by this package: 14.40.33810
2024-10-08 13:49:14,785 5636 [INFO ] - VERBOSE: Runtime for architecture x86 applicable: True; version in registry: [14.40.33810]; should install: False
2024-10-08 13:49:14,785 5636 [INFO ] - Runtime for architecture x86 version 14.40.33810 is already installed.
2024-10-08 13:49:14,800 5636 [INFO ] - VERBOSE: Runtime for architecture x64 applicable: True; version in registry: [14.36.32532]; should install: True
2024-10-08 13:49:14,800 5636 [INFO ] - VERBOSE: Installing runtime for architecture x64
2024-10-08 13:49:14,847 5636 [DEBUG] - Running Install-ChocolateyPackage -packageName 'vcredist140-x64' -fileType 'exe' -silentArgs '/quiet /norestart' -validExitCodes '0 1638 3010' -url64bit 'https://download.visualstudio.microsoft.com/download/pr/1754ea58-11a6-44ab-a262-696e194ce543/3642E3F95D50CC193E4B5A0B0FFBF7FE2C08801517758B4C8AEB7105A091208A/VC_redist.x64.exe' -checksumType64 'sha256' -checksum64 '3642e3f95d50cc193e4b5a0b0ffbf7fe2c08801517758b4c8aeb7105a091208a'
2024-10-08 13:49:14,894 5636 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'vcredist140-x64' -fileFullPath 'C:\Users\admin\AppData\Local\Temp\chocolatey\vcredist140\14.40.33810\vcredist140-x64Install.exe' -url '' -url64bit 'https://download.visualstudio.microsoft.com/download/pr/1754ea58-11a6-44ab-a262-696e194ce543/3642E3F95D50CC193E4B5A0B0FFBF7FE2C08801517758B4C8AEB7105A091208A/VC_redist.x64.exe' -checksum '' -checksumType '' -checksum64 '3642e3f95d50cc193e4b5a0b0ffbf7fe2c08801517758b4c8aeb7105a091208a' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2024-10-08 13:49:14,910 5636 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2024-10-08 13:49:14,910 5636 [DEBUG] - CPU is 64 bit
2024-10-08 13:49:14,925 5636 [DEBUG] - Setting url to 'https://download.visualstudio.microsoft.com/download/pr/1754ea58-11a6-44ab-a262-696e194ce543/3642E3F95D50CC193E4B5A0B0FFBF7FE2C08801517758B4C8AEB7105A091208A/VC_redist.x64.exe' and bitPackage to 64
2024-10-08 13:49:14,941 5636 [DEBUG] - Running Get-WebFileName -url 'https://download.visualstudio.microsoft.com/download/pr/1754ea58-11a6-44ab-a262-696e194ce543/3642E3F95D50CC193E4B5A0B0FFBF7FE2C08801517758B4C8AEB7105A091208A/VC_redist.x64.exe' -defaultName 'vcredist140-x64Install.exe'
2024-10-08 13:49:15,066 5636 [DEBUG] - Using header 'Content-Disposition' to determine file name.
2024-10-08 13:49:15,066 5636 [DEBUG] - Using response url to determine file name. 'https://download.visualstudio.microsoft.com/download/pr/1754ea58-11a6-44ab-a262-696e194ce543/3642E3F95D50CC193E4B5A0B0FFBF7FE2C08801517758B4C8AEB7105A091208A/VC_redist.x64.exe'
2024-10-08 13:49:15,066 5636 [DEBUG] - File name determined from url is 'VC_redist.x64.exe'
2024-10-08 13:49:15,113 5636 [DEBUG] - Running Get-WebHeaders -url 'https://download.visualstudio.microsoft.com/download/pr/1754ea58-11a6-44ab-a262-696e194ce543/3642E3F95D50CC193E4B5A0B0FFBF7FE2C08801517758B4C8AEB7105A091208A/VC_redist.x64.exe' -ErrorAction 'Stop'
2024-10-08 13:49:15,113 5636 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-10-08 13:49:15,113 5636 [DEBUG] - Request Headers:
2024-10-08 13:49:15,128 5636 [DEBUG] -   'Accept':'*/*'
2024-10-08 13:49:15,128 5636 [DEBUG] -   'User-Agent':'chocolatey command line'
2024-10-08 13:49:15,175 5636 [DEBUG] - Response Headers:
2024-10-08 13:49:15,191 5636 [DEBUG] -   'Age':'91991'
2024-10-08 13:49:15,191 5636 [DEBUG] -   'Content-Disposition':'attachment; filename=VC_redist.x64.exe; filename*=UTF-8''VC_redist.x64.exe'
2024-10-08 13:49:15,191 5636 [DEBUG] -   'X-Cache':'HIT'
2024-10-08 13:49:15,191 5636 [DEBUG] -   'X-Ms-ApiVersion':'Distribute 1.2'
2024-10-08 13:49:15,191 5636 [DEBUG] -   'X-Ms-Region':'prod-eus-z1'
2024-10-08 13:49:15,191 5636 [DEBUG] -   'Accept-Ranges':'bytes'
2024-10-08 13:49:15,191 5636 [DEBUG] -   'Content-Length':'25397512'
2024-10-08 13:49:15,191 5636 [DEBUG] -   'Cache-Control':'public, max-age=259200'
2024-10-08 13:49:15,191 5636 [DEBUG] -   'Content-Type':'application/octet-stream'
2024-10-08 13:49:15,191 5636 [DEBUG] -   'Date':'Tue, 08 Oct 2024 11:49:15 GMT'
2024-10-08 13:49:15,191 5636 [DEBUG] -   'ETag':'"0xF0E45F3885C96B36B1F6EE0A6812A8CEAD235BE120BB5595CF6FE61399799467"'
2024-10-08 13:49:15,191 5636 [DEBUG] -   'Last-Modified':'Wed, 01 May 2024 19:13:30 GMT'
2024-10-08 13:49:15,191 5636 [DEBUG] -   'Server':'ECAcc (amb/6B5E)'
2024-10-08 13:49:15,206 5636 [INFO ] - File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded.
2024-10-08 13:49:15,222 5636 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\admin\AppData\Local\Temp\chocolatey\vcredist140\14.40.33810\VC_redist.x64.exe' -checksum '3642e3f95d50cc193e4b5a0b0ffbf7fe2c08801517758b4c8aeb7105a091208a' -checksumType 'sha256' -originalUrl 'https://download.visualstudio.microsoft.com/download/pr/1754ea58-11a6-44ab-a262-696e194ce543/3642E3F95D50CC193E4B5A0B0FFBF7FE2C08801517758B4C8AEB7105A091208A/VC_redist.x64.exe' -ErrorAction 'Stop'
2024-10-08 13:49:15,222 5636 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2024-10-08 13:49:15,222 5636 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="3642e3f95d50cc193e4b5a0b0ffbf7fe2c08801517758b4c8aeb7105a091208a" -t="sha256" -f="C:\Users\admin\AppData\Local\Temp\chocolatey\vcredist140\14.40.33810\VC_redist.x64.exe"]
2024-10-08 13:49:15,300 5636 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="3642e3f95d50cc193e4b5a0b0ffbf7fe2c08801517758b4c8aeb7105a091208a" -t="sha256" -f="C:\Users\admin\AppData\Local\Temp\chocolatey\vcredist140\14.40.33810\VC_redist.x64.exe"] exited with '1'.
2024-10-08 13:49:15,300 5636 [DEBUG] - Existing file failed checksum. Will be redownloaded from url.
2024-10-08 13:49:15,316 5636 [INFO ] - Downloading vcredist140-x64 64 bit
  from 'https://download.visualstudio.microsoft.com/download/pr/1754ea58-11a6-44ab-a262-696e194ce543/3642E3F95D50CC193E4B5A0B0FFBF7FE2C08801517758B4C8AEB7105A091208A/VC_redist.x64.exe'
2024-10-08 13:49:15,331 5636 [DEBUG] - Running Get-WebFile -url 'https://download.visualstudio.microsoft.com/download/pr/1754ea58-11a6-44ab-a262-696e194ce543/3642E3F95D50CC193E4B5A0B0FFBF7FE2C08801517758B4C8AEB7105A091208A/VC_redist.x64.exe' -fileName 'C:\Users\admin\AppData\Local\Temp\chocolatey\vcredist140\14.40.33810\VC_redist.x64.exe' -options 'System.Collections.Hashtable'
2024-10-08 13:49:15,331 5636 [DEBUG] - Setting request timeout to  30000
2024-10-08 13:49:15,331 5636 [DEBUG] - Setting read/write timeout to  2700000
2024-10-08 13:49:15,331 5636 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-10-08 13:49:15,441 5636 [INFO ] -
2024-10-08 13:49:15,441 5636 [INFO ] - Download of VC_redist.x64.exe (24.22 MB) completed.
2024-10-08 13:49:18,472 5636 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2024-10-08 13:49:18,472 5636 [DEBUG] - Verifying package provided checksum of '3642e3f95d50cc193e4b5a0b0ffbf7fe2c08801517758b4c8aeb7105a091208a' for 'C:\Users\admin\AppData\Local\Temp\chocolatey\vcredist140\14.40.33810\VC_redist.x64.exe'.
2024-10-08 13:49:18,472 5636 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\admin\AppData\Local\Temp\chocolatey\vcredist140\14.40.33810\VC_redist.x64.exe' -checksum '3642e3f95d50cc193e4b5a0b0ffbf7fe2c08801517758b4c8aeb7105a091208a' -checksumType 'sha256' -originalUrl 'https://download.visualstudio.microsoft.com/download/pr/1754ea58-11a6-44ab-a262-696e194ce543/3642E3F95D50CC193E4B5A0B0FFBF7FE2C08801517758B4C8AEB7105A091208A/VC_redist.x64.exe'
2024-10-08 13:49:18,472 5636 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2024-10-08 13:49:18,472 5636 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="3642e3f95d50cc193e4b5a0b0ffbf7fe2c08801517758b4c8aeb7105a091208a" -t="sha256" -f="C:\Users\admin\AppData\Local\Temp\chocolatey\vcredist140\14.40.33810\VC_redist.x64.exe"]
2024-10-08 13:49:18,540 5636 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="3642e3f95d50cc193e4b5a0b0ffbf7fe2c08801517758b4c8aeb7105a091208a" -t="sha256" -f="C:\Users\admin\AppData\Local\Temp\chocolatey\vcredist140\14.40.33810\VC_redist.x64.exe"] exited with '1'.
2024-10-08 13:49:18,551 5636 [ERROR] - ERROR: Checksum for 'C:\Users\admin\AppData\Local\Temp\chocolatey\vcredist140\14.40.33810\VC_redist.x64.exe' did not meet '3642e3f95d50cc193e4b5a0b0ffbf7fe2c08801517758b4c8aeb7105a091208a' for checksum type 'sha256'. Consider passing the actual checksums through with --checksum --checksum64 once you validate the checksums are appropriate. A less secure option is to pass --ignore-checksums if necessary.
2024-10-08 13:49:18,551 5636 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '-1'.
2024-10-08 13:49:18,551 5636 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-10-08 13:49:18,598 5636 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-10-08 13:49:18,707 5636 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\vcredist140'
2024-10-08 13:49:18,707 5636 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\vcredist140\vcredist140.nupkg'
  with checksum 'B3E25F838DFC63FDAD4C768B68FB255D'
2024-10-08 13:49:18,707 5636 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\vcredist140\vcredist140.nuspec'
  with checksum 'AC4CE3E8FE1A572508BD848F962D85BB'
2024-10-08 13:49:18,707 5636 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyInstall.ps1'
  with checksum '50A448A1EB166C2ED8EF32388688BE75'
2024-10-08 13:49:18,707 5636 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyUninstall.ps1'
  with checksum '0FFC57B43B4BD80ABCFD3A38D2AE4680'
2024-10-08 13:49:18,707 5636 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\vcredist140\tools\data.ps1'
  with checksum '819DE5696FD27CD3C0544713088A5113'
2024-10-08 13:49:18,738 5636 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vcredist<IP_ADDRESS>810\.arguments".
2024-10-08 13:49:18,738 5636 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vcredist<IP_ADDRESS>810\.extra".
2024-10-08 13:49:18,738 5636 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vcredist<IP_ADDRESS>810\.version".
2024-10-08 13:49:18,738 5636 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vcredist<IP_ADDRESS>810\.sxs".
2024-10-08 13:49:18,738 5636 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vcredist<IP_ADDRESS>810\.pin".
2024-10-08 13:49:18,738 5636 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vcredist<IP_ADDRESS>810\.deploymentLocation".
2024-10-08 13:49:18,754 5636 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\vcredist140".
2024-10-08 13:49:18,754 5636 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-10-08 13:49:18,754 5636 [ERROR] - The install of vcredist140 was NOT successful.
2024-10-08 13:49:18,754 5636 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyInstall.ps1'.
 See log for details.
2024-10-08 13:49:18,769 5636 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\vcredist140".
2024-10-08 13:49:18,769 5636 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\vcredist140 to C:\ProgramData\chocolatey\lib-bad\vcredist140\14.40.33810
2024-10-08 13:49:18,769 5636 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\vcredist140'
 to 'C:\ProgramData\chocolatey\lib-bad\vcredist140\14.40.33810'
2024-10-08 13:49:20,785 5636 [WARN ] -
Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-10-08 13:49:20,800 5636 [INFO ] -
2024-10-08 13:49:20,800 5636 [ERROR] - Failures
2024-10-08 13:49:20,800 5636 [ERROR] -  - vcredist140 (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyInstall.ps1'.
 See log for details.
2024-10-08 13:49:20,800 5636 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-10-08 13:49:20,800 5636 [DEBUG] - Exiting with -1

Anything else?
Runtime for architecture x86 version 14.40.33810 is already installed.
File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded.
Error - hashes do not match. Actual value was 'E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855'.
Downloading vcredist140-x64 64 bit
from 'https://download.visualstudio.microsoft.com/download/pr/1754ea58-11a6-44ab-a262-696e194ce543/3642E3F95D50CC193E4B5A0B0FFBF7FE2C08801517758B4C8AEB7105A091208A/VC_redist.x64.exe'
Download of VC_redist.x64.exe (24.22 MB) completed.
Error - hashes do not match. Actual value was 'E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855'.
ERROR: Checksum for 'C:\Users\admin\AppData\Local\Temp\chocolatey\vcredist140\14.40.33810\VC_redist.x64.exe' did not meet '3642e3f95d50cc193e4b5a0b0ffbf7fe2c08801517758b4c8aeb7105a091208a' for checksum type 'sha256'. Consider passing the actual checksums through with --checksum --checksum64 once you validate the checksums are appropriate. A less secure option is to pass --ignore-checksums if necessary.
The install of vcredist140 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyInstall.ps1'.
See log for details.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures

vcredist140 (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyInstall.ps1'.
See log for details.

+1 also seeing this error on Windows Server 2019.

Seems to be working OK now :thinking:

@Cancom-Stryjek Given the comments just above, are you still seeing this?

i can confirm it. It is working again

I can confirm it. It is working again


[Context] Clarify the full set of values any context object property can take.

We specifically need to know what values userLicenseType and tenantSKU can take but in general it feels like many properties there (which are not of a generic type like string) must be defined fully in the documentation.
Please update. Thanks.

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

ID: 8dfa1a29-bcf4-0cc5-ae3a-b185a00fd7bc
Version Independent ID: c68181e1-151b-fc78-2671-fe9b397b702e
Content: Get context for your tab - Teams
Content Source: msteams-platform/tabs/how-to/access-teams-context.md
Product: msteams
GitHub Login: @surbhigupta
Microsoft Alias: lajanuar

@sushruth - We are investigating your query. We will get back to you once we have any update.

@Nivedipa-MSFT Can you clarify exact string values? is it "E1", "E3", and "E5" or "E1 enterprise plan", "E3 enterprise plan" and "E5 enterprise plan" ?
Please clarify with quotes and full text.
Similar question on tenantSKU as well. Please clarify all exact values possible. Thanks.
I would also request the same for other potential fields in context that can be finite set of strings. This is the exhaustive list -
locale
theme
teamType
userTeamRole - if it is deterministic
hostClientType
tenantSKU
userLicenseType
ringId

@v-silakshmi - can you please clarify the description text with quotes around each possible value to specify exact values?

@sushruth - Possible values are like below:
locale - en-MY,en-NZ,en-PH,en-SG,en-TT,en-US,en-ZA,en-ZW...etc(upto 228 values)
theme - default, dark, or contrast.
teamType - Standard = 0, Edu = 1 , Class = 2,  Plc = 3, Staff = 4
userTeamRole - Admin = 0, User = 1 ,Guest = 2
hostClientType - android, ios, web, desktop, surfaceHub, teamsRoomsAndroid, teamsPhones, teamsDisplays rigel (deprecated, use teamsRoomsWindows instead)
tenantSKU - Possible values are enterprise, free, edu, unknown"
userLicenseType - Possible values are enterprise, free, edu, unknown"
ringId - ring0,ring0_s,ring1,ring1_5,ring1_6,ring2,ring3,ring3_6,ring3_9,general,general_gcc

@sushruth - The document has newly updated with properties of the Context interface.

Context property has all the information of properties.


[WIP] Add grafana URL to all runs

@ntabris could you assist?
I've generated e.g.
http://<IP_ADDRESS>:3000/d/eU1bT-nVz/cluster-metrics-prometheus?from=1665790446518&to=1665790694449&var-cluster=test_array-c6668c2c
The timestamps are UTC. However, grafana seems to want local timestamps, as per my browser's timezone, which I can't know since I'm generating the URL statically.

The timestamps are UTC. However, grafana seems to want local timestamps, as per my browser's timezone, which I can't know since I'm generating the URL statically.

I'm pretty sure your timestamps are just off by an hour.
1665790694449 (what you have as end time) is 2022-10-14T23:38:14.449Z but this cluster wasn't running till 2022-10-15T00:31:10UTC.

@ntabris Ah yes thank you. My code was accidentally converting the UTC timestamp to a local one.

This is ready for review and merge.
There's an outstanding problem of severe clock misalignment between github actions (where we record the start and stop timestamps of each test) and prometheus - I've observed 80s differences. As a result the slicing of the grafana plot is very crude as I was forced to add a very large padding.
There's no reason why this can be remediated later though.


Ignore .DS_Store (and perahps other dot files)

Current behavior
Upon encountering unexpected files, bazel-remote fails to start.
For example,
mkdir /home/vagrant/.cache/bazel-remote
touch /home/vagrant/.cache/bazel-remote/.DS_Store
./bazel-remote --dir=/home/vagrant/.cache/bazel-remote --max_size=20

2023/02/15 21:32:37 bazel-remote built with go1.19.4 from git commit b899a9d0f9d086a25e9ec51ccba8dafbc36ca8eb.
2023/02/15 21:32:37 Initial RLIMIT_NOFILE cur: 2560 max: 2560
2023/02/15 21:32:37 Setting RLIMIT_NOFILE cur: 2560 max: 2560
2023/02/15 21:32:37 Storage mode: zstd
2023/02/15 21:32:37 Zstandard implementation: go
2023/02/15 21:32:37 Limiting concurrent file removals to 5000
2023/02/15 21:32:37 Loading existing files in /home/vagrant/.cache/bazel-remote.
2023/02/15 21:32:37 Scanning cache directory with 16 goroutines
2023/02/15 21:32:37 Failed to scan cache dir: Unexpected file: .DS_Store
2023/02/15 21:32:37 Loading of existing cache entries failed due to error: Unexpected file: .DS_Store

Feature request
bazel-remote should ignore .DS_Store files (as well as perhaps some other common types of dot files). When running bazel-remote on MacOS, which admittedly is perhaps uncommon, such files can be commonly encountered and this issue can be unnecessary disruptive in causing bazel-remote to fail to start up.
Thanks for all your work on this awesome project ❤ !

Sounds like a reasonable feature request- landed a change which I think should work.

Thanks for all your work on this awesome project heart !

Thanks for the kind words- I appreciate it.


Enhanced logging for --show-diffs

When using the replicate command with --mode compare and --show-diffs enabled, the output should contain more information about the mismatches found during validation
$ riot <source> replicate <target> --mode compare --show-diffs
Comparing 100% │███████████████████████│ 27/27 (0:00:01 / 0:00:00) 27.0/s >1 T0 ≠1 ⧗0

Additionally, when running the command with -i, sometimes the output will contain specific information about validation errors.
$ riot -i <source> replicate <target> --mode compare --show-diffs
18:37:02.382 INFO org.springframework.batch.core.launch.support.SimpleJobLauncher	: Job: [SimpleJob: [name=compare-job]] launched with the following parameters: [{}]
18:37:02.406 INFO org.springframework.batch.core.job.SimpleStepHandler	: Executing step: [compare-step]
Comparing   0% │                                                                                │ 0/7 (0:00:00 / ?) ?/s
18:37:03.849 INFO org.springframework.batch.core.launch.support.SimpleJobLauncher	: Job: [SimpleJob: [name=compare-step-reader]] launched with the following parameters: [{}]
18:37:03.856 INFO org.springframework.batch.core.job.SimpleStepHandler	: Executing step: [compare-step-reader-step]
18:37:05.428 INFO org.springframework.batch.core.step.AbstractStep	: Step: [compare-step-reader-step] executed in 1s572ms
18:37:05.435 INFO org.springframework.batch.core.launch.support.SimpleJobLauncher	: Job: [SimpleJob: [name=compare-step-reader]] completed with the following parameters: [{}] and the following status: [COMPLETED] in 1s583ms
18:37:05.533 WARNING com.redis.riot.cli.Replicate	: Value mismatch for string ods_stethoscope_heartbeat at offset 14
Comparing 100% │█████████████████████████████│ 27/27 (0:00:01 / 0:00:00) 27.0/s >1 T0 ≠1 ⧗0
18:37:05.855 WARNING com.redis.riot.cli.common.KeyComparisonStepListener	: Verification failed: OK=25 Missing=1 Values=1 TTLs=0 Types=0
18:37:05.857 INFO org.springframework.batch.core.step.AbstractStep	: Step: [compare-step] executed in 3s450ms
18:37:05.861 INFO org.springframework.batch.core.launch.support.SimpleJobLauncher	: Job: [SimpleJob: [name=compare-job]] completed with the following parameters: [{}] and the following status: [COMPLETED] in 3s462ms

But other times the information seems to be omitted. It is not clear why this happens.
$ riot -i <source> replicate <target> --mode compare --show-diffs
18:48:26.265 INFO org.springframework.batch.core.launch.support.SimpleJobLauncher	: Job: [SimpleJob: [name=compare-job]] launched with the following parameters: [{}]
18:48:26.289 INFO org.springframework.batch.core.job.SimpleStepHandler	: Executing step: [compare-step]
Comparing   0% │                                                                                │ 0/7 (0:00:00 / ?) ?/s
18:48:27.651 INFO org.springframework.batch.core.launch.support.SimpleJobLauncher	: Job: [SimpleJob: [name=compare-step-reader]] launched with the following parameters: [{}]
18:48:27.657 INFO org.springframework.batch.core.job.SimpleStepHandler	: Executing step: [compare-step-reader-step]
18:48:29.233 INFO org.springframework.batch.core.step.AbstractStep	: Step: [compare-step-reader-step] executed in 1s576ms
18:48:29.239 INFO org.springframework.batch.core.launch.support.SimpleJobLauncher	: Job: [SimpleJob: [name=compare-step-reader]] completed with the following parameters: [{}] and the following status: [COMPLETED] in 1s585ms
Comparing 100% │█████████████████████████████│ 26/26 (0:00:01 / 0:00:00) 26.0/s >0 T0 ≠1 ⧗0
18:48:29.654 WARNING com.redis.riot.cli.common.KeyComparisonStepListener	: Verification failed: OK=25 Missing=0 Values=1 TTLs=0 Types=0
18:48:29.655 INFO org.springframework.batch.core.step.AbstractStep	: Step: [compare-step] executed in 3s366ms
18:48:29.659 INFO org.springframework.batch.core.launch.support.SimpleJobLauncher	: Job: [SimpleJob: [name=compare-job]] completed with the following parameters: [{}] and the following status: [COMPLETED] in 3s379ms

🎉 This issue has been resolved in v3.1.1 (Release Notes)


Testing Performance Profile changes

Test Plan for Performance Profile changes

Generic validation of the recommendations generated in both cost and performance profile for all the terms
Validate various notifications codes
Validate actual recommendation values for performance profile - Update validation infra scripts
Verify documentation related to performance profile changes

Merged as part of 981. So closing this issue


Bio-Formats 6.13.0 updates

Updates to bump Bio-Formats version and add release announcement and new contributors.
Will fail and wont be ready for full review until BF artefacts have been released

Failures due to broken link http://npsc.ac.uk/, would https://www.dundee.ac.uk/locations/national-phenotypic-screening-centre-npsc be a suitable alternative link?

https://snoopycrimecop.github.io/www.openmicroscopy.org/2023/05/02/bio-formats-6-13-0.html
Not for this PR but it will be good to link to the contributor page when we thank the person


Use buildDynamicEpic in the comparison endpoint

This should give identical results to calling findTestAndVariant but it’s higher level (buildDynamicEpic calls findTestAndVariant) so will give us more confidence that we’ve got things wired up correctly.

Thanks both!


[3.1] String and Function stack locations

I was trying to understand where all the garbled characters came from in my C64 program, until I realized that there are string and functions stacks where I used to put my screen ram and custom fonts. :-P V.2.3 allowed the use of all the memory up to $CFFF, hence my mistake.
Of course I could move screen ram and fonts somewhere else, but I would be forced to cut the game content. Unfortunately I'm working on a text adventure, which is a memory hungry genre...
Is there a safe address limit not to be crossed, to avoid stumbling into the function stack?
Is there a chance the stacks can be moved somewhere else? (I know, this is SO selfish). :-D

Hi @Diduz
Currently, on the C64, the string stack reserves $CF00-$CFFF and the function stack grows downwards from $CEFF. If you only use STATIC subs and functions, the function stack won't be used at all.
To change the string stack location, you can change this line in the lib/ folder:
https://github.com/neilsf/xc-basic3/blob/ee03ec15aa1dab5f06fa667336d3187799319a82/lib/core/stack/stack.asm#L6
Note that your changes may be lost if you later update XC=BASIC.
I'll consider making this a configurable option in the future.
Does this answer your question?

Does this answer your question?

Yes, thanks. :-) I've to think this through.


[Bug]  The source sql file causes the session to exit directly. When the last line of the sql file is empty

Code of Conduct

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

Search before asking

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

Describe the bug
The source sql file causes the session to exit directly. When the last line of the sql file is empty

Affects Version(s)
1.7.0
Kyuubi Server Log Output
No response
Kyuubi Engine Log Output
No response
Kyuubi Server Configurations
No response
Kyuubi Engine Configurations
No response
Additional context
No response
Are you willing to submit PR?

[X] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
[ ] No. I cannot submit a PR at this time.

Hi, I'd like to solve this problem. @pan3793 Please assign this to me. Thanks.

@Kiss736921  Hi , Do you probably know where the problem is now, I haven't had time to find the problem here


installation

Hello i install bzar with zkg but how can i sure that loaded and work ?

Hello.  That's a good question.  I can direct you to some online resources, but unfortunately, I do not have pcaps or btests to share.  List of online resources below:

Wire Shark PCAP Repository.  This website contains some useful PCAPS on SMB and DCE-RPC.  Does not provide full testing/coverage of everything BZAR detects, but it at least provides some partial coverage.  URL https://wiki.wireshark.org/SampleCaptures

Red Canary Atomic Testing.  Red Canary provides very useful instructions on how execute specific ATT&CK Techniques, which can be very useful for testing BZAR and other security tools.  URL https://github.com/redcanaryco/atomic-red-team

MITRE CALDERA. CALDERA™ is a cyber security framework designed to easily run autonomous breach-and-simulation exercises. It can also be used to run manual red-team engagements or automated incident response.  It is built on the MITRE ATT&CK™ framework and is an active research project at MITRE.  URL https://github.com/mitre/caldera

I hope this helps.

thanks for replay i have this situation.
in diag of zeek i have:
==== No prof.log
==== No packet_filter.log
==== No loaded_scripts.log
====Zeek plugins: (none found)
does it bzar loaded? how can i sure about it?
check zkg list return this:
zeek/mitre-attack/bzar (installed: master) - BZAR - Bro/Zeek ATT&CK-based Analytics and Reporting.
i check smb with PsExec and run lots of pcap with this command  "bro -Cr example.pcap" and finally run atomic read team.
no notice log generate with mirte attack tag though! but i have lots of connection logs.
any idea.


super_resolution_demo Issue

When choosing the source, camera cannot been used but still on the options.
And there's no default source.

Issue been resolved by #16
Now the demo can download image for inference automatically. (From Wikipedia source)


[python-package] DMatrix.slice does not propagate feature_names

Hi,
I noticed today that in a case such as the following:
dtrain = xgboost.DMatrix(data = pandas_dataframe)
dval    = dtrain.slice(indices)

dval has the default feature names ('f0', 'f1', 'f2', etc..), and does not inherit those from dtrain.
I checked the source code, and at first glance the feature names should be passed to the output of DMatrix.slice, but in practice this does not happen.
An easy work around from the user side is to just do:
dval.feature_names = dtrain.feature_names

but by looking at the source code, this is supposed to be the default behaviour of DMatrix.slice.
I am using xgboost version 0.80 installed via conda from conda-forge.
Thanks!

#3766 should fix it. Thanks!


Ability to retrieve self sign certificate using Hoverctl

It would be useful if you could retrieve the self signed certificate which Hoverfly is using via the CTL. For example, I want to add it to a trust store, and now need to find it in the source tree.

Ok, no more comments & the documentation deals with this so closing.


fix: Has Many By wrong words

entities should be entity.
field should be fields.

Oh sorry this! Thanks for the wonderful PR!


refactor: replace all &FileId to FileId

close  https://github.com/tonbo-io/tonbo/issues/213

Thank you very much for your PR! Before we start reviewing it, could you please fix the code formatting?

I did it 😉

It looks good to me, thanks @sollhui !


Add custom title for streaming url

It adds title for currently playing stream or song on lockscreen (iOS) and background process (android).

+1

Thanks for this and sorry for the delay!  I didn't know this was possible.  Code looks great at first glance, I'll plan to merge and release a new version tonight when I'm at my computer.

v0.6.0 is live on npm with this change.  Thanks again.

@justinmc thanks 👍


Request to support OAuth Token as kubernetes client credentials in operator-framework-spring-boot-starter

In operator-framework-spring-boot-starter module, username/password authentication is supported for newly created kubernetes client. However, in some cases, username/password is unsupported and only OAuth token is supported, the later one is more secure. Maybe we can support both.
More details are in method io.javaoperatorsdk.operator.springboot.starter.OperatorAutoConfiguration#getClientConfiguration:
xxx
.orElseGet(() -> {
          final var clientCfg = configuration.getClient();
          ConfigBuilder config = new ConfigBuilder();
          config.withTrustCerts(clientCfg.isTrustSelfSignedCertificates());
          clientCfg.getMasterUrl().ifPresent(config::withMasterUrl);
          clientCfg.getUsername().ifPresent(config::withUsername);
          clientCfg.getPassword().ifPresent(config::withPassword);

More details can be found at java-operator-sdk issue 1282.

Thx @zhannicholas . Do you plan also to work on this?

Yeah😁


Loading redux react container without Route does not works in production environment

I define redux react container in standard way:
export default connect(mapStateToProps, mapDispatchToProps)(AutoSampler);
It works if it is loaded as component in a Route.
import AutoSamplerPage, { autoSamplerParam } from './views/autoSampler';

export default () => (
  <Switch>
    <Route path={`/${autoSamplerParam.command}`} component={AutoSamplerPage} />
    ...
  </Switch>
);

But if it is loaded without Route in the way below:
export default () => (
  <Switch>
    <Route path="/model" component={ModalWindow} />
    ...
  </Switch>
);

// here is the definition of ModalWindow
import AutoSamplerPage, { autoSamplerParam } from '../autoSampler';

class ModalWindow extends React.Component {
  state = {
    showModal: 'hide'
  };

  render() {
    console.log('ModalWindow render');

    switch (this.state.showModal) {
      case autoSamplerParam.command:
        return <AutoSamplerPage />;
      default:
        return <div />;
    }
  }
}

In production environment, there will be an error:
Uncaught Error: Minified React error #130; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at reactProdInvariant (reactProdInvariant.js:29)
    at ReactCompositeComponentWrapper.instantiateReactComponent [as _instantiateReactComponent] (instantiateReactComponent.js:72)
    at ReactCompositeComponentWrapper._updateRenderedComponent (ReactCompositeComponent.js:758)
    at ReactCompositeComponentWrapper._performComponentUpdate (ReactCompositeComponent.js:721)
    at ReactCompositeComponentWrapper.updateComponent (ReactCompositeComponent.js:642)
    at ReactCompositeComponentWrapper.performUpdateIfNecessary (ReactCompositeComponent.js:558)
    at Object.performUpdateIfNecessary (ReactReconciler.js:154)
    at runBatchedUpdates (ReactUpdates.js:148)
    at ReactReconcileTransaction.perform (Transaction.js:141)
    at ReactUpdatesFlushTransaction.perform (Transaction.js:141)

That means, If I put the container AutoSamplerPage  inside another react component, even the another react component is a component of Route, it will not work.
But If I put the container AutoSamplerPage directly as a component of Route, or directly inside of <Provider store={store}>, it will work in production environment.

I guess I need to pass store as props to ModalWindow to get it work.

Seems like an app-specific issue


feat(prettier): print with_clause in reexport declaration

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2635  👈
#2634
#2633
main

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

Join @magic-akari and the rest of your teammates on  Graphite


Add global_cache_tracker stability tests.

This adds some tests to ensure that the database used in the global cache tracker stays compatible across versions. These tests work by using rustup to run both the current cargo and the stable cargo, and verifying that when switching versions, everything works as expected.
These tests will be ignored on developer environments if they don't have rustup, or don't have the stable toolchain installed. It does assume that "stable" is at least 1.76. It is required for the tests to run in CI, but will be disabled in rust-lang/rust since it does not have rustup.
I'm not expecting too much trouble with these tests, but if they become too fiddly or broken, they can always be changed or removed.
The support code for running "cargo +stable" is very basic right now. If we expand to add similar tests in the future, then I think we could consider adding support functions (such as tc_process) to make it easier or more reliable.

Thanks for this!
@bors r+

:pushpin: Commit a82794ec4a205b58ad7cfd4382f50db6690ac218 has been approved by weihanglo
It is now in the queue for this repository.

:hourglass: Testing commit a82794ec4a205b58ad7cfd4382f50db6690ac218 with merge cafbc12bd97cccc05379a53dd8aec202bd07a3aa...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing cafbc12bd97cccc05379a53dd8aec202bd07a3aa to master...


Fixed the URL for the Spring Data Commons documentation

I fixed an incorrect URL in the antora.yml file that was preventing other pages from linking to the Spring Data Commons documentation.

Thank you for your contribution. That's merged now.


Update documentation

Description
Updates README
Updates inline documentation of the action

[x] Yes, I signed my commits.

Rest all looks good. Thanks @navendu-pottekkat :+1:


Fixing a bug with --debug=sconscript

Fixing a bug with --debug=sconscript  where no exit message was emitted on exception catch

[x] I have created a new test or updated the unit tests to cover the new/changed functionality.
already present
[x] I have updated CHANGES.txt (and read the README.rst)
already present
[x] I have updated the appropriate documentation
already present

If your existing test didn't catch this, then there is not a test to check this code change, and really one should be added to satisfy the PR requirements.

True, could you kindly help me out an tell me when the return exception is thrown?

Von: William Deegan @.>
Gesendet: Wednesday, November 29, 2023 7:58:31 PM
An: SCons/scons @.>
Cc: Sten Gruener @.>; Author @.>
Betreff: Re: [SCons/scons] Fixing a bug with --debug=sconscript (PR #4447)
BeSecure!       This email comes from outside of ABB. Make sure you verify the sender before clicking any links or downloading/opening attachments.
If this email looks suspicious, report it by clicking 'Report Phishing' button in Outlook or raising a ticket on MyIS.
If your existing test didn't catch this, then there is not a test to check this code change, and really one should be added to satisfy the PR requirements.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/SCons/scons/pull/4447*issuecomment-1832518873__;Iw!!NLW3fF9v!MqxC6QDfIe7k1DsPrWDM-xH-UiqMo_h_-YPpRgsLlJH4qg4HympJ01hT2f1ama9rdy3QPnJKjRjFTAFIKkSMVZFPskI$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AQUNYPN6FGCN2TA6OICWIVDYG6AVPAVCNFSM6AAAAAA77XXIG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSGUYTQOBXGM__;!!NLW3fF9v!MqxC6QDfIe7k1DsPrWDM-xH-UiqMo_h_-YPpRgsLlJH4qg4HympJ01hT2f1ama9rdy3QPnJKjRjFTAFIKkSMA2lCRL8$.
You are receiving this because you authored the thread.Message ID: @.***>

@bdbaddog I hope it is okay now, thanks for the hint!

Also entries in CHANGES.txt should be ordered by contributors last name.

Also need blurb in RELEASE.txt, other than that looks good.
Your second test should fail without your fix right?

Also need blurb in RELEASE.txt, other than that looks good.
Your second test should fail without your fix right?

this is true

other changes also done


Updating CMake configuration to get correct version of TAU library,

and to simplify configuration of HPX+APEX+TAU.

LGTM


Multiple issues with p1_catchments_sf

Currently, there seems to be an issue in targets p1_catchments_sf which has more unique values compared to reaches.
tar_target(p1_catchments_sf,
    {st_read(dsn=p1_catchments_shp, layer="nhru",quiet=TRUE) %>% filter(hru_segment %in% p1_reaches_sf$subsegseg)})

where p1_catchments_shp = "1_fetch/out/GeospatialFabricFeatures_02.gdb" downloaded from  https://www.sciencebase.gov/catalog/item/535eda80e4b08e65d60fc834 under file geodatabases

nrow(p1_catchments_shp) != nrow(p1_reaches_sf). Shouldn't there be a 1 to 1 match between p1_reaches_sf and p1_catchments_sf such that every reach pairs with 1 catchment, correct?  if p1_catchments_shp$hru_segment doesn't match p1_reaches_sf$subsegseg, which p1_catchments_shp attributes matches with the reaches attributes ?

Additionally, we' ve found that the Geospatial Fabric for National Hydrologic Modeling's nhru shapefiles have fewer attributes compared the nhru geodatabase files ? Which spatial file type should we use? Is one preferred to another? Would that help with getting a correct join between reaches and catchments?  (See colnames in screenshot below of nhru_02.gdb, nhru_02.shp, p1_reaches_sf (study_stream_reaches)

p1_catchments_sf has invalid geometries. Why is that? If we use shapefile are there still geometry issues? Can these be fixed with sf? (see @jds485 comment )

@jds485 - are we okay using Geospatial Fabric NHD data 1.0 (linked above) ? It looks like their is a version that succeeds it, version 1.1 --> https://www.sciencebase.gov/catalog/item/5e29d1a0e4b0a79317cf7f63
Confirming as this could alter how we process the catchment polygons.

@msleckman - I think I was getting mixed up here. I think it does make sense to have many more hru's compared to segments. That is because, most of the segments have two hru's (one on either side). The headwater catchments have only one.

Which spatial file type should we use? Is one preferred to another? Would that help with getting a correct join between reaches and catchments? (See colnames in screenshot below of nhru_02.gdb, nhru_02.shp, p1_reaches_sf (study_stream_reaches)

Looking at the GFv1.0 gdb vs. GFv1.1 shpfiles, the invalid geometries are the same in both. I thought possibly that this was mainly in gdb because I ran into geometries issues with gridmet with gdb and not with shp format. Likely a different bug.
Since gdb is used in the 456 river reaches we are using, we can stuck with gdb.

Will have to make sure geometries get fixed in the pipeline.

I viewed the HRUs in QGIS and ran the Check validity function. Here is the result:

Zooming in on the error segments, it looks like the PRMS HRUS were generated from a raster, so there are cases where a segment of the polygon is isolated from the rest of the polygon.

I think these would have to be manually edited to remove the red vertex (or maybe there is a function for this?)

Super clear. Issue #60 created to fix geometries in drb catchments gdb (p1_catchments_shp).

@jds485 Do you know which HRU(s) are represented in your invalid geometry here?

Here are the hru_id and hru_segment columns:

1112
0

1505
0

2898
0

4724
30

3576
35

3463
42

3231
59

3244
59

4661
62

3250
63

3249
64

3266
68

3345
69

2553
77

3921
131

3892
138

3880
143

3839
148

4549
152

4550
164

3785
166

3735
168

3938
202

3906
204

3893
206

3885
207

3664
220

4717
240

3508
241

4700
264

3562
275

3356
284

4668
329

3173
333

3221
341

4656
343

4669
355

3096
356

3097
372

4635
374

3063
395

3083
574

3053
582

3081
584

2964
590

2935
601

3037
603

3002
605

1810
767

2454
828

4572
843

3185
859

3179
867

3215
867

3225
868

3267
868

3213
879

3172
881

3163
884

3125
889

3129
895

3186
902

3087
904

4774
1058

4541
1253

2846
1263

2493
1510

2494
1513

2495
1519

2530
2030

4630
2082

2981
2084

4677
2108

4633
2125

2977
2129

2920
2137

2912
2139

4706
2206

3248
2242

3256
2250

2892
2751

I think we want to keep #60 open until we create a new target that contains the NHD catchment polygons for a subset of the segments that have been split (but that the current HRU's don't account for). I'm wondering if this issue can be closed though? @msleckman

@lekoenig Do we have an issue to address the missing PRMS catchments (segments with no catchments)? this regards the solution discussed today about taking the hru catchments adjacent to the PRMS segments that do not have PRMS catchments.If we do not have an issue, can it be added in this issue thread?
The original bugs raised in this issue are resolved now - they were specific to the geometry of the target p1_catchments_sf, which we fix and validate with buffer. But since the issue title is broad enough, we can maybe keep it open until we address the missing catchments.
Either option work.

Do we have an issue to address the missing PRMS catchments (segments with no catchments)?

@msleckman  The remaining steps are addressed in another open issue (#60), so I suggest we close this one if that works for you.


[Suggestion] add Ajv to Data validation section

Ajv - the fastest JSON-schema validator

Sure. Read https://github.com/sindresorhus/awesome-nodejs/blob/master/contributing.md and do a pull request ;)

Thanks for confirming!


Update RocksDB to 5.14.2

Thanks!

@ekmartin currently blocked on cutting a release that includes this change:
   Compiling librocksdb-sys v5.14.2
error: expected one of `crate`, `fn`, `pub`, `static`, `type`, or `}`, found `;`
    --> /home/t/src/rust-rocksdb/target/package/rocksdb-0.10.1/target/debug/build/librocksdb-sys-882744c53a3eb87c/out/bindings.rs:1166:5
     |
1165 | extern "C" {
     |             - expected one of `crate`, `fn`, `pub`, `static`, `type`, or `}` here
1166 |     ;
     |     ^ unexpected token

error: aborting due to previous error

@spacejam I might be doing something wrong, but I can't seem to reproduce this: cargo build completes successfully using the nightly version from May 19th (also tried with a newer one). Which version are you using?

I'm not sure exactly what was happening, but I was able to resolve this by upgrading from rust stable 1.26 to 1.27.1. On 1.26, librocksdbsys was building fine on its own but I couldn't build it as a dependency for the top level rocksdb crate. Marking this in my mind as a weird thing, but not spending more effort on it for now. Thanks for trying to reproduce!