App icon + Favicon

Favicon

May only exist as Design guidance
Jean mentioned Edward had created guidance for Favicon use within an app (needs review)

App icon

Existing component (design only, exists within DP)
Designed by UITK team but never implemented in code
Provides an 'avatar-like' representation of an App/Product
Inline with the Characteristics should be changed to adopt the Categorical color palette instead of primary palette

https://www.figma.com/file/HPKpUv2Jm4euJtrgjFhOnP/FavIcons?node-id=198%3A3884&t=cuhl89xm6wy3qjpP-1

Close, seem to be completed


added transition_fn callables to HMM inference

added transition_fn callables to HMM inference

fixes https://github.com/probml/ssm-jax/issues/179

I will merge this since it just adds functionality to existing code, and so is backwards compatible.


docs: fix links to point to the main repo nrwl/precise-commits

Hey @vicb, thanks!
I am using Angular-style commit conventions for this repo to assist with automatic semantic versioning of releases. I will fix yours up on merge in this case, but just something to bear in mind for future PRs :)

No you don't. Turns out I know them pretty well ;)

Fair enough 😄 I guess the tooling specifically refers to angular.js guidelines being the inspiration. I believe "scope" is not optional there:

https://github.com/semantic-release/semantic-release#commit-message-format

Which links to:
https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines


Add publish option for Stub deployments

@gongy just curious what's this for?

@RohanArepally published apps will have functions which other workspaces can look up and derive from.


add opt-in support for viewBox

Fixes #97
Add support, without changing the default behaviour, to apply the width and height to the SVG via the viewBox attribute rather than width and height attributes. This is preferable when incorporating into responsive layouts, as it specifies the width and height merely as an aspect ratio and lets the SVG grow or shrink to any size depending on its containing element (and/or any CSS applied).
To use, you just call useViewBox on the created VennDiagram - it's a one-way setting:
var chart = venn.VennDiagram();
chart.useViewBox();
// draw with data

I added an alternate version of the "simple" example which uses this, and added screenshot tests for both with BackstopJS (sorry about all the boilerplate files!) which show the difference - you can run npm run backstop-check to see them.

@benfred ^

@davidjgoss is there a way to set min or max height/width with this? Thanks btw!

Is this going to be merged anytime soon?


Is it compatible with Pico 4?

There are reports of OpenXR Toolkit crashing with Pico 4 and Virtual Desktop.
https://www.youtube.com/watch?v=rmCdBS-iktM (at 6:15 he says the OpenXR Toolkit crashes)
Is Pico 4 with Virtual Desktop and MSFS incompatible with OpenXR Toolkit or will this issue be fixed?
The Pico 4 also seems to have hand-tracking and eye-tracking (Pro only) features. Are these supported by the OpenXR Toolkit?

Afaik the issue is only Virtual Desktop and many have reported that Pico 3 link orked fine.
Pico uses SteamVR OpenXR which has been supported since day 1.

The eye tracking and hand tracking cannot be supported,  because again Pico uses SteamVR and not its own native OpenXR runtime. SteamVR doesn't support these features.

Also, I wouldn't be surprised if they eye tracking and hand tracking marketing is omitting to tell you that these features only for for Android apps running on the headset and not for PCVR.
Looking at the Pico developer website, the only reference to eye tracking and hand tracking are under their Unity SDK. They don't seem to expose any interface on PC side to access these features...

Yes as far as I know, you will need to use Pico link instead of Virtual Desktop.
Not exactly sure who needs to move here, but since OpenXR Toolkit works fine with SteamVR, I suspect this is an issue for the Virtual Desktop developers to look into.

I understand, thank you.
I will ask the Virtual Desktop developer.

I heard on the Virtual Desktop Discord server that if I set up SteamVR as OpenXR runtime it will work.
Therefore, I will close this issue for now.
I plan to buy Pico 4 and Virtual Desktop, so if there is a problem I will reopen this issue or create a new one.

Thanks for following up. I was under the impression that using SteamVR OpenXR runtime was a requirement for VD anyway... so I'm not sure what kind of misinformation this YouTuber is spreading then...

Another user confirmed that Pico 4 and VD work no issue with OpenXR Toolkit.

VD + OXR Toolkit runs just fine with iRacing on my Pico 4. FFR and NIS too.


Add option to omit object comments when retrieving object metadata for Vertica database objects

Hi, I recently upgraded from DBeaver 4 to <IP_ADDRESS>111011413, and find the UI to be very slow and even unresponsive compared to the older version.  I believe it has to do with the fact that the modern DBeaver gathers much more metadata on the database objects (which is nice).  I've traced the problem to background queries that retrieve object metadata, specifically any query that involves Vertica's comments system view.   In our databases, any query on the comments view takes a number of minutes to complete.  Such queries are executed in the background by DBeaver often, including for autocompletion or exploring objects in the Database Navigator.
We actually don't use object comments at all.  But even a query that attempts to retrieve a single row from the comments view takes many minutes.  It is because that system view is extremely complex, with many joins, unions, subqueries on other views, etc.  This causes strange behaviors in DBeaver, such as popup dialogs popping up at seemingly random times, long waits for auto-completion, and temporary freezes in the UI.
The problem is detailed in my post in the Vertica forum here:  Querying v_catalog.comments is very slow even with no results
I'm wondering if there is a way to disable retrieval of object comments from the Vertica database completely.  Or, maybe it would be possible to add an option to disable retrieval of object comments, and eliminate all references to the comments view in all background queries.
BTW, this is somewhat related to an old issue:  #3474
Originally posted by @verticauser810 in https://github.com/dbeaver/dbeaver/discussions/14611

Vertica tables, views, columns comments will be cached lazy. Start the DBeaver version 22.0.1
This means that reading comments in tables/views and columns will only take place when opening specific tables, and not when reading the list of tables, as it was before. So we could remove expensive JOIN on the v_catalog.comments table.
We have already done this for the Oracle database.
On our test databases, such a solution has already shown performance improvement. We will hope that for other users, performance will also increase enormously.

For testers: please, check tables, views, system tables, and flex tables. You can not comment views columns in Vertica (check it also).

verified

Hello @verticauser810
Please test Vertica table loading perfomance in our Early Access version if you are using Windows. It will be very helpfull for us.

Hi Dbeaver Team,
I tested DBeaver EA version 22.0.1 and I'm very pleased with the results.
In the new version, it took under 5 seconds to expand the Tables node in the schema explorer.  In older version 21.2.4, the exact same operation (identically configured connection, expanding Tables node under the same schema, it took 5 minutes!  This is a vast improvement.
Thank you very much!
Sincerely,
--Joe
From: Anastasiya @.>
Sent: Wednesday, March 16, 2022 5:13 AM
To: dbeaver/dbeaver @.>
Cc: Joseph Leiba @.>; Mention @.>
Subject: Re: [dbeaver/dbeaver] Add option to omit object comments when retrieving object metadata for Vertica database objects (Issue #14625)
WARNING: This email originated from outside of MedeAnalytics’ email system. Always use caution when responding to, opening attachments, or clicking links from unknown senders or when receiving unexpected emails.
Hello @verticauser810https://github.com/verticauser810
Please test Vertica table loading perfomance in our Early Accesshttps://dbeaver.io/files/ea/ version if you are using Windows. It will be very helpfull for us.
—
Reply to this email directly, view it on GitHubhttps://github.com/dbeaver/dbeaver/issues/14625#issuecomment-1069060735, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWR7MUXO7UZBL3XMEKR4ME3VAHF6NANCNFSM5IMVDJPQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

I also tested auto-completion in the SQL editor...
The DB user I'm testing with has access to a large number of schemas.  I tried performing auto-completion in the SQL editor on a table without qualifying it with the schema name, and it returned proposals within a few seconds in the new 22.0.1 version.  The exact same operation in older DBeaver took well over three minutes.
SELECT * FROM TrxLine [Ctrl-Space]

One small thing I've noticed is some strange behavior with auto-completion.  Sometimes it interpolates the selected proposal incorrectly.  For example, here are the proposals:

Result after hitting Enter:
SELECT * FROM prodarch3_stage.TrxLine ne
In this case it added the wrong alias.  I have seen other times where it interpolates the selected proposal in a way that makes the resulting SQL invalid, for example:

Result after double-clicking on first selection:
SELECT * FROM prodarch3_stage.TrxLine ne.

Thanks for the investigation and the answer @verticauser810
I will look into the strange behavior with the auto-completion issue.

I am on a mac, but I am excited to see the new version that's released.  I love the idea of pulling comments until requested.  All I care a bout is a quick list of tables / columns so that auto complete will work more effectively.  Your change looks promising.

This query is being executed for Vertica:
select object_type, "comment", child_object from v_catalog.comments where object_schema ='admin' and object_name ='tw_tmp'

We don't use comments at all, and just running this query takes 14s in our (non-busy) test env. In production it can take more than 60s, and puts quite a bit of stress on the cluster. Can you please introduce a way to disable comments altogether?


Newlines in notifications don't work

Reported by email and confirmed.

Seems to be platform-dependent, but at least now the messages won't be cut off.


Update German translation in mobile app

German translation is now 100% complete.
https://www.transifex.com/galoy/bitcoin-beach-wallet/language/de/

I don't think there is a need to create ticket @pretyflaco. you can probably push a PR directly from transifex instead?

only adding a new language that doesn't already exist need dev intervention


Fix sentence

Add missing verb

Page preview:
https://deploy-preview-26751--kubernetes-io-master-staging.netlify.app/docs/reference/access-authn-authz/authentication/#openid-connect-tokens

Thanks for contributing @JensHeinrich !
/lgtm

/kind cleanup
/approve


Ionic 2 with RxJS operators

I'm trying to use RxJS in an Ionic 2 project, but for some reason the Observable objects lack the functions at runtime. I'm suspecting a conflict with rx-lite and wanted to post the issue here to rule out that this is a general problem of Ionic (I'm not 100% sure where the problem actually is).
Steps to reproduce

Create ionic 2 project from default template: ionic start ExampleProject --v2 --ts
Import Subject at the top of app.ts: import {Subject} from 'rxjs/Subject';
Create an observable and use the delay operator: var delayed = new Subject().asObservable().delay(10);

Here is the plunk:  http://plnkr.co/edit/78DAC8vkRwGJf6M8osCy?p=preview
Error description
This compiles, but throws the following error at runtime:
Error: Uncaught (in promise): TypeError: (intermediate value).asObservable(...).delay is not a function

According to the RxJS docs I'm using delay correctly, see e.g. the RxJS migration docs. I also verified that I'm using it correctly by looking at node_modules/rxjs/operator/delay.d.ts.
The same behavior occurs with the distinctUntilChanged() operator, probably others as well.
Output of ionic info
Your system information:

Cordova CLI: 6.2.0
Gulp version:  CLI version 1.2.1
Gulp local:   Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.11
Ionic CLI Version: 2.0.0-beta.37
Ionic App Lib Version: 2.0.0-beta.20
OS:
Node Version: v6.3.1

For some reason the OS is not reported by ionic info. I'm on Windows 10 64 bit.

you forget to  add delay extension function
import 'rxjs/add/operator/delay';

Hello! Thanks for opening an issue with us! As this seems like more of a support question i will urge that you ask this question on our forum (forum.ionicframework.com). Thanks for using Ionic!


add systemd startup

Add systemd startup script (tested on SOF-ELK development platform), overall cleanup

yes, we have python3 in SOF-ELK - either will work.  is there a way to make it try 3 and fall back to 2?


Update to Font Awesome 3.7.0

Update to Font Awesome 3.7.0

done.
Do you have user account with wordpress.org? I will add your name in contributors in Bootstrap Basic 4 > readme.txt file.
I'm not sure is this working on WordPress theme like a plugin?

That'd be great - thanks :-)  My WordPress username is: christianoliff

It's already there. https://github.com/Rundiz/bootstrap-basic4/blob/master/readme.txt
Sorry I just upload the theme before your reply, I think I have to wait until next update.
However the Bootstrap Basic 4 theme did not live and still waiting to approve.


unity 2019 issue

Version 2019.1.0a11 (0f106840e011) Personal
BlockInspector.cs line 215
 EditorGUIUtility.AddCursorRect(cursorChangeRect, MouseCursor.ResizeVertical); in unity 2019 throw error chnage to
 EditorGUIUtility.AddCursorRect(cursorChangeRect, UnityEditor.MouseCursor.ResizeVertical); fix
and create a block then click , inspector not show anything

Do you know what version of Fungus you are using?
Also are you on Windows, Mac or Linux?

Some initial digging indicates that the previous trick in BlockInspectors UpdateWindowHeight does not work in 2019.1a. Also it seems use of GUILayout.BeginArea is not playing nice.

Still getting this issue. Latest Fungus from Asset store, Unity 2019.1.5f1


(GH-375) German localization

first draft of german localization

@gep13 @RichiCoder1 I'm kinda desperate: I can't get the feature to work - the localization is here, I've tried several ways of 'forcing' the app to use the German resx-file .. no chance - any ideas/help on this?


Implement also a different directory layout

Some people adopt this directory layout:
components
    └── MyComponent
        ├── MyComponent.tsx
        └── index.js

MyComponent.tsx holds the component's code and index.js is always something like:
export {default} from './MyComponent.tsx'
That directory layout allows to group files related to MyComponent inside its directory, helps identify what component we are working on in the editor (when you have 10 files called index.tsx open you get confused), and keeps a clean import syntax, such as:
import MyComponent from '../MyComponent'
Are you interested in implementing such a feature?
I could do it :-)

Implemented in PR #31; this will be added to the next minor version of Agrippa, v1.3.0.
Thanks again for suggesting this feature!


Data attributes are being converted to all lowercase

Hey Justin,
I came across some unexpected behavior using 2.0.0. When using affix() with data attributes, each key string is being downcased. I was expecting that any data attribute key that I passed in would not be altered. My use case was needing data attributes with camel-case keys (whether or not that's a good idea or not is certainly debatable).
I'm not sure this is actually worth fixing since there are some pretty easy workarounds, like directly setting the data attribute on the object via jQuery, but I wanted to submit this in case someone else comes across it.
Spec:
# uploader_spec.js.coffee

describe "Uploader", ->
  beforeEach ->
    @config =
      s3BucketEndpoint: "s3.amazon.com",
      s3AccessKey: "s3-access-key",
      s3Subdirectory: "test-dir",

    data = ""
    for key, value of @config
      data += "data-#{key}='#{value}' "

    affix(".js--uploader[#{data}]"

Console:
$(".js--audioUploader").data("s3BucketEndpoint")
undefined

$(".js--audioUploader").data("s3bucketendpoint")
"s3.amazon.com"

jQuery camelCases data attributes only by converting it from dash-erized format between each token, it does not take case into account.  In this case you want your keys to be s3-bucket-endpoint and so forth in order for jQuery to pick them up.

@searls thank you.


cmd/doc: "can't compute 'all' using the vendor directory" in module mode

GO111MODULE="on" (force modules to be always on)
then cd /usr/local/go/src/cmd/go/internal/load as a example and do go doc in that specific goroot directory to get a overview of package load
% cd /usr/local/go/src/cmd/go/internal/load
% go doc
go list -m: can't compute 'all' using the vendor directory
        (Use -mod=mod or -mod=readonly to bypass.)
package load // import "cmd/go/internal/load"
Package load loads packages.
...

Can I ask a favor please that every maintainer stets there GO111MODULE="on" I have no doubt the module system is ready for prime time, but I really think we are heavily underestimating how many go tools are not ready because most of us just keep working in GOPATH not knowing we are about to hit a iceberg once we turn off GOPATH completely.

This particular error is a side effect of the changes for #33848.
go list -m all has never given complete information in vendor mode; now that we're enabling module mode by default, it's important that we not implicitly drop the missing information.
So there are two underlying problems here:

Integration test coverage for cmd/doc is poor, especially in module mode. (The vast majority of tests for cmd/doc are written against the unexported do function, rather than the go doc command that users actually invoke, and they set an explicit variable to force that function to run only in GOPATH mode.)

go doc either needs to know about the vendor directory and its use, or needs to list packages instead of modules.

More generally: #34750


Upgrade ruby to v3.2.3

Context
Upgrade ruby to v3.2.3
This also keeps our ruby versions inline between apply and publish.
Changes proposed in this pull request

Guidance to review

Link to Trello card

 Upgrade Ruby to v3.2.3 in Apply and Publish


DCR Survey Page

http://em.geosci.xyz/content/geophysical_surveys/dcr/survey.html

[x] purpose
[x] basic setup: 4 electrode system: 2 electrodes used to compose a transmitter, 2 a receiver. Can be put in a variety of configurations (image with each: could use -http://gpg.geosci.xyz/en/latest/content/DC_resistivity/DC_measurements_and_data.html)

[x] dipole-dipole
[x] pole-dipole
[x] dipole-pole
[x] pole-pole

[x] layouts

[ ] wenner, schlumberger, gradient array ...
[ ] "rules of thumb" (eg. electrode spacing connection with depth of investigation)

[x] instrumentation

This will address point 3 of #202

I think this can be closed?

sounds good @sdevriese. I will let you close this. Could you please reference the pr where it was addressed. Thanks!

PR #233
The branch was called DCRsurveysSD


自定义prefix-cls时，badge样式异常问题

Types of changes

[ ] New feature
[x] Bug fix
[ ] Enhancement
[ ] Component style change
[ ] Typescript definition change
[ ] Documentation change
[ ] Coding style change
[ ] Refactoring
[ ] Test cases
[ ] Continuous integration
[ ] Breaking change
[ ] Others

Background and context

Solution

How is the change tested?

Changelog

Component
Changelog(CN)
Changelog(EN)
Related issues

Checklist:

[ ] Test suite passes (npm run test)
[ ] Provide changelog for relevant changes (e.g. bug fixes and new features) if applicable.
[ ] Changes are submitted to the appropriate branch (e.g. features should be submitted to feature branch and others
should be submitted to main branch)

Other information

相关issues: 1863


Update string translation for 0.4.35

Add warning in Chinese to sync on remote changes / sync on launch compatibility.

Thank you!


option to "launch" in macpass to open the entry in macpass

Hi!
Thx so much for working on this amazing project!
would be great to add an option in alfred to to "launch" in macpass to open the entry in macpass
that way you can view the full data in the entry
thx!
Z

You can use triggers and dispatches of the Alfred workflow to an applescript to achieve this, as the script itself can't access or control macpass.


Added Revolut Phishlet

Fully working !

NOTE : Revolut now uses Local Storage and Sessions Storage, so evilginx is unable to catch these informations. We get the token and the credentials, but without the session storage and the local storage, you can't take advantage of the token.
HELP NEEDED HERE !


new static function Function*.constant

taking as a model the haskell const function, this adds Function*.constant. I regret the longer name, but const is a keyword in java, and right now I can't think of a shorter, clear name. Maybe Function*.value() but probably not (?).
I think if java allowed _ as a variable name we wouldn't really need this, you could just write _ -> 7 for instance. But since we can't have that, it does feel clunky to write x -> 7 where x stands for nothing and is useless.
But then x -> 7 is considerably shorter than Function1.constant(7) (and comparable to constant(7) if you static import)... So I think there's really valid ground to reject this PR. I'll let you judge...

[Current coverage][cc-pull] is 97.19%

Merging [#1387][cc-pull] into [master][cc-base-branch] will increase coverage by 0.02%

@@             master      #1387   diff @@
==========================================
  Files            86         86
  Lines         10110      10128    +18
  Methods           0          0
  Messages          0          0
  Branches       1820       1820
==========================================
+ Hits           9824       9844    +20
+ Misses          158        157     -1
+ Partials        128        127     -1

Powered by Codecov. Last updated by [5d5d0e9...d591cf3][cc-compare]
[cc-base-branch]: https://codecov.io/gh/javaslang/javaslang/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/javaslang/javaslang/compare/5d5d0e9a3375f6a91e83f6f4f8233a73013c27d4...d591cf3e788eb6b4d35290d521bd88c148f0d6db
[cc-pull]: https://codecov.io/gh/javaslang/javaslang/pull/1387?src=pr

Great, thank you. I find it also useful. Java has Function.identity(), which can be also written t -> t, so adding a function constant is pretty legitimate.


DAWN-671 ⁃ Stricter Authority Checks

There are a few pathological cases where we are not properly validating transactions and should be:

Now that CFAs exist all "normal" actions should require some sort of authorization.  This should be enforced and does not appear to be.
Enforcing the above will defeat the current "could be CFA" check.  That check should be changed to only respect the api usage.  In addition, this should be the first assertion checked so that any action that could be CFA is reported that way regardless of the other "normal" transaction rules. (see chain_controller __apply_transaction()).
We should enforce that the list of authorization is concise.  This should be done by collecting the authorizations actually needed during application (by tracking calls to apply_context::require_authorization) and verifying that the provided authorization exactly matches the used authorizations
We should enforce that all transactions have at least one valid "normal" action.

ATC: demonstrable (and passing) unit test cases for all of the above.

All transactions require at least one authorization, but not actions require an authorization. The only reason to require an authorization on a transaction is to know who to bill for bandwidth.

Rather than enforcing authorizations to be concise, we could simply bill the user for computation based upon the number of authorizations specified.

ATC Passes.
api_tests/cf_action_tests has verified the ATC and it passes


[SPARK-16776][STREAMING] Replace deprecated API in KafkaTestUtils for 0.10.0.

What changes were proposed in this pull request?
This PR replaces the old Kafka API to 0.10.0 ones in KafkaTestUtils.
The change include:

Producer to KafkaProducer
Change configurations to equalvant ones. (I referred here for 0.10.0 and here for old, 0.8.2).

This PR will remove the build warning as below:
[WARNING] .../spark/external/kafka-0-10/src/main/scala/org/apache/spark/streaming/kafka010/KafkaTestUtils.scala:71: class Producer in package producer is deprecated: This class has been deprecated and will be removed in a future release. Please use org.apache.kafka.clients.producer.KafkaProducer instead.
[WARNING]   private var producer: Producer[String, String] = _
[WARNING]                         ^
[WARNING] .../spark/external/kafka-0-10/src/main/scala/org/apache/spark/streaming/kafka010/KafkaTestUtils.scala:181: class Producer in package producer is deprecated: This class has been deprecated and will be removed in a future release. Please use org.apache.kafka.clients.producer.KafkaProducer instead.
[WARNING]     producer = new Producer[String, String](new ProducerConfig(producerConfiguration))
[WARNING]                    ^
[WARNING] .../spark/streaming/kafka010/KafkaTestUtils.scala:181: class ProducerConfig in package producer is deprecated: This class has been deprecated and will be removed in a future release. Please use org.apache.kafka.clients.producer.ProducerConfig instead.
[WARNING]     producer = new Producer[String, String](new ProducerConfig(producerConfiguration))
[WARNING]                                                 ^
[WARNING] .../spark/external/kafka-0-10/src/main/scala/org/apache/spark/streaming/kafka010/KafkaTestUtils.scala:182: class KeyedMessage in package producer is deprecated: This class has been deprecated and will be removed in a future release. Please use org.apache.kafka.clients.producer.ProducerRecord instead.
[WARNING]     producer.send(messages.map { new KeyedMessage[String, String](topic, _ ) }: _*)
[WARNING]                                      ^
[WARNING] four warnings found
[WARNING] warning: [options] bootstrap class path not set in conjunction with -source 1.7
[WARNING] 1 warning

How was this patch tested?
Existing tests that use KafkaTestUtils should cover this.

Could you please take a look, @koeninger and @holdenk ?

Test build #63033 has started for PR 14416 at commit bb9f635.

Please let me cc @srowen as well because it is anyway about building.

This looks reasonable pending tests and verifying no more kafka deprecation warnings in the build logs for this file :)

Test build #63033 has finished for PR 14416 at commit bb9f635.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/63033/
Test PASSed.

Test build #63038 has started for PR 14416 at commit b7a53f2.

Test build #63038 has finished for PR 14416 at commit b7a53f2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/63038/
Test PASSed.

LGTM, minor comments about map notwithstanding.

Test build #63044 has started for PR 14416 at commit a1ef311.

Test build #63044 has finished for PR 14416 at commit a1ef311.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/63044/
Test PASSed.

Merged to master/2.0


Design: Add Post question page

UI Prototyping with figma tool figma design.
Please follow the 3 primary colours - #FFBB00 ,#FF6F00 ,#411818 for designing the pages

##Take reference from the below design

Any queries?
You can comment it here or in the Figma file

hey @purnima143 how about designing it like stackoverflow page?

hey @purnima143 how about designing it like stackoverflow page?

@kaffan Ya StackOverflow is also nice, but I like the UX of quora. We could take reference of both the sites.

@purnima143 i can think of design but actually i have never designed any web page using tools like figma. can you give me a little description like what are the essential parts you need in post question page

Hi @purnima143
I would like to work on this issue as part of GSSOC'21. Could you please assign it to me?

@abhinav5481 Ya go ahead

Those who contributed to design. Please create a pr and insert the image in the assets folder of the repo.

Hello Mam! Can I work on this?

@purnima143 , I would like to contribute in this feature as a Gssoc participant , Can i work upon the issue ?

@purnima143 As I have also designed the question page earlier so I also designed the Add Post question page accordingly


define char indexes as "unsigned" to make it platform-independent

Have a trouble during migration of my arduino project to Sloeber eclips plugin https://eclipse.baeyens.it/
Probably it have different compiler configuration and gives error
error: array subscript has type 'char'
That fixes it.

Hi!
Thanks for sql module, I use it for simple single table DB, as a buffer to store sensors measurements while to internet acess on device. And it works perfect!
I was struggeling several days to migrate my project to Eclipse Sloeber IDE. And sqlite3_ESP32 was an issue. On arduino IDE it compiles with no problem, but on sloeber it makes errors. And unsigned char issue is a simplest one )
Other issues i not understand to fix them. But at least I found the root. Sloeber uses ESP32 builder config, Arduino - uses its own (looks like).
You can check details and solution in that issue on Sloeber repo:
https://github.com/Sloeber/arduino-eclipse-plugin/issues/1119
Thanks a lot for module!


Mattermost-IRC bridge crashes when receiving mattermost message

Please answer the following questions.
Which version of matterbridge are you using?
0.13.1-dev
If you're having problems with mattermost please specify mattermost version.
3.5.0
Please describe the expected behavior.
I have a Mattermost-IRC bridge that worked great. I tweaked a bit the config and it started crashing. I restored to the initial version but now it keeps crashing.

Wait for the bridge to establish connection
Send a message on mattermost channel
expected The message appears in the IRC channel

Please describe the actual behavior.
Instead mattermostbridge crashes:
DEBU[2017-06-04T18:25:27+02:00] WsReceiver: model.WebSocketEvent{Event:"posted", Data:map[string]interface {}{"channel_type":"O", "post":"{\"id\":\"ID\",\"create_at\":1496593593558,\"update_at\":1496593593558,\"edit_at\":0,\"delete_at\":0,\"is_pinned\":false,\"user_id\":\"ID\",\"channel_id\":\"ID\",\"root_id\":\"\",\"parent_id\":\"\",\"original_id\":\"\",\"message\":\"[irc] \\u003cbagage2\\u003e : ok\",\"type\":\"\",\"props\":{},\"hashtags\":\"\",\"pending_post_id\":\"\"}", "sender_name":"USER", "team_id":"ID", "channel_display_name":"NAME", "channel_name":"NAME"}, Broadcast:(*model.WebsocketBroadcast)(0xc420404c00), PreComputeJson:[]uint8(nil)}  module=matterclient
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x6a3053]

goroutine 77 [running]:
panic(0x9c66a0, 0xc420012120)
	/usr/lib/go-1.7/src/runtime/panic.go:500 +0x1a1
github.com/42wim/matterbridge/matterclient.(*MMClient).parseActionPost(0xc42019eb40, 0xc4201d34a0)
	/tmp/src/github.com/42wim/matterbridge/matterclient/matterclient.go:291 +0x193
github.com/42wim/matterbridge/matterclient.(*MMClient).parseMessage(0xc42019eb40, 0xc4201d34a0)
	/tmp/src/github.com/42wim/matterbridge/matterclient/matterclient.go:266 +0x94
github.com/42wim/matterbridge/matterclient.(*MMClient).WsReceiver(0xc42019eb40)
	/tmp/src/github.com/42wim/matterbridge/matterclient/matterclient.go:249 +0x639
created by github.com/42wim/matterbridge/bridge/mattermost.(*Bmattermost).Connect
	/tmp/src/github.com/42wim/matterbridge/bridge/mattermost/mattermost.go:74 +0x372

Any steps to reproduce the behavior?
Please add your configuration file
[irc]
    [irc.oftc]
    Server="irc.oftc.net:6667"
    Nick="nick"

[mattermost]
    [mattermost.team]
    useAPI=true
    Server="server"
    Team="team"
    Login="login"
    Password="pass"
    PrefixMessagesWithNick=true
    RemoteNickFormat="[{PROTOCOL}] <{NICK}> : "
[[gateway]]
name="mygateway"
enable=true
    [[gateway.inout]]
    account="irc.oftc"
    channel="#testchannel"

    [[gateway.inout]]
    account="mattermost.team"
    channel="channel"

Even when changing irc server/name/channel and mattermost user/channel, the issue persists.

This happens immediately or after a while?

Are you sure about mattermost 3.5.0 ? the is_pinned in your debug log only exists since 3.8.0

Sorry about server version - I was mislead by desktop application. This is a 3.9.0 server (framateam.org).
The crash happens 10 sec after the "posted" event, reliably.

Update: if I install matterbridge in another folder (by changing GOPATH) it works again -- and now I cannot replicate the problem in the initial folder too!
Is there any cache file that could explain the issue? (for info initially GOPATH=/tmp/, I changed it to GOPATH=$HOME/tmp).

No, matterbridge has no state. But framateam has lots of users, it could be related to that. I had to make fixes for framateam in the past.
I have an account there too, I'll see if I can reproduce it.

OK, might be indeed related to server loads on framasoft side. For now I cannot reproduce it either - should I bump this once I reproduce it again?

Reopen if it happens again, panic should be fixed now though in master


k8s deploy scope  error invalid argument

in my k8s deploy scope use   https://www.weave.works/docs/scope/latest/installing/#k8s
but some error occurrence
i have some nodes but just three node running,other is ImageInspectError
error :   readlink  /var/lib/docker/overlay2: invalid argument

Hi,
I am getting the same error in all the nodes. and all other pods are working I tried pulling some new image those are also working. i think its some problem with weave-scope image

The issue seen by @deepak1100 is #3585.
(Does https://github.com/moby/moby/issues/35747 have anything to do with this?)

Hi @dholbach
i am pretty sure my issue is not #3587
but it is similart to  moby/moby#35747.
even after build new image with scope binary in it. i am getting this issue in all the new nodes. and after this issue come all other new images also start giving this error.
But it work on existing node where i update the image from weavework to mine. i don't know whats the problelm with the new nodes.
may be weave is not yet started over the new image before it scope is starting and causing lots of issue.

And if I try manually pulling image on the server where I am not running scope daemonset it's not giving any error in the image.
So the error probably start may be after starting weave scop as it have docker socket mounted. OR
it is the way kubernetes pulls the image.
Or it can be ubuntu 16.04 bug as i seen some one have same problem and using same os

Please ignore the scope issue I pointed to, that was obviously a mistake.

Can we get some more information, e.g. the kubelet logs?
Also the output of uname -a on the node please.


TRA-4017 Bring back getOldEntries method using fetch API and always start streaming from now

Makes it fetch the old records based on the given display filter when the scrollbar hits the top. It also adds a button to do the same when the scrollbar is not visible.
Makes it always start the stream from now with oppose to the current state in develop which starts from the very beginning of the capture.
Caution

It will probably break the acceptance tests since they were adapted to the pure WebSocket workflow with https://github.com/up9inc/mizu/pull/443 after the merger of https://github.com/up9inc/mizu/pull/279
It introduces a - requested but problematic - behavior of filtering the old captured records. getOldEntries (through an HTTP request) does not guarantee to return a matching record in a given 3 seconds hard-coded timeout. The first ever matching record can be seconds or even minutes away from the current head in terms of filtering duration since we do lazy evaluation. This makes the filtering past practically impossible.
It introduces another - requested but problematic - behavior of WebSocket connection being closed upon the break of scrollbar snap to the bottom. The connection can only be restored by clicking to "snap to bottom" button or "play" button at top.
It unfortunately removes the query progress information from the footer since it's not possible to reliably track the query progress because of the mixture of WebSocket and HTTP calls.
Reintroduces the front-end total entries fetched through WebSocket limit that's removed in here but this time sets it to 10000 since the feed is virtualized now. From the experiments, it's observed that even 200000+ entries on front-end does not hinder the performance on an average machine but the limit is reintroduced because it's requested.
Makes it lose the UI performance gain that's provided by https://github.com/up9inc/mizu/pull/452 in favor of complying with the defined behavior in TRA-4017.
Completely reverts https://github.com/up9inc/mizu/pull/513

Note
Please consider comparing develop and feat/ui-paging-mode-3 branches side-by-side via building their Docker image and running them with a load test to evaluate the pros and cons of this PR.

I found few bugs that I will try to show here:
1.

the scroll bar is at the bottom and the results are at the top so I don't see them (after I had more than 10K results) and hit "apply"

I can't reproduce it easily but I saw case that I have bigger number in the displayed that "total"..

the arrow up button is displayed in incorrect conditions (it appears now when I click and nothing is changing and it is not there when I expect it to be
Those things are from first try - so I will try to do more deeply check and explain with demos (you can ignore this comment for now)

It didn't break the acceptance tests, cool! :smile:


apidocs: Automatically add javascript example tabs.

Testing plan:
GIFs or screenshots:

@timabbott Should be ready for merge. Checked the diff for all the files -- they are exactly the same.

It's probably a good thing to add the JavaScript docs -- just we should be clear in the communication what's changed :)

I squashed the two commits, since I think that's a bit more readable, and then added a proposed commit that I think might make the app_filters.py logic feel more comprehensible (and seems to work in quick testing).  Can you try that out, and if you like that version, can you squash it (or perhaps do the reordering in a prep commit)?
I think this is otherwise ready to merge.

The new logic looks cleaner and LGTM. Squashed the commits :)

Merged, thanks @MSurfer20!


Feature Request: More verbose logging of XFR details

Hi! I am using NSD as secondary. While debugging XFRs. from logs it is not possible to find out what kind of XFR was performed:

IXFR?
IXFR with fallback to AXFR?
AXFR-style IXFR (Primary server does not have journal)
AXFR?

So it would be great if NSD logs what kind of request was tried, and what finally was performed. At the moment I get this info reading the logs from the primary (Bind9) - but this is a workaround and only possible if I have access to the Primary too.

Speaking of more verbose logging of XFRs: I recently had the problem that NSD (as the secondary) refused to transfer a zone from my code (as the primary). I'm fully aware that it was my code that was at fault, but even with verbosity turned to 25 the only thing NSD said was "bad xfr". Inspection of the zone via "dig ... axfr" worked fine, but revealed nothing strange, and another server implementation (Knot-DNS) accepted the zone witout complaints.
Here is a vote for a bit more detail than "bad xfr"... :-)
Cheers,
Johan


Add support to configure ALSO-NOTIFY per-zone metadata

PowerDNS allows you to set per-zone metadata for various purposes.  We already manage the SOA-EDIT-API setting via the pdns-admin GUI.
When updating a zone data, a NOTIFY packet will be sent to all NS hosts for that zone, plus all globally-defined also-notify hosts.  However, in some situations, it is desirable to set a per-zone list of hosts to receive additional notify packets -- such as in the case of unpublished secondary DNS servers.  That is what the per-zone ALSO-NOTIFY metadata is for, when you want to notify an additional non-NS server, but don't want to define this globally for all zones.
We may also want to tie this to the ALLOW-AXFR-FROM metadata since the only reason to set ALSO-NOTIFY is to trigger an AXFR, so adding an endpoint to the ALSO-NOTIFY should implicitly also add it to the ALLOW-AXFR-FROM.
These metadata settings can take multiple space-separated values.
I would envision these  being optionally set from the Zone Admin page, the same as for the SOA-EDIT-API setting.
On the commandline set these via:
pdnsutil set-meta powerdns.org ALSO-NOTIFY <IP_ADDRESS>:5300
pdnsutil set-meta powerdns.org ALLOW-AXFR-FROM <IP_ADDRESS>

It may also be useful to allow the SLAVE-RENOTIFY metadata flag to be set here, though that is only available from API version 4.3.x so may have compatibility issues for older PowerDNS installations
Relevant documentation: https://doc.powerdns.com/authoritative/domainmetadata.html#also-notify

Hello @sshipway
There's changes in PDA maintainers team and we can't work on new feature for now. You can work on a PR now or wait a bit as the project reorganizes.
Regards


Very short TE EPIs are challenging for BBR

DS000148 has a TE of 18ms, what yields a contrast like:

This makes it very challenging for BBR to find the WM/GM boundary.

Looks like a pretty intense bias field, too. How does the enhance and skull strip do?

Would be useful to see the contrast enhanced and bias corrected reference volume that BBR "sees".

This is one of the few runs that worked in sub-09 (run-02):

Most of the runs fell back to the mri_coreg initialization. As you can see, the 9 parameters caused that bbregister expanded the image.
Two things we should consider:

if SDC was run, then limit the BBR to 6 parameters (don't allow those 3 free parameters to overfit an inexistent deformation after SDC).
for SDC-SyN: when the TE is this short and the intensity of CSF is below the WM and GM then bypass the T1 inversion.

Other than that, taking into consideration the original contrast, I don't think the reference generation is performing badly.

Please note that in the above picture I made sure the reportlet was 100% at the "moving" frame.

@effigies I see what you meant before about the inhomogeneity, would you agree that it is not present anymore in the reference?

Yes, but is that from the same series as the first image in this thread?

This would be DS148/sub-09 (run-02), the same as in my previous comment.

Less INU, but still present

@effigies, what do you think about not inverting the T1 in SDC-SyN for these kind of images?

Okay. So that looks like we see an improvement in contrast, though slice effects are also strongly enhanced.
So the argument for not inverting the T1 is just that the white/CSF contrast will dominate? I guess I'm not sure that we can expect SyN to work at all well on an image with such low contrast in the first place. Might be worth trying, but I suspect that it's not going to be good either way you do it.
One thing that might be worth returning to is the idea of using a T2w image in place of the inverted T1w image, when available. That should keep the CSF contrast ratio sensible while still allowing what little gray/white contrast there is in these images to constrain the SyN.

If I understand correctly why the T1w contrast is inverted at all, whenever we have a T2w that would be preferable over the T1w-inverted, correct?
Moreover: the rationale behind inverting the T1w is that the contrast distribution is closer to that of a BOLD (T2*) contrast right? However these short TE images have more T1 contrast and less T2 contrast. That's why I was suggesting this. For these images, it seems to me that using the T2w (when available) would be as bad as inverting the intensity of the T1w, is it reasonable?.

I guess I'm not sure that we can expect SyN to work at all well on an image with such low contrast in the first place.

I will need to look at what metric we are using. It would not make a lot of sense to invert the T1 to apply some information-theory based metric. I guess the latest registration stage is done with a cross-correlation or similar. The ratios between the intensities of tissues need to be taken cautiously because we are most likely enabling the histogram matching of the inputs (and that changes those ratios).
Coming back to the original issue, I think we all can agree on the fact that this contrast is not good at all for BBR, is that correct?

If I understand correctly why the T1w contrast is inverted at all, whenever we have a T2w that would be preferable over the T1w-inverted, correct?

Yes.

Moreover: the rationale behind inverting the T1w is that the contrast distribution is closer to that of a BOLD (T2*) contrast right? However these short TE images have more T1 contrast and less T2 contrast. That's why I was suggesting this. For these images, it seems to me that using the T2w (when available) would be as bad as inverting the intensity of the T1w, is it reasonable?.

Hmm, maybe. It's a reasonable argument, but from these images it doesn't look like we're getting anything like a T1w gray/white contrast, here, so it's hard for me to say. I think I'd have to look at histograms for T1w, T2w and short TE BOLD series. And it might help to be a little more awake and less hungry. :-)

Coming back to the original issue, I think we all can agree on the fact that this contrast is not good at all for BBR, is that correct?

It definitely doesn't look good to me. Especially with 9-DOF fitting, we're asking for trouble.

Let's address BBR and short-TE exclusively here, and the tangents about SDC in #998.

One more from the same dataset:

s000148/reportlets/fmriprep/sub-26/func/sub-26_task-figure2backwith1backlures_run-01_bold_bbr.svg
seems like short TE cause inverted contrast in this bold image (ventricles are dark, but should be bright)


WinUI 3 - Blank App, Packaged (WinUI 3 in Desktop) C# project template crashes in Release configuration

Describe the bug
The app created by Blank App, Packaged (WinUI 3 in Desktop) C# project template crashes in Release configuration with exception on App.g.i.cs Line 32:
global::Microsoft.UI.Xaml.Application.Start((p) => {
    var context = new global::Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext(global::Microsoft.UI.Dispatching.DispatcherQueue.GetForCurrentThread());
    global::System.Threading.SynchronizationContext.SetSynchronizationContext(context);
    new App();
});

The exceptions:
Unhandled exception at 0x00007FFB31F75175 (Microsoft.ui.xaml.dll) in App1.exe: 0xC000027B: An application-internal exception has occurred (parameters: 0x000001B067EF58C0, 0x0000000000000002).

Unhandled exception at 0x00007FFB994F4470 (combase.dll) in App1.exe: 0xC0000602:  A fail fast exception occurred. Exception handlers will not be invoked and the process will be terminated immediately.

Unhandled exception at 0x00007FFB31F75175 (Microsoft.ui.xaml.dll) in App1.exe: 0xC000027B: An application-internal exception has occurred (parameters: 0x000001B0031031D0, 0x0000000000000002).

Unhandled exception at 0x00007FFB994F4470 (combase.dll) in App1.exe: 0xC0000602:  A fail fast exception occurred. Exception handlers will not be invoked and the process will be terminated immediately.

And in Event Viewer there is a crash event:
Faulting application name: App1.exe, version: <IP_ADDRESS>, time stamp: 0x65f90000
Faulting module name: Microsoft.ui.xaml.dll, version: <IP_ADDRESS>, time stamp: 0x5c2afe3b
Exception code: 0xc000027b
Fault offset: 0x0000000000405175
Faulting process id: 0x20278
Faulting application start time: 0x1DAAF3D091E67FA
Faulting application path: E:\Shirasagi\CSharp\App1\App1\bin\x64\Release\net8.0-windows10.0.19041.0\win-x64\AppX\App1.exe
Faulting module path: C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.5_5<IP_ADDRESS>_x64__8wekyb3d8bbwe\Microsoft.ui.xaml.dll
Report Id: 945b6cf3-6710-47f2-aa22-e8377a178e2e
Faulting package full name: b064c45c-ec11-40e2-b3f2-7d0ca5daf8e5_<IP_ADDRESS>_x64__kkjvz6qjy8mej
Faulting package-relative application ID: App

Steps to reproduce the bug

Create a new project using the "Blank App, Packaged (WinUI 3 in Desktop)" C# project template. Both Visual Studio 17.10 and 17.11 Preview 1 are able to reproduce the bug.
Switch the Solution Configuration to "Release".
In the debug properties, check the "Enable native code debugging" option so we can see the exception.
Run "App1(Packaged)" with debuging, and the app crashes.
If you switch the configuration back to Debug, the app runs fine.

Expected behavior
The app should run out-of-the-box in both Release and Debug configurations.
Screenshots

NuGet package version
WinUI 3 - Windows App SDK 1.5.3: 1.5.240428000
Windows version
Windows Insider Build (xxxxx)
Additional context
OS build 26120.670
Windows App SDK 1.5.240428000
Microsoft.Windows.SDK.BuildTools 10.0.22621.756

I get the same issue. A few of the similar issues linked above seem like they match this, but none of them have a solution.

I have the same issue.
Windows Version: 23H2 22631.3593
Microsoft Visual Studio Community 2022 (64-bit) Version 17.10.1

Thanks for the report! For now you can workaround this by editing the launch profiles so that the PublishTrimmed property is false for the Release configuration.

I also tried several options and builds. The strange thing that unpackaged app in release mode works fine.
Only packaged output causes these issues.
The same behavior i noticed in .Net Maui (Windows) which caused me to use the win10-x64 runtime with -p:UseRidGraph=true build parameter.
In WinUI this trick didn't help, but something is wrong for a while now.

Thanks for the report! For now you can workaround this by editing the launch profiles so that the PublishTrimmed property is false for the Release configuration.

Do you mean the pubxml files?
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
	<PropertyGroup>
		<Configuration>Release</Configuration>
		<Platform>x64</Platform>
		<PublishProtocol>FileSystem</PublishProtocol>
		<RuntimeIdentifier Condition="$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) >= 8">win-x64</RuntimeIdentifier>
		<RuntimeIdentifier Condition="$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) < 8">win10-x64</RuntimeIdentifier>
		<PublishDir>bin\$(Platform)\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\</PublishDir>
		<SelfContained>true</SelfContained>
		<PublishSingleFile>false</PublishSingleFile>
		<PublishReadyToRun>true</PublishReadyToRun>
		<PublishTrimmed>false</PublishTrimmed>
	</PropertyGroup>
</Project>

LaunchSettings:
{
  "profiles": {
    "ISynergy.App.Commodities (Package)": {
      "commandName": "MsixPackage"
    },
    "ISynergy.App.Commodities (Unpackaged)": {
      "commandName": "Project"
    }
  }
}

The 	false does not work.

Thanks for the report! For now you can workaround this by editing the launch profiles so that the PublishTrimmed property is false for the Release configuration.

Do you mean the pubxml files?
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
	<PropertyGroup>
		<Configuration>Release</Configuration>
		<Platform>x64</Platform>
		<PublishProtocol>FileSystem</PublishProtocol>
		<RuntimeIdentifier Condition="$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) >= 8">win-x64</RuntimeIdentifier>
		<RuntimeIdentifier Condition="$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) < 8">win10-x64</RuntimeIdentifier>
		<PublishDir>bin\$(Platform)\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\</PublishDir>
		<SelfContained>true</SelfContained>
		<PublishSingleFile>false</PublishSingleFile>
		<PublishReadyToRun>true</PublishReadyToRun>
		<PublishTrimmed>false</PublishTrimmed>
	</PropertyGroup>
</Project>

LaunchSettings:
{
  "profiles": {
    "ISynergy.App.Commodities (Package)": {
      "commandName": "MsixPackage"
    },
    "ISynergy.App.Commodities (Unpackaged)": {
      "commandName": "Project"
    }
  }
}

Apologies, yes, I meant the pubxml. I've updated my original comment. :)

@evelynwu-msft  thank you, I confirmed that the workaround is working.

I don't know what I'm doing differently.
Let me explain first the setup i'm using:

Start Windows Sandbox
Run the following scripts with elevated permissions to install winget

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

$progressPreference = 'silentlyContinue'
Write-Information "Downloading WinGet and its dependencies..."
Invoke-WebRequest -Uri https://aka.ms/getwinget -OutFile Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
Invoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile Microsoft.VCLibs.x64.14.00.Desktop.appx
Invoke-WebRequest -Uri https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.x64.appx -OutFile Microsoft.UI.Xaml.2.8.x64.appx
Add-AppxPackage Microsoft.VCLibs.x64.14.00.Desktop.appx
Add-AppxPackage Microsoft.UI.Xaml.2.8.x64.appx
Add-AppxPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle

On my development machine i'm running the following commands  and copy the output to Windows Sandbox and install the msix.
Fails
dotnet publish -c Release -p:Platform=x64 --runtime win-x64 /p:PublishProfile=Properties\PublishProfiles\win-x64.pubxml -p:AppxPackageSigningEnabled=true -p:PackagecertificateThumbprint=xxxxx -p:GenerateAppxPackageOnBuild=true -p:WindowsPackageType=MSIX -p:AppxPackageDir=C:\Temp\

dotnet msbuild /p:Configuration=Release /p:Platform=x64 /p:PublishProfile=Properties\PublishProfiles\win-x64.pubxml /p:AppxBundle=Never /p:GenerateAppxPackageOnBuild=true /p:AppxPackageSigningEnabled=true /p:PackagecertificateThumbprint=xxxxx /p:AppxPackageOutput="C:\Temp\Test_x64.msix"

dotnet publish -c Release -p:Platform=x64 --runtime win-x64 -p:PublishTrimmed=false -p:AppxPackageSigningEnabled=true -p:PackagecertificateThumbprint=xxxxx -p:GenerateAppxPackageOnBuild=true -p:WindowsPackageType=MSIX -p:AppxPackageDir=C:\Temp\

dotnet publish -c Release -p:Platform=x64 --runtime win-x64 -p:PublishTrimmed=false -p:PublishReadyToRun=true -p:AppxPackageSigningEnabled=true -p:PackagecertificateThumbprint=xxxxx -p:GenerateAppxPackageOnBuild=true -p:WindowsPackageType=MSIX -p:AppxPackageDir=C:\Temp\

dotnet publish -c Release -p:Platform=x64 --runtime win-x64 -p:PublishTrimmed=false -p:PublishReadyToRun=true -p:PublishSingleFile=false -p:AppxPackageSigningEnabled=true -p:PackagecertificateThumbprint=xxxxx -p:GenerateAppxPackageOnBuild=true -p:WindowsPackageType=MSIX -p:AppxPackageDir=C:\Temp\

dotnet publish -c Release -p:Platform=x64 --runtime win-x64 -p:PublishTrimmed=false -p:PublishReadyToRun=true -p:SelfContained=true -p:AppxPackageSigningEnabled=true -p:PackagecertificateThumbprint=xxxxx -p:GenerateAppxPackageOnBuild=true -p:WindowsPackageType=MSIX -p:AppxPackageDir=C:\Temp\

dotnet build -c Release -p:Platform=x64

dotnet build -c Release -p:Platform=x64 -p:WindowsPackageType=MSIX

Fails (trick that i use with .Net Maui build for Windows, regular win-x64 doesn't work there either)
dotnet publish -f net8.0-windows10.0.22621.0 -c Release -p:Platform=x64 --runtime win10-x64 -p:UseRidGraph=true -p:AppxPackageSigningEnabled=true -p:PackagecertificateThumbprint=XXXXX -p:GenerateAppxPackageOnBuild=true -p:WindowsPackageType=MSIX -p:AppxPackageDir=C:\Temp\

Succeeds (Sort of. It's runnable)
dotnet build -c Release -p:Platform=x64 -p:WindowsPackageType=None

This is the unpackaged version, but i cannot use it for store submission.

Btw also the MSbuild commands doesn't work.
msbuild /p:Configuration=Release /p:Platform=x64 /p:AppxBundle=Never /p:GenerateAppxPackageOnBuild=true /p:AppxPackageSigningEnabled=true /p:PackagecertificateThumbprint=XXXXX /p:AppxPackageOutput="C:\Temp\Test_x64.msix"

msbuild /p:Configuration=Release /p:Platform=x64 /p:Runtimeidentifier=win-x64 /p:PublishTrimmed=false /p:PublishReadyToRun=true /p:AppxBundle=Never /p:GenerateAppxPackageOnBuild=true /p:AppxPackageSigningEnabled=true /p:PackagecertificateThumbprint=XXXXXX /p:AppxPackageOutput="C:\Temp\Test_x64.msix"

@IsmailHassani  https://drive.google.com/file/d/1XTKQTb6-pbjYkf6yX8FKS00ZpTwgy1ze/view?usp=sharing you can try the steps.

Another strategy, if full trimming is desired, is to update to Windows App SDK 1.6 (currently in experimental release) and also include a C#/WinRT package reference.  Windows App SDK 1.6 C# projection assemblies now have support for trimming, and the latest C#/WinRT provides source generation to also support trimming.

Closing with several options to resolve

Not working for me still by adding the following and several other variations:

bin\Release\x64\
true
true

@keithnicholson Sorry that isn't working for you. Could you please open a new issue with a sample so we can investigate? Thanks.


Fix setters!() macro to use with_$name when rust issue is resolved

To be idiomatic we want to define functions generated by our setters!() macro to use the name with_$name. However, because of an open issue in rust we cannot yet, or need to use one of a few crates that make this possible.

With the use of paste in azure_core, do we want to implement this with that crate?

I'm unsure how I feel about this. The method names without the with_ feel quite natural and very Rust like. Are we sure that we shouldn't just close this issue?

This was the result of a discussion around client options long ago. But given we've changed to builders this may no longer be relevant. Are we settled on builders, then?

...and if we are, how do we "inherit" general client options, which we do for all other languages' SDKs? The idea is that we sometimes make changes to base client options that get fed into the pipeline and need to just "show up" on client library-specific client options. Last I remember, we never did settle on that when discussing using builders instead of what I proposed for client options originally.


SW-5737 Improve robustness of shapefile import

We recently got a complex shapefile that failed to import for a couple reasons.
The big one was that it used 4-dimensional coordinates (the fourth being a
non-spatial "M" value that's used to hold application-defined values) which caused
some of the geometry calculations to bomb out.
It also had a lot of complex borders between subzones, which, thanks to
floating-point precision limitations, caused the calculated zone and site
boundaries to have small holes in them.
Make the importer more robust to this kind of shapefile:

Strip the Z and M dimensions, if present
Use fixed-precision coordinates to avoid floating-point errors
Remove small gaps between adjacent subzones when calculating zone and site
boundaries

#2222  👈
main

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

Join @sgrimm and the rest of your teammates on  Graphite


Spawn Eggs as input don't show NBT-tag effects (including type)

Intro:
Issue Description:
When a spawn egg is used as an ingredient, it's NBT tags can only be specified with .onlyWithTag(); trying to use .withTag() generates an error.  However, the tags so specified do not get reflected in the recipe's JEI presentation.
What happens:
The spawn egg appears gray and anonymous (no mob or other name except "Spawn")
What you expected to happen:
The tags specified with .onlyWithTags() should be interpreted to indicate the proper spawn egg to use for the recipe.
The script given demonstrates this in several recipes, notably the recipes for Cave Spider and Zombie Pigman eggs.  It also demonstrates it with the two intermediate eggs (the "Beast" and "Humanoid" eggs) which are used in the Polar Bear and Witch recipes respectively.  These purposely have spurious IDs, so they should be gray, but they should also have meaningful names, and they don't.  (They also don't seem to show up in a JEI search, but that's another issue that was already reported.)
Script used (Please Pastebin or gist your script, posting an unpasted or ungist'd script will automatically close this issue):
https://github.com/MentalMouse/CraftTweaker-scripts/blob/master/ma-spawn_eggs-hard.zs
Minetweaker.log file (Please Pastebin or gist your file, posting an unpasted or ungist'd file will automatically close this issue):
https://pastebin.com/siqsRj0U

Affected Versions (Do not use "latest"):

Minecraft: 1.11.2
Forge: <IP_ADDRESS>8
Crafttweaker:  3.0.25

Your most recent log file where the issue was present:
https://pastebin.com/siqsRj0U
(As above)

At #202, belathus points out that .withTag() and .onlyWithTag() can be used together if and only if (all of the) .withTag() precede the .onlyWithTag().
By experiment, this sequence can be used only on input; if specified for output there is a different error and the recipe does not appear, so the eggs still need to be specified separately for input and output use.


Onboarding is not supported since no Ethereum signing method (web3, web3_account, web3_provider) was provided

Onboarding is not supported since no Ethereum signing method (web3, web3_account, web3_provider) was provided
from dydx3 import Client
from web3 import Web3
client = Client(host='https://api.stage.dydx.exchange')
key_pair_with_y_coordinate = client.onboarding.derive_stark_key(
ethereum_address='https://etherscan.io',
)
Exception: Onboarding is not supported since no Ethereum signing method (web3, web3_account, web3_provider) was provided
how can i fix this?

web3=Web3(Web3.HTTPProvider(WEB_PROVIDER_URL)),
如果用dydx网络，web3就可以省略。如果用其他网络，比如ropsten测试网络，WEB_PROVIDER_URL=‘https://ropsten.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161’


logistic regression + knn classification templates

new folder created in classification

Merry Christmas!

Merry Christmas Brandon! I'll be off for a few days so I will not check this Monday.
Will check again on your progress Wednesday!


XMLDocument created on stack doesn't have processEntities at true by default

XMLDocument doc; // this will NOT process entities by default
XMLDocument *doc2 = new XMLDocument(); // this WILL process entities
I am not sure if this is intended. But it's not obvious for the end user

This has either always been invalid or has been fixed since.


Prism mock dynamic response generation missing required fields on oneOf/allOf schemas

Describe the bug
I used prism mock api.yaml -d to spin up a mock server for my openAPI spec, the dynamically generated responses always miss some required fields.
To Reproduce

Sample API spec:

openapi: 3.0.0
info:
  title: Sample API
  version: v1
paths:
  /services/resources/{resource_id}:
    get:
      summary: Get a resource detail.
      description: Returns a single resource.
      operationId: getV1Resource
      responses:
        200:
          description: get a resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Resource'
        404:
          description: not found
components:
  schemas:
    Resource:
      type: object
      discriminator:
        propertyName: resourceType
      oneOf:
        - $ref: '#/components/schemas/A'
        - $ref: '#/components/schemas/B'
        - $ref: '#/components/schemas/C'
        - $ref: '#/components/schemas/D'
    A:
      required:
        - name
        - resourceType
      type: object
      properties:
        resourceType:
          type: string
        name:
          type: string
        color:
          type: string
        length:
          type: integer
    B:
      required:
        - name
        - resourceType
      type: object
      properties:
        resourceType:
          type: string
        name:
          type: string
        description:
          type: string
        age:
          type: integer
    C:
      required:
        - data
        - resourceType
      type: object
      properties:
        resourceType:
          type: string
        data:
          type: string
        password:
          type: string
        hint:
          type: string
    D:
      required:
        - value
        - resourceType
      type: object
      properties:
        resourceType:
          type: string
        value:
          type: string
        note:
          type: string

Run this CLI command prism mock api.yaml -d
Use postman to get sample response

Expected behavior
The expected response should have field 'resourceType' for all, and should have 'name' field for A and B, but the actual responses never have those fields
Some actual responses;
{
"color": "elit irure voluptate sunt",
"length": 80304934
}
{
"description": "deserunt ut in",
"age": -65249860
}
{
"data": "exercitation",
"password": "nisi",
"hint": "magna enim ullamco Ut consequat"
}
Environment (remove any that are not applicable):

Library version: 3.0.4
OS: MacOS 10.13.6

Additional context
if I use 'static' generation without '-d' in the command, I can see all the field but it will always return schema A.
e.g.
{
"resourceType": "string",
"name": "string",
"color": "string",
"length": 0
}

Note: after an initial investigation this appear to be happening only for schemas using oneOf/allOf. It works correctly with plain schemas. I'm digging into the source code to understand what's wrong.

Effectively when there's more than a schema in a oneOf the derived target schema is missing the required properties:

@yunsim We have identified the bug and it's in the underlying library we're using to generate the data.
We're working with the author to fix this; there's not really any action point from our side at this point.
https://github.com/json-schema-faker/json-schema-faker/commit/16286c217336a84e5c7128a981f6ec1374371297#r35110880

@yunsim https://github.com/json-schema-faker/json-schema-faker/pull/524 — we're now at their mercy :)

Thanks!

as das


mergeAttributes: deepcopy RHS Map if LHS isn't Map

The problem that this PR solves is that a Map present in environmentAttributes gets exposed when initially merged into data. It is then mutated by the following mergeAttributes of event into data.

Looks like Travis build fails because it can't resolve some dependencies with Dart 2. I tested this PR by running echo test/*.dart | xargs -n1 dart.

I like this change! Thank you for the fix. I'll have a look at Travis asap (currently AFK).

Sent https://github.com/flutter/sentry/pull/24 for that, and rebased this PR, too.

LGTM

This is now publish in version 2.1.1: https://pub.dartlang.org/packages/sentry


Moodle - Pod recreated when using Stash's Restic to Backup the Volume

When Stash's Restic Custom Resource is used to backup Moodle, it seems that a new Moodle instance is getting created.
When this happens we get 502 Bad Gateway error and the site is down.
Once the Moodle instance becomes active, the procfilecohort plugin is missing. The error that we see is 'Missing from disk'

This has been fixed now. The solution was to add a PodController and react to new Moodle Pod getting created.
The reason new Moodle Pod is created is because Restic adds a side-car when taking backup. Check https://github.com/appscode/stash/issues/743 for details.


Make reset a bit more robust

Retry failed operations
Don't error out on not found some of the objects that can be deleted by controllers (avoid race-condition)
Log a message to try to use --destroy-workers=false flag

Fixes #474
kubeone reset more robust

/retest


Port clangd example to use views service

App Playground code is cleaned up along
Update dependencies
Update versions to "-next.6"

@CGNonofr<EMAIL_ADDRESS>fracked something up. Staying with 2.1.3 for now.


Can't open any stream

When I try to open any stream with Livestreamer, it says (in my language, from part of Windows 8)
"No se puede ejecutar esta aplicación en el equipo
Para buscar una versión para su equipo, consulte con el editor del software."
Translated into English is this:
"You can not run this application on your computer
To find a version for your computer, contact the software publisher."
What I should do?
Screenshot:

How do you run it?

@Thehail it's a command line application, it does not open with double click.
do this simple steps:
1 - Create a folder called livestreamer in your C: directory
2 - put the .exe inside that directory
3 - holding the SHIFT key right click inside that directory and choose Open command window here
4 - in that new black command window write: livestreamer twitch.tv/day9tv best or change twitch.tv/day9tv to the stream you need

@VackerSimon throught windows command interface (cmd)
@balexandre which .exe?

@Thehail
Download the Windows binaries and install it to C:\Livestreamer the .exe will be there
Also, remember to open the configuration file (it will ask when you finish installing) so you point the player variable to the correct path of your VLC installation.

Executed the .exe but show some text that I can't read and close inmediatly. Then I tried to open normally an stream but stil doesn't work

Okey, this works but I'll need to open a command line in the folder all times I want to play a stream with livestreamer?

Okey, this works but I'll need to open a command line in the folder all times I want to play a stream with livestreamer?

Yes, hence the command line part. You can also create a .bat that you can then double click.

Can you explain me how to do this? @balexandre

sure:
1 - create an empty text file in the same directory and name it streamer.bat
2 - open it with notepad or any text editor and write:
livestreamer twitch.tv/day9tv best
pause

3 - save, close, and double click to open twitch.tv/day9tv

But I want it to put any stream url not only one it is possible?

edit the file or have more files...
It's a command line, you need to act accordingly.

There isn't any .bat to open the console like shift + right click in the folder?


Fix Developer Preview banner alignment

We want to move the "Developer Preview" to the left, right? (:

Why? Putting it into breadcrumbs makes it always visible as it never scrolls off the screen. Aligning it to the right also saves the vertical space.

I meant something like this:

I think that visually it's not balanced in the far right.
Also here it's off:

I presume that it's not that important that it should be always visible (it's not an interactive element that needs to be available at all times like "Help" or similar.  WDYT? Makes sense to you?


TXT record deleted from Route53 after 5 validation retries

Using version <IP_ADDRESS>6 with the Route53 plugin to try and create a wildcard certificate everything seemed to work correctly, the _acme-challenge TXT record was created using my AWS IAM access and secret keys, verified by me monitoring our Route53 zone in AWS, and the PEM files were created. However, when it could not validate the TXT record after the 5 attempts, stating no TXT records found, it deleted the _acme-challenge TXT record from the zone.
The question is, should it have deleted the TXT record or did I do something wrong?
Here is a transcript of my interaction with wacs (domain, access key, and TXT value are masked):
[INFO] A simple Windows ACMEv2 client (WACS)
[INFO] Software version <IP_ADDRESS>6 (RELEASE)
[INFO] IIS version 10.0
[INFO] Please report issues at https://github.com/PKISharp/win-acme
N: Create new certificate (simple for IIS)
M: Create new certificate (full options)
L: List scheduled renewals
R: Renew scheduled
S: Renew specific
A: Renew all
O: More options...
Q: Quit
Please choose from the menu: M
[INFO] Running in mode: Interactive, Advanced
1: Based on CSR
2: Single binding of an IIS site
3: SAN certificate for all bindings of an IIS site
4: SAN certificate for all bindings of multiple IIS sites
5: Manually input host names
: Abort
Which kind of certificate would you like to create?: 5
Enter comma-separated list of host names, starting with the common name: *.mydomain.com
[INFO] Target generated using plugin Manual: *.mydomain.com
Suggested FriendlyName is '[Manual] *.mydomain.com', press enter to accept or type an alternative:
1: [dns-01] CNAME the record to a server that supports the acme-dns API
2: [dns-01] Manually create record
3: [dns-01] Run script to create and update records
4: [dns-01] Verify through AWS Route 53 DNS
: Abort
How would you like to validate this certificate?: 4
AWS IAM role for current EC2 instance (blank for default):
AWS access key ID: ????????????????????
AWS secret access key: ****************************************
1: Elliptic Curve key
2: Standard RSA key pair
What kind of CSR would you like to create?: 1
1: IIS Central Certificate Store
2: Windows Certificate Store
3: Write .pem files to folder (Apache, nginx, etc.)
C: Abort
How would you like to store this certificate?: 3
Path to folder where .pem files are stored: c:\bin\ssl_certs
1: IIS Central Certificate Store
2: Windows Certificate Store
3: No additional storage steps required
C: Abort
Add another store plugin?: 3
1: Do not run any (extra) installation steps
2: Run a custom script
Which installation method should run?: 1
[INFO] Authorize identifier: mydomain.com
[INFO] Authorizing mydomain.com using dns-01 validation (Route53)
[INFO] Creating TXT record _acme-challenge.mydomain.com with value BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
[INFO] Waiting for DNS changes propagation
[INFO] Answer should now be available at _acme-challenge.mydomain.com
[WARN] Preliminary validation failed: no TXT records found
[INFO] Will retry in 30 seconds (retry 1/5)...
[WARN] Preliminary validation failed: no TXT records found
[INFO] Will retry in 30 seconds (retry 2/5)...
[WARN] Preliminary validation failed: no TXT records found
[INFO] Will retry in 30 seconds (retry 3/5)...
[WARN] Preliminary validation failed: no TXT records found
[INFO] Will retry in 30 seconds (retry 4/5)...
[WARN] Preliminary validation failed: no TXT records found
[INFO] Will retry in 30 seconds (retry 5/5)...
[WARN] Preliminary validation failed: no TXT records found
[INFO] It looks like validation is going to fail, but we will try now anyway...
[INFO] Authorization result: valid
[INFO] Deleting TXT record _acme-challenge.mydomain.com with value BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
[INFO] Requesting certificate [Manual] *.mydomain.com
[INFO] Store with PemFiles...
[INFO] Exporting .pem files to c:\bin\ssl_certs
[INFO] Installing with None...
Do you want to replace the existing task? (y/n*)  -
[INFO] Adding renewal for [Manual] *.mydomain.com
[INFO] Next renewal scheduled at 2019/10/23 9:36:43

That is normal behaviour, there is no need to keep the record because validation has completed, and for the next renewal another TXT value will be needed. It prevents pollution of the DNS zone over time.
The preliminary validation is most likely failing because you are doing something similar to #1205. If that is not the case please let me know, I'd like to make sure that PreValidation is as reliable as possible.


Error: File /Users/mtford/Playground/CodenameBig/node_modules/react-native-webpack-server/node_modules/connect/node_modules/finalhandler/node_modules/on-finished/node_modules/ee-first/index.js not found in any of the roots

Hi,
Having issues getting this up and running - I copied from the babel example.
I get a red screen in the app and the following error in the terminal when running in the simulator:
Error: File /Users/mtford/Playground/CodenameBig/node_modules/react-native-webpack-server/node_modules/connect/node_modules/finalhandler/node_modules/on-finished/node_modules/ee-first/index.js not found in any of the roots
    at Fastfs._getAndAssertRoot (/Users/mtford/Playground/CodenameBig/node_modules/react-native/packager/react-packager/src/DependencyResolver/fastfs.js:137:13)
    at Fastfs._add (/Users/mtford/Playground/CodenameBig/node_modules/react-native/packager/react-packager/src/DependencyResolver/fastfs.js:152:10)
    at /Users/mtford/Playground/CodenameBig/node_modules/react-native/packager/react-packager/src/DependencyResolver/fastfs.js:38:18
    at Array.forEach (native)
    at /Users/mtford/Playground/CodenameBig/node_modules/react-native/packager/react-packager/src/DependencyResolver/fastfs.js:31:13
    at tryCallOne (/Users/mtford/Playground/CodenameBig/node_modules/react-native/node_modules/promise/lib/core.js:37:12)
    at /Users/mtford/Playground/CodenameBig/node_modules/react-native/node_modules/promise/lib/core.js:103:15
    at flush (/Users/mtford/Playground/CodenameBig/node_modules/react-native/node_modules/promise/node_modules/asap/raw.js:50:29)
    at process._tickCallback (node.js:442:13)
{"type":"InternalError","message":"react-packager has encountered an internal error, please check your terminal error output for more details"}

The project is available at https://github.com/mtford90/codename-big if you wanna take a look at the setup.
Any help would be much appreciated!

Can you try out version 0.3.0 of react-native-webpack-server?


2.23.0 Getting:  x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0

What did you do?
Upgraded Prometheus instance from 2.17.1 to 2.23.0
What did you expect to see?
Configured jobs to run with TLS and self signed cert.
What did you see instead? Under which circumstances?
Prometheus reporting: Get "": x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0
Environment
Producation

System information:

Linux 4.14.138-rancher x86_64

Prometheus version:

prometheus, version 2.23.0 (branch: HEAD, revision: 26d89b4b0776fe4cd5a3656dfa520f119a375273)
build user:       root@37609b3a0a21
build date:       20201126-10:56:17
go version:       go1.15.5
platform:         linux/amd64

Alertmanager version:
insert output of alertmanager --version here (if relevant to the issue)

Prometheus configuration file:

- job_name: ScrapeJob
  file_sd_configs:
  - files:
    - /etc/prometheus/configmaps/test/file.json
  scrape_interval: 1m
  metrics_path: /metrics
  scheme: https
  basic_auth:
    username: <removed>
    password: <removed>
  tls_config:
    ca_file: /etc/prometheus/secrets/ca/ca.pem

Alertmanager configuration file:

insert configuration here (if relevant to the issue)

Logs:

Seeing this on job status page: Get "<REMOVED>": x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0

Thank you for reaching us.
This is not a bug but a behaviour of golang: https://golang.org/doc/go1.15#commonname
If you do not know what it means, or how to change your GODEBUG env variable, it makes more sense to ask this question like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.


haskellPackages: unbreak selected packages

Description of changes
I fixed some simple breaks of packages that are causing hydra eval errors.
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, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

I get quite a few build failures with this, e.g. bzlib
Setup: Encountered missing or private dependencies:
base >=4.3 && <4.16, bytestring >=0.9 && <0.11

I get quite a few build failures with this, e.g. bzlib

Likely prior failures, e.g. bzlib is already broken on haskell-updates.

:facepalm: didn't even spot this is aimed at haskell-updates

Not to rain too much on the parade here. I also think these PRs are great.
But I think traditionally our bar for jailbreaks in configuration-common is a link to an upstream issue or PR regarding those wrong bounds.
(In rare cases this is important because upstream will respond that the bound is there to prevent a bug. More often for lower bounds, but it has happened for upper bounds.)
Honestly, I personally hate that policy, but I think it exists for a reason. So we should decide if we want to stick with it.

But I think traditionally our bar for jailbreaks in configuration-common is a link to an upstream issue or PR regarding those wrong bounds.

I agree with this in general, but right now we have so many things that are broken.  I'd be worried how long it would end up taking to get haskell-updates merged in if we had to upstream all of our dontCheck and doJailbreak changes.  (Although once we get haskell-updates basically in a working state this round, I think we should go back to trying to at least report things upstream.)

Okay, I can live with “temporarily suspended”.


Eventpage Added

Description
Added the Event page and linked it to More events button in Upcoming Events Section
Fixes #216

Type of change

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

Explain the Testing instructions
Test Configuration:

Operating system: Win
Version:10
Text-editors used: VSCODE

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

@himanshu007-creator  Please check here https://rohank2502.github.io/SFC-foundations/
And also suggest any changes I have created a box-type model so we can easily maintain this CSS needs to be clean I will do this for every page and sort them only keep which are needed don't worry about the code base will make it clean and Please let me know about the img size should they be small or big or are they perfect

@rohank2502 , please make size of event containers uniform for all and create different categories for blogs.
Insert a dropdown at top left with categories. So that when user selects a particular category, only those category blogs are visible.
categories are

all
Women Empowerment
education
environment
social awareness

@rohank2502 can u attach ss for this particular PR for the changes that you have made ?

@rohank2502 can u attach ss for this particular PR for the changes that you have made ?

Please give me time I will deploy the link @divyashukla23

@divyashukla23  Please check the deployment Please dont merge this one few changes are under work like sort feature improvement will let you know after the work gets over @himanshu007-creator Sorry for little delay in work

n we go to more events, the join us page opens up, look into it and fix this.

Yes Just the linking page is remaining

https://rohank2502.github.io/SFC-foundations/pages/Events/events.html    Everything is ok just the sort button function is not implemented I have added option to sort when we click on sort the diffrent filter gets visible but as we have not added those to particular event so this will not be working we can get that with few lines of Js and the event boxes are updated few days back so there might be some event those are not updated from orignal site do you want to update that now ? Please let me know else everything is ok !!

RTM


Aws Amplify Not Sync with Mongodb, After Db changed its not fetching latest data, always shows 1 step previous!!!

Ment Stack NextJs Site and its AdminPanel Deployed on AWS Amplify

Aws Amplify does Not Sync with Mongodb, After Db changed it did not fetch the latest data, always shows 1 step previous!!!
I made an admin panel in Nextjs deployed on AWS Amplify, After updating the form, data is showing on the MongoDB compass correctly updated, but not on the Site main page in use effect, I also console during get requests of displaying data, here too it's showing old previous data, instead of updated and MongoDB..
After again push code to was amplify by git commands, then it display data correctly, but not on runTime!!!


Getting usernames with unread messages not work

from whatsapp import WhatsApp
whatsapp = WhatsApp(100, session="mysession")
print(whatsapp.unread_usernames(scrolls=100))
Hello, when I tried to run this code, I've got just [ ]
Bot doesn't see persons which has unread messages.
Maybe problem in Chrome version?

I have checked and found that the class names has been outdated which I have fixed in the latest commit please check and let me know.
If you think that the latest commit has addressed your issue kindly close the issue and feel free raise further issues and questions you have.
Thank you!
Visweswaran N

Great, now it's working.
Thank you!


Cannot populate on afterFlush method

Describe the bug
when trying to populate an entity's M:1 relation on afterFlush method, i get stuck and nothing happens
Stack trace
Nothing happens, no error. application just hangs
To Reproduce
import type { EventSubscriber, FlushEventArgs } from '@mikro-orm/core';
import { Collection, Entity, ManyToOne, MikroORM, OneToMany, PrimaryKey, Property, Subscriber } from '@mikro-orm/core';
import type { SqliteDriver } from '@mikro-orm/sqlite';

@Entity({ tableName: 'customers' })
class Customer {

  @PrimaryKey()
  id!: number;

  @Property()
  name: string = 'Foo';

  // eslint-disable-next-line @typescript-eslint/no-use-before-define
  @OneToMany(() => Order, order => order.customer)
  orders = new Collection<Order>(this);

}

@Entity({ tableName: 'orders' })
class Order {

  @PrimaryKey()
  id!: number;

  @Property()
  value: number = 200;

  @ManyToOne(() => Customer)
  customer!: Customer;

}

@Subscriber()
class OrdersSubscriber implements EventSubscriber<Order> {

  getSubscribedEntities() {
    return [Order];
  }

  async afterFlush(args: FlushEventArgs): Promise<void> {
    const changeSets = args.uow.getChangeSets();

    for (const changeSet of changeSets) {
      if (changeSet.entity instanceof Order) {
        await args.em.populate(changeSet.entity, ['customer']);
      }
    }
  }

}

let orm: MikroORM<SqliteDriver>;

beforeAll(async () => {
  orm = await MikroORM.init({
    entities: [Order, Customer],
    dbName: ':memory:',
    type: 'sqlite',
  });
  await orm.getSchemaGenerator().refreshDatabase();
});

afterAll(() => orm.close(true));

test('GH issue 3005', async () => {
  const a = new Order();
  a.customer = new Customer();
  await orm.em.fork().persistAndFlush(a);

  const order = await orm.em.findOneOrFail(Order, a);
  order.value = Math.floor(Math.random() * (200 - 1 + 1) + 1);
  await orm.em.flush();
});

Expected behavior
just having M:1 relation populated
Additional context

On mikro-orm v4.5 populate works as expected

Versions

Dependency
Version

node
14.18.3

typescript
4.5.4

mikro-orm
5.1.2

your-driver
postgres

here's the repo -> https://github.com/abelland/afterflush-populate
i tried to be as concise as possible to help you understand what's going on. take a look at Readme.md file
Thanks!

@B4nan any updates on this or any chance to help you finding out the problem? thanks

I tried to look into this a couple of times already, no luck so far. What would help is finding the commit that broke it, I added the test case to the OP so you could use that to bisect the history.

Ok, good news. Guess how many lines of code (without tests) it takes to fix this...

lol. Thank you! 😎


[#113458409] create dedicated router subnet

Move Router to it's own Subnet
What
Move the router to a subnet separate from the core CF and cell subnets, and update the ACLs to:

be more restrictive about traffic going into the CF subnet (remove the allow 1024-61000 rule)
allow the router to talk to components that it needs to in the CF subnet
allow the router to talk to high order ports in the cell subnet
allow return communication back into the router subnet as required

How this PR should be reviewed
The PR has been written in the following context:
I would like to:

Create a dedicated router subnet
Setup routing between the net router subnet to the other Cloud Foundry infrastructure Subnets
Added ACL for router and additional tagging to the other subnets so they can be easily identified in the AWS Console
Allow  traffic from the router network to the  Cell network
Allow  traffic from the router network to the  CF network
Allow  established traffic from the CF network to come back from router network
Move routers to new router subnet

How to review this PR

Deploy new environment and this new environment should pass the smoke tests and a test app and try and communicate with it

Who should review this PR

Anyone who thinks  was truly the greatest cartoon ever created Except @mtekel and @actionjack even though they are great fans of batfink and his wings which were like a shield of steel, they did also work on this story.

I think it makes sense if we also move the ELBs of the routers to the router subnet, by changing ${split(",", var.infra_subnet_ids)} with aws_subnet.router.*.id here and here

I think it makes sense if we also move the ELBs of the routers to the router subnet, by changing ${split(",", var.infra_subnet_ids)} with aws_subnet.router.*.id here and here

:+1:
Will that change the rules at all, e.g. allow us to tighten them?

I think it makes sense if we also move the ELBs of the routers to the router subnet

Will that change the rules at all, e.g. allow us to tighten them?

I don't think so,  basically because in the last commit we get rid of all the rules and simply allow any traffic to/from routers subnet.
But it will make it easier to handle security, as the "router ELBs" will be in the same network as the gorouters and this way we don't need to add any config allowing the traffic from ELBs and gorouters.
We can assume the ELBs are trustworthy and there is no need to configure ACLs.

I think it makes sense if we also move the ELBs of the routers to the router subnet

As discussed in person, this might be more tricky than what initially seems. You need to attach only public subnets to your ELB, no private.
If we want to change this we should change the router network to be public and routed to internet, and then either:

Add a ephemeral public ip to the routers, instead of using nat.
Or remove any internet access for the gorouters, not given them a public IP.

Other option is just leave it as it is and revisit in the future the configuration of the ELBs. It makes sense to create a dedicated subnet for these ELBs, rather than using the "infra" subnet where bosh and concourse are.

Other option is just leave it as it is and revisit in the future the configuration of the ELBs. It makes sense to create a dedicated subnet for these ELBs, rather than using the "infra" subnet where bosh and concourse are.

Let's leave it for now then. Can someone note in the story summary that we'd like a new story for the above?

done

LGTM


fix some article/noun mistakes?

for example, it will never be "an request", always "a request"

hmm grammar is a different story.  thinking...

Grammar is really hard.  There are tools that to it however -- https://languagetool.org  but complicated.


kernel Integration and more

This update is for kernels in webpages and especially ObjectLand.

There is quite a lot going on here. I don't think we want ObjectLand-specific code in the general codebase. Instead, we should refactor the codebase to provide the hooks outside code needs.
Also see #99 for defining that common code base.

I just removed unused/dead/ObjectLand-only code and refactored the platform subtype kernel detection


Right click>Paste doesn't work if box is empty

Hi
<bit quiet around here, isn't it?>
I'm unable to right click & paste the id number into the box if it is empty. If there's is a number & I 'select all' I can do this.
Ctrl V works as expected.

I'm not able to reproduce this. Can you try again on the more recent version of the website? If it still doesn't work, can you let me know what browser and OS you're trying it with?


Minor Changes

Improve readibility, assert messages and type hinting.

@sstoyanov7 I've cherr-picked one commit, reworded it and released as 3.0.1 as it was a bug relased in 3.0.0: https://github.com/clippings/clippings/pull/2090
On the other changes - I'd like to not diverge so much from the original as I would still like to see the original maintainer merge our changes so more people could make of them and use the service provider with Silex 2.x. I've pinged him earlier this week on his repo.

@hkdobrev, thanks for this cherry pick below.

@sstoyanov7 I've cherry-picked one commit, reworded it and released as 3.0.1 as it was a bug relased in 3.0.0: 0682560

On the other changes - I'd like to not diverge so much from the original as I would still like to see the original maintainer merge our changes so more people could make of them and use the service provider with Silex 2.x. I've pinged him earlier this week on his repo.

The question is do these changes help development and developers, regardless if developers are original maintainers or maintainers who work on the fork?
My humble opinion is that it they help development and everyone. Not to mention that original has not been updated for a long time.
At the end is your call.

We're in the process of going away from Kilte pagination and using exclusively a single pagination package from KnpLabs. So I don't see us maintaining this fork.


fix(universe/docker): support exporting relative to working directory

Unsure if this is a desired or not, but thought I would propose it.
I got stuck using docker package, after assuming export would resolve relative to workdir.
I started a little thread in the help channel in discord for my issue.
Eventually, I figured out what I was doing wrong and solved it with an absolute path.
This change updates files, directories and secrets within export to resolve any relative paths against the workdir base.

Thanks @marcosnils
qq. it says failed to execute plan: maximum timeout reached as the error, and I can't see any other kinds of failure (I did hit two previously, but I think I cleaned all those up).

Ah, seems there is an issue in there. I will investigate!

@marcosnils that one in Universe Tests - Europa timed out pulling from dockerhub.
Mind if I get a restart?

FWIW re flaky tests https://github.com/dagger/dagger/pull/2941#issuecomment-1215705175

Thanks, everyone 🙏

Thanks, everyone pray

thanks you for the contribution :raised_hands:


Progressively-enhanced select tries to filter by defaultValue

Screenshot

Reproduction steps

Set up a progressively-enhanced select with a null option and a defaultValue (eg defaultValue: 'Select...')
Click the dropdown arrow
Notice that no results are found
Clear the defaultValue text ("Select...") from the autocomplete box
Notice that results are now visible

What I expect to happen
When I have a null option with a defaultValue, I would expect clicking on the dropdown to do one of:

Clear the input field
Disregard the defaultValue when filtering options

This may be closely related to: https://github.com/alphagov/accessible-autocomplete/issues/205

It sounds like what you want to do is have defaultValue: "" and placeholder: "Select...".
defaultValue is a value, not a display element.

There's a related issue to this, which is:
Screenshot

Reproduction steps

Set up a progressively-enhanced select element
Select an item
Click on the dropdown arrow
I can only see the item I have already selected

What I expect to happen
When I'm clicking on the dropdown arrow, expect to see all the available options (as if the box was clear), instead of just being able to choose the option I've already chosen.

Unless I'm misunderstanding something, that is not related to this issue (it has nothing to do with defaultValue). I was just pointing out I don't think this issue is an issue.

it has nothing to do with defaultValue

Not according to the docs:

Default the autocomplete defaultValue to the select's option[selected]

@alecgibson could you raise that as a separate issue?

Raised here: https://github.com/alphagov/accessible-autocomplete/issues/240
Feel free to close this if you think this in particular is not an issue.

Hi @alecgibson
Thanks for raising this. Apologies for the long delay in replying to this.
As @dracos commented, it sounds like you might need to use defaultValue: "" and placeholder: "Select..."
From the screenshot you posted it looks like you're using the showAllValues: true version: unfortunately there's a bug with the placeholder in it that I just raised. So the solution for now would be to use the standard select.
Note also that placeholders are generally not recommended - a better solution might be to include any essential information in the label of the input and not to have a placeholder at all.
I'm closing this ticket as I think this is not an issue but please re-open it if you think otherwise.
Cheers,
Hanna