Throttling in ES when the cluster nodes have High CPU

Thanks for accepting my previous pull request, this is great!
Today I've spent some time to add some type of throttling for the elastic search requests when the CPU of any of the cluster nodes have reached a certain limit, so would you please take a look at my suggestion and accept the pull request if you like this feature. The idea is to be able to run the tool on a production cluster and not affect the performance by overloading the cluster itself.
Thanks again for Your time and for the great tool!

Thanks for the patch. I'm considering if this is the best way to do it, but the feature will make it in one way or another.
Also thanks for finding the bugs with the targetStats. Unfortunately I have very little time at the moment and so my reaction time is slow (as is development), but I'm glad that v2.0 actually works for some people.

The latest commit should include similar functionality.


workflow support

Is there a plan for the community to support workflow

Yes, this is on the way. We will add the DAG workflow module in a few months. :-)


Request to fix the problem UI

Can you fix these things?
In the corner of combat glory, if you click sort, the UI freezes (Eternal loading of inventory).

If you use mod "MoreCheckmarks", then items without armor points display armor instead of a tooltip
Exp item : https://tarkov-market.com/item/stich_profi_chimera_boonie_hat

No idea what's going on with the first issue - have you got some other mod affecting that? The hideout icon doesn't normally appear below the sort button like that...
Second issue actually is a BSG bug, I think i have a fix.

The fact that the shelter icon is normal :)
Pressing this sort button on the Battle Glory Angle screen (indicated by an arrow) causes the inventory to freeze.
The task is to hide this button on the battle glory screen :)
source

I'm confused. If that's added by another mod, why are you opening an issue here? Talk to that modder.


Use poetry for dependency management

Replace various requirements.txt with Poetry.
Documentation: https://python-poetry.org/docs/basic-usage/

to be done after #22


Steps to remove project admin are not valid

I want to remove some project admins who have left the team.
On the page, it states that you can remove an admin by clicking an "x" to the right of their name.
I followed the steps (and I am a project admin so should have the proper permissions), but I do not see a UI with "x" to the right of the admin's name in my UI.  Was this UI updated and the screenshots not updated to reflect this?  How do I remove a project admin?  Thanks!

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

ID: e56e5bfa-e2ea-c309-8487-3ba3236ee6ee
Version Independent ID: 981fdeed-0f98-135c-effb-2446cff74ea9
Content: Add, remove team administrator - Azure DevOps
Content Source: docs/organizations/settings/add-team-administrator.md
Product: devops
Technology: devops-settings
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@jennifermarsman - The steps to remove a Project Administrator member is documented here: https://docs.microsoft.com/en-us/azure/devops/organizations/security/set-project-collection-level-permissions?view=azure-devops&tabs=preview-page#remove-a-user-or-a-group. The steps are a bit different from removing a Team Administrator. Thank you for your inquiry.


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>

Coverage increased (+0.1%) to 81.304% when pulling 384a79ea9b4579d36e7ed3e01ab951339d109ea0 on template-sync-1 into 5720acf2d644f103485b5864c04a24aa1a2af7ab on master.

:tada: This PR is included in version 7.3.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update faq.yml

Updated to match AVS HCX Documentation.

#sign-off

@shortpatti: I'm sorry - only the author of this article, @, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#please-close
Although I'm the owner of this topic, I'll make the change in the private repo.


How do you scroll the ticker?

 Is it manual scroll or should it work with mouse over left/right or top/bottom?

Use the mouse scroll wheel.

No. Does not work. Logitech MX Master...
I can hover over the ticker, but nothing happens when I either scroll the wheel or press the wheel and scroll...

What can I do to test it? Where does the problem reside? With the mouse, the driver, or the software? What mouse do you use yourself?

You could paste the following into a .ini file and load it in Rainmeter. It should print messages in the log and on the skin when you use the scroll wheel, left mouse button, right mouse button, and when the cursor enters/leaves the skin. This will hopefully help to figure out if Rainmeter is having an issue detecting your scroll wheel. I'm using a Logitech M705.
[Metadata]
Name=Mouse test

[Rainmeter]
Update=10000
Blur=1

[Variables]
Status=Waiting...

It seems with v2.2.0 beta 1 all my shortcuts/banners for non-steam games do not work anymore. All the shortcuts/banners are still there though.

You could just create a new folder in \Rainmeter\Skins\, create a new .ini file, and paste the config above into it.
Any errors in the log?

Ok. Works.
No errors in the log when using your provided .ini file. All actions I take with the mouse with the .ini file corresponds with the output.

I managed to get it working. It seems when using a slot count that exceeds the height or width of your screen, you of course cannot scroll... But decreasing the slot count so that it is small enough to fit on your screen, you can scroll within it... Sorry for not figuring that out sooner...

I'll have to look into that and try to reproduce the issue.

Did you just increase the slot count until the skin extended outside of the monitor either widthwise or heightwise? I did that and did not encounter any issues.


Is there any easy way to build on Windows?

I can't build or start Quill on Windows machine. Is there any documentation on how to run build locally on Windows?
Steps for Reproduction

Clone repository
cd packages\quill
npm run build

Expected behavior:
Successful build
Actual behavior:
Failed build
Platforms:
Windows 10
Include browser, operating system and respective versions
Version:
main branch

the issue is the build script is for linux or mac . Use wsl ubuntu distro to cd into the quill path , then try to build , i succeed to build and debug the project in main branch


WIP Adds support for EEC PersistentVolumeClaim

Description

How can this be tested?

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 65.00000% with 7 lines in your changes missing coverage. Please review.

Project coverage is 64.70%. Comparing base (c6ad295) to head (6a03cbd).
Report is 2 commits behind head on main.

Files
Patch %
Lines

pkg/api/v1beta3/dynakube/zz_generated.deepcopy.go
37.50%
4 Missing and 1 partial :warning:

.../controllers/dynakube/extension/eec/statefulset.go
83.33%
1 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3649      +/-   ##
==========================================
- Coverage   64.71%   64.70%   -0.02%
==========================================
  Files         399      399
  Lines       21397    21404       +7
==========================================
+ Hits        13848    13849       +1
- Misses       6230     6234       +4
- Partials     1319     1321       +2

Flag
Coverage Δ

unittests
64.70% <65.00%> (-0.02%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Fixed #1, added onUpdate/onDelete=CASCADE

That's not my favorite Solution, but it will fix the problem at short term. Thx dude!


mlton: enable aarch64-darwin

Description of changes

This enables aarch64-darwin for the current mlton package. In order to do this, I had to move the binary bootstrap to the latest version. (There is a small patch to the binary's Makefile required, pulled from upstream git.)
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Still builds on x64 Linux


Selecting text doesnt scroll screen down

When selecting text and going down lines the screen doesnt follow so I cant see what Im selecting.
When selecting text and going up the screen follows correctly.
Version: 2.0.3
Commit hash: f594686
Compiled on April 10, 2020
OS: Android 10 / Ubuntu 18.04
Terminal: Termux

For me going when I am selecting text , the screen does not scroll up , neither does it scroll down. I am on the same version as @nightshade427 . I am on a Mac 10.14.6 using  Iterm 3.3.10.
Also , there is another issue, that I have seen. I cannot add a selection to an existing selection by using the shift key.
Thanks

This was fixed recently. Please try again with v2.0.4 (just released) and re-open if the issue persists.


Support ASG and Fixed dimension

Should resolve #10
Feb 22 04:57:06 ip-10-0-7-76 collectd[31242]: [AmazonCloudWatchPlugin][cloudwatch.modules.configuration.credentialsreader] Cannot read AWS credentials from file. Defaulting to use IAM Role.
Feb 22 04:57:06 ip-10-0-7-76 collectd[31242]: [AmazonCloudWatchPlugin][cloudwatch.modules.configuration.confighelper] Fetched asg name as BastionStack-BastionAutoScalingGroup-1102FHS8HR49Q
Feb 22 04:57:06 ip-10-0-7-76 collectd[31242]: [AmazonCloudWatchPlugin][cloudwatch_writer] Initialization finished successfully.
Feb 22 04:57:06 ip-10-0-7-76 collectd[31242]: Initialization complete, entering read-loop.
Feb 22 04:58:06 ip-10-0-7-76 collectd[31242]: [AmazonCloudWatchPlugin][cloudwatch.modules.flusher] [debug] flushing metrics df-dev-percent_bytes-used[6] interface-lo-if_octets-[12] cpu-0-cpu-system[6] interface-lo-if_packets-[12] df-root-percent_bytes-free[6] df-dev-df_complex-free[6] cpu-0-cpu-softirq[6] df-dev-percent_bytes-reserved[6] df-root-percent_bytes-used[6] df-dev-percent_bytes-free[6] cpu-0-cpu-idle[6] cpu-0-cpu-user[6] interface-eth0-if_octets-[12] df-dev-shm-percent_bytes-reserved[6] df-root-df_complex-used[6] interface-eth0-if_errors-[12] interface-eth0-if_packets-[12] cpu-0-cpu-interrupt[6] df-root-df_complex-free[6] cpu-0-cpu-steal[6] df-dev-shm-percent_bytes-free[6] df-root-percent_bytes-reserved[6] df-dev-shm-df_complex-reserved[6] memory--memory-free[6] memory--memory-used[6] df-dev-shm-percent_bytes-used[6] df-dev-df_complex-used[6] df-dev-shm-df_complex-used[6] cpu-0-cpu-nice[6] memory--memory-cached[6] df-dev-df_complex-reserved[6] cpu-0-cpu-wait[6] interface-lo-if_errors-[12] memory--memory-buffered[6] df-dev-shm-df_complex-free[6

@offbyone I'm in agreement. That was just the way it was when I got here. Happy to update it, it'll make this CR pretty tiny.

Please confirm this contribution is under the terms of the MIT license.
Thanks!

Indeed, this is under the MIT license

@offbyone is there any chance of this being merged in the near future?

@yimuniao  Is there any reason this was closed? It's a useful feature my team wanted to use, and it seems others found it useful as well. but it is now closed with no explanation?

Pushed


Challenge implementation

Attached is the implementation of the challenge, I look forward to your prompt review!
Thank you very much

Thank you so much for submitting this PR so quickly. My apologies for the delayed review.
This code looks really awesome and I didn't have a lot of feedback because I think you did such an incredible job. The app works really well, matches the designs and is well tested.

I am very excited about your comments. Thank you very much for reviewing my code. I'm glad to know that my knowledge can be up to par and appreciated by people with an amazing track record like yours.


[FR] Notify user about what was changed to what in upper right-hand notice

The Obsidian notice should be sufficient, but if you have a 'merging changes automatically' issue from e.g. a frontmatter modified date update at the same time, the heading will look to be the same as it was before the replacement, but in the metadata cache the change was effected. So basically you cannot even rename back the heading, only if you discard the changes in the file with git, for example...
Or maybe I'm explaning it wrong: in the backlinked files the link was updated but not the parent file.
Just happened to me...Damnedest thing!
Easy for me to check with Github Desktop, but the average user will end up having bad links not knowing "what hit them".
So you'll need some error handling maybe...? Something, maybe a setting in the plugin that enables the user to check against he metadatacache what they have in the editor...?
Anyway, you can ignore this for a while saying the same thing could happen with a core Obsidian rename and even they don't do anything about freak show occurrences.
What they should do is make away with the merging changes problem, which if it happens before autosave, causes data loss.

Hi, I'm not quite clear on what you mean. Are you saying that you receive a 'merging changes automatically' notice when you modify a heading? Or do you have other plugins for batch formatting headings, which rename them without going through the modal? If it's the latter, this plugin cannot achieve that. Since Obsidian itself renames a heading via the modal, the plugin should ensure the safety of data processing using the official method.


New ad and telemetry sites

Thanks @anudeepND where do these come from?  Just curious about provenance.

For more information about Microsoft domains can be seen here

sqm.telemetry.microsoft.com Software Quality Metrics (SQM) from Microsoft. It is used by Windows applications to recollect telemetry data.

adservice.google.co.in is Google ad domain, these type of domain in region specific. For example same variant of domain found in Germany is adservice.google.co.de

apiv2.moengage.com
api.moengage.com
apiv3.moengage.com
From moengage.com, "Using MoEngage's advanced user analytics and engagement platforms (push, in-app & web push), we have been able to deliver on the ... "
I don't know whether the push notifications will get blocked.

logs.gaana.com Gaana is a music streaming service, this domain is used to upload telemetry data to their server.

ase.clmbtech.com
static.clmbtech.com
These domains are used to record clicks and deliver static ads on a webpage.

settings.crashlytics.com
reports.crashlytics.com
These domains are related to crashlytics.com error reporting services, let me know if you want to remove this.

in-starlive.videoplaza.tv
in-starlive-preroll.videoplaza.tv
More information can be found here here

ibeat.indiatimes.com
It's used to deliver JavaScript tracking code across website (Majority of this domain can be found in Indian news websites)

api.taplytics.com
Possible telemetry service - https://taplytics.com/

udm.scorecardresearch.com
https://www.theguardian.com/technology/2012/apr/23/scorecardresearch-tracking-trackers-cookies-web-monitoring

decide.mixpanel.com
Another tracking company - https://mixpanel.com

cdn.auditude.com
Ad company acquired by Adobe, "Auditude, Inc. provides online video advertising technology and monetization solutions for content owners and distributors. "

api.branch.io
From branch.io - "The mobile marketing and linking platform to supercharge your app growth and seamlessly plug into your marketing stack"
Let  me know if you want to remove this domain. (It says something about deep links, I don't know what it is can you please explain?)

e-ssl.apsalar.com
t.appsflyer.com
cdn-settings.segment.com
Tracking sites, majorly used in android apps.

All these domains were recorded by my Pi-Hole and these domains are originated from the device and service I use.

Hmm.....wondering how long it will take until the "CEO's" show up here and start educating us in how telemetry works?

Thank you @anudeepND.  Merging.


Create PASETO Middleware

A new middleware for auth using PASETO web token

@Jictyvoo
can you do me a favor and merge again with the main repository and enter your folder in the workflows or comment in the commented out again
and don't forget tests :D

@Jictyvoo
can you do me a favor and merge again with the main branch and enter your folder in the workflows or comment in the commented out again
and don't forget tests :D

Tests added!
And about workflows, Idk if that's what you ask to do, but added folder into test workflows

Can you look at the other workflows e.g. dependabot there you would still have to enter the folder

Can you look at the other workflows e.g. dependabot there you would still have to enter the folder

I think it's done

Perfect thanks

@Jictyvoo can you add some examples in the readme
we had some requests for these and I think thus would help to make it more popular

Yes, gonna try to add some later today, and maybe improve the README a little more

Hello, Just checking in to see where you are on this. Excited to use paseto in my project!

Sorry for the delay, I just forgot. Made the PR with new examples


HtmlLinkExtractor does not extract URL from http-equiv refresh correctly

The following refresh meta header cannot be processed correctly:
Example: db-artmag.com/index_en.html
<meta http-equiv="refresh" content="0; URL=en/91/index.html">

Log:
db-artmag.com: 2016-01-07 10:51:56 DEBUG - db-artmag.com: 00:00:00.819 to process: http://db-artmag.com/index_en.html
db-artmag.com: 2016-01-07 10:51:56 DEBUG - db-artmag.com: Processing reference: http://db-artmag.com/e
db-artmag.com: 2016-01-07 10:51:56 DEBUG - Invalid HTTP status code (HTTP/1.1 404 Not Found) for URL: http://db-artmag.com/e

I guess, something is wrong with the urlMatcher regular expressions?

Which version are you using for this?  Using the latest snapshot release, I just created a unit test for your above example and the URL was extracted properly (http://db-artmag.com/en/91/index.html).

I tried the latest release (norconex-collector-http-2.4.0-20160115.022259-17.zip), but still have the same issue:
db-artmag.com: 2016-01-15 09:40:38 DEBUG - ACCEPTED document reference. Reference=http://db-artmag.com/e Filter=ExtensionReferenceFilter[onMatch=EXCLUDE,extensions=swf,jpg,png,gif,css,js,ico,css,json,mov,avi,mp3,mp4,mpg,mpeg,bmp,jpeg,zip,jar,rar,gz,caseSensitive=false]
db-artmag.com: 2016-01-15 09:40:38 DEBUG - ACCEPTED document reference. Reference=http://db-artmag.com/e Filter=RegexReferenceFilter[onMatch=EXCLUDE,caseSensitive=false,regex=.*(_frame\.htm|actionbar|actionframe|bottom\.htm|navbar_m\.html|top\.htm|expandsection=.*\.).*]
db-artmag.com: 2016-01-15 09:40:38 DEBUG - Queued for processing: http://db-artmag.com/e
db-artmag.com: 2016-01-15 09:40:38 INFO -            URLS_EXTRACTED: http://db-artmag.com/index_en.html
db-artmag.com: 2016-01-15 09:40:38 DEBUG - HTTP Header "Last-Modified" value: Wed, 25 Nov 2015 10:25:08 GMT
db-artmag.com: 2016-01-15 09:40:38 DEBUG - ACCEPTED metadata checkum (new): Reference=http://db-artmag.com/index_en.html
db-artmag.com: 2016-01-15 09:40:38 DEBUG - All meta fields: {httpheader_Date,httpheader_DB-Nickname,httpheader_Content-Length,collector.content-type,httpheader_Accept-Ranges,document.contentFamily,Server,httpheader_Last-Modified,httpheader_Content-Type,httpheader_ETag,Last-Modified,document.reference,collector.is-crawl-new,httpheader_Server,collector.depth,Content-Length,Content-Type,X-Cache,httpheader_Proxy-Connection,Date,Accept-Ranges,ETag,document.contentType,DB-Nickname,Proxy-Connection,collector.referenced-urls}
db-artmag.com: 2016-01-15 09:40:38 DEBUG - All fields to remove: {Date,Content-Type}
db-artmag.com: 2016-01-15 09:40:38 DEBUG - Removed field: Content-Type
db-artmag.com: 2016-01-15 09:40:38 DEBUG - Removed field: Date
db-artmag.com: 2016-01-15 09:40:38 DEBUG - db-artmag.com: Processing reference: http://db-artmag.com/e
db-artmag.com: 2016-01-15 09:40:38 DEBUG - Invalid HTTP status code (HTTP/1.1 404 Not Found) for URL: http://db-artmag.com/e
db-artmag.com: 2016-01-15 09:40:38 DEBUG - db-artmag.com: 00:00:00.063 to process: http://db-artmag.com/e

I tried also to commented out the following URL-normalizers, but it didn't help:
    <urlNormalizer class="${urlNormalizer}">
      <normalizations>
      lowerCaseSchemeHost, upperCaseEscapeSequence, removeDefaultPort, removeTrailingQuestionMark, encodeNonURICharacters,
      removeDotSegments, removeDirectoryIndex, removeFragment, removeDuplicateSlashes, removeSessionIds
      </normalizations>
    </urlNormalizer>

one more example with the refresh tag, which is not processed by the collector (norconex-collector-http-2.4.0-20160120.071207-21.zip): https://www.australia.db.com/
<meta http-equiv="refresh" content="0;URL=/australia/">

FYI: I cannot reproduce the issue using the default minimum-config.xml, so the issue seems to be with my configuration. Will try to gather all "includes" to a combined config and post it here.

I believe, I've found the piece of config, that prevents to follow the refresh meta-tag:
    <!-- store referer -->
    <linkExtractors>
      <extractor class="com.norconex.collector.http.url.impl.HtmlLinkExtractor"
         keepReferrerData="true" />
    </linkExtractors>

changing the extractor type to class="com.norconex.collector.http.url.impl.TikaLinkExtractor"
does not work too:
INFO  [CrawlerEventManager]         REJECTED_NOTFOUND: https://www.australia.db.com/0;URL=/australia/

Can you check in the "lib" folder of your installation in case you have duplicate versions of the http collector jars?  Because I just tried again with the latest snapshot release and it works just fine:
...
sitemap-test-crawler: 2016-02-05 18:42:30 INFO -          DOCUMENT_FETCHED: https://www.australia.db.com/
sitemap-test-crawler: 2016-02-05 18:42:33 INFO -          DOCUMENT_FETCHED: https://www.australia.db.com/australia/
...

I suggest you install HTTP Collector in a fresh folder to ensure you are truly working with the latest release.

Just tested with norconex-collector-http-2.4.0-20160223.174916-28.zip - no luck.
The meta-header redirect is still not being followed - the reason is the same:
    <linkExtractors>
      <extractor class="com.norconex.collector.http.url.impl.HtmlLinkExtractor"
         keepReferrerData="true" />
    </linkExtractors>

The "lib" folder is the same as in the zip package - I just unpack the zip archive and do no changes in the content.

Ha, I just realized you are using HtmlLinkExtractor.  It has been deprecated in favor of GenericLinkExtractor.  Can you please try with that one and if you still have the issue, please attach your full confirm.

hm... don't ask me, why I used the HtmlLinkExtractor :)
GenericLinkExtractor works as expected! Thank you!


Please support EntityCollection

Today, I got the error in the Email entity.
Attribute of type 'EntityCollection' is not supported yet. Please file an issue on GitHub: https://github.com/DigitalFlow/Xrm-Update-Context

Hello @PhuocLe,
Did you change anything in the UpdateContext?
Do you have an example of what you're doing?
Following test is passing without errors:
 [Test]
        public void Test_UpdateContext()
        {
            var cc = new EntityCollection();

            cc.Entities.Add(new Entity("contact", Guid.NewGuid()));
            cc.Entities.Add(new Entity("contact", Guid.NewGuid()));

            var cc2 = new EntityCollection();

            cc2.Entities.Add(new Entity("contact", Guid.NewGuid()));
            cc2.Entities.Add(new Entity("contact", Guid.NewGuid()));

            var email = new Entity
            {
                LogicalName = "email",
                Id = Guid.NewGuid(),
                Attributes =
                {
                    { "cc", cc }
                }
            };

            Assert.DoesNotThrow(() =>
            {
                using (var updateContext = new UpdateContext<Entity>(email))
                {
                    email["cc"] = cc2;

                    var update = updateContext.GetUpdateObject();
                    update.Should().NotBeNull();
                }
            });
        }

Hey @phuocle,
Did you check your code?
Any progress in giving an example?
Kind Regards,
Florian

I just compare my code with latest code, and saw I use the old code where the function CloneAttribute don't have code check the EntityCollection
Updated new code and now worked.

Alright, thanks for your update.


gsub was doing odd things to escaped json

Hi,
I was having an issue where gsub would remove my backslashes and ruin my escaped strings. Took me a while to find it, and I thought it was in ActiveSupport for a while. My test reproduces the problem, although it's a little tricky to see.
Something like:
rabbits\"}};alert('oh no');

ought to be escaped to:
rabbits\\\"}};alert('oh no');

but was, for some reason, escaped to:
rabbits\\"}};alert('oh no');

which caused dramas.
Hope this helps.
Huw

Hi, what's the status on merging this PR? It fixes more than "dramas", it is a XSS vulnerability.

Hi @huwr, thanks for the PR, sorry it took so long to review!
I merged this change in https://github.com/intercom/intercom-rails/pull/232

👍

Thanks, @mmartinic


Field Injection

After working with Android the past few months I now see the merits of field injection. Although I still don't prefer it I think it would be a useful option to have in USyrup.
Similar to method injection field injection will be used to inject the field of a class directly.
public class SomeClass {
  [Inject]
  private A a;

  [Inject]
  private B b;
}

In cases where a class derives from another class that uses field injection then the base classes fields should be injected first.
Other considerations:

Field injection should occur before method injection.
Need to consider semantics for SyrupInjector.Inject(this) and SyrupInjector.GetInstance(), basically we need to invoke field injection as part of the injection heirarchy.
In cases of base classes implementing both field and method injection as noted in (2), the order should be a) inject base field, b) inject base methods, c) inject derived fields, d) inject derived methods.

Implemented with: https://github.com/Jeffan207/usyrup/commit/70aa06abf77c726188dcd45edffa420aa735516e


Camera SR300: Pointcloud ignores black objects and /camera/depth_registered/points fails to get updated at times

System Configuration

Version
Your Configuration

Operating System
Ubuntu 14.04

Kernel
4.4.0-93-generic

ROS
Indigo

ROS RealSense
1.8.0

librealsense
1.12.1

Camera Type-Firmware
<IP_ADDRESS>

Expected Behavior
Pointcloud should show black objects. Depth image should be according to the depth of object in the frame and not on the color of the object.
Actual Behavior
Pointcloud data ignores black objects. Depth image for black objects is also weird (its completely black).
Kindly find the images below which shows the problem clearly.

Steps to Reproduce
roslaunch realsense_camera sr300_nodelet_rgbd.launch
rosrun rviz rviz with the rviz configuration
Has anybody faced a similar issue ? Is this a limitation of camera hardware ? Another issue is at times the pointcloud fails to get updated. I am working on a project to develop a 3D mesh using Intel Realsense from depth image. But the mesh fails to capture black objects and pointcloud data which I need for detecting objects also fails to capture black object.
Any support offered would be great!!
Thanks,
Janani

[Please Ignore - RealSense system comment]

Close this issue for lack of activity. Please feel free to reopen if the issue is still relevant.


JIRA - collector running, but no data

Hi,
I just downloaded, brought up API & UI.
bitbucket collector is partially up
when I run jira collector, seeing the below in logs, which looks strange for me.
I never mentioned any ticket number, but its showing it..

Below is the log
2016-11-14 08:11:45,179 INFO  o.s.j.e.a.AnnotationMBeanExporter - Registering beans for JMX exposure on startup
2016-11-14 08:11:45,193 INFO  com.capitalone.dashboard.Application - Started Application in 9.029 seconds (JVM running for 10.524)
2016-11-14 08:12:00,000 INFO  **c.c.d.collector.CollectorTask - Running Collector: Jira**
2016-11-14 08:12:00,008 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2016-11-14 08:12:00,008 INFO  c.c.d.collector.CollectorTask - https://jira.mysite.com/
2016-11-14 08:12:00,008 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2016-11-14 08:12:00,800 ERROR c.c.d.client.DefaultJiraClient - No result was available from Jira unexpectedly - defaulting to blank response. The reason for this fault is the following:RestClientException{statusCode=Optional.of(404), errorCollections=[]}
2016-11-14 08:12:00,801 INFO  c.c.d.collector.CollectorTask - Team Data               0        0s
2016-11-14 08:12:00,829 ERROR c.c.d.client.DefaultJiraClient - No result was available from Jira unexpectedly - defaulting to blank response. The reason for this fault is the following:RestClientException{statusCode=Optional.of(404), errorCollections=[]}
2016-11-14 08:12:00,829 INFO  c.c.d.collector.CollectorTask - Project Data            0        0s
2016-11-14 08:12:02,977 ERROR c.c.d.client.DefaultJiraClient - No result was available from Jira unexpectedly - defaulting to blank response. The reason for this fault is the following:RestClientException{statusCode=Optional.of(404), errorCollections=[]}
2016-11-14 08:12:02,978 INFO  c.c.d.collector.CollectorTask - Story Data              0        2s
2016-11-14 08:12:02,978 INFO  **c.c.d.collector.CollectorTask - Finished                         2s**

BELOW IS MY property file
# PageSize - Expand contract this value depending on Jira implementation's
# default server timeout setting (You will likely receive a SocketTimeoutException)
feature.pageSize=100

# Delta change date that modulates the collector item task
# Occasionally, these values should be modified if database size is a concern
feature.deltaStartDate=2016-03-01T00:00:00.000000
feature.masterStartDate=2016-03-01T00:00:00.000000
feature.deltaCollectorItemStartDate=2016-03-01T00:00:00.000000

# Chron schedule: S M D M Y [Day of the Week]
feature.cron=0 * * * * *

# ST Query File Details - Required, but DO NOT MODIFY
feature.queryFolder=jiraapi-queries
feature.storyQuery=story
feature.epicQuery=epic

# JIRA CONNECTION DETAILS:
# Enterprise Proxy - ONLY INCLUDE IF YOU HAVE A PROXY
#feature.jiraProxyUrl=http://proxy.com
#feature.jiraProxyPort=9000
feature.jiraBaseUrl=https://jira.mysite.com/
feature.jiraQueryEndpoint=jira/rest/api/2/
# For basic authentication, requires username:password as string in base64
# This command will make this for you:  echo -n username:password | base64
feature.jiraCredentials=dXNoYW5zdTE6TX12312VydsdfWdhbjYh
# OAuth is not fully implemented; please blank-out the OAuth values:
feature.jiraOauthAuthtoken=
feature.jiraOauthRefreshtoken=
feature.jiraOauthRedirecturi=
feature.jiraOauthExpiretime=

#############################################################################
# In Jira, general IssueType IDs are associated to various "issue"
# attributes. However, there is one attribute which this collector's
# queries rely on that change between different instantiations of Jira.
# Please provide a string name reference to your instance's IssueType for
# the lowest level of Issues (e.g., "user story") specific to your Jira
# instance.  Note:  You can retrieve your instance's IssueType Name
# listings via the following URI:  https://[your-jira-domain-name]/rest/api/2/issuetype/
#############################################################################
feature.jiraIssueTypeId=Story

#############################################################################
# In Jira, your instance will have its own custom field created for "sprint" or "timebox" details,
# which includes a list of information.  This field allows you to specify that data field for your
# instance of Jira. Note: You can retrieve your instance's sprint data field name
# via the following URI, and look for a package name com.atlassian.greenhopper.service.sprint.Sprint;
# your custom field name describes the values in this field:
# https://[your-jira-domain-name]/rest/api/2/issue/[some-issue-name]
#############################################################################
feature.jiraSprintDataFieldName=customfield_10730

#############################################################################
# In Jira, your instance will have its own custom field created for "super story" or "epic" back-end ID,
# which includes a list of information.  This field allows you to specify that data field for your instance
# of Jira.  Note:  You can retrieve your instance's epic ID field name via the following URI where your
# queried user story issue has a super issue (e.g., epic) tied to it; your custom field name describes the
# epic value you expect to see, and is the only field that does this for a given issue:
# https://[your-jira-domain-name]/rest/api/2/issue/[some-issue-name]
#############################################################################
feature.jiraEpicIdFieldName=customfield_11330

#############################################################################
# In Jira, your instance will have its own custom field created for "story points"
# This field allows you to specify that data field for your instance
# of Jira.  Note:  You can retrieve your instance's storypoints ID field name via the following URI where your
# queried user story issue has story points set on it; your custom field name describes the
# story points value you expect to see:
# https://[your-jira-domain-name]/rest/api/2/issue/[some-issue-name]
#############################################################################
feature.jiraStoryPointsFieldName=customfield_10042

When I do the below:

and look for a package name com.atlassian.greenhopper.service.sprint.Sprint

im getting 0 result for all of my jira tickets, can you please let me know , how to populate the data for

feature.jiraSprintDataFieldName

I've verified all the customfield_xxxxx, they seem to be perfect for our jira.

@amp5208 @jimzucker  -- can you please help?!

Above is the screen I see when I click "configure widget" for Feature (jira).

You are getting a 404 which means page not found. Your config must be wrong.
feature.jiraBaseUrl=https://jira.mysite.com/
feature.jiraQueryEndpoint=jira/rest/api/2/

My jira query endpoint is feature.jiraQueryEndpoint=rest/api/2/

https://jira.mysite.com/jira/rest/api/2/issue/TICKETID-5    -- Iam getting json response for this URL in browser,
but  getting below for  :   http://jira.mysite.com/jira/rest/api/2/

404

null for uri: http://jira.mysite.com/jira/rest/api/2/

please suggest, how to proceed..

cool
Modified config as
feature.jiraBaseUrl=https://jira.mysite.com/jira/
feature.jiraQueryEndpoint=rest/api/2/
its working fine now!! :)

log is
2016-11-15 05:45:10,287 INFO  com.capitalone.dashboard.Application - Started Application in 8.892 seconds (JVM running for 10.488)
2016-11-15 05:46:00,001 INFO  c.c.d.collector.CollectorTask - Running Collector: Jira
2016-11-15 05:46:00,008 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2016-11-15 05:46:00,008 INFO  c.c.d.collector.CollectorTask - https://jira.mysite.com/jira/
2016-11-15 05:46:00,008 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2016-11-15 05:46:06,370 INFO  c.c.d.collector.CollectorTask - Team Data             834        6s
2016-11-15 05:46:08,871 INFO  c.c.d.collector.CollectorTask - Project Data          834        2s
But still im seeing the same screen only..  not seeing any data..

@MarkRx   can you please help?

Your API / UI / Jira collector must not be configured correctly. Ensure they are pointing to the same database, using the correct ports, and the data actually exists.

Thanks, JIRA was storing data in "dashboard" db where as all other components had the db as "dashboarddb"  -- BUT  why JIRA alone picking different DB when I configure for dashboarddb? can you pls calrify.

Can you clarify the purpose  of switches    ||      &  >>   under features..
It keep changing data, irrespective whether I pause or make it run.

The database defaults in different documents might be out of sync.
I suggest grabbing the latest code for jira. It allows configuration of the sprint type which might be what you want.

@smsuresh  - did @MarkRx  suggestion help you fix the issue.

@smsuresh The feature widget now has an option to display metrics based on the number of tickets instead of estimates. This is for setups that do not use estimates.
Functionality merged in https://github.com/capitalone/Hygieia/pull/1054 Use latest codebase. You’ll also need to follow cleanup instructions provided in https://github.com/capitalone/Hygieia/pull/1137

Great!! Thankyou Sathish!!
Suresh.S
Sent from Yahoo Mail on Android
On Fri, Feb 3, 2017 at 9:25 PM<EMAIL_ADDRESS>wrote:
Closed #942.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I'm getting the below response when i run the collector
2017-06-26 16:57:00,014 INFO  c.c.d.collector.CollectorTask - Team Data               0        0s
2017-06-26 16:57:00,349 ERROR c.c.d.client.DefaultJiraClient - No result was available from Jira unexpectedly - defaulting to blank response. The reason for this fault is the following:RestClientException{statusCode=Optional.of(404), errorCollections=[]}
2017-06-26 16:57:00,349 INFO  c.c.d.collector.CollectorTask - Project Data            0        0s
2017-06-26 16:57:00,715 ERROR c.c.d.client.DefaultJiraClient - Parser exception when parsing statuses
org.json.simple.parser.ParseException: null
at org.json.simple.parser.Yylex.yylex(Yylex.java:610) ~[json-simple-1.1.1.jar!/:na]
at org.json.simple.parser.JSONParser.nextToken(JSONParser.java:269) ~[json-simple-1.1.1.jar!/:na]
at org.json.simple.parser.JSONParser.parse(JSONParser.java:118) ~[json-simple-1.1.1.jar!/:na]
at org.json.simple.parser.JSONParser.parse(JSONParser.java:81) ~[json-simple-1.1.1.jar!/:na]
at org.json.simple.parser.JSONParser.parse(JSONParser.java:75) ~[json-simple-1.1.1.jar!/:na]
at com.capitalone.dashboard.client.DefaultJiraClient.getStatusMapping(DefaultJiraClient.java:365) ~[jira-feature-collector.jar!/:2.0.5-SNAPSHOT]
Please help me to fix this
#Jira Connection Details
#feature.jiraProxyUrl=
#feature.jiraProxyPort=8081
feature.jiraBaseUrl=https://jira.tools/login.jsp?
feature.jiraCredentials=XXXXXX
feature.jiraQueryEndpoint=rest/api/2/
feature.jiraOauthAuthtoken=
feature.jiraOauthRefreshtoken=
feature.jiraOauthRedirecturi=
feature.jiraOauthExpiretime=


Can't login into youtube music vanced ver 4.27.50 with Vanced MicroG v<IP_ADDRESS>913

when i updated to Vanced MicroG v<IP_ADDRESS>913, I got logged out of youtube music vanced and can't log back in, it just shows "add account" and I clicked it and tried to log back in but it says I already logged in, I tried everything like uninstalling vanced microg and yt music vanced and still didn't work, and I am using youtube music vanced ver 4.27.50 because its the last version that allows playing songs on demand and seeking, please fix.

Vanced Music v4.27.50 is outdated
If you are going to use an old version of Vanced Music, use an old version of Vanced MicroG
Vanced MicroG v<IP_ADDRESS>220

what if eventually newer youtube revanced versions might stop working with the old vanced microg that works with old vanced music, and I still update youtube revanced because it still works and because newer patches won't work on old youtube revanced versions or else ads will come back, its just vanced music that I have a problem with.


Generalize Text combinators

Currently vomitchan works on adding colors and modifiers to Text, however Text is a horrible representation, esp. in regards to trying to compose effects. What is the text? and what are the effects? Text can't tell the difference.
Thus we should go with a better representation in the future that can compose

#5  Seems to solve this issue


Drop support for botocore <1.11.0 and requests <2.16.2 (fixes #693)

Fixes #693
CC @jairhenrique @pquentin @vEpiphyte

Codecov Report

Merging #698 (dc506db) into master (14cef83) will increase coverage by 0.17%.
The diff coverage is 40.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master     #698      +/-   ##
==========================================
+ Coverage   89.74%   89.92%   +0.17%
==========================================
  Files          27       27
  Lines        1746     1727      -19
  Branches      311      242      -69
==========================================
- Hits         1567     1553      -14
+ Misses        144      138       -6
- Partials       35       36       +1

Impacted Files
Coverage Δ

vcr/patch.py
88.23% <40.00%> (+2.80%)
:arrow_up:

... and 5 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

approve this!

Thanks!
Have you looked in tests too? There's this line somewhere in the tests I think:
from botocore.vendored.requests.packages.urllib3.connectionpool import HTTPConnection, VerifiedHTTPSConnection

@pquentin good point, done, pushed.

@hartwork This looks much easier to maintain going forward :) Thank you.

Hi @hartwork / @jairhenrique, it's great to see the urllib3 bug fixed -- when do you plan to release the new version? Thanks!

@randomir this does not fix urllib3 2.0 compatibility yet - it's an intermediate step to make adding support easier!

@pquentin, oh, I see. I got the wrong impression then from this comment, and haven't bothered double-checking. Anyway, do you have an approximate ETA for the urllib3 issue fix? It's quite annoying, but I'm hesitant to patch it with an upper-bound on urllib3... Thanks!

@randomir we'll need some version of #697 next. We'll hopefully know more in a couple of days.
CC @shifqu

sorry for confusion - it seemed like shifqu's work was more complete and in the correct direction than what I had put together in a slapdash attempt.

Thank you, @hartwork, I'll keep my :eyes: open. :smile:


Reject unsupported IPv6 extension headers

IPv6 extensions headers must be in the recommended order.
Routing headers are not supported, please see https://github.com/kubernetes-sigs/kube-network-policies/pull/51#issuecomment-2216969955.
For non-first fragments, the ipproto is set to syscall.IPPROTO_FRAGMENT, since it's important to know that the packet is a fragment, and not important what it's a fragment of (e.g. UDP).
Packets with security headers (AH and ESP) are not rejected. Perhaps they should(?).
An 'ipproto' field is added in the packet struct. This field is currently not used, but will be needed for future extensions, like handling of ICMP (and ICMP6) packets. It may also be useful for logging (like the "payload" field).

Set as "draft" until unit-tests are added.

Finally! Packets with a DSTOPTS extension header (EH):

I wasted hours of trouble-shooting before discovering that the kernel silently discard packets with a DSTOPTS EH with only "Pad" fields :angry: I had to make up an unknown option.
I plan to add another unit-test with DSTOPTS both after the IPv6 header and after the fragment header. It is hard to generate packets for error tests, since the kernel would drop them.

kernel silently discard packets with a DSTOPTS EH with only "Pad" fields

Not entirely true. Linux discard packets with "unnecessary" pad's. The RFC says strictly that Pad's should only be used for 8-byte alignment. I now can use minimum length (8 byte) EH's without problems, and option type 0x1e (experimental) is used for other types.
Here is an article that tells everything you ever want to know about IPv6 extension headers on the internet (and then some):
https://blog.apnic.net/2022/10/13/ipv6-extension-headers-revisited/
TL;DR; IPv6 extension headers are best avoided in the public IPv6 network
(not even fragmentation headers are handled ok)
Anyway, DSTOPTS before and after a fragmentation header is now unit-tested. However, Linux doesn't support them, so it may be an overkill.


JSX element attributes type […] may not be a union type

TypeScript Version:  2.1.1
Code
As seen here: http://stackoverflow.com/questions/41682619/jsx-element-attributes-type-may-not-be-a-union-type/41683341#41683341.
// address.tsx
...
interface Address {
  street: string;
  country: string;
}

interface CanadianAddress extends Address {
  postalCode: string;
}

interface AmericanAddress extends Address {
  zipCode: string;
}

type Properties = AmericanAddress | CanadianAddress;

function isAmerican(address: Properties) address is AmericanAddress {
 return 'zipCode' in address;
}

export class Address extends React.Component<Properties, void> {
  public render() {
    let isAmerican = isAmerican(this.props.address);
    ...
  }
}

// map.tsx
...
let rootDiv = document.createElement('root')l
ReactDOM.render(<Address postalCode='T1B 0L3' />, rootDiv);

Expected behavior:
Should be able to specify a union type for a React Component's properties generic variable.
Actual behavior:
error TS2600: JSX element attributes type '({ children?: ReactNode; } & AmericanAddress) | ({ children?: ReactNode; } & CanadianAddress' may not be a union type.

Clearly this is an anticipated use case, is there a specific reason why this can't be done, and if so, is there any sane way to get around this? Or do I simply need to use optional attributes in a single interface with custom error logic inside the component to disallow both zipCode and postalCode being specified at the same time?

This is being addressed by #12107

The fix of this issue is in similar area as #12107. Discussed with @RyanCavanaugh, we should fix this by trying each constituent of the union type and see if it is assignable to the given attributes. Once #12107 is in, we will address this issue after

I'm guessing this issue is resolved right?

@alitaheri  Soon... I am planning to get the PR up today

@alitaheri the fix is merged. will be in typescript@next. give it a try and let us know!


feat(prettier) print array pattern

Current dependencies on/for this PR:

main

PR #1382   👈

This stack of pull requests is managed by Graphite.


Linters will not activate! Linter deactivated, cannot locate file

My linters are not working. I have spent the last few days reading the docs and other sites to get these working with no love. I was able to get the linters working randomly a few times but after restarting the program they continue to give me errors.
I am on win 7
My paths are set
C:\Users\BigBoy>where tidy
C:\Users\BigBoy\Desktop\Sublime Text Build 3083 x64\tidy.exe
C:\Users\BigBoy\AppData\Roaming\npm\tidy.exe

C:\Users\BigBoy>where csslint
C:\Users\BigBoy\Desktop\Sublime Text Build 3083 x64\csslint
C:\Users\BigBoy\Desktop\Sublime Text Build 3083 x64\csslint.cmd
C:\Users\BigBoy\AppData\Roaming\npm\csslint
C:\Users\BigBoy\AppData\Roaming\npm\csslint.cmd

C:\Users\BigBoy>path
PATH=C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;
C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;
C:\Program Files\nodejs\;C:\Users\BigBoy\Desktop\Sublime Text Build 3083 x64;C:\
Users\BigBoy\AppData\Roaming\npm;C:\cygwin64\home\BigBoy;C:\cygwin64;

I made extra paths in a few attempts over the last few days, I dont think its causing problems.
Here is my settings file. Is everything good here? There was a lot of mixed info on path syntax, some say 2 \slashes and some use normal, single /slashes.  Any ideas on what im missing to get these working?
Thanks.

My linters started working randomly again. Here is some more code it spit out.

SublimeLinter: chdir not set or invalid, using E:\finaldraftwebcraft\css
SublimeLinter: csslint: illustrator.css ['C:\Users\BigBoy\Desktop\Sublime Text Build 3083 >x64\csslint.cmd', '--format=compact']

is the chdir causing the problems im having with the linters?

Hi,
Hope this issue doesn't bother you anymore.
chdir is not the cause. Took me a while to get comfortable with that message.
The message will appear whenever no project is opened or some errors in the "chdir" setting in User/SublimeLinter.sublime-settings file.
ST3 simply assumes the folder of the current file.

In case you have not seen this, SL-html-tidy do cause ST3 to loose track of system paths SublimeLinter-html-tidy make the paths configuration not work

You are also editing the default file for SL settings.  There is another user file for SL settings.
Usually I copy everything I need from the default to the user's and then make any changes in the user settings.
The user settings starts with "user" like (https://github.com/SublimeLinter/SublimeLinter-html-tidy/issues/33#issuecomment-113002122

So, I probably don't understand everything that's said here, but it really seems like a pretty specific setup issue rather than something wrong with SL. If I'm wrong let me know with some explanation and we'll re-open.


KAT-219: Update to Ruby 3

This pull updates Ruby from v2.3 to v3.0.

Closing this and putting the ticket back on deck.


Add option to emit a full-formed java library project from Thrift input

It would be neat to have thrifty-compiler just spit out a ready-to-compile project.
Who knows that that API would look like; will think about it for now.

what's the idea behind this? We basically do this internally and could possibly help advise on the API

The idea would be to accept .thrift as input, do codegen, and emit a fully-formed Gradle/Maven/etc project.  It seems to me that this would make consuming the generated code simpler - just copy the module over to your project and add it to settings.gradle.  Even better, you could just build and push to a Maven repo.
I haven't really thought much about the API since filing this issue, but looking back I wonder if it wouldn't make more sense as part of a Gradle/Maven/etc plugin.
What's the story with your internal tooling - how do others make use of the generated  projects?

I already have something similar. Instead of generating the whole project files (which changes very frequently and will be hard to maintain) I've created a basic library project with android studio and tuned it a little bit. Here it is: https://github.com/gotev/android-base-library
The workflow to create a new library project is that you clone the repo, rename the package and you have a library module together with an example project which uses it, ready for deployment using Bintray as gateway for both jCenter and Maven Central. It works great for what I need and I currently use it in production for many libraries. For an internal project where I work I cloned that same repo, added this to the library module gradle's task:
task generateThrift(type: Exec) {
    commandLine 'sh', '-c', 'cd ..; ./generate-thrift'
}

preBuild.dependsOn generateThrift

And then included the following generate-thrift in the top-level directory (I know, it works only on Unix boxes):
#!/bin/bash
THRIFTY_VERSION="0.4.2"
THRIFT_DIR="thrift"
GEN_OUTPUT="library/src/main/generated"

if [ ! -f thrifty-compiler.jar ]; then
    echo "Downloading Thrifty $THRIFTY_VERSION from Maven Central..."
    url="http://repo1.maven.org/maven2/com/microsoft/thrifty/thrifty-compiler/$THRIFTY_VERSION/thrifty-compiler-$THRIFTY_VERSION.jar"
    echo "$url"
    curl -L "$url" -o thrifty-compiler.jar
fi

echo "Removing generated files directory.."
rm -rf "$GEN_OUTPUT"
mkdir -p "$GEN_OUTPUT"

echo "Generating Android client Thrift bindings..."
java -jar thrifty-compiler.jar --use-android-annotations --out="$GEN_OUTPUT" "$THRIFT_DIR"/*

After this setup, you basically just put your Thrift IDL files inside the thrift directory (either manually or by adding a submodule) and when you hit build inside android studio, the generation happens before the build and you are ready to use generated files inside the project (or to deploy them to your favorite maven repository).
The better option will be to have a gradle plugin for thrifty, which will allow to have something like this:
buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.microsoft:thrifty-gradle-plugin:1.0.0'
    }
}

apply plugin: 'com.microsoft.thrifty-gradle-plugin'

thrifty {
  androidAnnotations true
  inputDir file('${project.projectDir}/src/main/thrifty')
  outputDir file('${project.buildDir}/generated/source/thrifty')
}

What are your thoughts?

Ben and I actually talked about this in person over coffee a few weeks back. I think the gist of this is more about generating projects and not just having a gradle wrapper around the compiler.

@hzsweers so you mean something similar to what Cordova does. My only concern about that approach is that if Google or Gradle team decides to change the file formats or the structure, an entire project generation tool will be harder to maintain in the future.

With #356, we have a Gradle plugin that basically obviates this issue.  Who needs a generated Gradle project to house generated thrifts, when you can just plug them in to your existing Gradle project at build-time?


Add raise range

This is basically the same as a tuple, but it can also be sampled think. We can replace raise bounds with this

Closed by #185


Connect to Clickhouse

Hi
Please for your support to connect to Clickhouse. I have used the following codes and unfortunately it doesn't work.
df= cx.read_sql("clickhouse://yourname:yourpassword@<IP_ADDRESS>:8123/default", "SELECT * FROM data_source")
df= cx.read_sql("clickhouse://yourname:yourpassword@localhost:8123/default", "SELECT * FROM data_source")
df= cx.read_sql("mysql://yourname:yourpassword@<IP_ADDRESS>:8123/default", "SELECT * FROM data_source")
df= cx.read_sql("mysql://yourname:yourpassword@localhost:8123/default", "SELECT * FROM data_source")
Regards

Hi @moheikal79 , which version are you using? Can you check whether this related discussion help you: https://github.com/sfu-db/connector-x/discussions/165#discussioncomment-2118825 ?

Thanks @wangxiaoying,  it is working fine now, I had to change the port to 9004 (mysql port in clickhouse) instead of 8123.
df= cx.read_sql("clickhouse://yourname:yourpassword@<IP_ADDRESS>:9004/default", "SELECT * FROM data_source")


Disabling readonly on Double Tap in TextInput; backspace remains disabled

Found a strange issue in TextInput when trying to implement a double tap text entry by utilizing readonly. When double tapped entering text works fine, while backspace is still disabled. A crude way of fixing this is to unfocus and focus textinput.  For reproducability, please find the code below.
Kivy v1.9.1
Python v2.7.10
Windows 10
from kivy.uix.textinput import TextInput
class DoubleTapInput(TextInput):
    def __init__(self,**kwargs):
        super(DoubleTapInput,self).__init__(**kwargs)
        self.readonly=True
        self.txt_Dbl_Tap = False

    def on_double_tap(self):
        if self.txt_Dbl_Tap == False:
            self.readonly=False
            #self.focus = False
            #self.focus = True
            self.txt_Dbl_tap = True

The problem is that the on_double_tap method is not empty in the source, so you're overriding some code.
The solution is to call super at the start of your method, then continue with your custom code, or copy over the source and customize it to your needs.
https://github.com/kivy/kivy/blob/4789b548fa18eae6d3fe3ad121bd2a3f1ff9c6cd/kivy/uix/textinput.py#L1252

Please share a runnable app example that shows your issue.

This simple example shows my issue;
from kivy.app import App
from kivy.uix.textinput import TextInput
class DoubleTapInput(TextInput):
    def __init__(self,**kwargs):
        super(DoubleTapInput,self).__init__(**kwargs)
        self.readonly=True
        self.txt_Dbl_Tap = False

    def on_double_tap(self):
        super(DoubleTapInput,self).on_double_tap()
        if self.txt_Dbl_Tap == False:
            self.readonly=False
            #self.focus = False
            #self.focus = True
            self.txt_Dbl_tap = True

class ExApp(App):
    def build(self):
        return DoubleTapInput()

if __name__ == '__main__':
    ExApp().run()

If double tapped the text entry works, however, backspace is disabled. The workaround is to refocus by  self.focus = False and  self.focus = True where backspace is enabled.  However, this is a crude way as it unnecessarily triggers the 'on_focus'. As on_focus is triggered, this leads to the problem where to set self.readonly=True and self.txt_Dbl_Tap = False when the user truly is unfocusing.

@senc22, thanks, I can reproduce the bug with your example.


Install.php db connection test ignores port

Thanks for contributing to Postleaf! 💙💚
Pull Request Summary
DB Connection test in install.php ignores port
Have you...

[x] Checked that your code adheres to our code guidelines?

Contributor License Agreement
We want Postleaf to remain free and open for everyone to use forever, so please don’t submit any code or content that is licensed or copyrighted without first getting written consent.
Before we accept your pull request, we ask that you agree to the following terms to ensure there are no conflicts with Postleaf’s license now or in the future.

I certify that the code I am contributing to this project is completely original or free of any known license or copyright.

I agree to allow the developer of Postleaf, A Beautiful Site, LLC, license or relicense my work at their discretion. By submitting this pull request, I agree to forfeit all copyrights, intellectual property rights, and royalties pertaining to my contribution.

By entering my name in the space provided below, I agree to all of the terms mentioned above.

Signed: Kit Wong
Date:2016-08-23

Nice find. Thanks!


Consider using server-side filtering when the gardenlet watches shoot resources

How to categorize this issue?
/area cost scalability
/kind enhancement
What would you like to be added:
Consider using server side filtering when the gardenlet watches shoot resources.
The gardenlet in each seed appears to receive watch events for all the shoots, only to discard the majority of them on the client side. These discarded shoot watch events are those not relevant to the specific seed. This process could potentially lead to unnecessary network traffic and slow down the gardenlet's performance. Implementing server-side filtering could help mitigate these issues.
Why is this needed:
In larger Gardener installations, I've observed that the gardener-apiserver in the runtime-garden cluster generates significant network egress traffic. This traffic is dominated by cluster scope shoot watch responses and could have a cost and scalability impact.
Currently, each gardenlet requests the complete watch event stream for the shoots at cluster scope. In response, the gardener-apiserver transmits the full cluster scope shoot watch event stream to each gardenlet. This process results in the egress traffic of the gardener-apiservers scaling linearly with the number of seeds. In larger installations with numerous seeds, this could potentially lead to significant values, indicating a potential issue with scalability and network resource utilization.
Implementing server-side filtering or sharding of watch events could alleviate this issue. Each gardenlet would only receive relevant events, eliminating the need to discard irrelevant ones on the client side. As a result, the total egress traffic of the gardener-apiserver would no longer be dependent on the number of seeds.
Considerations:
Server-side filtering when watching resources can be achieved using field selectors. For example:
k get shoots --field-selector=spec.seedName=aws-ha -w

However, there are some caveats. Currently, a seed seems to be interested in shoots where spec.seedName is the given seed, i.e. shoots that are scheduled to the given seed. Additionally, in the shoot migration scenario, shoots where status.seedName is the given seed are also relevant, if neither spec.seedName nor status.seedName is nil and they differ. Expressing this in a single HTTP request might be challenging as field selectors can only be combined with a logical AND and require literals on the right-hand side. Therefore, a second watch request and a dedicated field might be necessary to watch shoots currently being migrated away from the given seed.
I couldn't determine how the controller registration would need to be adjusted so that the resulting HTTP REST request includes the fieldSelector query parameter, hence I couldn't prepare a PR.
While it may not be idiomatic to use server-side filtering with the controller runtime API, or there may be even other drawbacks, I believe it could be beneficial for cost and scalability reasons to address this linear scaling issue.

Detailed investigations
To reach the above conclusions, I conducted the following investigations.
The network activity of the gardener-apiservers can be monitored using kubelet/cadvisor container network metrics. The following Prometheus promql expression returns the egress network activity in MB/s of the gardener-apiserver pods, averaged over the past 24 hours. Values in the range of 100MB/s could incur significant network costs and might approach scalability limits. The garden-prometheus in the runtime-garden cluster captures these metrics.
avg_over_time(
  (sum(rate(container_network_transmit_bytes_total{pod=~"gardener-apiserver-.*"}[5m])) / 1024 ^ 2)[1d:]
)

To further understand the network egress, I used the apiserver response sizes metrics. These metrics can be used to compare the previous, low level network egress bandwidth usage with the application level response sizes, and also break down by resource and scope. The following promql expressions show the "application level" network egress in MB/s, averaged over the past 24 hours, and the ratio of the cluster scope shoot watch responses.
avg_over_time(
  (sum(rate(apiserver_response_sizes_sum{pod=~"gardener-apiserver-.+"}[5m])) / 1024 ^ 2)[1d:]
)

  avg_over_time(
    (
        sum(
          rate(
            apiserver_response_sizes_sum{pod=~"gardener-apiserver-.+",resource="shoots",scope="cluster",verb="WATCH"}[5m]
          )
        )
      /
        sum(rate(apiserver_response_sizes_sum{pod=~"gardener-apiserver-.+"}[5m]))
    )[1d:]
  )
*
  100

After checking these metrics in larger Gardener installations, I concluded that the network egress of the gardener-apiserver is significant and it is dominated by cluster scope shoot watch events. Although a single shoot resource is small (a few 10kB), due to the multiplication effect described above, the total network egress of the gardener-apiservers scales linearly with the number of seeds. Therefore, with many seeds, the network traffic can become significant.
To identify which component is actually watching the shoot resources, we can enable HTTP access logs for the virtual-garden-kube-apiserver pods by adding the --vmodule=httplog=3 command line flag. Then, we can process the access logs e.g. with the following Vali expression. This shows the user agents of the clients performing the shoot watch requests at cluster scope.
{container_name="kube-apiserver", pod_name=~"virtual-garden-kube-apiserver.*"}
|= "httplog.go"
|= "WATCH"
|= "v1beta1/shoots?"
| json
| line_format "{{regexReplaceAllLiteral \".*HTTP\\\" \" .log \"\"}}"
| logfmt
| line_format "{{.userAgent}} {{.verb}} {{.URI}}"

After analyzing the logs, I concluded that most of the cluster scope shoot watch requests originate from the gardenlets in the seeds, which aligns with the expectations of the Gardener architecture.
Note that the response size attribute is not part of the HTTP access logs. Therefore, to reach the conclusions above, one needs to combine metrics (to identify the top resource/scope combination) with logs (to find the user agent).
Audit logs could further be used to check the identity of the client. However, in this case, it was not necessary because the user agent was sufficiently unique for the gardenlet component.
We can enable HTTP access logs in the local setup of Gardener as well. In this setup, the KinD cluster’s Kubernetes API server acts as the virtual garden cluster so that we need to pass the vmodule flag there.
--- a/example/gardener-local/kind/cluster/templates/_kubeadm_config_patches.tpl
+++ b/example/gardener-local/kind/cluster/templates/_kubeadm_config_patches.tpl
@@ -9,6 +9,7 @@
       - gardener-apiserver.relay.svc.cluster.local
 {{- end }}
     extraArgs:
+      vmodule: httplog=3
 {{- if not .Values.gardener.controlPlane.deployed }}
       authorization-mode: RBAC,Node
 {{- else }}

This approach can be used to verify that the controller runtime abstraction is properly configured to use server-side filtering.
$ k logs kube-apiserver-gardener-local-ha-multi-zone-control-plane \
  | grep 'verb="WATCH"' | grep "v1beta1/shoots?" | grep gardenlet \
  | sed -E 's/ +/\n/g'

I0125 10:12:19.054230 1 httplog.go:132]
"HTTP"
verb="WATCH"
URI="/apis/core.gardener.cloud/v1beta1/shoots?allowWatchBookmarks=true&resourceVersion=343&timeoutSeconds=408&watch=true"
latency="6m48.008009716s"
userAgent="gardenlet/v0.0.0 (linux/amd64) kubernetes/$Format"
audit-ID="e09a77bd-9a2c-4a6a-b278-c5ea542e4c57"
srcIP="<IP_ADDRESS>:59736"
apf_pl="global-default"
apf_fs="global-default"
apf_iseats=1
apf_fseats=0
apf_additionalLatency="0s"
apf_init_latency="1.165578ms"
apf_execution_time="1.167744ms"
resp=200

The URI shows that the gardenlet is currently watching the shoots in cluster scope without server side filtering, which is indicated by the absence of the fieldSelector query parameter.
/apis/core.gardener.cloud/v1beta1/shoots?
  allowWatchBookmarks=true&
  resourceVersion=343&
  timeoutSeconds=408&
  watch=true

cc @petersutter @vpnachev @AleksandarSavchev @rickardsjp @rfranzke

Currently, a seed seems to be interested in shoots where spec.seedName is the given seed, i.e. shoots that are scheduled to the given seed. Additionally, in the shoot migration scenario, shoots where status.seedName is the given seed are also relevant, if neither spec.seedName nor status.seedName is nil and they differ. Expressing this in a single HTTP request might be challenging as field selectors can only be combined with a logical AND and require literals on the right-hand side.

Right, we would need a request with a logical OR, and this is something which is not supported by the Kubernetes API servers.

Therefore, a second watch request and a dedicated field might be necessary to watch shoots currently being migrated away from the given seed.

This is something which is not supported by the controller-runtime. We could perhaps write a custom cache.Cache implementation to start two watches, one with a field selector for .spec.seedName, and one for .status.seedName, and merge both results together into a single cache, but that's probably not straight-forward and comes with its own complexity. Alternatively, we could maybe use a separate cache with .status.seedName just for the migration scenario, but this would also increase the complexity in the respective controller code.
Generally, having two watches is definitely better than what happens two, but we'd still end up with two watches instead of only one.
In a sync with @timebertt, we found that the easiest way is to use label selectors maintained by the gardener-apiserver. For the seeds in .spec.seedName and .status.seedName, it could add seed.gardener.cloud/<name>=true labels to Shoots (and other resources like BackupEntrys as well, btw). This would allow gardenlets (and other clients) to start their watches with such label selector and effectively enable the server-side filtering.
I'll take a look and work on it.
/assign


[parser] add TypeChecker

Subject
parser
Detail
We need to keep variable(identifier, function name) and its type. So every time we meet new identifier or function we need to check whether we already have that name in our map.
If exist, then only re-assign value is possible. If not, then we can create variable or function with that name and add its name to map.
That's what TypeChecker to for us
Reference

https://github.com/golang/go/blob/master/src/go/types/check.go

skeleton codes are merged and I will open new issues w/ concrete implementation details


Update ZulipActivity.java

When checking Build.VERSION.SDK_INT it should be 'higher or equal'. Also the search related functions should be inside the logged_in section, not outside it, or  it will receive a null pointer if not logged in / no view related to the search  section.
Related and fix to issue https://github.com/zulip/zulip-android/issues/6

Automated message from Dropbox CLA bot
@raicabogdan, thanks for the pull request! It looks like you haven't yet signed the Dropbox CLA. Please sign it here and update the thread so we can consider merging your code.

Dropbox CLA signed

Merged in a version of this. Thanks again!


SW-5188 Implement undo of nursery withdrawals

Add an undoWithdrawal method to BatchStore that reverses the effects of a
previous withdrawal on seedling batches.
Take undo withdrawals into account in the nursery stats calculations.
Currently, there is no way for an end user to use this code; it will be hooked
up to the API in a later change.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1846
#1845
#1844
#1843  👈
#1842
#1841
main

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

Join @sgrimm and the rest of your teammates on  Graphite

Merge activity

Apr 15, 10:16 AM EDT: @sgrimm started a stack merge that includes this pull request via Graphite.


Update anonymous-read-access-overview.md

Commit e2b068ad65a033686293972b4ebf00d2070eda91 added a new paragraph to account for the AllowBlobAnonymousAccess field but did not remove the now outdated, old paragraph. This PR removes the outdated paragraph.

@akashdubey-ms
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@akashdubey-ms Please look at the current documentation. It contains two paragraphs immediately following one another that contradict each other. If the Rest API property was not renamed as you write, the article still is currently incorrect. One of the two paragraphs is wrong and should be removed.


Warnings in default settings editor

They should not show up anywhere:

Improved following behavior:

Extended resource editor input for default settings which made lifcycle management much simpler
Warnings of default settings are shown only once
When clicking on warnings, opens defaults settings separately (just as before)

Moving this to next milestone to decide if we want to show or not show the warning for default settings


COLMAP

If I'm installing the prebuilt binary, how do I use that and indicate that is COLMAP. Every time I try to run it, I just get  "No COLMAP found in this machine"

Does your machine recorgnize COLMAP?
try to run which colmap in the terminal.
By the way, I won't recommend using prebuilt binary from apt. (in case you are using ubuntu or other debain based distros).
You might face with option problem as mention in #3

Im on windows 10 is that ok? @pureexe


Small intero-apply-suggestions bug

On my installation of intero, the following module:
module Module where

import Control.Monad (forM_, forM)

main :: IO ()
main = do
  forM_ ["beep", "boop"] putStrLn

gets incorrectly corrected to:
module Module where

import Control.Monad (_)

main :: IO ()
main = do
  forM_ ["beep", "boop"] putStrLn

Possibly an edge case for identifiers that contain or end with non-letter characters?

Yep. If you could take a crack at fixing the Elisp, please do. Should be fairly easy.


docs: Update passkeys tutorial

Update passkeys tutorial with:

latest packages
refined UI

In the Passkeys tutorial (also applies to the ERC-7579 one, but out of scope here), should we use the <Steps /> component like we do in the guides to separate the diferent sections?
Be careful with the title and description of this PR, as it also updates the ERC-7579 tutorial, which is not reflected.

Minor suggestion for the best practices section-

Can we put the audit warning at the top of the tutorial in a callout box?
Explain in a line or two why 1/1 passkey set up is a bad choice.

Do more with Safe and Passkeys section is all right


Doesn't start at all (Windows 10, latest version - 0.6.2)

I downloaded latest version, I unzipped it into C:/p5, I started c5 application, i waited around 10 minutes and nothing happend. None error, none antivirus message, just nothing. I also tried run it as administrator, still nothing..

Same here! I tried to disable the windows defender, but no success! I noticed that the Antimalware was getting 50% of usage in the task manager everytime that I tried to run the editor, so I disabled it, wondering myself if the Windows Defender was preventing the editor to run.
I hope they are already working on a solution to this problem.


Fix Datetime format bug

MySQL DATETIME format is YYYY-MM-DD hh:mm:ss.
https://dev.mysql.com/doc/refman/5.6/en/datetime.html
But, Time#to_s makes YYYY-MM-DD hh:mm:ss +TZ.
So, we can use Time#to_s("%F %T") :+1:

As you can see, now it will save the time without the timezone. So my question here is what happens when you read datetime back from mysql. I suspect, that it will read as local timezone, making it a couple of hours off the original date.

Ah, no, it should work, since here: https://github.com/pine613/crystal-mysql/blob/fix/datetime/src/mysql/types.cr#L64-L72 , it is forced to be utc in both directions already.

@pine613 Thanks!

Thanks!


[10.1 Threefold Complete Farming Guide] The Check 3node Status on the TF Explorer section is completely outdated

Description
[10.1 Threefold Complete Farming Guide] The Check 3node Status on the TF Explorer section is completely outdated since it's using links and screenshots from the old explorer.

@mohamedamer453 I was going to update the docs but it seems to be up to date already however it shows an old version in the website
here is what I see in the development branch in docs

This should be corrected with the new pull request in the dev branch.
https://www2.manual.grid.tf/TF_Farmer_Guide/TF_Complete_Farmer_Guide/farmer_guide.html#2-check-3node-status-on-the-tf-explorer
This issue could be closed then.

Verified from www2.manual.grid.tf
Indeed the section was updated with the new dashboard/explorer links.


Basic time controls implementation

This pull request adds the following method to the library:

Future seek(Duration position) (fixes #19)
This function has been implemented for both Android and iOS platforms.

It also adds the following members to the Stereo factory:

VoidCallback completionHandler: callback called when the playing song ends.
Duration duration: playback duration. (fixes #17)
ValueNotifier<Duration> durationNotifier: notifies listener when the playback duration changes. (fixes #17)
Duration position: playback position. (fixes #18)
ValueNotifier<Duration> positionNotifier: notifies listener when the playback position changes. (fixes #18)
Duration remaining: playback remaining time. (fixes #20)

Also, the example has been updated to reflect library changes.
EDIT: It also fixes #5.

@faku99 For me, you can merge the PR. Good job ! :)


Dropdown closing on mouseout parent and child divs

As an alternative to this opened issue by myself: https://github.com/angular-ui/bootstrap/issues/2863, In case you want to implement a menu using this Dropdown component, is it possible to have the option to declare explicitly to close the "menu" when mouseout on the main element as well as the children list items so that giving the effect of closing after a timer is over?
Thanks in advance.

You can do the following to accomplish what you want.  Note the use of ng-mouseleave:

  Sample Menu

A Menu Item

Another Menu Item

A Third Menu Item

Closing as not an issue.


Support package cascading expansion.

At present, you need to open each layer of the package to view the files, which is very inconvenient

Hi @JiaRG !
Currently, the files in each directory are fetched whenever the user opens that folder in the tree pane. I'm sorry I was not able to understand how this causes an inconvenience. Could you elaborate on how we could make this better?

(The above screenshot was taken with lazy loading turned off)
OctoTree (the extension you're using on GitHub) has the option to disable lazy loading. In SpanTree due to GitLab API limitations there's a limit on the number of files which can be fetched in one API call. This is the reason the decision to lazy load the files was taken.

Closing this issue due to inactivity


Print warning if the specified render duration is out of range.

The current minimum render duration is 0.5s. Print warning if the setting goes below.

Will be fixed in 0.9.9.

Fixed with fd88fb4.


[AST Builder] Implement order_by expression in ast_builder select

Description
Implements ORDER BY Select ast builders for order_by Expression.
Support vector only
Background
Refered https://github.com/gluesql/gluesql/issues/614
Task

[ ] Support order_by vector
[ ] Support In Sub query Expression
[ ] Support null first

In AST Builder Select module to order_by  Expression to order by
The following tests should be passed:
    #[test]
    fn order_by() {
        let actual = table("Bar")
            .select()
            .group_by("city")
            .having("COUNT(name) < 100")
            .limit(3)
            .order_by(vec!["name asc"])
            .build();
        let expected = "
            SELECT * FROM Bar
            GROUP BY city
            HAVING COUNT(name) < 100
            LIMIT 3
            ORDER BY name ASC
        ";
        test(actual, expected);

        let actual = table("Bar").select().order_by(vec!["name asc", "id desc"]);
        let expected = "SELECT * FROM Bar ORDER BY name asc, id desc";
        test(actual, expected);
    }

I'll devote on it!

I think order_by shouldn't be allowed in Sub query Expression, referring this: Can I use Order By clause in a subquery
Personally, I would prefer eliminating order_by clauses in subquery in plan/executor layer rather than blocking order_by expression in ast_builder level to make the most of the original meaning.

I wrote not clear sentence

[ ] Support In Sub query Expression

I add Task based on below test
https://github.com/gluesql/gluesql/blob/acb2498734fc1409e174d5b353fbd1c00370633e/test-suite/src/order_by.rs#L111-L146
OrderByExpr support expr, asc. so, we can use below statement
let actual = table("Bar").select().order_by(vec!["(SELECT t2.id FROM Test t2 WHERE Test.id = t2.id ORDER BY (Test.id + t2.id) LIMIT 1) asc", "id desc"]);

But, I think this statement is not clear, so i added on task


mouseover and click on a marker stopped working since 6.2.0

I'm used to create pages from the gramps application. I use https://openlayers.org/en/latest/... for the ol.js and ol.css. Since several weeks the mouseover and the click on a marker doesn't work.
Replacing latest by the real version, it stopped to work since v6.2.0
Are there any modifications for this in this release and how to correct this.
It seems I receive no more events (wheel nouse, mouseover, click)
The mouseover works only in the case I click down the left button and drag the mouse.
I am not a javascript specialist, but I can attach the copy of the javascript part of one html page.

Have you included the css and is it from the same version of OpenLayers?  See #10732

Yes, the css and the js use latest:
https://openlayers.org/en/latest/build/ol.js
https://openlayers.org/en/latest/css/ol.css

I attach a tar file used to reproduce the problem:
openlayers.bug10903.tar.txt

We saw a similar issue in our project. It seems to be related to some changes made to PluggableMap in the handleBrowserEvent function. It constantly hitting the new short-circuit block:
const target = /** @type {Node} */ (mapBrowserEvent.originalEvent.target);
if (!mapBrowserEvent.dragging) {
  if (this.overlayContainerStopEvent_.contains(target) || !(document.body.contains(target) || this.viewport_.getRootNode && this.viewport_.getRootNode().contains(target))) {
    // Abort if the event target is a child of the container that doesn't allow
    // event propagation or is no longer in the page. It's possible for the target to no longer
    // be in the page if it has been removed in an event listener, this might happen in a Control
    // that recreates it's content based on user interaction either manually or via a render
    // in something like https://reactjs.org/
    return;
  }
}

Reverting that function's changes seem to do the trick for us.

OK. I understand that. But how to solve it ?
I don't want to download the openlayers version in my project.
I only need to use the latest version.

This issue has been fixed since v6.3.1. Use npm install ol@dev to get the latest. Or if you use the legacy version, replace latest with master in the url you use to load ol.js and ol.css.

Thanks. It works correctly now. Do you have an idea when the latest version will be available ?


Get Missing Posts from the last 4 hours

@SweetmanTech just for visibility when you look into this issue!


Testing out Provider functions instead of Services

Hi Tealium Team!
I am new to Tealium and looking into using it with a new AngularJS application at work. This pull request revolves around using the Provider recipe of Angular instead of the Service or Factory.
Providers can be injected into an app's config block that runs during bootstrap, and can then be specific to the application. The main benefit I see here is that tealium.js and tealium-data.js does not need to be modified. Then, multiple projects may reference these same files but configure them to their own needs.
My changes are not complete or tested, but I wanted to propose the idea - this is my first pull request!
Thank you!

Thanks Evan.  The Provider recipe seems like a good way to go.
Quick question for you.. Can you provide a few details on what is "not complete or tested"?

@evandam Thanks again for your contributions.  Just want to check to understand what you mean by "changes are not complete."

Hi,
Thanks for the response! I saw there's some test/sample files in there, but I have not run them. I'm planning on testing and tweaking the changes over the next day or two, though. What I sent earlier was really just to demonstrate how the provider could look.

Hi Ty,
I was able to clean up my code a bit and the test page looks to be functional. I also added a directive that binds that element's click event to call the link function. Since none of these files would need to be changed, this can all also be merged into a single file that would be easier to include on a page.

@evandam This looks great.  I'd like to just go ahead and merge, but there are a few items (specifically package.json and .gitignore) that may not make sense in this repo.  Are you able to remove these from the pull request?  I'm happy to update the Readme to link to your repo and give you a shout out there for the recent updates and list you as a contributor.

@tygavin Those files were just for running a small local server to test and they've been removed.
Thanks!


Upgrade to Dropwizard 1.0.0

This is based on @hakandilek's work in #33. It also bumps the version to 1.1.1 — these were inconsistent between the parent and modules POMs, which caused the build to fail.

@hakandilek can you take a look?

Looks good, but I'd love to see the CI builds passing.

closing, bumped to 1.0.2


Lack of style for presenting error text in forms

I was studied documentation "Forms" and not found any style for error text only decorations and icons.
http://getbootstrap.com/css/
Add some styles for warning, error text.

http://getbootstrap.com/css/#helper-classes ?

You'd use http://getbootstrap.com/css/#forms-control-validation and .help-block.
We probably ought to add .help-block to the examples in that section of the docs.


feat: janky filter

instead of generating content (#2), take input and jankify it.
Similar logic to https://github.com/glasnt/emojificate

Initial implementation in #5


Support "Copy" macros for cmds/environments

Macros I have in mind are already supported by texlab, see "...Copy" commands in https://github.com/latex-lsp/texlab/commit/e4bcc7f9c961826916b45f31d7804312cdf8f8e8.
I am not sure how to best adapt the grammar for them, since these "...Copy" commands have a different signature.

This is probably handled satisfyingly by generic_command. I will close this issue for now.

There can however be problems with generic_command handling, for example
\NewCommandCopy{\CrefOld}{\Cref}

produces an error.


Harp 5728 area overlay

Overlay of areas over terrain using vertex displacement maps.
Add DisplacementFeature to MapMeshBasicMaterial, and include the displacement map vertex
shader chunk to its shader.
Change FillTechnique to generate vertex normals and texture coordinates.

https://github.com/heremaps/harp.gl/pull/694#discussion_r312380509
The difference with the other techniques listed there is that FillTechnique does not expose any texture parameter, so it doesn't make sense to have a textureCoordinateType parameter either.
However we do need to generate texture coordinates for the elevation displacement map.
Anyway, I'll remove the line you commented, it's not needed because we take care of generating texture coordinates for the fill technique in OmvDecodedTileEmitter.

Also, general comment, why do you need to

Also, general comment, why do you need to

Sorry!!!! Didn't mean to close, clicked by accident. Wanted to add a general comment, but will make it a bit more specific.


Incomplete metadata in MessageImpl return by admin.topics().examineMessage()

Is your enhancement request related to a problem? Please describe.
We can get MessageImpl object using org.apache.pulsar.client.admin.Topics#examineMessage,
but it has Incomplete metadata , e.g. keys.
Same things happens to getMessageByID and peekNthMessage, since they use the same generateResponseWithEntry to serialize the message, And only a few metadata entries are added to the response headers.
Describe the solution you'd like
Add all the metadata to the response headers.
Describe alternatives you've considered
Additional context

I would like to submit PR to fix this soon.


Jdral/strict mvar checked

Description
Related to https://github.com/input-output-hk/io-sim/pull/108 and https://github.com/input-output-hk/io-sim/pull/109. This PR brings checked StrictMVars and StrictTVars from the io-sim repository to the ouroboros-consensus repository.

Should this live in cardano-base repo?

Superseded by https://github.com/input-output-hk/cardano-base/pull/423


remove command: restrict install to the specified group only

didn't manage to fix the recursive resolver, but here's the smallest #fsharpx contribution possible ;)
references #1598

xoxo


Re-enable CRI migration for existing worker pools

How to categorize this PR?

/area os
/kind enhancement
What this PR does / why we need it:
This PR reverts

https://github.com/gardener/gardener/pull/5954
the backwards-compatibility introduced in https://github.com/gardener/gardener/pull/5870 (for https://github.com/gardener/gardener/pull/4289)
https://github.com/gardener/gardener/pull/5791

This enables CRI migration again for existing worker pools in shoot clusters.
Special notes for your reviewer:
/cc @voelzmo @ialidzhikov
Release note:

Upgrading to this Gardener version is only possible from `v1.47` (as suggested in https://github.com/gardener/gardener/blob/master/docs/deployment/version_skew_policy.md#supported-component-upgrade-order).

It is now possible again to migrate the CRIs for existing worker pools in shoot clusters.

Here's what I tested in my local setup

Created a Shoot with 2 worker pools. One with containerd, one with docker
Let is reconcile with the current g/g master
apply this PR, change the CRI configurations: containerd-->docker and vice versa

Here's what I observed

We immediately delete the old cloud-config- secret in the Shoot, therefore the old nodes cannot download it. Their cloud-config-downloader unit throws errors like this constantly

May 20 14:47:34 shoot--dev--marco-cc-rollout-3-wp-d-z1-c4bff-g5x7n systemd[1]: cloud-config-downloader.service: Scheduled restart job, restart counter is at 15.
May 20 14:47:34 shoot--dev--marco-cc-rollout-3-wp-d-z1-c4bff-g5x7n systemd[1]: Stopped Downloads the actual cloud config from the Shoot API server and executes it.
May 20 14:47:34 shoot--dev--marco-cc-rollout-3-wp-d-z1-c4bff-g5x7n systemd[1]: Started Downloads the actual cloud config from the Shoot API server and executes it.
May 20 14:47:34 shoot--dev--marco-cc-rollout-3-wp-d-z1-c4bff-g5x7n download-cloud-config.sh[14635]: Could not retrieve the metadata in secret with name cloud-config-wp-d-8c5b5
May 20 14:47:34 shoot--dev--marco-cc-rollout-3-wp-d-z1-c4bff-g5x7n systemd[1]: cloud-config-downloader.service: Main process exited, code=exited, status=1/FAILURE
May 20 14:47:34 shoot--dev--marco-cc-rollout-3-wp-d-z1-c4bff-g5x7n systemd[1]: cloud-config-downloader.service: Failed with result 'exit-code'.

Shoot goes unhealthy while trying to drain the nodes. These are the Shoot conditions

 Conditions:
    Last Transition Time:  2022-05-20T14:43:43Z
    Last Update Time:      2022-05-20T14:43:43Z
    Message:               API server /healthz endpoint responded with success status code.
    Reason:                HealthzRequestSucceeded
    Status:                True
    Type:                  APIServerAvailable
    Last Transition Time:  2022-05-20T14:43:43Z
    Last Update Time:      2022-05-20T14:43:43Z
    Message:               All control plane components are healthy.
    Reason:                ControlPlaneRunning
    Status:                True
    Type:                  ControlPlaneHealthy
    Last Transition Time:  2022-05-20T14:50:15Z
    Last Update Time:      2022-05-20T14:50:45Z
    Message:               Worker extension (shoot--dev--marco-cc-rollout-3/marco-cc-rollout-3) reports failing health check: 2 machines are waiting to be completely drained from pods. If this persists, check your pod disruption budgets and pending finalizers. Please note, that nodes that fail to be drained will be deleted automatically.
    Reason:                WorkerUnhealthyReport
    Status:                Progressing
    Type:                  EveryNodeReady
    Codes:
      ERR_INFRA_UNAUTHORIZED
    Last Transition Time:  2022-05-20T14:52:16Z
    Last Update Time:      2022-05-20T14:52:16Z
    Message:               Network extension (shoot--dev--marco-cc-rollout-3/marco-cc-rollout-3) reports failing health check: managed resource "extension-networking-calico-config" in namespace "shoot--dev--marco-cc-rollout-3" is unhealthy: DaemonSet "kube-system/calico-node" is unhealthy: too many unavailable pods found (2/6) (DaemonSetUnhealthy).
    Reason:                NetworkUnhealthyReport
    Status:                Progressing
    Type:                  SystemComponentsHealthy
  Constraints:
    Last Transition Time:  2022-05-20T14:43:43Z
    Last Update Time:      2022-05-20T14:33:37Z
    Message:               All webhooks are properly configured.
    Reason:                NoProblematicWebhooks
    Status:                True
    Type:                  HibernationPossible
    Last Transition Time:  2022-05-20T14:43:43Z
    Last Update Time:      2022-05-20T14:33:37Z
    Message:               All webhooks are properly configured.
    Reason:                NoProblematicWebhooks
    Status:                True
    Type:                  MaintenancePreconditionsSatisfied

In each pool, a node kept hanging in Ready, Scheduling disabled, seemingly trying to drain all Pods(?)
Eventually, it seems the whole thing was retried and the nodes were (force?) deleted
Shoot went back to being healthy

I'm not sure if that's what we're expecting? Is there a good reason why the Shoot should be unhealthy during this update? Is it expected that we're deleting the cloud-config secrets immediately, such that the updater script on the to-be-deleted nodes keeps failing?

@voelzmo I have tried the scenario again as well on my side and I think it is working as desired.

Is there a good reason why the Shoot should be unhealthy during this update?

This can happen with any updates that rolls the nodes, I don't think it specific to the change of the CRI. Nodes are being drained, i.e. system components are being evicted and moved to new nodes which might take some time, hence the SystemComponentsUnhealthy condition might become False for some time. Also the EveryNodeReady can become False if the drain process takes some time or the rolling update in general takes some time (also depends on maxSurge/maxUnavailable).

Is it expected that we're deleting the cloud-config secrets immediately, such that the updater script on the to-be-deleted nodes keeps failing?

I think yes, this is how updates on existing/to-be-removed nodes are prevented. This also happens when you change the Kubernetes minor version.

I guess we're good to go then!
/approve

/approve


history files of training. both imdb/wiki and UTKface

Can you share your "history_16_8.h5 "(history files) file, training is taking a lot of time, i need to plot the graphs. You have already provided graphs of imdb-wiki, can you share history file of UTKface dataset? or the graph itself.

Like this:


Made Minor UI style improvements to the properties panel

Description

Minor UI style improvements to the properties panel
What is the purpose of this pull request?

[ ] New feature
[ ] Documentation update
[x] Bug fix
[ ] Refactor
[ ] Other

It looks good to me but deferring to @drfarrell for the final design pass 👍

It looks good to me but deferring to @drfarrell for the final design pass 👍 Great stuff!

The inputs and radii look good now – I also tightened some of the gaps between inputs to be more consistent

how do I resolve the merge conflict?

how do I resolve the merge conflict?

I think @Kitenite is taking a look at it in a bit but we should be good to go later today 😎

Looks awesome, great work @SkyC0der !


Accelerator for some commands: "Center", "Fit to screen"

Can we get accelerator key for : "Center", "Fit to screen"

There is (CTRL=CMD on Mac)
CTRL-F for "Fit to Screen"
CTRL-E for "Export"
These keybindins used to work as well
CTRL-C for "Center"
CTRL-Z for "Undo"
CTRL-SHIFT-Z for "Redo"
These seem to be broken as Theia has bound them in the meantime. I think we should go for a different modifier key for all these shortcuts to avoid this ambiguities. Suggestions are welcome.

I am on UBUNTU and CTRL-C  does not work
Also, there is no indication about the key bindings in the Diagram sub-menu. We cannot let the end-user try every combination to find-out the key-bindings for each command

Changed to ALT-C, ALT-F and ALT-E and added accelerators to menu

Would be nice to link with the commit ?

https://github.com/theia-ide/theia-sprotty/commit/b49c2f8e472efc78242cab361643626772d64783


Initial Page Pop up should have drop down for DB, Schema, stage

It would fairly be easy to create a drop down list for DB, Schema and stage in the streamlit app so it doesn't have to be hand typed.

Sample code for database, schema, table, stage and yaml file dropdowns:
`    # Show databases and create a select box for the database selection
databases_df = session.sql("SHOW DATABASES").collect()
databases = [row['name'] for row in databases_df]
database_selector = st.selectbox("Select Database", databases)
# Show schemas based on the selected database and create a select box for schema selection
schemas_df = session.sql(f"SHOW SCHEMAS IN DATABASE {database_selector}").collect()
schemas = [row['name'] for row in schemas_df]
schema_selector = st.selectbox("Select Schema", schemas)

# Show tables based on the selected schema and create a select box for table selection
tables_df = session.sql(f"SHOW TABLES IN {database_selector}.{schema_selector}").collect()
tables = [row['name'] for row in tables_df]
table_selector = st.selectbox("Select Table", tables)

# Show stages based on the selected schema and create a select box for table selection
stages_df = session.sql(f"SHOW STAGES IN {database_selector}.{schema_selector}").collect()
stages = [row['name'] for row in stages_df]
stage_selector = st.selectbox("Select Stage", stages)

# Show YAML files based on selected stage
yaml_df = session.sql(f"ls @{database_selector}.{schema_selector}.{stage_selector} pattern = '.*.yaml*'").collect()
yaml = [row['name'] for row in yaml_df]
yaml_selector = st.selectbox("Select Yaml", yaml)`

Commenting on this myself for tracking; I've added a table selector dropdown to the builder flow, but it currently works by running SHOW TABLES;. This query can timeout / fail if the user has over 10k tables, so it'd also be better to refactor the builder table selection to use the same db/schema/tables dropdown in order to limit the search space of available tables.


Allow to define initial context

Fixes #13

I am closing this PR as discussed in https://github.com/tartiflette/tartiflette-starlette/pull/30#discussion_r299014593.


Change master branch to main

Let's be allies and make this change that means a lot.
Here is a blog post that explain a little more why it's important, and how to easily do it. It will be a bit more complicated with automation, but we still should do it!

Closed by #54