Refactor computed variable metadata

see https://github.com/VEuPathDB/web-eda/issues/1329
here well make relevant classes and methods for use in other packages, namely VariableMetadata class and toJSON method

they dont yet. im still occassionally adding to or revising those methods. ill write the tests when im more confident in them. hopefully early next week.


Problem with load old latte-intellij.xml which cause errors

Describe the bug
If load old latte-intellij.xml (or some configuration from .idea folder), indexing is freezing.
Environment (please complete the following information):

PhpStorm version 2020.3

Plugin latest

[ ] As first add some catch to errors and skip errors to continue indexing (and show some error message to user)

[ ] Try apply some fixes to deprecated/removed functionality from .xml configurations

This is my .idea/latte.xml that caused freezing of PhpStorm when latte opened during initial index. Also, the initial index took forever and did not finish after a hour... Since I've removed this file I had no problems even after enabling all plugins I'm used to work with.
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="LattePluginSettings">
    <option name="variableSettings">
      <list>
        <LatteVariableSettings VarName="control" VarType="\Nette\Application\UI\Control" />
        <LatteVariableSettings VarName="basePath" VarType="string" />
        <LatteVariableSettings VarName="baseUrl" VarType="string" />
        <LatteVariableSettings VarName="baseUri" VarType="string" />
        <LatteVariableSettings VarName="flashes" VarType="mixed[]" />
        <LatteVariableSettings VarName="presenter" VarType="\Nette\Application\UI\Presenter" />
        <LatteVariableSettings VarName="iterator" VarType="\Latte\Runtime\CachingIterator" />
        <LatteVariableSettings VarName="form" VarType="\Nette\Application\UI\Form" />
        <LatteVariableSettings VarName="user" VarType="\Nette\Security\User" />
      </list>
    </option>
    <customMacroSettings>
      <list>
        <LatteTagSettings DeprecatedMessage="" MacroName="_" MacroType="PAIR">
          <option name="vendor" value="OTHER" />
        </LatteTagSettings>
      </list>
    </customMacroSettings>
  </component>
</project>

XML configuration was removed from free plugin. Use Pro plugin: https://plugins.jetbrains.com/plugin/19661-latte-pro


Added docs for Device auth flow in kgs login

What does this PR do?
Add documentation for a new --device-auth flag in kubectl-gs login.
What does it look like?
The documentation of kubectl-gs login hs been extended to include the usage description and examples of the new --device-auth flag.
Any background context you can provide?
Updating documentation after the device auth implementation in kubectl-gs: https://github.com/giantswarm/roadmap/issues/1933
What is needed from the reviewers?
Check if the new parts of the documentation make sense
Have you maintained the front matter?
(Please bump the last_review_date in case this qualifies as a review for an entire page. Provide user_questions which should be answered in the page. Provide a meaningful description.)

FYI: branch protection rules are changed to match with https://github.com/giantswarm/docs/pull/2003


Allow developers to avoid applying semantic-ui to public facing views

Draft of the work to fix #842.
To test this, customize src/theme.js in your own volto-app and apply the changes suggested in the comment.
To add your own styles for public facing views, add them in your theme.js customization.
This is still experimental, still has Italian comments (sorry :P ), but I wanted to post this for anyone who wants to test this approach.
Disclaimer: the naming backend/frontend for cms views and public views is confusing and temporary and has to be replaced somehow. Suggestions on naming are accepted.

One thing I can already tell you I will work on is code splitting. I would love to load semantic-ui only for logged-in users, when using this approach.

Agree the frontend/backend names aren’t useful. public-ui vs admin-ui? (even though public could be private to some users?). themed vs edit-ui? display vs edit?

@pnicolli One thing to keep in mind is that Plones in-line approach is the outlier and most CMS systems have an admin-ui and a theme and they aren't the same thing. Systems like django come with an admin-ui and no theme, they are essentially headless. So perhaps its about calling it themed vs non-themed admin UI?

Changed the naming from backend/frontend to cms-ui/public-ui

We have a first version of a volto theme using bootstrap for public views and pastanaga for the cms views here
It's really just a bunch of configurations at this time (notice especially razzle.config.js) and the import of our base scss styles inside src/theme.js.

@pnicolli awesome!

@pnicolli Woohooo! Questions, questions!
https://github.com/RedTurtle/design-volto-theme/blob/master/src/theme.js#L10 Did you managed to make it work with a local non-released @plone/volto repo using mrs.developer? I will try to document asap but for sure you are going to need it.
Another, how about code splitting? Did you already play with it?

@sneridagh mrs.developer wasn't involved at this time, we just used this PR branch split_styles in order to test it: https://github.com/RedTurtle/design-volto-theme/blob/master/package.json#L62
We will try to use mrs.developer or something similar (will actually probably try yarn link first, it's usually my preferred tool) asap in order to add lazy loading stuff. Actually, in order to do that, merging the main lazy-loading machinery would be awesome. So the second answer is no, we didn't try lazy loading stuff yet.

@nzambello @pnicolli With current Volto it's possible to load scss really easy, no need for the separate razzle loader declaration. I've done it like this: https://github.com/eea/volto-searchkit/blob/master/razzle.extend.js

@tiberiuichim nice, I'm testing it: https://github.com/RedTurtle/design-volto-theme/pull/82

@tiberiuichim updated the docs for the sass loader

Notes from Volto early adopters meeting today:

Timo will review this PR over the weekend
we will discuss this PR on the next @plone/volto-team meeting next Tuesday

Note @plone/volto-team meeting:

Minor release
No breaking is expected
The release will happen soon (today or tomorrow)

Woah! Thank you @tisto
Months of work completed, hooray! 🎉

@nzambello thank you for working on this and contributing your work to Volto!!! Awesome work! Sorry, it took me so long to review and merge.


%jinx hint

In accel, the sail editor, and maybe some other places, users can input arbitrary Hoon. We would like to have the %jinx hint here so that they don't get their ships into infinite loops.

awaiting https://github.com/urbit/UIPs/pull/62

Awaiting urbit/vere/pull/648

Once this is merged, we'll implement it in the appropriate spots.


Cocoa pod not working.

Might be there is an issue with the current pod. it is not working on the project. See below image.
the pod is just adding .h file source file is missing.

Hi @tejas-ardeshna , Are you using my example project? What is your cocoa-pod version?

$ pod install
... Analyzing dependencies
... Downloading dependencies
... Installing SwiftCSVExport (1.0.2)
... Installing SwiftLoggly (1.0.4)
... Generating Pods project
... Integrating client project

Thanks man, worked with 'pod repo update'.
one more question. can i use this lib in objective c project.

Yeah, you can use this framework in the Objective-C project. I have updated the readme file. Please let me know if want any help.


chore: move code from sidetree-core-go.

Codecov Report
Patch coverage: 93.77% and project coverage change: +3.50% :tada:

Comparison is base (b99774e) 85.57% compared to head (988ff88) 89.08%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #13      +/-   ##
==========================================
+ Coverage   85.57%   89.08%   +3.50%
==========================================
  Files          47      101      +54
  Lines        4568     8572    +4004
==========================================
+ Hits         3909     7636    +3727
- Misses        502      697     +195
- Partials      157      239      +82

Files Changed
Coverage Δ

method/jwk/creator.go
81.81% <ø> (ø)

method/sidetreelongform/dochandler/dochandler.go
80.64% <ø> (ø)

...ochandler/protocol/nsprovider/namespaceprovider.go
100.00% <ø> (ø)

...dochandler/protocol/verprovider/versionprovider.go
100.00% <ø> (ø)

...r/protocolversion/clientregistry/clientregistry.go
100.00% <ø> (ø)

...andler/protocolversion/versions/common/protocol.go
90.00% <ø> (ø)

...ler/protocolversion/versions/v1_0/client/client.go
100.00% <ø> (ø)

...r/protocolversion/versions/v1_0/config/protocol.go
100.00% <ø> (ø)

.../versions/1_0/operationapplier/operationapplier.go
88.35% <ø> (ø)

...ee-core/versions/1_0/operationparser/commitment.go
89.28% <ø> (ø)

... and 54 more

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


Update Bevy to 0.15

Hey there!
Curious if there is an ETA for when bevy rapier will be updated to support Bevy v0.15.0?
Thanks!

you can depend on https://github.com/dimforge/bevy_rapier/pull/595 already ; there is a dependency which needs updating, we're letting time for the ecosystem to catch up for now.

Awesome. Thank you!!

you can depend on Update bevy to 0.15 #595 already ; there is a dependency which needs updating, we're letting time for the ecosystem to catch up for now.

@Vrixyz It looks like bevy_mod_debugdump has published the latest version on crates.io now: https://github.com/jakobhellermann/bevy_mod_debugdump/issues/53

@Vrixyz Is RapierContext no longer a resource?

@The-DevBlog
From the CHANGELOG.md in the linked PR (#595):

RapierContext, RapierConfiguration and RenderToSimulationTime are now a Component instead of resources.

Rapier now supports multiple independent physics worlds, see example multi_world3 for usage details.
Migration guide:

ResMut<mut RapierContext> -> WriteDefaultRapierContext
Res<RapierContext> -> ReadDefaultRapierContext
Access to RapierConfiguration and RenderToSimulationTime should query for it
on the responsible entity owning the RenderContext.

If you are building a library on top of bevy_rapier and would want to support multiple independent physics worlds too,
you can check out the details of #545
to get more context and information.

@codaishin Thanks a bunch!

The bevy_rapier_* crates have been released :+1:

https://crates.io/crates/bevy_rapier3d/0.28.0
https://crates.io/crates/bevy_rapier2d/0.28.0


CAMA data doesn't include "commercial" residential units

The zone_housingunit_bedrm_count table is created from the opendata.dc.gov data set for "residential" units. However, there are two additional data sets that include additional housing - commercial (which looks to actually be more accurately 'rental') and condo. It is not clear if these are partially or fully overlapping.
I sent an email to both DCGIS and opendata to try to get clarification on the scope of these data sets. Will update this issue when more information is available on how much of these additional data sets needs to be incorporated.

Note, here is a file that contains the use codes that indicate specifically what type of property a CAMA listing is (page 113) : https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/Reassessment Program 2018 FINAL.pdf

Per discussion w/ one of the data maintainers at the city, the most accurate source of zone-level residential unit counts is to sum the active_res_unit_count field in the mar rather than using CAMA. We should convert the zone_housingunit_bedrm_count table to use this data set instead, and to be a calculated field during the data processing step rather than to be a download/ingested data set.

Steps needed to perform this fix:

[ ] Add new code to (or a separate method called within) the _populate_zone_facts_table() in LoadData.py. This should perform a sql query that calculates the sum of the active_res_unit_count field for each unique zone type. The result of this calculation is the total residential units in that zone (neighborhood cluster, census tract, or ward).
[ ] Update the code that calculates building permits as a rate to use the zone facts table instead of the zone_housingunit_bedrm_count table.
[ ] Mark the cama.py as deprecated with a comment at the top of the file - we may want to use CAMA for different purposes in the future, so no need to delete for now.
[ ] Remove the row in manifest.csv and section of the meta.json corresponding to the zone_housingunit_bedrm_count table so that the table will not be included in the database when it is rebuilt.
[ ] Do a global search for any other references to the zone_housingunit_bedrm_count table and adjust them to point to the zone facts table.


New Select, DatePicker and Time Picker

Currently the dropdown menu of Select, DatePicker and TimePicker are blocked by a overflow: hidden container. The solution we've decided on is to use a portal to render the menu outside the DOM hierarchy of the container (under <body>).
I'm going to break this task down into reusable components and hooks that can be shared between Select, DatePicker and TimePicker.
Components from low to high level:

Overlay

[ ] Add prop color to control the background color of the overlay

Popover

[ ] New component that shows a popup next to an anchor element (e.g. popup for Select, DatePicker and TimePicker) using Overlay

Select

[ ] Rewrite (will break it down further)

DatePicker

[ ] Rewrite (will break it down further)

TimePicker

[ ] Rewrite (will break it down further)

For now we just want to get a quick implementation out for the demo so I will make PRs for the following tasks first.

[x] Select: use react-select with no search bar (PR merged)
[ ] DatePicker: add a prop modal and use Popover for the calendar if modal is set to true
[ ] TimePicker: add a prop modal and use Popover for the wheels if modal is set to true

https://github.com/bappogroup/bappo-open/pull/41

[x] Add prop color to control the background color of the overlay
[x] DatePicker: add a prop modal and use Popover for the calendar if modal is set to true
[x] TimePicker: add a prop modal and use Popover for the wheels if modal is set to true


Document guidance about when to use and not use HTTP Client Factory

We should improve the scenario guidance around HTTP client to help users understand the whens and whys of choosing to use the HTTP Client Factory.
I want a section of the doc that provides clear messaging around the topics raised by a question like: https://github.com/aspnet/Extensions/issues/1345 Users often feel like they want to use something like the HTTP Client Factory but also don't want to use the actual HTTP Client Factory, so they ask us to change it so they have more alternatives.
We should also include samples and guidance for using HTTP Client Factory and other Microsoft.Extensions libraries outside of ASP.NET Core. Example using Web Forms: https://github.com/glennc/httpclientfactorysample/blob/master/src/WebUI.WebForms/Global.asax.cs#L26 It's not clear to users that this is possible, and it is actually something we recommend.
Using the Microsoft.Extensions libraries outside of ASP.NET Core is a great way to start modernizing an older application, and has resonated really well with some users I have talked to about it.

Thanks Ryan. It would also be helpful to have documentation on how to incorporate HttpClientFactory with alternate IoC Container providers like autofac and Castle Windor.

Thanks @rynowak I was looking for the usage of HttpClientFactory without startup class. The link which you provided for Global.asax helped me. Thanks.

Hi, I followed the issue https://github.com/dotnet/extensions/issues/1345 to here.
I am curious about how does Azure key vault work when we add it as a configuration provider during the ConfigureAppConfiguration stage. So I took a look at the source code for AzureSDK.
Azure SDK has a concept, HttpPipeline, which represents a primitive for sending HTTP requests and receiving responses.
https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/core/Azure.Core/src/Pipeline/HttpPipeline.cs
Is the HttpPipeline a sibling of the HttpClient? Does .NET have something similar to the HttpPipeline that is primitive and can be used during the generic host build stage?
Thank you.

I would like to see guidance, recommended code for using HttpClient in Web Forms.  Not asp.net on .net core, not MVC... ASP.NET Web Forms.  Fair to expect a web forms website to be running on latest framework (e.g. 4.8).  Assume there is no added on dependency injection system.   How to properly instantiate HttpClient and use it w/out "exhausting sockets" issue?

@mnoreen If it helps, I wrote this to make it easy to use MEDI in WebForms: https://github.com/Jehoel/AspNetDependencyInjection - I use it with IHttpClientFactory without problems.

@mnoreen If it helps, I wrote this to make it easy to use MEDI in WebForms: https://github.com/Jehoel/AspNetDependencyInjection - I use it with IHttpClientFactory without problems.

@Jehoel Thank you! I hope to experiment w/ your WebForms DI project.  And your write up is of particular interest. We have a very mature, 10+ year asp.net webforms solution, still going strong (current on the full Framework 4.8). But... we are trying to figure out how to bridge over to .NET core (or just the "new" .NET), pretty much exactly as you write.  We'd like to spin up side by side websites, but there's just a whole of truly fundamental things to contend with... authentication being one of the most significant bits (as in how to use the same auth cookie in a side by side website scenario)!  We have many base pages that .aspx pages inherit from, we have dozens of our own server controls and dozens more user controls.  Would love to hear more about your experiences.

@Jehoel Thank you! I hope to experiment w/ your WebForms DI project.  And your write up is of particular interest. We have a very mature, 10+ year asp.net webforms solution, still going strong (current on the full Framework 4.8). But... we are trying to figure out how to bridge over to .NET core (or just the "new" .NET), pretty much exactly as you write.  We'd like to spin up side by side websites, but there's just a whole of truly fundamental things to contend with... authentication being one of the most significant bits (as in how to use the same auth cookie in a side by side website scenario)!  We have many base pages that .aspx pages inherit from, we have dozens of our own server controls and dozens more user controls.  Would love to hear more about your experiences.

@mnoreen  Sure, I'll be happy to. Please create a new discussion in that repo so we don't detail this thread: https://github.com/Jehoel/AspNetDependencyInjection/discussions

@mnoreen  Sure, I'll be happy to. Please create a new discussion in that repo so we don't detail this thread: https://github.com/Jehoel/AspNetDependencyInjection/discussions

@rynowak  Any updates on this issue?
I'm also searching for a guidance on how to best use HttpClient, in an ASP.NET MVC 5 application (.NET Framework 4.7), without a DI framework and without taking a dependency on Microsoft.Extensions.DependencyInjection or  Microsoft.Extensions.Hosting


daily missing in Changing frequency for sitemap

Hy,
please add daily to Changing frequency.
https://www.sitemaps.org/protocol.html#changefreqdef
Thanks

Hi,
Thanks for the input.
We'll add it in a new version, soon.
Regards,
Tomasz Strojny


feat(UDF): Python SDK - add io_threads for concurrency and  test_udf.py

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?

Checklist For Contributors

[X] I have written necessary rustdoc comments
[X] I have added necessary unit tests and integration tests
[X] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[X] I have demonstrated that backward compatibility is not broken by breaking changes and created issues to track deprecated features to be removed in the future. (Please refer to the issue)
[X] All checks passed in ./risedev check (or alias, ./risedev c)

Types of user-facing changes

Others: python udf SDK - new io_threads parameter

Also perhaps we can run the test in ci/scripts/run-unit-test.sh.


Teams Admin account requirement.

[Enter feedback here]
FYI- For the prerequisites - The Teams Admin account does not need to be licensed with the Teams Premium licenses to modify the config of meeting backgrounds. The account only needs a Teams license as per: https://learn.microsoft.com/en-us/microsoftteams/using-admin-roles#teams-roles-and-capabilities
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 1c3d5c2e-7936-6966-078f-304b628c9b74
Version Independent ID: 1c3d5c2e-7936-6966-078f-304b628c9b74
Content: Custom meeting backgrounds for Teams meetings - Microsoft Teams
Content Source: Teams/custom-meeting-backgrounds.md
Service: msteams
GitHub Login: @wlibebe
Microsoft Alias: wlibebe

Hello @d1bjo0
From my point of view, the bulleted list of requirements is not stating that the Teams admin needs to be assigned the SKU listed in the previous bullet point.
Please let me know if I understood you correctly.
Thank you for your feedback!

@scanum Closing, it can be re-opened if submitter comes back.


Mobile Wallet Connection Improvements

On next release test again the mobile wallet connection processes. Had some issue with latest shango download in local network and also recheck issues like tose ones:
https://github.com/rootzoll/raspiblitz/issues/476
https://github.com/rootzoll/raspiblitz/issues/393
Also if possible copy over the LCD display QR code ... the QR code zoom in/out is really a pain.

Check and replace forwarded ports and domains for QRcode info.

Noting that Shango was last updated in 2018 Dec 8 and still early access release.

I will keep Shango as a option for now, but Zeus ist now also part of the list.

OK Wallet connection looks good so far for v1.2 - closing issue.


Use Yarn to manage dependencies

Before submitting, please confirm you've

[x] read and understood our Contributing Guidelines
[x] completed Mattermost Contributor Agreement
[x] executed npm run lint:js for proper code formatting

Please provide the following information:
Summary
Use Yarn to manage dependencies.
Yarn can keep dependencies in same across the builds.
Now mattermost/platform uses Yarn and its 1.0.0 is coming. I think this is a good timing to introduce Yarn.
Issue link
#485
Test Cases
Execute yarn check to check whether yarn.lock is properly updated.
Additional Notes
https://circleci.com/gh/yuya-oc/desktop/361

Awesome!
@MusikPolice Have there been any concerns/disadvantages with using yarn on platform, do you know?

@yuya-oc Let's not merge #585  until PRs contributed by @csduarte are merged to avoid conflicts for those PRs
https://github.com/mattermost/desktop/pulls/csduarte

@jasonblais not that I'm aware of. I believe mattermost-server switched to yarn before my time though.

@yuya-oc I just realized the remaining PRs from @csduarte do not touch the files you've changed here. So we can merge this one too if you'd like.


Easy Podcast

Submiting to the project page
Submitting this: Easy Podcast as a demo for Wavesurfer.

thanks, please edit and add it to this list @vunderkind:  https://github.com/katspaugh/wavesurfer.js/blob/gh-pages/projects/index.html


Directive not working with Angular Universal: node.textContent is undefined

I'm submitting a ...
[X ] bug report
[ ] support request
[ ] feature request

Current behavior
The TranslateDirective in Angular Universal does not work due to the following error:
TypeError: Cannot read property 'trim' of undefined
at TranslateDirective.checkNodes (.../node_modules/ng2-translate/bundles/ng2-translate.umd.js:759:51)

e.g.
HELLO.WORLD

Expected/desired behavior
Once the loader is loaded, string within a node should be translated.
Reproduction of the problem
Loading the TranslateUniversalLoader is loaded, add to a template (included via templateUrl) a node with a translate directive and the text string within the node (.e.g
HELLO.WORLD
.
Start server.js and watch for errors in the terminal.
What is the expected behavior?
The methods checkNodes and updateValue of TranslateDirective expect each node to have a property called .textContent : string, which apparently does not exist server side.
Server side we do have however access to a property .data : string, which seems to behave exactly as .textContent.
Be referencing all calls to textContent with a fallback to .data solves the issue, like so:
// checkNodes
var content = (node.textContent || node.data).trim();
...
node.originalContent = node.textContent || node.data;

// updateValue
node.originalContent = node.textContent || node.data;
if(node.textContent) node.textContent = _this.key ? node.currentValue : node.originalContent.replace(key, node.currentValue);
else node.data = _this.key ? node.currentValue : node.originalContent.replace(key, node.currentValue);

What is the motivation / use case for changing the behavior?
Translate Directive can't be used server side as it is
Please tell us about your environment:

ng2-translate version: 5.0.0

Angular version: 2.2.3

angular/platform-server: 2.2.3,

angular2-platform-node: 2.1.0-rc.1,

angular2-universal: 2.1.0-rc.1,

angular2-universal-polyfills: 2.1.0-rc.1

angular2-express-engine: 2.1.0-rc.1

Node: 7.3.0

Language: TypeScript

I've already did a PR, see #378.
I'm not too familiar with making PR, so I don't know exactly why Travis is saying the check has faled. Github has confirmed there are no conflicts though.


Any font validation tool in this project?

Is there any truetype and open type font validation tool in this repo?

Not really. If a font’s tables are so broken that they can’t be parsed, the tools in this repo will definitely notice. But there’s no checks that would guarantee a font will work fine on a specific platform.

try https://github.com/HinTak/Font-Validator, or ftxvalidator in the Apple Font Tool Suite
https://developer.apple.com/download/more/?=font

There's also ots and fontbakery
On Mar 6, 2017 9:22 AM, "Cosimo Lupo"<EMAIL_ADDRESS>wrote:

try https://github.com/HinTak/Font-Validator, or ftxvalidator in the
Apple Font Tool Suite
https://developer.apple.com/download/more/?=font
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fonttools/fonttools/issues/875#issuecomment-284408835,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAP9y-huFw4LMq68N07_bViTHIyfYXtUks5rjBaegaJpZM4MTwnb
.


How do i clear cache and cookies in headless mode?

You can clear cookies with page.deleteCookie(...cookies) method.
Clearing cache has been discussed here and a way to do this is also mentioned. But still there is no proper method to do this.

Thanks @emadehsan

@priyankapuranik no problem :)


Revise constraints on name/ID.

Fixes: https://github.com/mlcommons/croissant/issues/449

Closing this PR as @id replaces name. We will re-open another PR to change constraints on names.


sync always need to restart.

when i sync in mainnet, nodeos always stop sync because p2p connection time out, but I restart nodeos wil fix this problem and start sync. but I always need to restart in few days.

No response to support ticket in months, closing


Add exiter.ps1 for windows packaging scripts.

merged manually and cut a release. Had to make a couple of changes.


Clipped popable edges for left/right positioning

Hi there, this is friggitydingo, came here from Reddit :P I've been trying out the component, I like it a lot!
When I tried the left/right positions, however, with more several words of text content, I found the edge of the component was clipping off like in the image I attached.
This can be reproduced in your example app with the following:
<Popable content="See profile and tell me what you think" position='left' strictPosition={true}>
I was able to fix this for myself by commenting out the overflow: 'hidden' line in the container style of react-native-popable/src/Popover.tsx - although I'm not sure if that will adversely affect other things.
Thanks!

Thank you for sharing Benjamin!
I will take a look at it later, this should definitely be fixed shortly.
I'll keep you updated :)

This should hopefully be fixed in 0.2.0!
Hope this works out better this time.
Just let me know if you find anything else :)
Have a great day!

Nice work, thanks! I'll let you know if anything else pops up (pardon the pun)

(good one :))


Update gradle settings

Follow latest embulk gradle settings.
Add settings.gradle

Coverage remained the same at 97.38% when pulling 32b66b94d0be3d9ee85f5ed9fc9d42434dbcf57e on update-gradle-settings into 7afcf823e7baf68c88ed74543418e519d4fb92ff on master.


Bump yarn.lcok

run yarn upgrade
update yarn.lock

Coverage remained the same at 83.364% when pulling 2875e01b826cc69cbd4cf8c4fc404b434b63952e on xx/yarn-lock into 8a832f3906ebf6c4bef593562325b3aec26a25dc on master.


Errors while installing django-renderpdf

I am using django 2.2.7 and python 3.8.0
After running pip install django-renderpdf I am getting errors
pip install django-renderpdf
Collecting django-renderpdf
Using cached django_renderpdf-3.0.0-py3-none-any.whl (7.4 kB)
Collecting weasyprint
Using cached WeasyPrint-52.1-py3-none-any.whl (304 kB)
Requirement already satisfied: django>=2.2 in c:\django_venv\rest\venv\lib\site-packages (from django-renderpdf) (2.2.7)
Collecting tinycss2>=1.0.0
Using cached tinycss2-1.1.0-py3-none-any.whl (21 kB)
Collecting CairoSVG>=2.4.0
Using cached CairoSVG-2.5.0-py3-none-any.whl (45 kB)
Collecting cairocffi>=0.9.0
Using cached cairocffi-1.2.0.tar.gz (70 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\django_venv\rest\venv\scripts\python.exe' -c

Is that the entire output?
There's no error message here, so I've nothing to go on.


Turkish translation

I saw you said you need help with the translation. So here it is :)

Hah, I haven't put out a new version of this forever, but sure, I'll take it.

I guess it is still am eclipse project right? :)
I thought it was a new project. I realized that you didn't update it when I
passed the half of the translations. :)
On Wed, Oct 14, 2015, 7:08 PM Daniel Lew<EMAIL_ADDRESS>wrote:

Hah, I haven't put out a new version of this forever, but sure, I'll take
it.
—
Reply to this email directly or view it on GitHub
https://github.com/dlew/android-ragefaces/pull/143#issuecomment-148101833
.


regression: fix issue #140: catch 'regress' as a word

Coverage remained the same at 48.924% when pulling 354618af3cbf128b27c172902a9301330fde3f9e on calixteman:regression_issue_140 into ef03e60f284d42c2cf4b96f446d1bb3c8e290f9a on mozilla:master.


HDFS-16667. Use malloc for buffer allocation in uriparser2

Description of PR
Currently, a variable is used to specify the array size in uriparser2 -
https://github.com/apache/hadoop/blob/34e548cb62ed21c5bba7a82f5f1489ca6bdfb8c4/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/uriparser2/uriparser2/uriparser2.c#L71-L79
This results in the following error on Windows -
H:\hadoop-hdfs-project\hadoop-hdfs-native-client\src\out\build\x64-Debug\cl : command line warning D9025: overriding '/W4' with '/w'
    uriparser2.c
H:\hadoop-hdfs-project\hadoop-hdfs-native-client\src\main\native\libhdfspp\third_party\uriparser2\uriparser2\uriparser2.c(74,23): error C2057: expected constant expression
H:\hadoop-hdfs-project\hadoop-hdfs-native-client\src\main\native\libhdfspp\third_party\uriparser2\uriparser2\uriparser2.c(74,23): error C2466: cannot allocate an array of constant size 0
H:\hadoop-hdfs-project\hadoop-hdfs-native-client\src\main\native\libhdfspp\third_party\uriparser2\uriparser2\uriparser2.c(74,24): error C2133: 'buffer': unknown size

I've used malloc to fix this.
How was this patch tested?

Tested this locally by building on my Windows system.
Hadoop Jenkins CI validation.

For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
45m 32s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
40m 39s

trunk passed

+1 :green_heart:
compile
3m 57s

trunk passed

+1 :green_heart:
mvnsite
0m 38s

trunk passed

+1 :green_heart:
shadedclient
67m 14s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 19s

the patch passed

+1 :green_heart:
compile
3m 56s

the patch passed

+1 :green_heart:
cc
3m 56s

the patch passed

+1 :green_heart:
golang
3m 56s

the patch passed

+1 :green_heart:
javac
3m 56s

the patch passed

-1 :x:
blanks
0m  0s
/blanks-tabs.txt
The patch 4 line(s) with tabs.

+1 :green_heart:
mvnsite
0m 22s

the patch passed

+1 :green_heart:
shadedclient
22m 10s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
96m 43s

hadoop-hdfs-native-client in the patch passed.

+1 :green_heart:
asflicense
0m 45s

The patch does not generate ASF License warnings.

239m 39s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4576/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4576

Optional Tests
dupname asflicense compile cc mvnsite javac unit codespell detsecrets golang

uname
Linux b457491c3273 4.15.0-175-generic #184-Ubuntu SMP Thu Mar 24 17:48:36 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 4f43c44c5769365eb34c3f40c877bdaef5ee1e27

Default Java
Red Hat, Inc.-1.8.0_332-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4576/1/testReport/

Max. process+thread count
636 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-native-client U: hadoop-hdfs-project/hadoop-hdfs-native-client

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4576/1/console

versions
git=2.9.5 maven=3.6.3

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 51s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
85m 25s

trunk passed

+1 :green_heart:
compile
3m 58s

trunk passed

+1 :green_heart:
mvnsite
0m 38s

trunk passed

+1 :green_heart:
shadedclient
112m 10s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 20s

the patch passed

+1 :green_heart:
compile
3m 52s

the patch passed

+1 :green_heart:
cc
3m 52s

the patch passed

+1 :green_heart:
golang
3m 52s

the patch passed

+1 :green_heart:
javac
3m 52s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
0m 22s

the patch passed

+1 :green_heart:
shadedclient
22m 16s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
88m 30s

hadoop-hdfs-native-client in the patch passed.

+1 :green_heart:
asflicense
0m 51s

The patch does not generate ASF License warnings.

231m 50s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4576/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4576

Optional Tests
dupname asflicense compile cc mvnsite javac unit codespell detsecrets golang

uname
Linux c9777e842920 4.15.0-175-generic #184-Ubuntu SMP Thu Mar 24 17:48:36 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / df2323ca40fb4579c6be56bee9b8a780c20243d5

Default Java
Red Hat, Inc.-1.8.0_332-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4576/3/testReport/

Max. process+thread count
615 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-native-client U: hadoop-hdfs-project/hadoop-hdfs-native-client

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4576/3/console

versions
git=2.9.5 maven=3.6.3

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
29m 12s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
27m 29s

trunk passed

+1 :green_heart:
compile
4m 54s

trunk passed

+1 :green_heart:
mvnsite
0m 50s

trunk passed

+1 :green_heart:
shadedclient
58m 16s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 26s

the patch passed

+1 :green_heart:
compile
4m 12s

the patch passed

+1 :green_heart:
cc
4m 12s

the patch passed

+1 :green_heart:
golang
4m 12s

the patch passed

+1 :green_heart:
javac
4m 12s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
0m 27s

the patch passed

+1 :green_heart:
shadedclient
23m 42s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
107m 12s

hadoop-hdfs-native-client in the patch passed.

+1 :green_heart:
asflicense
0m 49s

The patch does not generate ASF License warnings.

227m  4s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4576/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4576

Optional Tests
dupname asflicense compile cc mvnsite javac unit codespell detsecrets golang

uname
Linux a10d05b9b421 4.15.0-175-generic #184-Ubuntu SMP Thu Mar 24 17:48:36 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / df2323ca40fb4579c6be56bee9b8a780c20243d5

Default Java
Red Hat, Inc.-1.8.0_312-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4576/3/testReport/

Max. process+thread count
623 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-native-client U: hadoop-hdfs-project/hadoop-hdfs-native-client

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4576/3/console

versions
git=2.27.0 maven=3.6.3

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
27m 27s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m 54s

trunk passed

+1 :green_heart:
compile
4m  5s

trunk passed

+1 :green_heart:
mvnsite
0m 43s

trunk passed

+1 :green_heart:
shadedclient
71m 25s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 22s

the patch passed

+1 :green_heart:
compile
3m 56s

the patch passed

+1 :green_heart:
cc
3m 56s

the patch passed

+1 :green_heart:
golang
3m 56s

the patch passed

+1 :green_heart:
javac
3m 56s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
0m 27s

the patch passed

+1 :green_heart:
shadedclient
33m 43s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
113m 38s

hadoop-hdfs-native-client in the patch passed.

+1 :green_heart:
asflicense
0m 51s

The patch does not generate ASF License warnings.

255m  0s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4576/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4576

Optional Tests
dupname asflicense compile cc mvnsite javac unit codespell detsecrets golang

uname
Linux 7eb9a1960edb 4.15.0-175-generic #184-Ubuntu SMP Thu Mar 24 17:48:36 UTC 2022 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / df2323ca40fb4579c6be56bee9b8a780c20243d5

Default Java
Debian-11.0.15+10-post-Debian-1deb10u1

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4576/3/testReport/

modules
C: hadoop-hdfs-project/hadoop-hdfs-native-client U: hadoop-hdfs-project/hadoop-hdfs-native-client

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4576/3/console

versions
git=2.20.1 maven=3.6.0

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m 23s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
28m 20s

trunk passed

+1 :green_heart:
compile
5m  9s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
compile
4m 57s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
mvnsite
0m 45s

trunk passed

+1 :green_heart:
shadedclient
64m 44s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 22s

the patch passed

+1 :green_heart:
compile
4m 41s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
cc
4m 41s

the patch passed

+1 :green_heart:
golang
4m 41s

the patch passed

+1 :green_heart:
javac
4m 41s

the patch passed

+1 :green_heart:
compile
4m 41s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
cc
4m 41s

the patch passed

+1 :green_heart:
golang
4m 41s

the patch passed

+1 :green_heart:
javac
4m 41s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
0m 24s

the patch passed

+1 :green_heart:
shadedclient
25m 32s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
97m  6s

hadoop-hdfs-native-client in the patch passed.

+1 :green_heart:
asflicense
0m 40s

The patch does not generate ASF License warnings.

202m 58s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4576/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4576

Optional Tests
dupname asflicense compile cc mvnsite javac unit codespell detsecrets golang

uname
Linux 232d09e8622b 4.15.0-175-generic #184-Ubuntu SMP Thu Mar 24 17:48:36 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / df2323ca40fb4579c6be56bee9b8a780c20243d5

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4576/3/testReport/

Max. process+thread count
606 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-native-client U: hadoop-hdfs-project/hadoop-hdfs-native-client

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4576/3/console

versions
git=2.25.1 maven=3.6.3

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Conflict between twingate service module and services.resolved.enable settings

Describe the bug
The twingate service module conflicts with manual configurations of services.resolved.enable when both twingate and networking.networkmanager are enabled.
Steps To Reproduce

Enable twingate in configuration.nix:

services.twingate.enable = true;

Set services.resolved configurations explicitly:

services.resolved = {
  enable = true;
  dnssec = "true";
  domains = [ "~." ];
  fallbackDns = [ "<IP_ADDRESS>#one.one.one.one" "<IP_ADDRESS>#one.one.one.one" ];
  extraConfig = ''
    DNSOverTLS=yes
  '';
};

Enable networking.networkmanager:

networking.networkmanager.enable = true;

Attempt a system rebuild: nixos-rebuild switch.

Expected behavior
The system should rebuild successfully, with both twingate and networking.networkmanager enabled, and services.resolved configured as described.
Screenshots/Actual Behavior
❯ sudo nixos-rebuild switch --flake ~/Projects/mysystem
building the system configuration...
error:
       … while calling the 'head' builtin

         at /nix/store/1rp9mgpy83k4w11gi58hqfcqhk3nnahp-source/lib/attrsets.nix:820:11:

          819|         || pred here (elemAt values 1) (head values) then
          820|           head values
             |           ^
          821|         else

       … while evaluating the attribute 'value'

         at /nix/store/1rp9mgpy83k4w11gi58hqfcqhk3nnahp-source/lib/modules.nix:800:9:

          799|     in warnDeprecation opt //
          800|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          801|         inherit (res.defsFinal') highestPrio;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: The option `services.resolved.enable' has conflicting definition values:
       - In `/nix/store/sc3kyglh8w09zg9a1k5vhpqnmyr5ivcs-source/nixos/configuration.nix': true
       - In `/nix/store/1rp9mgpy83k4w11gi58hqfcqhk3nnahp-source/nixos/modules/services/networking/twingate.nix': false
       Use `lib.mkForce value` or `lib.mkDefault value` to change the priority on any of these definitions.

Additional context
I was encountering dns issues. I am not sure if it was because of this package but specifically analytics.google.com was resolving to <IP_ADDRESS> ; I decided to manually set dns per https://nixos.wiki/wiki/Systemd-resolved
Notify maintainers
@Kranzes
Metadata
❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.4.11, NixOS, 23.11 (Tapir), 23.11.20230821.91a22f7`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.17.0`
 - nixpkgs: `/nix/store/1rp9mgpy83k4w11gi58hqfcqhk3nnahp-source`

Let me fix this up, for now use lib.mkForce.


CONNECT request should use port 443 as default for HTTPS

Hi, thanks for this module!
.httpsOverHttp works, but only if I explicitly specify the port as 443. Otherwise it asks the proxy to CONNECT to port 80, my proxy does as requested, the SSL greeting goes to target server's port 80 and it replies with 400 Bad Request.
Could you please change the default port to 443 for the .httpsOver… methods?
Update: Here's an example using example.net, they reply with 501 Not Implemented.
I'm using  tunnel v0.0.5, Node.js v8.11.4, npm v5.6.0, Ubuntu 14.04.5 LTS trusty,

Same issue, besides, there isn‘t an auto routing methods for http & https, super annoying for a hybrid site for example most shopping sites

auto routing methods

Do you mean automatic method selection based on URL? In that case, the got package got you covered. Its readme's "Proxies" chapter shows how to configure different agents per protocol.

@mk-pmb yes, but node-tunnel doesn't work( cuz the port mistake ) , I am using proxy-agent for instead now, auto fit http&https

Sorry for the delay, thanks!

Do you know yet when it will be released?

Just published!


Client leaks memory - repro provided with single getInstances call.

I have a specific use case where I need to be able to create multiple Spanner clients with different credentials inside a single long running process. This process is currently leaking memory and crashing.
Environment details

OS: Ubuntu 20.04
Node.js version: v14.15.1
npm version: 6.14.8
@google-cloud/spanner version: v5.4.0

Steps to reproduce
Run this sample code (after filling in some credentials)
index.js
import { Spanner } from "@google-cloud/spanner";
import { HeapDiff } from "@airbnb/node-memwatch";

// Call the spanner fetch 10 times, outputting memeory after each one
const projectId = "FILL_IN";
const credentials = {  client_email: `FILL_IN`,  private_key: `FILL IN`};

const REPETITIONS = 10;
console.log(`Running ${REPETITIONS} times`);
for (var i = 0; i < REPETITIONS; i++) {
  await getSpannerInstances();
}

async function getSpannerInstances() {
  var hd = new HeapDiff();
  const spanner = new Spanner({
    projectId,
    credentials,
  });
  await spanner.getInstances();
  var diff = hd.end();
  console.dir(diff.change.size_bytes);
}

package.json
{
  "type": "module",
  "scripts": {
    "start": "node index.js"
  },
  "dependencies": {
    "@airbnb/node-memwatch": "^2.0.0",
    "@google-cloud/spanner": "^5.4.0"
  }
}

The output indicates that it's leaking around 700-800KB of RAM on each loop through. There's no global state in this simple repro which is indicating that there's something wrong in @google-cloud/spanner
Running 10 times
2601376
914860
899300
729308
779676
797884
764027
790885
729727
759473

Thanks for creating this library and let me know if there are any more diagnostics that I can provide.

Thanks for creating the issue @tomdee. Assigning to @olavloite to take a look.

@tomdee Thanks for the detailed report!
It seems that this is not directly caused by the client library itself, but by the generated client that is used to communicate with Spanner (the gapic client). I've been running some different tests, and have slightly changed your reproduction case to the following:
const REPETITIONS = 10;
console.log(`Running ${REPETITIONS} times`);
for (let i = 0; i < REPETITIONS; i++) {
  await useGapic();
  global.gc();
  const used = process.memoryUsage().heapUsed / 1024 / 1024;
  console.log(`Current mem usage ${Math.round(used * 100) / 100} MB`);
}

async function useGapic() {
  const client = new InstanceAdminClient({
    projectId: 'my-project',
    keyFile: '/path/to/my-key.json',
  });
  await client.listInstanceConfigs({
    parent: 'projects/my-project',
  });
  await client.close();
}

The result of the above is similar to your observation:
Running 10 times
Current mem usage 26.63 MB
Current mem usage 26.9 MB
Current mem usage 27.08 MB
Current mem usage 27.28 MB
Current mem usage 27.44 MB
Current mem usage 27.82 MB
Current mem usage 27.77 MB
Current mem usage 27.94 MB
Current mem usage 28.07 MB
Current mem usage 28.23 MB

And running it for a lot more than 10 times shows the same pattern of ever increasing memory usage until it goes out-of-memory.

@olavloite This is great, thanks for adding these additional insights.
Is there another project that I should raise a ticket on or are you following up on this?

@olavloite This is great, thanks for adding these additional insights.
Is there another project that I should raise a ticket on or are you following up on this?

I'm currently investigating the problem to see if I can find the root cause. If needed, then I'll file an issue with the corresponding project and link it here.

To appease the bots, this issue is being investigated in https://github.com/googleapis/gapic-generator-typescript/issues/823.

@olavloite it seems that there may be a fix based on https://github.com/googleapis/gapic-generator-typescript/issues/823#issuecomment-829844782? Would you be able to try updating google-gax to that version?

@skuruppu
I've tried it out and added my findings to https://github.com/googleapis/gapic-generator-typescript/issues/823. The TLDR version:

The update to v2.11.0 or later for google-gax helps, but does not solve the entire problem.
Adding a close() method to the operations client as suggested by @Utsav2 also further reduces the amount of memory that seems to be leaded for each iteration.
Even after applying the above two fixes, there still seems to be a small amount of memory being leaked for each iteration of opening and closing a client.

@olavloite, that's really great. I'm glad you were able to narrow it down further.

@olavloite is there any other action we can take on this issue?

Hi,
I'm not sure if it's related to this issue (or if it deserves its own), but I have been observing a memory leak with the Spanner client, in particular when working together with the debug agent but also to a lesser extent by itself.
The details are described in this issue about a memory leak with the debug agent.

Hi @pascaldelange Thanks for the link with the other issue. I've read through the thread and also your example application, and I don't think these two issues are directly related, as the issue in this thread is related to a memory leak in the (generated) Spanner client when a client is opened and closed multiple times during the lifetime of the application. As far as I can tell from your sample application, you only open a single client and keep that one open during the entire lifetime of the application.
It is however interesting to read that you experience a 10MB/hour increase when you run the application without the debug agent. How exactly are you measuring the increase? As in; do you force a garbage collect before measuring, or could it be that the increase is just caused by garbage that has not yet been cleaned up? Will the application eventually run out of memory if you run it long enough in a memory-limited environment?

Hi @olavloite,
I was measuring it by looking at the memory usage stats of the GAE monitoring. The number 10Mb/hour is based in a test instance (based on the code shared) where only the liveness calls are made, it might be different with real traffic (in production we only observed it with the debug agent on).
In the test case I have not waited until the application runs out of memory (which at this rate might have taken a while), but in prod with debug agent on (same symptoms but faster increase) the instance would run out of memory every few hours and restart, causing transient errors on the service in the event.

@pascaldelange Thanks for the additional information. My questions are mainly aimed at determining whether there actually is a memory leak when you are only executing the liveness calls without the debug agent. The memory leak when using the debug agent seems quite clear, and also the (small) memory leak when opening and closing a Spanner client multiple times is well documented.
I'm not sure about the case where only a SELECT 1 query is executed. An increase in memory usage over a limited time, without the application actually running out of memory, might be just an indication of normal usage:

Using the Spanner client will automatically initialize a session pool. That session pool will consume some memory.
Executing queries etc. will always require some memory. Not all of that memory will be reclaimed directly by the garbage collector, so a temporary increase in memory consumption is not necessarily an indication of a memory leak.

Would it be possible for you to run the same test script on your environment (the one without the Debug Agent), but with an explicit garbage collect after each query? See this Stack Overflow post for a good explanation on how to run the garbage collector from code.

Hi,
I can try that (it will have to wait for a couple of weeks due to vacations though).
I'm not sure if that's sufficient to indicate a memory leak, but at least the linear increase in memory usage was only visible after changing to node 12+ (not present with node 10).
I'll keep you posted.

With the latest changes in the generated clients the memory leak when opening and closing a new client repeatedly has been significantly reduced, but unfortunately not completely eliminated. Running a simple script that opens a simple generated client, executes one request with it and then closes the client will now leak approx 2MB after 100 iterations. That is approx 1/10th of the original problem.
Test script
const {Spanner, v1} = require('@google-cloud/spanner');

const REPETITIONS = 100;
console.log(`Running ${REPETITIONS} times`);

function main() {
    async function test() {
        for (let i = 0; i < REPETITIONS; i++) {
            await useGapic();
            global.gc();
            const used = process.memoryUsage().heapUsed / 1024 / 1024;
            console.log(`${i}: Current mem usage ${Math.round(used * 100) / 100} MB`);
        }
    }

    async function useGapic() {
        const client = new v1.InstanceAdminClient({
            projectId: 'my-project',
            keyFile: '/path/to/my-key.json',
        });
        await client.listInstanceConfigs({
            parent: 'projects/my-project',
        });
        await client.close();
    }
    test();
}

process.on('unhandledRejection', err => {
    console.error(err.message);
    process.exitCode = 1;
});
main();

Results for 100 iterations
Running 100 times
0: Current mem usage 17.28 MB
1: Current mem usage 17.34 MB
2: Current mem usage 17.43 MB
3: Current mem usage 17.53 MB
4: Current mem usage 17.57 MB
5: Current mem usage 17.6 MB
6: Current mem usage 17.63 MB
7: Current mem usage 17.66 MB
8: Current mem usage 17.69 MB
9: Current mem usage 17.71 MB
...
90: Current mem usage 19.01 MB
91: Current mem usage 19.03 MB
92: Current mem usage 19.04 MB
93: Current mem usage 19.06 MB
94: Current mem usage 19.07 MB
95: Current mem usage 19.08 MB
96: Current mem usage 19.1 MB
97: Current mem usage 19.1 MB
98: Current mem usage 19.11 MB
99: Current mem usage 19.13 MB

I've been trying out a number of different things, but I've not been able to exactly pinpoint the problem, although the following is clear:

Opening and closing a generated gapic client without executing any requests will not leak any memory.
Opening a gapic client, executing one single simple request and then closing the client will leak a bit of memory. It does not seem to make any real difference which request is being executed.

@alicejli If you have any additional ideas where the last bit might be coming from, then I'm all ears.

Hi @olavloite,
Sorry I missed this! I have a question out to the grpc team to see if they're able to pinpoint what's going on, as I am able to replicate your findings and the memory leakage seems to be consistent across all methods (so it doesn't seem to be a client library issue). Will update here with any findings.
Thanks,
Alice

It looks like grpc is likely not the cause of this memory leak after some discussion and testing with the grpc team (when running a script with a "pure" grpc call a million times, we found that the memory was regularly being garbage collected and was more fluctuating than growing).
The other potential lead on this memory leak issue is it seems there may be an issue with the google-cloud/common package (here: https://github.com/googleapis/nodejs-common/issues/664).
Will comment back here with any updates on findings there.

I've been able to reproduce a similar issue with the following code snippet, heavily "inspired" by that of @olavloite above, and which is intended to roughly emulate what my application is doing:
/*
 * Run with:
 * $ node --expose-gc index.js
 */

'use strict';

const {Spanner} = require('@google-cloud/spanner');

const REPETITIONS = 3600;

function main() {

  async function spannerClient() {

    const projectId = 'my-project-id'
    const instanceId = 'autoscale-standalone'
    const databaseName = 'test-database'
    const tableName = 'spannerAutoscaler'

    /*
      Create DB with:

      CREATE TABLE spannerAutoscaler (
        id STRING(MAX),
        lastScalingTimestamp TIMESTAMP,
        createdOn TIMESTAMP,
        updatedOn TIMESTAMP,
      ) PRIMARY KEY (id)

     */

    var row = {
      id: 'testDbEntry',
      lastScalingTimestamp: Spanner.timestamp(Date.now()),
      createdOn: Spanner.timestamp(Date.now()),
      updatedOn: Spanner.timestamp(Date.now()),
    };

    const client = new Spanner({projectId: projectId});
    const database = client.instance(instanceId).database(databaseName);
    const table = database.table(tableName);
    await table.upsert(row);
    await database.close();
  }

  async function testSpannerClient() {
    for (let i = 0; i < REPETITIONS; i++) {
      await spannerClient();
      global.gc();
      const used = process.memoryUsage().heapUsed / 1024 / 1024;
      console.log(`${i}: Current mem usage ${Math.round(used * 100) / 100} MB`);
    }
  }

  try {
    testSpannerClient();
  } catch (err) {
    console.error(err.message);
  }
}

main();

In a similar way I see increasing resource usage over time, though the pace does seem to slow somewhat:
0: Current mem usage 24.85 MB
1: Current mem usage 24.99 MB
2: Current mem usage 25.11 MB
3: Current mem usage 25.18 MB
4: Current mem usage 25.29 MB
5: Current mem usage 25.39 MB
.....
595: Current mem usage 40.8 MB
596: Current mem usage 40.82 MB
597: Current mem usage 40.84 MB
598: Current mem usage 40.88 MB
599: Current mem usage 40.88 MB
600: Current mem usage 40.89 MB

Any insight or assistance you might be able to provide would be most helpful, and my apologies if I am missing something.

Hi @henrybell Our findings indicate that leak is coming from autogenerated code and there was an old bug in the gapic-generator which needs to be opened.
I will follow up with the gapic team to reopen and accept the issue.

Thanks @surbhigarg92 for the update and for the work so far! I subscribed to the bug you linked to follow along.

@henrybell You can subscribe to the new bug, I have created a new bug for the same issue

Thanks @surbhigarg92 -- subscribed.

@henrybell New version of grpc-js has been published which includes a fix for memory leak.
As its a minor release version upgrade, there is no changes required in NodeJs-spanner client library. Delete the node_modules folder and package.lock.json file and do npm install .
There is a minor change required in the code snipped provided by you.
We need to close the client. Add client.close() after await database.close() .
Can you please try above steps and let me know if the issue is resolved ?

Here's a chart showing the results -- as you can see it's a dramatic improvement. This is the same code (with the addition of the client.close() call), same version of the NodeJS Spanner client, but with grpc-js versions 1.8.12 (red) vs 1.8.13 (green).

There is still a very slight upward trend over time, but this is small as you can see from the scale on the y axis (this chart shows only 1.8.13 for clarity):

I will incorporate the fix into the Spanner Autoscaler and run some soak tests to further validate. Thanks!

@henrybell Since most of the memory leak issue is resolved. I am closing this issue.
Thanks a lot for reaching out.


inspect.getsource can raise TypeError

Fixes #209

Thank you.

https://github.com/tox-dev/sphinx-autodoc-typehints/releases/tag/1.17.0


Cannot overload reserve, append or len

S :: struct(T: type)
{
	data: [dynamic]T,
}

len :: proc(s: S($T)) -> int
{
	return len(s.data);
	// Tries to call the `len` in this file, and not the one from preload.
	// My intention was for this function to be an overload, however.
}

append :: proc(s: ^S($T), item: T)
{
	append(&s.data, item);
	// Similarly for this...
}

reserve :: proc(s: ^S($T), count: int)
{
	reserve(&s.data, count);
	// And for this...
}

main :: proc() {
	s: S(int);
	n := len(s);
	reserve(&s, 5);
	append(&s, 40);
}

This is because those procedures are defined in the "global" scope which the file's scope is a child of. Overloading only works in the current scope. If you want to access the global scope, there is a hidden import name _global that you can use.

How do you use a hidden import name? Like, using import "_global" doesn't work.

Just use it. It should be in scope at all times available.

I'm not sure how that would help me here - this doesn't work, for instance:
_global.len :: proc(s: S($T)) -> int
{
    return _global.len(s.data);
}

I was expecting, since you can just call len etc without any imports, that I could just write a procedure with the same name and have it become an overload of the one in _preload.odin such that I can call both overloads in the same file without qualifying the name.
Is there no way for me to do that at the moment?

What are you doing with that declaration? A declaration's name can only be an identifier.
len :: proc(s: S($T)) -> int {
    return _global.len(s.data);
}

What are you doing with that declaration? A declaration's name can only be an identifier.

Yeah - was guessing how I could use it. >)
The problem is that I want to be able to overload a procedure in a different scope,  so that I don't need to qualify its name every time - particularly a proc like len which is a fairly universal name; many types have a length, after all - would it not be better to overload len for their types, rather than having to call their version of the len procedure from the scope it's defined in for the specific type their dealing with? i.e:
A.odin:
S1 :: struct {}
len :: proc(s: S1) -> int { return 1; }

B.odin:
S2 :: struct {}
len :: proc(s: S2) -> int { return 2; }

main.odin:
using import "A.odin";
using import "B.odin";

main :: proc() {
	s1: S1;
	s2: S2;
	a := make([]int, 3);

	i := A.len(s1);
	j := B.len(s2);
	k := _global.len(a);
	// What benefit do these qualifications grant you
	// that is better than having them be overloads?
	// i.e:
	// i := len(s1);
	// j := len(s2);
	// k := len(a);

	assert(i == 1);
	assert(j == 2);
	assert(k == 3);
}

The same problem appears to be the case for procs in other scopes, and not just those from _preload.

(For clarity, they could be overloads since I using import'd the files, so it would make sense that they merge in that way, provided that the signatures do not collide.)

Oh - and using _global as a qualifier doesn't actually work for len.
It complains that _global doesn't declare len.


How to plot images without showing the grid

Hello,
I was trying to plot cell abundance scores for one cell type.
The output image always shows the grids overlaid. Is there a way to remove it?
Thanks!

This is a scanpy matplotlib settings issue. Search how to hide the grid using matplotlib.rcparam

Googling finds this https://stackoverflow.com/a/50570780


Not able to hit webpage with public dns of AWS EC2, nginx and security monkey started

Please make sure that you have checked the boxes:

[~] Pease review the Troubleshooting doc for additional details regarding your issue.
[~] Review the Quickstart guide
[~ ] Search for both open and closed issues regarding the problem you are experiencing - did all still not able to fix
[~] For permissions issues (Access Denied and credential related errors), please refer to the requisite docs before submitting an issue:
AWS, GCP, OpenStack, GitHub

Follow exactly as of installation guide from https://github.com/Netflix/security_monkey/tree/develop/docs/installation
This site can’t be reached
ec2-XX-XXX-XXX-XXX.compute-1.amazonaws.com took too long to respond.

On first glance, this sounds like a security group issue.
How are you accessing AWS hosted resources? Are these publicly accessible instances (NOT recommended for Security Monkey), or do you have a Direct Connect or some VPN tunnel into the VPC?

Instance is launched in private subnet of vpc
Connected to instance via Bastion and did the installation
security group config:
HTTP | TCP | 80 | <IP_ADDRESS>/0 |
All TCP | TCP | 0 - 65535 | <IP_ADDRESS>/0 |
PostgreSQL | TCP | 5432 | <IP_ADDRESS>/0 |
Custom TCP Rule | TCP | 8000 | <IP_ADDRESS>/0 |
SSH | TCP | 22 | <IP_ADDRESS>/0 |
HTTPS | TCP | 443 | <IP_ADDRESS>/0

Not able to hit the page even via private IP. But ngnix and security monkey starts without any failure.

i have an similar setup where i was able to setup security monkey via ec2 classic and hitting result page with public dns. But not sure what might be causing issue while setting up in private subnet.

Are you able to reach SM via your bastion? It seems that there might be some networking issues in your VPC.

I was able to fix it through couple of changes in nginx -> /var/nginx/sites-enabled/securitymonkey.conf and ading an alb at front of instance launched in private subnet. But automatically it gets redirected to anonymous user page instead of redirecting to login page / registration page. As well as please suggest me how could i implement SM for production to maintain HA do you have any doc that says where exactly i can seggregate set of commands to be run on UI instance,schedular instance and worker instance and how do they communicate btwn each other. Appreciate your help...

Please re-review the quickstart guide https://github.com/Netflix/security_monkey/blob/develop/docs/quickstart.md, as many of these questions should be answered there.
There is a section about running in Production and setting up the proper components.

@GopiKannanJP Are you still experiencing issues?

Nope @mikegrima the changes that were made in nginx conf is with port change to 80 from 443. Tweaked the conf little bit and was able to succeed.

I have exactly the same problem, I have everything configured as the guide does not give me error but when I access with the public DNS I can not, then the solution is to replace port 80 with 443?


[Event Request] Application “Tests-SCM”, Codeunit 137263 "SCM Tracking Package Base"

[Event Request]Application “Tests-SCM”, 137263 "SCM Tracking Package Base"
Could you please insert the OnTestInitialize Event at the beginning of the procedure Initialize():

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Caching stock fetched data for reuse.

Caching is disabled from Monday to Friday for 9:15 AM to 3:30 PM.
Also option to disable cache is also provided in ConfigManager.py considering high usage of memory.

Caching takes 350 MB of ram if it's good for all users then we can roll back that change.

Thank you for merging 🎉🎉

Minor Bug
Data cached on Friday should be used on weekend days. Currently, the loadStockData method checks only for todays date. Can you fix? @swarpatel23

Yes, I will do that.


[DRAFT - DO NOT MERGE] Improvements to recording dialog

Use a standard dialog
Always show instructions, countdown and progress bar
Title to inform the user which action is being recorded
General size, layout, colour changes

Draft as requires internal discussion before merging.

https://recording-dialog.ml-trainer.pages.dev/


Added support for lintly (post-lint results parser).

This merges and squashes the changes in scriptsrc/super-linter.

What are our thoughts on contributing back any of the lintly code or the security linters we add back to github/super-linter?

Looks good!
What's up next? brining over the add_bandit branch?

I'm in the middle of adding a --lintly flag, which calls the linters with --json (or whichever necessary) flags so that lintly can slurp them up happily. But yknow, shell scripting is pure sorcery to me so...
I'll do the add_bandit after that.

What are our thoughts on contributing back any of the lintly code or the security linters we add back to github/super-linter?

Security linters sound good, but as for lintly, what's the etiquette here? Should we be asking grantmcconnaughey and letting them make the final decision on whether they want their tool as a part of super-linter? Or is it ok because we're just using it as a dependency?


Build cleanup

I cleaned up the CMakeLists.txt files to ensure that the native C library, the C example, and the wasm bindings can be build successfully.
I still don't like that we keep a full copy of the lcms2 library in the repo. @Punzo can we not include it as a git submodule instead?

I am not sure you can use git submodule for a non CMake project as lcms2. Moreover, I really dislike git submodule for several reasons (but I will not rant about it here now (: ).
if lcms2 was a CMake project, I would have used CMake fetch (https://cmake.org/cmake/help/latest/module/FetchContent.html) and then compiled in this repo.
Therefore, I think teh best is to use ExternalProject_Add https://cmake.org/cmake/help/latest/module/ExternalProject.html. However lcms2 is not a CMake  project. So you need to specify the configure, build and install commands manually. Something like this:
include(ExternalProject)
ExternalProject_Add(lcms2
  GIT_REPOSITORY    https://github.com/mm2/Little-CMS
  GIT_TAG           master
  SOURCE_DIR        "${CMAKE_BINARY_DIR}/lcms2-src"
  BINARY_DIR        "${CMAKE_BINARY_DIR}/lcms2-build"
  CONFIGURE_COMMAND configure ....etc...
  BUILD_COMMAND     make
  INSTALL_COMMAND   ""
  TEST_COMMAND      ""
)

@hackermd
in general I think the easiest way is to make lcms2 a cmake project and then use FetchContent. However we would need to submit a PR to the lcms2 repo.

I am also not a fan of git modules in general. However, I would like to preserve the git history of the original repo. In addition, the C library doesn't need the lcms2 source code and I updated the build files to find and use the lcms2 library installed on the system instead.
Can't we keep the CMakeLists.txt files in the repo (maybe move them a little bit) next to the git module dir?
We could also use git subtree instead of git submodule. However, for this repo I would prefer git submodule, because for folks just using working with the native library (without the WASM bindings), the lcms2 source code is not needed and the submodule checkout can be skipped.

@Punzo I have pushed a first pre-release version of the package to the npm registry: https://www.npmjs.com/package/dicomicc/v/0.1.0-0
Once you finalize the ExternalProject_Add part, we can merge this PR into master and release version v0.1.0.

@Punzo I have pushed a first pre-release version of the package to the npm registry: https://www.npmjs.com/package/dicomicc/v/0.1.0-0
Once you finalize the ExternalProject_Add part, we can merge this PR into master and release version v0.1.0.

@hackermd  done in https://github.com/hackermd/libdicomicc/pull/4/commits/649faa933aac01a72d5d8a3833fb84ff75f3e722.
if lcms2 will change into a CMake project, the repo could be further cleaned by using a "SuperBuild".

@Punzo the build process fails on my Mac with the following error:
[ 38%] Performing configure step for 'lcms2'
checking build system type... Invalid configuration `arm64-apple-darwin21.3.0': machine `arm64-apple' not recognized
configure: error: /bin/sh ./config.sub arm64-apple-darwin21.3.0 failed
make[2]: *** [lcms2-prefix/src/lcms2-stamp/lcms2-configure] Error 1
make[1]: *** [CMakeFiles/lcms2.dir/all] Error 2
make: *** [all] Error 2
emmake: error: 'make' failed (returned 2)

The ExternalProject_Add seems to fetch the source code and then just run configure. Shouldn't we fetch the tarball instead of the source code?

Or we really build from source using autogen.sh. However, we I try this, I get the following error:
[ 23%] Performing configure step for 'lcms2'

**Error**: You must have libtool installed.
You can get it from: ftp://ftp.gnu.org/pub/gnu/
make[2]: *** [lcms2-prefix/src/lcms2-stamp/lcms2-configure] Error 1
make[1]: *** [CMakeFiles/lcms2.dir/all] Error 2
make: *** [all] Error 2
emmake: error: 'make' failed (returned 2)

CMake doesn't find libtool (it is installed on the system).

The ExternalProject_Add seems to fetch the source code and then just run configure. Shouldn't we fetch the tarball instead of the source code?

usually not. However I agree with you in this case, since the source code is 70 MB just for pdf. I have updated the building in https://github.com/hackermd/libdicomicc/pull/5

Or we really build from source using autogen.sh. However, when I try this, I get the following error:
[ 23%] Performing configure step for 'lcms2'

**Error**: You must have libtool installed.
You can get it from: ftp://ftp.gnu.org/pub/gnu/
make[2]: *** [lcms2-prefix/src/lcms2-stamp/lcms2-configure] Error 1
make[1]: *** [CMakeFiles/lcms2.dir/all] Error 2
make: *** [all] Error 2
emmake: error: 'make' failed (returned 2)

CMake doesn't find libtool (it is installed on the system).

I can't reproduce, I am not sure how to fix it, sorry. Also I think cmake here does not play any role. It simply run a command on the terminal. Can you try if you can compile separately  lcms2 from a clean source?

I can't reproduce, I am not sure how to fix it, sorry. Also I think cmake here does not play any role. It simply run a command on the terminal. Can you try if you can compile separately lcms2 from a clean source?

You are right, it had nothing to do with CMake. The autogen.sh does seem to take mac OSX specifics into account and therefore cannot find libtool. Using autoreconf -fvi instead appears to work..

I'll create a separate PR and include a GitHub workflow to test the building on different operating systems. It would be great if you could also try it on your end.

I'll create a separate PR and include a GitHub workflow to test the building on different operating systems. It would be great if you could also try it on your end.

done tested, works on my linux and I have update https://github.com/hackermd/libdicomicc/pull/5


[WIP/POC/RFC] Hide sensitive data in debug logs

Adds hide: option to ssh commands to hide sensitive data from debug logs
TODO: use where needed, currently only in ValidateVersion, which now looks like:

Didn't catch any interest


Add HasColor to ResultStatus enum

📃 Description
Add color to Enum ResultStatus

I'm very sorry I  think I made two PR in one (has color and DivisionByZero), but I don't know how two split them now. Can you help me?


run debug

Error: Unable to access jarfile C:\Windows\apktool\apktool.jar
How could I solve it? thanks

This is for bug reports. Not support. Please consult the documentation and basic instructions on running a jar file - https://ibotpeaches.github.io/Apktool/documentation/


Revert "[BACKLOG-36242][BACKLOG-36243][BACKLOG-36244][BACKLOG-36254] 1) Fix N…"

Reverts pentaho/pentaho-kettle#8521

:white_check_mark: Build finished in 17m 47s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core,plugins/connections/ui,ui

:exclamation: No tests found!
:information_source:  This is an automatic message


Debugbar working only on chrome browser

Hi there, I noticed that debugbar is only working on chrome browser. I was trying out firefox the other day, but I couldn't make it work. Also on chrome in incognito mode...since then I tried a few other browsers, but debugbar only showed on chrome. It's always the same project, and there's debug set to true in .env . So far I didn't find any answer on why it only shows on chrome, if I'm missing something in my settings? Is it only me, or is this happening to oher people too? Thanks for answers.

I think the bar only shows up when you're logged in in the backend. Are you logged in in the other browsers you tested with?

You're absolutely right, I never noticed this. Thanks for the answer.


Starter Repo Super Scaffolding Tests

bullet_train_testing/starter_repo_super_scaffolding:
  packageName: bullet_train-themes-light
  knapsackPro: true
  parallelism: 16

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/gazayas/bullet_train_testing?version=dev:f6ce0d74123ed229e5d00f6402a559f217ca859c

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/gazayas/bullet_train_testing?version=dev:070cfad11b6c9a58900353dfc9e57f6ce60ce7bd

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/gazayas/bullet_train_testing?version=dev:1e92aced376ce804f7f6098e7e3469f8145fc7de

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/gazayas/bullet_train_testing?version=dev:1e92aced376ce804f7f6098e7e3469f8145fc7de

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/gazayas/bullet_train_testing?version=dev:1e92aced376ce804f7f6098e7e3469f8145fc7de

Your orb has been published to the CircleCI Orb Registry.
You can view your published orb on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/gazayas/bullet_train_testing?version=1.0.2


See value stored in head/tail of queue

Not sure if this is an anti-pattern towards what you guys have implemented. But I'd like to know if there's any reason as to why there's no functions such as get_head, get_tail for the Bounded and Unbounded queues?
I have a use case where I do not want to push an item onto the queue if said item was the last thing to be added. Hence the question.
Thanks!

Not sure if this is an anti-pattern towards what you guys have implemented. But I'd like to know if there's any reason as to why there's no functions such as get_head, get_tail for the Bounded and Unbounded queues?

It would be unsound to have these functions with the current implementation of concurrent-queue. If get_tail returned an &T, when a simultaneous pop operation would make it so that reference is invalidated. This would only work if get_tail took an &mut reference, where the borrow checker can assert that the current user is the only one who has access to the queue.
I would accept a PR adding methods to handle queue operations in an &mut way.

I have a use case where I do not want to push an item onto the queue if said item was the last thing to be added. Hence the question.

It might be worth it to de-duplicate the item at the point where it's popped, i.e. keep a copy of the item on hand and then ignore a pop() if it's equal to the last item. If your workload doesn't involve a lot of synchronization, a Mutex<VecDeque> would also be an option.

@notgull I've opened a draft PR #41 so you and the maintainers can give some early feedback!

Personally, I think something like an iterator that returns a mutable reference to an element is preferable to this. (like FuturesUnorded::iter_mut)

Yep, agree this seems like a bit of an anti-pattern. Will close the PR linked to it.
On another note, something I'd like to see is a circular queue of fixed size. But perhaps this should be another issue.
I'll close this for now and I'll reopen if I ever come around implementing an iterator.


Multiple updates

Add member to print cigroups|cigroup-members to select groups to display
Drop Google-Coordinate product ID
Update print|show driveactivity to Drive Activity API v2
Check for more parents than 1 in create|update drivefile
Update documentation
Allow times_to_check_status with gam getcommand cros
Display deviceId and commandId when issuing/getting commands

Jay,
We can handle the error or make a new command
gam print cigroupsenterprise member<EMAIL_ADDRESS><EMAIL_ADDRESS>I'm off bike to school, I'll get back to this within the hour.
Ross
<EMAIL_ADDRESS>
On Oct 16, 2020, at 6:47 AM, Jay Lee<EMAIL_ADDRESS>wrote:
@jay0lee commented on this pull request.
In src/gam/gapi/cloudidentity/groups.py https://github.com/jay0lee/GAM/pull/1273#discussion_r506440670:

@@ -171,6 +174,10 @@ def print_():
if myarg == 'todrive':
todrive = True
i += 1

   elif myarg == 'member':

Did you get this working? It's just throwing a 400 error for me.
It's going to be very confusing to non-Enterprise admins when a command like:
gam print cigroups
works but
gam print cigroups member<EMAIL_ADDRESS>doesn't. We need to:
make these entirely separate commands, not arguments to an existing command (that will simplify the if/then/else in each function also)
try to catch the error Google is throwing for non-Enterprise accounts and inform the admin that the issue is that they don't have Enterprise licenses. That should head off a LOT of discussion group questions.
same thing for the membership commands below. I don't have immediate thoughts on what the new GAM commands should look like so open to suggestions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/pull/1273#pullrequestreview-510487007, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLZ46UJCB7TVXLCXRBDSLBFH7ANCNFSM4STKMJ2A.

Ross, the logic here just gets so messy in a single function when we need to:

see if user specified a specific user argument and set some variable in that case.
call a different API endpoint if above was set
parse the response differently if we called a different function

I know we've done this in the past for some commands but those can be the hardest to read/debug with so much if/then/else nesting. Let's say Google adds more details to the list response that aren't in the searchTransitive* responses, now we have more logic we need to add based on what's in the response.
Can we look at something like:
gam print cimemberships email<EMAIL_ADDRESS>for this? I'm open to other solutions but want to avoid yet another new super-complex function.

Jay,
How do you perceive the following as different?
We want information about groups that contain ross as a member rather than
all groups.
gam print groups member<EMAIL_ADDRESS>gam print cigroups member<EMAIL_ADDRESS>The Directory API includes a userKey parameter that lets you filter the
list of groups in one call; the Cloud Identity API doesn't, you have to
make a separate call to get the filtered list of groups, then you get the
group information.
But then you want the available information about the groups themselves.
Ross
On Mon, Oct 19, 2020 at 11:34 AM Jay Lee<EMAIL_ADDRESS>wrote:

Ross, the logic here just gets so messy in a single function when we need
to:

see if user specified a specific user argument and set some
variable in that case.
call a different API endpoint if above was set
parse the response differently if we called a different function

I know we've done this in the past for some commands but those can be the
hardest to read/debug with so much if/then/else nesting. Let's say Google
adds more details to the list response that aren't in the searchTransitive*
responses, now we have more logic we need to add based on what's in the
response.
Can we look at something like:
gam print cimemberships email<EMAIL_ADDRESS>for this? I'm open to other solutions but want to avoid yet another new
super-complex function.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/pull/1273#issuecomment-712364348, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCTYL75ALM67HET2X7LS3LSLSBBZANCNFSM4STKMJ2A
.

--
Ross Scroggs
<EMAIL_ADDRESS>


API: changes to count time in global state

Remove unused gs.COUNT_TIME.
Change default of gs.MD_TIME_KEY to a name that does not collide with any
official AreaDetector jargon.

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

Merging [#475][cc-pull] into [master][cc-base-branch] will decrease coverage by <.01%

@@             master       #475   diff @@
==========================================
  Files            18         18
  Lines          3774       3773     -1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           3084       3083     -1
  Misses          690        690
  Partials          0          0

Powered by Codecov. Last updated by [1afa055...3439721][cc-compare]
[cc-base-branch]: https://codecov.io/gh/NSLS-II/bluesky/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/NSLS-II/bluesky/compare/1afa055c078ebdf0008d7a994df67b194a38ae9e...34397211fb272f6e05554a501449332074f28816
[cc-pull]: https://codecov.io/gh/NSLS-II/bluesky/pull/475?src=pr

@klauer has to sign off on this (you can not escape the :bike: :house: )

1 is a DNC
2 I already modified HXN's config for backward compatibility, expecting this PR to be merged: gs.MD_TIME_KEY = 'exposure_time'

2 is just going to cause us pain on the analysis side down the road when we want to look at data from HXN + anywhere else.

Well, the pain of mixing count time across beamlines is unavoidable, because there each beamline -- each device! -- can have its own private definition of that heuristic term.
The important numbers are the real AD attrs, which should be going into configuration_attrs. Those are well defined and comparable across the facility.
Get Outlook for iOShttps://aka.ms/o0ukef
On Fri, May 27, 2016 at 6:45 PM -0700, "Thomas A Caswell" <notifications<EMAIL_ADDRESS>wrote:
2 is just going to cause us pain on the analysis side down the road when we want to look at data from HXN + anywhere else.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/NSLS-II/bluesky/pull/475#issuecomment-222283724, or mute the threadhttps://github.com/notifications/unsubscribe/ACLIrs3WbxpzuAL9IHqrXkK597llF-vNks5qF54ngaJpZM4IoxqH.


Needs to be wrapped in format_path()

The helper returns a relative path, but it seems you need the absolute (file-)path. Therefore this helper call's return value needs to go through the format_path() method to make a file path of it.
https://github.com/mudbugmedia/critical-path-css-rails/blob/51bb069f32b17f11969e10ed66f44e5145cf2878/lib/critical_path_css/rails/config_loader.rb#L27
Should fix #46.

LOL, I just found that out a second time - just to land on my own issue here. 😆 Any chance to get that fixed soonish?


Missing text

Looks like something is missing in the last sentence below:
Microsoft Sentinel collects data into the Log Analytics workspace from multiple sources. Data from built-in data connectors is processed in Log Analytics using some combination of hardcoded workflows and ingestion-time transformations, and data ingested directly into the custom logs API endpoint is , and then stored in either standard or custom tables.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 456dd2e1-4be2-6ff1-34fd-887c3a01f6d2
Version Independent ID: 6fb9a6ed-136d-0b55-cda5-7d7e3a0b4f13
Content: Custom data ingestion and transformation in Microsoft Sentinel (preview)
Content Source: articles/sentinel/data-transformation.md
Service: microsoft-sentinel
Sub-service: microsoft-sentinel
GitHub Login: @yelevin
Microsoft Alias: yelevin

@iwafula025
Thanks for your feedback! We will investigate and update as appropriate.

#please-close


Dropping flak8 as it is covering same ground as black

As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running
[x] Appropriate documentation exists and/or is up-to-date:

[x] README in the role
[x] Content of the docs/source is reflecting the changes

/approve
/lgtm
Thanks!


Add pgsparse extension.

Add a postgres extension for sparse vectors.
Add tests for the new extension and indexes.

Closing this for now as we're holding off on adding pg_sparse.


Link from Place/Parish to GENUKI in results screen

Link to GENUKI (or similar) map from Place, and/or Civil Parish and/or Ecclesiastical Parish in result for household
E0: U3: S2: C6: P11

It should be noted that place within a piece has current information  that provides links to google maps for the majority of pieces. The edit of a piece provides the ability to add  or change the specific map location.

Duplicate of https://app.zenhub.com/workspaces/freecen-5cb4e56573d7e234297de6c6/issues/freeukgen/freecenmigration/439