Any sample to .Net Core 2.0?

Is there any sample for .Net Core 2.0? There has been quite some changes since 1.1.

We don't currently support .NET Core. We would like to see that fixed but it's more than a small amount of work.

@yaronyg , please clarify the following point such that I set my own timing as we are spending time on the app. I am currently working on a .Net Core 2.0 and I can connect to a cosmosdb with the documentdb api without problems when working with the emulator.
Are you telling me that the Core 2.0 app will not work if I publish on Azure??
Thank you in advance for clarifying this point!

@Ponant I apologize. I thought this question was in our Table API sample GitHub repo. That SDK doesn't support .net core. But that has nothing to do with Document DB or this sample. My mistake. I deleted my comment and re-opened your issue.


cmake error,XRandR wasn't  found

plateform:armv7 rk3288
system:ubuntu 15.10
Warning
Disabling tsmf gstreamer because XRandR wasn't found!
i have installed:
libxrandr-dev
libxrandr2
libxrandr2-dbg
lxrandr
lxrandr-dbg
but it's without effect....

@lifeblong try x11proto-randr-dev. Please don't use the issue tracker for questions.
Drop by in our irc channel or sent an e-mail to our mailing list.


Grouping by multiple fields with the aggregation builder (question)

I'm trying to determine the syntax for grouping by multiple fields using the aggregation builder.
Like this example from https://docs.mongodb.com/manual/reference/operator/aggregation/group/
db.sales.aggregate(
   [
      {
        $group : {
           _id : { month: { $month: "$date" }, day: { $dayOfMonth: "$date" }, year: { $year: "$date" } },
           totalPrice: { $sum: { $multiply: [ "$price", "$quantity" ] } },
           averageQuantity: { $avg: "$quantity" },
           count: { $sum: 1 }
        }
      }
   ]
)

I can elaborate on the question if needed but hoping I'm just missing something simple.
Eg.
How do I do this:
_id : { month: { $month: "$date" }, day: { $dayOfMonth: "$date" }, year: { $year: "$date" } },
With this:
$aggregationBuilder->group()->field('_id')->????
Thanks in advanced for the help guys!

You have to create a nested expr object to be used with the field:
$builder
    ->group()
    ->field('_id')
    ->expression(
        $builder
            ->expr()
            ->field('month')
            ->month('$date')
            ->field('day')
            ->dayOfMonth('$date')
            ->field('year')
            ->year('$date')
    )
    ->field('totalPrice')
    ->sum(
        $builder
            ->expr()
            ->multiply('$price', '$quantity')
    )
    ->field('averageQuantity')
    ->avg('$quantity')
    ->field('count')
    ->sum(1);

Awesome. This was exactly what I was looking for. Thanks Andreas!


IGNITE-17369 : v5, validate partition counters at the start snapshot stage.

Validating partition counters at the start snapshot starge. Covers case when Datastreamer failed or canceled long ago.

Implementation: https://github.com/apache/ignite/pull/10286


Rewrite existing documentation (based on feedback)

The existing documentation is up to date and simplified in some steps. Some points requires rewriting because I see that some things are repeated (I tried to avoid this but it's impossible without rewriting it).
I should spend time on making synopsis of each getting started subpages to make it more logical.

I made the list of steps on each subpage, I must talk to someone who could check the text if everything is understandable.
btw. I think that some things are not required/duplicates.
Maybe with next release I will improve the documentation

Things that comes to my mind:

Common issues/FAQ section (most annoying for me to respond via mail)
Rewrite some sections and reduce the text.
Separated pin page
Split the nav bar not only to main categories but also main headers on each page of getting started
Bluetooth information that AT commands on page are for HC-05 and I strongly recommend it
Leonardo and hardware-pin-connected bluetooth requires change from serial to serial1
More examples?


ES6 / ES7 support via BabelJS

Is it possible to use ES6/7 features like async/await ?  Can you show a working example?

Not yet.
I've been targeting ES5 only so far, because the estree spec and related tooling are still catching up with ES6 (e.g. estools/esvalid#7). So if it existed, it would have to be behind an --experimental flag.
However, it should be quite possible to add even now: All the built-in macros just emit estree objects that are compiled by escodegen. There is an experimental estree spec for async/await and escodegen seems to support it!
I'll try it sometime soonish—PR welcome too.

It looks like as of version 6.0, Babel is no longer ESTree compliant. I opened an issue over there but the author said he's not going to support the standard format anymore. Boo.

Perhaps we should altogether move to target Babel's AST spec?
Pros:

Much easier to use experimental features.
Can use other stuff in Babel's ecosystem, though I'm not familiar with it.

Cons:

It's work.
Lose estools-compatibility. The ones we're using are—

esvalid for readable errors, but Babel might too.
esutils for isExpression, but it's fairly simple to reimplement.

That's a possible solution. Another solution is to write a compatibility layer that takes a estree ast as input and outputs a babel ast.

@lhorie not sure if you saw my comment in the issue (maybe missed it since it was right before yours) but basically I'l be doing a compatibility layer

Ooh nice. That's awesome to hear. I totally did miss your comment. @hzoo

@lhorie https://github.com/babel/acorn-to-esprima/pull/3 - I'l need to add a lot more tests since I know some of the loc/range info is wrong now.

Update: escodegen fully supports ES6 AFAICT, and I've already started some of this process in #41.

#41 merged, any news here?

@11111000000
#41 isn't merged, and so the macros that eslisp comes with don't support ES6 yet. The current approach in #41 still introduces ambiguity, as outlined in the description of my PR https://github.com/isiahmeadows/eslisp/pull/1. I think that path isn't going to work out, since most of ES6 changes are at the syntactic level.
I'd bet on an eventual solution coming through #24.
For now, if you're desperate, with #34 merged you can write macros that return ES6 estree objects. If you like, you could try returning such an object from your own macros, like this.

@anko: thanks, watch closely

May I also point out that the isExpression, etc. are part of Babel, anyways (and they've been that way since at least 5)? I'm not a huge fan of Babel, but I just thought I'd point that out.


Display resize

Add a functionality that looks if the Display was resized and thus ViewPort must be resized too

@Aufricer I guess that it wasn't working fine before your change?. I would like to avoid a dependency on a lwjgl package. Normally, I would expect the GuiControlListener added in the construction to have his "reshape" called.
I've checked what I did for reptilianwars, where I heavily rely on this viewportpanel and it seems that I overrided the reshape method in the LegacyApplication and "setPreferredSize" of all root lemur containers.
This however, is a workaround that I agree should be solved somehow, but I think it should be something in Lemur rather calling lwlgl's Display.


update info text of complete node & add JP text

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Proposed changes

Info text of new complete node is not shown on sidebar.
This is caused by name difference among  complete node's js/html file and the info text file.
This PR fixes this and also add Japanese info text for complete node.
Checklist

[x] I have read the contribution guidelines
[ ] For non-bugfix PRs, I have discussed this change on the mailing list/slack team.
[x] I have run grunt to verify the unit tests pass
[ ] I have added suitable unit tests to cover the new/changed functionality

Coverage remained the same at 77.529% when pulling 8582cda12458b5a1fd34fd58e94d57a7842a2516 on node-red-hitachi:fix-comple-node-info-text into d963dfdbb6a66df80fdf707bbd4ecda0d4014a70 on node-red:dev.

I noticed the help was missing the other day. Was just going to track down where it had got to when this PR arrived. Thanks! 😄


Settings not saving

I am having an issue where my settings are not saving in the theme settings. Such as setting the option for "Check for Authentic Theme updates". It has been happening for many versions now. Same for theme and logos. Theme and Logos stay until i log out and back in.

Make sure that /etc/webmin/authentic-theme is a directory and have proper (writable) permissions.

/etc/webmin/authentic-theme is root:root 0777 and there is a file "config" in with with root:root 0644

That sounds like system specific. Check, when you logout, do files in that directory disappear? Files like settings.js, logo.PNG and other? Are the files there in current session?

i run Ubuntu 14.04.01 and the only thing in /etc/webmin/authentic-theme is the config file

And after you save settings? Go to console and see what you have in the directory after saving?
On October 17, 2015 1:46:58 PM GMT+03:00, bbuchan10<EMAIL_ADDRESS>wrote:

i run Ubuntu 14.04.01 and the only thing in /etc/webmin/authentic-theme
is the config file

Reply to this email directly or view it on GitHub:
https://github.com/qooob/authentic-theme/issues/272#issuecomment-148907004

when i save settings. nothing changes in the directory. still only config file.

Then you should provide me with log information. I'm at the moment have not clue why it's happening on your side.

Ok, what logs do you need and how do i get to them?

You should debug Perl and take a look at Webmin's miniserv.log.

What is the output of ls -lsaZ /etc/webmin/authentic-theme

ls -lsaZ /etc/webmin/authentic-theme
total 12
4 drwxrwxrwx   2 root root ? 4096 Oct 17 06:37 .
4 drwxr-xr-x 144 root root ? 4096 Oct 16 10:02 ..
4 -rw-r--r--   1 root root ?  114 Oct 16 10:02 config

..and what browser/OS are you using? (client-side)

chrome, windows 10
On Wed, Oct 21, 2015 at 2:16 PM, Ilia Rostovtsev<EMAIL_ADDRESS>wrote:

..and what browser/OS are you using? (client-side)
—
Reply to this email directly or view it on GitHub
https://github.com/qooob/authentic-theme/issues/272#issuecomment-149998044
.

--
Bryan Buchan
Youtube Channel: Monkeybdb http://www.youtube.com/user/monkeybdb

i also confirmed that it happens on IE, Edge and Firefox

@bbuchan10 Did you try settings permissions to drwxr-xr-x (755) for /etc/webmin/authentic-theme?

@bbuchan10 @qooob Guys I'm using authentic theme on Ubuntu 14.04.3 LTS and it's fine. No problem with settings etc. Try to re-install the theme.

I have deleted and reinstalled the theme multiple times. It has worked in
the past and it works fine on my other servers.
On Oct 23, 2015 5:26 PM, "specktator"<EMAIL_ADDRESS>wrote:

@bbuchan10 https://github.com/bbuchan10 @qooob
https://github.com/qooob Guys I'm using authentic theme on Ubuntu
14.04.3 LTS and it's fine. No problem with settings etc. Try to re-install
the theme.
—
Reply to this email directly or view it on GitHub
https://github.com/qooob/authentic-theme/issues/272#issuecomment-150706835
.

It is not Authentic Theme issue. I can not know why settings are not saved on that one particular machine.
Please report back to me, when you find out.

would .old'ing the folder then reinstalling the theme, restore the folder with proper permissions?

You could try. It could help.

Sorry to revive this old thing, but i am still having the issue and .old the folder did not help. however i may have some useful info. When i look at /etc/webmin/authentic-theme/ i only see the config file. however on a working server i see config, settings, and my logo files. when i transplant the files, everything worked great until i try to change the settings again and the files are deleted, and the folder is just the config file again. The modified time has changed as well on the folder so it is not a permissions issue. (i also confirmed those with a working server).

Which server side OS do you have issue in? What client side OS/browser do you use?

happens on any broswer and i use Ubuntu 14.04.3

Open Chrome console, click Network tab, filter XHR go to settings and click Save. You shoukd see the request's respond! What is that?

/index.cgi?xhr-settings=1&save=1 response just shows "this response has no request data available"

the working server shows the same thing, so i may not have gotten the info you wanted.

How are is it? Are the settings saved now?

Nope, I'm on .31 too
On Jan 2, 2016 2:48 AM, "Ilia Rostovtsev"<EMAIL_ADDRESS>wrote:

How are is it? Are the settings saved now?
—
Reply to this email directly or view it on GitHub
https://github.com/qooob/authentic-theme/issues/272#issuecomment-168373927
.

Btw, I'm on virtualmin, don't know if that matters
On Jan 2, 2016 8:38 AM<EMAIL_ADDRESS>wrote:

Nope, I'm on .31 too
On Jan 2, 2016 2:48 AM, "Ilia Rostovtsev"<EMAIL_ADDRESS>wrote:

How are is it? Are the settings saved now?
—
Reply to this email directly or view it on GitHub
https://github.com/qooob/authentic-theme/issues/272#issuecomment-168373927
.

What do you meant, you're on Virtualmin?

I meant I'm not using just Webmin, I also have Virtualmin installed.
On Jan 2, 2016 9:02 AM, "Ilia Rostovtsev"<EMAIL_ADDRESS>wrote:

What do you meant, you're on Virtualmin?
—
Reply to this email directly or view it on GitHub
https://github.com/qooob/authentic-theme/issues/272#issuecomment-168397265
.

It's normal. I tested it in many different situations.

Alright, I have found very strange Perl behavior on comparing two files. With new 17.50 your issue most likely will be resolved. Please, let me know after 17.50 is released, if your settings are saved!?
Thanks!

unfortunately, it appears that when i save settings the files are still
disapearing in the authentic-theme folder.
On Thu, Jan 21, 2016 at 2:51 AM, Ilia Rostovtsev<EMAIL_ADDRESS>wrote:

Alright, I have found very strange Perl behavior on comparing two files.
With new 17.50 your issue most likely will be resolved. Please, let me know
after 17.50 is released, if your settings are saved!?
Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/qooob/authentic-theme/issues/272#issuecomment-173502814
.

--
Bryan Buchan
Youtube Channel: Monkeybdb http://www.youtube.com/user/monkeybdb

They should be saved to /etc/webmin/authentic-theme and then moved to /usr/webmin/authentic-theme/unauthenticated/js. (RHEL) On Ubuntu it's share folder.. Not sure how it's possible otherwise!?

We had this same problem, and today I traced it down to having usermin installed, and having a link in the /etc/usermin folder that pointed to the authentic-them config in the /etc/webmin folder.  This used to be a recommended tactic to handle sharing settings in usermin from webmin.
I removed the link under usermin, created the authentic-theme folder in usermin, copied over the "config" file from webmin to usermin, and then files started to save normally.

Yes, I removed recommendations on making symlinks as it has unexpected behavior in some cases.


add a simple animation to HomeTopAppBar Title and Filter icon

Hi,
Thanks for your contribution, however Sunflower is going to be archived in favour of maintaining a smaller set of up-to-date set of compose-samples, that can be found here: https://github.com/android/compose-samples, as well as snippets that can be found here: https://github.com/android/snippets.
Please feel free to keep your fork up-to-date for your learning, but this repository will be archived shortly.


Active/Active XSite fencing. Resolves keycloak#29303

Resolves keycloak/keycloak#29303
Changes

User alert routing enabled on ROSA clusters

PrometheusRule used to trigger AWS Lambda webhook in the event of a
split-brain so that only a single site remains in the global accelerator endpoints

Global Accelerator scripts refactored to use OpenTofu when creating
AWS resources

Task created to deploy/undeploy Active/Active

Task created to simulate split-brain scenarios

'active-active' flag added to GH actions to differentiate between
active/passive and active/active deployments

Global Accelerator Provisioning
The global accelerator provisioning uses a hybrid approach for creating AWS resources. The NLB required for the accelerator endpoints is created via Kubernetes LoadBalancer services in each of the nodes. This is done as it's much simpler than trying to explicitly provision NLBs for each sites using OpenTofu. Consequently, the OpenTofu accelerator module simply references these existing NLBs via data sources so that we can add them to the accelerator endpoint group.
Testing

Provision an active/active deployment:

gh workflow run rosa-multi-az-cluster-create.yml -f activeActive=true -f clusterPrefix= -f region=

Inspect the AWS Global Accelerator console and ensure that the endpoint group contains two endpoints, one for each site.

Simulate a split-brain scenario:

cd provision/infinispan
PREFIX= ROSA_CLUSTER_NAME_1=$PREFIX-a ROSA_CLUSTER_NAME_2=$PREFIX-b NAMESPACE=runner-keycloak task crossdc-split

Navigate to the Openshift Console and ensure an event was fired, go to  Observer -> Alerting and apply the "user" filter. A "SiteOffline" event should have been fired

Inspect the AWS Global Accelerator console and ensure that the endpoint group now only contains a single endpoint.

TODO
Still missing:

[x] Infinispan 15.0.4.Final: https://github.com/infinispan/infinispan/pull/12368
[ ] Webhook authentication
[ ] Webhook CORS?
[ ] Documentation

@ryanemerson - I see that the metric vendor_jgroups_site_view_status is now available in our cluster. It is present on all Infinispan nodes (assuming that all of them are site masters, then?) and it is 1 all the time (even if we take the second site offline during the setup of our data? This surprises me a bit, still I might not get the full meaning of that metric.

Documentation Changes Required
In order for us to support Active/Active deployments we need to update the following items in the Keycloak HA guide:
Blueprints

Deploy an AWS Route 53 loadbalancer: This needs to be replaced with a guide on how to deploy a AWS Global Accelerator

Operational Procedures

Fail over to the secondary site: We no longer have the notion of a Primary and Backup site, so this needs to be replaced entirely. Instead we should provide a guide on how to correctly remove one of the Active sites.
Switch over to the secondary site: No longer relevant, see above.
Recover from an out-of-sync passive site: This needs to be replaced with an equivalent guide that explains how to re-sync a active site that has been offline for some time.
Switch back to the primary site: No longer relevant

We should also add the following procedures:

"Recover from Active failure": Detail how to re-sync data and re-add an endpoint to the AWS Accelerator so both sites are available

Thanks for the review @pruivo. My intention was to add the TODO parts today, I just pushed the "WIP" commit so that I had a backup.

Protostream will land not today, so merging this one.


Polish docs for module build_context

What does this PR try to resolve?
Add more doc comments for BuildContext and friends.
How should we test and review this PR?
cargo doc --document-private-items --no-deps --open

Then proofread it!

r? @epage
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

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

:hourglass: Testing commit d86d3bfb3bc2e2a04fd0d58957552c51be61aa86 with merge e00803244234099da9d5a36e2ca9ae2e00e57668...


Get rid of experimental screen

It's annoying.

Simply add https://www.curseforge.com/minecraft/mc-mods/fabric-disable-custom-worlds-advice into run/mods


Fix multilabel tutorial in stable branch

Issue #, if available:
Description of changes:

Fix multilabel tutorial

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Previous CI Run
Current CI Run


Strengthen literal obfuscation (Use XOR instead of AES for literal obfuscation.)

Implement a literal obfuscator interface,
to allow the easy addition of new encodings.
Add literal obfuscation for byte literals, integers, booleans.
Choose a random obfuscator on literal obfuscation,
useful when multiple obfuscators are implemented.

Fixes #62

Fixes #55

Please write the "fixes" lines at the end of your commit message, because that's the only thing that remains in git after a rebase-merge. Them being in comments or in the PR body isn't actually doing anything.

I'm not sure it's worth making a unique logic for each type. I like the idea of all work with []byte.
string -> []byte(string) -> string
float32/64 -> int16/32/64 -> binary.LittleEndian.PutUint16/32/64([]byte) -> binary.LittleEndian.Uint16/32/64()

Then you can write a "obfuscator core" that only works with []byte and add wrappers for the desired types.
Also not so long ago we discussed the possibility of setting up encryption complexity, having a single kernel it is quite easy to implement.
I see an implementation something like this: https://github.com/mvdan/garble/issues/57#issuecomment-658382310

Yeah, I generally agree that it would be simpler to make everything go through a slice-of-bytes interface. That would also be a decent way to ensure that the compiler doesn't get too smart at optimizing away our arithmetic operations.

@pagran I've brought this up elsewhere, but - would you mind joining us at #obfuscation over on Slack? Some of the less asynchronous discussion happens there. Here's the invite link: https://invite.slack.golangbridge.org/
If you or others prefer not to use Slack for any reason, I'm open to alternatives like a Matrix room.

Yeah, I generally agree that it would be simpler to make everything go through a slice-of-bytes interface. That would also be a decent way to ensure that the compiler doesn't get too smart at optimizing away our arithmetic operations.

I thought we want to avoid adding any imports, like "binary"?

That's true, but remember that encoding/binary is pretty small; for example, this is all the code we need for uint64:
func (littleEndian) Uint64(b []byte) uint64 {
        _ = b[7] // bounds check hint to compiler; see golang.org/issue/14808
        return uint64(b[0]) | uint64(b[1])<<8 | uint64(b[2])<<16 | uint64(b[3])<<24 |
                uint64(b[4])<<32 | uint64(b[5])<<40 | uint64(b[6])<<48 | uint64(b[7])<<56
}

func (littleEndian) PutUint64(b []byte, v uint64) {
        _ = b[7] // early bounds check to guarantee safety of writes below
        b[0] = byte(v)
        b[1] = byte(v >> 8)
        b[2] = byte(v >> 16)
        b[3] = byte(v >> 24)
        b[4] = byte(v >> 32)
        b[5] = byte(v >> 40)
        b[6] = byte(v >> 48)
        b[7] = byte(v >> 56)
}

How do i get an Int64 back from an uinit is it as simple as int64(unit64var)?

Yep. This is also how the binary package deals with int64:
                case *int64:
                        *data = int64(order.Uint64(bs))
                case *uint64:
                        *data = order.Uint64(bs)

I'm all for obfuscating more types of literals, but I think we need to give the user some way to opt out of specific types of literals getting obfuscated... For example, I imagine some users will only want strings obfuscated, and don't want the code bloat of ints, bools etc getting obfuscated.

@capnspacehook I think that should be an issue of its own, like "make -literals a more granular option".

Could you make this PR be just about replacing AES with XOR? We should definitely leave the obfuscation of other literals (strings, bytes, etc) for a separate PR. That way, this PR will be smaller and simpler, and we can merge it straight away to unblock all the other work because of the crypto/aes dependency issue.

@mvdan I don't know if its worth splitting this PR as it still would be 500+ Lines.

500 lines is still far smaller than 1k+ lines :)

Ok will do


Example of saving changes to an API

Can you provide an example of data changes being saved via Put/Post/Delete? Based on the demo I can make changes in the form but those changes aren't permanent.
As a newbie this table looks great and is pretty easy to integrate when it comes to initially populating the table via Http(Get). However, being a newbie ... if I need to permanently save my changes (new, edit or delete) how would can I call my service?  Do I have to extend TableDataSource or can it be done somewhere in the button (click) ?

Awesome!!! Thank you so much. This had me stumped.


Adjust Health Reporting for SDK Tasks

All tasks for an SDK service have been changed to report "healthy" by default, if in RUNNING state and they haven't been reported as "unhealthy". Previously tasks matching this criteria reported "unknown".
This change affects the tasks associated with an SDK service (service detail page for SDK service, and node detail page, where SDK tasks are running on that node).
SDK service detail before:

SDK service detail after:

Node detail before:

Node detail after:

Checklist

[ ] Did you add a JIRA issue in a commit message or as part of the branch name?
[ ] Did you add new unit tests?
[ ] Did you add new integration tests?
[ ] If this is a regression, did you write a test to catch this in the future?

LGTM! 🚢


Cannot install Webhook - deploy not found

The installation instructions state:
helm install --namespace kube-system cert-manager-webhook-hetzner ./deploy/cert-manager-webhook-hetzner
However, there is no "deploy" subdirectory anywhere in the repository.

Sorry for late reply, but the path to the chart should be ./cert-manager-webhook-hetzner - this repository needs some more ❤


The C3WOC also signs the open letter 🧇

Oops, I guess the image file is missing. Could you please upload the asset according to the given url?

upsi, sorry. I added it in #37


NameError: uninitialized constant Faker::Base

I followed steps mentioned on this page,
http://redmine-git-hosting.io/get_started
When I run following command,

bundle exec rake redmine:plugins:migrate RAILS_ENV=production NAME=redmine_git_hosting

I got this error,
NameError: uninitialized constant Faker::Base
/Users/ramizraja/projects/vnc/redmine-testing/plugins/redmine_git_hosting/lib/core_ext/faker/git.rb:2:in <module:Faker>' /Users/ramizraja/projects/vnc/redmine-testing/plugins/redmine_git_hosting/lib/core_ext/faker/git.rb:1:in <top (required)>'
/Users/ramizraja/projects/vnc/redmine-testing/plugins/redmine_git_hosting/lib/redmine_git_hosting.rb:91:in block in <top (required)>' /Users/ramizraja/.rvm/gems/ruby-2.3.0@vredmine/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:446:in instance_exec'
/Users/ramizraja/.rvm/gems/ruby-2.3.0@vredmine/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:446:in `block in make_lambda'
How can I fix this?
Redmine version: 3.2.1

As discussed in https://github.com/jbox-web/redmine_git_hosting/issues/732#issuecomment-532362560, issues related to Redmine < 4.0 or severely outdated issues are being closed to help clean up the issue tracker.
If this issue is still relevant to you and you are running Redmine >= 4.0, please open a new issue including all new relevant information.


Spike json handler

The ContentHandler interface has been deprecated. The JSONParser class has also been deprecated, and its replacement, Jsoner, does not have equivalents of the parse(Reader, ContentHandler) family of methods. There is therefore no non-deprecated way to parse JSON in a streaming way.
This PR is a rough attempt at adding a new way to do streaming JSON parsing. I think it's mostly okay, with some rough edges:

At the moment, the JsonHandler interface gets involved in the decision about how to handle a document with multiple JSON objects in via the parameter and return value of endObject and endArray. I think it would be better to lift that up entirely into Jsoner, probably by separating the two roles of the valueStack into a listOfTopLevelValues held in the Jsoner, and a currentValueStack in the JsonAccumulator. Jsoner could then take complete responsibility for keeping track of the depth (via a simple count) and moving completed objects from the accumulator to the list. That would leave endObject and endArray taking no parameter and returning void.

I made States public, but only three of its values are ever passed to the JsonHandler. It might be better to use a separate enum for this. It might be even better to get rid of the state parameter to the JsonHandler methods entirely, and have it track its own state - i think all it would need to do is look at the class of the object on the top of the valueStack to decide what to do.

I haven't followed your coding style, or written javadoc, or written tests. Hey, it's a spike!

What do you think?

Thanks for the spike. Just so you're not in the dark here with my silence, I'm in the middle of a job transition and have a lot of demands on my time for now. I did take a 5 minute look at your code and it could help the library. I hope to get to this thoroughly reviewed, documented, and included in the unit tests eventually. Assuming that goes well I can merge it in. I just can't give an estimated date quite yet.

Heh! No worries about the silence, i once took nine months to get round to a PR. With open source, i'm very much of the mindset that as a user, you don't owe me anything, and so i'm grateful for anything i do get, and still content if i get nothing.
If you think the approach is sound, i'm happy to do more of the work. I can at least write tests and javadocs. If i find myself with a spare moment

Hey, I've finally had a few spare moments to review this. I deprecated the old ContentHandler since it seemed like a carry over from SAX for XML but didn't make pausing/resuming streams easy. I'm seeing the same issue with this spike along with the issues you've mentioned.
Jsoner is able to handle streams like in the case below:
public static void main(String[] args) throws DeserializationException, IOException {
	InputStream input = new ByteArrayInputStream("{}{}{}{}{}{}{}".getBytes());
	InputStreamReader reader = new InputStreamReader(input);
	System.out.println(Jsoner.deserializeMany(reader));
}

So Jsoner can handle JSON in a 'streaming way', it just requires the stream to be complete/flushed and cannot be resumed. Personally, I've just wrapped the JSON in a protocol and deserialize when I have the full message. Which is pretty easy with this library due to it allowing concatenated JSON values.
To make Jsoner capable of deserializing incomplete/unflushed streams and even resume them, it would require that the deserialization state be encapsulated in a 'ContentHandler' implementation, like Jsoner. Then problem handling would be overridden for cases like unexpectedly hitting an END.
I'm not sure if this feature is really necessary due to how easy it is to wrap the JSON in a protocol before deserialization. If anyone has a use case example it might help me (or someone else) to integrate this feature in a helpful way.


Latency Signalling

We may need to use fluctuations in latency as a factor in scaling our txPortal. When latency increases, we should probably decrease the portal size.

Turns out that in practice (so far), the size of the rxPortal buffer is the single greatest indicator of connection quality. We're including this buffer size (which is basically the inverse of the traditional "window") along with every ACK, so we get extremely high refresh rates on that data, which allows the txPortal to adapt to changing conditions very quickly.


feat(TDI-39623):Add Snowflake driver by default in Data Prep's JDBC

connector
What is the current behavior? (You can also link to an open issue here)
https://jira.talendforge.org/browse/TDI-39623
What is the new behavior?
Please check if the PR fulfills these requirements

[ ] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: failure :x:

Thank you very much for this change.
I've rechecked that driver has no dependencies with  mvn dependency:tree command, so it should be ok.

Thanks for checking this so careful. Pierre would like me to merge it after testing.


Decoupling the GGPO API from any static program state

Hello,
Right now the callback functions don't have any other option than to communicate with your implementation throught some static program variables.
This is not great and make having multiple instances of ggpo running in the same program really tedious, which is a shame since it is pretty useful for debugging online applications.
I tried improving that by adding a simple userdata pointer to the callback struct, and passing it as a parameter to all the callback functions.

I wish this one was merged


NotImplementedError: Only 3D, 4D, 5D padding with non-constant padding are supported for now

NotImplementedError: Only 3D, 4D, 5D padding with non-constant padding are supported for now in class PhaseShuffle(nn.Module):
Do you know why? And can you help me to solve this problem?

Hey! You can see section 3.3 of (https://arxiv.org/pdf/1802.04208.pdf) for the description of the PhaseShuffle algorithm; the PhaseShuffle(nn.Module) class is currently only meant to work with 2D tensors. The issue might be that you're trying to use the code for multi-channel or stereo audio, which isn't currently supported. Unfortunately this is an older project and I likely won't be updating it to work with other audio formats, but maybe try using a mono audio file.


Properly display model descriptions in civitai.info view.

I noticed when using the extension that civitai.info files have the descriptions wrapped in HTML comments, so they didn't end up getting shown on the viewer. This changes that by (1) removing HTML comment delimiters (kinda jankily, to do it properly you'd use a real parser), (2) HTML-escaping the results (civitai probably won't serve up XSS exploits but you shouldn't trust arbitrary data as a rule), and finally (3) turning the line breaks from civitai into HTML line breaks.

Also my editor went a little nuts removing excess whitespace in various places in the file, cluttering up the diff. Sorry about that.

Also not mentioned in the PR, this also adds the model's description to the civitai.info view. Before this, it was omitted, and there's often a lot more details in the model description depending on how the person uploaded it.

I don't regularly use .civitai.info files. The ones that I've downloaded dont seem to have this issue you are referring to with the description. And also the ones I have dont have model descriptions at all? Is there something weird you have to do in order to be able to download that?

Example: Zoom Slider LORA. Downloaded the civitai info file through the Webui Civitai Helper. Notice that the model description is distinct from the overall description (which in this case is actually null, the entire description is the model description), and that the model description is within HTML comments. This is very common, but not universal, so I'm not sure what causes it but it happens.

Ok. So the issue is that you were using a fork of a fork of the extension I was using. I dont want to break support for the original extension, and I am worried about needing to support a bunch of different versions of the json from various forks. I have to think about how to handle this.

For what it's worth, I think the version I linked is the one that everyone installs nowadays as the original is no longer developed. I also do not believe my PR would break the original JSON as the change will only (1) display more data when it is available, not remove any existing displayed data, and (2) strip out comment markers, which should not be appearing in the original downloaded data anyway.


multimc: add Microsoft account support

Motivation for this change
Microsoft/Mojang has been progressively pushing people towards using Microsoft accounts instead of Mojang accounts for logging in. MultiMC's source does not contain the necessary OAuth client ID, so I registered a "MC on NixOS" application:

The MultiMC source code contains warnings about making the client ID public. From my reading of Microsoft's documentation, I don't believe that this is an issue, but since I registered the application it'd be my problem (and not the NixOS project or MultiMC's).
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

I think that the Client ID should not be hardcoded. Ideally, MultiMC's derivation would need an argument allowing one to specify their own client ID and have it compiled into the package. If there were to be an "official" client ID for this package, I'd like to reach out to the NixOS foundation and see if they are interested in managing this sort of thing instead of having a client id owned by an individual. Besides, I also think that this whole client id obfuscation charade is ridiculous at best, we could trivially obtain the official MultiMC client ID and use it in this package and there's nothing stopping us technically.

I think that the Client ID should not be hardcoded. Ideally, MultiMC's derivation would need an argument allowing one to specify their own client ID and have it compiled into the package. If there were to be an "official" client ID for this package, I'd like to reach out to the NixOS foundation and see if they are interested in managing this sort of thing instead of having a client id owned by an individual.

This is the best approach. Please do this.

Besides, I also think that this whole client id obfuscation charade is ridiculous at best, we could trivially obtain the official MultiMC client ID and use it in this package and there's nothing stopping us technically. The OAuth client ID is certainly not "confidential" as the author claims it is in their repo (as opposed to an OAuth Client Secret for "confidential" OAuth clients for example), this is simply an intimidatory tactic

According to Microsoft's identity platform terms of use, the client ID absolutely is confidential and will be blocked if misused:

... Microsoft will also assign your Application an “Application ID”. Your Application ID is confidential, and You are required to keep your Application ID secure. Microsoft may reassign Application IDs in Microsoft's sole discretion.

I understand that this is very difficult to accomplish in desktop software, but we have no choice other than to make a best effort attempt to keep the client ID confidential, so I have to ask you to please not make the client ID from official builds of MultiMC publicly available. If someone is going to use it outside the official builds, it ought to at least be non-trivial.
As for Nix's own client ID, if you go the route of having the Nix foundation manage their own, you're free to interpret Microsoft's ToS differently and keep said ID confidential or not based on your own interpretation of it, but I'd ask that you respect our interpretation of it, and not leak our own ID.
On a somewhat unrelated note, I'd also like to clarify that MSA is not OAuth. It is a bastardized version of OAuth, so some things that apply to OAuth are not the same in this case. I really wish it were OAuth, or that we could just keep using the old authentication system, but we are subject to the whims of Microsoft, and they have decided to implement this stupid new system, so we must do as they say.

@starcraft66 Done.

@leo60228 I'm unable to get your changes to work.
I ran nix-build --argstr msaClientID <some client id> -A multimc https://github.com/leo60228/nixpkgs/archive/refs/heads/mmc-microsoft.tar.gz, then ./result/bin/multimc and the button to add a Mojang account is greyed out. Could you double-check? I'm fairly certain my command should build the derivation properly. I also made sure to kill any previously running multimc.

Hmm... I won't be able to test the final binary for a few hours, but I tested the build in nix-shell and the code after patchPhase was pretty much the same as the original PR, which I did test.

The issue ended up being pretty simple... it's an argument to multimc, not Nixpkgs itself. Running nix-build -E '(import (builtins.fetchTarball https://github.com/leo60228/nixpkgs/archive/refs/heads/mmc-microsoft.tar.gz) {}).multimc.override { msaClientID = "<some client id>"; }' works.

The issue ended up being pretty simple... it's an argument to multimc, not Nixpkgs itself.

D'oh! I don't frequently build packages that require argument overrides so I had a brain fart there, thanks for finding the proper command.

Merge

Drop this
2b87405 (#137147)
and the patch deletion in 88daaed (#137147)

Made a wiki page https://nixos.wiki/wiki/Multimc

@Arturin Done.

Oops, I meant @Artturin.


Color 1 and 2

Could you please add an option for which colors are rainbow? For example, Color 1, Color 2, Or both colors. or none.

Next update ✅

alr


Migration to new IntellijIDEA version

Hi, I have not find the changes about JDK 10. Is it necessary update to JDK 10?
And I see that the changes you made are not very necessary?

Excuse me, Saigut! I gave the wrong description for made changes. My objective was a fixing a compatibility with new IntellijIDEA version.

Well, I will update intellij-community and test about this after work.

Thanks Saigut!


BYOS feature

Bring Your Own Swarm
allow to deploy AMP on an existing cluster, already managed by another mean.

should be able to use the AMP CLI on a manager node and deploy the core services on the cluster, as well as the needed secrets (certificates, amplifier configuration).


Add Nucleo-64 stm32f303RE board

Added SoC and board for another nucleo board

I haven't been able to figure out how you want the drivers named

Please look to run the doc images through something like https://tinypng.com/ to reduce size.

All images are < 250KB in size. I don't think that's the problem.

This is tagged for 2.2 but we're already in the stabilisation phase and it's not a bug fix. Do you want to bring this to the TSC to request an exception to be made, or should the target milestone be changed?

This is tagged for 2.2 but we're already in the stabilisation phase and it's not a bug fix. Do you want to bring this to the TSC to request an exception to be made, or should the target milestone be changed?

@jhedberg this PR was tagged 2.2 and ready to be merged before closing merge window. It has missed a maintainer to pass-by and merge it on time. Though, on my side there is no specific need and that's ok to shift to 2.3.
I let @paulbendixen say if it's fine on his side.


Update phone #s inserted by Jitsi Meetings Chrome extension

Description
I have a very small request to update the text that is automatically inserted by the Jitsi Meetings Chrome extension to reflect the current dial-in numbers.
As we’re located in Canada, having the Canadian number available is useful, however it doesn’t appear in the extension text when creating a calendar invite.
Current behavior
Dial-in numbers inserted by the Chrome extension are not the most recent
Expected Behavior
Chrome extension will insert the most recent dial-in numbers
Possible Solution
Update the numbers
Steps to reproduce
Create a calendar invite with the Jitsi Meetings Google Chrome extension
Environment details
Windows 10 Pro 1909
Chrome Version 81.0.4044.129 (Official Build) (64-bit)
Jitsi Meetings extension Version <IP_ADDRESS>

Fixed.


[CT-271] [Feature] not_null test selects column instead of *

Is there an existing feature request for this?

[X] I have searched the existing issues

Describe the Feature
The built in test for not_null writes SQL equivalent to:
SELECT *
FROM model
WHERE column IS NULL

On databases like BigQuery this ends up being quite expensive when compared to:
SELECT column
FROM model
WHERE column IS NULL

Describe alternatives you've considered
No response
Who will this benefit?
No response
Are you interested in contributing this feature?
PR ready to go
Anything else?
No response

@willbowditch Good call!
Two quick thoughts:

It's occasionally reasonable for databases to reimplement the built-in generic tests, because of an attribute of that database. For instance, BigQuery doesn't support a fairly common group by syntax, which led us to reimplement bigquery__test_unique over there: https://github.com/dbt-labs/dbt-bigquery/pull/10
It's desirable for this test to include the full row output when using --store-failures. If the query result stored in the database contained just the null values of the null column, it can't do much to contextualize why those rows are null. Maybe we could have it both ways?

{% macro default__test_not_null(model, column_name) %}

{% set column_list = '*' if should_store_failures() else column_name %}

select {{ column_list }}
from {{ model }}
where {{ column_name }} is null

{% endmacro %}

The first approach would require a code change in the dbt-bigquery repo; the second one could happen here. I lean toward the second, even if it risks making the code in the built-in test look slightly more tricky. I'm going to mark this a good first issue—it sounds like you've got a PR at the ready.

Thanks @jtcohen6. I've just raised a PR to core with the additional store-failures check added in


Platform not loading on HA 2024.1.3

Have just upgraded HA core to 2024.1.3. I now get this in the logs and no sensors are available (everything else seems to have loaded OK):
Logger: homeassistant.loader
Source: loader.py:842
First occurred: 19:06:42 (3 occurrences)
Last logged: 19:06:42
Unexpected exception importing platform custom_components.evnex.sensor
Unexpected exception importing platform custom_components.evnex.switch
Unexpected exception importing platform custom_components.evnex.number
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 842, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 859, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/evnex/sensor.py", line 29, in
from .entity import EvnexChargePointConnectorEntity, EvnexOrgEntity, EvnexChargerEntity
File "/config/custom_components/evnex/entity.py", line 17, in
class EvnexOrgEntity(CoordinatorEntity):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 408, in init
wrap_attr(cls, property_name)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 380, in wrap_attr
raise TypeError(f"Can't override {attr_name} in subclass")
TypeError: Can't override _attr_unique_id in subclass

Have tried reloading evnex and also a restart of  HA but error remains.

Downgraded to 2024.1.2 and evnex loads OK.  Looks like some issue with 2024.1.3?

Same thing for me, none of the sensors were loading for my Evnex integration.
I tried to remove it and readd it and now it won’t even load the Charger...


Authentication error

I am getting authentication error when attempting to use hubot-confluece to search confluence. Username and password env variables checked and are correct. The Hubot logs reveal:
`
Apache Tomcat/7.0.61 - Error report HTTP Status 401 - Basic Authentication Failure - Reason : AUTHENTICATED_FAILEDtype Status reportmessage Basic Authentication Failure - Reason : AUTHENTICATED_FAILEDdescription This request requires HTTP authentication.Apache Tomcat/7.0.61`

Hi @RichardFoxworthy,
Sorry about completely missing this. If this is still an issue could you provide the API version of confluence your instance is running?


Fix NotoSansOriya-MM.glyphs GSUB,GDEF

The work I did was to fix GSUB and GDEF to use glyphs that already existed in the font but weren't used.
No modifications have been made to the glyph design or anchors.
I also added a test that uses fontdiff.
The result of the test is as follows.
I sought to minimize the impact on strings that already exist.

The issues I have modified and the details of the modifications are as follows.
Fixes googlefonts/noto-fonts#2380
Cause:
■ pres

When ra-oriya.below is involved, the first consonant is not replaced by * .base

■ blws

Substitutions related to the defined ra-oriya.below do not trigger.

Measures:
■ pres

Added processing to replace the consonant of the first character with * .base when ra-oriya.below is involved (addition of backtrack)
Define ignore sub to use RA + Vowl glyphs of GID408-411 when ra-oriya.below and u, uu, r, rr, l, ll are combined

■ blws

Split the blws lookup to trigger the intended replacement

Fixes googlefonts/noto-fonts#2381
Cause
-Not included in the GDEF Markclass
Measures
-Fixed glyph properties in Glyphs App. Script to oriya, category to Mark, subcategory to Nospacing.
Fixes googlefonts/noto-fonts#2382
Cause
■ psts, abvs

The position of reph-oriya in the substitution condition is different from the position reordering Indic after rphf feature.

Measures

Fixed reph-oriya position

Fixes googlefonts/noto-fonts#2383
Measures

Fixed abvs and blws conditions

This is brilliant, thank you! @marekjez86, before we merge this I would like to add a few commits (bump version/copyright, add fontbakery shaping tests, check GF specs)


Alternative path for Grounding Sam demo

@pablovela5620 I started playing around with the demo and ended up diverging enough that it maybe makes more sense in it's own PR / branch. My original idea of using multiple prompts went a bit against the grain of how Grounding Dino works (where it separates out the phrases per detection) so I unified it to just use one. After doing that it was clear it made more sense to do much simpler logging / data hierarchy structure as well.
What do you think?

This feels a lot cleaner, especially for the data hierarchy, I will say that for me personally the prompting is a bit more confusing (I preferred sending in the individual prompts "dog" "woman" etc.. but I think this is personal preference), but I think it's worth the change. I like this implementation better


Symmetric key rotation

Problem Definition
The product has the facility to encrypt internal data with a symmetric key. Yet, upon a key rotation requirement, there is no straight forward process to follow for key rotation.
Describe the improvement
Provide the capability to rotate the symmetric keys. As a data migration is required this will have the same complexity of product version migration.
The migration process may involve,

A blue-green migration with zero downtime
Limited management operations allowing only end-user flows

https://github.com/wso2/identity-tools/pull/13
https://github.com/wso2/identity-tools/pull/14

https://github.com/wso2/identity-tools/pull/14 needs to be reviewed and merged.

addressed with https://github.com/wso2/identity-tools/pull/22


Setup NuGet packaging

If possible, we should work on NuGet publishing in the CI since this project is in a usable state for Encore. This would allow the client to start working on integrating everything.

I forgot to close this apparently, we have packaging for this repo now xD


[BEAM-657] Support Read.Bounded primitive

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @dhalperi / @kennknowles.
Also @iemejia PTAL.

R: @tgroh is a better standin for me in the short-term.

I'll take a look and have a second round of commits tomorrow. Thanks!

R: @jbonofre
I noticed that source reader is not close (explicit call to close() method) if an exception occurs in the reader.

@tgroh I addressed your comments, PTAL.
As for RunnableOnService, the SparkRunner was setup with it for a while and the only exclusion is org.apache.beam.sdk.io.BoundedReadFromUnboundedSourceTest.
Somehow, it stopped running a while ago, more details here: BEAM-259

Also<EMAIL_ADDRESS>(still not sure which annotation you respond to 😉 ) PTAL at the changes I made in examples - the SparkRunner should be treated as equal now 😄 .

LGTM
@dhalperi @kennknowles @jbonofre for committers

We've chatted, and my desire that "you should be able to run the local tests" is satisfied. We uncovered some issues, which is expected since the tests haven't been running. We can resolve them asynchronously, via other PRs and/or longer term tickets.
LGTM


Dark (High Contrast) theme minor bug

Type: Bug
I have been using the dark high contrast theme for years now, and I really like it (thanks!). I recently installed github copilot, which I am using to improve my understanding of git and how to code efficiently.
Recently (past few days) there must have been a change, because now when github copilot writes some code, the formatting is white letters with white highlighting, which makes it unreadable. If I highlight the line with my cursor, the highlighting changes to green and then I can read it fine. This does not happen with any other dar theme (tried them all).
VS Code version: Code 1.90.0 (Universal) (89de5a8d4d6205e5b11647eb6a74844ca23d2573, 2024-06-04T19:34:44.157Z)
OS version: Darwin arm64 23.4.0
Modes:
Extensions (14)

Extension
Author (truncated)
Version

copilot
Git
1.200.0

copilot-chat
Git
0.16.0

language-julia
jul
1.79.2

debugpy
ms-
2024.6.0

isort
ms-
2023.10.1

python
ms-
2024.8.0

vscode-pylance
ms-
2024.6.1

jupyter
ms-
2024.5.0

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.18

vscode-jupyter-cell-tags
ms-
0.1.9

vscode-jupyter-slideshow
ms-
0.1.6

r
REd
2.8.4

pdf
tom
1.2.2

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
vscrpc:30673769
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
jchc7451:31067544
chatpanelt:31048053
dsvsc021:30996838
01bff139:31013167
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
pythonprt:31056678
dwnewjupyter:31046869
26j00206:31048877

Here a couple of screenshots showing the problem:

/duplicate of https://github.com/microsoft/vscode/issues/214412

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Problem with SetTdlibParameters

I have a problem when I use SetTdlibParameters event to TDLib, the log show the following:

V/DartMessenger( 7563): Deferring to registered handler to process message.
I/DLTD    ( 7563): [ 3][t16][1562713141.231503248][Td.cpp:4380][#4][!Td][&td_requests]	Sending update: updateOption {
I/DLTD    ( 7563):   name = "version"
I/DLTD    ( 7563):   value = optionValueString {
I/DLTD    ( 7563):     value = "1.4.0 @tryexceptpass neo"
I/DLTD    ( 7563):   }
I/DLTD    ( 7563): }
I/DLTD    ( 7563): [ 3][t16][1562713141.232669115][Td.cpp:4380][#4][!Td][&td_requests]	Sending update: updateAuthorizationState {
I/DLTD    ( 7563):   authorization_state = authorizationStateWaitTdlibParameters {
I/DLTD    ( 7563):   }
I/DLTD    ( 7563): }
I/flutter ( 7563):<PHONE_NUMBER>
V/DartMessenger( 7563): Received message from Dart over channel 'channel/to/tdlib'
V/DartMessenger( 7563): Deferring to registered handler to process message.
E/DLTD    ( 7563): [ 1][t 0][1562713141.235162973][ClientJson.cpp:67]	Failed to parse [request:{@type: setTdlibParameters, parameters: {@type: tdlibParameters, use_test_dc: null, database_directory: null, files_directory: null, use_file_database: null, use_chat_info_database: null, use_message_database: null, use_secret_chats: null, api_id: 111111, api_hash: 2b0650575da164175acd11d17a05e5d8, system_language_code: null, device_model: null, system_version: null, application_version: null, enable_storage_optimizer: null, ignore_file_names: null}, @extra: null}] [Error : 0 : Opening '"' expected]

My example code is:
import 'package:flutter/material.dart';
import 'package:tdlib/client.dart';
import 'package:tdlib/tdapi.dart' as tdapi;
import 'dart:convert';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Telegram Cloud'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {

  int clientId = 0;
  Client client = Client();

  void getValueMethod(var valor){
    print(valor);
  }

  void _clientCreator() async {
    /*
     Here we renew!
   */
  tdapi.TdlibParameters params = new tdapi.TdlibParameters();
      params.apiId = 111111;
    params.apiHash =  "2b0650575da2b0650575da2b0650575da";
    int newClientId = await client.createClient();
    print(newClientId);
    client.clientSend(newClientId, new tdapi.SetTdlibParameters(parameters: params));
    setState(() {
      clientId = newClientId;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              'TDLib Client ID\n$clientId',
            ),
            Text(
              '',
              style: Theme.of(context).textTheme.display1,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _clientCreator,
        tooltip: 'creator',
        child: Icon(Icons.cached),
      ),
    );
  }
}

Only work if execute clientIdgenerator, but with authorization events doesn´t work.
Thanks for your work, its a good project!

@aarondiazr how did you get the tdlib log in terminal? I cant get the tdlib logs in terminal.

@aarondiazr how did you get the tdlib log in terminal? I cant get the tdlib logs in terminal.

I use VSCode, when you launch a flutter project from debug you will access to see logs in general, including tdlib (this library show outputs for default)

@aarondiazr thanks man. You developed any sample app with this library?


[5.0] Recreate compiled things in "app:name" command

Another issue with php artisan app:name command:
Step 1: Fresh L5 is installed in Homested
 composer create-project laravel/laravel l5 dev-develop --prefer-dist && sudo chmod -R 777 l5 && cd l5
Step2 (optional):  php artisan app:name Acme. Everything is fine at this moment.
Step3 (): php artisan app:name APP (the name is strange but why not).
After the last command was executed, we get the error http://gyazo.com/6ba944e9c15e5da092803582f9c41c04
We can't even clear everything with php artisan clear-compied because it causes the same error.
I'm not completely sure whether it is the best solution or not, but it works and seems right to me.
if app.debug is false the optimize command produces compiled files with new namespaces.

This probably shouldn't run by default. Maybe add a flag to run this?

@GrahamCampbell In fact this runs every composer install/update https://github.com/laravel/laravel/blob/master/composer.json
so I don't see any problem here.
If we add a flag for this, ppl still will be able to execute the command without it and break their app.
Moreover, why will anyone want to keep old compliled.php with old namespaces inside?
It doesn't make sense

@GrahamCampbell In fact this runs every composer install/update https://github.com/laravel/laravel/blob/master/composer.json

Users are free to delete that, but they can't modify the framework code.


SharePoint Framework extensions are not working

I deployed a SharePoint Framework Extension Solution to a developer tenant which release preference is "Targeted release for everyone". The extension is not visible or not working. When coming to another tenant which release preference is " Standard release"  I deployed the same solution extension is working fine.
Please help me solve the issue.
Thanks in advance

@Narendra1224, this issue is not really actionable as we don't know if that is generic to all extensions (which doesn't seem the case). Can you please check if the issue is still occurring and, if that's the case, can you provide us sample of what is not working?

@lucabandMSFT  Thanks for your response.
I deployed a SharePoint Framework extension in Tenant where the preference is Target for the First release. I couldn't see the header and footer on my site whereas I deployed the same extension on a tenant where preference is of Standard Users then I could see the header and footer working correctly. The issue is still occurring.

Is this for a deployed extension or when trying to debug one, running it via gulp serve?


ipyleaflet no long works in Colab

@blois It seems ipyleaflet no long works in Colab. The map does not show up. Has Colab recently changed something that breaks the widget manager?  Relevant issue: https://github.com/giswqs/geemap/issues/1132
@martinRenou @davidbrochart @jasongrout
from google.colab import output
output.enable_custom_widget_manager()

import ipyleaflet
m = ipyleaflet.Map()
m

@blois - ipyleaflet 0.17.0 introduces a new way to get the webpack public path, so that the ipyleaflet dist/index.js will load extra assets from wherever it is originally loaded from rather than always being hardcoded to go back to unpkg. It relies on the requirejs 'module' magic dependency: https://github.com/requirejs/requirejs/wiki/Differences-between-the-simplified-CommonJS-wrapper-and-standard-AMD-define#module
The error I'm seeing in Colab is that the loadModule function does not know how to get the 'module' dependency ("Error has occurred while trying to update output. Error: Unknown dependency module"). It looks like your loadModule function does not actually use requirejs to load modules? Can you add support for the magic 'module' dependency that exports a structure with info about where the module was loaded from? I imagine you can just hardcode a branch in the code that looks for the 'module' dependency, and instead of trying to load something, just responds with the info as documented in the above requirejs wiki link.
The change in ipyleaflet is https://github.com/jupyter-widgets/ipyleaflet/pull/988

I'm hoping to spread that change to other custom widgets and ipywidgets 8, so it would be good to make sure it works here, or figure out another solution if this is going to cause a lot of problems.


Docs Banner invisible in "light" mode due to contrast

Description of the modifications
When in "light" mode in the documentation, the banner menu buttons are black text on black background and thus invisible.

Useful links and references
No response

This has been fixed with release 0.9.0:
https://dynamicreporting.docs.pyansys.com/version/stable/index.html


Implement Previous button on the Messages page

Is your proposal related to a problem?

(Write your answer here.)
There is only the button Next on the Messages page. If you navigate to the next page there are no options to go back.
Describe the solution you'd like

Please add the button 'Previous' that lead to the previous page of Messages.
(Describe your proposed solution here.)
Describe alternatives you've considered

(Write your answer here.)
Additional context

(Write your answer here.)

Duplicate of #721


Android: Camera movement is not fluent.

Description:
The camera moves like it's "laggy". It could be due to 2 reasons:

Performance on my smartphone is bad, or something here is bad optimized (low framerate)
The camera movement implementation is wrong due to "monotonic time"

Has Unity's own gyro implementation been tried on device, as a replacement for using the native libraries?
https://docs.unity3d.com/ScriptReference/Gyroscope.html

Turns out it's just pure framerate issue. targetFramerate should set to 60 on Android too.
Information in my head was old.


fix: hide token from logs

fixes #4583.

We can haggle about the second commit, I think using skip_all is better style than enumerating most of the args.


Need to review use of loaded* message sends in Jadeite

It's bad to send loaded* messages to Rowan classes but Jadeite has been naughty.
Need to find those with Dale and make Rowan api's for equivalent functionality.

Eric needs to look at this to decide if Jadeite will have coal in its stocking.

Here is the list of selectors that is sent in RowanClientServices
1: #'loadedClasses'
2: #'loadedClassExtensions'
3: #'loadedClassExtensionsForClass:'
4: #'loadedClassForClass:ifAbsent:'
5: #'loadedClassNames'
6: #'loadedCommitId'
7: #'loadedPackage'
8: #'loadedPackageExists:'
9: #'loadedPackageNamed:'
10: #'loadedPackageNamed:ifAbsent:'
11: #'loadedProject'
12: #'loadedProjectNamed:'
13: #'loadedProjectNamed:ifAbsent:'
14: #'loadedProjects'
15: #'loadedSubcomponentsOf:ifNone:'

Tucking the code used to generate the list of loaded* selectors into the issue for future reuse:
| selectors organizer references loadedReferences loadedSelectors |
organizer := ClassOrganizer new.
selectors := ((RowanAnsweringService new organizer: organizer)  lowercaseSelectorsMatching: #'loaded*') answer.
references := Array new.
selectors do:[:selector |
	references addAll: (organizer referencesTo: selector) first.
].
loadedReferences := Array new.
references do:[:gsnmethod |
	gsnmethod rowanProjectName = 'RowanClientServices' ifTrue:[
		loadedReferences add: gsnmethod]].
loadedSelectors := Set new.
loadedReferences do:[:gsnmethod |
	 loadedSelectors addAll: (gsnmethod _selectorPool select:[:selector |  selector match:  'loaded'])].
loadedSelectors asSortedCollection


Upgrade webpack-bundle-analyzer to 3.3.2

https://www.npmjs.com/advisories/826

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@simPod Thx for your PR


Enrich testing of endpoints through web3.js library

We should test more of the JSON-RPC API endpoints through the web3.js library.
This will help in identifying issues related to input arguments and return values.

@bthaile  maybe we can hit some of these is a script and use as ref on client docs side


Fix NPE error when creating table with bool column

For #1857

@wubiaoi
For old version storage, we don't support boolean type.
What will happen if you patch is applied when creating boolean type.

@imay thanks for the comments.

For old version storage, we don't support boolean type.
What will happen if you patch is applied when creating boolean type.

Now, creating boolean type will thrown NPE instead of a syntax error.
ERROR 1064 (HY000): Unexpected exception: null
After applying this patch, the bool type will be supported similar to  mysql.
eg.
create table booltest
(
id boolean null,
value double sum null
)
engine=olap aggregate key(id) distributed by hash(id) buckets 6 properties("storage_type"="COLUMN","replication_num"="1");
insert into booltest values(false,1.3);
insert into booltest values(false,2.3);
insert into booltest values(true,0.3);
select * from booltest;

id
value

1
0.3

0
3.6


Add resumption support

client passes ack/pos to /connect. This can be used if the connection drops, to restart if from the appropriate position. The server should track and buffer, and obey this.

Fixed by #7


Error while running reviewdog with rdjson and github-check reporter

Hi!
Try to use it with PRO version of betterscan.io (Scanner for many languages and Cloud - IaC)
Tried this:
cat betterscan-report.json| jq -f to-rdjson.jq | $HOME/bin/reviewdog -f=rdjson -reporter=github-check

But results in this:
reviewdog: post failed for rdjson: status=400: failed to create gh transport: GET https://api.github.com/users/topcodersonline/installation: 404 Not Found []

Any idea what I am doing wrong?
P.S I am the creator behind betterscan.io

Duplicate


1473 malformatted error message@devel

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[ ] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[ ] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[ ] Updated relevant unit tests or have written new unit tests - See Unit Test Guide
[ ] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[ ] Update to all relevant roxygen headers and examples
[ ] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[ ] Address any updates needed for vignettes and/or templates
[ ] Update NEWS.md if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[ ] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[ ] Address or fix all lintr warnings and errors - lintr::lint_package()
[ ] Run R CMD check locally and address all errors and warnings - devtools::check()
[ ] Link the issue in the Development Section on the right hand side.
[ ] Address all merge conflicts and resolve appropriately
[ ] Pat yourself on the back for a job well done! Much love to your accomplishment!

Thanks a lot @nkr821!
Please make sure to select devel as the "base" branch next time.

Also please follow the steps outlined in the checklist and tick them off. In particulat, updating the NEWS file and linking the issue on the right.

Congrats on getting your first PR merged @nkr821 👏 🥳


Document Chiado testnet

Document the Chiado testnet (e.g. as a value for the --network option). See https://github.com/ConsenSys/teku/pull/7152 for more information.

fixed by #465


Do not throw error if the scan result is unchanged

Coverage decreased (-0.009%) to 54.797% when pulling 882683ae6feae8a23fd372483c74de25547d9472 on reasonerjt:fix-jobservice-update-vuln-bug into ec5c5514b50e3dc8990d667f00968f85c0502a03 on vmware:master.


Data load tools supports partition

Fixes #1887

Codecov Report

Merging #1900 (fff3cdb) into main (2ac5213) will decrease coverage by 3.70%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1900      +/-   ##
==========================================
- Coverage   43.81%   40.11%   -3.71%
==========================================
  Files          89       89
  Lines        9804     9804
==========================================
- Hits         4296     3933     -363
- Misses       5508     5871     +363

Impacted Files
Coverage Δ

python/graphscope/tests/unittest/test_java_app.py
0.00% <0.00%> (-100.00%)
:arrow_down:

python/graphscope/deploy/hosts/cluster.py
31.64% <0.00%> (-55.70%)
:arrow_down:

python/graphscope/analytical/app/java_app.py
24.24% <0.00%> (-44.95%)
:arrow_down:

python/graphscope/framework/utils.py
40.10% <0.00%> (-14.85%)
:arrow_down:

python/graphscope/framework/app.py
69.95% <0.00%> (-10.33%)
:arrow_down:

python/graphscope/framework/graph_schema.py
52.45% <0.00%> (-7.11%)
:arrow_down:

python/graphscope/tests/conftest.py
48.21% <0.00%> (-4.65%)
:arrow_down:

python/graphscope/client/rpc.py
86.11% <0.00%> (-3.71%)
:arrow_down:

python/graphscope/client/session.py
63.75% <0.00%> (-3.22%)
:arrow_down:

python/graphscope/analytical/udf/utils.py
36.17% <0.00%> (-3.20%)
:arrow_down:

... and 3 more

Continue to review full report at Codecov.

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


chore: update event attribute description to remove html tag

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Summary
Some preset event attribute description contains html  tag, which violates the XSS rule and prevents new segment from being created. Update event attribute description to remove html  tag.
Note that the UI already has input check to prevent user from adding description with html tags.
Implementation highlights
(describe how the merge request does for feature changes, share the RFC link if it has)
Test checklist

[ ] add new test cases
[ ] all code changes are covered by unit tests
[ ] end-to-end tests

[ ] deploy web console with CloudFront + S3 + API gateway
[ ] deploy web console within VPC
[ ] deploy ingestion server

[ ] with MSK sink
[ ] with KDS sink
[ ] with S3 sink

[ ] deploy data processing
[ ] deploy data modeling

[ ] new Redshift Serverless
[ ] provisioned Redshift
[ ] Athena

[ ] deploy with reporting
[ ] streaming ingestion

[ ] with Redshift Serverless
[ ] with provisioned Redshift

Is it a breaking change

[ ] add parameters without default value in stack
[ ] introduce new service permission in stack
[ ] introduce new top level stack module

Miscellaneous

[ ] introduce new symbol link source file(s) to be shared among infra code, web console frontend, and web console backend

SonarQube Quality Gate Result

Result: :white_check_mark: OK
Triggered by @jingnanl on pull_request

Metric
Status
Value
Error Threshold

Reliability rating
:white_check_mark: OK
1
> 1

Security rating
:white_check_mark: OK
1
> 1

Sqale rating
:white_check_mark: OK
1
> 1

Coverage
:white_check_mark: OK
83.70
< 80

Duplicated lines density
:white_check_mark: OK
8.50
> 30

Blocker violations
:white_check_mark: OK
0
> 0

Bugs
:white_check_mark: OK
0
> 0

Code smells
:white_check_mark: OK
9
> 40

Critical violations
:white_check_mark: OK
0
> 0

Major violations
:white_check_mark: OK
0
> 0

Vulnerabilities
:white_check_mark: OK
0
> 0

View on SonarQube
updated: 7/29/2024, 07:20:05 (UTC+0)

SonarQube Code Analytics
Quality Gate passed

Additional information
The following metrics might not affect the Quality Gate status but improving them will improve your project code quality.
Issues
 0 Bugs
 0 Vulnerabilities
 0 Code Smells
Coverage and Duplications
No data Coverage
No data Duplication

SonarQube Quality Gate Result

Result: :white_check_mark: OK
Triggered by @jingnanl on pull_request

Metric
Status
Value
Error Threshold

Reliability rating
:white_check_mark: OK
1
> 1

Security rating
:white_check_mark: OK
1
> 1

Sqale rating
:white_check_mark: OK
1
> 1

Coverage
:white_check_mark: OK
83.70
< 80

Duplicated lines density
:white_check_mark: OK
8.50
> 30

Blocker violations
:white_check_mark: OK
0
> 0

Bugs
:white_check_mark: OK
0
> 0

Code smells
:white_check_mark: OK
9
> 40

Critical violations
:white_check_mark: OK
0
> 0

Major violations
:white_check_mark: OK
0
> 0

Vulnerabilities
:white_check_mark: OK
0
> 0

View on SonarQube
updated: 7/29/2024, 07:25:31 (UTC+0)

SonarQube Quality Gate Result

Result: :white_check_mark: OK
Triggered by @jingnanl on pull_request

Metric
Status
Value
Error Threshold

Reliability rating
:white_check_mark: OK
1
> 1

Security rating
:white_check_mark: OK
1
> 1

Sqale rating
:white_check_mark: OK
1
> 1

Coverage
:white_check_mark: OK
83.60
< 80

Duplicated lines density
:white_check_mark: OK
8.50
> 30

Blocker violations
:white_check_mark: OK
0
> 0

Bugs
:white_check_mark: OK
0
> 0

Code smells
:white_check_mark: OK
10
> 40

Critical violations
:white_check_mark: OK
0
> 0

Major violations
:white_check_mark: OK
0
> 0

Vulnerabilities
:white_check_mark: OK
0
> 0

View on SonarQube
updated: 7/29/2024, 08:00:32 (UTC+0)


Stop tracking of VS vshost files

Visual Studio generates vshost files automatically, these are not to be tracked.

I'm curious why this isn't being caught as part of the previous rules in this section - could you tell me a bit about the problem you're seeing?

C# console projects for instance generate these within the solution folder. And they're not ignored in the .gitignore file. As far as I understand these are helper files to launch debugging from VS. However they are automatically generated, like the user and database files.
Shouldn't these be ignored?

cc @davkean for :eyes: on whether this should be captured in the gitignore template

What do you mean by VS generates them in the solution folder? These should be getting generated in bin directory, and already covered by gitignore.

Hi there, this is a bit old but maybe in my project those were redirected somewhere else.. can't tell for sure. In any case those should always be ignored even if user selects a different generation folder.

Closing this one out as unclear. Please reopen if a better repro of this is happening - VSHost is going away in the future anyway...


JDTLS: Code actions seem broken

I can get a contextual pop up of all the available code actions at a given buffer position.  That list of options makes perfect sense.
If I choose any of them, I get the following error:  Error: request workspace/executeCommand failed (No delegateCommandHandler for java.apply.workspaceEdit, error = MethodNotFound)
LSP Configuration: https://git.sr.ht/~trevdev/vim/tree/vim9lsp/item/plugins.vim#L50

Did you follow these instructions contained in section lsp-custom-commands of the documentation?
https://github.com/yegappan/lsp/blob/38970403dc4d602056ea4028664206ffce74e82a/doc/lsp.txt#L1675-L1698

Ah, 1700 lines deep into the help docs.  Thanks for this!  I missed it.


Example with Blazor and Google authentication

Could you provide a toy/example app with Blazor aspnetcore app and google authentication?

Good idea. When I have time I hope to get around to improve examples and a blazor one is certainly on my todo.

I'm actually working on using this in Blazor WASM right now, maybe I can make a PR once I have it actually functional.

Appreciated @Regenhardt

The Blazor WASM part of this issue is included in #379.
Not sure about google authentication, I feel like that is out of scope for this library as the point is that google provides the authentication and, if I understand those concepts correctly, FIDO is for authentication ("Who are you?", check via password/biometrics/SMS/E-Mail), not authorization ("What are you allowed to do?", checked via JWT or other tokens).
The google part is however covered in other places already, like https://code-maze.com/google-authentication-in-blazor-webassembly-hosted-applications/, which you could try to reimplement.


[v0.73.1][Android] Google.Play rejects app bundles because it "targets the following unrecognized languages: cb, fb"

Description
I'm getting the following error when uploading an app bundle, built with RN v0.73, to Google.Play (it is an existing project, that had no such issue before):

Googling for the error message, I came across this StackOverflow thread, which is old, and is not related to RN, but it mentions

I think it's because a folder named 'values-fb', that's a folder which have some files, usually used to translations

So, I've checked whether my project has some folders with names ending with -cb and -fb suffixes, and I found them in RN package, and then in intermediate built artifacts:

I guess, it requires a fix on RN side, renaming those folders (although the very error message suggests a workaround via resConfigs Gradle prop)?
Steps to reproduce
N/A
React Native Version
0.73.1
Affected Platforms
Other (please specify)
Output of npx react-native info
N/A

Stacktrace or Logs
N/A

Reproducer
N/A
Screenshots and Videos
No response

Seems to be caused by https://github.com/facebook/react-native/commit/8c63e3fc4ce00be1348e4e643ade0b5e838e5d22 and https://github.com/facebook/react-native/commit/3052c419ac6eb3b430f48302c90f1bf26f67a5a6

Workaround for now that fixes the problem:

Go to android/app/build.gradle
In the defaultConfig section, do the following:

    defaultConfig {
         // previous code here...

        // Workaround for https://github.com/facebook/react-native/issues/42024
        resConfigs "en", "fr", "es" // change this line by the languages you support within your app.
    }

Next release of RN 0.73 will contain the fix for this issue.

How can I resolve the issue using the Expo bare workflow without modifying any files in the /android directory? I'm concerned that changes made to the /android folder won't be reflected in the build since Expo constructs this folder during the build process. I'm looking for solutions that won't involve alterations to the Android-specific files.

How can I resolve the issue using the Expo bare workflow without modifying any files in the /android directory? I'm concerned that changes made to the /android folder won't be reflected in the build since Expo constructs this folder during the build process. I'm looking for solutions that won't involve alterations to the Android-specific files.

See https://github.com/expo/expo/issues/26218

Closing as fixed in 0.73.2


Allow for releaxed https usage

From<EMAIL_ADDRESS>on January 16, 2014 10:53:02
See http://stackoverflow.com/a/7684887/398441
Original issue: http://code.google.com/p/rest-assured/issues/detail?id=298

From<EMAIL_ADDRESS>on January 16, 2014 01:54:05
http://stackoverflow.com/questions/2703161/how-to-ignore-ssl-certificate-errors-in-apache-httpclient-4-0/2703233#2703233

From<EMAIL_ADDRESS>on January 18, 2014 08:39:15
Implemented using given().relaxedHTTPValidation(). ..
Status: Fixed


fs.info() can trigger a bad performance if object  is missing and cause unexpected list_object request.

Reading through the fs.info codebase. I think the following behavior is undesired if a particular file path is missing.
Examples:
fs.info("s3://mybucket/missingDir/missingFile").
This will result the following request
head_object (mybucket/missingDir/missingFile) => 404, line here
list_object(mybucket/missingDir, "/" ) => result an empty [], line here
list_object(mybucket/, "/") => result all the data line here
list_object(mybucke/missingDir/missingFile, "/") => result empty [] line here
list_object(mybucket/missingDir, "/") => result an empty [] line here
Given the following example:
fs.info("s3://mybucket/mydir/missingFile")
head_object (mybucket/mydir/missingFile) => 404
list_object(mybucket/mydir, "/" ) => result some files
list_object(mybucket/mydir/missingFile, "/") => result empty []
list_object(mybucket/mydir, "/") => result some files
Now image if mybucket or mybucket/mydir has a lot of files. Then this list_object will trigger a pagination call and result a lot of list operation.
I think a better implementation should be like:
head_object(mybucket/my_key) # if return 404 then continue
list_object(mybucket/my_key, "/", max_key=1) # to determine whether it is a directory or now.
In my opinion, we don't need to call its parent directory to fetch all its data. I understand there is caching within the fs that it will utilize it. But I think that caching should be used when user explicitly call ls() rather than calling info().

Good point, info should give FileNotFound immediately, if the HEAD call fails. The only counterargument I can think for this, is that it's possible that a user only has list and not get access to the bucket - can we detect that case?

list_object(mybucket/, "/")

Couldn't figure out why this call is made.

S3 will give your accessDenied exception, you can pass that exception to caller. Or you can translate into one of fileSystem's exception.
for list_object(mybucket/, "/"). it is called in here: https://github.com/dask/s3fs/blob/master/s3fs/core.py#L630
L628 will result a list_object(mybucket/missingDir, "/") and it will return empty []
And it will fail L629 if check to list its parent directory, in this case, it will be list_bucket(). See self._ls(). https://github.com/dask/s3fs/blob/master/s3fs/core.py#L496

S3 will give your accessDenied exception

We want to specifically understand that the HEAD call can fail because the object is missing, but that in some cases, all bucket listing is forbidden.
OK, so AbstractFileSystem calls ls on the parent, and for s3fs, ls calls parent too (if first listing was empty). This is obviously not ideal. I would be happy to see a fix.

here:
L545                if isinstance(ee, FileNotFoundError):
L546                    return super(S3FileSystem, self).info(path)

should probably call self._ls directly, to see if the path is a prefix, and return a dictionary info if yes.

self._ls will also result a huge list request.
For example:
mybucket/foo/ dir has 1million objects or subdirectory. self._ls() will result 1000 list requests with pagination (S3 max-keys is 1000, so 1000*1000 = 1millions). And you probably just need to know whether mybucket/foo/ has any files to determine its type as directory or not.
IMO, do list_object("mybycket/foo/", "/", max-keys=1) to determine its state.

Yes, that could work. That was the idea behind listing the parent - the path would show as a prefix without having to list it (but this falls down, as you found, when the path doesn't exist).

@martindurant is this reasonable to be fixed by the next release?

@philipzhaoTS , would you like to contribute? I don't know when I would get to it myself.

Please let me know when you plan to do a new release. Thanks


"tsp format" has different indentation on Linux vs Windows

Overview
On Linux, tsp format is allowing 4 spaces of indentation in a *.tsp file.  However, on Windows, tsp format changes it to 2 spaces.  This inconsistency is causing our CI check to fail.
I believe 2 spaces is more correct, based on other files in the repo.  If so, the question is "why isn't Linux enforcing 2 spaces"?
Repro Steps
$ gh repo clone azure/azure-rest-api-specs
$ cd azure-rest-api-specs

$ git checkout 622891e1923a4fd9501263d1c14da7f040c1b1f2

$ npm ci
$ npm ls prettier
azure-rest-api-specs@ /home/mharder/specs
├─┬<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>deduped

$ cd specification/cognitiveservices

$ npx tsp format **/*.tsp

$ git diff

Linux
No diff.
Windows
Indentation changed from 4 to 2 spaces.
$ git diff

diff --git a/specification/cognitiveservices/OpenAI.Inference/routes/audio_transcription.tsp b/specification/cognitiveservices/OpenAI.Inference/routes/audio_transcription.tsp
index 3a4565c36b..a66bfae390 100644
--- a/specification/cognitiveservices/OpenAI.Inference/routes/audio_transcription.tsp
+++ b/specification/cognitiveservices/OpenAI.Inference/routes/audio_transcription.tsp
@@ -27,10 +27,10 @@ written language corresponding to the language it was spoken in.
 @action("audio/transcriptions")
 @sharedRoute
 op getAudioTranscriptionAsPlainText is Azure.Core.Foundations.ResourceOperation<
-    Deployment,
-    AudioTranscriptionOptions,  // response_format must be one of: text, srt, vtt
-    string,
-    MultipartFormDataRequestHeadersTraits
+  Deployment,
+  AudioTranscriptionOptions,  // response_format must be one of: text, srt, vtt
+  string,
+  MultipartFormDataRequestHeadersTraits
 >;

Weird, 2 space is the correct value but we respect the prettier config or at least should so maybe it fails to resolve on one of the platform

also don't repro on osx

We believe the fix is for scripts to use npx tsp format "**/*.tsp" instead of npx tsp format **/*.tsp to prevent shell expansion.

Yeah I believe the issue is that batch by default doesn't actually resolve ** recursively so **/*.tsp expand to only one level deep
bash-3.2$ ls **/*.tsp
AnomalyDetector/client.tsp      AnomalyDetector/main.tsp        ContentSafety/main.tsp          ContentSafety/models.tsp        ContentSafety/routes.tsp        HealthInsights/service.tsp      OpenAI.Inference/client.tsp     OpenAI.Inference/main.tsp

Same command run in zsh which then resolve everything
timotheeguerin@Timothees-MacBook-Pro cognitiveservices % ls **/*.tsp
AnomalyDetector/client.tsp                                              HealthInsights/service.tsp
AnomalyDetector/main.tsp                                                OpenAI.Inference/client.tsp
AnomalyDetector/multivariate/models.tsp                                 OpenAI.Inference/main.tsp
AnomalyDetector/multivariate/routes.tsp                                 OpenAI.Inference/models/audio/audio_transcription.tsp
AnomalyDetector/univariate/models.tsp                                   OpenAI.Inference/models/audio/audio_translation.tsp
AnomalyDetector/univariate/routes.tsp                                   OpenAI.Inference/models/audio/common.tsp
ContentSafety/main.tsp                                                  OpenAI.Inference/models/completions/azure_chat_extensions.tsp
ContentSafety/models.tsp                                                OpenAI.Inference/models/completions/azure_cognitive_search_options.tsp
ContentSafety/routes.tsp                                                OpenAI.Inference/models/completions/chat_completions.tsp
HealthInsights/HealthInsights.Common/model.common.request.tsp           OpenAI.Inference/models/completions/common.tsp
HealthInsights/HealthInsights.Common/model.common.response.tsp          OpenAI.Inference/models/completions/completions_create.tsp
HealthInsights/HealthInsights.Common/model.common.shared.tsp            OpenAI.Inference/models/completions/functions.tsp
HealthInsights/HealthInsights.Common/primitives.tsp                     OpenAI.Inference/models/embeddings_create.tsp
HealthInsights/HealthInsights.OncoPhenotype/client.tsp                  OpenAI.Inference/models/images/common.tsp
HealthInsights/HealthInsights.OncoPhenotype/model.oncophenotype.tsp     OpenAI.Inference/models/images/images.tsp
HealthInsights/HealthInsights.OncoPhenotype/route.oncophenotype.tsp     OpenAI.Inference/routes/audio_transcription.tsp
HealthInsights/HealthInsights.OpenAPI/main.tsp                          OpenAI.Inference/routes/audio_translation.tsp
HealthInsights/HealthInsights.OpenAPI/service.tsp                       OpenAI.Inference/routes/common.tsp
HealthInsights/HealthInsights.TrialMatcher/client.tsp                   OpenAI.Inference/routes/completions.tsp
HealthInsights/HealthInsights.TrialMatcher/model.trialmatcher.tsp       OpenAI.Inference/routes/embeddings.tsp
HealthInsights/HealthInsights.TrialMatcher/route.trialmatcher.tsp       OpenAI.Inference/routes/images.tsp

So by the time it makes it to the typespec command we already lost the information.
I think the options is to watch out for this behavior as a user which is not specific to tsp, make sure to wrap the pattern in quote to delegate the resolution to typespec.
As improvement to typespec we could provide the following new logic
tsp format ./path
// equivalent to
tsp format "./path/**/*.tsp"

and we could even default to the current cwd
// Make all of those equivalent
tsp format
tsp format .
tsp format "./**/*.tsp"


Feature/add tabs to case table/christina

Tabs are added to case table
Renders ALL case data under "Initial tabs" for now.
Eventually, this application will have either initial or appellate cases rendering under the corresponding tab.

I should mention I used MUI because although Ant D is easier, there are no aria label options in ant d tabs nor could I find a way to change the color of the "selected tab".


Update validation error message for Factors table when duplicate levels exist

Describe the bug
Currently, the validation error message for Factors table when duplicate levels exist is not properly written. It's currently shown as {Factor} factor's {Level}undefined which doesn't make sense. I think it should be updated to Level should be unique (This is how we show the message in the Conditions table in a simple experiment).
To Reproduce
Steps to reproduce the behavior:

Go to Design step in a factorial experiment
Create a factor and add 2 levels with the same name
You will see the weird error message

Expected behavior
The validation message should be Level should be unique
Screenshots

Both levels and factors must be unique. Verified in dev.


System.Text.Json and Trimming

Swapping out or providing the ability to swap Newtonsoft for System.Text.Json is highly desirable due to performance reasons.
The upcoming .Net 7 release and it's AOT mode is very attractive and to make this library compatible, we'd need proper annotations and configuration available to make this trimmer friendly.
Is there any plans to support the two use cases?

Hello @ColonelBundy,

Swapping out or providing the ability to swap Newtonsoft for System.Text.Json is highly desirable due to performance reasons.

Outside of test code, ClearScript currently uses Newtonsoft.Json only for the recently added EnableStringifyEnhancements feature. Is that what you're referring to?

The upcoming .Net 7 release and it's AOT mode is very attractive and to make this library compatible, we'd need proper annotations and configuration available to make this trimmer friendly.

Please elaborate. What new capabilities will ClearScript need in order to support the scenario you're envisioning?
Thanks!

Hi @ColonelBundy,

Yes I'm referrrning to the EnableStringifyEnhancements feature.

We looked into System.Text.Json but went with Json.NET due to the latter's universal compatibility. It's likely that we'll drop support for very old .NET runtime versions at some point, and we'll take another look at System.Text.Json then.

Preliminary tests does indicate Clearscript is not properly supported for trimming.

Certainly. To be honest, AOT is an area we've yet to investigate deeply. At first glance, it's difficult to see how ClearScript could be very functional in such an environment. Not only does it rely heavily on reflection and late binding, but it also enables calls into managed code from scripts – a source that's nowhere to be found at build time. We'll take a closer look.
Thank you!

I too would like if Clearscript supported trimming. :)

Maybe EnableStringifyEnhancements feature should come  with separate plugins (one for Newtonsoft, one for System.Text)


Reviewed wording in forward.

I've started reading through the docs and I have a compulsion to fix spelling/grammar mistakes I see when I have the option to PR. I almost always start reading docs from the beginning, and in this case that meant starting with your forward.
I want you to know that I know front matter like this is deeply personal and that the ideal goal when I edit this sort of thing is to not change the original writer's voice at all.

@lethargilistic It's really nice of you fixing my spelling and grammar mistakes. Actually I really needed someone taking care of this part :)