Cache last Retry-After value when polling on LRO

Some operations return a retry-after value on the first response but not
subsequent responses.  This causes the polling logic to fall back to the
default polling value, causing some LROs to take longer than required.
Cache the last retry-after value and use it when no retry-after value is
provided by the service.
Thank you for your contribution to Go-AutoRest! We will triage and review it as soon as we can.
As part of submitting, please make sure you can make the following assertions:

[ ] I've tested my changes, adding unit tests if applicable.
[ ] I've added Apache 2.0 Headers to the top of any new source files.

Still need to test this.

CC @tombuildsstuff @katbyte to assess impact on Terraform scenarios.

Will change the default polling interval to 30s instead.


Implement codec-redis

Motivation:

To encode/decode RESP (REdis Serialization Protocol) using Netty
http://redis.io/topics/protocol

Modifications:

Add RedisEncoder
Add RedisObjectDecoder and RedisObjectAggregator
Add tests

Result:

Added codec-redis
codec-redis can encode/decode RESP (REdis Serialization Protocol)

And, I tested this commit with an example client and a Redis server. After this commit was merged, I'll push an example client as another PR because of build dependencies.

@jongyeol stay tuned... will review soon.

ping @mp911de

Pretty decent work. Added some comments. Guess state machines are in any case hard to read.

Thank you for review! I'll update this PR. :)

@jongyeol I imported your change into https://github.com/mp911de/lettuce/commit/ba8c974fb0d59620950bf64408c687303d93ba65 and split aggregation from decoding into RedisFrame. I also made some other minor changes to use it in lettuce.
I think RedisEncoder could either stay the way it is or be refactored also to use frames. I'm fan of keeping it how it works right now. Loading huge amounts of data is something users might be aware of and since they don't want to kill their JVM with OOMEs. The other side is that encoder and decoder are asymmetric currently. Guess we'll get feedback on this topic anyways :)
Using RedisCodec in lettuce yields in about 25% more throughput when using pipelining with a batch size of 500 items. writeAndFlush throughput stays mostly the same. Great work. My changes are available at https://github.com/mp911de/lettuce/commit/cfea10d35025eeb82b47f6b7ad1a99818b924415 (https://github.com/mp911de/lettuce/tree/netty-redis-codec).

@mp911de maybe you want to open a PR against jongyeol s brsnch so he can merge the code and so update this pr? For sure you would need to allow it in terms of license ;)

Sure. @jongyeol WDYT?

@mp911de Oh, you already did it. Actually, I was already working on seperating decoder and using subtypes. It's not exactly same with yours but almost done. For now, I want to share my changes on this PR before merging with yours. Could you wait few hours?

@mp911de I updated it about your comments, could you review again? :smiley:

I'll take tomorrow a deeper look into it. The one thing that bothers me is byte[] allocation for error/simple/integer messages. Maybe it's better to have ByteBufs instead of byte[] or even String (for simple/error responses) since it's less opinionated about how things are consumed. A client might decide to ignore single/error responses, with ByteBuf they would not need to pay for processing something, they don't really need.

I think I misunderstood about your comment before. I totally agree simple/error don’t need byte[]. I’ll fix it after work.

I took your code and rebased lettuce on your work. The adoption didn't took too long and it works quite nicely. The type hierarchy doesn't feel natural yet, I'll add some thoughts later on. About the simple string parsing I want to create a JMH benchmark to get a feeling about the decoding cost. I did a JMH benchmark for long parsing using Long.parseLong and the ByteBufProcessor, see here: https://gist.github.com/mp911de/ff021322f7a60043ea1e

@mp911de I added a commit to this. (not squashed yet). I applied your ToLongProcessor and ideas of your amazing work from https://github.com/mp911de/lettuce/tree/netty-redis-codec. This PR was very improved with your help. :smile: And, I tried to restructure the class hierarchy. How about this type hierarchy? Is it more natural than before?

Sorry for being fuzzy. The underlying reason is that I had to have a structured understanding for the RESP again. I summarized the Redis RESP possibilities to get an understanding of what I meant with "not natural" and to recognize RESP does not fit a simple OO type model. This means, either more types to define nullable types or defining type/nullability indicators in a base interface. Such a type implies the fact some subtypes always return the same value (e.g. simple string can't be null, just empty). From here I would conclude:

Having a base type (interface).
Having a type for simple strings holding a string value. Errors could be distinguished by RedisMessageType. Common strings as OK or QUEUED could be optimized using singletons.
Emptiness can be expressed by the value itself and needs no method/indicator like isEmpty. Predefined, empty values can be optimized with singletons, as you already did.
Expressing nullability for bulk strings and arrays could be done with an interface but perhaps it's not the best idea. Maybe isNull on the base type (as it was) is a good idea instead of adding another interface.
Having dedicated types for bulk strings with a ByteBut, integer with a long and array header with a long.

About classes and RedisMessageType: That's sort of philosophical: It's possible to have SimpleString and SimpleErrorString classes to express the an error aspect as type. Adding many types make the API more complex. The other possibility is having a small number of types and using enum/flags to distinguish between states.
The more I reiterate the topic, the more I favor using type and isNull on the base type. Users have a consistent way to distinguish between particular parts of the Redis response. Users would primarily use the RedisMessageType (using enum as type allows to use switch/case) to distinguish between integer/bulk/... and casting of the object to retrieve the value/content.
Does this make sense?
(Thanks for being patient with me :)

Fyi. JMH says ByteBuf.toString(Charset) costs ~50ns. Since errors should be an exception case and common simple responses (OK, QUEUED) can be optimized, maybe using String in simple string responses isn't too bad after all? WDYT?

Actually, I didn't apply OO style to first commit for types intentionally, because RESP is not fit for representing OO style. And, first one was so simple. I agree current types are too complex than first one to use it. I want to decrease complexity of type classes too. You are right. we can use RedisMessageType instead of class types. (On the other hand, types of classes and RedisMessageType are duplicates.)
And, I summarized types more specific based on yours. How about this?
(There are too many classes, but I seperated Null* and Empty* classes from others to avoid reference counting.)

RedisMessageType
SIMPLE_STRING
ERROR
INTEGER
BULK_STRING
ARRAY_HEADER (new!!)
ARRAY (aggregated)
interface RedisMessage
type()
isNull()
class NullRedisMessage(RedisMessage)
constructor(RedisMessageType type) // BULK_STRING or ARRAY_HEADER or ARRAY
type()
isNull() = true
(predefined for NULL_BULK_STRING, NULL_ARRAY_HEADER, NULL_ARRAY)
class StringRedisMessage(RedisMessage)
constructor(RedisMessageType type, String content) // SIMPLE_STRING or ERROR
type()
content() = (String)
isNull() = false
(predefined for "OK" and "QUEUED")
class IntegerRedisMessage(RedisMessage)
constructor(long value)
type() = INTEGER
value() = [long]
isNull() = false
class BulkStringRedisMessage(implements RedisMessage, extends ByteBufHolder)
constructor(ByteBuf content) // content cannot null
type() = BULK_STRING
content() = [ByteBuf]
isNull() = false
class EmptyBulkStringRedisMessage(RedisMessage)
type() = BULK_STRING
content() = empty predefined bytebuf
isNull() = false
class ArrayHeaderRedisMessage(RedisMessage)
constructor(long length)
type() = ARRAY_HEADER
length() = [long]
isNull() = { return length == -1 }
(predefined for NULL_ARRAY_HEADER, EMPTY_ARRAY_HEADER)
class ArrayRedisMessage(implements RedisMessage, extends AbstractReferenceCounted)
constructor(List children) // children cannot null
type() = ARRAY
length() = [long]
isNull() = false
children() => (List)
class EmptyArrayRedisMessage(RedisMessage)
type() = ARRAY
length() = 0
isNull() = false
children() => (List)

That's a good direction, really like it.  The two Empty types somehow do not fit the overall picture. There's no common type that exposes a ByteBuf or List<RedisMessage> so you need to cast and check types again. Maybe the other way round, so any ref-counted types are on the very end of the type hierarchy, so

class BulkStringRedisMessage(implements RedisMessage)
(predefined for EMPTY)
class RefCountedBulkStringRedisMessage(extends BulkStringRedisMessage implements ByteBufHolder)
class ArrayRedisMessage(RedisMessage)
(predefined for EMPTY)
class RefCountedArrayRedisMessage(extends ArrayRedisMessage implements ReferenceCounted)

This structure allows knowing just the base type without requiring to know the more special ref-counted and allows also constructing optimized ArrayRedisMessage instances that carry just integers and simple strings, so types, without ref counting. With the flipped structure we could also have null messages that fit within the type hierarchy (null for BulkStringRedisMessage, null for ArrayRedisMessage) which aren't ref-counted so we could get rid of NullRedisMessage as well.
The two empty array/bulk strings could be then constants in the BulkStringRedisMessage and ArrayRedisMessage. That API would be then great in usage and design because you don't run into surprises because a particular message object has empty or null content.

If we manage null/empty BulkStringRedisMessage and content-containing BulkStringRedisMessage in same hierachy, how about change BulkStringRedisMessage to interface instead of classes? Because, it's simpler than redundant implementations. (but, we need another implementations for null or empty..)

interface BulkStringRedisMessage extends RedisMessage
interface ArrayRedisMessage extends RedisMessage
class RefCountedBulkStringRedisMessage extends DefaultByteBufHolder implements BulkStringRedisMessage
class RefCountedArrayRedisMessage extends AbstractReferenceCounted implements ArrayRedisMessage

Interfaces would suit the decoding case but then we have sometimes interfaces and sometimes classes. Maybe that's the best solution for now. Including twice the code of AbstractReferenceCounted isn't cool, agree.
For encoding, we could have a factory such as RedisMessages with some factory methods to produce the message objects (RedisMessage.createBulkString(ByteBuf), RedisMessage.emptyBulkString(),  and so on). codec-redis is going to rock!

I felt we need a factory class too. :-) So, we can use RedisMessageFactory because interface's name is already RedisMessage. I'll update the PR about discussions at tonight(KST) after work.

I pushed a commit with adding RedisMessageFactory and merging some classes. It was simpler than before. :laughing: Thank you for helping me with patience. I think our goal is not far from here.
And, one TODO is remained. I have no idea of it now. If we use String as a content, we cannot avoid this in my thought.
TODO: https://github.com/netty/netty/pull/5001/files#diff-7443705ea0423fa15eb0f7e7e883361eR112

I integrated the decoding code in lettuce, all tests succeeded :+1:
I'm taking now a look at the encoder.

@mp911de I updated almost your mentions without somethings. And, I added RedisMessageFactory.setDefaultPreloadStrings() for modifying preload strings by users.

@normanmaurer I added 2 commits about reviews. (not squashed yet). I fixed about mentions.

@jongyeol - Finished a first pass ... good work so far!

Thank you for review! I'll check and update in 12 hours after work. :-)

Added a commit to fix follow things.
Done:

[x] Add RedisCodecException.
[x] Update exceptions' strings.
[x] Fix some Javadocs and comments.
[x] Change some if-elses to switchs.
[x] Add checking length in decodeInline().
[x] Change bulkStringLength to int.
[x] Add readEndOfLine() in RedisDecoder.
[x] Update parseRedisNumber() and ToPositiveLongProcessor.
[x] Add integer cache for RedisMessageFactory.
[x] Remove nullBulkString() and emptyBulkString()
[x] Remove nullArray() and emptyArray()
[x] Merge ConstantBulkStringRedisMessage and RefCountedBulkStringRedisMessage to BulkStringRedisMessage.
[x] Merge ConstantArrayRedisMessage and RefCountedArrayRedisMessage to ArrayRedisMessage.
[x] Update encoder tests to use factory.
[x] Update all messages' constructor to package-private. Users must use factory instead of constructors of messages.
[x] Fix extra things about reviews' mentions.

TODOs:

[ ] Use out.add(partial) instead of using calculateBufferLength() in RedisEncoder.
[ ] Change NULL_BULK_STRING and EOL to ByteBuf
[ ] numberToBytes => ByteBufUtil.writeAscii(ByteBuf buf, long value)
[ ] Change RedisDecoder to decode BulkStringRedisMessage as streaming.
[ ] Add an aggregator for BulkStringRedisMessage.

I'll do rest of things tomorrow.

@jongyeol - Took another pass ... almost there! plz ping after other TODO items have been resolved.

@Scottmitch , I resolved TODOs. :)
Done:

[x] Use out.add(partial) instead of using calculateBufferLength() in RedisEncoder.
[x] Change NULL_BULK_STRING and EOL to ByteBuf
[x] Fix rest of mentioned things.
[x] Add RedisDecoder constructor and default value for max inline message length.
[x] Change RedisDecoder to decode BulkStringRedisMessage as streaming.
[x] Add an aggregator for BulkStringRedisMessage.
[x] Change RedisEncoder for bulk string streaming.
[x] Fix tests.

Not applied:

[ ] Save the index in decodeInline() to prevent re-scanning. => We cannot store or mark index, because input ByteBuf is changing.

@jongyeol - Took another pass and left a few more comments.

Save the index in decodeInline() to prevent re-scanning. => We cannot store or mark index, because input ByteBuf is changing.

We could make ByteToMessageDecoder.discardSomeReadBytes() non-final, but lets do this as a followup PR if necessary.

@Scottmitch , I added a commit to this PR.

Remove type().
Separate StringRedisMessage to SimpleStringRedisMessage and ErrorRedisMessage.
Merge constants to RedisConstants.
Remove RedisMessageFactory.
Add RedisMessagePool and FixedRedisMessagePool.
Update RedisEncoder and RedisDecoder.
Apply finals to public classes except *Messages and *Contents.
Fix about mentions and tests.

@jongyeol - took another pass ... keep up the good work we are almost there :)

@Scottmitch , I fixed it without the null issue. And, I commented. https://github.com/netty/netty/pull/5001#discussion_r58902626

@jongyeol - took another pass and responded to the null question https://github.com/netty/netty/pull/5001#discussion_r59061453

@Scottmitch , I rebased for fixing conflict and add a commit for fixing mentioned things. And, I commented about null https://github.com/netty/netty/pull/5001#discussion_r59114889 again.

@Scottmitch , I updated the PR and added a comment https://github.com/netty/netty/pull/5001#discussion_r59395239 for null.

@Scottmitch , Added a commit. And, I want to squash to one commit after all reviews are completed. Let me know when I can squash.

@jongyeol - Great work and LGTM! Please squash and we can pull this in.

@Scottmitch , squashed. :smile:

Yay ... Let me pull this in shortly

Am 14.04.2016 um 03:13 schrieb Jongyeol Choi<EMAIL_ADDRESS>@Scottmitch , squashed.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

Cherry-picked into 4.1 as 96455a95584dd4e3bbefefb9c208e5927a8b919f .
@jongyeol thanks again for the hard work. Also thanks to @mp911de @Scottmitch @daschl for all the feedback and reviews!


Protobuf and gRPC not Support

kitex generate proto failure
Here's the command
 kitex -type protobuf -service helloworldservice -module  xxx helloword.proto

--kitex_out: render *service.go failed: template: *service.go:71:26: executing "*service.go" at <$arg.Type>: can't evaluate field Type in type string

go install github.com/cloudwego/kitex/tool/cmd/kitex@develop to update kitex tool, there is a fix in https://github.com/cloudwego/kitex/pull/91

@huarong8 Is it fix your problem?

I have the same problem. It has been solved.

same problem, fix after update #91, hope to merge to main branch

same problem, fix after update #91, hope to merge to main branch

It has been merged and release v0.0.5, you can get it again.


[feature request] Named pipes

Feature request
I don't know if the priority is just moving a job up or if it is also a type of “named pipe” as used in BeanstalkD. With BeanstalkD, for example, you can have a pipe “mail” for sending mails and a pipe "rendering" to do some rendering jobs.
You could of course implement this at payload level, but then it won't appear in the dashboard.

Thank you for your feature request and the explanation. Your suggestion about implementing a feature similar to BeanstalkD's "named pipes" for different types of jobs is insightful. However, as of now, I don't plan to build this feature into PgQueuer. I appreciate your understanding and encourage you to continue sharing any other ideas or feedback you may have.


Support 16599 evaluate wcag compliance of seqdb ui

Are we using any automated tools to do this evaluation?

There are no automated tools used, we currently just have a docs page on how to run the tool manually.


Please Support Bun

Bun at https://bun.sh needs to be a supported ENV variable at https://developers.cloudflare.com/pages/platform/language-support-and-tools/
I cannot use Bun in my production Cloudflare Pages project. I want to replace the Node runtime with Bun runtime.

Please do Deno first as Bun is still very young and it breaks on running wrangler.

Bun is already supported, so this issue should probably be closed. Deno still isn't though, would love to see support for that.


Upgrade astro runtime image to 8.2.0-alpha4-base

Test corresponding runtime image for Airflow 2.6.1rc3

We tested this on both CeleryExecutor and KubernetesExecutor deployments. All DAGs ran fine except for the example_async_batch dag. The failure is unrelated to the RC and the fix is in PR https://github.com/astronomer/astronomer-providers/pull/1098


QoL Suggestion: Show which items produce ash and which don't when burnt down in pywiki

Mod source
PyAE Beta
Which mod are you having an issue with?

[ ] pyalienlife
[ ] pyalternativeenergy
[x] pycoalprocessing
[ ] pyfusionenergy
[ ] pyhightech
[ ] pyindustry
[ ] pypetroleumhandling
[ ] pypostprocessing
[ ] pyrawores

Operating system

=Windows 10

What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[ ] Crash
[ ] Progression
[ ] Balance
[ ] Pypostprocessing failure
[X] Other

What is the problem?
There is no easy way to see which fuels produce ash and which are ashless. Adding a column for the burnt result of fuels in the pywiki would be helpful. This would also help show that animals produce tired animals when burnt down.
Steps to reproduce
No response
Additional context

Log file
No response

added


Require Chef 12 and other misc changes

1 change per commit

Looks like I still need to convert things to cookstyle and InSpec before this one will pass

@tas50 I know its been a while but any plans on picking this back up?

I was actually going to message you about this one. I can pick it back up after Chef 14 ships. I'm a bit swamped right now.

@tas50 I got some parallel work done on my end in #375 and if looks good I will merge and release it, when you have some time you can come back and do more cleanup if you wish.


Weird spaces on top and below code

Check:
http://makingiants.com/blog/ios--swift--show-image-picker-for-gallerycamera/
My post is
---
layout: post
title: "iOS - Swift - Show image picker for gallery/camera"
date: "2015-07-08"
---
Sample code:

{% gist danielgomezrico/83707ddf456ad2405e0d %}

Thanks to [The App Guruz](http://www.theappguruz.com/blog/user-interaction-camera-using-uiimagepickercontroller-swift/)

Why?

Try disabling white-space: pre; in your style.css.


Add a few links

Cool effort.
High level question: would you consider Gaussian processes to be implicit layers?

@ChrisRackauckas  Thank you for helping filling the gaps!
I definitely consider GPs implicit layers although not strictly "neural" in their classical formulation. They also have one of the most auspicable feature for any learning model which is uncertainty quantification! I will try to add a section in the repo dedicated to the connection GPs and implicit neural models, if I find some ref.s. Please feel free to add any suitable resource on the topic.

@ChrisRackauckas  Thank you for helping filling the gaps!
I definitely consider GPs implicit layers although not strictly "neural" in their classical formulation. They also have one of the most auspicable feature for any learning model which is uncertainty quantification! I will try to add a section in the repo dedicated to the connection GPs and implicit neural models, if I find some ref.s. Please feel free to add any suitable resource on the topic.


Dialogs doesn't allow hierarchical functionality

Versions
4.2
Describe the bug
One of the best things about Bill Barnes' Topical library was that topics (dialogs) were configured in a hierarchical fashion - topics had child topics which had child topics. On every turn, a topic was able to determine whether it should handle an activity or delegate to one of its children. I don't see this functionality in the built-in Dialogs library.
To Reproduce
N/A
Expected behavior
N/A
Screenshots
N/A
Additional context
N/A
[bug]

Realizing that this should have been a feature request. Sorry.

We've got a lot of improvements coming, including the ability for dialogs to bubble activities up to parent dialogs -- however we are not currently planning on implementing this feature.  Thanks!


Remove clean_df.csv from tracking

Oscar Initial edits
-Cleaned up the .gitignore file so it is functional (When it isn't working it is a real pain but should be all good now).
-Modified the README so that it has instructions including data retrieval, still needs some cleaning will do that later though.
-Deleted fetch_data.py replaced with check_data.py A file you run to ensure you have downloaded the correct Data.

Quite satisfying when you get it all going as is the case with most coding but has been a real pig's ear to get to work, despite only minor changes. Can imagine will start to flow a bit nicer as we go.


Include TypeScript source in npm package

This is useful for TypeScript apps that want to consume Glimmer directly

Actually, I believe that this is not quite correct for consuming in an application without that app having to manually build via ember-cli-build.js (which isn't included in in files either).
There is a bit of work going on in the build to make a handlebars package (see here and here), and the rest of the app assumes it can import these from 'handlebars/*' paths (i.e. here).  We also assume that you can import directly from simple-html-tokenizer in a few places...

@rwjblue I see your point. For my particular use case, I'm actually requiring Glimmer's ember-cli-build.js file for the build (that's another file that should probably be in the files array), and only using the TypeScript files directly for the type annotations. This is actually modeled on how TypeScript itself is set up.
Still, it seems kind of silly to "build" the TypeScript stuff into dist/. Ideally the weirdness with handlebars/* and simple-html-tokenizer can be addressed more cleanly than by patching it in in a few different, non-standard ways. I think the best bet, ideally, is to consume everything as ES6 modules and use TypeScript's paths feature (only on TS nightly at the moment) to tell the compiler where to find all the dependencies.

@rwjblue Given https://github.com/emberjs/ember.js/pull/13615 and the fact that Ember relies on including the built-in Glimmer ember-cli-build.js, I think we should probably remove the files entry from package.json entirely. At the moment, Ember relies on being able to consume the entire package, and do its own build, from npm.

Now this will make it exclude dist/, which makes CJS not work. Can you add an .npmignore that is roughly a copy of .gitignore but not excluding dist/?

LGTM

@tomdale I think you'll need to rebase

Looks like the build is failing, not sure why yet.

@tomdale - @asakusuma fixed (by pinning typescript version) last night

YOLO


Remove Meltano 2.0 banner on docs

@DouweM @emilylucie I just hid the banner on the site for now since I don't think we have another CTA at the moment. I'd like to avoid having it there all the time so that we don't train people to ignore it, but let me know if there's something else you think we should put there.


Incorrect download page link

HI ,
This page is referring download file of older version of reporting authorizing extension. As per the page it is
https://www.microsoft.com/en-us/download/details.aspx?id=50375
which is no longer valid
Updated version is
https://www.microsoft.com/en-us/download/confirmation.aspx?id=56973
Request you to update this page.

[Enter feedback here]

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

ID: e0e379a4-d625-2fbd-96d8-e28bec59be13
Version Independent ID: 4662c744-06e0-fea6-2aa5-8a867c3d3ea0
Content: Install the Report Authoring Extension for Dynamics 365 Customer Engagement (on-premises)
Content Source: ce/customerengagement/on-premises/analytics/install-dynamics-365-report-authoring-extension.md
Product: d365ce-op
GitHub Login: @Mattp123
Microsoft Alias: matp

@mohithbodhankar - the link has been updated to direct you to the 9.0 version.
Closing issue.


component-ref behavior comment support

For meta components (components that live in the ), we want to use html comments rather than putting data-uri in the <meta> tags (or <title>) directly. Doing the latter really messes with social media services and metadata parsers.
For this to work, the component-ref behavior should be able to find the specified selector in html comments.
fn: component-ref
selector: '[data-uri*="/components/meta-image/"]'

Should match:

As well as elements:

Might need a closing comment tag as well. e.g.

The difference with comments is that they don't contain anything (especially the component's elements), we don't need a second comment.

Is there any situation in which you'd need this functionality outside of the ?

hmm, good question, seems maybe unlikely but possible. One example could be a textNode component like:

{{ string }}


Generate artificial bundle test that references all tests

Approach is described here.

Note:
After changes in #1205, we need to make patrol_cli's --target affect the generated Dart file containing bundled tests.

Done in #1219.


Deps update

Do not merge before https://github.com/gravitational/docs/pull/253
While I was working on the mdx conversion I also updated and tested other deps to the current versions and fixed a few issues and warnings with Algolia autosuggest along the way.

 Will check them more.


web-dev-server.config.([mc]?js) and web-test-runner.config.([mc]?js)

Hello!
Would love to see icons for these.
https://modern-web.dev

 SVG logo
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 412 411" style="enable-background:new 0 0 412 411" xml:space="preserve"><title>Tilted sphere with longitudinal stripes</title><g fill="#ff0000"><g><linearGradient id="logo-color-SVGID_1_" gradientUnits="userSpaceOnUse" x1="163.8164" y1="-672.4328" x2="163.8164" y2="-266.5325" gradientTransform="matrix(0.866 0.5 -0.5 0.866 -168.6902 527.1097)"><stop offset="0" style="stop-color:#84cff3"></stop><stop offset="0" style="stop-color:#a9e0f9"></stop><stop offset="0.5293" style="stop-color:#668cc1"></stop><stop offset="1" style="stop-color:#2c559c"></stop></linearGradient><path style="fill:url(#logo-color-SVGID_1_)" d="M224.26,216.546c-56.609,98.05-110.723,172.788-120.866,166.932
			s27.525-90.089,84.134-188.139S298.252,22.551,308.395,28.407S280.87,118.496,224.26,216.546z"></path></g><g><linearGradient id="logo-color-SVGID_2_" gradientUnits="userSpaceOnUse" x1="-219.7428" y1="-108.4554" x2="-219.7428" y2="214.2954" gradientTransform="matrix(0.9848 0.1736 -0.1736 0.9848 332.8062 206.2297)"><stop offset="0" style="stop-color:#84cff3"></stop><stop offset="0" style="stop-color:#a9e0f9"></stop><stop offset="0.5293" style="stop-color:#668cc1"></stop><stop offset="1" style="stop-color:#2c559c"></stop></linearGradient><path style="fill:url(#logo-color-SVGID_2_)" d="M168.388,67.113c0,0-56.017,42.973-75.193,229.181c-6.53,43.26-3.894,78.97,10.145,87.076
			c-60.859-35.137-42.317-163.195,0.097-236.657c12.391-21.461,27.608-41.802,44.414-59.687
			c6.623-7.047,13.492-13.714,20.533-19.916"></path><linearGradient id="logo-color-SVGID_3_" gradientUnits="userSpaceOnUse" x1="-138.856" y1="-175.1664" x2="-138.856" y2="130.3041" gradientTransform="matrix(0.9848 0.1736 -0.1736 0.9848 332.8062 206.2297)"><stop offset="0" style="stop-color:#84cff3"></stop><stop offset="0" style="stop-color:#a9e0f9"></stop><stop offset="0.5293" style="stop-color:#668cc1"></stop><stop offset="1" style="stop-color:#2c559c"></stop></linearGradient><path style="fill:url(#logo-color-SVGID_3_)" d="M168.388,67.113c0,0-56.017,42.973-75.193,229.181
			c6.413-42.484,21.664-92.249,43.634-130.303C184.706,83.068,279.401,11.591,308.341,28.3
			c-39.614-22.871-93.509-2.11-139.956,38.81"></path></g><g><linearGradient id="logo-color-SVGID_4_" gradientUnits="userSpaceOnUse" x1="-3595.6011" y1="-2655.7827" x2="-3572.4814" y2="-2228.2261" gradientTransform="matrix(-0.6428 -0.766 -0.766 0.6428 -3893.9177 -910.2711)"><stop offset="0" style="stop-color:#84cff3"></stop><stop offset="0" style="stop-color:#a9e0f9"></stop><stop offset="1" style="stop-color:#2c559c"></stop></linearGradient><path style="fill:url(#logo-color-SVGID_4_)" d="M344.658,168.607c0,0-9.208,69.999-160.881,179.709
			c-34.2,27.285-66.443,42.858-80.482,34.752c60.859,35.137,162.489-44.95,204.903-118.413
			c12.391-21.461,22.398-44.81,29.483-68.307c2.792-9.259,5.13-18.541,6.982-27.74"></path><linearGradient id="logo-color-SVGID_5_" gradientUnits="userSpaceOnUse" x1="-3469.5286" y1="-2641.7751" x2="-3678.5356" y2="-2011.9231" gradientTransform="matrix(-0.6428 -0.766 -0.766 0.6428 -3893.9177 -910.2711)"><stop offset="0" style="stop-color:#84cff3"></stop><stop offset="0" style="stop-color:#a9e0f9"></stop><stop offset="0.5293" style="stop-color:#668cc1"></stop><stop offset="1" style="stop-color:#2c559c"></stop></linearGradient><path style="fill:url(#logo-color-SVGID_5_)" d="M344.658,168.607c0,0-9.208,69.999-160.881,179.709
			c33.586-26.795,69.058-64.886,91.028-102.94c47.876-82.924,62.429-200.67,33.489-217.378
			c39.614,22.871,48.582,79.926,36.368,140.61"></path></g><g><linearGradient id="logo-color-SVGID_6_" gradientUnits="userSpaceOnUse" x1="61.3711" y1="-586.1053" x2="61.3711" y2="-260.8823" gradientTransform="matrix(0.866 0.5 -0.5 0.866 -168.6902 527.1097)"><stop offset="0" style="stop-color:#84cff3"></stop><stop offset="0" style="stop-color:#a9e0f9"></stop><stop offset="0.5293" style="stop-color:#668cc1"></stop><stop offset="1" style="stop-color:#2c559c"></stop></linearGradient><path style="fill:url(#logo-color-SVGID_6_)" d="M27.152,230.307C13.031,109.538,122.464,18.433,122.464,18.433l-0.001-0.002
			c-1.687,0.753-3.365,1.529-5.033,2.328C81.438,38,50.093,65.908,28.632,103.079c-56.609,98.05-23.015,223.426,75.035,280.035
			c-54.798-31.638-80.137-89.541-76.52-152.808"></path><linearGradient id="logo-color-SVGID_7_" gradientUnits="userSpaceOnUse" x1="72.6895" y1="-670.8823" x2="72.6895" y2="-354.9577" gradientTransform="matrix(0.866 0.5 -0.5 0.866 -168.6902 527.1097)"><stop offset="0" style="stop-color:#84cff3"></stop><stop offset="0" style="stop-color:#a9e0f9"></stop><stop offset="0.5293" style="stop-color:#668cc1"></stop><stop offset="1" style="stop-color:#2c559c"></stop></linearGradient><path style="fill:url(#logo-color-SVGID_7_)" d="M27.152,230.307C13.031,109.538,122.464,18.433,122.464,18.433l-0.001-0.002
			c57.946-25.86,127.049-24.54,186.205,9.613c-85.755-49.511-191.147-4.378-247.756,93.672
			c-18.961,32.841-30.044,67.454-33.177,100.827c-0.244,2.596-0.439,5.185-0.587,7.764"></path></g><g><linearGradient id="logo-color-SVGID_8_" gradientUnits="userSpaceOnUse" x1="-3053.2617" y1="-745.8848" x2="-3053.2617" y2="-206.5073" gradientTransform="matrix(-0.866 -0.5 -0.5 0.866 -2582.2083 -866.3355)"><stop offset="0" style="stop-color:#84cff3"></stop><stop offset="0" style="stop-color:#a9e0f9"></stop><stop offset="0.5293" style="stop-color:#668cc1"></stop><stop offset="1" style="stop-color:#2c559c"></stop></linearGradient><path style="fill:url(#logo-color-SVGID_8_)" d="M274.26,372.975C385.91,324.82,410.093,184.496,410.093,184.496l0.002,0
			c0.191,1.838,0.358,3.679,0.5,5.522c3.065,39.791-5.432,80.89-26.893,118.062c-56.609,98.05-181.985,131.644-280.035,75.035
			c54.798,31.638,117.614,24.63,170.595-10.136"></path><linearGradient id="logo-color-SVGID_9_" gradientUnits="userSpaceOnUse" x1="-3041.9434" y1="-722.2291" x2="-3041.9434" y2="-60.6206" gradientTransform="matrix(-0.866 -0.5 -0.5 0.866 -2582.2083 -866.3355)"><stop offset="0" style="stop-color:#84cff3"></stop><stop offset="0" style="stop-color:#a9e0f9"></stop><stop offset="0.5293" style="stop-color:#668cc1"></stop><stop offset="1" style="stop-color:#2c559c"></stop></linearGradient><path style="fill:url(#logo-color-SVGID_9_)" d="M274.26,372.975C385.91,324.82,410.093,184.496,410.093,184.496l0.002,0
			c-6.578-63.113-42.272-122.298-101.428-156.451c85.755,49.511,99.365,163.349,42.756,261.399
			c-18.961,32.841-43.395,59.746-70.73,79.146c-2.126,1.509-4.27,2.973-6.431,4.39"></path></g></g></svg>

the test runner could maybe be a different color, or with a "test" icon superimposed a la .test.js

Could you provide a link to whatever documentation lists those filenames?
I can add a rule to match /^web-(dev-server|test-runner)\.config\.([mc]?js)$/i, but I'd like to know that it isn't merely a filename suggested by a tutorial or project-boilerplate (it also helps to have an authoritative source for posterity).

Sure
https://modern-web.dev/docs/test-runner/cli-and-configuration/#configuration-file
https://modern-web.dev/docs/dev-server/cli-and-configuration/#configuration-file

Oh, they're literally called "Web Test Runner" and "Web Dev Server"? I interpreted those names as something more generic, sorry. 😅
Added, thanks! 👍


Could not find any matches for com.facebook.react:react-android:+  (build.gradle :react-native-mmkv)

i got this error when i installed react-native-mmkv . library
Could not determine the dependencies of task ':react-native-mmkv:compileDebugAidl'.

Could not resolve all task dependencies for configuration ':react-native-mmkv:debugCompileClasspath'.
Could not find any matches for com.facebook.react:react-android:+ as no versions of com.facebook.react:react-android are available.
Required by:
project :react-native-mmkv

Could not find any matches for com.facebook.react:react-android:+ as no versions of com.face

book.react:react-android are available.
Required by:
project :react-native-mmkv
I am using
react-native: 0.70.5
react-native-mmkv: 2.8.0

Do a clean and rebuild. I can't reproduce this error.

Do a clean and rebuild. I can't reproduce this error.
EDIT: Just saw you're on RN 70. Try upgrading to RN 71, or downgrade MMKV to 2.5.x

After i use react-native-mmkv 2.5.1 version i run android get following error:
Native module MMKV tried to override MmkvModule. Check the getPackages() method in MainApplication.java, it might be that module is being created twice. If this was your intention, set canOverrideExistingModule=tr

ue. This error may also be present if the package is present only once in getPackages() but is also automatically added later during build time by autolinking. Try removing the existing entry and rebuild.


Demo linked to from README now errors

http://raw.githack.com/MrRio/jsPDF/master/
Looks to be because the dist/ folder has changed.

Ah, yes. Gonna fix that.


Weird behavior with Quidel signals

I am getting extremely weird behavior when I move back and forth in between counties. E.g., going over to Santa Clara County shows an empty screen:

but then toggling on "Raw Data" gives this:

Furthermore, toggling back over to Allegheny County show this:

I will note that I've seen this weird behavior with the Quidel signal already before.  I've even seen something extremely eerie, where the dashboard appears to be changing the signal it's plotting right underneath my eyes (without any buttons being pressed!!).  I made a note of this on slack and tagged Brian/Joe several days ago, guessing it was a backend problem.

the requests have different response times causing that the line chart won't show up but the raw data one shows up
the related county query:
https://api.covidcast.cmu.edu/epidata/covidcast/?signal=quidel-covid-ag%3Acovid_ag_smoothed_pct_positive&geo=county%3A06001%2C06047%2C06069%2C06081%2C06087%2C06099&time=day%3A20210920-20220120&format=json&fields=value%2Cstderr%2Cgeo_value%2Ctime_value
is like 33s

while others like https://api.covidcast.cmu.edu/epidata/covidcast/?signal=quidel-covid-ag%3Acovid_ag_smoothed_pct_positive&geo=county%3A*&time=day%3A20220116&format=json&fields=value%2Cstderr%2Cgeo_value
is like 350ms

@krivard @korlaxxalrok Don't know if this escaped your attention but it appears to be more than a frontend issue. Please take a look. Thank you.

Though it does seem weird that we'd be querying county:* for  the explore-a-county page. @sgratzl is that the actual query for this page or did you pull it from somewhere else?

Though it does seem weird that we'd be querying county:* for the explore-a-county page. @sgratzl is that the actual query for this page or did you pull it from somewhere else?

actual query, for the map it shows the county data along with its close neighbors. Since there is no easy way to determine the neighbors it loads all counties for a specific date.
what took the longest was the "neighboring counties" in the line chart, since the direct neighbors are known the fips codes are directly queried.

Okay, so it sounds like we have options:

Leave it as is and wait for faster responses with the upcoming epidata v0.4 release (maybe a month, will know more this afternoon)
Temporarily disable neighboring counties in the line chart
Temporarily use direct neighbors (which have known fips) for neighboring counties line chart

@sgratzl any reason to veto any of the above?

Temporarily use direct neighbors (which have known fips) for neighboring counties line chart

this one is implemented and that is the slow one at least in my simple test:
signal: quidel-covid-ag:covid_ag_smoothed_pct_positive
geo: county:06001,06047,06069,06081,06087,06099 ... all neighobring fips
time: day:20210920-20220120 ... over a time range

Oh sorry, I totally blew the units interpretation on your description above. So fetching all counties is fast, but fetching 6 specific counties is slow?
Revised options:

Leave it as is and wait for faster responses with the upcoming epidata v0.4 release (maybe a month, will know more this afternoon)
Temporarily disable neighboring counties in the line chart
Temporarily use client-side filtering for neighboring counties line chart (query all counties, but throw away everything except the fips you want)

Temporarily use client-side filtering for neighboring counties line chart (query all counties, but throw away everything except the fips you want)

to clarify for the line chart, I load a time range + multiple fips (neighboring). For the map, I load one date + all fips. So, for this option it would require to load all fips for a time range

Thank you. I did a quick check of pulling all fips for the 20210920-20220120 time range, and unfortunately it gives about the same response latency as your 33s result for pulling 6 fips for the 20210920-20220120 time range:
for i in 1 2 3 4 5; do time curl -sL "https://api.covidcast.cmu.edu/epidata/covidcast/?signal=quidel-covid-ag%3Acovid_ag_smoothed_pct_positive&geo=county%3A*&time=day%3A20210920-20220120&format=json&fields=value%2Cstderr%2Cgeo_value" >/dev/null; done

real    0m41.362s
user    0m0.095s
sys     0m0.054s

real    0m39.687s
user    0m0.100s
sys     0m0.047s

real    0m25.779s
user    0m0.081s
sys     0m0.067s

real    0m32.739s
user    0m0.095s
sys     0m0.054s

real    0m26.066s
user    0m0.113s
sys     0m0.037s

So we're down to

Leave it as is and wait for faster responses with the upcoming epidata v0.4 release (maybe a month, will know more this afternoon)
Temporarily disable neighboring counties in the line chart

I can also query each country individually which should be fast. It is more of a workaround since it could also be that a country has 20 or more neighbors, resulting in 20 or more extra REST calls instead of just 1

I vote on trying Sam's workaround and seeing how it does.
It looks like the max number of neighbors is 14 (according to this: https://www.howderfamily.com/blog/most-county-borders/, though of course who knows if that's authoritative), and the average number of neighbors is going to be much less than this.


Calling world.execute() with no parameters leaves parameter time as undefined

if world.execute() is called without parameters the function calculates a delta, but leaves time as undefined. Should time be set?

@harlyq good catch. It's fixed now on dev.


Update the privacy policy

As of commit 6b1862d, we are using google's CDN. Should it be in the Privacy Policy?

Content Delivery Network? Its importing some JS from Google's API server. :P

We also use Google fonts as well. I'll just write a paragraph on third party connections.

I don't think so because it doesn't have to do with user data or cookies.

I would want to know if what I was looking at was sending info to Google... Bacicly your feeding google D:

Just because you are connecting to Google, it doesn't mean you are being tracked. Anyhow, you're being tracked using Google, or not. The UK's GCHQ government organization tracks ingoing and outgoing data from the UK, and also shares it with the NSA. It doesn't matter what a website's privacy policy is, you're getting tracked by somebody whether you like it or not.

I personally don't mind governments as much as google. Governments use the information for security perposes

But what is wrong is that the UK shares this info with the US. I believe there is/was some kind of review of that after an outcry?

... Goes to war

Don't vpns stop you from getting tracked by NSA and GCHQ
Sent via Hubroid


[WIP] NASBOT

This pull request resolves #416 .
The pull request is ready to be merged.
The details of the pull request:
TBD

Coverage increased (+0.1%) to 93.683% when pulling 857765ee2bf45b5ccef110e94d3b83ea9b059ee7 on nasbot into fa9c32dcd79b11cb4043ec62c23687dc40415e32 on master.


Await metrics request

Describe the feature request
hello! I would want to suggest a feature based on this discussion to expose async sendMetrics() method, so that it's possible to wait for the metrics request to complete before any application redirects.
Background
No response
Solution suggestions
No response

solved in #226


Full calculation testing status

Aim for full MPI test for each combination.

System
Free Projection
Have test

Hubbard (spin)
no
yes

Hubbard (spin)
yes
no

Hubbard (spin-continuous)
yes
no

Hubbard (charge)
no
no

Hubbard (charge)
yes
no

Hubbard (charge-continuous)
yes
no

Generic
yes
yes

Generic
no
no

UEG
yes
yes

UEG
no
no

moving to wiki


Constant problems with inaccessible database objects

I have 5 servers on Azure SQL that I connect to via Azure site-to-site VPN (i.e. my corporate network is connected to Azure), but I have to restart ADS constantly because I fail to find and select database objects. Errors are usually around an exception executing TSQL statement or batch, failed to generate select script, etc.

Hi @kburtram - yes I suppose it does, but I do not have the same problem with SSMS.
Is there something we can do to stabilise this? Perhaps some kind of keep-alive or resiliency to latency/packet drops?

@bwyatt-mcr
Could you try out the latest insiders build and let us know if you continue to see this behavior?
I suspect this is related to expiring access token issue and the fix for refreshing the same in Object Explorer hasn't made the stable release yet.

Thanks @cheenamalhotra - can you advise where I can refresh the token? I refreshed the server but it doesn't resolve.
Microsoft.SqlServer.Management.Common.ConnectionFailureException: Failed to connect to server xxxxx.  ---> Microsoft.Data.SqlClient.SqlException (0x80131904): Login failed for user '<token-identified principal>'. Token is expired.    at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)    at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)    at Microsoft.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)    at Microsoft.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)    at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)    at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)    at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)    at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)    at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)    at Microsoft.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)    at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource1 retry, DbConnectionOptions userOptions)    at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.SqlServer.Management.Common.ConnectionManager.InternalConnectImpl()
at Microsoft.SqlServer.Management.Common.ConnectionManager.Connect()
ClientConnectionId:5fafb402-09a5-4675-a8a6-2d591f54fda0
Error Number:18456,State:233,Class:14
--- End of inner exception stack trace ---
at Microsoft.SqlServer.Management.Common.ConnectionManager.Connect()
at Microsoft.SqlTools.ServiceLayer.Scripting.ScriptAsScriptingOperation.Execute() in D:\a_work\1\s\src\Microsoft.SqlTools.ServiceLayer\Scripting\ScriptAsScriptingOperation.cs:line 84`

I think you need to drop the connection, using Disconnect or simply delete the connection in the tree view, and create a new connection.

@cheenamalhotra - that did work, but it's not something I should really be having to do in my opinion. The connections and tokens should be stable enough. If MS can do this in SSMS, they can surely do this in ADS? I'd be surprised if this wasn't something other people suffer with.

Yes, the fix has been and is available in the insiders build, its on it's way to the next stable release.

@cheenamalhotra, I'm running version 1.41.1 on Windows platform. The issue is still there.

@Dvnoten
The solution to solve this should be similar to: https://github.com/microsoft/azuredatastudio/issues/21774#issuecomment-1457276049 and I'm hopeful this to resolve multiple access token refresh issues with this setting enabled:
    "mssql.enableSqlAuthenticationProvider": true

Support is available in the latest insiders build, please give it a try and let me know how it goes :)

Closing as "mssql.enableSqlAuthenticationProvider" is now enabled by default in the latest insiders.
This will be available in the next May release.


Get the metadata from the resolved type instead of declared type

Hi,
I introduced my issue in this solution : https://github.com/marcusien/MetadataIssue
I got a view that expect a model as at least a ViewModelBase
But, of course, I could have a ViewModel which inherits from this ViewModelBase (in my case ChildViewModel)
In the Index controller action, I return the view Index.cshtml with a new instance of ChildViewModel
In the ViewModelBase, i got a virtual property that is decorated by an attribute. This attribute can be redefine in the ChildViewModel by overriding the virtual property in the ChildViewModel.
I'm trying to get the value of this attribute inside a TagHelper by checking the ValidatorMetadata. I succeed to get the attribute but it returns the attribute value declared in the ViewModelBase (which is the declared type in the razor view) instead of the actual ViewModel (which is ChildViewModel as provided by the controller action).
As you can see in my project, I can do a workaround for this case in my TagHelper but it's not a long term solution cause we need to implement a workaround in each part of the code which can know this kind of problem

Hi.
Yes it is still.
In my case I introduced some workarounds but it is annoying to have this issue even if I understand why it's happening

@pranavkm, any thoughts regarding this? Would be great to understand the reason as well as the cost of potential fix, if there is one. Thanks!

Thank you for your feedback.
We're closing this issue as the behavior discussed seems to be by design. Glad that you've found a workaround.


Reference localization

I'm not sure if this is in the process of being address but currently the localized version of the reference is not looking quite right with many entries missing, from a glance, looks like all the translated ones? Notable excepting rectMode().
Speaking of rectMode(), there's another issue that shows up in localization which is the one line description for Chinese.

Because Chinese uses a different character for a full stop (。), simply truncating the first sentence before the first regular full stop character will cause the entire description to be rendered.

Oh interesting that is a new bug. It does look like most (but not all) reference entries are missing for non-english locales. I'll put a high priority on this one.
For the second issue - I think that using the actual one-line descriptions from the library source will address this long term but for now perhaps we could use the  。 in addition to the period in our regex for breaking out the one-line description.

Ah I see. It is because References are being filtered by category but those categories have been translated. This is similar to this discussion here. I'll figure something out. Will likely require a node script to pull all of the translated categories out.


Add support for older versions of Android

Where getifaddrs() isn't available.

Just curious: Are you actually using a native SCTP stack on the mobile platforms?

Just curious: Are you actually using a native SCTP stack on the mobile platforms?

Yeah we need to be able to interop with WebRTC data channels in Frida – using libnice to implement ICE, GLib / glib-networking for DTLS, and this awesome library for the SCTP layer 🙂

Just curious: Are you actually using a native SCTP stack on the mobile platforms?

Yeah we need to be able to interop with WebRTC data channels in Frida – using libnice to implement ICE, GLib / glib-networking for DTLS, and this awesome library for the SCTP layer 🙂

But this mans you don't need support for SCTP over IP. You just need support for running it over some lower layer. so you don't need to define INET or INET6... Doesn't this already solve your problem?

Just curious: Are you actually using a native SCTP stack on the mobile platforms?

Yeah we need to be able to interop with WebRTC data channels in Frida – using libnice to implement ICE, GLib / glib-networking for DTLS, and this awesome library for the SCTP layer 🙂

But this mans you don't need support for SCTP over IP. You just need support for running it over some lower layer. so you don't need to define INET or INET6... Doesn't this already solve your problem?

Ooh right, good point! So I suppose this PR doesn't make any sense as presumably that entire feature would be broken without getifaddrs(), and an actually useful PR would be one that implements a fallback. (And until somebody needs that it's better that the build fails than building a partially broken library.)
Sorry for the noise, and thanks a lot for clarifying! 😅


Can I set the range outside the component?

Sometimes I may want to set range outside the component but not througth brush.

To be honest, I don't remember it, most probably not


inheritance bug?

@ sealed trait Nat {
    type plus[that <: Nat] <: Nat
  }
defined trait Nat
@ sealed trait Nat0 extends Nat {
    type plus[that <: Nat] = that
  }
cmd1.sc:1: illegal inheritance from sealed trait Nat
sealed trait Nat0 extends Nat {
                          ^
Compilation Failed

Any reason why this fails in Ammonite but works fine in the vanilla Scala repl?

You need to put them in one block, as described in http://www.lihaoyi.com/Ammonite/#BlockInput


Solve issue with Join

The issue was an empty variable which confused variables as it was above first loop, although it should be below this one and above second one, where it should be


All log messages have the prefix "ERROR: logging before flag.Parse"

E.g.
ERROR: logging before flag.Parse: I1031 09:43:01.178940       1 round_trippers.go:442] Response Headers:
ERROR: logging before flag.Parse: I1031 09:43:01.178954       1 round_trippers.go:445]     X-Content-Type-Options: nosniff
ERROR: logging before flag.Parse: I1031 09:43:01.178964       1 round_trippers.go:445]     Content-Length: 122
ERROR: logging before flag.Parse: I1031 09:43:01.179023       1 round_trippers.go:445]     Date: Tue, 31 Oct 2017 09:43:01 GMT
ERROR: logging before flag.Parse: I1031 09:43:01.179034       1 round_trippers.go:445]     Content-Type: text/plain
ERROR: logging before flag.Parse: I1031 09:43:01.179332       1 request.go:836] Response Body: User "system:serviceaccount:navigator:navigator-navigator-controller" cannot get endpoints in the namespace "kube-system".

/kind bug
Others have had the same problem:

https://github.com/kubernetes-incubator/service-catalog/issues/1187

Solution seems to be either to pin glog to a version prior to the introduction of the check:

https://github.com/kubernetes-incubator/service-catalog/pull/1204

Or to call goflag.CommandLine.Parse([]string{})....somewhere:

https://github.com/kubernetes/kubernetes/issues/17162#issuecomment-225596212

Yep, there's another example of the fix for this in cert-manager. https://github.com/jetstack-experimental/cert-manager/blob/master/cmd/controller/main.go#L35


Is it necessary to generate geojson for each province(or same level district) in China?

What preparatory work is needed to complete this work?
Where should we post? NSI? LC? CC?

We have some issues here:
https://github.com/ideditor/country-coder/issues/19
https://github.com/ideditor/country-coder/issues/26
https://github.com/osmlab/name-suggestion-index/issues/4784
Basically, we don't want to add too much to country-coder because it gets bundled into iD and we want to conserve space there.
I've been ok with adding these features to name-suggestion-index because those features get fetched and loaded just after iD starts.  I looked for state features and I tried merging them and making the seamless, but I couldn't quickly figure out how to do it.
I could imagine adding features for all the states and provinces where people are doing a lot of mapping.

In the future, when mapping in China is larger and larger, at that time I think it is necessary.


#1291 Updated sum function docs to mention array should not be empty

Related issue #1291
Proposed Changes
The page does not mention the caveat that the sum function in Kyverno requires at least 1 element in the array, while the JMESPath specification says that the result should be 0 when the array is empty.
##Verify
sonali@SONALI-SRIVASTAVA:~/github/website$ echo '{"input":[]}' | kyverno jp query "sum(input)"
Reading from terminal input.
Enter input object and hit Ctrl+D.
Error: error evaluating JMESPath expression: JMESPath function 'sum': at least one element in the array is required

Checklist

[x] I have read the contributing guidelines.
[x] I have inspected the website preview for accuracy.
[x] I have signed off my issue.

Attached the preview:

@realshuting @vishal-chdhry Could you review this, please?


eq adding Filters.EQ istead of eq

Describe the bug
On python 3.11 using eq is adding column_name=Filters.EQ to the query string instead of column_name=eq causing the error postgrest.exceptions.APIError: {'code': 'PGRST104', 'details': 'Failed to parse [("column_name","Filters.EQ.1")]', 'hint': None, 'message':
'Unexpected param or filter missing operator'}
To Reproduce
Steps to reproduce the behavior:

supabase.table("table1").select("column1").eq("column2", 1).order("id",  desc=True ).limit(1).single().execute()
resulting query is database/table1?select=column1&column2=Filters.EQ.1&order=id.desc&limit=1 | python-httpx/0.23.0
See error postgrest.exceptions.APIError: {'code': 'PGRST104', 'details': 'Failed to parse [("column2","Filters.EQ.1")]', 'hint': None, 'message':
'Unexpected param or filter missing operator'}

Expected behavior
query should should be database/table1?select=column1&column2=eq.1&order=id.desc&limit=1 | python-httpx/0.23.0

Hey!
Just tested @espinozajp 's query with Python3.11 and it seems to work - going to close now but  feel free to report back if there are issues.
Thanks!


feat(storage): implement "public access prevention"

This is a new metadata field in the storage Bucket. This PR also fixes
some typos and blunders in the existing tests for
BucketIamConfiguration.
Blegh, I accidentally closed the second version of this PR, and can't reopen. Third try.
Fixes #5491
@shaffeeullah

This change is

Are we waiting to merge this for any reason? no rush, just wondering.

Waiting for the server-side work to be ready.

@coryan This feature can now be merged and released.


using a lot CPU

I noticed when I have a few empty journal files around journal.io uses a lot of CPU when I iterate the redo even though all the entries are deleted.  It also uses quite a bit of memory with a lot of journal files, which is what I'd like to avoid by using an on-disk journal.

same here, queue never gets cleaned up, even when calling compact()


Fix typos and grammar in Readme

Seems fine, thanks!

This still sounds awkward.  The point of the sentence is to succinctly state what Jinja's philosophy is.  If you're going to change it, make it flow better, don't just fix the grammar.

Application logic is for the controller, but don't make the template designer's life difficult by restricting functionality too  much.

@davidism I've applied your changes too, thanks!

:+1:


BSO Ironman Limited Pets

Hi!
So, as we all know, BSO ironmen currently can't obtain limited pets from events gone by. This puts ironmen at a distinct disadvantage off the bat because these pets have enormous boosts for content that is done regularly.
My proposal is to make limited events available to all BSO ironmen full time -- with the original droprates. This allows them to put in the required time (like 2 months for Smokey lol) to get these boosts. There's no downside as BSO ironmen can't deiron at any time.
Let me know if you think this is a decent idea!

Agree

Great Idea, 11/10 would love holiday pets on BSO ironman so I can have a pet bat named Cob

support

+1 with the addition that BSO ironman shouldnt appear in event pets mostdrops list.

Big agree, the pets have great perks that shouldn't be locked for ironmen considering they will never enter the economy

pets or ironmeme riot

+1 sounds reasonable

I don’t see how this could have any downsides, fully support my ironmeme bso friends :)

Instead of the events, you could also add the limited pets to pet mystery boxes for ironman. It will still keep them rare, because pmbs are hard to come by, but it still allows the pets to be achievable by ironman.

I also support this.
One option could be a separate event called ironmeme that only ironmen can run that could roll any of the discontinued pets provided they are not already on your account, this would prevent ironmen from getting dupes of the pets and also allow any future ironmen to get any discontinued pets from events that might also run in the future.
Or the simple method of just adding a command for spawn x pet, each command could only be used once similar to the rmb for T5 and only ironman accounts could use the command. And any new event pets could also be added this way after the event for a new pet ends. (Though I think hunting for the pets would be the more reasonable method)

Bump, this really is a great idea that could lead to more ironman entering the game. Mains would see it as a way to finally 'own' a rare pet that they missed out of.

Any other thoughts on this?

Could this be limited to 1 pet per person? Idk how this would work but I'm concerned mostdrops would be ruined and ironmen will then always be at the top of it regardless of who actually participated in the event.


Create initial project gov docs

Philipp approved on Discord the default governance doc suggested here, including the list of members and their role.


SubViewports are not rendering 3D scenes

Godot version
v4.0.beta3.offical [01ae26d31]
System information
Fedoar Linux [36] using the mesa [0x5801007] Vulkan [1.3.204] implementation
Issue description
SubViewports are not able to render 3D scenes even if configured to do so while 2D scene render just fine.
It may appear to work fine in the editor while the built project does not.
This might relate to #16067 and others.
Here is a example scene of how this might look in the editor:

And in the build application:

I've tried multiple workarounds such as using TextureRects and setting the texture at runtime with no success.
Steps to reproduce
Create a SubViewport, a SubViewportContainer and a 3D scene to render. Configure the SubViewport to be able to render the scene.
The scene graph should look similar to this now:

Build the application and the SubViewportContainer object should have the default color.
Minimal reproduction project
To big to upload here, download an MRE as LZMA here or as DEFLATE here.

Is the viewport's update mode set to Always? See https://github.com/godotengine/godot/issues/55471.

Is the viewport's update mode set to Always? See #55471.

Yes it is. Replacing the 3D scene with a 2D seems to work so the configuration must be correct. The disable_3d_rendering option is disabled.

I was able to get the 3D-items displayed in the MRP by adding a DirectionalLight3D light source:

Oh that would be a tad silly if that was the issue, ill do some testing...

I can confirm, setting viewport's debug_draw to DEBUG_DRAW_UNSHADED "fixes" the issue.
I dident expect this to be the reason since I was using a custom environment in my project (removed in the MRP) which should have been drawing but that was related to something different.
Thanks for your quick response!
Im sorry to have opened a issue for this mistake on my side.

I think, that the problem is, that the viewport shows different things in the editor and in the app. I would consider this either a usability problem or a rendering bug.

Thats a good point. Since the editor view can be brought up by selecting the Node3D/Node2D displaying that same editor view outside of the viewport is confusing if anything.

I'm having this same issue, but changing debug drawing or adding a light isn't fixing it. The viewport preview in the editor shows my viewmodel just fine, but it stops working when the game runs


Improve performance of page tree

Short description

Improve performance of page tree
Proposed changes

Replace django-mptt by django-treebeard
Improve performance of page tree

Prefetch page translations in page tree and page API
Prefetch language tree together with page tree
Use cached_property in Page models
Optimize calculation of translations states
Cache tree structure in loops

Resolved issues

This is part of #886 and #943 and leads to various performance improvements
Fixes: #642
Fixes: #748

Well, this rabbit hole was deeper than I anticipated, and I'm still not completely happy with the current solution, but I think it's ready to be tested now. Us usual, I'm sorry about the huge diff :unamused:

I did a little bit of benchmarking of the loading times in milliseconds on my local machine (so no valid absolute numbers, but maybe interesting for a qualitative comparison):
API pages endpoint:

# Pages
develop
develop + Redis
refactoring
refactoring + Redis

16
5740.4
290.6
212.8
48.2

128
45582.0
4995.0
332.1
84.5

512
326515.0
36276.0
872.5
246.5

1024
:bomb:
:bomb:
2051.3
409.4

2048
:bomb:
:bomb:
8696.5
1047.2

Page TreeView:

# Pages
develop
develop + Redis
refactoring
refactoring + Redis

16
19036.9
961.7
521.3
156.3

128
198160.0
14479.0
885.3
435.6

512
1010765.0
146369.0
2529.8
1482.5

1024
:bomb:
:bomb:
5351.7
2843.1

2048
:bomb:
:bomb:
12970.0
5784.9

You can reproduce similar results by using the new ./dev-tool/duplicate_pages.sh which does what the name suggests :wink:
So with e.g. 5 iterations, you can go from the default set of 16 pages to 512 pages.

The numbers sound very promising :)

Does it make sense to only do a rough review of this PR and then merge it to develop and send all devs bug hunting on our test system?

Probably, yes... there will definitely be a few bugs hidden in these lines, but I don't expect anyone to do a full code review on this...

Speaking of which, I found another small bug in the imprint form, but should be fixed now. Maybe it's a good time to write more automated tests to check form submissions etc...

Thank you for this great job, loading of the page tree with the new test data looks much better now I tested the drag and drop feature at the page tree and the language tree and I found an exception (IndexError: list index out of range - POST /augsburg/pages/de/23/move/22/last-child) after some first valid moves, which might be related to the new treebeard package

@melegiul Thanks a lot for the report, I could reproduce the issue locally and hopefully fix it. Could you test again?


Warn on lowercase pragmas

{-# inline #-} is bad style

haskell-src-exts scatters the pragmas around a lot and for many of them (e.g. LANGUAGE) doesn't store the original pragma text. Not easy to do at the moment.

Why is lowercase worse than uppercase?

Inconsistency is bad. It seems like the default in Haskell by a long margin is upper case. I am of the opinion Haskell shouldn't have allowed differing cases for pragmas.

I think it's only uppercase because no one knew it could be lowercase. I'm not sure hlint has to just follow suit, but I can always turn this off


GO SDK, Sidecar client with URL configuration

Small change to bring the sidecar URL in the client configuration.

Thank you for your contribution. This is a welcome addition, however the tests will not pass because of additional plumbing needing some maintenance. It's bedtime for me, but I'll post a PR tomorrow.
Thank you again!

I just couldn't find how to run tests on client.

Also, can you guide me If I want to use Tier as a library, how do I go about it?

@hiteshjoshi I've posted #201 with all the plumbing fixes I described.

I just couldn't find how to run tests on client.
However, go test -count=1 -v ./... runs fine

It's not apparent, I know, but most API/client tests are skipped unless a STRIPE_API_KEY is set. I'll change the tests to fail if that env var is not set in a future PR.

Also, can you guide me If I want to use Tier as a library? How do I go about it?

Are you asking how to "embed" tier into your Go binary to avoid running a sidecar? If so, the official answer is: This is only supported as an "experimental" ATM, but it is how cmd/tier works, so you can find how to embed tier that way :)
I recommend the cmd/tier approach instead of using the control package because the control package makes no API compatibility promises and is subject to change at any time, but the tier.Client will remain stable.
The code of interest can be found here:
https://github.com/tierrun/tier/blob/29c54e8fc1c7bad86b24d04e8860904ea191032d/cmd/tier/tier.go#L512-L523
I think it's reasonable for a future PR to land that makes that a little more accessible. Maybe tc, err := tier.EmbededFromEnv() which does that right thing using the envs the same way cmd/tier does.

I'm closing this out. Please ask any further questions or give any feedback in #201.

Thank you so much @bmizerany

Is there a way I can buy you a beer bud?


Parsing of OpenAPI Runtime Expressions

Parser and validator currently recognizes following expressions patterns: $url, $method etc...
In OpenAPI expressions can be embedded into string values by surrounding the expression with {} curly braces.

:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Omnisharp uses wrong MSBuild version

Issue Description
OmniSharp is selecting the wrong MSBuild location when opening .NET Core 2 applications. The logs tell the story:
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 3 MSBuild instance(s)
            1: Visual Studio Build Tools 2019 16.0.28803.452 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin"
            2: Visual Studio Professional 2017 15.8.28010.2041 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin"
            3: StandAlone 15.0 - "C:\Users\x\.vscode\extensions\ms-vscode.csharp-1.19.1\.omnisharp\1.32.19\.msbuild\Current\Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: Visual Studio Professional 2017 15.8.28010.2041 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin"

Here we see that even though MSBuild 16 is detected via VS Build Tools 2019, it chooses MSBuild 15. Then:
[fail]: OmniSharp.MSBuild.ProjectLoader
        Project X is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Project X supports: netcoreapp2.2 (.NETCoreApp,Version=v2.2)
[fail]: OmniSharp.MSBuild.ProjectLoader
        Version 2.2.204 of the .NET Core SDK requires at least version 16.0.0 of MSBuild. The current available version of MSBuild is <IP_ADDRESS>996. Change the .NET Core SDK specified in global.json to an older version that requires the MSBuild version currently available.
[fail]: OmniSharp.MSBuild.ProjectLoader
        The SDK 'Microsoft.NET.Sdk.Web' specified could not be found.

We see that Omnisharp is complaining about not having version 16 of MSBuild available. But as we saw above, it's right there 😭. Weirdly, it suggests downgrading the SDK rather than fixing MSBuild. This seems exactly backwards for the majority case.
I tried creating an omnisharp.json like this:
{
    "MsBuild": {
        "MSBuildSdksPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\MSBuild\\Current\\Bin"
    }
}

But it had no effect. I also tried pointing it to the dotnet sdk folder. That didn't do anything, either.
Steps to Reproduce

Install VS 2017
Install VS 2019 build tooling
Create an ASP NetCore 2 app and open it in VSCode

Expected Behavior
Project is loaded successfully. Visual Studio installs don't mess with OmniSharp.
Actual Behavior
Project is not loaded. OmniSharp behavior is coupled to installs of VS.
Logs
OmniSharp log
I hit this issue in the middle of a project upgrade from DotNetCore 1.0 to 2.0, so there is a fair amount of noise here about broken projects.

Starting OmniSharp server at 5/18/2019, 12:26:01 PM
    Target: c:\Source\Project\Project.sln
OmniSharp server started.
Path: C:\Users\user.vscode\extensions\ms-vscode.csharp-1.19.1.omnisharp\1.32.19\OmniSharp.exe
PID: 3860
    Starting OmniSharp on Windows 6.2.9200.0 (x64)

    DotNetPath set to dotnet

    Located 3 MSBuild instance(s)
        1: Visual Studio Build Tools 2019 16.0.28803.452 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin"
        2: Visual Studio Professional 2017 15.8.28010.2041 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin"
        3: StandAlone 15.0 - "C:\Users\user\.vscode\extensions\ms-vscode.csharp-1.19.1\.omnisharp\1.32.19\.msbuild\Current\Bin"

    Registered MSBuild instance: Visual Studio Professional 2017 15.8.28010.2041 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin"

    Detecting Cake files in 'c:\Source\Project'.

    Could not find any Cake files

    Project system 'OmniSharp.DotNet.DotNetProjectSystem' is disabled in the configuration.

    Detecting projects in 'c:\Source\Project\Project.sln'.

    Queue project update for 'c:\Source\Project\src\Project.Generation\Project.Generation.csproj'

    Queue project update for 'c:\Source\Project\src\Project.Server\Project.Server.csproj'

    Queue project update for 'c:\Source\Project\test\Project.Server.IntegrationTests\Project.Server.IntegrationTests.csproj'

    Queue project update for 'c:\Source\Project\test\Project.Server.Tests\Project.Server.Tests.csproj'

    Detecting CSX files in 'c:\Source\Project'.

    Could not find any CSX files

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider

    Loading project: c:\Source\Project\src\Project.Generation\Project.Generation.csproj

    Configuration finished.

    Omnisharp server running using Stdio at location 'c:\Source\Project' on host 16876.

    Project Project.Server is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Project Project.Server supports: netcoreapp2.2 (.NETCoreApp,Version=v2.2)

    Version 2.2.204 of the .NET Core SDK requires at least version 16.0.0 of MSBuild. The current available version of MSBuild is <IP_ADDRESS>996. Change the .NET Core SDK specified in global.json to an older version that requires the MSBuild version currently available.

    The SDK 'Microsoft.NET.Sdk.Web' specified could not be found.

    Failed to load project file 'c:\Source\Project\src\Project.Generation\Project.Generation.csproj'.

c:\Source\Project\src\Project.Generation\Project.Generation.csproj
C:\Source\Project\src\Project.Generation\Project.Generation.csproj(0,0): Error: Project Project.Server is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Project Project.Server supports: netcoreapp2.2 (.NETCoreApp,Version=v2.2)
c:\Source\Project\src\Project.Server\Project.Server.csproj(0,0): Error: Version 2.2.204 of the .NET Core SDK requires at least version 16.0.0 of MSBuild. The current available version of MSBuild is <IP_ADDRESS>996. Change the .NET Core SDK specified in global.json to an older version that requires the MSBuild version currently available.
c:\Source\Project\src\Project.Server\Project.Server.csproj(0,0): Error: The SDK 'Microsoft.NET.Sdk.Web' specified could not be found.
    Loading project: c:\Source\Project\src\Project.Server\Project.Server.csproj

    Failed to load project file 'c:\Source\Project\src\Project.Server\Project.Server.csproj'.

c:\Source\Project\src\Project.Server\Project.Server.csproj(1,1)
Microsoft.Build.Exceptions.InvalidProjectFileException: The SDK 'Microsoft.NET.Sdk.Web' specified could not be found.  c:\Source\Project\src\Project.Server\Project.Server.csproj
at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject(String errorSubCategoryResourceName, IElementLocation elementLocation, String resourceName, Object[] args)
at Microsoft.Build.Evaluation.Evaluator4.ExpandAndLoadImportsFromUnescapedImportExpressionConditioned(String directoryOfImportingFile, ProjectImportElement importElement, List1& projects, SdkResult& sdkResult, Boolean throwOnFileNotExistsError)
at Microsoft.Build.Evaluation.Evaluator4.ExpandAndLoadImports(String directoryOfImportingFile, ProjectImportElement importElement, SdkResult& sdkResult)    at Microsoft.Build.Evaluation.Evaluator4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
at Microsoft.Build.Evaluation.Evaluator4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)    at Microsoft.Build.Evaluation.Evaluator4.Evaluate(ILoggingService loggingService, BuildEventContext buildEventContext)
at Microsoft.Build.Evaluation.Project.Reevaluate(ILoggingService loggingServiceForEvaluation, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
at Microsoft.Build.Evaluation.Project.ReevaluateIfNecessary(ILoggingService loggingServiceForEvaluation, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
at Microsoft.Build.Evaluation.Project.Initialize(IDictionary2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)    at Microsoft.Build.Evaluation.Project..ctor(String projectFile, IDictionary2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
at Microsoft.Build.Evaluation.ProjectCollection.LoadProject(String fileName, IDictionary2 globalProperties, String toolsVersion)    at OmniSharp.MSBuild.ProjectLoader.EvaluateProjectFileCore(String filePath) in C:\projects\omnisharp-roslyn\src\OmniSharp.MSBuild\ProjectLoader.cs:line 129    at OmniSharp.MSBuild.ProjectLoader.BuildProject(String filePath) in C:\projects\omnisharp-roslyn\src\OmniSharp.MSBuild\ProjectLoader.cs:line 72    at OmniSharp.MSBuild.ProjectFile.ProjectFileInfo.Load(String filePath, ProjectIdInfo projectIdInfo, ProjectLoader loader) in C:\projects\omnisharp-roslyn\src\OmniSharp.MSBuild\ProjectFile\ProjectFileInfo.cs:line 94    at OmniSharp.MSBuild.ProjectManager.<>c__DisplayClass30_0.<LoadProject>b__0() in C:\projects\omnisharp-roslyn\src\OmniSharp.MSBuild\ProjectManager.cs:line 293    at OmniSharp.MSBuild.ProjectManager.LoadOrReloadProject(String projectFilePath, Func1 loader) in C:\projects\omnisharp-roslyn\src\OmniSharp.MSBuild\ProjectManager.cs:line 304
    Loading project: c:\Source\Project\test\Project.Server.IntegrationTests\Project.Server.IntegrationTests.csproj

    Project Project.Server is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Project Project.Server supports: netcoreapp2.2 (.NETCoreApp,Version=v2.2)

    Version 2.2.204 of the .NET Core SDK requires at least version 16.0.0 of MSBuild. The current available version of MSBuild is <IP_ADDRESS>996. Change the .NET Core SDK specified in global.json to an older version that requires the MSBuild version currently available.

    The SDK 'Microsoft.NET.Sdk.Web' specified could not be found.

    Failed to load project file 'c:\Source\Project\test\Project.Server.IntegrationTests\Project.Server.IntegrationTests.csproj'.

c:\Source\Project\test\Project.Server.IntegrationTests\Project.Server.IntegrationTests.csproj
C:\Source\Project\test\Project.Server.IntegrationTests\Project.Server.IntegrationTests.csproj(0,0): Error: Project Project.Server is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Project Project.Server supports: netcoreapp2.2 (.NETCoreApp,Version=v2.2)
c:\Source\Project\src\Project.Server\Project.Server.csproj(0,0): Error: Version 2.2.204 of the .NET Core SDK requires at least version 16.0.0 of MSBuild. The current available version of MSBuild is <IP_ADDRESS>996. Change the .NET Core SDK specified in global.json to an older version that requires the MSBuild version currently available.
c:\Source\Project\src\Project.Server\Project.Server.csproj(0,0): Error: The SDK 'Microsoft.NET.Sdk.Web' specified could not be found.
    Loading project: c:\Source\Project\test\Project.Server.Tests\Project.Server.Tests.csproj

    Project Project.Server is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Project Project.Server supports: netcoreapp2.2 (.NETCoreApp,Version=v2.2)

    Version 2.2.204 of the .NET Core SDK requires at least version 16.0.0 of MSBuild. The current available version of MSBuild is <IP_ADDRESS>996. Change the .NET Core SDK specified in global.json to an older version that requires the MSBuild version currently available.

    The SDK 'Microsoft.NET.Sdk.Web' specified could not be found.

    Failed to load project file 'c:\Source\Project\test\Project.Server.Tests\Project.Server.Tests.csproj'.

c:\Source\Project\test\Project.Server.Tests\Project.Server.Tests.csproj
C:\Source\Project\test\Project.Server.Tests\Project.Server.Tests.csproj(0,0): Error: Project Project.Server is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Project Project.Server supports: netcoreapp2.2 (.NETCoreApp,Version=v2.2)
c:\Source\Project\src\Project.Server\Project.Server.csproj(0,0): Error: Version 2.2.204 of the .NET Core SDK requires at least version 16.0.0 of MSBuild. The current available version of MSBuild is <IP_ADDRESS>996. Change the .NET Core SDK specified in global.json to an older version that requires the MSBuild version currently available.
c:\Source\Project\src\Project.Server\Project.Server.csproj(0,0): Error: The SDK 'Microsoft.NET.Sdk.Web' specified could not be found.
    Attempted to update project that is not loaded: c:\Source\Project\src\Project.Generation\Project.Generation.csproj

    Attempted to update project that is not loaded: c:\Source\Project\src\Project.Server\Project.Server.csproj

    Attempted to update project that is not loaded: c:\Source\Project\test\Project.Server.IntegrationTests\Project.Server.IntegrationTests.csproj

    Attempted to update project that is not loaded: c:\Source\Project\test\Project.Server.Tests\Project.Server.Tests.csproj

C# log

Empty

Environment information
VSCode version: 1.34.0
C# Extension: 1.19.1
Dotnet Information
.NET Core SDK (reflecting any global.json):
 Version:   2.2.204
 Commit:    8757db13ec
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.17134
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\2.2.204\
Host (useful for support):
Version: 2.2.5
Commit:  0a3c9209c0
.NET Core SDKs installed:
1.1.0 [C:\Program Files\dotnet\sdk]
2.2.204 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 1.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

Hi,
I'm facing the same issue.
I don't know all the effects this issue is causing in vs-code. I can't use "Go To Definition" command and sometimes intellisense simply doesn't work as expected.
Omnisharp log below
Starting OmniSharp server at 10/15/2019, 9:55:57 AM
Target: c:\dev\WebApp1
OmniSharp server started.
Path: c:\Users\Username.vscode\extensions\ms-vscode.csharp-1.21.4.omnisharp\1.34.4\OmniSharp.exe
PID: 4892
    Starting OmniSharp on Windows 6.2.9200.0 (x64)

    DotNetPath set to dotnet

info: OmniSharp.MSBuild.Discovery.MSBuildLocator
Located 2 MSBuild instance(s)
1: Visual Studio Community 2019 16.3.29409.12 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin"
2: StandAlone 16.0 - "C:\Users\Username.vscode\extensions\ms-vscode.csharp-1.21.4.omnisharp\1.34.4.msbuild\Current\Bin"
info: OmniSharp.MSBuild.Discovery.MSBuildLocator
Registered MSBuild instance: Visual Studio Community 2019 16.3.29409.12 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin"
info: OmniSharp.Cake.CakeProjectSystem
Detecting Cake files in 'c:\dev\WebApp1'.
info: OmniSharp.Cake.CakeProjectSystem
Could not find any Cake files
info: OmniSharp.MSBuild.ProjectSystem
No solution files found in 'c:\dev\WebApp1'
info: OmniSharp.MSBuild.ProjectManager
Queue project update for 'c:\dev\WebApp1\WebApp1.csproj'
info: OmniSharp.Script.ScriptProjectSystem
Detecting CSX files in 'c:\dev\WebApp1'.
info: OmniSharp.Script.ScriptProjectSystem
Could not find any CSX files
info: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
info: OmniSharp.MSBuild.ProjectManager
Loading project: c:\dev\WebApp1\WebApp1.csproj
info: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
info: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.EditorConfigWorkspaceOptionsProvider, Order: 200
info: OmniSharp.WorkspaceInitializer
Configuration finished.
info: OmniSharp.Stdio.Host
Omnisharp server running using Stdio at location 'c:\dev\WebApp1' on host 17620.
info: OmniSharp.MSBuild.ProjectManager
Successfully loaded project file 'c:\dev\WebApp1\WebApp1.csproj'.
info: OmniSharp.MSBuild.ProjectManager
Adding project 'c:\dev\WebApp1\WebApp1.csproj'
info: OmniSharp.MSBuild.ProjectManager
Update project: WebApp1

in fact I will close this issue because this has been resolved - OmniSharp now ships with 16.3 MSBuild and supports .NET Core 3.0 too.
@franlyreynoso it uses the correct one - VS 2019 version of msbuild is preferred over the stand alone one. "go to definition" issue is not a related thing - it's a regression in 1.21.4, see https://github.com/OmniSharp/omnisharp-vscode/issues/3344#issuecomment-541553080 for a workaround

in fact I will close this issue because this has been resolved - OmniSharp now ships with 16.3 MSBuild and supports .NET Core 3.0 too.
@franlyreynoso it uses the correct one - VS 2019 version of msbuild is preferred over the stand alone one. "go to definition" issue is not a related thing - it's a regression in 1.21.4, see #3344 (comment) for a workaround

Thanks! That fixed it.


Adding support for latest ruby and Rails 5

This pull-request adds support for the following:

Latest ruby version
Latest Rails version
Latest RSpec version

Updated the matrix to run all combinations for maximum support, and removed a deprecation warning as well as invalid RSpec usage pertaining raise_error.

Coverage increased (+0.8%) to 97.772% when pulling 23acb46f2bd81c06992e787301702d9846485c8a on coding-bunny:upgrade into 12135312a7868353a51586bf97489dd2c3f0846d on philostler:develop.

Coverage increased (+0.8%) to 97.772% when pulling 23acb46f2bd81c06992e787301702d9846485c8a on coding-bunny:upgrade into 12135312a7868353a51586bf97489dd2c3f0846d on philostler:develop.

Coverage increased (+0.8%) to 97.772% when pulling 23acb46f2bd81c06992e787301702d9846485c8a on coding-bunny:upgrade into 12135312a7868353a51586bf97489dd2c3f0846d on philostler:develop.

@packrat386 or @wpolicarpo is this project still being maintained?

Wondering if this can be merged down? Been quite some time since I made this pull-request.

I've implemented the changes, but now I have specs failing because of GlobalID.
The matcher ones only actually, and I'm not sure how to get these fixed :/

Part of the GlobalID failure is due to: https://github.com/rails/globalid/commit/8b3af4c39977812d782319e6d2ad310f96819425
To fix that, I think you'd want to remove attr_reader :global_id and the initialize method in the TestResource class, then memoize the result of the id method (ie @id ||= rand(36**10).to_s 36 ) so we get a consistent result on calls to the same object.
Furthermore, when you assign GlobalID.app the second time after all the jobs are enqueued, that makes it so the app identifier we expect to be in the queue doesn't match the app identifier that's actually in the queue, so I think this line is unnecessary:
https://github.com/philostler/rspec-sidekiq/pull/156/files#diff-4b213564ae539e591aeb48cb440f1c77R20
I also think wrapping the expected arguments in an array is unnecessary and removing them should result in a passing test:
https://github.com/philostler/rspec-sidekiq/pull/156/files#diff-4b213564ae539e591aeb48cb440f1c77R78
I think that should get you to a passing test suite.

Sorry it has taken this long, I've applied the suggestions you posted.

and all green, at least those that are supposed to pass :)

Is there a chance to get this merged down, so I can eliminate this pull request from my GitHub overview :) ?

@packrat386 lets merge ! (I don't have write access)

Hey y'all. As you can probably tell, this repo is in need of a bit of TLC and I haven't been able to spend all that much time on it. I'm planning to spend some time this weekend to go through outstanding pull requests that can be merged and then cutting a new version. I know it's been a while since there have been any updates, so thanks for your patience.

no worries :) I'm just happy I was able to contribute something!
As we use this gem in our projects, I'm more than happy to make additional PR's if I discover more problems while upgrading Ruby and Rails versions

These changes have been pulled into 3.1.0


Fix NASA Scrub in CI

NASA Scrub scans are failing in CI. This issue is to fix it. This PR is a temporary fix so we can keep movings with other PRs: https://github.com/NASA-AMMOS/aerie/pull/534
Defaulting to user installation because normal site-packages is not writeable
Collecting nasa-scrub
  Downloading nasa_scrub-2.6.1-py2.py3-none-any.whl (55 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.8/55.8 KB 2.4 MB/s eta 0:00:00
Installing collected packages: nasa-scrub
Successfully installed nasa-scrub-2.6.1
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/runner/.local/lib/python3.10/site-packages/scrub/tools/parsers/csv_parser.py", line 66, in <module>
    parse_warnings(pathlib.Path(sys.argv[1]).resolve())
  File "/home/runner/.local/lib/python3.10/site-packages/scrub/tools/parsers/csv_parser.py", line 57, in parse_warnings
    result.get('file').relative_to(source_dir),
  File "/usr/lib/python3.10/pathlib.py", line 818, in relative_to
    raise ValueError("{!r} is not in the subpath of {!r}"
ValueError: '/home/runner/work/aerie/aerie/db-tests/src/test/java/gov/nasa/jpl/aerie/d

The NASA Scrub repo itself also seems to be failing in GitHub actions right now with the same type of error: https://github.com/nasa/scrub/actions/runs/3673227034/jobs/6210119677


Use Docker tagging to allow docker deployments to auto-update

Add buildkite auto-cancelling on the CD pipelines so the ‘latest’ tag isn’t overwritten by older builds racing.

@lk86 please estimate this task


Fixed size calculation for RegisterTransaction

What current issue(s) does this address, or what feature is it adding?
closes #914
How did you solve this problem?
Added Size method in RegisterTransaction class
How did you make sure your solution works?
Added test and compared output with the official C# neo implementation
Please check the following, if applicable:

[x] Did you add any tests?
[ ] Did you run make lint?
[x] Did you run make test?
[x] Are you making a PR to a feature branch or development rather than master?
[ ] Did you add an entry to CHANGELOG.rst? (if not, please do)

Thanks!

dautt 100 points

https://neoscan.io/transaction/d5ae4a22ffe49912a2a3dc698d39ac63a8fcf2cef63ae136850d039c312591d8


Fix #1522: fix 'str' object has no attribute 'attributes'

Fix #1522

Thanks for the fix here @leplatrem !
This was recently changed, in #1519, though it wasn't clear if there was going to be any side effects from the change. I guess there are side effects, which isn't too surprising.
This is reverting to what we had before, so should definitely be safe. But I will first try to understand what is happening in #1522, or why the css_tag fails here. It was my understanding the css_tag call would be safer, but I'm guessing it comes down to the Sphinx configuration.
I'll want to aim to merge this in, reverting that change, before next week. I'm planning on a 2.0 final release on Monday or Tues.

Excellent, thank you! 💚

I updated this PR to take into consideration the review comments from @mitya57. It should work for all the Sphinx versions we support now. I'd be happy to merge this PR and release a new rc version to PyPI so people can continue testing it.

2.0.0rc3 is now out with this fix. Thanks everyone!


0.4.7 fails python2.7 unittest

After naively transplanting 0.4.2-3 debian packaging files, and disabling the 0001 patch,
testToDateTime4 (tests.type.test_useful.UTCTimeTestCase) ... ok

======================================================================
FAIL: testDecodeError (tests.type.test_univ.OctetStringUnicodeErrorTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/type/test_univ.py", line 579, in testDecodeError
    assert False, 'Unicode decoding error not caught'
AssertionError: Unicode decoding error not caught

======================================================================
FAIL: testEncodeError (tests.type.test_univ.OctetStringUnicodeErrorTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/type/test_univ.py", line 565, in testEncodeError
    assert False, 'Unicode encoding error not caught'
AssertionError: Unicode encoding error not caught

----------------------------------------------------------------------
Ran 1099 tests in 1.503s

FAILED (failures=2)
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd /build/pyasn1-0.4.7/.pybuild/cpython2_2.7_pyasn1/build; python2.7 -m unittest discover -v
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13

What am I missing? (Is this the reason why debian packaging didn't adopt the latest releases?)
This happens on Debian Buster, didn't check Stretch yet.

    from cStringIO import StringIO
except ImportError:  # pragma: no cover
    try:
        from StringIO import StringIO
    except ImportError:
        from io import StringIO

(as seen in pykat/external/progressbar/__init__.py) seems to be a sufficiently robust approach.

I am not sure how CI did not catch that... Patch 40d5a7f27b8f56e103cdc83d3a294f02c5eb1496 should hopefully fix failing tests.

Patch applied on top of 0.4.7, run pbuilder for Buster, building succeeded. Thanks for the quick fix!


[BUG]

I would like to report a bug when merging 360 files together.
When playing the merged video some parts are super shaky even though the same part in original video is smooth.
Tried 2 merges of the same files and still same result.
If you couldnt replicate that and needed some samples I can provide.

I understand the problem, unfortunately these cases are usually internal problems with gopro videos and cannot be solved, anyway, I can try to take a look in case I find something strange, if you provide me with the sample files, I'll take a look as soon as I have a while.

I dont think its a problem with a gopro videos, if the originals are super smooth without any issues and after the merge it becomes shaky, how can it be within the files?
I recorded the sample by phone as split screen of original and merged and you can see the issues right away, hope it somehow helps.
Here is the link: https://we.tl/t-zvfaA9Dkpv

Unfortunately I can't provide more information, as mentioned in the README, ReelSteady Joiner is just an application that uses the GoproLabs "udtacopy" tool to perform the task of joining GoPro videos for later stabilization with ReelSteady, so I don't have a control over the operation of the "udtacopy" tool, mainly responsible for joining the videos, maintaining the necessary data for subsequent stabilization. I recommend you try opening an issue in the corresponding repository (https://github.com/gopro/labs).

I have the same issue, but I noticed that this only happens after the first file is joined to the second file. This is exactly at the 8 minute mark.


Add data models for Medication Line and Medication

Business Rules Schéma médication V0.18 FR (2) (1).docx

Also include narrative and use cases


chore(main): release 1.3.0

:robot: I have created a release beep boop
1.3.0 (2022-03-16)
Features

Support new gcp function go runtime 1.16 (7fdc168)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/gonzolino/tado-window-control/releases/tag/v1.3.0 :sunflower: