Box drawing characters are not antialiased

Environment
Windows build number: Microsoft Windows [Version 10.0.18362.592]
Windows Terminal version (if applicable): Version: 1.0.1401.0
Any other software? No.

Steps to reproduce

Install the latest 1.x version of Windows Terminal and open a WSL terminal.
Download and display the UTF-8 Demo Text, for an example
$ curl https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt

Expected behavior
The box drawings are properly rasterized with antialiasing in similar fashion to the rest of the text. Here is an example from Fluent Terminal using the Inconsolata font:

(Note: I'm not necessarily saying this is perfect either, but it's at least closer to what would be an acceptable and more consistent result.)
Actual behavior
The box drawing glyphs are severely aliased, unlike any other text, with visible pixel gaps in diagonal elements, and generally just look really bad. Rendered in the latest stable Windows Terminal version using the Inconsolata font (size 10pt):

This behavior is not just limited to Inconsolata, but happens with every font, and every size. Here is for an example Cascadia Mono in different sizes:
8pt

10pt

12pt

This behavior was introduced recently in the RC versions, and I assume 0.11.1333.0 in specific since it included #5743 which altered the way box drawing glyphs were handled. Prior versions had alignment issues with these glyphs that the PR aimed to fix, but at least the glyphs were still rendered nicely individually, with a similar, comparable output to what Fluent Terminal produces.

I think this is will probably be covered by issue #5897.

Linking, but not closing this. Thanks.

I add that utf8 file to the repo last year some time: https://github.com/microsoft/terminal/blob/master/doc/reference/UTF8-torture-test.txt

It's not too bad at all with Fira Code:

The diagonals are terrible though (U+2571, U+2572, and U+2572). These are "box drawing" characters - they're meant to connect together.

@oising Definitely doesn't look like that for me. This is Fira Code at 10pt:

From #8614

Steps to reproduce
Start Windows Terminal (defaults to PowerShell) and Windows PowerShell (that runs in Windows Console) and log in using ssh in PowerShell to a Raspberry Pi with BOINC and boinctui and run that in each.
Expected behavior
That the scrollbar should be without gaps in Terminal like it is in Console. Console here:

(The Xbox Game Bar using Alt+Win+PrtSc cut out the lower part of the Window with the status bar, but it is there in reality.)
Actual behavior
The scrollbar has gaps in Terminal. Terminal with original settings (generated by Windows Terminal 1.4.3141.0) here:

With the new code-driven box-drawing character rendering feature, the rectangles are also not antialiased. This column has 8 steps and with the column width being 6 pixels here it appears there are only correspondingly 6 steps.

Not sure if this should be made a separate issue.

Im using Cascadia Mono and box drawing was flawless, no overdraw, no lines, no aliasing.
But after Windows Terminal auto updated itself to 1.21.2911.0 today, that is no longer the case.
Its totally unusable now!
Direct2D:
e
Direct3D:

@grable are you sure you have the builtin glyph setting enabled?

No i dont, they are incorrect in both sizing, looks and alignment plus no rounded corners. I prefer the stock box drawing that comes with most fonts as very few actually change them.

The builtin glyphs are our solution to the problem you're having. But you're right that the rounded corners are difficult to see at 100% display scale. I'll make them larger and roughly match the way that Cascadia Mono looks like. Hopefully that should be an alright compromise for you.

Ok, didnt realize that. It might be that my resolution of 2560x1440 is just too much for those single pixel lines.  It just, looks weird is all.
Id expect the thin lines to be thicker than a single pixel...
I do like the rounded look though, so making them more rounded is A OK in my book :D, thank you!
If you didnt already know, there are misalignment between thin and thick lines too, especially noticeable with thick corners and thin edges.
The thin lines should be centered within the thick ones.
Actual:

Expected:

That was unfortunately intentional. A lot of users asked us for such box glyphs that don't have aliasing ("blur") and so when I only have 1px to work with I've decided that I'd simply make it look somewhat asymmetric. Adding options to control this would be extremely easy to do though: All of the drawing is already parametric. 🙂 If you'd like us to add support for that, please feel free to file an issue for it (the description can be short).

I think i will😃 Thank you again!


Discrete Mathematics alternatives

I have found this free, interactive textbook on Discrete Mathematics (http://discrete.openmathbooks.org/home.php) with 363 exercises, including 233 with answers or full solutions very useful.
It could be used as a replacement for MIT course or at least added as an alternative resource.

Thank you! I haven't had a chance to review this resource yet but I'm sure we'll be able to utilize it somehow.

How does this book, and/or the MIT course (and their book) compare to the book by Rosen?

@raialok I added this to extras/readings since we already have an alternative resource for discrete math. Thanks again!


Page Ordering for Folder Export

When exporting a folder, it is grabbing the files in the wrong order, different from the numbered order I have them in the folder. Suggestions?

Exporting folders doesn't guarantee the order of files. You can use custom-export to manually specify the order first. Later, we can add a configuration option to sort by time or name.

THX. I'll try the custom-export option.


Don't restrict SocketChannel ServerSocketChannel to InetSocketAddress

Motivation:
We shouldn't restrict to the usage of InetSocketAddress as this will disallow to wrap a java.nio.channels.SocketChannel that was created for a unix domain socket.
Modifications:
Just return SocketAddress
Result:
Be able to wrap java.nio.channels.SocketChannel implementations which not use InetSocketAddress at all

/cc @vietj @violetagg


Fixed a typo

@stap123 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Possible way to use MLAPI Library code, not a DLL?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Yes.. It is kind of problems for me.
Actually I am an open source developer who try to make a sample using MLAPI.
But repository that I try to upload has a policy not to allow 3rd party DLL.
So, I would like you to ask how I can use Library code itself, not to import DLL on my source codes.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Please give me a clear guidance how to import source code itself to my repository.
Is it OK to use code itself, not to import DLL?
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
T_T
Additional context
Add any other context or screenshots about the feature request here.

Hi,
Yes you can use the source code of MLAPI directly instead of using the DLL version. Just copy the "MLAPI" folder from the repository into your project and make sure to also include our license file to give proper attribution.

Cool. Sounds good!
As I am making sample, I want to get confirmation from you. :) Thanks!

I'll close this issue but if you run into any problems with importing the MLAPI source into your project or if you have more questions please just reopen the issue.


Reader-friendly preparation

Hello, I'm also starting my preparation for CSSLP.
Can you please make small changes to your repo to have more reader-generator-friendly format ?
I mean:

move all documents under some top folder (notes?)
add 1/2-digit prefix to top-level folders
add digit to each mardkown from that folders ?

I'll be able to create github action to generate documentation that you can serve on your github pages & that would be easier to read. (OR PDF for e-book reader)
Example:
https://github.com/shafr/CEH-in-bullet-points (source)
https://shafr.github.io/CEH-in-bullet-points/ (generated site)

@shafr sure! I can work on that over this weekend. I will let you know when done. Thanks for the suggestion!

thank you! Probably main concern is under specific chapter there are notes from different sources - im not sure if there is specific order or they just cover same topic but from few sides

@shafr I think I got it all done now. Not sure about some of the CSS/other formatting you may have on your CEH one but feel free to submit a PR :)
https://joeyhage.github.io/csslp-notes/

No, that's it, everything looks great, only badge for some reason is not resolved to a link.
I started my own reading of Essential CSSLP today.

My notes are from the CSSLP Certification All-in-One Exam Guide. I take the exam one month from today so I will be adding a lot of review notes and other items before then.

Can you recommend any test sources ?
Previously I used Sybex book for certification,
not sure about what to use for CSSLP. (It seems like it's not so popular as CISSP)

For sample test questions? The All in One comes with an online code for McGraw-Hill which has sample test questions. It allows me to specify which chapters I want to generate a test for, how many questions, and then has optional hints as I take the test. For example, if I want a hint, it will first tell me which chapter/section of the book has the topic, then give a hint, then give the correct answer (before I finish the test exam). I got the book for about $50 and have found it very useful. That would be my main recommendation.
Otherwise, I have other test sources through O’Reilly Online and Pluralsight (I have licenses for those two websites).
I have also found information on Reddit:

https://reddit.com/r/CSSLP
https://reddit.com/r/cybersecurity/search?q=CSSLP

After reading few hundred of pages (with a lot of stuff that I already knew & a lot of new terms and definitions that i didn't) I think that mkdocs are not the best choice for this cert preparation:

I think it should be more jekyll style - where each article / entry has tags cloud which you can easily search through
and additionally there is chapter pages created where this snippets go one-by-one describing topics from different sources, so when you read through some specific item - it would show items related only to that topic

Here is what I meant (dirty example):
https://shafr.github.io/csslp-notes-jekyll/tag-static
https://shafr.github.io/csslp-notes-jekyll/tag-collapse
https://github.com/shafr/csslp-notes-jekyll

Nice! I can see how that would help, too. I like the mkdocs format for my studying purposes so I’m not going to change it, but thanks for all the suggestions and good luck with your studying!


Fix: config MKL build error - mkl_layout_pass.cc has missing dependency

Fixing the issue #9979

Can one of the admins verify this patch?

@tensorflow-jenkins test this please


Dev

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (78a08a2) 100.00% compared to head (946dd47) 100.00%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##                main        #3   +/-   ##
===========================================
  Coverage     100.00%   100.00%
  Complexity       144       144
===========================================
  Files             17        17
  Lines            441       441
===========================================
  Hits             441       441

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add gRPC support for app channel

Comment from @yaron2
"we have this issue here which might be resolved for 1.11: https://github.com/dapr/dapr/issues/6177. this will enable us to set the app channel in daprd and remove the need to proxy the response back to the app.
if this doesn't get implemented, I suggest we use a standard Go net/http reverse proxy director to forward all traffic from daprd to the app endpoint. this should give us easy HTTP1.1/HTTP2 (gRPC) support"

Hi @salaboy, this issue was solved by version 1.11.*, I think that we can close it too 😄


Fixes overflowing input field

Original issue: #5118
Before the fix:

After the fix:

@viddo: have a look, please.

Have a look to this PR, @viddo.

The icon looks wrong, right? Also not very much in favor of these fixed widths if we can avoid them, would it be possible to let the container handle the overflow using CSS attrs? E.g.
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;

Sorry, I uploaded the wrong capture.
The h6 element that contains the URL has already the properties you list (.u-ellipsLongText). If I move it to the parent element we'd get this:

If I apply the .u-ellipsLongText to both elements I get this instead… I find it a bit ugly, but maybe is better than specifying the width manually.

Yeah, agree… if the box has a specific size then I think it's fine, but otherwise I'd let the container define the available size and use width: 100% to fill up the container (so the overflow applies correctly), but perhaps not doable in this case. If that's the case then go ahead. :+1:


Add connection settings option to unload firebase FCM config files

I'm the case you no longer want to use it

Done 1.12.4 release


Update requirements.txt

Updated requirements.txt -added six and crispy form

Checking the requirements as I write this comment.

Added six


Use getopt for parsing command-line arguments

We wrote our own argument-parsing code: https://github.com/cdr/code-server/blob/385be36dea427a3311fba440fb7e06fda66e864d/install.sh#L155-L162
It would be better to switch to getopt to simplify this, so that we don't our own custom code, and so that we support all the constructs that people expect (no value allowed, mandatory value, optional value)

Derek Allegra


Please support $event on close

Please capture the event on close and pass it thou
Steps to reproduce
  <multiselect
      v-model="selected"
      @close="onClose($event)" >
    </multiselect>

Expected behaviour
event is first parameter (mouse or keyboardevent)
Actual behaviour
selected item is first parameter
related: https://github.com/shentao/vue-multiselect/issues/776

That sounds like a really good idea! Thanks

Given a PR for it: https://github.com/shentao/vue-multiselect/pull/1118


Web support

Hello, thank you for this lib. I'm implementing a cross-platform app like we use to do with Flutter. Actually the plugin do work fine on android and ios. Only. But not on web. So my question is to understand how we could add web support for that. I saw there's already a sdk for web so the integration could be fast. What do you recommend?

Hi @stephane-segning,
Thanks for reaching out. We'd be glad to assist.
We've just released version 2.0.17 of pushy_flutter which adds support for the Flutter Web platform using the Pushy Web SDK.

Please edit the pubspec.yaml in the root directory of your project and update the plugin version referenced to the following:

pushy_flutter: 2.0.17

Run flutter pub get to fetch the new version.

Follow the Flutter Web integration instructions.

Run your app and observe whether the Web Push SDK is able to register for and receive push notifications.

Please let us know if you face any issues, or have any questions.


Migrate broker api to Jersey

Recent migration to grizzly server using servlet causes the compatibility issue with netty.
This migrates broker side apis to jersey in order to make controller, broker, server
use the same library for api endpoints.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@b2f4448). Click here to learn what that means.
The diff coverage is 67.7%.

@@            Coverage Diff            @@
##             master    #1930   +/-   ##
=========================================
  Coverage          ?   49.37%
=========================================
  Files             ?      830
  Lines             ?    40189
  Branches          ?     5390
=========================================
  Hits              ?    19844
  Misses            ?    18633
  Partials          ?     1712

Impacted Files
Coverage Δ

...t/broker/api/resources/PinotBrokerHealthCheck.java
0% <0%> (ø)

...kedin/pinot/broker/broker/BrokerServerBuilder.java
80.64% <100%> (ø)

...pinot/broker/api/resources/PinotClientRequest.java
27.77% <27.77%> (ø)

...er/api/resources/PinotBrokerRoutingTableDebug.java
42.85% <42.85%> (ø)

...er/api/resources/PinotBrokerTimeBoundaryDebug.java
71.42% <71.42%> (ø)

...pinot/broker/broker/BrokerAdminApiApplication.java
91.66% <91.66%> (ø)

Continue to review full report at Codecov.

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


Can I use fig.show()?

Hi!
I want to use sphinx-gallery to document a package that uses plotly as the visualization tool. As in this repo, I used the custom image scrapper, but I wonder why it does not capture the output of
fig.show()

and you have to do
plotly.io.show(fig)

Or is it just me that I have the problem?
The reason I'd like the first one to work is because it feels weird to write an example with plotly.io.show(fig), since nobody is going to actually use this in "real life".
Thank you!

Since I have plotly's Figure wrapped in my own class and sphinx-gallery looks for the _repr_html_ method of the returned object I just added the following method to my class:
class MyClass:
    ...

    def _repr_html_(self):
        return plotly.io.to_html(self.figure, full_html=False) # (self.figure is a plotly Figure)

and then
plot = MyClass()

plot

works well as a workaround without needing the plotly custom scraper, for anyone who might read this.
However, I still would prefer that plot.show (which calls plot.figure.show()) would work so that I could output more than one plot in a code block. Any chance this can work?

I just realised that _repr_html_ is already implemented for plotly >= 4.8.0 and I was using 4.7.1, sorry for all the comments :)


RFE: Add timestamp to show the time that have passed since the build started

See original issue on GitLab
In GitLab by [Gitlab user @jjardon] on Jan 16, 2018, 09:21
For example, looking to this build when the build is in progress in not easy to know how much time have passed since the build started: https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/jobs/48072526

In GitLab by [Gitlab user @jjardon] on Jan 16, 2018, 09:24
changed the description

In GitLab by [Gitlab user @tristanvb] on Jan 16, 2018, 09:34
This information is shown in the status area when running on a real console - the status area however cannot be viewed on say, a gitlab server where there is no real console.
I'm highly skeptical of adding anything to the log lines for this. The time it took to complete a given task, and the total session time when a session completes, are relevant and interesting things to observe. The time offset at which a given build commenced relative to the time which the build started on the other hand is quite meaningless.
We display progress updates and the like for interactive use, because a user wants feedback while watching a build, but this irrelevant information need not add noise and clutter to the build log.

In GitLab by [Gitlab user @jjardon] on Jan 16, 2018, 10:19
In our case, the gitlab terminal is the only way to see what happens to the builds (we only build in gitlab), so all the benefits of the status are lost for us
I also disagree its not useful, as I can inmediatelly know if a build is taking the normal amount of time or its stuck in a component for some reason

In GitLab by [Gitlab user @tristanvb] on Jan 16, 2018, 10:43
As you state, this is useful only for live observation purposes. This is what we have the console status for, this information will not go into the build log itself.
Possible solutions for this:

Improve gitlab to handle the ANSI escape sequences required for the console status updates
Improve gitlab to offer a real console
Participate in the thread on #188, and create user defined event hooks which spit out additional stuff for your logs; this could be done with a bash script that just outputs the stuff you want to output yourself.

The build log itself however, is not the right place for this.

In GitLab by [Gitlab user @tristanvb] on Jan 16, 2018, 10:43
closed

In GitLab by [Gitlab user @jjardon] on Jan 16, 2018, 11:14
We have been using another tool (ybd) for a long time that do this without clutter the logs a lot; example: https://gitlab.com/baserock/definitions/-/jobs/38040808.
Not sure why you think the logs are not the correct place to do this?

In GitLab by [Gitlab user @tristanvb] on Jan 16, 2018, 11:44
First, YBD logs are a disaster for a variety of reasons; not least of which is that competing output from child forked processes are not even serialized.
Everyone will want their special thing in the log; our fight is to ensure that the log retains only relevant information and avoiding caving in to everyone's special request for their own special corner case, that things are nicely horizontally aligned to improve readability, and that they do not exceed terminal width (ideally 80 chars, however we violate this already quite a bit).
Further, it is not rational to add command line or boolean config options for this, because from what I've gathered so far in one year; peoples special case desires about logs are so numerous and different, this would result in too many options.
Yet another possible alternative
I'll add here another option to the above three already mentioned, however event hooks seems like a decent thing already to satisfy your desire:
Currently we have user configuration which controls how elements are formatted in the summary which is printed at the beginning of a build (or other) session, see the default userconfig.yaml
Log lines are a bit more tricky to render configurable than the summary of element, but doable, and it would also benefit benchmark scripts which parse the master log file by allowing microsecond granularity, as briefly discussed as an option here
In this way, if we can have a single format string which can control how the task "start/success/fail/warn" etc lines are formatted (as opposed to a million boolean switches), that could be an acceptable solution to add an option for what you want.

In GitLab by [Gitlab user @devcurmudgeon] on Feb 12, 2018, 12:11
[Gitlab user @tristanvb] YBD logs are that way deliberately, and I don't think calling them 'disastrous' is even remotely fair. IMO the core aim with logs is to be as useful as possible to users.
Your answer broadly just seems to say 'i don't care about your usecase'.

In GitLab by [Gitlab user @tristanvb] on Feb 12, 2018, 12:48
Sorry to say 'disasterous', I was more referring to how we have multiple processes shouting at the same inherited stdout/stderr and crossing fingers that messages still appear serialized.

In GitLab by [Gitlab user @devcurmudgeon] on Feb 12, 2018, 16:18
[Gitlab user @tristanvb] understood.
however, getting back to [Gitlab user @jjardon]'s original request here, I think wallclock time is more useful than the current approach in buildstream. so i'd request that buildstream make it the default, rather than requiring event hooks or other magic.
I notice I can't reopen this issue...


Make IBC Packet lifetime configurable

Currently hardcoded in mesh-provider and mesh-consumer:

https://github.com/CosmWasm/mesh-security/blob/main/contracts/mesh-consumer/src/ibc.rs#L18
https://github.com/CosmWasm/mesh-security/blob/main/contracts/mesh-provider/src/ibc.rs#L20

This was recently done in cw-ibc-queries: https://github.com/jakehartnell/cw-ibc-queries


Not working anymore

When building, it gives me the following error message:
WARNING: A deprecated branch based version specification is used for the dependency speech4d. Please use numbered versions instead. Also note that you can still use the dub.selections.json file to override a certain dependency to use a branch instead.
Building dirk 0.1.0 configuration "library", build type debug.
Running dmd...
Building diggler 0.2.0 configuration "library", build type debug.
Running dmd...
Building speech4d ~master configuration "library", build type debug.
Running dmd...
/home/alem0lars/.dub/packages/speech4d-master/speech/synthesis.d(19): Error: module synthesis is in file 'speech/espeak/synthesis.d' which cannot be read
import path[0] = /opt/dmd-2.067/import
FAIL ../../../../../home/alem0lars/.dub/packages/speech4d-master/.dub/build/library-debug-linux.posix-x86_64-dmd_2067-1076A4E8B18FC8A12927803F81C9F858/ speech4d staticLibrary
Error executing command build:
dmd failed with exit code 1.

Previous there was no implementation of the high level interface for espeak, but I've added one in the last few days. espeak is fairly thin on documentation so I still need to flesh out some details, but I can attest that it works in a single-synthesizer-per-program configuration.


Issue #SB-5492 task: Push documentation to web gh-pages branch

[ ] Have you followed Contribution Guidelines

Hello @ranjit-redekar, This is a auto-generated response.  Click the URL for review pull request - http://sunbird-docs-qa.s3-website.ap-south-1.amazonaws.com/pr/27.  Modified pages are -   Modified sections are -

Hello @ranjit-redekar, This is a auto-generated response.  Click the URL for review pull request - http://sunbird-docs-qa.s3-website.ap-south-1.amazonaws.com/pr/27.  Modified pages are -   Modified sections are -


Make src_proto_paths optional

src_proto_paths is not needed in discogapic gen.

Looks like you have some test failures...

Fixed!
PTAL


bug: cannot delete compactor node when delete RisingWave

cannot delete compactor node when delete RisingWave

because the risingwave-operator version is too old.


Update attributes.py

The new attribute allows you to add, remove, replace directly any selected objects on the targets, in case you create the widget directly on the Widget Editor.
For example, if I create a widget directly on the Editor without assigning any object on it, I can no longer update the button from selected object, so I have to copy and paste on the target manually the name of the object I want to be assigned. That's a huge waste of time though.
So that's the reason why I created an attribute to add, remove, replace from any selected objects.
https://user-images.githubusercontent.com/97302382/150622854-2265ca4e-4543-4204-98be-783c1b2e3f3b.mp4

Just a word: "Wonderful" :)
I'will merge asap

this is merge and will be included in next release :)
Thanks again for your contribution, this is very appreciated.

You are very welcome!
And I also would like to thank you for your hard work on this project and for making it open source.


Feature: Recent tags buttons directly in the info panel

I very recently came across Home Gallery and really like what I'm seeing so far.  The platform looks great and is very responsive.
As I'm running it for the first time on a rather large amount of pictures, I've been tagging quite a few pictures to classify them but, mainly, to identify those that need to be deleted.
Adding a tag requires to click on the edit tags link, type/click on tags to be added and validate with Submit button.
I was thinking that if the Recent tags list that shows up in the edit tags window could show up directly in the picture details panel, users could directly apply those tags with a single click.
It's been (many) years since I've last done anything relevant in JS, so before digging into the code to try to make sense of it and see if I can implement the above idea, I wanted to first ask here how feasible do you think this is?
For info, my use case for Home Gallery is to easily browse media from folders autopopulated with backups of our family's cellphone cameras (using syncthing). Obviously, after years of hording on this data, I have a lot of garbage to comb through, especially in photos, hence the looking for a way to make this as painless as possible.

Sorry... I didn't see the edit button in the menu bar.   This would basically solve my use case.

Hi @xemle,
Thanks for the response. Yes, the original idea was to add the recent tags as a simple action button near the tag rows where a simple click would add that tag to the photo.
The multi edit button allows for multiple selection of photos in the gallery view and tagging of these photos in groups. My use case is definitely satisfied this way. I was actually able to clean up most of the photos I wanted deleted in my gallery in a couple of hours today by tagging them through the multi edit tool and then a bash script looking for filenames of these tagged photos and deleting them.
Should we want to pursue with the original idea, though, I do think the overall user experience related to tagging a single photo could be slightly improved by reducing the process to a single click, but to be honest, I'm not convinced it's worth the efforts with the multi tool in place. If a user was to tag a couple of photos, the current process is more than manageable, if there are tens of photos, then they can be done in batch.
With respect to mobile layout, if limited to a 10 or so tags, I think that it could be manageable with some padding/margins in between each tag.

@pyheme Thank you for your response and I am happy that the tagging with the multi edit helps you.
I keep direct tagging in my mind for a redesign of the detailed info section.
I could imaging not having a 1-click solution but a 2-click solution via an action "Add recent tags" near the given tags. This action expands a section with recent tags. Clicking on them adds the tag directly. So the UI is not crowded and on mobile tap and swiping there 1-click barrier for false tagging.


An unhandled exception occurred: readConfiguration is not a function

Hi,
"ng serve" did not output anything. I tried several uninstall and reinstalling libraries, at least I get this error:

This is a simple server for use in testing or debugging Angular applications locally.
It hasn't been reviewed for security issues.
DON'T USE IT FOR PRODUCTION!

An unhandled exception occurred: readConfiguration is not a function
See "/private/var/folders/0_/97m79v9s7333j0461kw94x7c0000gn/T/ng-o6EPg2/angular-errors.log" for further details.
here is my local settings:
Angular CLI: 15.1.3
Node: 18.13.0
Package Manager: npm 8.19.3
OS: darwin arm64
Angular: 15.1.2
... core
Package                             Version
@angular-devkit/architect           0.1501.3
@angular-devkit/build-angular       15.1.3
@angular-devkit/core                15.1.3
@angular-devkit/schematics          15.1.3
@angular/animations                 9.1.7
@angular/cdk                        9.2.3
@angular/cli                        15.1.3
@angular/common                     9.1.7
@angular/compiler                   9.1.7
@angular/compiler-cli               9.1.7
@angular/fire                       6.0.0
@angular/forms                      9.1.7
@angular/material                   9.2.3
@angular/platform-browser           9.1.7
@angular/platform-browser-dynamic   9.1.7
@angular/router                     9.1.7
@schematics/angular                 15.1.3
rxjs                                6.5.5
typescript                          3.8.3
Do you have any ideas what to do to fix?

it looks like an angular version issue.  googling it suggests that "ng
update @angular/compiler-cli --force" is the tonic for your ailment.  bonne
chance
On Wed, Feb 1, 2023 at 10:22 AM Michele Cremaschi @.***>
wrote:

Hi,
"ng serve" did not output anything. I tried several uninstall and
reinstalling libraries, at least I get this error:
This is a simple server for use in testing or debugging Angular
applications locally.
It hasn't been reviewed for security issues.
DON'T USE IT FOR PRODUCTION!
An unhandled exception occurred: readConfiguration is not a function
See
"/private/var/folders/0_/97m79v9s7333j0461kw94x7c0000gn/T/ng-o6EPg2/angular-errors.log"
for further details.
here is my local settings:
Angular CLI: 15.1.3
Node: 18.13.0
Package Manager: npm 8.19.3
OS: darwin arm64
Angular: 15.1.2
... core
Package Version
@angular-devkit/architect 0.1501.3
@angular-devkit/build-angular 15.1.3
@angular-devkit/core 15.1.3
@angular-devkit/schematics 15.1.3
@angular/animations 9.1.7
@angular/cdk 9.2.3
@angular/cli 15.1.3
@angular/common 9.1.7
@angular/compiler 9.1.7
@angular/compiler-cli 9.1.7
@angular/fire 6.0.0
@angular/forms 9.1.7
@angular/material 9.2.3
@angular/platform-browser 9.1.7
@angular/platform-browser-dynamic 9.1.7
@angular/router 9.1.7
@schematics/angular 15.1.3
rxjs 6.5.5
typescript 3.8.3
Do you have any ideas what to do to fix?
—
Reply to this email directly, view it on GitHub
https://github.com/google/centaur/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA7JTUANPEUNYI2OHHNSTDWVJ5SXANCNFSM6AAAAAAUN3Q3DQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks. I solved redownloading the code and restarting from a clean one. I forced some updates that changed angular version.


Implement FromStr for Opcode

Enable parsing all opcodes with and without leading OP_ as well as a few abbreviations for pushnum opcodes.
Add unit tests to the currently slightly misnamed roundtrip macro (misnamed because it did not roundtrip the opcode through a string, now it does).

Gonna let this one sit for 48 hours because it has the potential to be controversial (mainly because it parses stuff that it would never emit).

I did not really have my brain engaged when I did this PR, I just copied it out of https://github.com/rust-bitcoin/rust-bitcoin/pull/2613.

it parses stuff that it would never emit

Now you mention this I don't actually like it. I'm inclined to think we should remove the abbreviations. If people want to use those they can define them as alias' themselves without too much hassle.

Yeah, the more I think about it the more I agree. Throughout this crate we've been pretty agressive about making FromStr impls tight and round-trippable.
Opcode is a weird type because nobody would ever use the string-serialization for transport or storage (it has no standard string serialization and a perfectly good hex/bytes serialization). But we still shouldn't be sloppy.

hmm, we cannot actually roundtrip with the current Opcode struct because of things like
``rust
/// Push an empty array onto the stack.
pub static OP_0: Opcode = OP_PUSHBYTES_0;
/// Empty stack is also FALSE.
pub static OP_FALSE: Opcode = OP_PUSHBYTES_0;

We can parse "OP_0" and "OP_FALSE" but we cannot `Display` the same one.

So we always Display using the "canonical" form (defined for example as OP_PUSHNUM_0)?

Yep.

If this feels too ad-hoc and ugly I think it's reasonable to just drop the feature. I think in practice if people want to parse scripts they will want to define their own serialization and write their own parser.

On ice until I think about it more.

Agree with the above comments. I also vote to defer this decision until we get a request for this or someone really really needs it and can make a good case for this

Replaced by #3669


Add docs on creating configuration pages for add-ons

Problem
Right now I am developing an add-on for taiko drum controls for a DIY taiko drum (basically just presses certain buttons on reaching certain thresholds on certain ADC pins) and there are no docs on creating a config page for a plugin. This makes it difficult for developers to create add-ons for contributing or for their own purposes.
Solution
Just write docs for creating config pages for addons. That will make the lives of everyone working on GP-2040 a little easier.
Do you plan to work on this feature yourself?
I honestly have no idea how all of this works, I was barely even able to write an addon by myself. So sorry, but I can't help with this one :(

okay, i'm now rereading this and i'm sorry if this sounds a little rude, especially the solution section. my english's not that good tbh


Tower of Hanoi

I want to implement the Tower of Hanoi algorithm in C++ with O(2^N) time complexity and O(N) space complexity.
Tower of Hanoi
The tower of Hanoi is a famous puzzle in which have three rods and N disk plates.

Hi,I'm a GSSoC participant.
I wish to add the implementation of Tower of Hanoi in Java with time and space complexity.

I would like to implement this in Python, as a GSSoC '21 Participant. Kindly assign this to me.


feat: cache ubuntu apt packages in ci

Currently, we are taking 5 minutes to install the apt deps. We can study if it's worth caching them and retrieving (time wise and space wise)

closed, because it seems the time is not that constant across runs


Fix bomb notes

Those can be removed

What do you mean? Are those no longer needed?

Persistent and splash damage will be handled by the system as part of the weapon damage. Not all bomb notes will go away as there may be other effects but most of them will vanish when we tackle them.

Ok, understood. On the other hand, I guess it won't hurt to update the strings as long as they are still in use? Once they can get removed/reduced to what is actually neccessary you already have them up to date.


[Bug]: cannot set OCO_OPENAI_API_KEY with length different from 51 characters

Opencommit Version
3.0.4
Node Version
16.18.0
NPM Version
8.9.2
What OS are you seeing the problem on?
Mac
What happened?
A bug happened!
I am unable to set an OpenAI API key with length different than 51 characters due to the validation that checks it.
I am using a key which is 65 characters long.
Expected Behavior
Allow setting OpenAI API key with length different from 51 characters.
Current Behavior
The validation prevents setting/using OpenAI API key with length different from 51 characters.

Possible Solution
I've tested it by manually changing the validation rule to accept key that is equal or longer than 51 characters and the OpenAI API did not reject it.
Steps to Reproduce
No response
Relevant log output
No response

reopening, will take a look at this

Experiencing the same issue here, not sure if my OpenAI api key is not valid for a specific reason, I have a free account at the moment:
$ oco config set OCO_OPENAI_API_KEY="sk-proj-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
┌  opencommit — config
│
└  ✖ Unsupported config key OCO_OPENAI_API_KEY: Must be 51 characters long


Problem with data binding discussed on Discord

I managed to track down the issue.
It boils down to the fact that the very 1st time the variable is available in UI, its value is undefined (?)
You can see it in UI.log and console.
[2023-12-19 18:56:18,569] [INFO]  workplaces has 0 elements
[2023-12-19 18:56:18,573] [INFO]  workplaces= [object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[2023-12-19 18:56:20,470] [INFO]  workplaces= [object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

I think it has something to do with useState because the 2nd row happens a fraction of time after 1st and regular updates are more spread out (3rd id regular, every 128 frames).
Maybe this is how useState works, idk react very well.
As for now I am just doing a simple workaround and check before rendering if the variable has values, not a big deal.
Edit. One more thing. This has nothing to do with type of bindings use, Raw, Getter, etc. Same happens for bindings already existing in the game, no matter how created.

Resolved via Discord from https://discord.com/channels/1169011184557637825/1184491172249485353/1186732452564181083 and down


Implement Search Bar and related features

feat: implement search bar
feat: add clear search button
feat: add search suggestions
feat: filter out search suggestion in home screen

        '/': (context) => const Login(),
        // '/': (context) => const Home(),

I changed the default route to Home() for testing purpose. Forgot to revert to Login() as default route. Kindly change it back to the above.

Can you please implement these changes on top of the update code by pulling the repo again? As of now, it has quite complicated merge conflicts. Submit a new PR, please.


Support running testsuite on Windows

The testsuite is based on posix shell and docker containers, so it might be relatively compatible even with Windows. However, httpd with mod_proxy_cluster also runs within a container, therefore, if we would like to test on Windows, we should

check out how docker works on Windows
adapt the container file to Windows
run the testsuite on Windows (in CI)

Ok, so after some digging it seems this is not possible.
In general, running Windows containers on Windows is possible, using Windows Server 2022 it might be even possible to run them side by side with Linux containers (using wsl). However, GH Actions doesn't support running containers on Windows at all (see https://github.com/orgs/community/discussions/25491).

Well, as I mentioned on the call - the whole point of running on windows would be for the http process to run natively on windows rather than in a container. So the issue is still valid.
Moreover, the GHA limitation is not a blocker - this is limitation of the GHA runners, we can always provide our own and more importantly, the testsuite can be run outside of GHA.

Well, as I mentioned on the call – the whole point of running on windows would be for the http process to run natively on windows rather than in a container. So the issue is still valid

We were talking about running it within a Windows container because that seemed the easiest.

Moreover, the GHA limitation is not a blocker - this is limitation of the GHA runners, we can always provide our own and more importantly, the testsuite can be run outside of GHA.

If we have resources at our disposal to do such a thing (running it outside, I'm not sure that self-hosted runners are worth it), we can try to do it. But then opening a JIRA would be more appropriate, imho.


Invalid ANSI colouring on Windows when doing devfile push

What type of PR is this?
/kind bug
What does does this PR do / why we need it:
This PR updates SpinnerNoSpin to use the same Windows stdout code as other Get* methods in log/status.go.
Which issue(s) this PR fixes:
https://github.com/openshift/odo/issues/2851
How to test changes / Special notes to the reviewer:
You MUST use the Windows 'Command Prompt' application, rather than 'Windows Terminal' (including the 'Command Prompt' shell in Windows Terminal) or Powershell (both which handle ANSI escape codes better).

/ok-to-test

/retest

@amitkrout please very if this works on windows

/retest

Reviewed by @cdrage  and ready for /approval review
/assign @girishramnani

This is a super small code change. So I'm going to /approve it if it's okay with @girishramnani  / @kadel
/approve

/retest


solved singly linked list

Solves issue #60

[x] implemented menu driven program to implement insertion,deletion,reversal and display the result

Thank you for your contributions


Raw mode

It would be nice if the utility would allow for a --raw flag. Instead of displaying the UI, it would output a stream of easily parsable state (essentially what we see in the UI every second).

Hi, at first, let me thank you for this wonderful program.
Just wanted to say that it would be pretty great,
if at some point down the road,
the data could optionally be logged somewhere
(processes->remote ip:ports is what comes to mind).
All the best

Thanks for your input @alicektx ! I'm happy you like this tool :)
I'm working on this feature now and hope to have it released sometime in the next few days.

Hey @alicektx - version 0.2.0 now includes a --raw flag that you can use when you want to parse/redirect or log all the data.
Would be happy to hear any further input.

Absolutely wonderful - thank you good sir!
Further input...maybe a paypal address,
so that simple end-users / not programmers like me,
can buy you a couple of beers! :beer: :gift:

Wow, thanks so much - that is very kind! :)
Any other feedback (now or in the future) would definitely be appreciated. I honestly didn't know if people would need something like this, and am curious to find out how people use it (or would like to use it).


eliminate errors on startup in dev

These should be handled in pull #48, but i'll merge in anyways. Thanks for contributing!


develop merge

I've added comments to the 3 places where there was conflicts.

@alan-ls you've included more than 280 files as you have an old version which contained a commit of the docs....can you cleanup and only submit the changes you want to take effect?

@aramallo I've just blindly merged the latest at the time: commit 9e30552f from Jan 21 2022.
My git logs show all my remotes point to the same commit. upstream refers to leapsight/bondy while origin refers to my fork alan-ls/bondy.
% git log --oneline --graph
*   c494ff82 (HEAD -> feature/amiguez.notification_broker_bridges, origin/feature/amiguez.notification_broker_bridges) Merge remote-tracking branch 'origin/develop' into feature/amiguez.notification_broker_bridges
|\
| * 9e30552f (upstream/develop, origin/develop, origin/HEAD) Upgrade to plum_db with fix to recent bug that prevents ram_disk prefixes to be loaded into ets memory tables
| * 7bccf320 fix process registration
...

I had a closer look at the changes and, in terms of number of affected files, most of them come from 2 changes:

Copyright updates (127 files touched at 3d03f6a)
Deletion of apps/bondy/doc build (-120 files from 20db1a5)

I don't think I should touch any file from a merge except for the conflicts.
That's calling for trouble..

Close it as @alejandro-miguez will do it directly on this repository


[AVRO-2145] Cannot create Javadoc on JDK8+

From Java 8 on the JavaDoc is being linted and it will fail early if there are issues with the JavaDoc: http://openjdk.java.net/jeps/172
This patch will add the missing Javadoc with some stubs. Additionally I updated the docs of some of the public API by hand to make the Javadoc more verbose.
The JavaDoc needs to be updated in the future, but this commit will let the compiler pass the javadoc check step.
Tested locally and it passes the tests. This patch only changes the Javadoc and does not change the logic of the code.
Cheers, Fokko

@cutting I'm happy to help review stuff when I can, but 157 files is a bit much for manual review. Can I help here by confirming I have run the tests locally?

I can confirm this passes all the java-related tests.

I'm not fond of whitespace changes.  Are all of these really required to pass JavaDoc lint?  In particular, a lot of existing Javadoc comments have content on the first line.  When these are moved to a new line it causes the rest of the comment to be re-indented.  I'd prefer we don't make that style change here.

In this case I'd recommend simply turning off DocLint. I remember we did similar things on Parquet, here's how it was turned off there.

Currently it breaks the dist step.
Personally I would prefer to add the JavaDoc. But if the majority prefers to turn it off, I'm fine with it as well. Beside the missing JavaDoc, I've also corrected a lot of the invalid JavaDoc in this PR.

I think in some cases it would make sense to fix the Javadoc, but adding obvious comments only for DocLint doesn't give too much value. For example (at least in my opinion) we should keep changes like this, but changes only related to the comment style like this don't give too much value.

Ok, I'll create a new PR.


Issue #1454 Solved ; Inserted Contributor's List

Description

Fixes #1454
Type of change

[ ] Added a new machine learning frameworks, libraries or software.
[ yes] Documentation update

Checklist:

[yes ] My code follows the style guidelines of this project
[yes ] I have performed a self-review of my own code
[yes ] I have commented my code, particularly in hard-to-understand areas
[ yes] I have made corresponding changes to the documentation
[ yes] My changes generate no new warnings

@sanjay-kv  Could you review this plz?


Implement automatic listing of new blogs in the 'Recent Posts' Section

https://www.moleculardevices.com/lab-notes

@lydiapuric  Each time a new blog is created, it should be automatically added to the 'Recent Posts' section, without the need for manually updating all three links
https://www.moleculardevices.com/lab-notes
cc @mhaack

Found the Slack discussion in https://adobe-dx-support.slack.com/archives/C04QNDDUADT/p1694498387794559, this was in the old website automated, but now it's manually curated.

@lydiapuric I'm going to work on this now


Issue 453 better support for glossaries

This is a big one. I hope it fits in with your plans for further development of the stylesheets.

separate functions that are designed for a use independent from the stylesheets (so that you can use them in Schematron) in a new file standalone-functions.xsl. It contains a public function f:glossentries.
Use the function f:glossentries in 50-normalize.xsl to create content for automatic glossaries.
Since i have no idea to support glossdiv in automatic glossaries, created a new templatet:glossary-content which enables overwriting it.
some new test cases for the use of automatic glossaries
new section how to use glossaries in the reference manual
definition for f:glossentries and `t:glossary-content'  in the reference manual

I don't expect this contribution to be adopted as is, but I'd be very happy if my work at least partially contributes to better glossary support in xslTNG.
I tried to avoid the whitespace problems. Please let me know if i could do better.
Greetings, Frank

In retrospect, I have identified two problems with this PR:

there is an error in my code in 50-normalize which prevents the copy of $glossary/info into the resulting glossary;
relative URIs in glossary-collection should be resolved against base uri of input document, not the static context ( i think this is what the user would expect)
I will fix these issues and make an new PR asap
Frank

I like what you've done, but I've had to make a few changes.

As you note in the comment above, making the glossary-collection URIs absolute is an interesting problem. The only "correct" answer is that they should be made absolute against the processing instruction that defines them. I've added a new variable (v:pi-db-attributes-are-uris) to handle this.
The relative URIs in your glossary examples don't work, but maybe that's related to what they used to resolve against.
I've extended the test harness to make the $glossary-collection parameter point to glosscollection.xml by default for most of the glossary tests. (Except the ones that use a PI.)
I find the xpath-default-namespace intensly confusing. I've taken it out.
The t:glossary-content template is only defined in transforms/50-normalize.xsl so it doesn't fit into the documentation. I'm still trying to work out what to do about that.

I'm tempted to take t:glossary-content out. It seems like it might reasonably be considered a bug to have multiple glossary entries for the same entry. There's no mechanism for users to add customizations to the internal transformations, so it's not really practical to provide an alternate definition.
If you have a glossary with multiple entries, you can deal with that when the glossary is being formatted.

No, that doesn't work. You don't want to have multiple versions "visible" to the cross-referencing mechanisms.

Thats right, i dont want two glossentries for the same term in my glossary.
But a general definition in the shared glossary, and a specific definition in my internal glossary is a use case that we had in practice. The specific entry covers the general definition

When I have your solution for Glassaries, I'd be happy to use it as a blueprint for bibliography.
There are typically three parts that can be shared and need similar schematron rules in our documents:

glossaries
bibliography
abbreviations/ acronyms


Update installation doc

heic-to-jpg version: latest.
Python version: Python 3.9.5
Operating System: OS X 12.6.3

Description
Describe what you were trying to get done:
pip install heic-to-jpg
Tell us what happened, what went wrong, and what you expected to happen:
it does as it's told, which is great, but for folks unfamiliar with python, they may be running python 2.x, and this fails if it's using python 2.x
My OSX system was running python2 out of the box IIRC.
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

I did pip3 install heic-to-jpg and it works as expected after that. But I know python tooling, so it's unsurprising to me to do this. May not be as straightforward for others.
Recommendation
I'd recommend adding pip3  install heic-to-jpg as an alternative if the existing cli cmd fails.
Additionally, you can list that python3 is a requirement on the splash page.
Extras
Thank you so much for publishing this, you've saved me a mild headache having to write this tool myself. I hate airdropping, thinking I'm making this easier on myself, only to realize the file is a HEIC ...

@dasmalini Thanks for the feedback. I did update the install instructions.


SignInForm: add newsletter opt-in field

Fixes opencollective/opencollective#1027
Thanks to @piamancini for helping with the copy.
Depends on https://github.com/opencollective/opencollective-api/pull/1289
Preview:

OrderForm:

Would this also show up in the order form?
Most accounts gets created there on the first order.
Any chance that we can split that text in two with a title ("subscribe to the newsletter of Open Collective") and the description in grey. It doesn't look super good this way.
Also, probably an old css bug but I see that "First name" and "Last name" are on two lines instead of one.

@xdamman Good feedback, I'll confirm that it works in the order form, split up the text, and fix the firstName + lastName fields.

@xdamman Updated the screenshots in the description with the changes.

So much better!
Thank you for going the extra mile! 🙌

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


How to use edge histogram descriptor to retrieve images in Matlab

Topic Suggestion
How to use edge histogram descriptor to retrieve images in Matlab
How to use edge histogram descriptor to retrieve images in Matlab
Proposed article introduction
Edge Histogram descriptor is a texture descriptor commonly used for image retrieval. Edge Histogram Descriptor describes edge distribution with a histogram based on local edge distribution in an image. An image retrieval system is a computer system used for browsing, searching and retrieving images from a large database of digital images. This could be done using Edge Histogram in Matlab.
This tutorial will look at the visual descriptor, which is the edge histogram descriptor. It is an effective visual descriptor that focuses on the spatial edge distribution in an image. Here, the theory of EHD, its implementation in Matlab and its effectiveness in image retrieval is shown. Also, we interpreted the output for proper understanding.
Key takeaways

Visual descriptor.
Edge Histogram Descriptor (EHD).
Steps to compute EHD.
MATLAB Code for implementing EHD.
Applying EHD on images and interpreting the outcome.
Using EHD for image retrieval.

Article quality
This article gives on the steps to retrieve images using EHD.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Seems like a helpful topic. Let's ensure that it adds value to the community. Thanks


Correct a typo in macros.rs

@bors r+

:pushpin: Commit 785fb4037784068815ff5ae8ac5ff8f42d1e32b7 has been approved by Amanieu
It is now in the queue for this repository.

:hourglass: Testing commit 785fb4037784068815ff5ae8ac5ff8f42d1e32b7 with merge a2de204e377f7b57c62561121902f7c27891c84c...

:sunny: Test successful - checks-actions
Approved by: Amanieu
Pushing a2de204e377f7b57c62561121902f7c27891c84c to master...


Automate release process

Short Description of the issue
Current release process requires manually editing several files (rpm and deb specs, zenodo information file, authors, changelog) with same information in slightly different formats. This could be automated with tools like https://github.com/nokia/git-changelog-generator
Summary of proposed changes
Automate release as much as possible, ideally, creating a release should be just tagging the repo :)

Fully agree, it's really worth having a look as it's currently painful, error-prone and time-consuming.
Some time agoi @brucellino also pointed https://github.com/genuinetools/pepper that could help too.

Now available as github actions


Why is<PHONE_NUMBER>0 second subtracted in the unix_second fuction  calculation?

In the unix_seconds() function of the struct FileTime, it is calculated unix timestamp for 1970 year.
When the system is Windows, the time difference from 1961 to 1970 needs to be subtracted. This value may be 3287 * 24 * 3600 = 283996800, not be<PHONE_NUMBER>0 ?

I don't know myself at this point (it's been many years since I wrote this crate) and I probably ended up copying it from somewhere else. Is the crate producing the wrong results for you?

Sorry, I have just tested on windows and Linux platforms and found that the value of<PHONE_NUMBER>0 is correct. Perhaps the starting point of timestamp under Windows does not start in 1961.


ABR Whitelisting Functionality

Whitelisting functionality and integration tests.
Testing issue: when running the integration tests, running all of them causes tests following the first to fail. However, running them all independently, they pass. I believe there is some lingering information on the DOM or the videoJS player itself. Calling dipose() and even removing the video object from the html does not seem to have any effect.

Is it possible to move these additions out into a separate file?

@nweber @dmlap
Testing has been completed.  No issues have been found.

@mrocajr do you know why the tests are still failing in Travis?

Looks like it's running against Linux...  I'll look into this further.

The tests pass for me locally. @mrocajr I think we may have to turn off integration tests on Travis since it doesn't seem like all their machines have media source or h264 codec support (see my comments on #56)

I agree.  Maybe we should add them to the SVT regression.

The integration tests will still be run against master.

Closing in favor of #66


Update Character “roger”

Automatically generated by Netlify CMS

👷 Deploy Preview for dynamic-cheesecake-5fbd8b processing.

Name
Link

🔨 Latest commit
dc56ea490831af0d9bb6005ce620516ba9730a95

🔍 Latest deploy log
https://app.netlify.com/sites/dynamic-cheesecake-5fbd8b/deploys/633442b870b27a0009e6128a


Filter does not work

Tried filtering for 'him', but got matches for 'master' and other words

Looks like the filter applies to the entire displayed line, including file name.
Seems 'him' matched part of the file name.
It should be possible to filter by word only.


Unable to deploy after upgrade cdk version

I deployed my stack(cdk 0.20.0) then upgrade cdk to 0.21.0 and it started to complain about uniqueid?
Can't destroy either, same err.
Should I downgrade, destroy and deploy again?
cdk deploy
mycdkcdk/node_modules/@aws-cdk/cdk/lib/util/uniqueid.js:36
        throw new Error(`ID components may not include unresolved tokens: ${unresolvedTokens.join(',')}`);
        ^

Error: ID components may not include unresolved tokens: ${Token[chromeecrF215BE5B.Ref.278]}
    at Object.makeUniqueId (mycdkcdk/node_modules/@aws-cdk/cdk/lib/util/uniqueid.js:36:15)
    at new Construct (mycdkcdk/node_modules/@aws-cdk/cdk/lib/core/construct.js:53:60)
    at new ContainerDefinition (mycdkcdk/node_modules/@aws-cdk/aws-ecs/lib/container-definition.js:11:9)
    at FargateTaskDefinition.addContainer (mycdkcdk/node_modules/@aws-cdk/aws-ecs/lib/base/task-definition.js:82:27)
    at projects.nodes.forEach.project (mycdkcdk/lib/fargateService.js:48:28)
    at Array.forEach (<anonymous>)
    at Object.exports.create_fargate_service (mycdkcdk/lib/fargateService.js:46:20)
    at new SeleniumgridcdkStack (mycdkcdk/lib/seleniumgridcdk-stack.js:44:26)
    at Object.<anonymous> (mycdkcdk/bin/seleniumgridcdk.js:7:1)
    at Module._compile (internal/modules/cjs/loader.js:688:30)

Code:
   projects.nodes.forEach(project => {
        if (project.ecr) {
            fargateTaskdef.addContainer(project.ecr.repositoryName, {
                image: ContainerImage.fromEcrRepository(project.ecr, 'latest'),
                essential: true,
                healthCheck: {command: [`curl -f http://localhost:${nodeport}/ || exit 1`]},
                environment: {
                CHROME_VERSION: project.browser_name || "general",
                HUB_PORT_4444_TCP_ADDR: "localhost",
                HUB_PORT_4444_TCP_PORT: `${hubport}`,
                NODE_PORT: `${nodeport}`,
                SE_OPTS: `-host <IP_ADDRESS> -port ${nodeport}`
                }
            });
            nodeport += 1;
        }
    });

Hi @mouyigang, this is because you are using project.ecr.repositoryNameas the first argument to addContainer and this value can only be resolved at deploy-time. Therefore, it cannot be used as an ID for a construct, and we have added a check in v0.21.0 to ensure that people don't accidentally use those lazy-resolved tokens for IDs. As you can see from the error, the actual value passed in for the ID is ${Token[chromeecrF215BE5B.Ref.278]} which is essentially a "promise" for a value that will only be available during deployment.
Ideally, for IDs you probably want to use concrete strings that are "stable" and represent the static structure of your infrastructure.
@rix0rrr, I am wondering if we should use some naming convention for these IDs (e.g. cid or conid) so it will be more intuitive to people that these have some special meaning. Thoughts?

It's not a big problem but would be nice to pass the build check if I actually specified repositoryName for the project.ecr.
I haven't checked but since it can work out duplicate names at build time, this would not be a problem to figure out I suppose.
Anyway, thanks for the explanation.

Hi @mouyigang, this is because you are using project.ecr.repositoryNameas the first argument to addContainer and this value can only be resolved at deploy-time. Therefore, it cannot be used as an ID for a construct, and we have added a check in v0.21.0 to ensure that people don't accidentally use those lazy-resolved tokens for IDs. As you can see from the error, the actual value passed in for the ID is ${Token[chromeecrF215BE5B.Ref.278]} which is essentially a "promise" for a value that will only be available during deployment.
Ideally, for IDs you probably want to use concrete strings that are "stable" and represent the static structure of your infrastructure.
@rix0rrr, I am wondering if we should use some naming convention for these IDs (e.g. cid or conid) so it will be more intuitive to people that these have some special meaning. Thoughts?


Birthweights

Incorporates statistics on birth weights based on mother ethnicity, baby gender, birth week, and weight.

Suggested Citation: United States Department of Health and Human Services (US DHHS), Centers for Disease Control and Prevention (CDC), National Center for Health Statistics (NCHS), Division of Vital Statistics, Natality public-use data 2007-2016, on CDC WONDER Online Database, February 2018. Accessed at http://wonder.cdc.gov/natality-current.html on Apr 13, 2018 9:16:24 PM
And the query details are as follows:
Query Date: Apr 13, 2018 9:16:24 PM
Year: 2016
Group By: Hispanic Origin, Gender, LMP Gestational Age Weekly, Birth Weight 100 gram increments
Show Totals: True
Show Zero Values: True
Show Suppressed: True
See http://wonder.cdc.gov/wonder/help/Natality.html for more information.

Note: This content was previously merged prematurely, reverted, and is now a WIP pull request.

I agree, overloading the term "weight" is confusing, but I didn't want to change the source file. Technically, we got that file from Tufts, who post-processed it from the CDC citation. Thanks for the merge.


Borrow the bytes array for Rust < 1.53

Addresses issue https://github.com/sfackler/rust-native-tls/issues/222 to keep MSRV lower than 1.53

Can you also update the version we test against in CI? https://github.com/sfackler/rust-native-tls/blob/master/.github/workflows/ci.yml#L39

CI failed with the lower MSRV.
Other projects need changes too to keep the MSRV low.
I decided that I'd rather push for updating Rust than force open-source projects to use older syntax.


update async-profiler to 1.8.4

What does this PR do?
Update async-profiler to latest release
Checklist

[x] This is a bugfix

[x] I have updated CHANGELOG.asciidoc
[x] I have added tests that would fail without this fix >> Tested through load-testing without crash

:grey_exclamation: Build Aborted

There is a new build on-going so the previous on-going builds have been aborted.

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Build Cause: Pull request #1678 opened

Reason: Aborted from #2

Start Time: 2021-03-01T09:13:41.008+0000

Duration: 4 min 10 sec

Commit: 4bf2c9701b2f965487d067654350f9d33c05f4c8

Trends :test_tube:

Log output
Expand to view the last 100 lines of log output

[2021-03-01T09:16:09.455Z]  > git config core.sparsecheckout # timeout=10
[2021-03-01T09:16:09.473Z]  > git checkout -f 4bf2c9701b2f965487d067654350f9d33c05f4c8 # timeout=15
[2021-03-01T09:16:09.735Z]  > git remote # timeout=10
[2021-03-01T09:16:09.741Z]  > git config --get remote.origin.url # timeout=10
[2021-03-01T09:16:09.757Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-03-01T09:16:09.758Z]  > git merge 6234f6f49c56a80d26e94b748791da6e30822c89 # timeout=10
[2021-03-01T09:16:09.769Z]  > git rev-parse HEAD^{commit} # timeout=10
[2021-03-01T09:16:09.786Z]  > git config core.sparsecheckout # timeout=10
[2021-03-01T09:16:09.797Z]  > git checkout -f 4bf2c9701b2f965487d067654350f9d33c05f4c8 # timeout=15
[2021-03-01T09:16:13.815Z] Commit message: "update async-profiler to 1.8.4"
[2021-03-01T09:16:13.815Z] First time build. Skipping changelog.
[2021-03-01T09:16:13.838Z]  > git --version # timeout=10
[2021-03-01T09:16:13.843Z]  > git --version # 'git version 2.17.1'
[2021-03-01T09:16:13.851Z] fatal: bad object 8f30f60989444d11e43197dd15ee83662a4926cd
[2021-03-01T09:16:14.621Z] Masking supported pattern matches of $JOB_GCS_BUCKET or $NOTIFY_TO
[2021-03-01T09:16:14.697Z] Timeout set to expire in 1 hr 0 min
[2021-03-01T09:16:14.730Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds.
[2021-03-01T09:16:15.175Z] [INFO] Number of builds to be searched 10
[2021-03-01T09:16:15.576Z] [INFO] 'shallow' is forced to be disabled when running on PullRequests
[2021-03-01T09:16:15.603Z] Running in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1678/src/github.com/elastic/apm-agent-java
[2021-03-01T09:16:15.647Z] [INFO] gitCheckout: Checkout SCM PR-1678 with some customisation.
[2021-03-01T09:16:15.686Z] [INFO] Override default checkout
[2021-03-01T09:16:15.759Z] Sleeping for 10 sec
[2021-03-01T09:16:25.781Z] The recommended git tool is: git
[2021-03-01T09:16:25.911Z] using credential 2a9602aa-ab9f-4e52-baf3-b71ca88469c7-UserAndToken
[2021-03-01T09:16:25.987Z] Cloning the remote Git repository
[2021-03-01T09:16:26.004Z] Cloning repository https://github.com/elastic/apm-agent-java.git
[2021-03-01T09:16:26.034Z]  > git init /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1678/src/github.com/elastic/apm-agent-java # timeout=10
[2021-03-01T09:16:26.040Z] Using reference repository: /var/lib/jenkins/.git-references/apm-agent-java.git
[2021-03-01T09:16:26.041Z] Fetching upstream changes from https://github.com/elastic/apm-agent-java.git
[2021-03-01T09:16:26.041Z]  > git --version # timeout=10
[2021-03-01T09:16:26.050Z]  > git --version # 'git version 2.17.1'
[2021-03-01T09:16:26.050Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-03-01T09:16:26.052Z]  > git fetch --tags --progress -- https://github.com/elastic/apm-agent-java.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-03-01T09:16:26.584Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-03-01T09:16:26.588Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-03-01T09:16:26.597Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-03-01T09:16:26.605Z] Fetching upstream changes from https://github.com/elastic/apm-agent-java.git
[2021-03-01T09:16:26.605Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-03-01T09:16:26.606Z]  > git fetch --tags --progress -- https://github.com/elastic/apm-agent-java.git +refs/pull/1678/head:refs/remotes/origin/PR-1678 +refs/heads/master:refs/remotes/origin/master # timeout=10
[2021-03-01T09:16:27.113Z] Checking out Revision 6f702e2658f0569eae7b9766cc30c8a46b059628 (origin/PR-1678)
[2021-03-01T09:16:27.306Z] Commit message: "update changelog"
[2021-03-01T09:16:27.306Z] First time build. Skipping changelog.
[2021-03-01T09:16:27.323Z]  > git --version # timeout=10
[2021-03-01T09:16:27.329Z]  > git --version # 'git version 2.17.1'
[2021-03-01T09:16:27.335Z] fatal: bad object 8f30f60989444d11e43197dd15ee83662a4926cd
[2021-03-01T09:16:27.108Z]  > git rev-parse origin/PR-1678^{commit} # timeout=10
[2021-03-01T09:16:27.116Z]  > git config core.sparsecheckout # timeout=10
[2021-03-01T09:16:27.122Z]  > git checkout -f 6f702e2658f0569eae7b9766cc30c8a46b059628 # timeout=10
[2021-03-01T09:16:28.677Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2021-03-01T09:16:29.365Z] + git fetch<EMAIL_ADDRESS>+refs/pull/*/head:refs/remotes/origin/pr/*
[2021-03-01T09:16:30.392Z] Running in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1678/src/github.com/elastic/apm-agent-java/.git
[2021-03-01T09:16:30.505Z] Archiving artifacts
[2021-03-01T09:16:31.282Z] + git rev-parse HEAD
[2021-03-01T09:16:31.631Z] + git rev-parse HEAD
[2021-03-01T09:16:31.955Z] + git rev-parse origin/pr/1678
[2021-03-01T09:16:32.020Z] [INFO] githubEnv: Found Git Build Cause: pr
[2021-03-01T09:16:32.515Z] Masking supported pattern matches of $GITHUB_TOKEN
[2021-03-01T09:16:33.624Z] [WARN] githubApiCall: The REST API call https://api.github.com/repos/elastic/apm-agent-java/pulls/1678/reviews return 0 elements
[2021-03-01T09:16:33.714Z] [INFO] githubPrCheckApproved: Title: update async-profiler to 1.8.4 - User: SylvainJuge - Author Association: MEMBER
[2021-03-01T09:16:36.360Z] Stashed 3623 file(s)
[2021-03-01T09:16:36.418Z] Running in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1678/src/github.com/elastic/apm-agent-java
[2021-03-01T09:16:36.855Z] + git diff --name-only origin/master...6f702e2658f0569eae7b9766cc30c8a46b059628
[2021-03-01T09:16:36.938Z] [INFO] isGitRegionMatch: not found with regex [.*\.(asciidoc|md)]
[2021-03-01T09:16:40.036Z] + cp -rf /var/lib/jenkins/.m2/repository .m2
[2021-03-01T09:16:58.467Z] + du -hs .m2
[2021-03-01T09:16:58.467Z] 826M	.m2
[2021-03-01T09:16:58.498Z] Running in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1678/src/github.com/elastic/apm-agent-java
[2021-03-01T09:16:58.829Z] + ./mvnw -q dependency:go-offline --fail-never
[2021-03-01T09:16:58.829Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2021-03-01T09:16:59.774Z] Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
[2021-03-01T09:16:59.774Z] Maven home: /var/lib/jenkins/.m2/wrapper/dists/apache-maven-3.6.3-bin/1iopthnavndlasol9gbrbg6bf2/apache-maven-3.6.3
[2021-03-01T09:16:59.774Z] Java version: 11.0.6, vendor: Oracle Corporation, runtime: /var/lib/jenkins/.java/oracle-11.0.6+8-linux
[2021-03-01T09:16:59.774Z] Default locale: en_US, platform encoding: UTF8
[2021-03-01T09:16:59.774Z] OS name: "linux", version: "5.4.0-1037-gcp", arch: "amd64", family: "unix"
[2021-03-01T09:17:44.311Z] Sending interrupt signal to process
[2021-03-01T09:17:46.505Z] script returned exit code 143
[2021-03-01T09:17:47.861Z] Stage "Tests" skipped due to earlier failure(s)
[2021-03-01T09:17:48.080Z] Stage "Unit Tests" skipped due to earlier failure(s)
[2021-03-01T09:17:48.095Z] Stage "Smoke Tests 01" skipped due to earlier failure(s)
[2021-03-01T09:17:48.109Z] Stage "Smoke Tests 02" skipped due to earlier failure(s)
[2021-03-01T09:17:48.122Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-03-01T09:17:48.135Z] Stage "Javadoc" skipped due to earlier failure(s)
[2021-03-01T09:17:48.317Z] Failed in branch Unit Tests
[2021-03-01T09:17:48.328Z] Failed in branch Smoke Tests 01
[2021-03-01T09:17:48.339Z] Failed in branch Smoke Tests 02
[2021-03-01T09:17:48.350Z] Failed in branch Benchmarks
[2021-03-01T09:17:48.361Z] Failed in branch Javadoc
[2021-03-01T09:17:48.644Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2021-03-01T09:17:48.753Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2021-03-01T09:17:48.803Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2021-03-01T09:17:49.504Z] Running on Jenkins in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1678
[2021-03-01T09:17:49.793Z] [INFO] getVaultSecret: Getting secrets
[2021-03-01T09:17:50.012Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-03-01T09:17:50.975Z] + chmod 755 generate-build-data.sh
[2021-03-01T09:17:50.975Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1678/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1678/runs/1 ABORTED 249695
[2021-03-01T09:17:51.226Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1678/runs/1/steps/?limit=10000 -o steps-info.json
[2021-03-01T09:17:51.777Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1678/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-03-01T09:17:52.027Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-03-01T09:17:52.938Z] Retry 2/3 exited 22, retrying in 2 seconds...


"Timber not activ{e,ated}" for TImberStarterTheme + composer-installed Timber2 (2.x-dev)

Expected behavior
Timber starter theme activated, Timber2 installed, Timber class(es) found
Actual behavior
Timber starter theme activated, Timber2 installed, Timber class(es) NOT found
What version of WordPress, PHP and Timber are you using?
WP 4.9.6
php -v
	PHP 7.2.4-dev (cli) (built: Feb 21 2018 11:51:31) ( NTS )
	Copyright (c) 1997-2018 The PHP Group
	Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
	    with Zend OPcache v7.2.4-dev, Copyright (c) 1999-2018, by Zend Technologies

& Timber2/master
Steps to reproduce behavior
How did you install Timber? (for example, from GitHub, Composer/


Refactored the "join" parsing a little, to add support for "using"

as well as more strictly follow the mysql grammar for JOIN vs STRAIGHT_JOIN vs OUTER JOIN, etc.
https://dev.mysql.com/doc/refman/5.7/en/join.html

The code should be complete now. Please take a look. I added JOIN USING to the parser, but tried to ensure vitess code that depend on JOIN clause did not start using, USING.

Some of the refactor was to avoid "grammar conflicts"... My first attempt the go yacc would print warnings about conflicts, but after some rearranging and strategy use of "%prec" there are no longer conflicts, and the parsing precedent should be maintained.


Question regarding args taken by evalplus/inputgen.py

Hello, I am wondering what does  "--chatgpt_len" and "--mut_len" stands for (as the required args taken by evalplus/inputgen.py. Can someone help me with that? Thanks!

It means the number of new inputs generated by each method each time.


Add Ambari 2.5 compatibility

This also means to add HDP 2.6 stack to plugin.

ok, ambari 2.5 and HDP 2.6 seem to work with snapshots. Bacon.RELEASE.kafka-10 apps also work as ambari now uses kafka 0.10.1.


Make Contributing section of README more proheminent

One of the biggest problems I've had with contributions is that they did not follow the instructions on the Contributing section of README. This is problematic becaus everytime someone opens a PR to an issue they were not assigned to and (this is the actual problem) it does not tackle the problem correctly most of the time because the person who wrote the PR did not discuss details of implementation or code standards in the issue before rushing the code.
I'm looking for a way to make the contributions' guidelines more visible and important, so as to avoid problematic PRs such as the ones cited above.

What if I added a pull request template that:

Asks contributors to add themselves to the PLAYERS.md file
Asks contributors to check if the issue is currently open and assigned to them
Asks contributors to check that their PRs and commits contain meaningful/descriptive titles

Anything else?

No, but that has already been done. What do you propose to make it more proheminent? Maybe making a file for these instructions (Contributing.md) and adding a reference to it in the README, but I'm not sure this would make it more proheminent.


PR: Completely disable Kite provider (Completions)

Description of Changes

Kite reached end-of-life last year, so we don't need to support it anymore.
This does the minimal changes to disable Kite for now. After 5.3.0 is released, we can see how to remove it from our codebase.

Issue(s) Resolved

Fixes #17108.
Fixes #16595.
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @ccordoba12

Hello @ccordoba12! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file spyder/plugins/completion/confpage.py:

Line 72:80: E501 line too long (80 > 79 characters)

Shouldn't we remove the Kite source files?

Shouldn't we remove the Kite source files?

Yep, that's the idea but for a later release. For now @dalthviz and I decided that, given that we don't have much time available before the 5.3.0 release, the simplest thing we can do is to make the minimal changes to completely disable Kite. And that's what I did in this PR.

What do you think @andfoy ? Also let me know if you want to merge this or if I should do it once you approve

I think it is ready to merge!


Why the start-up process of zephry is so long?

Forgive me for my title.
I just want to use a new embedded RTOS. Should I install a lot of python modules?
On my opinion, the build framework of zephyr is too fat to use.

An user defined toolchain and build framework
A module-configured method
All code

That is what I need.

I just want to use a new embedded RTOS. Should I install a lot of python modules?

There are several types of RTOS. If all you want is a simple kernel with no build system then there are other options available. Zephyr is a complex project, so it needs a complete build and configuration system, and Python is used for parts of that.

I will convert this to a discussion in the meantime.


Added an object mapper injection

Greetings, it was necessary to add support for the Java Time Module. But since the constructor inside camunda did not allow this, we had to add a dependency injection.

@andrejpetras Thanks for the advice, it helped.


Update build.gradle

Checklist:

[x] Updated extVersionCode value in build.gradle for individual extensions
[x] Updated overrideVersionCode or baseVersionCode as needed for all multisrc extensions
[x] Referenced all related issues in the PR body (e.g. "Closes #xyz")
[x] Added the isNsfw = true flag in build.gradle when appropriate
[x] Have not changed source names
[x] Have explicitly kept the id if a source's name or language were changed
[x] Have tested the modifications by compiling and running the extension through Android Studio
[x] Have removed web_hi_res_512.png when adding a new extension

source is changed, please allow to change.


Unable to install kedro

I have a mac with macOS Catalina Version 10.15.1 on my computer. I installed Conda and created a new conda environment using
conda create -n pydatala_kedro python=3.6
Then I activated the environment using
conda activate pydatala_kedro
Then i tried
pip install kedro
I got an error saying
Successfully built anyconfig PyYAML memory-profiler python-json-logger SQLAlchemy future
Failed to build psutil
ERROR: botocore 1.13.30 has requirement python-dateutil<2.8.1,>=2.1; python_version >= "2.7", but you'll have python-dateutil 2.8.1 which is incompatible.
Running setup.py install for psutil ... error
ERROR: Command errored out with exit status 1:
Then I ran
pip install python-dateutil==2.7
that command worked
Then I tried (again)
pip install kedro
Building wheel for psutil (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /opt/miniconda3/envs/pydatala_kedro/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/y3/wy9bly3d7yg83nqjy49rjx0r0000gn/T/pip-install-_qvx9_nv/psutil/setup.py'"'"'; file='"'"'/private/var/folders/y3/wy9bly3d7yg83nqjy49rjx0r0000gn/T/pip-install-_qvx9_nv/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/y3/wy9bly3d7yg83nqjy49rjx0r0000gn/T/pip-wheel-82ys5j35 --python-tag cp36
   cwd: /private/var/folders/y3/wy9bly3d7yg83nqjy49rjx0r0000gn/T/pip-install-_qvx9_nv/psutil/

Complete output (50 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.7-x86_64-3.6
creating build/lib.macosx-10.7-x86_64-3.6/psutil
copying psutil/_pswindows.py -> build/lib.macosx-10.7-x86_64-3.6/psutil
copying psutil/_common.py -> build/lib.macosx-10.7-x86_64-3.6/psutil
copying psutil/init.py -> build/lib.macosx-10.7-x86_64-3.6/psutil
copying psutil/_psosx.py -> build/lib.macosx-10.7-x86_64-3.6/psutil
copying psutil/_psbsd.py -> build/lib.macosx-10.7-x86_64-3.6/psutil
copying psutil/_psaix.py -> build/lib.macosx-10.7-x86_64-3.6/psutil
copying psutil/_pslinux.py -> build/lib.macosx-10.7-x86_64-3.6/psutil
copying psutil/_compat.py -> build/lib.macosx-10.7-x86_64-3.6/psutil
copying psutil/_psposix.py -> build/lib.macosx-10.7-x86_64-3.6/psutil
copying psutil/_pssunos.py -> build/lib.macosx-10.7-x86_64-3.6/psutil
creating build/lib.macosx-10.7-x86_64-3.6/psutil/tests
copying psutil/tests/test_contracts.py -> build/lib.macosx-10.7-x86_64-3.6/psutil/tests
copying psutil/tests/test_connections.py -> build/lib.macosx-10.7-x86_64-3.6/psutil/tests
copying psutil/tests/runner.py -> build/lib.macosx-10.7-x86_64-3.6/psutil/tests
copying psutil/tests/test_unicode.py -> build/lib.macosx-10.7-x86_64-3.6/psutil/tests
copying psutil/tests/test_misc.py -> build/lib.macosx-10.7-x86_64-3.6/psutil/tests
copying psutil/tests/test_posix.py -> build/lib.macosx-10.7-x86_64-3.6/psutil/tests
copying psutil/tests/test_linux.py -> build/lib.macosx-10.7-x86_64-3.6/psutil/tests
copying psutil/tests/test_sunos.py -> build/lib.macosx-10.7-x86_64-3.6/psutil/tests
copying psutil/tests/init.py -> build/lib.macosx-10.7-x86_64-3.6/psutil/tests
copying psutil/tests/test_aix.py -> build/lib.macosx-10.7-x86_64-3.6/psutil/tests
copying psutil/tests/test_process.py -> build/lib.macosx-10.7-x86_64-3.6/psutil/tests
copying psutil/tests/test_bsd.py -> build/lib.macosx-10.7-x86_64-3.6/psutil/tests
copying psutil/tests/test_system.py -> build/lib.macosx-10.7-x86_64-3.6/psutil/tests
copying psutil/tests/test_osx.py -> build/lib.macosx-10.7-x86_64-3.6/psutil/tests
copying psutil/tests/test_memory_leaks.py -> build/lib.macosx-10.7-x86_64-3.6/psutil/tests
copying psutil/tests/test_windows.py -> build/lib.macosx-10.7-x86_64-3.6/psutil/tests
copying psutil/tests/main.py -> build/lib.macosx-10.7-x86_64-3.6/psutil/tests
running build_ext
building 'psutil._psutil_osx' extension
creating build/temp.macosx-10.7-x86_64-3.6
creating build/temp.macosx-10.7-x86_64-3.6/psutil
creating build/temp.macosx-10.7-x86_64-3.6/psutil/arch
creating build/temp.macosx-10.7-x86_64-3.6/psutil/arch/osx
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/miniconda3/envs/pydatala_kedro/include -arch x86_64 -I/opt/miniconda3/envs/pydatala_kedro/include -arch x86_64 -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=567 -DPSUTIL_OSX=1 -I/opt/miniconda3/envs/pydatala_kedro/include/python3.6m -c psutil/_psutil_common.c -o build/temp.macosx-10.7-x86_64-3.6/psutil/_psutil_common.o
In file included from /usr/local/lib/gcc/x86_64-apple-darwin17.5.0/7.3.0/include-fixed/syslimits.h:7:0,
from /usr/local/lib/gcc/x86_64-apple-darwin17.5.0/7.3.0/include-fixed/limits.h:34,
from /opt/miniconda3/envs/pydatala_kedro/include/python3.6m/Python.h:11,
from psutil/_psutil_common.c:9:
/usr/local/lib/gcc/x86_64-apple-darwin17.5.0/7.3.0/include-fixed/limits.h:194:15: fatal error: limits.h: No such file or directory
#include_next <limits.h>  /* recurse down to the real one */
^~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
ERROR: Failed building wheel for psutil
Running setup.py clean for psutil
Failed to build psutil
It seems to be looking for a file named limits.h
/usr/local/lib/gcc/x86_64-apple-darwin17.5.0/7.3.0/include-fixed/limits.h:194:15: fatal error: limits.h: No such file or directory
#include_next <limits.h>  /* recurse down to the real one */
^~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
I'm not sure why the file is missing how to fix it but this seems to be a dependency issue trying to install psutil using the setup.py file
When I try to run
pip install psutil I get the same error as above
Any help could be greatly appreciated

I think this is caused by https://github.com/boto/botocore/issues/1872 which seems to have caused issues downstream in a few other packages

I think this is caused by boto/botocore#1872 which seems to have caused issues downstream in a few other packages

Don't think so, it only prints an error, but doesn't break the installation. The error here seems to be based on a C-library dependency.
@tharris72 Do you have Xcode tools installed/updated on your system? (xcode-select --install)
If so, can you check what which gcc outputs? If it outputs the gcc that belongs to Conda, can you uninstall that and let python install it using your systme gcc/clang? I've seen issues before on Conda Python 3.6 with conda's gcc. I suspect if you used 3.7 it'd work 🤔

@mzjp2 I do have xcode on my machine. I ran the code you showed (xcode-select --install) before I posted this. I read somewhere that apple moved some of the sdk kits with the latest mac os Catalina update or the one before 10.14. The thing that doesn't make sense to me is that the error I am getting is
/usr/local/lib/gcc/x86_64-apple-darwin17.5.0/7.3.0/include-fixed/limits.h:194:15: fatal error: limits.h: No such file or directory
#include_next <limits.h>  /* recurse down to the real one */
but I checked and the limits.h file actually there
I just tried making a conda environment using python 3.7 and I am still getting the same error

I read somewhere that apple moved some of the sdk kits with the latest mac os Catalina update or the one before 10.14. The thing that doesn't make sense to me is that the error I am getting is

You might've come across this already, but have you tried running something similar to this: https://programmer.help/blogs/how-to-resolve-pip-install-twisted-error-limits.h-no-such-file-or-directory.html ?

@lorenabalan
The link is for mac os 10.14. I have 10.15. I tried using the open command on
open /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
but I still get the error
I think the problem is because some of the folders were moved around for mac os 10.15 and I am trying to create a virtual environment the compiler or something else is looking in the wrong place.
The link you gave me helped me to find that there is also a limits.h file in
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/limits.h
The error says the program is looking in
/usr/local/lib/gcc/x86_64-apple-darwin17.5.0/7.3.0/include-fixed/limits.h
I'm guessing that these are the same file. I'm not sure if the program is supposed to be looking in the new folder now that stuff has been moved around. I have tried a few things but they haven't worked. I think it is a path error but I'm just not sure how to fix it.

@tharris72 We think we might have resolved this issue in the upcoming release of kedro 0.15.5 because we have removed the memory-profiler from core library dependencies and this has removed one of its dependencies on psutils the library which requires you to have Xcode. Please let us know if you will be able install Kedro without any errors then.

@yetudada No problem. As soon as it is released I can try to install it a gain and let you guys know what happens. Thanks for the help.

Hi @tharris72 , Kedro 0.15.5 is out, let us know if you run into the same problem.

It worked!
Thanks,
I will close out the issue.

@lorenabalan @yetudada Hi, I am facing a similar issue with Kedro 0.16.1. I am using Mint Linux.

@lorenabalan @yetudada Hi, I am facing a similar issue with Kedro 0.16.1. I am using Mint Linux.

Can you post the output of pip install kedro?

I get the error while installing the dependencies.
pip install 'kedro[all]'

@mzjp2 I get the error while installing the dependencies.

Can you try the answers outlined here? https://github.com/giampaolo/psutil/issues/1143

@mzjp2 I get the error while installing the dependencies.

Can you try the answers outlined here? giampaolo/psutil#1143

Thanks @mzjp2, The problem got solved.
Issue solved by:
sudo apt install python3.6-dev
python3 -m pip install psutil
pip install "kedro[all]"

Awesome!

@mzjp2 How do you solve the exception errors while installing kedro["group"]
Exception:
pip._vendor.packaging.requirements.InvalidRequirement: Parse error at "'['": Expected stringEnd

@mzjp2 How do you solve the exception errors while installing kedro["group"]
Exception:
pip._vendor.packaging.requirements.InvalidRequirement: Parse error at "'['": Expected stringEnd

pip install "kedro[group]" not pip install kedro["group"] -- look at the " -- on UNIX, a [ is a builtin command and so needs to be quoted if you want to use the string "[".

Thanks. It worked


redundant CMakeLists.txt files for android

I think the android CMakeLists.txt files is a bit redundant with the root dir CMakeLists.txt...
For example, there's include_directories(external/glm) in the root dir cmake (which I used to generate vs2022 and build for windows) vs include_directories(${EXTERNAL_DIR}/glm) in the android specific CMakeLists.txt.
I noticed this when integrating libwebp (to do VkImage dumps to webp instead of ppm)...  I ended up adding mostly redundant lines to the CMakeLists.txt in the root dir (tested on Windows 10 with vs2022) and the android CMakeLists.txt (built with Android Studio).
As I understood it, the main benefit of cmake is to share build configuration across platforms (eg Windows and Android).
Not sure if this qualifies as an "issue" vs some other way to share feedback.  Feel free to close.

Thanks for bringing this up. When I started out with this repo, I haven't had much CMake experience and I'm sure there are better ways to do all of this. But esp. for Android in the early day CMake lagged behind. I may return to this and improve it at some point, but it works fine, is low maintenance and not something often mentioned. So I'll keep it in mind but probably won't do anything about in the foreseeable future.


[cw-multi-test] Add support for stargate messages

Three of the Cosmwasm messages fall into the stargate feature of the cosmwasm lib. The multi-test (MT) lib does not support them yet.
Usecase: A Nolus contract generates a stargate sub-message, for example, IbcMsg. The MT App panics when comes across such type of message.
The particular piece of code is this https://github.com/CosmWasm/cw-multi-test/blob/main/src/app.rs#L796-L805
The same approach as the one taken for custom, staking, distribution, etc should be followed. For reference, look into our custom testing::neutron::Module, and the way the AppBuilder takes it into account.
As a result, prepare a merge request at https://github.com/CosmWasm/cw-multi-test/ . Discussed that with Bart from Confio.
Re-enable the tests ignored with "No support for stargate CosmosMsg-s at cw-multi-test, "

Migrated to using Neutron instead of Cosmos/CosmWasm IBC messages, and thus can be considered finished as support for them was added in the tests.


Ab upstream

Added a Web Dev Folder with a Simple Static CV site for beginners.

Nice Work

Nice Work

Thanks man, will be sharing more useful projects soon :)


SW-5800 Don't show "undefined" as module title

On the deliverables list page in the accelerator console, we show a
column that has the cohort-module-specific module title (which is
usually something like "Module 1") followed by the module name. For
document deliverables whose documents were imported from PDH, there
won't necessarily be a cohort module, and thus there won't be a module
title.
Update the rendering code to show just the module name in that case, so
it doesn't show up like "undefined - GIS".

#3070  👈
main

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

Join @sgrimm and the rest of your teammates on  Graphite

Merge activity

Aug 22, 6:38 PM EDT: @sgrimm started a stack merge that includes this pull request via Graphite.