Too many update events

I see every 30sec an update event for the ingress rules. But i did not changed it. This cause a lot of unnecessary restarts of the haproxy-ingress-controller (same with the nginx-ingress)
k8s-v1.7.4
kubectl describe ingress entdecken-rules
  FirstSeen	LastSeen	Count	From			SubObjectPath	Type		Reason	Message
  ---------	--------	-----	----			-------------	--------	------	-------
  8d		8s		45025	ingress-controller			Normal		UPDATE	Ingress entd/entdecken-rules

My rules are not so complicated:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: entdecken-rules
  annotations:
    ingress.kubernetes.io/rewrite-target: /
    ingress.kubernetes.io/ssl-redirect: false
spec:
  rules:
   - http:
      paths:
      - path: /entd/hello
        backend:
          serviceName: hello-world-service
          servicePort: 8080
      - path: /entd/static-content/
        backend:
          serviceName: static-content-service
          servicePort: 8080
      - path: /entd/import-products
        backend:
          serviceName: static-content-service
          servicePort: 8080
      - path: /entd/import-categories
        backend:
          serviceName: import-categories-service
          servicePort: 8080
      - path: /entd/import-bestaende
        backend:
          serviceName: import-bestaende-service
          servicePort: 8080
      - path: /entd/export-richrelevance
        backend:
          serviceName: export-richrelevance-service
          servicePort: 8080
      - path: /entd/export-feeddynamix
        backend:
          serviceName: export-feeddynamix-service
          servicePort: 8080
      - path: /entd/mongoclient
        backend:
          serviceName: mongoclient-service
          servicePort: 8080
      - path: /entd/httpwatchdog
        backend:
          serviceName: httpwatchdog-service
          servicePort: 8080
      - path: /entd/frontend-recommendations
        backend:
          serviceName: frontend-recommendations-service
          servicePort: 8080

How can i figure out the cause of the updates?

@caraboides what version of the nginx ingress controller are you using?

@caraboides are you running multiple ingress controllers?

I use two different ingress controller, a haproxy-ingress and ngninx-ingress.
haproxy-ingress: v0.4-snapshot.3
nginx-ingress-controller:0.9.0-beta.7

@aledbf Thx log level -v=2 shows the issue,  we have some ingress definitions (in different namesapces)
-        ssl_certificate                         /ingress-controller/ssl/prfn-wildcard-prod-x-de.pem;
-        ssl_certificate_key                     /ingress-controller/ssl/prfn-wildcard-prod-x-de.pem;
+        ssl_certificate                         /ingress-controller/ssl/bewe-wildcard-prod-x-de.pem;
+        ssl_certificate_key                     /ingress-controller/ssl/bewe-wildcard-prod-x-de.pem;

And 30sec later i see
-        ssl_certificate                         /ingress-controller/ssl/bewe-wildcard-prod-x-de.pem;
-        ssl_certificate_key                     /ingress-controller/ssl/bewe-wildcard-prod-x-de.pem;
+        ssl_certificate                         /ingress-controller/ssl/prfn-wildcard-prod-x-de.pem;
+        ssl_certificate_key                     /ingress-controller/ssl/prfn-wildcard-prod-x-de.pem;

nginx-ingress-controller:0.9.0-beta.7

Please update to nginx-ingress-controller:0.9.0-beta.12

Both controller use all ingress rules.

Please disable the status update in one of the controller using the flag --update-status=false because on the contrary both controllers will try to update the ingress rules each 30 seconds

Why did the inress controller tryed to update the rules? I thought the controller is only a consumer of the rules.

Why did the inress controller tryed to update the rules? I thought the controller is only a consumer of the rules.

Because the status field belongs to the ingress rule

thx

Solution was to use only haproxy-ingress.

@caraboides just in case the nginx and haproxy controllers share the code that run the status update


Switch golangci-linter to whitelist mode

What this PR does / why we need it:
To avoid unnecessary frictions on every upgrade of golangci-linter now it's configured to operate under whitelist (of linters) mode.
Some additional configurations applied and identified problems are fixed.
NONE

/retest

/lgtm


Wrong JAR reference for sink.field-value-counter

Within
http://repo.spring.io/libs-release/org/springframework/cloud/stream/app/spring-cloud-stream-app-descriptor/Bacon.RELEASE/spring-cloud-stream-app-descriptor-Bacon.RELEASE.kafka-10-apps-maven-repo-url.properties
the value sink.field-value-counter points to a wrong JAR URL
http://repo.spring.io/libs-release/org/springframework/cloud/stream/app/field-value-counter-sink-kafka-10/1.2.0.libs-libs-release/field-value-counter-sink-kafka-10-1.2.0.RELEASE.jar
The part "1.2.0.libs-libs-release" is wrong an should be "1.2.0.RELEASE".

Hi, @adersberger: Thanks for reporting this! We will get it fixed. 😄

@adersberger This issue is resolved.


Subtitle appearing twice

Have you read the FAQ and checked for duplicate open issues?
yes
If the problem is related to FairPlay, have you read the tutorial?

not related
What version of Shaka Player are you using?

4.7.11
Can you reproduce the issue with our latest release version?
yes
Can you reproduce the issue with the latest code from main?
not applicable
Are you using the demo app or your own custom app?
custom
If custom app, can you reproduce the issue using our demo app?
not applicable
What browser and OS are you using?
LG WebOS
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
LG model 55UK6400PLF, webOS 4.4.2-11 and a few other LG model tv and webOS versions
What are the manifest and license server URIs?

What configuration are you using?  What is the output of player.getConfiguration()?

{
  "drm": {
    "retryParameters": {
      "maxAttempts": 5
    },
    "servers": {
      "com.widevine.alpha": "****"
    },
    "advanced": {
      "com.widevine.alpha": {
        "distinctiveIdentifierRequired": false,
        "persistentStateRequired": false,
        "videoRobustness": "SW_SECURE_DECODE",
        "audioRobustness": "SW_SECURE_CRYPTO",
        "sessionType": "",
        "serverCertificateUri": "",
        "individualizationServer": ""
      }
    }
  },
  "manifest": {
    "retryParameters": {
      "maxAttempts": 5
    },
    "availabilityWindowOverride": null
  },
  "streaming": {
    "retryParameters": {
      "maxAttempts": 5
    },
    "rebufferingGoal": 8,
    "bufferingGoal": 32,
    "stallThreshold": 2,
    "stallSkip": 0.05
  },
  "mediaSource": {},
  "offline": {},
  "abr": {
    "defaultBandwidthEstimate": 10000000,
    "restrictions": {
      "minWidth": 1
    }
  },
  "preferredAudioLanguage": "no"
}

What did you do?

Play a video with subtitle
What did you expect to happen?
Only one line of subtitle to appear
What actually happened?

Occasionally the subtitle will appear twice at different position
Video
https://github.com/shaka-project/shaka-player/assets/119855296/b8038fcb-dacb-45ea-a6c3-333fe59537f1
Image

VTT subtitle files (segments 37 and 38)
vtt.zip
Are you planning send a PR to fix it?
Additional notes:
There is no textDisplayFactory set in our configuration and we are using the default. We are also not calling setVideoContainer

Duplicate of https://github.com/shaka-project/shaka-player/issues/7293

@avelad, think you tag the wrong ticket. I am unable to open https://github.com/shaka-project/shaka-player/issues/6007 that's why i created a new ticket with more information

This is duplicate of https://github.com/shaka-project/shaka-player/issues/6773 It's a problem in the platform itself that we need to fix somehow :/


Update terminology to refer to "main" and "secondary"

This was something mentioned on the stream as a thing that should be done, so I think I've done it. Not a JS dev, but this was mostly find and replace, and it seemed to make sense and the tests pass at least.
$ npm run build && npm run test

><EMAIL_ADDRESS>build /Users/Edd/code/oled-js
> tsc -b

><EMAIL_ADDRESS>test /Users/Edd/code/oled-js
> node tests/unit/oledjs.spec.js | tap-spec

  drawPixel outputs correct buffer

    ✔ should be truthy

  total:     1
  passing:   1
  duration:  255ms

$ rg -i 'slave|master'
CONTRIBUTING.md
16:2. Make your changes in a new git branch: `git checkout -b my-fix-branch master`
20:6. Rebase on master if your branch falls behind on commits
22:8. In GitHub, send a pull request to `oled-js:master`. Include an explanation of what you did, and reference any issues if they are related.

README.md
32:[Fritzing diagram is here](https://raw.githubusercontent.com/noopkat/johnny-five-oled/master/docs/fritzing/i2C_128x32_Uno.png). Look up the correct pins if using a board other than Arduino.
36:1. `git clone` this repo (get latest release instead of master branch)

hey @eddarmitage thanks for doing this work! Everything looks fine and if it compiled then I trust TypeScript 😄
Thanks for making this library feel more inclusive, avoiding legacy / not super great naming conventions in the EE field.


chore(profiling): add missing pre-compiled darwin binary

In commit 66ed11a7ff95a861c1e63958b476770f4c2bff52 the pre-compiled
binaries for darwin in packages/shared-metrics were added to source
control and the corresponding packages/shared-metrics/addons/.gitignore
file was removed. However, I failed to also remove
packages/autoprofile/addons/.gitignore, so when we rebuilt binaries for
Node.js 16/ABI version 93 we missed the fact that the latest Darwin
build for autoprofile was not under source control.
Note that the pre-compiled darwin binaries folder is only removed from
.gitignore and the missing file for ABI version 93 is added to source
control. Pre-compiled binaries for Darwin will not be included in the
package released to the npm registry
(see packages/autoprofile/package.json#files). To keep packages small,
only pre-compiled binaries for Linux (glibc and muslc) are included in
released packages.
Note: The missing precompiled binary made the test
packages/collector/test/profiling/test.js and tests in
packages/autoprofile fail on Darwin under Node.js 16, unless you had
build the native add-on locally first.

Gnaaa. Build is failing with
@instana/core: > npm audit --production
@instana/autoprofile: # npm audit report
@instana/autoprofile: tar  <=4.4.17 || 5.0.0 - 5.0.9 || 6.0.0 - 6.1.8
@instana/autoprofile: Severity: high
@instana/autoprofile: Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links - https://npmjs.com/advisories/1779
@instana/autoprofile: Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links - https://npmjs.com/advisories/1780

This is a new vulnerability only reported yesterday. We need to update the tar dependency but I would do that in a separate PR.


:art: Improvements and Enhancements

Improvements
Looking at your code, there are a number of issues pointed out that need improvement and they will help make your code look professional :sunglasses:

Looking at the screenshot above

Try adding  some interactivity with your cards, to help improve UX of the users. You can add some hover effects to the card an example you can have a translate of the card when hovered, here is a link on CSS translate WebDocs Documentation or you can add some border to it when hovered.

Acceptance Criteria

[x] Use of CSS hover pseudo-selector

Let's take your code to the next level :sunglasses: , you can do it :100: :muscle:

Thank you so much. I have done the necessary changes and thank you for the kind words.

Please feel free to check it 😄

Thank you so much. I have done the necessary changes and thank you for the kind words.

Please feel free to check it 😄


bug: ion-label breaks page when in sub ngFor iteration

Type: bug
Ionic Version: 2.x
Platform: desktop browser
After looking at various examples and reading through the documentation, it appears, after a series of tests, as though this could be a bug.
Similar to the documentation, if I write this:
<ion-list>
   <ion-item *ngFor="#item of items">
           <ion-label>item.label</ion-label>
           <ion-input type="text" [(ngModel)]="item.value"></ion-input>
   </ion-item>
</ion-list>

This works fine, but if another nested iteration is required, such as:
<ion-list>
      <ion-item *ngFor="#item of items">

            Item {{ item.id }}

            <ion-list>
                  <ion-item *ngFor="#detail of item.details">
                        <ion-label>detail.label</ion-label>
                        <ion-input type="text" [(ngModel)]="detail.value"></ion-input>
                  </ion-item>
           </ion-list>

     </ion-item>
</ion-list>

then the list just appears as a series of blank list items, with no content. Inspecting the HTML confirms that there is no data present.
However, if I remove just the 'ion-label' element, then the list appears correctly.
So it seems as though the 'ion-label' element is causing the page to break, but only when placed within a nested iteration.
Thanks

Thanks for submitting this issue and thanks for the code samples! Would you mind running ionic info and pasting the output here?

Hello! Thanks for opening an issue with us! Since it has been a little while since there was any activity on this issue i will be closing it, but feel free to reopen this issue if needed!

Hi, sorry for the late response!
Here is the info. I've updated to the latest version of Ionic 2 Beta but still seeing the issue -
Cordova CLI: 6.1.1
Ionic Framework Version: 2.0.0-beta.3
Ionic CLI Version: 2.0.0-beta.24
Ionic App Lib Version: 2.0.0-beta.14
ios-deploy version: 1.8.5
ios-sim version: 5.0.4
OS: Mac OS X El Capitan
Node Version: v0.12.2
Xcode version: Xcode 7.0.1 Build version 7A1001

It appears I'm not allowed to reopen this issue, so could this be reopened by yourselves? Thanks

Because you're placing ion-labels within an ion-list that's nested within an ion-item, the top most ion-item is correctly pulling out the ion-label for content projection on the top level ion-item. I would recommend no nesting an ion-list within another ion-item when using an ngFor like this. Sorry for not having a better answer, but I believe this would be expected behavior for Angular 2.

Having a nested list within a list seems like a reasonably routine requirement. Whats the best way to achieve this? I have a list showing activities, and each of those has a varying number of steps. I need to show a lable and checkbox for each of those steps. How to show the label with this current projection bug?


Watermark handling

Hi, thank you for sharing your implementation.
I figured that all the videos from the WebVid dataset have watermarks.
I believe they would critically influence the training of video generative models, inevitably generating watermarks.
I do spy some watermarks from the samples you have shared, but was surprised that some of them didn't have watermarks.
Could there be any tips that you could share to avoid watermark generation?

Some methods you can try

Add some videos without watermark into training data, add some special text mark for them distinguishing with webvid videos. At inference stage, add special text mark  into negative prompt.
Or finetune with videos-no-watermark, ~1w could be enough according to zeroscope. https://huggingface.co/cerspense/zeroscope_v2_576w
Train on 256256 and inference in 384384, but result could get worse.

Thanks for sharing!


New mod mail tagging is broken with native modmail threading

It's not entirely broken, which why it was hard to notice.  In the name of efficiency we compare $modmailThread.find('.entry:last')s timestamp to our lastChecked timestamp.  If it's older, we stop processing that thread for new entries, if it's not, we traverse up the .entrys until we find one that is and break.
Obviously, .entry:last is no longer the newest reply.  Which is why our testing of this was looked fine.  All the replies were in-line, just threaded.
There's two issues here: tagging new replies, and tagging a thread has having new replies.  The latter is simple, if @bsimpson63 adds a class to the last reply in a thread, we can use its timestamp to tag threads with new replies.
The former issue is harder.  To tag all the new replies as being new, we'd have to go back to processing every reply for its timestamp.  Which is a huge page load issue.
Thoughts?

\o/ issue 600!  400 more and we get the "your project is shit" trophy on GH.

It's easy to add a class to the most recent message in a thread, but you could also figure it out based on the message ids (the newest message has the highest id). Is that possible, or would you rather have the class?

The class is much easier to $('.last-reply .head').append('<stuff>') and handle the entire page in one shot.  Since there can be up to 100 of them.  The other way we have to compare up to 100 thing_id's against their parents. (with .last-reply being whatever class you add.)

https://github.com/reddit/reddit/commit/7656c7a7bd2c4e11894cb0678561867131df87d6 was just deployed.

You are awesome! <3

This is fixed, right?

Nope: http://i.imgur.com/7gKsTCU.png


cannot compile example on visual studio 2017

env: visual studio 2017 (15.8.2)
sol2 version: develop
step:
1、use cmake generating visual studo project
2、compile example basic
complier output:
e:\f\library\sol2\include\sol\stack_core.hpp(1005): fatal error C1001: an internal error occurred in the compiler
2>(compiler file“f:\dd\vctools\compiler\cxxfe\sl\p1\c\yyaction.cpp”，line 3674)
stack_core.hpp(1005):
	template <typename T, typename Handler>
		bool check(lua_State* L, int index, Handler&& handler, record& tracking) {
			if constexpr (meta::meta_detail::is_adl_sol_lua_check_v<T>) {
				return sol_lua_check(types<T>(), L, index, std::forward<Handler>(handler), tracking);
			}
			else {

				using Tu = meta::unqualified_t<T>;
				qualified_checker<T, lua_type_of_v<Tu>> c;
				// VC++ has a bad warning here: shut it up
				(void)c;
				return c.check(L, index, std::forward<Handler>(handler), tracking);
			}
		}

Nothing I can do. You need to turn off the /permissive- flag that is turned on by default but is still buggy.
The issue that causes this problem is fixed, but only for a release that's probably months from releasing right now, see: https://github.com/ThePhD/sol2/issues/821#issuecomment-497185928


Export Labels to Cloud Storage using API

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Is your feature request related to a problem? Please describe.
I have to manually export annotations to cloud storage using the UI
Describe the solution you'd like
Allow the GET /api/tasks/{id}/annotations/ and /api/jobs/{id}/annotations/ to download annotations to cloud storage in API
Describe alternatives you've considered
No response
Additional context
This used to be possible in previous versions

These methods are for internal use only, please refer to API documentation for details.


Client Allocation Request for: FileDrive

Client Allocation Questions
Core Information

Name: FileDrive
Website / Social Media: filedrive.io
DataCap Requested: 5TiB
Addresses to be Notarized: f3wgfwtrs5p6jrkwfl2mksqa2ivgbgdjjrhjbefy3n7qzvotc3y6sazmp5gfyj7um6jlgdvlbiepzawnc6wxtq
Notary Requested: ann-shin

Thank you for your application. Because of our account problem, you need to login plus.fil.org to apply again.

This user’s identity has been verified through filplus.storage


why do you use Splunk

Hi, i am reading your repository and i love it, but i have a question, why do you use Splunk ? Can u tell me your purpose, the pros and cons of Splunk, why don't u use Micrometer, Prometheus, grafana. Thank u so much

Hi,
Comparing to other tools are more marketing thing, but I can share with you what are the key points from my experience:
-> Splunk is great searchable database that you can monitor and visualize and organize your data.
-> Splunk is a integrated platform that you have hosted data collection, monitoring, visualization, analysis and storage service all in one place
-> users are super happy with the support we provide
-> there are tones of TAs available for free which are super helpful for the integration with other software
-> awesome querying language SPL(2)
-> very efficient search
-> mappings to CIM for complex envs
Hope that helps!

Hi @fizz12344321,
Hope this message answers your question.
Hence, closing this issue.
Please let us know in case of any further queries.


MySQL Dev - Issue tracking associated with MySQL Fork

MySQL in dev phase - nothing currently working.

Fork created here:
https://github.com/sgoley/DirectQuery-for-ODBC-in-PowerBI/tree/MySQL_Dev


how to solve /monitor endpoint does not notify Spring Cloud Config Client in Finchley.BUILD-SNAPSHOT

Hello there,
Someone has issued the same quest before: https://github.com/spring-cloud/spring-cloud-bus/issues/112.
Today I met again:
I have added spring-cloud-config-monitor to call /monitor endpoint via webhook, however the config client does not refresh the configuration when the webhook is triggered.
I also have exposed the /actuator/bus-refresh endpoint to make local test and this works perfectly.
spring version:
spring-boot: 2.0.2.RELEASE
spring-cloud: Finchley.BUILD-SNAPSHOT
Here's my code:
Config server : https://github.com/cs1145461707/config
Config Client: https://github.com/cs1145461707/client
Eureka Server: https://github.com/cs1145461707/eureka
git which has config files: https://github.com/cs1145461707/config-repo
Spencergibb has answered this question, that's it's caused by name mismatching.
Then someone in the article, which is above links refers to, said his application name didn't have a dash in it. But the dashes in app name is getting added via spring cloud jars ：
2018-04-19 19:05:26.352  INFO 67226 --- [           main] o.s.c.stream.binder.BinderErrorChannel   : Channel 'rickle-1-1.sunand.anonymous.1D6VdnJWQrqyyDVKPlvi4A.errors' has 1 subscriber(s). 2018-04-19 19:05:26.352  INFO 67226 --- [           main] o.s.c.stream.binder.BinderErrorChannel   : Channel 'rickle-1-1.sunand.anonymous.1D6VdnJWQrqyyDVKPlvi4A.errors' has 2 subscriber(s). 2018-04-19 19:05:26.370
Considering all from the 112 issue and what i met, right now I am confused about how to solve this problem, what is the sulution? Can you please let us know how to correct this?

see https://github.com/spring-cloud/spring-cloud-bus/issues/124


Windows 10 Cleanup File Script Typo

Based on the file names in the scripts directory, the command to run the Windows 10 cleanup script should be:
powershell.exe -NoProfile -ExecutionPolicy Bypass "& '.\Windows10_Cleanup.ps1'"

instead of
powershell.exe -NoProfile -ExecutionPolicy Bypass "& '.\WindowsCleanup.ps1'"

Thank you very much for your feedback. I have modified the scripts accordingly.


[ARCTIC-1016] Moving files will fail if the target parent directory doesn't exist in HDFS

Why are the changes needed?

Fix #1016
Brief change log
*Exception thrown when FileSystem returns false.
*If the new path does not exist during Support Hive Commit,  and then create it.
*Fix some simple grammar errors.
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before making a pull request

Documentation

Does this pull request introduces a new feature? (no)

cc @zhoujinsong

I have cherry-picked it to 0.3.x


13 Sep 2021 - Product Control Common Template Meeting Minutes

Date
Monday, Sep 13 2021 - 10am ET / 3pm GMT
Untracked attendees

Fullname, Affiliation, GitHub username

Meeting notices

FINOS Project leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda

[ ] Convene & roll call

[ ] Display FINOS Antitrust Policy summary slide

[ ] Review Meeting Notices (see above)

[ ] Quick re-cap of the proposed data transformation workflow

[ ] Current testing update

[ ] Demo on the JAR execution for data submission

[ ] Q&A

Given the testing update and JAR Demo will be more on a technical front, we highly recommend participants to join the meeting along with a colleague with technological background (Coding) to be able to provide a feedback on the testing

Decisions Made
Action Items
WebEx info

Meeting link: https://finos.webex.com/finos/j.php?MTID=m6e9255a2368279a9f1857f176cbf2c1a
Meeting number:<PHONE_NUMBER>
Password: J2SqF2Kp5X2
Call-in:

Join by video system: Dial<EMAIL_ADDRESS>You can also dial <IP_ADDRESS> and enter your meeting number.
Join by phone: +1-415-655-0003 US Toll | +44-20319-88141 UK Toll | Access code:<PHONE_NUMBER>

Julia/ FINOS

Attending from Skylight IPV:
Ashley Mercer
Richard Cade

Beeke-Marie Nelke/ GS

Aitana Myohl / FINOS

Present

Hi

Sundraarama Ravichandran, RVS

Jane Gavronsky @ FINOS here

Kenneth Poon / GS

Untracked attendees:

Dave Watrhen
David Loin
Ruddy Vincent
Ephrim stanley
Abhishek Agarwalla
Juan
Mauricio Uyaguari


Make  text more readable in Ocean theme.

Hi.
Depending on browser/fonts it can be hard to distinguish text in  blocks from regular text, and this makes the Haddock generated documentation harder to read, in my opinion. How about doing something like this instead? (Inspired by bootstrap.css...)
(I'm not a designer, so don't really know for sure if this is a good idea or not.)

Hey, thank you for your suggestion. Could make a screenshot or demo for me to see how it looks?

I tried injecting the .css change into my browser, but it interacts weirdly with doctest markup:

Hi. I think I'll have to take a closer look at this. (Also having trouble with the build. Need to learn Cabal. :) )

@skrytebane I can only recommend cabal new-build for this. Also you will need ghc-8.2.1 to build the master branch.


Introduce CLI command to run a plan

What would you like to be added:
Right now if you want to manually trigger a plan (e.g. backup) you can no longer just create plan execution CRD and add that through kubectl. You would have to:

create the planexecution CRD
update status of Instance that you want to run the plan on and set the reference to planexecution in status.activeplan

Since it's two step and kind of complicated because of that, it would make sense to introduce CLI command to make it easier.
Why is this needed:

With KEP-18 running a plan became more complicated. Actually implementing this means that we'll stick to current non-ideal design. Maybe part of this should also be a KEP explaining the options


How to use this lib in APP_INITIALIZER

Describe the bug
We want to use this lib in angular7 better in APP_INITIALIZER process, is there any guide or sample for this, many thanks.
Our idea is when in app initializing process

call tryLogin
see if there hasValidAccessToken,
2.1 no valid token -- call the initImplicitFlow
call tryLogin  again

Stackblitz example
Provide a minimal stackblitz based example that shows the issue. For this, you can use the example application of this repo and the identity providers used here.
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

What reason is there to to them that early. It would be better to perform those functions inside the AppComponent, not in an APP_INITIALIZER factory function. You might use APP_INITIALIZER to obtain the configuration before your OAuthModule is configured and AppComponent is initialized but you do not perform the rest of the functions in there.

https://github.com/manfredsteyer/angular-oauth2-oidc/blob/master/projects/sample/src/app/app.module.ts
https://github.com/manfredsteyer/angular-oauth2-oidc/blob/master/projects/sample/src/app/app.component.ts

Please also check #606 and #607 - asynchronous APP_INITIALIZERs in combination with this library do not work too well. I recommend avoiding them, and keeping your initializer simple and synchronous.
To provide you with an alternative: I recommend the approach I take in my sample app where the asynchronous logic for logging in is translated to some boolean observables, and then base a loading overlay on that, as well as using async Route Guards that prevent protected routes from being loaded until the asyn login sequence is done.
I guess the direct answer to your question ("are there docs for this?") is: no, there aren't any. It does seem like a common and reasonable thing to ask though, and as long as the core issues aren't solved it might be best if we have some explicit documentation about this. So I'll leave this issue open to track that potential docs addition, ok?


Colors of Image Icon

I wanted to use a multi color image as my icon the way it was. But when i made it an image icon it got decolorized. How do I restore the original colors?

I wanted to use a multi color image as my icon the way it was. But when i made it a image icon it got decolorized. How do I restore the original colors?

Can you provide some example code (even if not your image)?

Hey @eseidelGoogle sorry for the late reply. This is my code that I have used
new ListTile(
title: new Text("Saved Searches"),
leading: new ImageIcon(new AssetImage('assets/SaveMenu.png')),
onTap: () {
Navigator.popAndPushNamed(context, '/SavedSearches');
},
)

Try wrapping the ImageIcon in an IconTheme whose color is null.
We should offer a way to opt-out of the colourising, though.

Most of the ListTile visual defaults are configured with the inherited ListTileTheme.
The default IconTheme iconColor is black, but in ListTiles the default is supposed to be grey (Colors.black45). So if a ListTileTheme.iconColor isn't specified we don't default to the IconTheme's iconColor, we default to grey.
You can get the effect you want by wrapping the Scaffold and the Drawer with:
new ListTileTheme(
  iconColor: Colors.blue,
  child: ..
)

Unfortunately, the same issue exists with ImageIcon's width, height, and opacity parameters. I don't think we'd want to gradually introduce overrides for them, since ImageIcon really doesn't do very much.
It might be simpler to just use Image directly, if the ImageIcon class is getting in the way.
    Semantics(
      label: mySemanticLabel,
      child: Image(
        image: myImage,
        width: myIconSize,
        height: myIconSize,
        fit: BoxFit.scaleDown,
        alignment: Alignment.center,
        excludeFromSemantics: true,
      ),
    );

The whole point of using ImageIcon is to honour the height and width, so I'm not too worried about that. The opacity... maybe. I'd have to see specific examples where that's an issue.

I have the same issue, and I need to use the image in NavigationBar.

This issue is reproducible in 1.20.0-7.1.pre.

 flutter doctor -v
[✓] Flutter (Channel dev, 1.20.0-7.1.pre, on Mac OS X 10.15.5 19F101, locale en-AO)
    • Flutter version 1.20.0-7.1.pre at /Users/pedro/dev/SDKs/flutter_dev
    • Framework revision 7736f3bc90 (5 days ago), 2020-07-10 16:33:05 -0700
    • Engine revision d48085141c
    • Dart version 2.9.0 (build 2.9.0-21.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/pedro/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Users/pedro/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6514223/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Google Chrome.app/Contents/MacOS/google-chrome-unsafe

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] Android Studio (version 4.0)
    • Android Studio at /Users/pedro/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6514223/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.1

[✓] Connected device (4 available)
    • AOSP on IA Emulator (mobile) • emulator-5554 • android-x86    • Android 9 (API 28) (emulator)
    • macOS (desktop)              • macos         • darwin-x64     • Mac OS X 10.15.5 19F101
    • Web Server (web)             • web-server    • web-javascript • Flutter Tools
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 83.0.4103.116

• No issues found!

I'm using these red rounded icons and it got decolorized,

child: IconButton(
icon: ImageIcon(AssetImage("assets/icons/library.png")),
onPressed: (){
          },
        ),

library.png look like black

I'm interested in resolving this issue, does anyone have any suggestions for improvements to the API?

IMO ImageIcon is a wrapper for semantics and other properties, especially when you're using it in BottomNavigationBar. The item should change color according to your configuration in the bar. So it can be use to sync properties with parent's theme, otherwise you don't need to use the ImageIcon.

I can reproduce this issue with Master (3.7.0-4.0.pre.48). Updating labels to reflect the same

Code Sample
import 'package:flutter/material.dart';

const Color darkBlue = Color.fromARGB(255, 18, 32, 47);

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData.dark().copyWith(
        scaffoldBackgroundColor: darkBlue,
      ),
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: MyWidget(),
        ),
      ),
    );
  }
}

class MyWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return ImageIcon(
      NetworkImage('https://cdn-icons-png.flaticon.com/512/458/458842.png'),
    );
  }
}


Tweak vertical spacing in Markdown content styles

Description
This is a subtle change to Starlight’s default content styling that should improve most sites:

Default vertical spacing between content items is reduced from 1.5rem to 1rem.
Spacing before headings is now relative to font size, meaning higher-level headings have slightly more spacing and lower-level headings slightly less.

The overall impact is to tighten up content that belongs together and improve the visual hierarchy of headings to break up sections.
Helpful pages to check:

Authoring content guide: before / after — has a big range of content types to see the overall impact
Overrides props: before / after — example of tightening up API docs-style sections

size-limit report 📦

Path
Size

/index.html
5.21 KB (-0.02% 🔽)

/_astro/*.js
21.42 KB (0%)

/_astro/*.css
13.05 KB (+0.02% 🔺)

Spacing before headings is now relative to font size

Wasn't this already the case?

Previously all headings had a top margin of 2.5rem, i.e. relative to base font-size of 16px a static value of 40px. This is now 1.5em, so relative to the heading’s size. In practice this means <h2> has a bigger margin than before, <h3> is more or less the same, and <h4> and down have less margin than before.
We don’t have heavy usage of <h4> in the Starlight docs, so this isn’t super obvious but the “Code blocks” section of our Markdown docs helps show this nicely I think.

Thanks for the explanation that made me understand my confusion: I'm blind, I read in the changes that the old value was 2.5em; but it is in fact 2.5rem; :sweat_smile:


multidomain Cache

Is it Somehow possible to make a subdirectory for the cache? We serve multiple domains via one laravel Project.
e.g. testsite1.de, testsite1.at, testsite1.com
unfortunately the index file is always overwritten and/or serves the wrong website.

We are facing the same challenge.

If you are not caching the routes in production, you can have each domain have it's own page cache using the following command:
use Silber\PageCache\Cache as PageCache;
app()->make(PageCache::class)->setCachePath($folder);

This works well if you have a separate routes/domain.php file per domain rather than using the default routes/web.php. Just at that command to the top of each routes file.


Update viewmodel to 1.10.11 in package.json

Update viewmodel to 1.10.11 in package.json in order to include fix options indexes

Thanks!


XMLSchema not found

Currently getting this build error for my branch:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile (default-testCompile) on project rdf4j-shacl: Compilation failure
4756
[ERROR] /home/runner/work/rdf4j/rdf4j/core/sail/shacl/src/test/java/org/eclipse/rdf4j/sail/shacl/AbstractShaclTest.java:[298,30] error: cannot find symbol
4757
[ERROR]   symbol:   variable XMLSchema
4758
[ERROR]   location: class AbstractShaclTest
4759
[ERROR] -> [Help 1]
4760
[ERROR]
4761
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
4762
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
4763
[ERROR]
4764
[ERROR] For more information about the errors and possible solutions, please read the following articles:
4765
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
4766
[ERROR]
4767
[ERROR] After correcting the problems, you can resume the build with the command
4768
[ERROR]   mvn <args> -rf :rdf4j-shacl
4769
##[error]Process completed with exit code 1.

@jeenbroekstra is maybe using extends making the old XMLSchema class incompatible with the pervious implementation of that class?

Build failure: https://github.com/eclipse/rdf4j/pull/2229/checks?check_run_id=708561487

This looks odd to me. As far as I know this kind of change should normally be binary compatible (a giveaway is also that none of our compatibility checkers failed).

The only thing I can think of is that your branch is perhaps not fully rebased against develop, and because on develop I replaced the use of XMLSchema with XSD in that file, the CI build gets confused when it tries to do the merge build.

I left a comment on your PR which I hope explains what the problem is and how you can fix.


Link directly to subpages of a package

It would be lovely to be able to link directly to the subpage of a package, so that one can link directly to the page they are interested in.  I understand this can be done by appending an anchor or id...or some other string that the javascript can handle... to the url's fragment.
(By subpage, I mean the Dependencies graph, the version history, the download statistics, etc)

I was talking about this with @nlhkabu earlier today! Tagged it with design since this is in her domain :]

Yes, as discussed this will most likely require a new JS tab plugin.  I'm happy to look into some lightweight alternatives to what we are currently using (http://refills.bourbon.io/)


Screenshots of Centrepoint app

Hi guys... looking good!

@Hafsahfg This the final page

this looks great :-)

alternative copy for welcome page:
WELCOME!
You can use this app to request information from when you were at Centrepoint:

address history
rent arrears report
rental reference

First step - log in using YOTI so we can check you are who you say you are!
(LOG IN WITH YOTI)


Bridge

Cluster definitions are automatically generated from the IDL and
devices automatically route read/writes to the appropriate cluster.
Writes can be intercepted on a per-cluster basis to talk to whatever
bridged backend there is.
Bridge includes an interactive CLI to modify and inspect bridge state
b/225921621
Testing
Manual testing with chip-tool on linux.
Add device to bridge via CLI
new-device switch
finish-device
Then read the newly added switch device's attributes
Then change attribute via set and read new value

As per our conversation, here're the four things we should fix to make this more re-usable and integratable into the broader SDK in the near future, since I think there are a number of concepts here worth leveraging going forward:

Nullable and Optional specialization of Attribute<T> is inverted with what we have in the SDK's cluster object types. I'd rather we flip it to make it similar, i.e

Nullable<ArrayAttribute<int>>, or Nullable<ArrayAttribute>, etc.
To do that, we might need to add a new file similar to src/app/data-model/Encode.h, Decode.h containing methods that permit path to provided to these 'container', non-view classes:
template <typename X, std::enable_if_t<DataModel::IsList<X>::value, bool> = true>
CHIP_ERROR EncodeWithPath(ConcreteDataAttributePath &path, chip::app::AttributeValueEncoder & encoder, X &x)
{
     return x.Encode(path, encoder);
}

template <typename X, std::enable_if_t<DataModel::IsList<X>::value, bool> = false>
CHIP_ERROR EncodeWithPath(ConcreteDataAttributePath &path, chip::app::AttributeValueEncoder & encoder, X &x)
{
     return encoder.Encode(x);
}

Create an AttributeInterface class that has pure virtuals for:
CHIP_ERROR Write(const chip::app::ConcreteDataAttributePath & aPath, chip::app::AttributeValueDecoder & aDecoder) = 0
CHIP_ERROR Read(const chip::app::ConcreteReadAttributePath & aPath, chip::app::AttributeValueEncoder & aEncoder) = 0

As well as containing the metadata information. This then makes it easy to track the attributes in a list, as well as dynamically create the metadata table from this very information.

ClusterInterface could then pivot to having a list of AttributeInterface items.
To simplify the PR, remove the fixed, non-stl variants and just have the STL variants for now for bridges. This minimizes the scope of the PR and makes it more easy to integrate.


[eas-cli] [ENG-9175] Update oclif version

Why
https://linear.app/expo/issue/ENG-9175/update-oclif-in-eas-cli
How
Updated versions of oclif package, packages in @oclif/ space (mostly those depending on deprecated @oclif/screen package, as well as dependencies that themselves use oclif and used to depend on older versions
Test Plan
Automated tests

TL:DR I had to abandon upgrading @oclif/core to any version above v1 (current version is v4), I can elaborate more during sync. Current versions of dependencies are the newest non-breaking versions


use the tools.deps built-in resolver, rather than custom

The custom deps resolution in the Lambda build is brittle.  @tvanhens suggests using tools.deps own, more-robust mechanism, which would be ... more robust.

This is no longer relevant due to using stedi/lambda for builds now which relies on pack to handle dependency resolution.


feat: support fast build tiflash at nightly

Why:

enable experimental tiflash pipeline at nightly build
fix tiflash pipeline

How:

can choose skip tiflash in the optimization pipeline, avoid conflict

/review default


IN/OUT fields

Any particular reason you got rid of the IN/OUT fields (from deploy-preview-368)  in beta.teloscan.io? Imo, it is nice having them, as it makes it easier to navigate through bunch of transactions when you are looking for something. Anyways, the new version looks and feels very good!

https://www.teloscan.io/address/0xc96afc666A4195366a46E4ca8C4f10f3C39Ee363 example


Add response on ping X-GitHub-Event

Greetings again
When I add webhook(according to https://github.com/OrkoHunter/pep8speaks/wiki/Instructions-to-deploy-a-fork#step-4--configure-webhooks) GitHub sent first request with X-GitHub-Event: ping in request header and app crashes
2017-04-26T19:47:44.333012+00:00 app[web.1]: [2017-04-26 19:47:44,332] ERROR in app: Exception on / [POST]
2017-04-26T19:47:44.333025+00:00 app[web.1]: Traceback (most recent call last):
2017-04-26T19:47:44.333028+00:00 app[web.1]:     response = self.full_dispatch_request()
2017-04-26T19:47:44.333027+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
2017-04-26T19:47:44.333029+00:00 app[web.1]:     return self.finalize_request(rv)
2017-04-26T19:47:44.333029+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1630, in finalize_request
2017-04-26T19:47:44.333028+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1615, in full_dispatch_request
2017-04-26T19:47:44.333030+00:00 app[web.1]:     response = self.make_response(rv)
2017-04-26T19:47:44.333033+00:00 app[web.1]:     raise ValueError('View function did not return a response')
2017-04-26T19:47:44.333030+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1725, in make_response
2017-04-26T19:47:44.333036+00:00 app[web.1]: ValueError: View function did not return a response

maybe it's more preferable to sent Response(status=200) ?
p.s. after this on pull request app works good.

@chinskiy The app doesn't technically "crash" and so this is just in the logs. But sure, it can be improved. Feel free to go ahead. :)

@OrkoHunter yes I understand that app still running and check PR but it confuses, I spent half of an hour thinking on whats wrong - why I got 500 in response.
Okay, will make PR tomorrow.

Oh! I am really sorry for the confusion.

@OrkoHunter pull #34 merged - I this issue could be closed.


Unable to retrieve matched value from a FormFlow regex pattern

I am trying to retrieve phone numbers using the following code in my form:
    [Prompt("What is your new number?")]
    [Describe("Phone Number")]
    [Pattern(@"(\+?(\d{2})?[ -]?0?\d[ -]?\d{4}[ -]?\d{4})")]
    public string phone { get; set; }

    public static IForm<ContactDetails> BuildForm()
    {
        return new FormBuilder<ContactDetails>()
            .AddRemainingFields()
            .Confirm("Is this phone number correct?"
                + "\n* Phone Number: {phone}")
            .Build();
    }

When the user replies to the prompt with a string such as "My phone number is 02 5554 7429" I am trying to capture the phone number only and store that to the phone field,
however currently it just stores the whole string not the section that was matched which is what would be preferred in the Confirm prompt.
Is it possible to set the phone field to just what the pattern matches within Form Flow?

Managed to extract the substring that matched the regex pattern by using validate: in .Field() when instantiating form builder like so:
   return new FormBuilder<ContactDetails>()
            .Field("phone",
        validate: async (state, response) =>
        {
            Regex pattern = new Regex(@"((((\+\d{2}[ -]?)|0?)|\d{2})\d[ -]?\d{2,4}[ -]?\d{4,5})");
            Match match = pattern.Match(response.ToString());
            var result = new ValidateResult();
            if (match.Success)
            {
                result.IsValid = true;
                result.Value = match.Value;
            }else
            {
                result.Feedback = "I'm sorry but I was unable to find a valid phone number please try again.";
                result.IsValid = false;
            }
            return result;
        })
            .AddRemainingFields()
            .Confirm("Is this phone number correct?"
                + "\n* Phone Number: {phone}"
            .Build();

Still don't really see why it doesn't extract matched value with just the tag though, wouldn't it make more sense to store the matched value rather than the whole input string if a pattern is provided?

@chrimc62 can you comment?

The intent of the pattern is not for extraction but for validation.  If you want to extract then writing a validator the way you did is the right solution.


Mods can't add new mixin configs using Mixins.addConfiguration

Describe the bug
Same as title.
Steps to reproduce
Steps to reproduce:

Run this dev version of Andromeda https://github.com/melontini/andromeda/actions/runs/7021209448.
Notice that the mixins have not been applied.

Logs
Silent failures, even in debug.log
Additional context
The way Andromeda adds dynamic configs is pretty unsafe, but even Mixins.addConfiguration("andromeda.mixins.json)" doesn't work.

Yeah, this is gonna be tricky. Mixin never loads andromeda's modular configs despite "queueing" them because they're only added after mixin had already transformed a class. This check exists so that every mixin has a chance of modifying its target class when it gets loaded, as modifications are not possible afterwards.
And here comes the launch order issue again! Mods are placed on the GAME layer, which is transformable. Under ideal circumstances, I would run the preLaunch entrypoint just before the main method is invoked. However, due to modlauncher only loading launch plugins from the BOOT layer, other mods tend to inject their own ones using reflection. There's one mod in particular that I found to be incompatible with this approach: REIPC.
REIPC uses a mixin plugin as an entrypoint to inject its launch plugin. This works fine under normal circumstances. However, if I run preLaunch inside ILaunchPluginService#initializeLaunch (which runs inside a for loop of the map that REIPC injects plugins into), it results in a ConcurrentModificationException. In an effort to avoid this situation, Connector adjusts its launch sequence to run preLaunch only after the plugin iteration is over.
Another issue is Forge's modular layout. The GAME layer is transformable, while also containing preLaunch and mixin plugin code. It is therefore impossible to invoke preLaunch without initializing mixin plugins in the process.
I'll have a closer look at the issue and see what our options are.

Oh, thanks for the detailed explanation!
Have you looked into IExtension.checkActive? It seems pretty close to the preLaunch entrypoint. MixinExtras also uses IExtension, but preApply, which might be late.

So, either this is an unsolvable puzzle, or I'm missing some important context.
If I understand correctly, Fabric's load order, for mods, is:

Fabric loads language adapters.
After classpath is unlocked, on first classload, Mixin selects the environment and loads configs.
PreLaunch is executed.
GameProvider launches.

The immediate window trick should work correctly, right? No game/mod classes are loaded before that point (except Mixin plugins and whatever loads with them, but they aren't transformable by mixins). If Mixin counted every processed class as transformed, addConfiguration wouldn't work on Fabric.

mixin had already transformed a class

But which one? Why would this be the case?
Anyways, there's no other place for the entrypoint outside the loop. It's possible to wrap the ILaunchHandlerService, but this doesn't give us much, as it's before Mixin loads plugins.


Various warnings reported on the mingw CI that look pertinent

C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/winpr/libwinpr/wtsapi/wtsapi_win32.c:63:13: warning: 'g_Initialized' defined but not used [-Wunused-variable]
     63 | static BOOL g_Initialized = FALSE;
        |             ^~~~~~~~~~~~~

True, this is never used in any build
[222/507] Building C object libfreerdp/CMakeFiles/freerdp.dir/core/license.c.obj
  C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/libfreerdp/core/license.c: In function 'saveCal':
  C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/libfreerdp/core/license.c:244:14: warning: passing argument 1 of 'DeleteFileW' from incompatible pointer type [-Wincompatible-pointer-types]
    244 |   DeleteFile(filepathNew);
        |              ^~~~~~~~~~~
        |              |
        |              char *
  In file included from D:/a/_temp/msys/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:18,
                   from D:/a/_temp/msys/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:70,
                   from D:/a/_temp/msys/msys64/mingw64/x86_64-w64-mingw32/include/winsock2.h:23,
                   from C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/winpr/include/winpr/windows.h:31,
                   from winpr/include/winpr/wtypes.h:36,
                   from C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/winpr/include/winpr/platform.h:25,
                   from C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/winpr/include/winpr/winpr.h:22,
                   from C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/winpr/include/winpr/crt.h:27,
                   from C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/libfreerdp/core/license.c:26:
  D:/a/_temp/msys/msys64/mingw64/x86_64-w64-mingw32/include/fileapi.h:166:50: note: expected 'LPCWSTR' {aka 'const short unsigned int *'} but argument is of type 'char *'
    166 |   WINBASEAPI WINBOOL WINAPI DeleteFileW (LPCWSTR lpFileName);
        |                                          ~~~~~~~~^~~~~~~~~~
  C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/libfreerdp/core/license.c:248:19: warning: passing argument 1 of 'MoveFileExW' from incompatible pointer type [-Wincompatible-pointer-types]
    248 |  ret = MoveFileEx(filepathNew, filepath, MOVEFILE_REPLACE_EXISTING);
        |                   ^~~~~~~~~~~
        |                   |
        |                   char *
  In file included from D:/a/_temp/msys/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:70,
                   from D:/a/_temp/msys/msys64/mingw64/x86_64-w64-mingw32/include/winsock2.h:23,
                   from C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/winpr/include/winpr/windows.h:31,
                   from winpr/include/winpr/wtypes.h:36,
                   from C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/winpr/include/winpr/platform.h:25,
                   from C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/winpr/include/winpr/winpr.h:22,
                   from C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/winpr/include/winpr/crt.h:27,
                   from C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/libfreerdp/core/license.c:26:
  D:/a/_temp/msys/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:2306:50: note: expected 'LPCWSTR' {aka 'const short unsigned int *'} but argument is of type 'char *'
   2306 |   WINBASEAPI WINBOOL WINAPI MoveFileExW (LPCWSTR lpExistingFileName, LPCWSTR lpNewFileName, DWORD dwFlags);
        |                                          ~~~~~~~~^~~~~~~~~~~~~~~~~~
  C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/libfreerdp/core/license.c:248:32: warning: passing argument 2 of 'MoveFileExW' from incompatible pointer type [-Wincompatible-pointer-types]
    248 |  ret = MoveFileEx(filepathNew, filepath, MOVEFILE_REPLACE_EXISTING);
        |                                ^~~~~~~~
        |                                |
        |                                char *
  In file included from D:/a/_temp/msys/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:70,
                   from D:/a/_temp/msys/msys64/mingw64/x86_64-w64-mingw32/include/winsock2.h:23,
                   from C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/winpr/include/winpr/windows.h:31,
                   from winpr/include/winpr/wtypes.h:36,
                   from C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/winpr/include/winpr/platform.h:25,
                   from C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/winpr/include/winpr/winpr.h:22,
                   from C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/winpr/include/winpr/crt.h:27,
                   from C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/libfreerdp/core/license.c:26:
  D:/a/_temp/msys/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:2306:78: note: expected 'LPCWSTR' {aka 'const short unsigned int *'} but argument is of type 'char *'
   2306 |   WINBASEAPI WINBOOL WINAPI MoveFileExW (LPCWSTR lpExistingFileName, LPCWSTR lpNewFileName, DWORD dwFlags);
        |                                                                      ~~~~~~~~^~~~~~~~~~~~~

Looks like it's related to UNICODE definition
  [274/507] Building C object libfreerdp/CMakeFiles/freerdp.dir/codec/progressive.c.obj
  C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/libfreerdp/codec/progressive.c: In function 'progressive_decompress_ex':
  C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/libfreerdp/codec/progressive.c:2169:12: warning: unused variable 'j' [-Wunused-variable]
   2169 |  UINT32 i, j;
        |            ^
  C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/libfreerdp/codec/progressive.c: In function 'progressive_compress_ex':
  C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/libfreerdp/codec/progressive.c:2542:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   2542 |   RECTANGLE_16* r = region16_rects(invalidRegion, NULL);
        |                     ^~~~~~~~~~~~~~

These ones may be present on all platforms
  [396/507] Building C object channels/drive/client/CMakeFiles/drive-client.dir/drive_file.c.obj
  C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/channels/drive/client/drive_file.c: In function 'drive_file_init':
  C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/channels/drive/client/drive_file.c:319:11: warning: unused variable 'size' [-Wunused-variable]
    319 |    size_t size =
        |           ^~~~
  C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/channels/drive/client/drive_file.c: In function 'drive_file_read':
  C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/channels/drive/client/drive_file.c:436:51: warning: passing argument 4 of 'ReadFile' from incompatible pointer type [-Wincompatible-pointer-types]
    436 |  if (ReadFile(file->file_handle, buffer, *Length, &read, NULL))
        |                                                   ^~~~~
        |                                                   |
        |                                                   UINT32 * {aka unsigned int *}
  In file included from D:/a/_temp/msys/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:18,
                   from D:/a/_temp/msys/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:70,
                   from D:/a/_temp/msys/msys64/mingw64/x86_64-w64-mingw32/include/winsock2.h:23,
                   from C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/winpr/include/winpr/windows.h:31,
                   from winpr/include/winpr/wtypes.h:36,
                   from C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/channels/drive/client/drive_file.c:38:
  D:/a/_temp/msys/msys64/mingw64/x86_64-w64-mingw32/include/fileapi.h:178:106: note: expected 'LPDWORD' {aka 'long unsigned int *'} but argument is of type 'UINT32 *' {aka 'unsigned int *'}
    178 |   WINBASEAPI WINBOOL WINAPI ReadFile (HANDLE hFile, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, LPDWORD lpNumberOfBytesRead, LPOVERLAPPED lpOverlapped);
        |                                                                                ~~~~~~~~^~~~~~~~~~~~~~~~~~~
  C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/channels/drive/client/drive_file.c: In function 'drive_file_write':
  C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/channels/drive/client/drive_file.c:456:53: warning: passing argument 4 of 'WriteFile' from incompatible pointer type [-Wincompatible-pointer-types]
    456 |   if (!WriteFile(file->file_handle, buffer, Length, &written, NULL))
        |                                                     ^~~~~~~~
        |                                                     |
        |                                                     UINT32 * {aka unsigned int *}
  In file included from D:/a/_temp/msys/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:18,
                   from D:/a/_temp/msys/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:70,
                   from D:/a/_temp/msys/msys64/mingw64/x86_64-w64-mingw32/include/winsock2.h:23,
                   from C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/winpr/include/winpr/windows.h:31,
                   from winpr/include/winpr/wtypes.h:36,
                   from C:/_/mingw-w64-freerdp/src/freerdp-2.3.2/channels/drive/client/drive_file.c:38:
  D:/a/_temp/msys/msys64/mingw64/x86_64-w64-mingw32/include/fileapi.h:186:109: note: expected 'LPDWORD' {aka 'long unsigned int *'} but argument is of type 'UINT32 *' {aka 'unsigned int *'}
    186 |   WINBASEAPI WINBOOL WINAPI WriteFile (HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite, LPDWORD lpNumberOfBytesWritten, LPOVERLAPPED lpOverlapped);
        |                                                                                ~~~~~~~~^~~~~~~~~~~~~~~~~~~~

mix of DWORD̀ and UINT32.

@hardening this applies to stable?

I tried to fix some of the UINT32 and DWORD confusion in a PR. But those are not serious. The concerning issue is that char and wchar_t are used interchangeably. I think there should be a hard rule, either use char or wchar_t.

@Biswa96 there have been some fixes to master, you might check these and create a backport pr for them.

Apology Sir, can't understand. backport pr for what to what?

@Biswa96 the warnings are from 2.3.2 tag or stable-2.0 branch, development happens on master branch

One little question. Why do many APIs are loaded with GetProcAddress()? e.g. D3D11CreateDevice is supported from Win7.

One little question. Why do many APIs are loaded with GetProcAddress()? e.g. D3D11CreateDevice is supported from Win7.

To prevent direct linking with that DLL


仅查看管理员（楼主）功能

https://github.com/ArtalkJS/Artalk/commit/154eaad8f1eb7355ac05e262356b3331a95f4b5f
https://github.com/ArtalkJS/ArtalkGo/commit/fcfba0c6b552812cf395ab7aff617eaa133f08c0


feat: Frontend basic

Description
This change introduces the frontend's basic structure, including the styling, components and internal button state management, and very fundamental tests.
Final Version:

This was defined by a spec written by me in TE067 and approved by @ghislainbourgeois, @saltiyazan and @gruyaume.
I've taken the liberty to split this task into multiple subtasks:
First, the frontend without any complex query functionality to the backend (and minimal amounts of unit tests). This is that PR. This is to help us in coming to an understanding as to what GoCert should look like exactly, and provide a good spot to include the design team in the process.
Second, the query functionality that will allow the frontend to load the backend. This constitutes as version 0.1 of GoCert, aiming to be feature complete in the frontend, which means implementing all of the functionality defined in TE034 written by @gruyaume. There will also be some unit tests that ensure that the correct queries are being made on the correct button presses.
Third, extensive unit tests and integration tests should be introduced to catch any potential regressions that may occur when developing the frontend. I've split this into its own task because testing in React can be its own beast, and produce a lot of lines of code, which may become tedious to review properly.
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 made corresponding changes to the documentation
[x] I have added tests that validate the behaviour of the software
[x] I validated that new and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

The logo will be fixed in an upcoming release :D

I've opened new tickets splitting the remaining work down into reviewable chunks, TLSENG 263-264-265-266-267

@gruyaume I've rerequested your review, I think you had some good points in your approval and I've addressed them.


mod_fastcgi fails to install

Hello, I tried to brew install mod_fastcgi and I get this:
Updating Homebrew...
==> Auto-updated Homebrew!
Updated Homebrew from c08250b9 to e9947fb4.
No changes to formulae.

==> Installing mod_fastcgi from homebrew/apache
==> Downloading https://dl.bintray.com/homebrew/mirror/mod_fastcgi-2.4.6.tar.gz
Already downloaded: /Users/jbogdani/Library/Caches/Homebrew/mod_fastcgi-2.4.6.tar.gz
==> /usr/sbin/apxs -o mod_fastcgi.so -c *.c
Last 15 lines from /Users/jbogdani/Library/Logs/Homebrew/mod_fastcgi/01.apxs:
2017-03-31 11:58:55 +0200

/usr/sbin/apxs -o mod_fastcgi.so -c *.c

apxs:Error: /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.12.xctoolchain/usr/local/bin/apr-1-config not found!.

READ THIS: http://docs.brew.sh/Troubleshooting.html

These open issues may also help:
mod_fastcgi: apply Apache 2.4 patch on Yosemite and later https://github.com/Homebrew/homebrew-apache/pull/156
mod_fastcgi not building on OSX 10.11 https://github.com/Homebrew/homebrew-apache/issues/90
mod_fastcgi: The patch should be applied for El Capitan as well https://github.com/Homebrew/homebrew-apache/pull/84
homebrew/apache/mod_fastcgi failed to build on 10.11.2 https://github.com/Homebrew/homebrew-apache/issues/105

Tried to follow the tutorial in https://github.com/Homebrew/homebrew-apache#troubleshooting and run the single line solution suggested: sw_vers -productVersion | grep -E '^10\.([89]|10)' >/dev/null && bash -c "[ -d /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain ] && sudo -u $(ls -ld /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain | awk '{print $3}') bash -c 'ln -vs XcodeDefault.xctoolchain /Applications/Xcode.app/Contents/Developer/Toolchains/OSX$(sw_vers -productVersion).xctoolchain' || sudo bash -c 'mkdir -vp /Applications/Xcode.app/Contents/Developer/Toolchains/OSX$(sw_vers -productVersion).xctoolchain/usr && for i in bin include lib libexec share; do ln -s /usr/${i} /Applications/Xcode.app/Contents/Developer/Toolchains/OSX$(sw_vers -productVersion).xctoolchain/usr/${i}; done'" but it did not work.
I'm still getting the same error. I'm running brew 1.1.11-218-ge9947fb4 on MacOS 10.12.4 (16E195).
Thank you

I'm getting a very similar error.
READ THIS: http://docs.brew.sh/Troubleshooting.html
These open issues may also help:
mod_fastcgi fails to install https://github.com/Homebrew/homebrew-apache/issues/159
mod_fastcgi: apply Apache 2.4 patch on Yosemite and later https://github.com/Homebrew/homebrew-apache/pull/156
mod_fastcgi not building on OSX 10.11 https://github.com/Homebrew/homebrew-apache/issues/90
mod_fastcgi: The patch should be applied for El Capitan as well https://github.com/Homebrew/homebrew-apache/pull/84
homebrew/apache/mod_fastcgi failed to build on 10.11.2 https://github.com/Homebrew/homebrew-apache/issues/105
`

Per https://github.com/Homebrew/homebrew-apache/issues/90, I added "--with-homebrew-httpd24" to the command.
brew install --with-homebrew-httpd24 mod_fastcgi
This time the installation completed successfully. There were Caveats:
`==> Caveats
You must manually edit /usr/local/etc/apache2/2.4/httpd.conf to contain:
LoadModule fastcgi_module /usr/local/opt/mod_fastcgi/libexec/mod_fastcgi.so
Upon restarting Apache, you should see the following message in the error log:
[notice] FastCGI: process manager initialized
I edited httpd.conf per the instructions. However, When I tried to restart Apache, I got an LDAP-related error in/usr/local/Cellar/php56/5.6.30_6/libexec/apache2/libphp5.so`. So I am now on to the next issue.

The currently-suggested single line solution won't work, use this instead:
[ -d /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain ] && sudo -u $(ls -ld /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain | awk '{print $3}') bash -c 'ln -vs XcodeDefault.xctoolchain /Applications/Xcode.app/Contents/Developer/Toolchains/OSX$(sw_vers -productVersion | cut -d . -f 1,2).xctoolchain' || sudo bash -c 'mkdir -vp /Applications/Xcode.app/Contents/Developer/Toolchains/OSX$(sw_vers -productVersion | cut -d . -f 1,2).xctoolchain/usr && for i in bin include lib libexec share; do ln -s /usr/${i} /Applications/Xcode.app/Contents/Developer/Toolchains/OSX$(sw_vers -productVersion | cut -d . -f 1,2).xctoolchain/usr/${i}; done'

This tap is now deprecated, sorry.


Count ways to reach the n'th stair - dynamic programming

There are N stairs, a person standing at the bottom wants to reach the top. The person can climb either 1 stair or 2 stairs at a time. Count the number of ways, the person can reach the top (order does matter).
Input:
The first line contains an integer 'T' denoting the total number of test cases. In each test cases, an integer N will be given.
Output:
For each testcase, in a new line, print number of possible ways to reach Nth stair. Answer your output % 10^9+7.
Expected Time Complexity : O(N)
Expected Auxiliary Space: O(1)
Constraints:
1 <= T <= 105
1 <= N <= 105
Example:
Input:
3
4
10
24
Output:
5
89
75025
Explanation:
Testcase 1: You can reach 3rd stair in 5 ways.
@amritansh22  can i add this? Please assign this to me

Yes sure @PriyanshuSaini I have assigned this issue to you.


Add Keyoxide logo as PNG

Add kiyoxide logo as PNG

Hello, Dashboard Icons is migrating to a new standard! Please update your pull request to match this. Read the Contributing Guide here.
(Please also change the ...-blue files to ...-alt)

Hello, Dashboard Icons is migrating to a new standard! Please update your pull request to match this. Read the Contributing Guide here.
(Please also change the -blue icons to -alt)

@parrazam

Sorry for the delay, done!!


Dev

Coverage increased (+0.01%) to 93.045% when pulling 99b8ee389f15b1fcb5b6048ea192a3e66f017599 on dev into 22873c2ad02a2ebd4829ce4387eeab3f9ea52ba0 on master.

Coverage increased (+0.01%) to 93.045% when pulling 101b24c7334a0806bed15cfe2329644c066437cf on dev into 22873c2ad02a2ebd4829ce4387eeab3f9ea52ba0 on master.

Coverage increased (+0.01%) to 93.045% when pulling cddba3dd960342d9f36361881ac7e0abe7b130d7 on dev into 22873c2ad02a2ebd4829ce4387eeab3f9ea52ba0 on master.


Indexing and query worflow for ACCESS-OM non-CMIP data (cj50)

OK I know the data in cj50 are far from organised and there is quite a range of cases to cover...
What we want to have:
Indexing of experiments so we can query for:

experiment name
variable
start-time
end-time
frequency

Tasks (Feel free to edit):

[x] COSIMA parser
[x] Indexing of COSIMA collection (cj50) (legacy-support control data only, see https://forum.access-hive.org.au/t/access-om2-control-runs/258)
[x] Simple example in the form of a Jupyter notebook where people can load data from COSIMA
[x] Simple example on how to compare COSIMA outputs with CMIP data using the NCI Intake Catalog

See https://github.com/ACCESS-NRI/nri_intake_catalog/tree/main/notebooks for some example Jupyter notebooks


refgenie pull all assets for a genome

raised in a discussion with @nsheff
in lieu of combined tarballs of all assets for a genome (https://github.com/databio/refgenieserver/issues/18#issuecomment-497099152) we need a way to pull all the assets for a genome.
Is it refgenie pull -g <genome> -a all?

maybe we don't want to enable this...

are you worried about misusage of this functionality? I think it's pretty useful

yeah, a bit worried...

Hey @stolarczyk -- in conversation with @natefoo, this would be a useful feature for integration with galaxy, as they'd like to mirror a refgenieserver... (just download everything).
So, even something like refgenie --mirror, which would only download things from the server that aren't available locally. what do you think?

so this would go even beyond a single genome?
Yes, I'm still on board, this use case warrants implementation

so this would go even beyond a single genome?

Yeah. that would be everything. how hard would it be to implement -all and --mirror?

I think this will be relatively easy:

implement "force no overwrite" functionality in RefGenConf.pull
API call to this endpoint: http://refgenomes.databio.org/v2/assets
call RefGenConf.pull(..., no_overwrite=True) for each result


Typescript declaration file + typo fix in documentation

I'm using this npm package in a Typescript project I'm working with; This is the declaration file I'm using. There is also a typo in one of the function names in the readme.

Thanks! I will create a new release later today


Bad error mesaage when the token has expired.

az resource group list
Get Token request returned http error: 400 and server response: {"error":"invalid_grant","error_description":"AADSTS70002: Error validating credentials. AADSTS70008: The refresh token has expired due to inactivity. The token was issued on 2016-08-25T21:46:01.5591895Z and was inactive for 14.00:00:00.\r\nTrace ID: ed093f8f-fd6b-44d4-8446-4ef437995d14\r\nCorrelation ID: 86bea907-bda8-40e0-a9f3-661d1f5fdac7\r\nTimestamp: 2016-09-09 18:49:50Z","error_codes":[70002,70008],"timestamp":"2016-09-09 18:49:50Z","trace_id":"ed093f8f-fd6b-44d4-8446-4ef437995d14","correlation_id":"86bea907-bda8-40e0-a9f3-661d1f5fdac7"}
We need to polish it to something like this:-
error:   We don't have a valid access token. Please run "azure login" again.

@yugangw-msft : Incoming as discussed


Neovim check complete response

Closes #351.

can confirm that this fixes #351 on my end. Thanks!


Recommendation for Empty Folder and Empty File Removal Feature?

Description of the new feature / enhancement
Is it possible to add a feature to PowerToys to search for empty folders and empty files to mark for deletion?  The focus would be on user files, backup files, external drives, etc..  Not necessarily Windows files & folders, but could be used for that if someone wants to clean-up Windows folders & files.
Allow the user to scan any directory or folder they choose, mark files or folders for deletion, and remove them.
This would be a great feature to add to Powertoys and not have to download another separate tool from the internet.
Scenario when this would be used?
Anytime you want to clean up your main "C" drive, backup drive, external drives, etc.
Supporting information
No response

Power Automate has an example with exactly this use case.

Thank you - I will investigate further.On May 20, 2023, at 5:07 AM, Jay @.***> wrote:
Power Automate has an example with exactly this use case.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

I don’t see us building this out.

Thanks for feedback guys.I’ll look into power automate or other available tools.On May 20, 2023, at 8:55 PM, Clint Rutkas @.***> wrote:
Closed #26042 as completed.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


Resolve Duplicity of Message

When running python main.py, we get the message Loading profile data twice which needs to be resolved.

On it

This error is caused because profile.py is being called two times, once from here and then again fromhere, both of which are crucial.
One quick fix solution might be to delete this but I would like to hear other's opinions for a better solution. Thoughts? @aniketk21 @vedmathai @rachmadaniHaryono

is there really a need to import profile in start? I dont see any reference in start.py

It is being used both at main.py and start.py. For your reference.

here is another alternative, but more complex from than deleting that print line
# on profile.py
# - move load_profile func to new file name e.g. profile_loader.py (see the change belowe)
# .... import package
from profile_loader import load_profile
data = {}
if len(data) == 0:
    data = load_profile()
# on profile_loader.py
# .... import other package
from profile_populator import profile_populator
def load_profile(skip_message=False):
    def load_json():
        profile_json = open('profile.json')
        data = json.load(profile_json, object_hook=jd.decode_dict)
        profile_json.close()

    if not skip_message:
        print("Loading profile data")
    if os.path.isfile('profile.json'):
        data = load_json()
    else:
        profile_populator()
        data = load_json()
    return data

any from both file can import profile_loader and run load_profile(skip_message=True), to skip the message
advantage of this

nothing change (hopefully) for module who use profile.py. afaik no module use load_profile func directly from that profile module
profile is 100% script, no global, func, etc
easier test.

Yes, implementation of just def load_profile(skip_message=False): and  if not skip_message: seems a better solution instead of deleting that print statement. Feel free to pick this issue up guys!

if anyone want to pick this, please check if there is any race condition of profile creation between start.py and main.py.

anyone working on this?  @aniketk21 @vedmathai @tanay1337 @rosskyl

Go ahead @rachmadaniHaryono!

I would like to take up this issue @tanay1337 @rachmadaniHaryono

OK @lakshmanaram, you can take it.


feat(run): add further logic to various run actions

This commit has changes that adds/updates actions namely create, delete, update, & assert in run custom resource's controller implementation.
Signed-off-by: AmitKumarDas<EMAIL_ADDRESS>

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[BUG]CMS components -'Three columns, boxed & background' the pictures are not shown in the right places

Describe the bug
Block category 'Images' -'Three columns, boxed & background' the pictures are shown one after another instead of in three columns with background.
How to reproduce
Steps to reproduce the behavior:

Go to 'categories' from Shopware
Select 'Clothing'-'Movies & Toys' from category structure
Go to 'Layout assignment'
Click 'Edit in designer' button
Click 'Settings' icon
Click 'block' icon
Select block category 'Images'
Add 'Three columns, boxed & background'
Click 'Save' button in the upper right corner
Go to subcategory 'Movies & Toys' on our website
See the error

Expected behavior
Pictures should be displayed in three columns with background and look the same as in Shopware layout.
Actual behavior
Pictures are displayed in wrong places - one under another.
Screenshots
'Three columns, boxed & background' block in Shopware 'Shopping Experiences' layout:

'Three columns, boxed & background' block on the website looks like this:

Devices (please complete the following information):
All devices

It is related to #509 and it will be resolved there


[TEST] Update config.ts

just to test what happens to the sidenav when the top-level nav item is removed
Describe this PR

Changes

What issue does this fix?

Any other relevant information

@nikolasburk check out this PR: https://github.com/prisma/docs/pull/5484


v0.8: Prepare for the next release

crossbeam-channel 0.5.7 -> 0.5.8

Fix race condition in unbounded channel. (#972)

Also, yanking >= 0.5.1, <= 0.5.7 that affected by the bug fixed in this release.

bors r+


Added simple interface for visualising masks.

Could smoke test this pretty quickly by hooking up its inputs to the outputs of BETRPT.

https://79-75443898-gh.circle-artifacts.com/0/home/ubuntu/scratch/py3/testSimpleShowMaskRPT.html

Is that what that mask is supposed to look like?

Yeah it's a broad mask used to speed up ANTs brain extraction.


SPARQL update with application/sparql-update content type

(Migrated from https://openrdf.atlassian.net/browse/SES-1997)
Hi,
I'm trying to connect to Dydra.com's sparql endpoint for update and they expect the content type of the request to be "application/sparql-update". So far I have not found a way to have do this with sesame. Only the url-encoded POST seems to be supported?
ref: http://www.w3.org/TR/sparql11-protocol/#update-operation

+1
I try to post a sparql update query with content-type "application/sparql-update" on my repository endpoint "http://<server>/rdf4j-server/repositories/<name>". Unfortunately it returns "Unsupported MIME type: application/sparql-update", but the documentation says that it is supported:

Content-Type: specifies the mediatype of a POST request body. Possible values are “application/x-www-form-urlencoded” (for a SPARQL query or update encoded as a form parameter), “application/sparql-query” (for an unencoded SPARQL query string) or “application/sparql-update” (for an unencoded SPARQL update string).

@propi It actually works, but you have POST on /rdf4j-server/repositories/<name>/statements. I tried with 2.4.3 version.

If I interpret the protocol recommendation correctly, to be compliant with it, the endpoint has to accept this direct POST request. As a user, I would have assumend the endpoint is /rdf4j-server/repositories/<name>, is it not?

If I interpret the protocol recommendation correctly, to be compliant with it, the endpoint has to accept this direct POST request. As a user, I would have assumend the endpoint is /rdf4j-server/repositories/<name>, is it not?

SPARQL Protocol does not mandate that queries and updates happen on the same endpoint. The RDF4J REST API (which implements SPARQL Protocol) splits them out: queries are evaluated on repositories/<ID>, but updates are expected to be sent to repositories/<ID>/statements.

I'm re-opening this issue because I believe there is room for an enhancement in the SPARQLProtocolSession.
According to the SPARQL Protocol specs, endpoints must accept both a form-encoded update and a direct update (using application/sparql-update as the MIME type). Clearly, some endpoints are not fully spec-compliant, and only accept one option.
SPARQLProtocolSession currently always uses form-encoding to send updates. We should introduce a configuration option to optionally allow it to prefer using application/sparql-update instead.

rdf4j's documentation  also states that it should work on the repositories/<ID> endpoint:

Content-Type: specifies the mediatype of a POST request body. Possible values are “application/x-www-form-urlencoded” (for a SPARQL query or update encoded as a form parameter), “application/sparql-query” (for an unencoded SPARQL query string) or “application/sparql-update” (for an unencoded SPARQL update string).


Fixed buffer overflow with track candidates

This PR addresses (at least partially) issue #317. The issue occurs due a buffer overflow since code that save track candidate objects doesn't check if the maximum allocated number has been reached.
There are multiple ways to address the issue. The simplest one would be to simply check if the maximum number is reached and then just exit out of the loop to stop the process. However, to be more consistent with the rest of the code, I have made it so that it keeps track of the number of track candidates even if they are not saved. This is done in all other steps of the code, for example when creating line segments it works like this:
https://github.com/SegmentLinking/TrackLooper/blob/8dbf8b213b272ab7fef5f7df071c5dfa7f7b5623/SDL/Segment.h#L651-L663
So I have used an equivalent implementation for track candidates. It is probably beneficial to keep track of this number even if all of them are not actually saved. It ended up needing more changes than I expected to get it working properly.
Note: When it is used with CMSSW the nTrackCandidates variable is set to the number that are actually saved so as to avoid potential issues.
Another improvement is that now respects the separate limits for N_MAX_TRACK_CANDIDATES and N_MAX_PIXEL_TRACK_CANDIDATES.
Here are the timings before and after the change. Seems like they're within the run-to-run variation.

Comparison plots are here. They look identical, up to small run-to-run variations, most likely due to the issue described in #323.
All of the comparisons were done with the changes in #313 (which is still not merged at the time of writing) on the master branch.

Has this PR been tested with varying number for N_MAX_TRACK_CANDIDATES and N_MAX_PIXEL_TRACK_CANDIDATES to make sure that the code does not crash, especially when writing out the NTuple?
A useful extra validation for this PR would be to check the number of TCs and p* TCs in a few events and make sure that the upper limit are respected. With the currect limits:
https://github.com/SegmentLinking/TrackLooper/blob/2147be7d1fe369f3247ed64a9af85f4b571a3703/SDL/Constants.h#L61-L62
I would have expected truncations for the TCs (they are O(2k)) and, hence, a change in the performance but that doesn't seem to be the case. Has the behavior changed in some way?
Finally, I think that this is a good PR to rationalize the bounds for TCs and pLSs - the latter are a subset of the former, so it doesn't make sense for them to have a larger bound.

Yes, I tested it by decreasing one or both of N_MAX_TRACK_CANDIDATES and N_MAX_PIXEL_TRACK_CANDIDATES, and also commenting out the checkHitspLS tasks. And I did verify that the limits are satisfied. The way I implemented the limits was by requiring: nT5s <= N_MAX_TRACK_CANDIDATES and npT5 + npT3 + npLS <= N_MAX_PIXEL_TRACK_CANDIDATES, but maybe something else makes more sense.
Once we agree that these changes make sense I can make the analogous changes for the CUDA branch.

Thanks for the checks! As for the naming, I feel like the variable N_MAX_TRACK_CANDIDATES is a bit misleading for restricting on T5 TCs. Maybe N_MAX_TRACK_CANDIDATES -> N_MAX_T5_TRACK_CANDIDATES would be better?
Regarding the values of the variables, if we want no truncations for TCs, I think we should set them in this PR already to much higher values. As it is, truncations can happen for configurations that we would like to test in the short future (e.g. include triplet pLSs).

What's the status of this PR? Have the latest comments been implemented or more discussion is needed?
If this is ready for review, I would be happy to take care of that and merge the PR. Once this is done, PR #318 could also be tested, reviewed and possibly merged, and its updates can be propagated to the master branch.

@ariostas Your proposal about renaming the variable N_MAX_NONPIXEL_TRACK_CANDIDATES makes total sense.
As for the values, I don't have specific numbers in mind. One way to define them would be to run once lots of events with the values set to very large numbers (so that everything is accepted), print out the actual numbers of TCs produced, get the maximum and enlarge it by some factor. The factor should be defined so that truncations are highly improbable (I guess we don't want truncations in the TCs, right?): maybe get the std. devitation from the printed numbers and use the (max + 5 or 10 σ) as the value?

I renamed N_MAX_TRACK_CANDIDATES to N_MAX_NONPIXEL_TRACK_CANDIDATES.
I did some testing and it seems like in the standard configuration N_MAX_PIXEL_TRACK_CANDIDATES=5000 and N_MAX_NONPIXEL_TRACK_CANDIDATES=1000 are good values, but for #318 we need to increase N_MAX_PIXEL_TRACK_CANDIDATES to about 30000 to guarantee that the list is not truncated, so that's the value I went with for now.
Here are timing comparisons to make sure that the extra allocated memory doesn't change things much.

I've updated the comparison plots here. They look identical, up to small run-to-run variations, most likely due to the issue described in #323.

@VourMa your comments are very valid and I can definitely see that this would be confusing for people in the future. So I propose that instead of this convoluted logic we introduce new counter variables that keep track of the total number of track candidates, even if they are not saved. That would simplify the code a lot, and would let us know how many objects we ended up losing in cases where there are tool many track candidates.

I remember the explicit configuration to not be useful/properly working in the past, and was not shown in the timing measurements. Has it become relevant now, that's why we post it in the timing validation?

I think this was only relevant in the CUDA version. I don't know whether you can or if it makes sense to use unified memory with Alpaka.

Should we introduce the running of CMSSW configuration as part of our PRs, especially for those touching the LST.cc/LST.h files, like this one?

That's definitely a good idea. I'm not very familiar with CMSSW yet, but I can run and post the timings once we finalize changes for this PR.

I remember the explicit configuration to not be useful/properly working in the past, and was not shown in the timing measurements. Has it become relevant now, that's why we post it in the timing validation?

I think this was only relevant in the CUDA version. I don't know whether you can or if it makes sense to use unified memory with Alpaka.

Should we then not complicate the validation with too many timings/numbers? The CUDA version is phasing out and we never paid a close attention to it in the past, so no solid reference exists in any case.

Should we introduce the running of CMSSW configuration as part of our PRs, especially for those touching the LST.cc/LST.h files, like this one?

That's definitely a good idea. I'm not very familiar with CMSSW yet, but I can run and post the timings once we finalize changes for this PR.

That would be useful, thank you! For CMSSW, it's mostly the physics performance and possible crashes that I am worried about - I don't expect the timing to show anything. Once we are to the end of this PR, we could discuss what would be helpful/convenient to run.

After thinking about it a bit more I decided that it's probably still not the best idea to have additional variables like nTotalTrackCandidatespT5 because we then have to decide when to use it vs nTrackCandidatespT5 and it can cause confusion. So I ended up doing the minimal changes to fix this issue. Track candidates are now only saved until the limit is reached, and the rest are discarded, producing a warning when the Warnings compilation flag is used. So we just need to make sure that we allocate enough memory to (hopefully) never discard anything, and at least we'll now know that it's not going to crash on the rare occasion that too many track candidates are found.
Here are the new before and after timings.

And I've updated the comparison plots here.

Okay, sorry for force-pushing, I just didn't want to pollute the commit history with old commits. I'll do what you said from now on.
As for the warning, how about we leave those warnings as they are (using the Warnings flag), and on top of that in the host code we just check if either nTrackCandidatespT5 + nTrackCandidatespT3 + nTrackCandidatespLS == MAX_PIXEL_TRACK_CANDIDATES or nTrackCandidatesT5 == MAX_NONPIXEL_TRACK_CANDIDATES and print something saying that track candidates were possibly truncated?

No worries, it's just that good PR documentation has proven extremely valuable, so it pays to keep things tidy and consistent for posterity. 😉
As for your solution, it sounds good to me. Would it also propagate the warning message to the CMSSW (LST.h/LST.cc) version of the code?

I thought about where to add the warning, and I think that it should be at the end of SDL::Event::createTrackCandidates to make sure that the message appears regardless of how it's being run. I added a big message to make sure that it is easily noticeable, and since it should never show up. But if you think it's too big we can tone it back down.


dockerize anhalytics

Use docker to instantiate all needed services , grobid, nerd , keyterm, ES, mongodb, and have a ready to use anhalytics container

For reference, see the grobid image


Cannot find module 'cuss/index.json'.

A lot of problems occur after the installation of the latest release.
TS2732: Cannot find module 'cuss/index.json'. Consider using '--resolveJsonModule' to import module with '.json' extension.
3 | import { generatePasswordFromPattern } from "./passwordGenerator";
4 | import { unleet } from "@cityssm/unleet";

5 | import * as cussWordsObject from "cuss/index.json";
|                                  ^^^^^^^^^^^^^^^^^
6 |
7 |
8 | /*

ERROR in node_modules/@cityssm/simple-password-generator/index.ts:46:1
TS2322: Type 'null' is not assignable to type 'string[]'.
44 | });
45 |

46 | cussWordsUnfiltered = null;
| ^^^^^^^^^^^^^^^^^^^
47 |
48 |
49 | const _hasCussWord = (unleetedString: string) => {

ERROR in node_modules/@cityssm/simple-password-generator/index.ts:90:39
TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
Type 'undefined' is not assignable to type 'number'.
88 |   const generateOptions = Object.assign({}, defaultGenerateOptions, userGenerateOptions);
89 |

90 |   generateOptions.minScore = Math.min(generateOptions.minScore, 4);
|                                       ^^^^^^^^^^^^^^^^^^^^^^^^
91 |
92 |   let passwordPattern = generateOptions.pattern;
93 |

ERROR in node_modules/@cityssm/simple-password-generator/index.ts:96:37
TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
94 |   // Shuffle the pattern if necessary
95 |   if (generateOptions.doShufflePattern) {

96 |     passwordPattern = shuffleString(passwordPattern);
|                                     ^^^^^^^^^^^^^^^
97 |   }
98 |
99 |   let retries = generateOptions.retries;

ERROR in node_modules/@cityssm/simple-password-generator/index.ts:102:10
TS2532: Object is possibly 'undefined'.
100 |
101 |   // Loop through retries

102 |   while (retries > 0) {
|          ^^^^^^^
103 |
104 |     const potentialPassword = generatePasswordFromPattern(passwordPattern);
105 |

ERROR in node_modules/@cityssm/simple-password-generator/index.ts:104:59
TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
102 |   while (retries > 0) {
103 |

104 |     const potentialPassword = generatePasswordFromPattern(passwordPattern);
|                                                           ^^^^^^^^^^^^^^^
105 |
106 |     // Check length, check for potential cuss words
107 |     if (potentialPassword.length >= generateOptions.minLength &&

ERROR in node_modules/@cityssm/simple-password-generator/index.ts:107:37
TS2532: Object is possibly 'undefined'.
105 |
106 |     // Check length, check for potential cuss words

107 |     if (potentialPassword.length >= generateOptions.minLength &&
|                                     ^^^^^^^^^^^^^^^^^^^^^^^^^
108 |       potentialPassword.length <= generateOptions.maxLength &&
109 |       zxcvbn(potentialPassword).score >= generateOptions.minScore &&
110 |       !hasCussWord(potentialPassword)) {

ERROR in node_modules/@cityssm/simple-password-generator/index.ts:108:35
TS2532: Object is possibly 'undefined'.
106 |     // Check length, check for potential cuss words
107 |     if (potentialPassword.length >= generateOptions.minLength &&

108 |       potentialPassword.length <= generateOptions.maxLength &&
|                                   ^^^^^^^^^^^^^^^^^^^^^^^^^
109 |       zxcvbn(potentialPassword).score >= generateOptions.minScore &&
110 |       !hasCussWord(potentialPassword)) {
111 |

ERROR in node_modules/@cityssm/simple-password-generator/index.ts:109:7
TS2349: This expression is not callable.
Type '{ default: (password: string, userInputs?: string[] | undefined) => ZXCVBNResult; }' has no call signatures.
107 |     if (potentialPassword.length >= generateOptions.minLength &&
108 |       potentialPassword.length <= generateOptions.maxLength &&

109 |       zxcvbn(potentialPassword).score >= generateOptions.minScore &&
|       ^^^^^^
110 |       !hasCussWord(potentialPassword)) {
111 |
112 |       return potentialPassword;

ERROR in node_modules/@cityssm/simple-password-generator/index.ts:115:5
TS2532: Object is possibly 'undefined'.
113 |     }
114 |

115 |     retries -= 1;
|     ^^^^^^^
116 |   }
117 |
118 |   return null;

Looking into this now.

TS2732: Cannot find module 'cuss/index.json'. Consider using '--resolveJsonModule' to import module with '.json' extension.

How are you getting the simple-password-generator package?  From npm?
If you are attempting to modify or recompile the TypeScript, you should probably download the full release from the Releases section here on GitHub.  The npm package does not contain the tsconfig.json file that has the resolveJsonModule option set.

I'm getting it from npm and not trying to modify it. I turned off the first error with adding resolveJsonModule option to true. But rest of the errors stayed the same. If you can fix typescript errors I would really appreciate it.

I must have looser TypeScript settings because I don't get the "Possibly undefined" warnings myself, but I tried to reduce some of them in v1.1.4.  It's now up on npm.

Thank you
All errors are gone except one
TS2349: This expression is not callable.
Type '{ default: (password: string, userInputs?: string[] | undefined) => ZXCVBNResult; }' has no call signatures.
103 |     if (potentialPassword.length >= generateOptions.minLength &&
104 |       potentialPassword.length <= generateOptions.maxLength &&

105 |       zxcvbn(potentialPassword).score >= generateOptions.minScore &&
|       ^^^^^^
106 |       !hasCussWord(potentialPassword)) {
107 |
108 |       return potentialPassword;

I made an attempt to correct the warning you are seeing in v1.1.5, now on npm.
If it doesn't pass your tests, I'm going to guess it will have something to do with the zxcvbn package, or more likely with the @types/zxcvbn package, which is a dev dependency, and may not be available.

This is the new error. The other error is gone.
TS1202: Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead.
6 | import type * as types from "./types";
7 |

8 | import zxcvbn = require("zxcvbn");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9 |
10 |
11 | /*

That's what I had before.  I reverted the change in v1.1.6.  If the call signature warning returns, you may need to install @types/zxcvbn as a dev dependency.

Going to close this issue.  If there's still something I can do to help, let me know.