"Couldn't compile the CSS from LESS sources" if plugin is located on network folder

When installing the build monitor plugin on my Jenkins system I receive the following error in the log:
Nov 05, 2015 11:47:03 AM SEVERE jenkins.InitReactorRunner$1 onTaskFailed
Failed Initializing plugin build-monitor-plugin
javax.servlet.ServletException: Couldn't compile the CSS from LESS sources
	at com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.init(LessCSS.java:32)
	at hudson.util.PluginServletFilter.addFilter(PluginServletFilter.java:99)
	at com.smartcodeltd.jenkinsci.plugin.assetbundler.Dispatcher.postInitialize(Dispatcher.java:25)
	at hudson.PluginManager$2$1$2.run(PluginManager.java:389)
	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
	at jenkins.model.Jenkins$7.runTask(Jenkins.java:904)
	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: com.github.sommeri.less4j.Less4jException: Could not compile less. 1 error(s) occurred:
ERROR The file \[Host]\[Share]\[Folder]\Jenkins\testjenkins\plugins\build-monitor-plugin\less\index.less does not exists.

	at com.github.sommeri.less4j.core.ThreadUnsafeLessCompiler.toAntlrTree(ThreadUnsafeLessCompiler.java:96)
	at com.github.sommeri.less4j.core.ThreadUnsafeLessCompiler.doCompile(ThreadUnsafeLessCompiler.java:83)
	at com.github.sommeri.less4j.core.ThreadUnsafeLessCompiler.compile(ThreadUnsafeLessCompiler.java:75)
	at com.github.sommeri.less4j.core.ThreadUnsafeLessCompiler.compile(ThreadUnsafeLessCompiler.java:49)
	at com.github.sommeri.less4j.core.DefaultLessCompiler.compile(DefaultLessCompiler.java:50)
	at com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.cssFrom(LessCSS.java:61)
	at com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.init(LessCSS.java:30)
	... 11 more

The Jenkins working directory including the plugins is located on a network share, which is accessed by UNC path:
\[Host]\[Share]\[Folder]\Jenkins\testjenkins\plugins\build-monitor-plugin\less\index.less
The path is displayed in the error message with only one leading backslash, instead of two.
If you need more details, please let me know.
Would be great if you could fix that.

Hey @adaubner and thanks for reporting this. What version of java are you running your Jenkins on?

Hi Jan.
Since yesterday we are running on Java 8u65.
Before that it was 7u79.
Best regards,
Andreas Daubner
IT/SIS-SYS
Pepperl+Fuchs GmbH
Lilienthalstraße 200
68307 Mannheim
Telefon: +49<PHONE_NUMBER>
E-Mail: adaubner<EMAIL_ADDRESS>www.pepperl-fuchs.comhttp://www.pepperl-fuchs.com/
Von: Jan Molak<EMAIL_ADDRESS>Gesendet: Dienstag, 17. November 2015 01:27
An: jan-molak/jenkins-build-monitor-plugin<EMAIL_ADDRESS>Cc: Daubner Andreas<EMAIL_ADDRESS>Betreff: Re: [jenkins-build-monitor-plugin] "Couldn't compile the CSS from LESS sources" if plugin is located on network folder (#183)
Hey @adaubnerhttps://github.com/adaubner and thanks for reporting this. What version of java are you running your Jenkins on?
—
Reply to this email directly or view it on GitHubhttps://github.com/jan-molak/jenkins-build-monitor-plugin/issues/183#issuecomment-157219089.
[e-news abonnieren]http://www.pepperl-fuchs.de/e-news [YouTube: Pepperl+Fuchs auf YouTube] http://www.youtube.com/user/PepperlFuchsGmbH     [@PepperlFuchsDE folgen] https://twitter.com/PepperlFuchsDE   [Pepperl+Fuchs auf XING] https://www.xing.com/companies/pepperl%252bfuchsgmbh

[Pepperl+Fuchs GmbH]http://www.pepperl-fuchs.com
SocialMedia2014
Pepperl+Fuchs GmbH, Mannheim
Geschaeftsfuehrer/Managing Directors: Dr.-Ing. Gunther Kegel (Vors./CEO), Dr.-Ing. Peter Adolphs, Werner Guthier, Mehmet Hatiboglu
Vorsitzender des Aufsichtsrats/Chairman of the supervisory board: Claus Michael
Registergericht/Register Court: AG Mannheim HRB 4713.
 Sollten Sie nicht der bezeichnete Adressat sein, so teilen Sie dies bitte dem Absender umgehend mit und loeschen Sie diese Nachricht und ihre Anhaenge. Die unbefugte Weitergabe, das Anfertigen von Kopien und jede Veraenderung der E-Mail ist untersagt. Der Absender haftet nicht fuer Inhalte von veraenderten E-Mails..
Important Information:
This e-mail message including its attachments contains confidential and legally protected information solely intended for the addressee. If you are not the intended addressee of this message, please contact the addresser immediately and delete this message including its attachments. The unauthorized dissemination, copying and change of this e-mail are strictly forbidden. The addresser shall not be liable for the content of such changed e-mails.

@adaubner - would you like to check if the latest version - 1.6+build.168  - resolved the issue for you?
Two things worth noting:

the fix requires Build Monitor to run on Jenkins 1.598 or later (due to a bug in Jenkins)
and Jenkins to run on Java 7 u60 or later (due to a bug in Java)

Please note: The version of Build Monitor mentioned in this ticket is not yet available on Jenkins Update Centre as it's a "beta" released to gather early feedback (changelog).
To install the plugin from a .hpi file go to Manage Jenkins > Manage Plugins > Advanced > Upload
Looking forward to hearing from you!
Jan

Hi Jan.
Sorry, it´s not working yet:
Nov 18, 2015 2:15:51 PM jenkins.InitReactorRunner$1 onTaskFailed
SEVERE: Failed Initializing plugin build-monitor-plugin
java.lang.IllegalArgumentException: URI has an authority component
at java.io.File.(Unknown Source)
at com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.(LessCSS.java:24)
at com.smartcodeltd.jenkinsci.plugin.assetbundler.Dispatcher.postInitialize(Dispatcher.java:27)
at hudson.PluginManager$2$1$2.run(PluginManager.java:389)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
at jenkins.model.Jenkins$7.runTask(Jenkins.java:904)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
After a short look at google, this has to do with the UNC path. ☹
Best regards,
Andreas
Von: Jan Molak<EMAIL_ADDRESS>Gesendet: Mittwoch, 18. November 2015 01:57
An: jan-molak/jenkins-build-monitor-plugin<EMAIL_ADDRESS>Cc: Daubner Andreas<EMAIL_ADDRESS>Betreff: Re: [jenkins-build-monitor-plugin] "Couldn't compile the CSS from LESS sources" if plugin is located on network folder (#183)
@adaubnerhttps://github.com/adaubner - would you like to check if the latest version - 1.6+build.168https://smartcode-opensource.ci.cloudbees.com/job/jenkins-build-monitor-plugin/168/artifact/target/build-monitor-plugin.hpi - resolved the issue for you?
Two things worth noting:

the fix requires Build Monitor to run on Jenkins 1.598 or later (due to a bug in Jenkinshttp://jenkins-ci.org/changelog#v1.598)
and Jenkins to run on Java 7 u60 or later (due to a bug in Javahttp://bugs.java.com/view_bug.do?bug_id=8014394)

Please note: The version of Build Monitor mentioned in this ticket is not yet available on Jenkins Update Centre as it's a "beta" released to gather early feedback (changeloghttps://github.com/jan-molak/jenkins-build-monitor-plugin/compare/release-1.6+build.164...release-1.6+build.168).
To install the plugin from a .hpi file go to Manage Jenkins > Manage Plugins > Advanced > Upload
Looking forward to hearing from you!
Jan
—
Reply to this email directly or view it on GitHubhttps://github.com/jan-molak/jenkins-build-monitor-plugin/issues/183#issuecomment-157562058.
[e-news abonnieren]http://www.pepperl-fuchs.de/e-news [YouTube: Pepperl+Fuchs auf YouTube] http://www.youtube.com/user/PepperlFuchsGmbH     [@PepperlFuchsDE folgen] https://twitter.com/PepperlFuchsDE   [Pepperl+Fuchs auf XING] https://www.xing.com/companies/pepperl%252bfuchsgmbh

[Pepperl+Fuchs GmbH]http://www.pepperl-fuchs.com
SocialMedia2014
Pepperl+Fuchs GmbH, Mannheim
Geschaeftsfuehrer/Managing Directors: Dr.-Ing. Gunther Kegel (Vors./CEO), Dr.-Ing. Peter Adolphs, Werner Guthier, Mehmet Hatiboglu
Vorsitzender des Aufsichtsrats/Chairman of the supervisory board: Claus Michael
Registergericht/Register Court: AG Mannheim HRB 4713.
 Sollten Sie nicht der bezeichnete Adressat sein, so teilen Sie dies bitte dem Absender umgehend mit und loeschen Sie diese Nachricht und ihre Anhaenge. Die unbefugte Weitergabe, das Anfertigen von Kopien und jede Veraenderung der E-Mail ist untersagt. Der Absender haftet nicht fuer Inhalte von veraenderten E-Mails..
Important Information:
This e-mail message including its attachments contains confidential and legally protected information solely intended for the addressee. If you are not the intended addressee of this message, please contact the addresser immediately and delete this message including its attachments. The unauthorized dissemination, copying and change of this e-mail are strictly forbidden. The addresser shall not be liable for the content of such changed e-mails.

Hey Andreas,
Yes, you're correct. The problem is caused by the Java File class not handling the Windows UNC paths correctly. As mentioned in my previous post, Java 7 update 60 fixed this problem, and if you're using Jenkins >= 1.598 it can use that fix.
Many thanks for reporting the second problem, the one with the authority. This seems to be caused by a different issue with the File class, and the way it's interacting with the URI class... Oh joy ;-)
The latest build (1.6+build.169, available here) should work around that problem. Please give it a try and let me know your thoughts!
Looking forward to hearing from you,
Jan

Hello Jan.
Good news. The new version works!
Great job.
Best regards,
Andreas
Von: Jan Molak<EMAIL_ADDRESS>Gesendet: Mittwoch, 18. November 2015 23:25
An: jan-molak/jenkins-build-monitor-plugin<EMAIL_ADDRESS>Cc: Daubner Andreas<EMAIL_ADDRESS>Betreff: Re: [jenkins-build-monitor-plugin] "Couldn't compile the CSS from LESS sources" if plugin is located on network folder (#183)
Hey Andreas,
Yes, you're correct. The problem is caused by the Java File class not handling the Windows UNC paths correctly. As mentioned in my previous post, Java 7 update 60 fixed this problem, and if you're using Jenkins >= 1.598 it can use that fix.
Many thanks for reporting the second problem, the one with the authority. This seems to be caused by a different issue with the File class, and the way it's interacting with the URI class... Oh joy ;-)
The latest build (1.6+build.169, available herehttps://smartcode-opensource.ci.cloudbees.com/job/jenkins-build-monitor-plugin/169/artifact/target/build-monitor-plugin.hpi) should work around that problem. Please give it a try and let me know your thoughts!
Looking forward to hearing from you,
Jan
—
Reply to this email directly or view it on GitHubhttps://github.com/jan-molak/jenkins-build-monitor-plugin/issues/183#issuecomment-157884270.
[e-news abonnieren]http://www.pepperl-fuchs.de/e-news [YouTube: Pepperl+Fuchs auf YouTube] http://www.youtube.com/user/PepperlFuchsGmbH     [@PepperlFuchsDE folgen] https://twitter.com/PepperlFuchsDE   [Pepperl+Fuchs auf XING] https://www.xing.com/companies/pepperl%252bfuchsgmbh

[Pepperl+Fuchs GmbH]http://www.pepperl-fuchs.com
SocialMedia2014
Pepperl+Fuchs GmbH, Mannheim
Geschaeftsfuehrer/Managing Directors: Dr.-Ing. Gunther Kegel (Vors./CEO), Dr.-Ing. Peter Adolphs, Werner Guthier, Mehmet Hatiboglu
Vorsitzender des Aufsichtsrats/Chairman of the supervisory board: Claus Michael
Registergericht/Register Court: AG Mannheim HRB 4713.
 Sollten Sie nicht der bezeichnete Adressat sein, so teilen Sie dies bitte dem Absender umgehend mit und loeschen Sie diese Nachricht und ihre Anhaenge. Die unbefugte Weitergabe, das Anfertigen von Kopien und jede Veraenderung der E-Mail ist untersagt. Der Absender haftet nicht fuer Inhalte von veraenderten E-Mails..
Important Information:
This e-mail message including its attachments contains confidential and legally protected information solely intended for the addressee. If you are not the intended addressee of this message, please contact the addresser immediately and delete this message including its attachments. The unauthorized dissemination, copying and change of this e-mail are strictly forbidden. The addresser shall not be liable for the content of such changed e-mails.

Excellent! Thanks for your help with testing :-)


SW-4259 'Observation not scheduled' notification emails to Terraformation Contact/Support

Send email notifications to Terraformation Contact (or Terraformation Support) when observations haven't been scheduled in a while
First notification is sent when 8 weeks have elapsed since the last completed observation (or 6 weeks since the first planting)
Second notification is sent when 16 weeks have elapsed since the last completed observation (or 14 weeks since the first planting)
Added a support config in TerrawareServerConfig to configure a support email
Email is sent to the org's Terraformation Contact user if one exists, otherwise to the support email (if configured)
Added tests
Tested locally with the test clock, had to increase test clock html input to 3 (to advance clock to 16 weeks)
There is no app notification for this use case

Just some small stuff; generally this looks fine, though I worry that we're now accumulating a lot of nearly-identical notification functions.

Thanks again for the feedback, applied the changes. Also modified the parent PR to remove the various almost identical functions, which I agree was not too pretty. Updated this PR to leverage the criteria model in the parent PR.


[WIP] Runtime/preamble/prelude/compiler cleanup in prep for changing string representation

(CI is expected to fail, these changes will require a bootstrap and docker image dance.)
Just putting this up so others can see some of what is cooking. Individual commits should be readable more easily than the whole stack at once.

These changes are not all relevant to the string representation, but also include other fixes and cleanup that I encountered while working on strings.

Is there a prefix that can be reviewed and merged?

Yes. A number of these changes can't be tested in CI due to needing a more manual bootstrap procedure, and some will break CI for other PRs until the base docker image is updated. So I have been accumulating this to amortize the churn and risk. But since I'm not the only one working on these files now it makes sense to expidite merging more.

I need to go through and check that these commits don't undo @mbouaziz's recent improvements, and redo bootstraps after rebasing. But otherwise these commits up to but not including [compiler] Change string hash tag bit from 31 to 3 in generated code are ready for review and can be merged after that and another round of rebasing and testing.
The [compiler] Change string hash tag bit from 31 to 3 in generated code and following commits show the current state that works in native but not wasm. Using bit 3 for the string hash tag works in native since vtable pointers are 8-aligned, but not in wasm as there they are only 4-aligned. Using bit 2 does not currently work. Some other code is using bit 2 it seems. Bit 1 is used by copy and intern.

Re the differences between @cpp_extern, @cpp_runtime, @intrinsic + what is in the preamble:

intrinsic is for functions that the compiler itself knows about and will lower to some other code rather than just emitting a call to the named function. Sometimes a function is marked intrinsic if it is transformed to something by the compiler only conditionally or for some targets, in which case a default implementation is also needed. There are currently cases (e.g. clzImpl) where such default implementations exist but are never used. It's a TODO to clean them up.
cpp_runtime and cpp_extern are very similar in that they declare a function for skip code and delegate the implementation to the runtime system. If a name is given, that is the C linkage name that will be used for the implementation, if no name is given, the default encoding of skip names to C linkage names is used (e.g. SKIP_<module>_<class>_<function>). The difference between cpp_runtime and cpp_extern is that compiler will emit a declaration for cpp_extern functions but will not for cpp_runtime ones. Therefore, the cpp_runtime ones need to be declared manually in the preamble. This is useful to e.g. give different but compatible types in the llvm declaration than would be generated.

To try to repro the failure I see on my laptop but not on an aws box:

pull down this branch (https://github.com/jberdine/skdb/tree/string)
checkout the [compiler] Change string hash tag bit from 31 to 31 and 1 in generated code commit: git checkout string~4
build and install the stage1 compiler, I run: set -a; SKARGO_PROFILE=release; STAGE=1; PATH=$PWD/compiler/stage1/bin:$PWD/compiler/stage0/bin:$PATH; set +a; make clean && make -C compiler clean install
checkout the tip of this branch: git checkout string
build the stageC compiler, I run: set -a; SKARGO_PROFILE="dev -v"; STAGE=C; PATH=$PWD/compiler/stageC/bin:$PWD/compiler/stageB/bin:$PWD/compiler/stageA/bin:$PATH; set +a; make clean && make -C compiler clean default

Note that in the last step, I add -v to SKARGO_PROFILE in order to put skargo in verbose mode, which lets the error output get to the terminal.
The bad behavior I see is that when executing skc --data stageC/bin/state.db --export-function-as main=skip_main -o stageC/bin/skc ..., after the clang subprocess terminates, something like the following error message is printed:
bit 1 but not 31 set: 0x453f4c9c
make[1]: *** [Makefile:95: stageC/bin/skc] Error 67

This comes from line 43 or runtime.c.

This is ready now if anyone wants to make a review pass. I think/hope that the individual commits are each independeltly readable. The CI is expected to fail, the base image will need to be updated.
To test this I ran the following to test each commit in the stack one-by-one:
GIT_SEQUENCE_EDITOR=: git rebase -ix "dx 'set -a; SKARGO_PROFILE=dev; OLEVEL=-O0; STAGE=D; PATH=stageD/bin:\$PATH; set +a; make clean && make -C compiler clean install && make test-skfs'" main

where dx is my script to invoke a command in a docker container.
(Actually this was done only starting from the commit that adds the stageD build).
This process checks that a working compiler is produced at each step, when using the parent commit's compiler installed onto the host. This is true for the stack except for the step between [runtime] Change to use bit 1 to distinguish strings and [compiler] Change to use bit 1 to distinguish strings in generated code where the installed compiler generates code expecting the new runtime system, which only comes with the next commit. For this step, skc was manually installed onto the host with set -a; SKARGO_PROFILE=release; STAGE=D; PATH=stageD/bin:$PATH; set +a; cd compiler; install -m 755 stage$STAGE/bin/skc /usr/local/bin.
FInally, the tip was tested with a full make test using the tip compiler and runtime.

Note that the bootstrap commits, except for the last one, need not be committed. They mark points where going further in the stack requires the preceding runtime changes. I will filter them out before merging.

CI is red though

CI is red though

Yes, CI can't handle PRs like this. It tries to build the current skdb with the old compiler and the current prelude.
I will strip out the extra bootstrap commits, land this, then rebuild the image for CI.


Extract Phone numbers (request)

No doubts this library is great, I would appreciate your effort or time to write this library.
but is it possible to have phone number or mobile number extraction features.
~ Thanks

Hey, thanks :)! I don't have any plans to add that.
I think phone numbers might be something where regexes might not be a bad option, so not sure it fits in with the design of this library.
I'll close this but if anyone else is interested in phone numbers, feel free to comment.


I don't know how to download the missing hud or how to even start it.

I have been trying to start the missing hud 2 but I don't know how. I have beeen trying to go to library>application support>steam>steamapps>common>the binding of isaac and put the folder there but it isn't working. I don't have a clue of how to start it or how to open it (if it is an app) please help!

btw I am using a mac

Unfortunately, Missing HUD only supports the Windows version of the game.
On Tue, 15 Dec 2015, 13:34 gr221051<EMAIL_ADDRESS>wrote:

btw I am using a mac
—
Reply to this email directly or view it on GitHub
https://github.com/networkMe/missinghud2/issues/48#issuecomment-164624455
.

I believe the dev has said somewhere that he doesn't plan on developing the project on multiple operating systems.
Actually just found it.. https://github.com/networkMe/missinghud2/issues/23

As others have said, MHUD2 is currently Windows only.
I'd also add that with the announcement of Afterbirth+ and official modding support, it is even more unlikely that I will ever port MHUD2. I'm 100% sure Nicalis will provide a way to implement an MHUD2 equivalent using Afterbirth+'s modding tools in a much friendlier way.


[devto]  KeyError

I am trying to publish articles on devto website but I get the following error
LOGGER.info('Published {} to {}'.format(post.meta('slug'), m_post['url'])) KeyError: 'url'
I investigated and found that this error occurs in this line of pydevto.py
 m_post = api.create_article(
                    title=post.title(),
                    body_markdown=content,
                    published=True,
                    canonical_url=post.permalink(absolute=True),
                    tags=post.tags
                )
                #! added
                print(m_post, type(m_post))

when I printed the returned values and its type I get
{'error': 'article param must be a JSON object. You provided article as a NilClass', 'status': 422} <class 'dict'>
for more information about this error click

cc @MattiooFR

cc @MattiooFR

I’ll look info it and let you know

I’ll look info it and let you know


Fix, gitignore ktlint

Some people would push a massive large file if it is not ignored.

Thank you for the contribution 👍
However I'm not sure this is necessary as running ktlint is a one-time operation the instructions state to remove it once completed. Assigning to @tiembo to review.

@nickbutcher I know, however, it is nice2haven, people can avoid mistakes to the maximum extent possible. 🤔

Thanks @XinyueZ!


ListView should allow for negative indexes (double-infinite ListView).

There are many use cases for lists which are infinite both to the top and to the bottom. A calendar is an example. Currently, ListViews always start at 0 pixels and may be infinite to one direction only.
A double-infinite ListView also solves the jumpToIndex problem for both small and big lists (https://github.com/flutter/flutter/issues/12319). I have created this package as a proof of concept: https://pub.dartlang.org/packages/indexed_list_view but that implementation has problems which would be solved by a ListView which allows for negative indexes.

You can create Lists that are infinite in both dimensions today by using a Scrollable and Viewport directly. Conceptual example:
class EndlessListExampleApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    Key forwardListKey = UniqueKey();
    Widget forwardList = SliverList(
      delegate: SliverChildBuilderDelegate((BuildContext context, int index) {
        return Container(
          color: index % 2 == 0 ? Colors.green : Colors.yellow,
          child: Text('fordward $index'),
          height: 100.0,
        );
      }),
      key: forwardListKey,
    );

    Widget reverseList = SliverList(
      delegate: SliverChildBuilderDelegate((BuildContext context, int index) {
        return Container(
          color: index % 2 == 0 ? Colors.green : Colors.yellow,
          child: Text('reverse $index'),
          height: 100.0,
        );
      }),
    );

    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text('Endless List'),
        ),
        body: Scrollable(
          viewportBuilder: (BuildContext context, ViewportOffset offset) {
            return Viewport(
                offset: offset,
                center: forwardListKey,
                slivers: [
                  reverseList,
                  forwardList,
                ]);
          },
        ),
      ),
    );
  }
}

ListView just hides most of the complexity and is therefore also slightly more limited in what it can do.
See also https://github.com/flutter/flutter/issues/17054, which would expose these properties on CustomScrollView and make the code above slightly simpler.

@goderbauer imagine a situation where bodies for both pos < current and pos > current are/should be lazy loaded. One does not know how many items there are, just asks for the next N to the left, or to the right, depending on the scroll direction.
Also for the sake of memory-efficiency, let's assume we do not want to keep all the already loaded elements in memory, but instead drop them and reload (if necessary). For this reason, it would be great, if one could change the contents of slivers: on the fly (using a sort of builder), e.g. initially it would be slivers: [list1, list2]. Later on, when scrolling approaches the left-end of list1, list2 would get dropped and re-populated with elements  'more to the left of list1' and the slivers reordered like slivers: [list2, list1] and so on.
Any idea how this could be implemented building on the existing widgets?

This is resolved by https://github.com/flutter/flutter/pull/123819 which added much more documentation and sample code since this is already possible. 🎉


Use get_historical_evidence helper in checks

Overview
Once the ComplianceCheck.get_historical_evidence lands in the framework, we should change all uses of self.locker.get_evidence in the checks in this repo to self.get_historical_evidence.  This will ensure that historical evidence metadata is stored as part of the report metadata and check_results.json.
Requirements

Update Abandoned Evidence check
Update Python Packages check
Update Locker Repo Integrity check

Approach
Switch uses of self.locker.get_evidence to self.get_historical_evidence
Security and Privacy
N/A
Test Plan

All checks should run as before
index.json for reports generated by those checks should now include historical evidence metadata
check_results.json should now include historical evidence metadata for those checks

"get_historical_evidence" currently in PR https://github.com/ComplianceAsCode/auditree-framework/pull/71

I wonder if we do this, we shouldn't also add a helper method like self.get_last_evidence() instead of self.locker.get_evidence?

I think a self.get_last_evidence() would be redundant to the with_raw_evidences decorator and the evidences context manager.  Using either of those ensures we perform a TTL validation and that the evidence gets stored as part of the report metadata.  We don't have something comparable for historical evidence so we've been using self.locker.get_evidence in checks that need historical evidence.  The problem there is that it doesn't store the evidence in the reports metadata.  Adding get_historical_evidence to the check remedies that.  I could have updated with_raw_evidences and evidences to handle historical evidence but I thought that this was the less disruptive change.


How to retrieve tracks based on features values?

Hi, for my thesis project I have done the k-means clustering on multiple variables, in particular the "audio features object" variables.
The results from the k-means clustering is a certain number of centroid with its coordinates.
For example, here are 4 centroids with coordinates:
[[ 2.98386190e-02  7.12142857e-01  8.38761905e-01  2.13014333e-01    4.00000000e+00  2.25995238e-01 -8.14200000e+00  4.76190476e-01    4.85000000e-02  1.38954048e+02  3.95238095e+00  6.87857143e-01]  [ 1.04000000e-02  1.85000000e-01  9.48000000e-01  0.00000000e+00    8.00000000e+00  1.05000000e-01 -3.89200000e+00  1.00000000e+00    1.47000000e-01  1.96578000e+02  3.00000000e+00  3.16000000e-01]  [ 2.90790000e-02  6.90000000e-01  6.14000000e-01  7.30000000e-05    5.00000000e+00  7.40000000e-02 -8.79900000e+00  1.00000000e+00    6.67500000e-02  8.70125000e+01  4.00000000e+00  5.02500000e-01]  [ 5.22766923e-02  7.22115385e-01  8.16076923e-01  1.54899962e-01    6.23076923e+00  1.93623077e-01 -7.15776923e+00  4.23076923e-01    9.50038462e-02  1.30008923e+02  4.00000000e+00  6.42230769e-01]]
The firts number of the centroid corresponds to acousticness, the second to energy, the third to instrumentalness, etc.
Now, what I'd like to know is if it is possible to retrieve tracks with values near to these values using the Spotify Web API.
How could I make this?
Thank you very much

This repo is just a client/wrapper for the web API. Questions and requests for the web API can be made here https://github.com/spotify/web-api/


Closes #97544 - adds in operator to when clauses

This PR fixes #97544
Adds support for in operator in when clauses.
Example 1
vscode.executeCommand('setContext', 'supportedFolders', [ 'test', 'foo', 'bar' ]);

// or

vscode.executeCommand('setContext', 'supportedFileExtensions', { 'test': true, 'foo': 'anything', 'bar': false });

NOTE: in the object case, the value doesn't matter, as it is just the existence of the key on the object

"menus": {
	"explorer/context": [
		{
			"command": "ext.showOnlyOnCertainFolders",
                        "when": "explorerResourceIsFolder && resourceFilename in supportedFolders"
		}
	]
}

Example 2
vscode.executeCommand('setContext', 'supportedFileExtensions', [ '.js', '.ts' ]);

// or

vscode.executeCommand('setContext', 'supportedFileExtensions', { '.js': true, '.ts': 'anything' });

NOTE: in the object case, the value doesn't matter, as it is just the existence of the key on the object

"menus": {
	"explorer/context": [
		{
			"command": "ext.showOnlyOnCertainFiles",
                        "when": "!explorerResourceIsFolder && resourceExtname in supportedFileExtensions"
		}
	]
}

@eamodio, since there might be several folders with same name, I was trying to use resource instead of resourceFilename. This did not worked with the in operator.
vscode.commands.executeCommand('setContext', 'supportedFolders', ['file:///c%3A/Users/myUser/repos/vscode-ws/test']);
and
"menus": {
"explorer/context": [
{
"command": "vscode-project-type.helloWorld",
"when": "explorerResourceIsFolder && resource in supportedFolders"
}
]
},


Adjust .editorconfig

Summary
The .editorconfig had some rules that conflicted with the StyleCop rules.

@bdukes is this one ready to merge now?

@david-poindexter yes, it's good now.


Branch for Kinetic

So that i can fix this line

@IanTheEngineer can you give @k-okada the permission of access to Baxter and Baxter-Release related packages, so that the Orphaned Package Maintainer team can continue releasing on kinetic/melodic....
https://discourse.ros.org/t/ros-orphaned-package-maintainer-info-rep-152-for-review/7906


[help wanted]  Support AMD GPU

https://github.com/k2-fsa/sherpa-onnx/pull/153 added support for NVIDIA GPUs.
We also need to support AMD GPUs.
We need to integrate
https://onnxruntime.ai/docs/execution-providers/MIGraphX-ExecutionProvider.html
into sherpa-onnx.
Help from the community is highly appreciated.
Please leave a comment if you would like to help. We can help you if you meet any problems during the intergration.

I would point that an OpenCL implementation would be better, since it will be vendor independent.
But I've read that an OpenCL implemenation in ONNX is very difficult.
For AMD GPUs there is a compatibility layer called ZLUDA, but I haven't tested it.

We also need to support AMD GPUs.

Maybe we can inspire from pykeio/ort it uses AMD ROCm
Or from ggerganov/whisper.cpp that uses CNugteren/CLBlast

@csukuangfj
Is there a specific reason you prefer MIGraphX? Since it depends on many 3rd libs while Rocm looks simpler.
In addition it seems that it's gonna be pretty simple to add support for it similar to the PR of Cuda.
But for some reason the PR with cuda didn't prepared for any other GPU backend so need refactor there.

Is there a specific reason you prefer MIGraphX?

No, I listed it since when I searched with Google for how to use AMD GPUs with onnxruntime, it gave me
the link https://onnxruntime.ai/docs/execution-providers/MIGraphX-ExecutionProvider.html
I don't have any preferences for which one to use, as long as we can achieve the goal: Support AMD GPU.
If you could contribute, that would be great. If you have any issues, we would like to help you at any time..


[3.x] Update test suite to avoid unhandled promise rejections

This changeset backports #79 from 4.x to 3.x. There is no need to backport to 2.x as this only affects the coroutine() function that is only available in v3+ (#12).
Marking this as WIP until the upstream component has been released. In the meantime, this uses a temporary development branch.
Builds on top of https://github.com/reactphp/promise/pull/248, #77 and #47

Updated now that https://github.com/reactphp/promise/pull/248 has been merged, this is now ready for review :shipit:
This can be reproduced locally by installing Promise v3, which means either waiting for the official release scheduled next week or by installing the current development version with composer require react/promise:^3@dev.


Roll engine 2e8e96fad1ad..60c5bb86d8d3 (1 commits)

https://github.com/flutter/engine/compare/2e8e96fad1ad...60c5bb86d8d3
git log 2e8e96fad1ad..60c5bb86d8d3 --no-merges --oneline
60c5bb86d Return null instead of throwing if an instance method is passed to PluginUtilities.getCallbackHandle (flutter/engine#6260)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

@rmistry @liyuqian : New roll has been created by https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5168309146222592

Commit queue failed; closing this roll.


Exit Transformer cURL examples in demo section; remove obsolete handle_admin field; update for errs by mimetype

https://konghq.atlassian.net/browse/DOCS-1279 subticket in Shane's epic https://konghq.atlassian.net/browse/DOCS-1162 add curl examples in demo section, currently only httpie
Other tickets in this PR:
https://konghq.atlassian.net/browse/DOCS-1323 update docs for MIMEtype example
https://konghq.atlassian.net/browse/DOCS-1322 per https://konghq.atlassian.net/browse/FTI-1743

remove config.handle_admin was removed 1.5.3.

Before:

(Current plugin version indicates 1.5.x. Actual internal plugin version is 0.2.3. Plugin versions policy TBD.)

clarify 4xx and 5xx response codes. Legacy content implies only 404 and 400 responses are transformed. List responses as requested by Karl K.

https://deploy-preview-2332--kongdocs.netlify.app/hub/kong-inc/exit-transformer/#transforming-4xx-and-5xx-responses
https://deploy-preview-2332--kongdocs.netlify.app/hub/kong-inc/exit-transformer/#handling-unmatched-400-and-404-responses
https://deploy-preview-2332--kongdocs.netlify.app/hub/kong-inc/exit-transformer/#http-response-status-codes
After:

Direct review link (main entry point):
https://deploy-preview-2332--kongdocs.netlify.app/hub/kong-inc/exit-transformer/
Demo section added cURL examples; please review closely:
https://deploy-preview-2332--kongdocs.netlify.app/hub/kong-inc/exit-transformer/#demonstration
Added MIME type example:
https://deploy-preview-2332--kongdocs.netlify.app/hub/kong-inc/exit-transformer/#custom-errors-by-mimetype

Looking good to me, curl examples work, and the contents and explanation also look good!
Only missing piece is the example by MIME type, which any of my suggestions work for me. Either include it, include a shorter version of it, or not include that example at all.
Thanks!

Thank you @eskerda for all of your guidance! Included the abridged version as we discussed.

@lena-larionova this PR is ready for docs review.

@tlblessing Should we disable the autogenerated examples on this topic? The plugin requires a function, which we can't simulate in declarative config or k8s with the same @example/my_function.lua placeholder. Currently those examples are disabled and will likely remain that way; does it make sense to keep the autogenned cURL example as well?

@lena-larionova I think we should keep the generic autogenerated examples. @eskerda ?

Minor edit for a couple of missed $ line start markers.
I noticed that the code sample indentation hasn't been adjusted - as I said in my original comment, it isn't a dealbreaker and everything will still work the way they are now - will you be adjusting that still (ie, should I still wait to approve the edits after these minor changes)?

Will adjust


I want to withdraw tokens from the UDC contract

User Story
As Chris I want to withdraw tokens from the UDC contract so that I can sell them.
Acceptance criteria

Needs the notification area to be in place
There is an event which helps
There is a withdraw and deposit button (perhaps in the UDC screen)

Tasks

[ ] Design (Pre-Iteration design)

@karlb How do I withdraw my tokens from the UDC as a user? I have already checked https://raiden-network-specification.readthedocs.io/en/latest/service_contracts.html#userdeposit, but couldn't find an answer.

To withdraw, you have to call planWithdraw(amount), wait 100 blocks and call withdraw(amount). You can do this on etherscan. The Raiden client should provide a user friendly way to do that, but it currenlty doesn't. It's only getting the capability to do that internally just now.

@karlb Cool, thanks for the information :) We are planning to implement this in the Light Client.

@taleldayekh Please assign the "Ready" label after the design has been done, thanks :)

Sure thing!

One quick fix which also makes sense would be to add the withdrawal icon next to the balance. A user could then perform minting/depositing and withdrawal on the same screen.

Sound like a good idea to include a withdraw button there

Mockup ready. Pretty straight forward but it does the trick:
https://xd.adobe.com/view/6d1e5b87-796c-43d3-6dc0-4817716010fe-1b2f/
Not that the withdrawal icon should not be visible if there is no balance.
@kelsos @andrevmatos @weilbith

Whoever picks this issue please also center the top text. Dunno why it is not centered as it is now.

@taleldayekh do we have this icon already in the project?

Sure, you should already have used it when you implemented the token withdrawal screen.


How to use define inside a loop?

I am doing this
for (let i = 0; i < results.length; i++) {
  const row = results[i];
  define(MeterEntity, () => {
    const meterEntity = new MeterEntity();
    meterEntity.serial = row["Serial"];
    return meterEntity;
  });
  define(MeterReadingEntity, () => {
    const readingEntityObject = new MeterReadingEntity();
    readingEntityObject.varh = row["VARH"];
    readingEntityObject.wh = row["WH"];
    const dateTimeString: string = row["ReadingDateTimeUTC"];
    const dateTimeUTC = createDate(dateTimeString);
    const date = new Date(dateTimeUTC);
    readingEntityObject.createdAt = date.toISOString();
    readingEntityObject.meter = factory(MeterEntity)() as any;
    return readingEntityObject;
  });
}

where results is an array of objects with all the keys I am accessing in the factory definition.
I later run this factory like this
  public async run(factory: Factory, connection: Connection): Promise<any> {
    if (connection && connection.isConnected) {
      await factory(MeterEntity)().make();
    }
  }
}

I have kept the config of where the seeds and factories live to default and have those folders created in my project as per the defaults docs.
This runs fine. It connects to the db and it finds the seeds and runs them but just always persists the last array entry and never everything in the array.
I would expect define to run through all 100 elements in the array and persist all of them to the db.
Is there something I am missing regarding how this function works?
How can I fix this?

I have resolved this entry by moving the loop to the Seeder and as for the foreign ids, I simply pass the created entity as part of the context to the next entity to be created and use that.
i.e
Instead of
readingEntityObject.meter = factory(MeterEntity)() as any;

I do
readingEntityObject.meter = context.EntityCreatedEalier.meter


Preserving a Machine Learning feature in all versions of a LUIS app

Hi, whenever I create a Machine Learning feature for a given intent in my LUIS model, the feature is not preserved in the new version of the LUIS app that is generated when I add a new trigger in the Bot Composer and restart it. Any advice? Thanks

hi @FrancescoGen Can you expound on what you mean by feature? Can you share your LU? I'd like to try and reproduce, so if you have a bit more info/steps that I can use to try, that would be great.

Closing due to inactivity.

Hi, whenever I create a Machine Learning feature for a given intent in my LUIS model, the feature is not preserved in the new version of the LUIS app that is generated when I add a new trigger in the Bot Composer and restart it. Any advice? Thanks

Hi, did you find a solution for this problem?, because I have been facing the same issue wherein in ML feature disappears from LUIS when a new version is created


Can't open the URL with view-source

I tried to open the URL like view-source:https://www.google.com/ but I can't open the URL its says
" Flutter Custom Tabs only supports URL of http or https scheme."
Then I open the file custom_tabs_launcher.dart and commented on the code
if (url.scheme != 'http' && url.scheme != 'https') {     throw PlatformException(       code: 'NOT_A_WEB_SCHEME',       message: 'Flutter Custom Tabs only supports URL of http or https scheme.',     );   }
Then it gives me the error
" PlatformException(LAUNCH_ERROR, No Activity found to handle Intent { act=android.intent.action.VIEW dat=view-source:https://google.com }, null)"
I try to open the URL using the webview_flutter, then it's working fine.
the view-source also works in the chrome browser.
Is there is any way to open that URL by using custom tabs?

No, this plugin can only open a URL with http or https scheme.

No, this plugin can only open a URL with http or https scheme.

why it's take one whole year to reply on an issue ?

This is because I have been away from Flutter development for a long time.
I try to maintain the plugin as much as possible now, but probably not all the time.


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v5.13.3",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=bfb48b54db25c3b4ef4bef5e0691464ebc4aa335"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "bfb48b54db25c3b4ef4bef5e0691464ebc4aa335",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "media: v4l2-core: explicitly clear ioctl input data\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.13.3 by commit bfb48b54db25c3b4ef4bef5e0691464ebc4aa335. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1001212


Website: Horizontal scrolling on home page does not work with Chrome

Bug report
Current Behavior
On the home page, I am not able to show the next primitive components by clicking on the arrow right button (also the button "arrow left" does not work).
However: I can scroll with my trackpad.
Expected behavior
Clicking on the arrow should scroll right / left.
Your environment

Windows 10
Chrome Version 96.0.4664.45 (Official Build) (64-bit)

Do you mean using arrow keys?
If so I can't reproduce your issue as I seem to be able to focus and navigate the demos.

No, I mean by clicking on the buttons, which "show" me, that there are more demos on the right.
Using arrow keys by the way does not work for me either.

Would you be able to screen record what you see? I'm struggling to understand what you mean.

Yes, you can find the video here: https://files.fm/u/zuxvvp2bk

/cc @vladmoroz

Weird, I can't seem to reproduce the issue with the same setup. The arrow buttons work for me. Does anyone else experience this?

Works fine for me too on macOS Catalina:

@jepfp What operating system are you on?

Works for me too, he mentioned Windows 10 I think.
I've tried it in crossbrowsertesting.com with the exact details and it seems to work fine:
https://user-images.githubusercontent.com/1539897/143234856-0db7ca1f-5cf1-4d64-9ed4-c405f503c401.mov
So perhaps it is an extension or something that's breaking it.

Yes, Windows 10.
I did another video:

all extensions disabled (and browser restarted)
interestingly:

sometimes I can click and it scrolls, sometimes it doesn't.
scrolling a bit with the trackpad and then clicking again on the button sometimes solves the issue --> it looks like, the offset amount (how much I already scrolled) matters.

I have a windows computer with a touch screen. So you can see me first using the mouse and later using the touch screen
I think the window size matters. With a bigger window (e. g. disabled chrome dev tools) I never was able to scroll by clicking on the button.

video: https://files.fm/u/s2qp5tq3j

@jepfp this issue should be fixed, please let me know if it works as expected now. Thanks for raising the issue and providing the details 🙏

It works as I would expect. Thanks a lot!


Make Intersection Observer / hydrate-client configurable

In some of my use cases the intersection observer used to lazy load components with hydrate-client kicked in a bit late. As I understand it @philipp-tailor had a similar issue in #12 in that he'd like components with hydrate-client to hydrate instantly.
For these use cases it would be great if the hydrate-client behavior would be configurable. I personally like the fact that lazy loading is the default. Maybe the behavior can be extended something like this:
<!-- Lazy load component when in view -->
<Component hydrate-client={{}} />

<!-- Hydrate instantly -->
<Component hydrate-client={{}} hydrate-lazy={ false } />

<!-- Lazy load component with specific intersection observer configuration -->
<Component hydrate-client={{}} hydrate-lazy={{ rootMargin: '500px' }} />

note: I see IntersectionObserver.ts already accepts a distancePx, but it's not accessible from a Svelte template.

Took a stab at this today. Still needs tests written and a plan for preload as it doesn't work with Systemjs because Systemjs is undefined, but here is the WIP PR is here: https://github.com/Elderjs/elderjs/pull/17

hydrate-options= is a smart solution to not convolute the component's API 💪
lazy is a loading strategy. I would follow the HTML spec here, which supports lazy loading of images and iframes using <img loading="lazy"> and <iframe loading="lazy">.
So combining this with hydrate-options would make this hydrate-options={{ loading: 'lazy' }}.

@jbmoelker We'll rock "eager" and "lazy" then to match the spec. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-loading


Write a Dart program to find volume of a cylinder

Description
Write a Dart program to find volume of a cylinder
Volume of cylinder = π × Radius^2 × Height
Radius : 2
Height : 3

Volume : 37.69911184307752

How to contribute

Save the solution in find_volume_of_a_cylinder.dart file
Add find_volume_of_a_cylinder.dart file in program/find-volume-of-a-cylinder folder

!assign


randomize motto on the web

The Power of Now!
Relax, it’s going to take no time.
Saves you money and resources!
Real-time servers monitoring.
...

done


Change Mouse Icon

Hi,
would love to have the possibility to change the Icon that is used to display mouse clicks.
Thanks

Hi, do you have an example in mind? Currently it is a vector path.

Hi. Something like a Pen. I'm using a graphic tablet and want to show a pen instead of the mouse. Something like this: https://img.banggood.com/images/oaupload/banggood/images/70/82/6c5ae96d-e602-4525-adca-1af46aef585a.JPG
There's no left click. Button down is right click an button up is middle click.
I'll try to make a small vector and attach later.
Thanks.

OK, here we go. Attached find 3 SVG files contain a pen in the states off, right-click highlighted and middle click highlighted. They are created Feel free to use them for carnac.
pen.zip


Owlto Finance applies for joining taiko's ecosystem

Title of your project
Owlto Finance
Short (1-2 sentence) description of your project
The decentralized cross-rollup bridge focused on Layer2.
Link to your project
https://owlto.finance/
Please provide evidence here that your project is integrated with Taiko for us to easily check.
we have deployed the taiko testnet in our test website: https://owlto.finance
Upload a quality logo to your project

Thanks
Kenk @.***>于2023年7月21日 周五18:21写道：

Closed #14173 https://github.com/taikoxyz/taiko-mono/issues/14173 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/taikoxyz/taiko-mono/issues/14173#event-9883836736,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7N3ZM7G2IEMKVBS25XWMQ3XRJJZJANCNFSM6AAAAAA2K7OTBM
.
You are receiving this because you authored the thread.Message ID:
@.***>


bqplot example in configuration docs is broken

Description

When running the example notebook in https://jupyterlite-sphinx.readthedocs.io/en/latest/configuration.html, I get the following:

ValueError: Requested 'widgetsnbextension~=3.6.0', but widgetsnbextension==3.5.0 is already installed

I am especially interested in this since I am trying to use bqplot for my project also, that's why I visited the page actually
Reproduce

Go to https://jupyterlite-sphinx.readthedocs.io/en/latest/configuration.html
Click on run all
Scroll down to the first cell
See error

ValueError: Requested 'widgetsnbextension~=3.6.0', but widgetsnbextension==3.5.0 is already installed

Expected behavior

Context

JupyterLite version:
Operating System and version: MacOS 12.1
Browser and version: Chrome 99

Browser Output

index.es6.js:288 Plugin '@jupyterlab/drawio-extension:plugin' failed to activate.
(anonymous) @ index.es6.js:288
Promise.catch (async)
(anonymous) @ index.es6.js:287
e.start @ index.es6.js:286
(anonymous) @ index.js:306
await in (anonymous) (async)
86798 @ index.js:310
v @ bootstrap:19
Promise.then (async)
(anonymous) @ bootstrap.js:90
await in (anonymous) (async)
20514 @ bootstrap.js:64
v @ bootstrap:19
(anonymous) @ startup:4
(anonymous) @ bundle.js?_=75b8d6e:1
index.es6.js:289 Error: No provider for: @jupyterlab/application:ILayoutRestorer.
    at f.e.resolveRequiredService (index.es6.js:201:35)
    at index.es6.js:156:70
    at Array.map ()
    at f.e.activatePlugin (index.es6.js:156:38)
    at index.es6.js:287:26
    at Array.map ()
    at f.e.start (index.es6.js:286:33)
    at index.js:306:13

Thanks for reporting! We probably need to update the configuration https://github.com/jupyterlite/jupyterlite-sphinx/blob/main/docs/jupyterlite_config.json

Rebuilding the docs with the latest jupyterlite version fixed it https://jupyterlite-sphinx.readthedocs.io/en/latest/configuration.html thanks again for reporting!


Create a fake s3 mode with a fixed latency to test cosbench2 itself

s3tester is intended to be an S3 client and there are no plans to make it act as a dummy s3 server.


CouchDB

Overview

Testing recommendations

Related Issues or Pull Requests

Checklist

[x] Code is written and works correctly
[x] Changes are covered by tests
[x] Any new configurable parameters are documented in rel/overlay/etc/default.ini
[x] A PR for documentation changes has been made in https://github.com/apache/couchdb-documentation

This isn't an acceptable pull request, sorry.


DEPRECATION WARNING: Passing null, a non-string value, to unquote() will be an error in future versions of Sass

Since Sass 3.4.10 in their change log:
http://sass-lang.com/documentation/file.SASS_CHANGELOG.html
"Passing a non-string value to the unquote() function didn’t do anything useful and is now deprecated. In future, this function will follow its documentation and emit an error if a non-string value is passed."
When using Susy's "@include span()" mixin, sass reports the Deprecation Warning.
Using Susy 2.2.1, Sass 3.4.10.
I don't fully understand why the error(warning - future error) is occurring, but I thought I might just mention it.

I can't recreate this with the information given.
Also, looking at the Susy code: there is no mention of unquote() in the main susy files, unless you are using susyone (in which case there is no span() mixin). Susyone only uses unquote() on $from arguments, which should always be strings.

It looks like I had to dig quite a bit deeper.  It appears to be a problem with compass. (Sorry, forgot to mention I'm using compass 1.0.3.
I did the old trial and error and commented things out until I narrowed down what was causing it to spit the warning out.
Eventually I got to Susy's box sizing mixin.  (susy-2.2.2/sass/susy/ouput/support/_box-sizing.scss
It checks for existing support of a box-sizing mixin.  Compass's box-sizing mixin is probably the first thing it finds.
Compass's box-sizing mixin:
@mixin box-sizing($box-model: $default-box-sizing) {
  $box-model: unquote($box-model);
  @include prefixed-properties(css3-boxsizing, $box-sizing-support-threshold, (box-sizing: $box-model));
}

And there's the unquote(). I guess this will have to be brought up with guys over at compass.
Thanks, been using susy for a while now, it's awesome :D

Same here, the issue disappeared when I overwrote Compass box-sizing mixin. Thanks, you saved me from a debugging headache (since the error message does not provide any details, such as line number)!

@cibulka
Thanks for the confirmation, just curious what you changed the box-sizing code to?

I think what he means by overwrote is overload the box-sizing mixin and write it like the following:
@mixin box-sizing($box-model: $default-box-sizing) {
@include prefixed-properties(css3-boxsizing, $box-sizing-support-threshold, (box-sizing: $box-model));
}
I did a test on one of my project and the warnings were all gone.  Obviously instead of using the compass box-sizing mixin, it will use the above mixin.

Here is a better way of overloading the box-sizing mixin:
@mixin box-sizing($box-model: $default-box-sizing) {
@if type-of($box-model) == string {
$box-model: unquote($box-model);
}
@include prefixed-properties(css3-boxsizing, $box-sizing-support-threshold, (box-sizing: $box-model));
}
I did refactoring on $box-model so that if its a string then it will use unquote otherwise it will ignore it.

I also get the Deprecation Warning. I am not using the mixin box-sizing in my project, but the warning makes reference to it:
	[18:22:17] DEPRECATION WARNING: Passing null, a non-string value, to unquote()
	will be an error in future versions of Sass.
			on line 19 of /Library/Ruby/Gems/2.0.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_box-sizing.scss, in `box-sizing'
			from line 12 of /Library/Ruby/Gems/2.0.0/gems/susy-2.1.3/sass/susy/output/support/_box-sizing.scss, in `susy-box-sizing'
			from line 38 of /Library/Ruby/Gems/2.0.0/gems/susy-2.1.3/sass/susy/output/support/_support.scss, in `susy-support'
			from line 12 of /Library/Ruby/Gems/2.0.0/gems/susy-2.1.3/sass/susy/output/shared/_output.scss, in `output'
			from line 28 of /Library/Ruby/Gems/2.0.0/gems/susy-2.1.3/sass/susy/language/susy/_span.scss, in `span'
			from line 46 of /[ny project]screen.scss

How can I fix it. Because I am not using the box-sizing mixin in the project, I can't follow the solutions posted above in this thread.

Certain Susy features require changes to box-sizing, and use the compass mixin by default if it's available. You can turn that off in you Susy settings (see custom box-sizing in the docs).
$susy: (
  use-custom: (
    box-sizing: false,
  ),
);

I also want to note that the order of import is seems to be important.
When I do:
@import "compass";
#than
@import "susy";

it will not show the deprecation warning.

@mvjoyner: Sorry, I've missed the notification! I kept it very simple:
@mixin box-sizing($value) {
	-moz-box-sizing: $value;
		 box-sizing: $value;
}

Deprecation warning went away and overwritten mixin worked as expected.

Awesome, thanks everyone!

Can i do an update of Compass gem to fix this issue ?


Update mux rules to allow slashes in image names

%2F escaping is also supported.
Fixes #5229
Signed-off-by: Jhon Honce<EMAIL_ADDRESS>

docs test is failing.

LGTM once things go green

/lgtm
/hold

/lgtm
/hold cancel


feat: allow dangerouslySetInnerHTML in Typography

Resolves #40058
important questions are:

is this (iife) how it is done most often here?
do we want a more specific check (like === undefined),

[x] I have followed (at least) the PR section of the contributing guide.

To be honest, I don't think we should add this logic. It's either the problem of the structure or the problem of the usage. Why not using dangerouslySetInnerHtml on the plain HTML tag.

Yeah. It's better to use a non styled element like span to wrap your html.

Since there is no response from the PR author, I am closing it.

I was kinda expecting reply from @mnajdova, and I'm not sure what I needed to reply to

I was kinda expecting reply from @mnajdova, and I'm not sure what I needed to reply to

I misunderstood. I'll leave the PR closed though since two people suggest not having this. I'll wait for @mnajdova's response before making a decision to reopen this. We're also not currently prioritizing Joy UI.


[C++] Separate Protobuf dependencies into a libarrow_proto.so

Describe the enhancement requested
In #14082 we found that conflicts between different Arrow libraries using Protobuf would lead to runtime crashes. This mostly affects macOS wheels, where:

Arrow is built as a shared library,
Arrow dependencies are linked statically,
The macOS linker doesn't support version scripts.

In this case, libarrow.so, libarrow_flight.so, libarrow_flight_sql.so, and libarrow_substrait.so all link their own copies of libprotobuf.a. (libarrow.so due to ORC.) And they also all export those symbols. This happens to have been mostly fine so far since none of them use the same Protobuf definitions, except Flight SQL and Substrait both use google.protobuf.Any. So when both are loaded into a process, Protobuf triggers an assertion because Any is defined twice.
The solutions would be:

Rewrite Protobuf definitions to not use Any. However this is a source-breaking change and is probably not going to happen on the Substrait side.
Configure the macOS linker to hide the Protobuf symbols. I've seen it suggested that this is OK because then there will be multiple copies of the Protobuf runtime and they shouldn't conflict. That's why Linux and Windows wheels seemed to be unaffected. However, the macOS linker doesn't support version scripts, and it's very hard to convince CMake to use -hidden-l (the equivalent flag) - and there's no native support for it in CMake so you end up having to rewrite/refactor a lot of CMake to distinguish between targets and link commands (which is not usual). (I think you could do this by adding a custom target, adding the 'real' protobuf as a non-link dependency, and adding the linker flag to the custom target's properties? But you'd still have to be careful in places where the Arrow CMake scripts list a bunch of targets to bundle or export - those still need to point to the 'real' Protobuf target somehow.)
Create a new shared library that links Protobuf and contains all the Protobuf definitions. Then all other libraries depend on this instead of depending on this directly. My worry is Windows, where protoc doesn't support generating dllexport/dllimport annotations, so you need something like WINDOWS_EXPORT_ALL_SYMBOLS.

Component(s)
C++

Configuring the linker to hide the symbols would be my preference I think.  Pity this is all so complicated.  Did we give up on the "protobuf lite" option?

Ah, thanks for reminding me. That's an option, I believe, but what I could find seemed waffly about whether it would actually solve this. (Also: the conflict is in a core Protobuf type, so I'm not sure if 'lite' applies to this? I guess you do link a different library, so maybe...)
I'm not sure if there is a practical way to get CMake to do this - it seems like CMake has no notion of "different linker flags besides -l" which is what I actually want. Short of that, it's all just one big hack.

That said, I can investigate more - just not in time for the release.

On the PR, you mentioned at some point (idea to link libprotobuf dynamically with the several libarrows instead of statically as we do for all non-arrow dependencies):

Ah, digging into the build - the issue is that they both link libprotobuf statically. Instead, we need to link it dynamically. The awkward part will be getting vcpkg to do this (I don't think we can make vcpkg build just one library dynamically? And then we also have to remember to bundle it into the wheel).

I don't know if this option is still being considered, but just to note about vcpk: this should be possible by defining a custom triplet, where you can change the linking for specific packages (https://vcpkg.io/en/docs/users/triplets.html#per-port-customization). And we already have custom triplet files, which currently configures all libraries to use static linking.

No longer a worry since we're going to punt on having the C++ Flight SQL implementation available to Python. I'll leave this issue open, though, since the conflict may come up again in the future.


Particle systems: add support for fog

See https://forum.babylonjs.com/t/hide-particles-in-the-built-in-fog/47815

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/14765/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14765/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14765/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14765/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14765/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14765/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14765/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14765/merge#BCU1XR#0

(Experimental) visualisation test reporter:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14765/merge/testResults/webgl2playwright/index.html

@Popov72 Any chance it could also be done for Lines? As far as I can see lines created with CreateLines also ignore fog. Thanks a lot!

See #14768


feat!: enable Prometheus TLS by default

This appears to be slated for 3.5 but it didn't happen.
Note to reviewers: this is part of a stack of reviews for metrics changes. Please don't merge until the rest of the stack is also ready.
Signed-off-by: Alan Clucas<EMAIL_ADDRESS>

Ah, fun. We don't run CI on things going to branches.

Ah, fun. We don't run CI on things going to branches.

My intention is to fold all these down into the base #13265 which will be the last to merge. It'll then CI the stack together.

I would actually do the opposite -- once the opentelemetry branch is merged, the base branch here will automatically change to main.
The opposite also has the benefits of decoupling the first PR; it would be merged first, not last, and there is never a large combined diff to approve either

This appears to have been slated for 3.5 but it didn't happen.

Fixes #7052 apparently. Alex mentioned that the manifests might need changing there? It's the same port. And I actually couldn't find any metrics Service in the manifests; only one is in the metrics docs page and I don't think it needs updating since port and protocol (TCP) have not changed


Backend address is flapping for containers connected to multiple networks in Swarm

Do you want to request a feature or report a bug?
Bug
What did you do?
Traefik is running in swarm mode connected to overlay network frontend. Backend services are running in stacks connected to both frontend and their private (default) networks and has label     traefik.network: frontend.
What did you expect to see?
Traefik detects backend address correctly (either one from the network specified with  traefik.network or just one from then network(s) that both backend and Traefik connected to).
What did you see instead?
Traefik selects IP address randomly every time it updates configuration from docker provider. Sometimes it picks correct address (from frontend network) and sometimes it chooses one from backend stack's internal network and starts to respond with 504 Gateway timeout.
Output of traefik version
Version:      v1.6.4
Codename:     tetedemoine
Go version:   go1.10.3
Built:        2018-06-15_03:12:50PM
OS/Arch:      linux/amd64

Docker: 18.0x (tried 18.03.1-ce and 18.05.0-ce)
Environment & configuration
Network created with:
docker network create -d overlay --attachable frontend
It doesn't matter if I run traefik as a single container with docker run or as a standalone swarm service.  Traefik command line:
docker run --rm --name traf --network frontend --publish 80:80 --publish 8000:8000 --mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock \
--docker --docker.swarmMode --docker.watch --api --rest --entrypoints="Name:http Address::80" --entrypoints="Name:traefik Address::8000" --defaultentrypoints=http  --loglevel=DEBUG

Stack is deployed with:
docker stack deploy -c nginx.yml n
nginx.yml:
version: "3.4"
networks:
 frontend:
  external: true
 default:
services:
 nginx:
  image: nginx
  networks:
   - default
   - frontend
  deploy:
   labels:
    traefik.port: 80
    traefik.network: frontend
    traefik.frontend.rule: "Host: docker"

The problem persists if I add traefik.backend.loadbalancer.swarm (with either true or false).
If applicable, please paste the log output in DEBUG level (--logLevel=DEBUG switch)
time="2018-06-24T15:51:25Z" level=debug msg="Configuration received from provider docker: {\"backends\":{\"backend-n-nginx\":{\"servers\":{\"server-n-nginx-1\":{\"url\":\"http://<IP_ADDRESS>:80\",\"weight\":1}},\"loadBalancer\":{\"method\":\"wrr\"}}},\"frontends\":{\"frontend-Host-docker-0\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-n-nginx\",\"routes\":{\"route-frontend-Host-docker-0\":{\"rule\":\"Host: docker\"}},\"passHostHeader\":true,\"priority\":0,\"basicAuth\":[]}}}"
time="2018-06-24T15:51:25Z" level=debug msg="Creating frontend frontend-Host-docker-0"
time="2018-06-24T15:51:25Z" level=debug msg="Wiring frontend frontend-Host-docker-0 to entryPoint http"
time="2018-06-24T15:51:25Z" level=debug msg="Creating route route-frontend-Host-docker-0 Host: docker"
time="2018-06-24T15:51:25Z" level=debug msg="Creating backend backend-n-nginx"
time="2018-06-24T15:51:25Z" level=debug msg="Creating load-balancer wrr"
time="2018-06-24T15:51:25Z" level=debug msg="Creating server server-n-nginx-1 at http://<IP_ADDRESS>:80 with weight 1"
time="2018-06-24T15:51:25Z" level=info msg="Server configuration reloaded on :80"
time="2018-06-24T15:51:25Z" level=info msg="Server configuration reloaded on :8000"
time="2018-06-24T15:51:40Z" level=debug msg="originLabelsmap[traefik.port:80 com.docker.stack.image:nginx com.docker.stack.namespace:n traefik.frontend.rule:Host: docker traefik.network:frontend]"
time="2018-06-24T15:51:40Z" level=debug msg="allLabelsmap[:map[traefik.frontend.rule:Host: docker traefik.network:frontend traefik.port:80]]"
time="2018-06-24T15:51:40Z" level=debug msg="originLabelsmap[traefik.network:frontend traefik.port:80 com.docker.stack.image:nginx com.docker.stack.namespace:n traefik.frontend.rule:Host: docker]"
time="2018-06-24T15:51:40Z" level=debug msg="allLabelsmap[:map[traefik.port:80 traefik.frontend.rule:Host: docker traefik.network:frontend]]"
time="2018-06-24T15:51:40Z" level=debug msg="Backend backend-n-nginx: no load-balancer defined, fallback to 'wrr' method"
time="2018-06-24T15:51:40Z" level=debug msg="Configuration received from provider docker: {\"backends\":{\"backend-n-nginx\":{\"servers\":{\"server-n-nginx-1\":{\"url\":\"http://<IP_ADDRESS>:80\",\"weight\":1}},\"loadBalancer\":{\"method\":\"wrr\"}}},\"frontends\":{\"frontend-Host-docker-0\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-n-nginx\",\"routes\":{\"route-frontend-Host-docker-0\":{\"rule\":\"Host: docker\"}},\"passHostHeader\":true,\"priority\":0,\"basicAuth\":[]}}}"
time="2018-06-24T15:51:40Z" level=debug msg="Creating frontend frontend-Host-docker-0"
time="2018-06-24T15:51:40Z" level=debug msg="Wiring frontend frontend-Host-docker-0 to entryPoint http"
time="2018-06-24T15:51:40Z" level=debug msg="Creating route route-frontend-Host-docker-0 Host: docker"
time="2018-06-24T15:51:40Z" level=debug msg="Creating backend backend-n-nginx"
time="2018-06-24T15:51:40Z" level=debug msg="Creating load-balancer wrr"
time="2018-06-24T15:51:40Z" level=debug msg="Creating server server-n-nginx-1 at http://<IP_ADDRESS>:80 with weight 1"
time="2018-06-24T15:51:40Z" level=info msg="Server configuration reloaded on :80"
time="2018-06-24T15:51:40Z" level=info msg="Server configuration reloaded on :8000"

Hi @random-ua,
Thanks for your interest in the project.
Label traefik.network does not exist it should be traefik.docker.network documentation available here
I will close this issue because I think the question is answered!
Please feel free to reopen it if necessary


Show Block Trend for both candidates

Clearly describe the solution you'd like
Show the Block Trends for both candidates

Thanks - this is a great and simple update idea. Would be incredibly useful in a race with more than 2 candidates, if not required! At this point the focus is on less clutter on the chart though so we'll be leaving it as an optional future enhancement.

This would be visually noisy, and you can just do 100 - whatever pretty easily.


update flavor view in service catalog views

Wherever service details are displayed, the flavor component must be changed. Currently it is too big and the data is lost.
Change this flavor display as the following

Show one entry for each flavor name.
Flavors to be listed one below the other.
on flavor mouse over, show the detail of that respective flavor.
If the mouse over view is too big, then add scroll automatically.

I‘ll take this.


Split "status" command into "status" and "stats"

Currently, status lists whether a game is active, the current Card Tsar, the active players, the leaderboard, and the current black card. It would be nice to split this into two separate commands: status for information pertinent to the current game (current card, Tsar, who we're waiting on, maybe active players), and stats for information about the "meta" game (leaderboard, maybe last winning combination). Six (beepy) lines is a tad much for a single command.

Right then. status currently looks like this:

<AgainstHumanity> A game is active in #bitfolk! We're just waiting on dotwaffle to make their play.
<AgainstHumanity> The current Card Tsar in #bitfolk is ging
<AgainstHumanity> Active Players in #bitfolk: grifferz(2) zuzak(2) dominic(1) ziphy(1) popey(1) tolien(1) dave2(1) filbert(1) ging(1) johnm(1) tommy(0) dutchie(0) plett(0) daviey(0) dg(0) dotwaffle(0) dee(0)
<AgainstHumanity> Top 3 all time in #bitfolk: grifferz(2) zuzak(2) dominic(1) ziphy(1) popey(1) tolien(1) dave2(1) filbert(1) ging(1) johnm(1)
<AgainstHumanity> Current Black Card in #bitfolk:
<AgainstHumanity> → What are school administrators using to curb rampant teenage pregnancy?

Issue #66 proposes to change it to:

<AgainstHumanity> Waiting on dotwaffle to make their play. Round started about 18 hrs, 20 mins ago. Idle punishment in about 22 hrs, 50 mins.
<AgainstHumanity> The current Card Tsar in #bitfolk is ging.
<AgainstHumanity> Active Players in #bitfolk: grifferz(2) zuzak(2) dominic(1) ziphy(1) popey(1) tolien(1) dave2(1) filbert(1) ging(1) johnm(1) tommy(0) dutchie(0) plett(0) daviey(0) dg(0) dotwaffle(0) dee(0)
<AgainstHumanity> Top 3 all time in #bitfolk: grifferz(2) zuzak(2) dominic(1) ziphy(1) popey(1) tolien(1) dave2(1) filbert(1) ging(1) johnm(1)
<AgainstHumanity> Current Black Card in #bitfolk:
<AgainstHumanity> → What are school administrators using to curb rampant teenage pregnancy?

With this issue I propose that status give us:

<AgainstHumanity> [#bitfolk] Waiting on dotwaffle to make their play. Round started about 18 hrs, 20 mins ago. Idle punishment in about 22 hrs, 50 mins.
<AgainstHumanity> [#bitfolk] Active Players: grifferz(2) zuzak(2) dominic(1) ziphy(1) popey(1) tolien(1) dave2(1) filbert(1) ging(1) johnm(1) tommy dutchie plett daviey dg dotwaffle dee
<AgainstHumanity> [#bitfolk] The Card Tsar is ging; current Black Card:
<AgainstHumanity> → What are school administrators using to curb rampant teenage pregnancy?

That's for private message; no [#bitfolk] bit for channel message.
And that stats give us:

<AgainstHumanity> [#bitfolk] Active Players: grifferz(2) zuzak(2) dominic(1) ziphy(1) popey(1) tolien(1) dave2(1) filbert(1) ging(1) johnm(1) tommy dutchie plett daviey dg dotwaffle dee
<AgainstHumanity> [#bitfolk] Top 3 all time in #bitfolk: grifferz(2) zuzak(2) dominic(1) ziphy(1) popey(1) tolien(1) dave2(1) filbert(1) ging(1) johnm(1)

plus more we think of later…

I would suggest removing ActivePlayers as well from the status command. That is not required information to play.

Okay. But I'm not sure that fits into the spirit of stats either!

That is true! But the status command is one that you use so often, it needs to be as short as possible and not have any information that is not required to play.
Perhaps move ActivePlayers to a "players" or "names" command.


changed the rest of the cycles

Finished changing the rest of the for loops to Range loops.
I also modifyed the type of a variable that should be unsigned.
Linking CXX executable PotreeConverter
[100%] Built target PotreeConverter
comparing binary stats
28c28
< duration: 5.223s
---
> duration: 3.982s
comparing las stats
28c28
< duration: 4.973s
---
> duration: 4.064s
comparing BINARY
comparing LAS

Thanks for the PR!


Notifications are not working on device

Maybe due to the new refactor?

This is due to the WorkManager being killed by Chinese OEMs. See this issue: https://issuetracker.google.com/issues/113676489


Fixed typos

'SystemDashboardDescription'
'Clip'

Made a few fixes.

Thanks!  I'll get this deployed now


ol.map: Single WMS Image failed to load with rotation

When we are passing some rotation value through the ol.View for ol.Map, we are getting requested width or height value exceeds the maximum value from WMS service. The response is EMPTY, since our WMS service supports only 4096 is maximum width or height. But the Open layers calculated width and/or height are exceeds the 4096.
When we are passing rotation value is ZERO or some values randomly, an image is generated properly. This case NO maximum width or height issue.
Our questions -

Do we have any maximum width or height limitation related issues with Openlayers? How you are calculating these widths and height values?

For some rotation values, png/pdf is generated properly. For some rotations not. How the width and height are calculated using rotation?

How to trace the issue?

Pseudocode:

My Map

A rotated image must enclose the viewport, so either dimension could be up to sqrt(2) times greater than the maximum of the unrotated dimensions, which in turn depend on the hidpi and ratio options used in the ImageWMS constructor.  You haven't specified which version you are using but WMS may also be affected by #9585 in OL6 and PDF generation by #9460 in all versions and #9665 in OL6.

Attached the sample snap, how we have selected the map area. The issue is specific to A3 size. working fine with A4 size.

We are using OpenLayers 4.6.4 version

Is an issue with OpenLayers?

Is an issue already fixed in OpenLayers 5 and OpenLayers 6?

Our understanding is –
If ((rotated image dimension*1.414)> maximum of the unrotated dimension)
{
Empty Image
}
Is our understanding correct?

Our question:

How to check proactively, whether the rotation angle (rotated image dimension) is within the limits or not? so that we can avoid an empty image from WMS service.

A3 at 300dpi will exceed 4096 width with hidpi: false and ratio: 1 (which minimise the requested size) even without rotation.  The only obvious opportunity in a public method to see what OpenLayers is requesting seems to be via a custom image load function.  You could reduce the pdf dpi but that would reduce the quality of all layers, so an alternative workaround would be to scale down the WMS image request to a maximum of 4096 and then stretch the output back to what OpenLayers was expecting.  To simplify the demo I have used v5.3.0 full build and therendercompleteevent, and  because of issue #9460 changed calculateExtent and fit to getResolution and setResolution https://codepen.io/anon/pen/bPvExb

Thanks for your solution.


Update Ghostscript & Poppler PDF libraries

Updates the container base image to use official Python 3.9 based on Debian Bullseye. This provides access to more recent versions of Ghostscript and Poppler (plus various other dependencies) from official Debian repos.
Ghostscript & Poppler no longer need to be built from source, so the additional build tools are also removed from the container build. Build time is much improved.

Updates Ghostscript from 9.21 to 9.53.3 - changelog
Updates Poppler from 0.69.0 to 20.09.0 - changelog (note: this isn't as drastic as it looks. They changed convention after 0.90)

Installed package versions:
libpango1.0-dev:
  Installed: 1.46.2-3
  Candidate: 1.46.2-3
libmagickwand-dev:
  Installed: 8:<IP_ADDRESS>+dfsg-1.3
  Candidate: 8:<IP_ADDRESS>+dfsg-1.3
imagemagick:
  Installed: 8:<IP_ADDRESS>+dfsg-1.3
  Candidate: 8:<IP_ADDRESS>+dfsg-1.3
ghostscript:
  Installed: 9.53.3~dfsg-7+deb11u1
  Candidate: 9.53.3~dfsg-7+deb11u1
poppler-utils:
  Installed: 20.09.0-3.1
  Candidate: 20.09.0-3.1
xfonts-utils:
  Installed: 1:7.7+6
  Candidate: 1:7.7+6
gsfonts:
  Installed: 1:8.11+urwcyr1.0.7~pre44-4.5
  Candidate: 1:8.11+urwcyr1.0.7~pre44-4.5
libcairo2:
  Installed: 1.16.0-5
  Candidate: 1.16.0-5

Linux Package Changes

Linux Package
Previous Version
Updated Version
Dependent Python Lib
Notes

libpango1.0-dev
1.42.4-8~deb10u1
1.46.2-3
Weasyprint - v51
Used to render printable PDFs from HTML

libmagickwand-dev
<IP_ADDRESS>+dfsg-2.1+deb10u1
8:<IP_ADDRESS>+dfsg-1.3
wand - v0.5.9
Various image generation & processing

imagemagick
<IP_ADDRESS>+dfsg-2.1+deb10u1
8:<IP_ADDRESS>+dfsg-1.3
NA / subprocess
We only appear to use this to check the installed version. May not be required at all.

xfonts-utils
1:7.7+6
1:7.7+6

No change

gsfonts
1:8.11+urwcyr1.0.7~pre44-4.4
1:8.11+urwcyr1.0.7~pre44-4.5
(not sure)
NA / no actual change

fonts-freefont-ttf
20120503-9
20120503-10
(not sure)
NA /  no actual change

ghostscript
9.21
9.53.3~dfsg-7+deb11u1.
NA/ subprocess

poppler-utils
0.69.0
20.09.0
pdf2image v1.12.1

I haven't delved into all of the details but this looks good and I agree with Bens comment.
I think it is good that we aren't also trying to upgrade the python package dependencies in this PR, that can come as a separate change.
In terms of deployment plan, I think we should look to release this change at about 4:30pm to production, not on a Friday.
I would be interested in discussing the idea of then rolling it back after 5:30pm to the previous template preview so we can then give DVLA some time to process and double check there are no issues. If after a few days we hear there are no problems we could then roll out for a whole day and then revert back again to check and then after that it should be all good to just stay out.

Me and @rjbaker paired on testing this locally. We made some temporary code changes to:

Disabling all the validations, so we could easily drive tests through the UI.
Forcing all PDFs to pass through the two GhostScript commands we have.

Detailed results are below. Short summary: this PR will cause visual changes to PDFs we process, but these appear to be minor. However, something that appears minor visually may have a big affect at print time e.g. if DVLA can't print them due to the new colour or font behaviour. However (however), there's realistically no more testing we can do without further investment in this app, so we will just have to proceed with caution.
Note: it's possible some of the subtle font changes were just artefacts from rendering the PDF as an image. Even then, there is a definite decrease in the thickness of some fonts with this PR.
Note 2: we also tested landscape_rotated_page.pdf but saw nothing remarkable before / after, beyond the same differences described below.
Blacks are "black-er"
Left in both screenshots is the original PDF.
The effect is hard to see from the screenshots, although the "blue-r" one is clearly "brighter" in the centre.

Before (blue-r)
After (black-er)

Other colours after darker

no_colour.pdf
example_dwp_letter.pdf

https://user-images.githubusercontent.com/9029009/143279797-eef8c5aa-9e49-4b9c-97c4-bb22218276b2.mov
https://user-images.githubusercontent.com/9029009/143279856-da347981-0021-406f-8a48-7380b6c44007.mov

Example font changes

public_guardian_sample.pdf (changed)
address_block_repeated_on_second_page.pdf (unchanged)

https://user-images.githubusercontent.com/9029009/143280272-15e2cc5d-9975-42c8-a83c-16c4c9797158.mov
https://user-images.githubusercontent.com/9029009/143280858-0c21038c-8edb-4f1b-81d7-348c957b32d5.mov

Discussed further offline. After more testing we found the above differences are only in the preview PNGs and not the actual letter PDFs. We didn't check for this initially as in theory the PNG generation shouldn't have changed due to GhostScript or Poppler changes. However, on further investigation we found that the change to the base Docker image has had some impact on the versions of packages installed, including libmagickwand-dev, which accounts for the PNGs being different.
@rjbaker has updated the PR description with all the changed packages, including where they are used. The only additional one of concern is libpango / Weasyprint, which is used for generating templated letter PDFs from our HTML templates. We've visually checked that templated PDFs look the same before and after the changes, so no new concerns there.
after_templated.pdf
before_templated.pdf
Summary: nothing of concern, just superficial visual changes in PDF previews, ready to deploy.


Models and migrations

In this pull request ♻

Create user, concert, city, concert_hall and reservations models and migration 👍
Assign association between the models 👍

Well done @AmineDerbal, Time to merge!

🙌
Well done, I' merge it!
🙌

🎉🎉🎉


Add redirect_uri to yammer docs

In 2015, Yammer revised their security requirements to require the exact redirect_uri, rather than just the domain.  As a result, it is important that python-social-auth specify the appropriate redirect_uri in the documentation.
The documentation format in this PR matches the format of other backends, such as foursquare
yammer documentation

Thanks!


more markdown like in quillpad

https://www.f-droid.org/packages/io.github.quillpad/

oh interesting, great idea! Thanks.
There will be a large re-write of the text editor portion in the future and I will take a look at this.


Show source & line number for schema errors.

TBD on formatting the error messages, so this is a draft for now.
Add validation test that shows the error message.
Output for example when running with schema version 1.5.0, but not having removed the deprecated "disable-fullscreen-checkbox":
><EMAIL_ADDRESS>build /Users/sandern/inception/csde-components-boilerplate
> gulp

[12:37:06] Using gulpfile ~/inception/csde-components-boilerplate/gulpfile.js
[12:37:06] Starting 'default'...
[12:37:06] Starting 'compileDesignFile'...
[12:37:06] Starting 'generateVendorScript'...
[12:37:08] Finished 'generateVendorScript' after 2.64 s
[12:37:08] Finished 'compileDesignFile' after 2.64 s
[12:37:08] Starting 'validate'...
/componentProperties/10/control should have required property 'options'
{
    "missingProperty": "options"
}
At line number 564:
>             "control": {
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control/type should be equal to one of the allowed values
{
    "allowedValues": [
        "select"
    ]
}
At line number 565:
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control should have required property 'options'
{
    "missingProperty": "options"
}
At line number 564:
>             "control": {
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control/type should be equal to one of the allowed values
{
    "allowedValues": [
        "radio"
    ]
}
At line number 565:
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control should have required property 'value'
{
    "missingProperty": "value"
}
At line number 564:
>             "control": {
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control/type should be equal to one of the allowed values
{
    "allowedValues": [
        "checkbox"
    ]
}
At line number 565:
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control/type should be equal to one of the allowed values
{
    "allowedValues": [
        "text"
    ]
}
At line number 565:
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control/type should be equal to one of the allowed values
{
    "allowedValues": [
        "time"
    ]
}
At line number 565:
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control/type should be equal to one of the allowed values
{
    "allowedValues": [
        "colorPicker"
    ]
}
At line number 565:
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control/type should be equal to one of the allowed values
{
    "allowedValues": [
        "image-editor"
    ]
}
At line number 565:
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control/type should be equal to one of the allowed values
{
    "allowedValues": [
        "drop-capital"
    ]
}
At line number 565:
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control/type should be equal to one of the allowed values
{
    "allowedValues": [
        "media-properties"
    ]
}
At line number 565:
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control/type should be equal to one of the allowed values
{
    "allowedValues": [
        "fitting"
    ]
}
At line number 565:
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control/type should be equal to one of the allowed values
{
    "allowedValues": [
        "slides"
    ]
}
At line number 565:
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control should have required property 'defaultConfig'
{
    "missingProperty": "defaultConfig"
}
At line number 564:
>             "control": {
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control should have required property 'viewLink'
{
    "missingProperty": "viewLink"
}
At line number 564:
>             "control": {
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control/type should be equal to one of the allowed values
{
    "allowedValues": [
        "interactive"
    ]
}
At line number 565:
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control/type should be equal to one of the allowed values
{
    "allowedValues": [
        "header"
    ]
}
At line number 565:
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control/type should be equal to one of the allowed values
{
    "allowedValues": [
        "textarea"
    ]
}
At line number 565:
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control/type should be equal to one of the allowed values
{
    "allowedValues": [
        "url"
    ]
}
At line number 565:
>                 "type": "disable-fullscreen-checkbox"

/componentProperties/10/control should match exactly one schema in oneOf
{
    "passingSchemas": null
}
At line number 564:
>             "control": {
>                 "type": "disable-fullscreen-checkbox"

[12:37:08] 'validate' errored after 175 ms

The errors are repeated due the way the json validator library ajv works. However it now adds the line numbers. Still, not entirely happy with the formatting and message, so need some input on that.

I think this is a huge improvement and help for creating custom component sets. But shouldn't the error message include the filename? This way you know where the error is coming from. Just looking at the output isn't giving me enough info.

Included the file name and column number as well.
Do note that the current errors are only for schema validation.
The other validators still show the old errors, so it's always in components-definition.json anyway. Maybe we can improve those later, the schema errors are likely a bigger source of confusion.


how to show gray picture

I can get the frame, and it only has Y bytes, there's no UV, if i don't set UY bytes to the frame, it will be green, but i just want to show a gray picture, so what can i do ?

You can synthesize U and V planes of the required size, and then reuse them with each frame.
Use the value 0x80 (128) for the fill bytes, and I believe it should give you a nice grayscale output for your Y plane.

thanks!
It works well


归档的文章时间轴，是否能明确排序的顺序呢？

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Added missing link

Added missing link to official Docker website in the Next steps section.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/eclipse/azure-toolkit-for-eclipse-publish-spring-boot-docker-app.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Update the module with locals for instance_count

What

Update the module with locals for instance_count

Why

Terraform cannot compute count if it is expressing through a variable which is not defined

Plan


Sign / Notarize MacOS builds

Apple has pretty much insisted that developers sign and notarize their apps for MacOS:
https://developer.apple.com/documentation/security/notarizing-macos-software-before-distribution
I've gone through the process of becoming an Apple Developer (gross, I hate that title).
GitHub build actions for MacOS x86_64 and arm64 architecturs should now sign the GAM binary files and upload them to Apple for notarization (which seems to be a malware scan mostly)
Note that there is an additional step of "stapling" the notarization to the app but it's optional and as far as I can tell there are only a few minor consequences of not stapling:

Trying to run the app for the first time while offline will fail - this doesn't matter much for GAM since trying to run GAM offline would have failed anyway. It'd fail a bit later but now it will fail a bit sooner on first run.

On first run without a staple, MacOS. will reach out to Apple servers to retrieve the notarization info for the GAM binary. This results in a minor delay of a few seconds on first run of the GAM binary (each new GAM version installed will go through this). Since MacOS then caches the staple, additional runs of the GAM binary should be very fast.

Since we're not waiting for the notarization to complete and then stapling, it's possible a given GAM binary release could be published and installed by users before notarization is complete and result in ugly security warnings to the user. The first few notariations I performed with GAM took ~12 to complete but since then Apple has "learned" what GAM binaries look like and notarization generally completes in a few minutes. If we run into issues here, we can tell the notarization command in GitHub actions to actually wait until Apple notarization is complete but that will obviously slow down builds.

This is now done and GAM7 MacOS is signed and notarized. For details on verification see:
https://github.com/GAM-team/GAM/wiki/Verifying-a-GAM-Build-is-Legitimate-and-Official#macos-apple-signature-and-notarization


Utkarshtutorials

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

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

📄 Note to reviewers
I have added the following tutorials :
git checkout command
git commit command
All the videos are edited and designed in order to make the content more attractive.
Excel file: video.tutorials.xlsx
📷 Screenshots

Excel file:
video.tutorials.xlsx

Thank you @Ultimateutkarsh11 for taking out your valuable time in order to contribute to our project. Looking forward for more such amazing contributions :)
Sure, thanks!


[explore]resizable Edit Dataset modal

Screenshot

Description
As a data scientist, I would like to be able to resize the Edit Dataset modal, especially when I'm writing long sql expression to create new metrics.  I simple solution would be similar to the metrics/filter pop over.
https://user-images.githubusercontent.com/67837651/119413833-464bdc80-bca3-11eb-8b87-9825b4affe9a.mov

There is an HTML resize icon at the edge of the SQL text area.
cc: @junlincc

In version 1.5.0, there is not resize icon. Related issue is here: https://github.com/apache/superset/issues/20200

Closing this as stale since it's been silent for so long, and is a feature request rather than a bug (plus, there's been a PR to resolve at least some of it!). If this is relevant in current versions (currently 3.x) please open a new Ideas discussion or a PR to address the problem.


Three different cursor styles

Is the bug present when using the default Obsidian theme?
No
Is the bug present when snippets and plugins are disabled?
Yes
Minimal theme version
7.0.3
Describe the bug
I'm experiencing three different cursor styles on my vault, after updating Minimal theme:

Black cursor on regular paragraphs.

Slightly wider, light grey cursor on beginning of empty lists.

Dark grey cursor on list items at the end of the text.

Now, here's the weird thing:

I tried replicating this on a clean vault with only Minimal theme, Style Settings, Minimal Settings. And I couldn't - the cursor, shows up correctly, with same width in all cases - black on new line, grey on new list item, black at end of text. I tried importing my Style Settings to this clean vault too and it didn't replicate the issue.
On the Vault that has this issue I have tried to:

Disable all snippets, it didn't affect the cursor.
Disable all plugins except Style Settings and Minimal Settings, it didn't affect the cursor.
Switched from Minimal to default Obsidian Theme, while keeping all other plugins and snippets enabled, and the cursor style changed to black in all cases.

So since the issue seems to only affect my current vault, and only when Minimal theme is enabled but not on a fresh install, could there be some legacy code leftover from the previous versions that is causing issues?
Debug info
SYSTEM INFO:
Obsidian version: v1.3.5
Installer version: v1.3.5
Operating system: Windows 10 Pro 10.0.22621
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: light
Community theme: Minimal v7.0.3
Snippets enabled: 11
Restricted mode: off
Plugins installed: 21
Plugins enabled: 20
1: Style Settings v1.0.6
2: Minimal Theme Settings v6.3.1
3: Advanced Tables v0.18.1
4: Auto Link Title v1.4.1
5: Better Word Count v0.9.6
6: Calendar v1.5.10
7: Copy Block Link v1.0.4
8: Copy Image and URL context menu v1.5.0
9: Dataview v0.5.56
10: Hide Sidebars on Window Resize v1.1.0
11: Image Toolkit v1.3.1
12: List Callouts v1.1.4
13: Natural Language Dates v0.6.1
14: Note Refactor v1.7.1
15: Obsidian Enhancing Export v1.8.3
16: Omnisearch v1.14.2
17: Periodic Notes v0.0.17
18: Sortable v0.3.1
19: QuickAdd v1.2.1
20: Templater v1.16.0
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
please note that I already tried turning off the plugins and snippets above and it didn't help

I managed to find what causes this (and some other) issue for me: lowering the font size in Appearance settings from 16 to 15, or 13, or 11 (basically any odd number font size) immediately does the following:

Makes the cursor be in three different styles.
Makes the indentation lines blurry.
Makes the checkboxes render blurry in edit mode (I mentioned this to @kepano on Discord yesterday)

This happens on a clean vault with only Minimal installed, and doesn't happen on the official theme.


Calculator

In this pull request, the following tasks have been completed:

Created a component directory and made added a calculator.js file.
Build a layout of calculator and completed basic styling.

Thank you for your time and comments @ShahierNashaat , I've used your guidelines to convert it into class components and also changed the name of the class, as suggested.