[BEAM-9566] Mitigate performance issue for output timestamp watermark holds

Benchmarks have shown that the minimum output timestamp computation over all
timers is very expensive because we have to iterate over all keys in the state
backend. This is especially costly for RocksDB.
This change introduces a cache which stores and updates the timer output
timestamps such that the minimum can be retrieved efficiently.
Only at startup the cache is populated from the state backend. This should
give us roughly the same performance as before introducing output timestamps for
timers.
The following have been run with RocksDB:
Nexmark Query 12 before:
  Conf  Runtime(sec)    (Baseline)  Events(/sec)    (Baseline)       Results    (Baseline)
  0000         105.3                       950.0                        9039
  0001           2.2                      4466.3                         196

Nexmark query 12 with this change:
Performance:
  Conf  Runtime(sec)    (Baseline)  Events(/sec)    (Baseline)       Results    (Baseline)
  0000           6.0                     16730.8                        1919
  0001           0.8                     12391.6                         196

For more details please see BEAM-9566.

Unrelated test failure due to #11205.

Run Flink Runner Nexmark Tests

Run Flink ValidatesRunner

Run Java Flink PortableValidatesRunner Streaming

Run Flink ValidatesRunner

Thanks @iemejia!
CC @amaliujia This is another addition I want to backport which fixes the performance issues with output timestamps.


Re-uploading an interrupted upload with a different object fails

Expected behaviour
mc fails to upload to an object, if a previous attempt (with a different object) was interrupted.
This was tested against a distributed server (and reported at https://github.com/minio/minio/issues/2615 ) - however this is a bug with this client library.
Actual behaviour
mc should upload the new object successfully.
Steps to reproduce the behaviour

Upload a large file using mc cp, and hit Ctrl+C to interrupt it - (1.5 GB file in my test).
Upload a different file (100MB in my test) to the same object using mc cp, you get something similar to:

mc: <ERROR> Failed to copy ‘/tmp/test’. Unexpected number of parts found Want 3, Got 15
mc: <ERROR> Session safely terminated. To resume session ‘mc session resume cwQZMpRF’

Minio version
Version: 2016-09-03T02:22:11Z
Release-Tag: DEVELOPMENT.2016-09-03T02-22-11Z
Commit-ID: 0098879c6acc743f5d247352701993563f327634

System information
Linux.

https://github.com/minio/minio-go/pull/505


Puppeteer loses control of browser in Parallel

Description
We are trying to run multiple instances of puppeteer with chrome for multithreaded scraping. Launching them by Parallel with max parallel threads limit of 20.
Using instances instead of tabs because each instance works with own proxy.
After a bit of time it loses control of the browsers and launches a new browser and that repeats over and over again. So after some time there will be 500 orphaned browsers.
Tried killing orphaned browsers by all kinds of ways and that doesn’t work.
What are we doing wrong?
Parallel.ForEach(list, new ParallelOptions() { MaxDegreeOfParallelism = puppeteerTreads }, site =>
{
    for (int oo = 0; oo < retry; oo++)
    {
        try
        {

            MyProxy currentProxy = null;
            Browser browser = null;
            Page page = null;
            try
            {

                while (browser == null)
                    try
                    {
                        if (HelperParsing.ProxyList.Count > 0)
                        {
                            currentProxy = FilesManager.GetWebProxy(HelperParsing.ProxyList.ToList());
                            browser = Puppeteer.LaunchAsync(new LaunchOptions
                            {
                                Headless = _options.Headless,
                                Args = new[]
                                {
                                $"--proxy-server={currentProxy.Address}:{currentProxy.Port}",
                                "--no-sandbox",
                                "--load-extension="+AdBlockPlus
                            },
                                IgnoreHTTPSErrors = true,
                                DefaultViewport = null,

                            }).Result;
                        }
                        else
                        {
                            browser = Puppeteer.LaunchAsync(new LaunchOptions
                            {
                                Headless = _options.Headless,
                                Args = new[]
                                {
                                "--no-sandbox",
                                "--load-extension="+AdBlockPlus,
                            },

                                IgnoreHTTPSErrors = true,
                                DefaultViewport = null,

                            }).Result;
                        }
                    }
                    catch (Exception e)
                    {
                        Console.WriteLine(e);

                    }

                Browsers[browser] = null;
                var pagesW = browser.PagesAsync().Result;
                if (pagesW.Length > 0)
                {
                    page = pagesW[0];
                }
                else
                {
                    page = browser.NewPageAsync().Result;
                }

                try
                {
                    if (currentProxy != null)
                    {
                        page.AuthenticateAsync(new Credentials()
                        {
                            Password = currentProxy.Password,
                            Username = currentProxy.Username
                        }).Wait();
                    }
                }
                catch (Exception e)
                {

                }

            }
            catch (Exception e)
            {

            }

            try
            {
                page.CloseAsync().Wait(30000);

            }
            catch (Exception e)
            {

            }
            try
            {
                browser.CloseAsync().Wait(30000);
            }
            catch (Exception e)
            {

            }

            try
            {
                var process = Process.GetProcessById(browser.Process.Id);
                if (browser.Process.Id > 0 && process?.HasExited == false)
                {
                    process.Kill();
                }
            }
            catch (Exception e)
            {

            }
            break;

        }
        catch (Exception e)
        {

        }
    }
});

Versions
Using PuppeteerSharp 3.0.0 and .net core 3.1

First of all, may I suggest a little refactoring:
Parallel.ForEach(list, new ParallelOptions() { MaxDegreeOfParallelism = puppeteerTreads }, async site =>
{
    for (int oo = 0; oo < retry; oo++)
    {
        MyProxy currentProxy = null;

        if (HelperParsing.ProxyList.Count > 0)
        {
            currentProxy = FilesManager.GetWebProxy(HelperParsing.ProxyList.ToList());
        }

        var launchArgs =
        {
            "--no-sandbox",
            "--load-extension=" + AdBlockPlus,
        }.ToList();

        if (currentProxy != null)
        {
            launchArgs.Add($"--proxy-server={currentProxy.Address}:{currentProxy.Port}");
        }

        var launchOptions = new LaunchOptions
        {
            Headless = _options.Headless,
            Args = launchArgs.ToArray(),
            IgnoreHTTPSErrors = true,
            DefaultViewport = null,
        };

        int? processId = null;

        try
        {
            using Browser browser = await Puppeteer.LaunchAsync(launchOptions);
            processId = browser.Process.Id;
            using Page page = await browser.NewPageAsync();

            if (currentProxy != null)
            {
                await page.AuthenticateAsync(new Credentials
                {
                    Username = currentProxy.Username,
                    Password = currentProxy.Password,
                });
            }

            // scraping code goes here

            break;
        }
        catch (Exception e)
        {
            Console.WriteLine(e.Message);
        }
        finally
        {
            try
            {
                Process process = Process.GetProcessById(processId);
                process.Kill(true);
            }
            catch (Exception)
            {
            }
        }
    }
});

Second of all, may I suggest using https://github.com/apify/proxy-chain to enable a different proxy per page. I'll even help you out with the code.

After a bit of time it loses control of the browsers

Could you elaborate on that? Does the browser disconnect? Does Puppeteer throw an exception?

Sometimes launching multiple browser instances in quick succession will hit resource limits of your operating system and the Browser process can't start.

Hi Robin, thank you for your assistance.
Tried running 6 browsers on 12 core 64gb dedicated server, so resources aren’t a problem. Initially it runs 6 but very soon it starts to lose control and launch more and more and more.
Looked into your refactored code, i see the only major difference is that you take browser PID right after launching it and doing process.Kill(true);
But that doesn’t solve the loss of control.
See the following 2 videos, note the maxdegreeofparallelism = 4
https://www.screencast.com/t/n3FT9KYt
https://www.screencast.com/t/vpdpJLJPyV

Second of all, may I suggest using apify/proxy-chain to enable a different proxy per page. I'll even help you out with the code. Using tabs is vastly more efficient.
@Androbin , @kblok
Does this Proxy tools work with puppeteer-sharp? How to configure?
What are the other good free/paid proxy server which can be used with puppeteer-sharp?

@anomepani Since the tool is written in Javascript, you need to launch it as a separate process and exchange messages through e.g. a little HTTP server, I recommend express. I can help you with the code for your use case if you want.

Closed due to inactivity. Feel free to reopen it if needed.


chore: upgrade to go 1.22

upgrade anumber of dependencies as well
related to jenkins-x/jx#8670

/override SonarCloud Code Analysis
/cc tomhobson JordanGoasdoue Skisocks


fix(menu): change container where menu popup is appended

Change menu popup container

@arol

:+1: ok adhoc change, we will review it later


WIP: re-write GROG/Cartesian interface

@andrewwmao : I think this is ready to go – can you take a look? We might want to make similar simplifications to the NFFT code as well – but that might be a different PR for a different time. That linear operator wrapper code I had originally written is just really ugly and I think we can get rid of it and always return a linear operator.


added isInArea(WorldPoints) and isInArea(WorldPoint, int).

will check if players in specified area. added 2, one for two world points (NW and SE corners) and one for the center area + range.

Oh nice method! Thanks!


Fix jsx id bug when using interpolation in template string.

Fix #107

@lixiaoyan good catch and thanks for the PR, can you add a test for this use case?

@giuseppeg I think test/fixtures/expressions.js is enough, I have no idea to write a test for and only for this bug.

I have no idea to write a test for and only for this bug

@lixiaoyan something like your example from #108 should do it. They should render with different jsx id

@lixiaoyan thank you!

@nkzawa can you release 0.5.4 ?

Thank you @lixiaoyan.... this has been messing me up for hours today, and I was just about to submit this same PR.  I pulled down the latest, saw that you had already done what I was just about to do, kicked myself for not checking, and then wanted to thank you 👍

We've all been there @cgood92. Thank you for thinking about helping out styled-jsx!


Missing firewallrule operations

The CLI appears to be missing the firewallrule operations. It does not seem to appear in the CLI help or code?

https://github.com/profitbricks/profitbricks-cli/releases/tag/v1.2.11


UI development docs Backbone/Coffeescript => es6/React/Redux (WIP)

Rewrites the UI development docs to properly mention that React and es6 are being used instead of Backbone and Coffeescript.
This is a first draft. I'm sure there are things I could do better, so please review and rip into this.
cc @tpetr @ssalinas @wolfd

LGTM


feat: updated calendar section

Description
This PR fixes #1202

Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

@thisiskaransgit Let's discuss this on Websites Meeting call on Monday. Please add this as an agenda item in the meeting mintes if you would. :)

We might be intermingling Meshery and Layer5 too much.

We might be intermingling Meshery and Layer5 too much.

Yea, since new pages are being worked on, we will probably update this graphic later and point those links to meshery.io new pages.


[ROS2] There Is Not "sudo" Command on Windows 10 and "rosdep" Do Not Work

Hi guys,
I am learning about ROS2 on Windows 10 today.
The ROS2 tutorial told,

But the fact is:

there is no sudo command in CMD terminal of Windows 10;
If the sudo is deleted as rosdep install -i --from-path src --rosdistro <distro> -y, the terminal shows "no such command".

Your answer and idea will be appreciated!

Please ask these kinds of questions on https://answers.ros.org. That way they are all in one place and are easily searchable later. Thanks. I'll close this out for now.

Hi @clalancette , I do not think this question ought to be asked on https://answers.ros.org, because obviously, the command given by the tutorial do not suit Windows 10 system, which need to be corrected.

Hi @clalancette , I do not think this question ought to be asked on https://answers.ros.org, because obviously, the command given by the tutorial do not suit Windows 10 system, which need to be corrected.

Hi @clalancette , I do not think this question ought to be asked on https://answers.ros.org, because obviously, the command given by the tutorial do not suit Windows 10 system, which need to be corrected.

The thing is that you need to follow the instructions specific for Windows.  For each of those things where you are having problems on https://index.ros.org/doc/ros2/Tutorials/Turtlesim/Introducing-Turtlesim/, there is a different tab for Linux, macOS, and Windows, and you need to follow the Windows one on Windows 10.  There it does not say anything about sudo or rosdep, because as you see those do not exist there.

Hi @clalancette , I do not think this question ought to be asked on https://answers.ros.org, because obviously, the command given by the tutorial do not suit Windows 10 system, which need to be corrected.

The thing is that you need to follow the instructions specific for Windows. For each of those things where you are having problems on https://index.ros.org/doc/ros2/Tutorials/Turtlesim/Introducing-Turtlesim/, there is a different tab for Linux, macOS, and Windows, and you need to follow the Windows one on Windows 10. There it does not say anything about sudo or rosdep, because as you see those do not exist there.

In fact, the command of "sudo rosdep install -i --from-path src --rosdistro  -y" lies here--4 Resolve dependencies¶-- .
Besides, there is not a tab for Windows, and here is the screenshot,

And I think it will be much better, if there's a tab for Windows.

Ah, all right.  Now I see.
In the future, please link to what you are looking at and the exact area you are having problems with.  That will avoid this kind of miscommunication.
@maryaB-osr It looks like we should have some tabs in this page for Linux, macOS, and Windows, as we only run rosdep on the Linux side.

@clalancette , thanks sincerely for reopening my issue.
And I will try to describe my issue in a more detailed way.

@songyuc For now the tutorials target Linux specifically. See the note at the top of the tutorials page:

Currently, the beginner level tutorials target Eloquent, installed from Debians on Linux. Certain features and commands may not be available for older distributions/other installation types.

So there's going to be a few things that won't work exactly the same for Windows unfortunately.


Adding article describing the use of NCache as an ASP.NET Core SignalR Backplane

Hello,
This article explains how NCache can be used as a SignalR backplane to scaleout a SignalR app. NCache is a distributed cache that could be used for object caching, session caching, EF Core provider etc. Following  are the main points of the article:
1- The NCache APIs and NuGet package to include in your app code to set up NCache as a backplane.
2- Configuration options included in an NCache client configuration file that determine the NCache client-server communication behavior.
3- Reliability of NCache backplane using the replication strategies employed in NCache cluster topologies.
4- Logging NCache backplane operations.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: Obaid-Rehman sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Hello @Obaid-Rehman ... This will be handled by management and SignalR pros.

@bradygaster  is this something you want to maintain?

Suspiciously related:
https://github.com/aspnet/AspNetCore.Docs/pull/16957

I think this works better as a blog. @bradygaster  please respond.

Agreed with @Rick-Anderson - I think this would be better on your site rather than on the official ASP.NET docs. Unless there's some reason we can't, i'd be happy linking to your article, but we'd need it to be maintained and for you to reach out to us with ample time to remove the link if you deprecate. As far as supporting an official doc on it, I'd prefer we not sign up for this (it would be a first for our already-stretched-think collective documentation efforts).


Eanble searching by birth place

Dependent on #167 Discussion of how current search works now in #167.

How does the current search by birthplace work, given that the place may not be associated with a county, and is twys?

In FC1 we can select 'all Census Places,  'all Census Counties'  'All birth
Counties' and then type in the Place of birth.
FC1 does not give you the option of All Census Years, so you have to search
one Census year at a time.
FC1 also lets you search by 'occupation ' 'Street' 'ED' 'Civil Parish'
'Folio'  'Language' etc. etc..
Not sure how many people use those options as you need to know most of them
to use them?
On Thu, 27 Apr 2017 at 11:59, PatReynolds<EMAIL_ADDRESS>wrote:

How does the current search by birthplace work, given that the place may
not be associated with a county, and is twys?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/FreeUKGen/FreeCENMigration/issues/242#issuecomment-297682133,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANC91kvl1H1ji9sewfmrsUiE6NpcLAkSks5r0HUHgaJpZM4NI4ja
.

A new survey task has emerged from this in terms of how we change the search.

@Vino-S please add link to survey (sent by email) to search page (jcode already exists for the heading 'Birth Place', but rather than any search function, we need at this point the text "We are developing the birth place search feature. We would be grateful if you could spare 10 minutes to fill in our survey - this will take you to a new tab/page, so you can come back to this tab/page to complete your search."  Drawing of layout here: https://docs.google.com/a/freeukgenealogy.org.uk/drawings/d/1LcD-izunL-NPqkC613gyvPZcfwSW2seky5cKXQnuUuE/edit?usp=sharing


Handle mapping between chromosomes and files

In our initial use case, we have the comfort of a deterministic mapping between chromosomes and actual VCF files, i.e. chr4 always exists only on a specific file named in a GREGoR data table.
I'm not sure we can take that for granted. Maybe joint callsets aren't available and everything actually is fragmented over per-patient VCFs.
I also think we need to be designating some kind of file URI in addition to chromosomes regardless... otherwise it's not clear to me how you make the hop from getting a chr/pos for a VRS ID without hard-coding the place to extract the VCF row from.

Since we already have a tight coupling of VCF to index, would it make sense to make the values in the column the exact same as the VCF (eg chr1 instead of 1)? Editing the VRS ID to just use the hash makes sense but I don't think we should try and compress any of the other fields represented by the VCF.

Since we already have a tight coupling of VCF to index, would it make sense to make the values in the column the exact same as the VCF (eg chr1 instead of 1)? Editing the VRS ID to just use the hash makes sense but I don't think we should try and compress any of the other fields represented by the VCF.

Oh yeah, definitely agree -- I'm wondering if we need an additional column to associate to a file URI or something (since GREGoR data is spread across multiple files, we'd need someway to be like "this record is on chr4, that means it's in gs://fc-secure-zzzzzzz-chr4")


x/tools/gopls: missing references to methods on generic types

Repro:

clone https://github.com/hashicorp/terraform-provider-aws
open ./internal/types/option.go
find references on methods, e.g. (Option[T]).MustUnwrap<EMAIL_ADDRESS>finds no references, but v0.11.0 does

CC @adonovan

The root cause is failure of objectpath.For for the MustUnwrap method object during index construction (xrefs.Index).


KubeArmor policy breaking wordpress application

Bug Report
General Information

Environment: GKE
Version: 1.22.12-gke.300
Policy usedapiVersion: security.kubearmor.com/v1
kind: KubeArmorPolicy
metadata:
  name: wordpress-knoxuser-wordpress-latest-allow-wordpress-network-access
  namespace: default
spec:
  action: Allow
  network:
    matchProtocols:
    - fromSource:
      - path: /usr/sbin/apache2
      protocol: raw
    - fromSource:
      - path: /usr/local/bin/apache2-foreground
      - path: /usr/local/bin/php
      - path: /usr/sbin/apache2
      protocol: tcp
    - fromSource:
      - path: /usr/local/bin/php
      - path: /usr/sbin/apache2
      protocol: udp
  selector:
    matchLabels:
      app: wordpress
      tier: frontend
  severity: 1
  tags:
  - Wordpress
  - TCP
  - UDP
  - RAW
  - Network

Target containers/pods: wordpress

To Reproduce

Deploy WordPress application [Link]
Port forward to use the WordPress UI

kubectl port-forward -n wordpress-mysql service/wordpress --address <IP_ADDRESS> --address :: 8088:80

Check karmor logs

Expected behavior
The application should show the WordPress UI
Current behaviour
The policy is breaking the access to WordPress UI. Once the policy is removed using kubectl delete the application starts to work as intended. No deny logs are generated in  karmor log
Further troubleshooting
The following error messages are generating after the policy applied and tried to access to the UI
type=AVC msg=audit(1663934983.207:68531): apparmor="DENIED" operation="accept" profile="kubearmor-wordpress-mysql-wo
rdpress-wordpress" pid=1390470 comm="apache2" lport=80 family="inet6" sock_type="stream" protocol=6 requested_mask="
accept" denied_mask="accept"
type=AVC msg=audit(1663934984.211:68532): apparmor="DENIED" operation="accept" profile="kubearmor-wordpress-mysql-wo
rdpress-wordpress" pid=1390471 comm="apache2" lport=80 family="inet6" sock_type="stream" protocol=6 requested_mask="accept" denied_mask="accept"

Restarting the Pod helps!
that is, starting the container with the new profile solves the issue.
Need deeper analysis for understanding why it fails when rules are changed when container is already running.

Hey @vishnusomank, can you please update if you are still facing the issue?

Yes it's still an issue.

This is now fixed based on changes in autodiscovered policies.


Add Enum for agent types

This pull request adds an enum class for the various types of agents used in the project, located in the agent_types.py file. Currently, the project is using hardcoded strings for the initialization of these agents, which can lead to errors and make the code harder to maintain. With the introduction of the new enums, the code will be more readable and less error-prone.
The new enum members include:

ZERO_SHOT_REACT_DESCRIPTION
REACT_DOCSTORE
SELF_ASK_WITH_SEARCH
CONVERSATIONAL_REACT_DESCRIPTION
CHAT_ZERO_SHOT_REACT_DESCRIPTION
CHAT_CONVERSATIONAL_REACT_DESCRIPTION

In this PR, I have also replaced the hardcoded strings with the appropriate enum members throughout the codebase, ensuring a smooth transition to the new approach.

Addressed the issue where hardcoded strings instead of the AgentType enums were still being used in some of the examples within the documentation.

this is awesome.
thinking about backwards compatibility - this will still work for people on the old version, right? because the string is still the same under the hood?

Yes, exactly. Due to the AgentType class inheriting from str, the underlying string representation is maintained, ensuring backwards compatibility for users on older versions.


Add new path to REST API for CQL entrypoint (/v2/cql)

Add new path as discussed in https://github.com/stargate/stargate/discussions/2288

Added via https://github.com/stargate/stargate/pull/2266


PHP version bumped to 7.3

@JBlond commented on commit 101b8fa the following:

Well jblond/php-diff still uses PHP 7.2 and phpunit 8
But we could change that to 7.3 since support for 7.2 is almost over. https://www.php.net/supported-versions.php

(https://github.com/DigiLive/gitChangelog/commit/101b8faa34fbae084eb0b342c25c02ff5d62fef4#commitcomment-43511535)

I was doubting about bumping to 7.3.
For the same reason and the use of PHPUnit v9, the version was bumped.
However the market share of php 7.2 (32%) is larger than 7.3 (28.1%), according to https://w3techs.com/technologies/details/pl-php/7
Let give it a thought which would be the better option... Bump php-diff to 7.3 or lower gitChangeLog to 7.2?
I'll be happy to lower the versions for the sake of php-diff.


Overriding the output of HttpResponseException?

Hi,
is it possible to override the general output of all HttpResponseExceptions, such as BadRequestException and ForbiddenException?
Usecase: I'd like to have my JSON exception responses to not include the "docs" field.
Ty

You should able to overwrite them using app.exception(Class, Handler).

That works good enough, thanks


Do you have a project using this library? Tell us about it!

We would like to have several examples of projects using this library to do cool things with packet capture data for the readme.
If you are an author, contributor or fan of such a library please tell us about it! :smiley_cat:

Sure thing @jmaxxz . I am building 3 way handshake visualizer.
https://github.com/vigneshshanmugam/tcp-handshake
Will include it once i am done with that.

Hi, my friend and I also building Wall of Sheep  (a.k.a.Password Sniffer) or using this library. At first we using Python with pycap (live packets capture) and dpkt (packets decode) to build it but it can't working well on OSX. Until I found this library in Node.js and I changed to use Node.js.
Currently support to get HTTP, FTP, IMAP and POP3 login account/password.
If you want to know detail about the project click the link to check it out :smile:
https://github.com/John-Lin/wallofsheep

@John-Lin That is really awesome. I have been working on a replacement for dsniff based on this library. If I ever get there far enough off the ground we should have a code sharing opportunity.


分页测试

Coverage decreased (-0.1%) to 97.475% when pulling 44f1b75fc639bfa97565a547fb69101661dd0063 on Ccrool:master into a8fbb46ffb6b755b92d1877d30cf64dbfe287aad on rugao-web-fullstack:master.

Coverage decreased (-0.6%) to 99.432% when pulling fcf3d62453489232aceeeb039930009cd9344df7 on Ccrool:master into 2bb5831f13ca91aae40069cb836ef27912ef7514 on rugao-web-fullstack:master.

用户信息显示分页测试

Coverage decreased (-0.1%) to 97.802% when pulling fb1e1bf9fe451205dd43818680509b90243a57a8 on Ccrool:master into b4cd54eeca48134ba8cfc0d21ffb29588de1ca2c on rugao-web-fullstack:master.


Delegate HF for CDS-97612

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[x] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://666fdd23048ee0a564e87c36--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://666fddc4e5d72ba97ecf80e3--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://666fef341c865f04990c83bf--harness-developer.netlify.app

hotix is not needed as regular release completed

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://666ff2928c1d761fcec20f7d--harness-developer.netlify.app


[JBPM-10075] - Fix in test when resolving dialect from quarkus properties EMF

JBPM-10075: PostgreSQL validation fails at Hibernate after upgrade to Quarkus 2.7.5

How to replicate CI configuration locally?

Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.
build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.

How to retest this PR or trigger a specific build:

a pull request please add comment: Jenkins retest this
a full downstream build please add comment: Jenkins run fdb

Can one of the admins verify this patch?


Interrupt scrape data

Hello, I'm trying to use your exporter, but it doesn't work correctly for me.
I installed the latest version of the exporter in the Kubernetes cluster, added 2 dashboards and set the system requirements to default. For a period of time he worked. But after a few hours, my graphs for all load balancers began to show breaks.

I found errors in the pod:

As far as I understand, errors when trying to get data from the cloud and the name of the metrics can be different.
I tried to use the previous version 1.1.0, but it didn't help.
I tried to raise the system characteristics and it did not help either.
Then I decided to create another pod with an exporter and they started to fall at the same time.
I also tried setting different "SCRAPE_INTERVAL" times, but that didn't help either.
Deployment config:
apiVersion: apps/v1
kind: Deployment
metadata:
name: hetzner-load-balancer-prometheus-exporter
labels:
app: hetzner-load-balancer-prometheus-exporter
spec:
replicas: 1
selector:
matchLabels:
app: hetzner-load-balancer-prometheus-exporter
template:
metadata:
labels:
app: hetzner-load-balancer-prometheus-exporter
annotations:
prometheus.io/scrape: 'true'
prometheus.io/port: '8000'
prometheus.io/path: '/'
spec:
containers:
- name: exporter
image: wacken/hetzner-load-balancer-prometheus-exporter:latest
env:
- name: LOAD_BALANCER_IDS
value: "id"
- name: ACCESS_TOKEN
value: "token"
- name: SCRAPE_INTERVAL
value: '60'
resources:
requests:
memory: "128Mi"
cpu: "250m"
limits:
memory: "128Mi"
cpu: "250m"
ports:
- containerPort: 8000
LoadBalancer Config:
"id": <id_lb>>,
"name": "load_balancer1",
"public_net": {
"enabled": false,
"ipv4": {
"ip": "<ip_address>",
"dns_ptr": "static.<ip_address>.clients.your-server.de"
},
"ipv6": {
"ip": "<ip_address>",
"dns_ptr": ""
}
},
"private_net": [
{
"network": <id_network>,
"ip": "<ip_address>"
}
],
"location": {
"id": 2,
"name": "nbg1",
"description": "Nuremberg DC Park 1",
"country": "DE",
"city": "Nuremberg",
"latitude": 49.452102,
"longitude": 11.076665,
"network_zone": "eu-central"
},
"load_balancer_type": {
"id": 1,
"name": "lb11",
"description": "LB11",
"max_connections": 10000,
"max_services": 5,
"max_targets": 25,
"max_assigned_certificates": 10,
"deprecated": null,
"prices": [
{
"location": "hel1",
"price_hourly": {
"net": "0.0088000000",
"gross": "0.0096000000"
},
"price_monthly": {
"net": "5.3900000000",
"gross": "5.88000000"
}
},
{
"location": "ash",
"price_hourly": {
"net": "0.0088000000",
"gross": "0.0096000000"
},
"price_monthly": {
"net": "5.3900000000",
"gross": "5.88000000"
}
},
{
"location": "nbg1",
"price_hourly": {
"net": "0.0088000000",
"gross": "0.0096000000"
},
"price_monthly": {
"net": "5.3900000000",
"gross": "5.88000000"
}
},
{
"location": "fsn1",
"price_hourly": {
"net": "0.0088000000",
"gross": "0.0096000000"
},
"price_monthly": {
"net": "5.3900000000",
"gross": "5.88000000"
}
}
]
},
"protection": {
"delete": false
},
"labels": {
"env": "",
"name": "",
"project": "",
"created_by": "terraform",
"full_project_name": ""
},
"created": "2022-03-29T09:35:24Z",
"services": [
{
"protocol": "tcp",
"listen_port": 9000,
"destination_port": 9000,
"proxyprotocol": false,
"health_check": {
"protocol": "tcp",
"port": 9000,
"interval": 15,
"timeout": 10,
"retries": 3
}
},
{
"protocol": "tcp",
"listen_port": 8123,
"destination_port": 8123,
"proxyprotocol": false,
"health_check": {
"protocol": "tcp",
"port": 8123,
"interval": 15,
"timeout": 10,
"retries": 3
}
}
],
"targets": [
{
"type": "server",
"server": {
"id":
},
"health_status": [
{
"listen_port": 9000,
"status": "healthy"
},
{
"listen_port": 8123,
"status": "healthy"
}
],
"use_private_ip": true
},
{
"type": "server",
"server": {
"id":
},
"health_status": [
{
"listen_port": 9000,
"status": "healthy"
},
{
"listen_port": 8123,
"status": "healthy"
}
],
"use_private_ip": true
},
{
"type": "server",
"server": {
"id":
},
"health_status": [
{
"listen_port": 9000,
"status": "healthy"
},
{
"listen_port": 8123,
"status": "healthy"
}
],
"use_private_ip": true
},
{
"type": "server",
"server": {
"id":
},
"health_status": [
{
"listen_port": 9000,
"status": "healthy"
},
{
"listen_port": 8123,
"status": "healthy"
}
],
"use_private_ip": true
},
{
"type": "server",
"server": {
"id":
},
"health_status": [
{
"listen_port": 9000,
"status": "healthy"
},
{
"listen_port": 8123,
"status": "healthy"
}
],
"use_private_ip": true
},
{
"type": "server",
"server": {
"id":
},
"health_status": [
{
"listen_port": 9000,
"status": "healthy"
},
{
"listen_port": 8123,
"status": "healthy"
}
],
"use_private_ip": true
}
],
"algorithm": {
"type": "round_robin"
},
"outgoing_traffic": 0,
"ingoing_traffic": 2205000,
"included_traffic":<PHONE_NUMBER>5520
},
{
Could you help me to solve the problem? Thanks a lot.

The reason is limit of connection to Hetzner API .


standings based auth

doesnt seem to work at all.got blue to a corp and it doesnt assign perm. after a while perms get removed but there was never any perms


Can I dump an associate array with fields into the fields key of bootstrapvalidator?

I assumed I could do the following (the enabled validator is a custom validator, it works)..

var bv = {
    message: {
        notEmpty: {
            message: 'The street name is required and can\'t be empty.'
        }
    },
    validators:{
        enable_only: {
            enabled: {
                valid: true
            }
        },
        options: {
            enabled: {
                valid: true
            },
            date: {
                format: 'DD/MM/YYYY',
                message: 'The value is not a valid date. The format of the date is DD/MM/YYYY'
            }
        }
    },
    fields: {
        trn: {
            validators: {
                regexp: {
                    regexp: /\d{9}/,
                    message: 'This is not a trn number, \n trn must be nine (9) digits'
                }
            }
        },
        address:{
            location: {
                helpMessage: 'Give the name of the Building/Complex/Apt./Suite/lot # and housing development.',
                validators: {
                    enabled: {
                        valid: true
                    }
                }
            },
            street_num: {
                validators: {
                    enabled: {
                        valid: true
                    }
                }
            },
            street_name: {
                validators: {
                    notEmpty: {
                        message: 'The street name is required and can\'t be empty.'
                    },
                }
            },
            town_district: {
                validators: {
                    notEmpty: {
                        message: 'The town/district is required and can\'t be empty.'
                    },
                }
            },
            post_box: {
                validators: {
                    digits: {
                        message: 'PO box can contain digits only.'
                    }
                }
            },
            post_office: {
                validators: {
                    enabled: {
                        valid: true
                    }
                }
            }
        }
    }
};

In a libs file and then have this in another file...
  $("form[name='address_info']").bootstrapValidator({
        field: bv.fields.address
    });

Any thoughts?

This is not the same library you are referring to.

Oh... sorry... I just realized that I clicked on the wrong thing.. In any case the answer is yes...


feat(issue): Show issues author and comments count

Before:

After:

The subtitle seems to be changed a little, because its original styles are provided by react-native-elements. Now in order to use custom subtitle, I set them based on our constants.
I am not very good at UI design. Waiting for your suggestions. :)

@chinesedfan Nice addition ! We are currently in a feature-freeze mode preparing 1.3 (see #381) but maybe @housseindjirdeh will let this one ships in.
You can join us on https://gitter.im/git-point/Lobby to help us prepare 1.3 this week end ;)

@chinesedfan how about moving the comment counter to the end of the issue title and adding a comment icon from Octicons in front of it using the Icon component from react-native-elements? The background can then be removed, only can add a small padding on the left.

And it's unclear what the date really is - the date of the start or update, I would add clarification like created 3d ago or opened 3d ago.
Or let's then make it as on GitHub?
#501 opened 3 days ago by mhf-ir

@machour Thanks for mentioning that. I think we can work having this shipped in our next release :)
@chinesedfan thanks a million for this. @lex111 said exactly what I was thinking :D. If you would rather not work on uI specifics however let us know! But ideally having:

Comment octicon with number of comments. This can either be at the end of the issue title OR I think it might be better as a separate line part of the subtitle (above the #501 created 3 days ago by housseindjirdeh)
Having the subtitle line to be #501 created 3 days ago by housseindjirdeh would be perfect

@machour Thanks for your invitation! I will join you if I have time this weekend.
@housseindjirdeh @lex111 Sorry, I don't very understand about "uI specifics". The date is not introduced in this PR. I agree that Github's message is clear and without any confusion, but we may have no enough space, especially for devices like iPhone5 or long user names like @housseindjirdeh. Can you accept the following UI or omit some words when it is too long?

@chinesedfan I think it's necessary to change the layout: put the header and label in one block
And the information part after them to place the entire width. I showed it in the screenshot:

And let's probably move the number of comments to the end of the issue name:

@lex111 I suggested removing the "Open" badge and colorizing the icon on the left on Gitter, @chinesedfan is giving it a try

And let's probably move the number of comments to the end of the issue name:

@lex111 I have a problem that we need add a padding between the title and the comments icon. But if the title is just one line, then the comments icon will start another line with a wired space.

@chinesedfan Here's my stab at it. Hope it helps :)

^ https://gist.github.com/housseindjirdeh/6953891ef108f2f284c2cecd2e372f05

@housseindjirdeh Thanks for your gist. In fact, we have tried this but find there will be a little wired if no comments. Because the title toggles between full width and partial width.

@chinesedfan as we chatted, we can just show the comments icon all the time even if there are 0 comments :)

@housseindjirdeh Updated. Now it looks the same with your screenshots.

@lex111 @housseindjirdeh I just made some changes:

Different icon and message format for closed issues
Make the subtitle font weight smaller, as #381 required(by the way, corresponding changes can be reverted in #409)

Ah, the title boldness is fixed, too.


Plugin interface

Current specification:
https://hackmd.io/@str4d/age-plugin-spec
Plugin functionality is being merged behind the unstable feature flag, so expect that it might be adjusted in subsequent releases while we figure out the gaps.

Calling it unstable! We can figure out the rest in subsequent PRs.


Pip - versioning and Support Please

Please add package to the pip.
In order for the system to be secure and stable, it is necessary to have a versioning system.

Thanks for the suggestion and will include this in the future release. FYI, pip 23.0 will perfectly support current version of sdk

This says closed, but it's still not in PyPI, correct?
Do you recommend in the meantime to include into our projects as git submodule?

No, not yet. Since it's a wrapper, the dev team is probably too lazy to prepare this package for pip.
In fact, the team's answer is basically "fend for yourself."


Use project ID in context and as CLI flag

Fix #2051

So, the intent is to use project IDs everywhere. Right? I guess we'd also need to change the docs. Right?

Yes, both are right. The CLI docs were already saying that we use project ID everywhere. The swagger and proto docs still need to updated, but I assumed the docs GitHub action would create a PR for that after this one is merged.

Do we want to use ID or name?  Name seems like it would be more friendly for humans.

Do we want to use ID or name? Name seems like it would be more friendly for humans.

Sharing what was said in a separate discussion. ID is used instead of name for 2 reasons:

For backwards compatibility, since we were already using project ID in commands like minder provider enroll
Our project naming is likely to evolve, we currently default the project name to the logged in user's username, but we may use a different approach in the future


How to get function to execute when table header is floating or not

Hi jmosbech ,
First of all, I want to thank you for building this.
Second of all, I am a beginner in jquery/javascript - I just started two weeks ago.
Here is my sample code: http://jsfiddle.net/mersenneprimes/enPyB/17/
I am having trouble executing this event/function whether the table is floating or not:
$('#submitButton').click( function(){

    $('#resetButton').show();

    alert('it worked');

});

I have placed this code and the $("table").stickyTableHeaders(); line all over the place with differing results.
The alert box must be displayed and the reset button must show when I click on the Submit button...if the table header is floating or not.
To get the alert box when floating or not floating, what I did is place that code twice, once outside the StickyTableHeaders function and once inside. Obviously there must be a better way of doing this.
But now the resetButton will only display when the header is floating.
If you could guide me to what javascript/jquery concepts I need to look at I would really appreciate it. There is something that I can't figure out about event handling .
Thanks,
Ehab

I now have no idea why the table in the jsfiddle link is not loading at all but is loading in my local html file. What an embarrassment for the first post on github. Will need to investigate.

Hi Ehab
I've looked at your code briefly, and I have a few suggestions/pointers that you could try out:

StickyTableHeaders makes a copy of the table header, so the best time to bind your event handlers to header elements is after the StickyTableHeaders plugin has been initialized.
You have a type in your html:  -->
You're referring the buttons by their ID, but since there are actually two of each button due to STH, you might want to change that to classes instead.

Let me know how it works out.
Jonas

Oh - I can see you updated your issue since the initial mail to which I replied. That means you can disregard the comment about the typo. The other two are still relevant as far as I can see.

Thank you very much. I converted the button elements from ID to class and it worked. N00b lesson learned.


fix: alignment sendButton

fix: alignment sendButton

@awran5 Pl merge this. Ref: https://github.com/awran5/react-floating-whatsapp/issues/31


Decorator context.kind "object-getter" or "getter"

type ObjectLiteralGetterDecoratorContext = {
  kind: "object-getter"; // or just "getter"?
  ... // other properties from ObjectLiteralMethodDecoratorContext
}

type ObjectLiteralSetterDecoratorContext = {
  kind: "object-setter"; // or just "setter"?
  ... // other properties from ObjectLiteralMethodDecoratorContext
}

I can think of a new option: add a new property in the context.
  kind: 'field'
  container: 'class' | 'object' // | 'enum' | 'protocol'

this allows us to extend in the future, for example, if we have enum or protocol as the syntatic container.

Yes this is a lot simpler as it indicates what kind of thing metadata will installed on.
I would suggest having this even for root containers, so that the type in this proposal would be:
container: "class" | "object" | "function"

This was something I also explored in https://github.com/tc39/proposal-decorators/issues/466 and it's something I'd like to revisit.
Ideally, container would be more flexible than just a string:
type DecoratorContext = {
  ...
  container?: {
    kind: "class" | "struct" | "object" | "enum" | "protocol";
    name: string | undefined;
    addInitializer(initializer: () => void): void; // adds a static initializer
  };
};

I'd thought about having context.metadata only be available if the decorated element itself could have metadata (i.e., class, function), while you would use context.container.metadata if you were a child element (i.e., methods, getters, setters, fields, etc.). That would have allowed methods have access to both own metadata and container metadata, so a function decorator could be used on a method more readily.
However, I don't think we should go about changing context.metadata at stage 3, which is part of why the explainer includes a suggestion to use the name context.functionMetadata.


Add Schedule Command

Add a !Schedule command to the bot to display the regular schedule of the stream.
Would be nice if it converted to a requested timezone.
We started this last stream, but may want to switch to nodatime if it can handle it better. It should support .net standard.

We started this one, but anyone's welcome to work on it. If not, I'll get to it soon.

Should configuration be possible through the command interface (i.e. !schedule add daily MWRFS 14:00-16:00 America/Chicago), or should we look at creating a UI to manage this?

We'll eventually want a UI for most of the things that are currently configurable through the command line, however, the usefulness of command line is that mods can assist the streamer by making changes to things like this. I think having both as an option is a good idea.
In fact, I'd expect that many of the commands we create for these sorts of things will be enabled through that UI, so a bot owner could decide to turn those features off.

It sounds like we're talking about a combination of exposing command metadata and dispatcher. With such an architecture, the interface implementation (be it command line, web, desktop, or other) could principally be:

Group commands by categories

Expose command metadata per command (permission, words, expected arguments, etc.)
User interface specific code to expose command configuration (UI could draw a tab bar with fieldset per command, command line could expose accepted commands and help interface)

I'll open a new issue when I finish writing the proposal for it. It's out of scope for just making the !schedule command.

Need to set up configuration either through database or config.

This was resolved by #167 which included db configuration. We can add language-awareness later.


⚠ Bofrost.de has degraded performance

In 9547209, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1548 ms

Resolved: Bofrost.de performance has improved in 04e5c8b after 5 minutes.


fix: [NPM-LINUX] resiliency for several non-retriable errors

Currently, if a cluster had 2+ persistent errors in dirty IPSets, then new changes may not get applied.
This PR also enhances logging:

print each line in the restore file
sending AppInsights error logs

Fixes:

Fix bug in error handling after a second error
Increase the max retry limit exponentially to allow ipset restore to skip all persistent errors and clear the dirty cache. Linux doesn't have a good way to clear a set from the dirty cache if it's applied successfully, yet other sets fail.

Example Logs:
I1102 00:11:20.866743       1 podController.go:417] [syncAddAndUpdatePod] updating Pod with key x/a
I1102 00:11:20.866769       1 podController.go:456] Deleting pod x/a (ip : <IP_ADDRESS>) from ipset debug:true
I1102 00:11:20.866793       1 podController.go:478] Creating ipset debug:false if it doesn't already exist
I1102 00:11:20.866800       1 podController.go:487] Adding pod x/a (ip : <IP_ADDRESS>) to ipset debug:false
I1102 00:11:20.866846       1 ipsetmanager.go:461] [IPSetManager] dirty caches. toAddUpdateCache: to create: [podlabel-debug:false: &{membersToAdd:map[<IP_ADDRESS>:{}] membersToDelete:map[]},podlabel-debug: &{membersToAdd:map[<IP_ADDRESS>:{}] membersToDelete:map[]},podlabel-debug:true: &{membersToAdd:map[] membersToDelete:map[]}], to update: [], toDeleteCache: map[podlabel-k1:0xc000952450 podlabel-k1:v1:0xc000952430 podlabel-k2:0xc000952490 podlabel-k2:v2:0xc000952460 podlabel-k3:0xc000952420 podlabel-k3:v3:0xc000952470]
I1102 00:11:20.866918       1 restore.go:183] running this restore command: [ipset restore]
I1102 00:11:20.866924       1 restore.go:319] line 1 of restore command [ipset restore] with section ID [add/update-podlabel-debug:false]: [-N azure-npm-3081258205 --exist nethash]
I1102 00:11:20.866930       1 restore.go:319] line 2 of restore command [ipset restore] with section ID [add/update-podlabel-debug]: [-N azure-npm-2955716136 --exist nethash]
I1102 00:11:20.866934       1 restore.go:319] line 3 of restore command [ipset restore] with section ID [add/update-podlabel-debug:true]: [-N azure-npm-3853671530 --exist nethash]
I1102 00:11:20.866938       1 restore.go:319] line 4 of restore command [ipset restore] with section ID [add/update-podlabel-debug:false]: [-A azure-npm-3081258205 <IP_ADDRESS>]
I1102 00:11:20.866942       1 restore.go:319] line 5 of restore command [ipset restore] with section ID [add/update-podlabel-debug]: [-A azure-npm-2955716136 <IP_ADDRESS>]
I1102 00:11:20.866946       1 restore.go:319] line 6 of restore command [ipset restore] with section ID [delete-podlabel-k2]: [-F azure-npm-3241175160]
I1102 00:11:20.866950       1 restore.go:319] line 7 of restore command [ipset restore] with section ID [delete-podlabel-k3]: [-F azure-npm-3257952779]
I1102 00:11:20.866954       1 restore.go:319] line 8 of restore command [ipset restore] with section ID [delete-podlabel-k1:v1]: [-F azure-npm-2867360572]
I1102 00:11:20.866958       1 restore.go:319] line 9 of restore command [ipset restore] with section ID [delete-podlabel-k1]: [-F azure-npm-3291508017]
I1102 00:11:20.866962       1 restore.go:319] line 10 of restore command [ipset restore] with section ID [delete-podlabel-k2:v2]: [-F azure-npm-646662566]
I1102 00:11:20.866966       1 restore.go:319] line 11 of restore command [ipset restore] with section ID [delete-podlabel-k3:v3]: [-F azure-npm-2649853620]
I1102 00:11:20.866970       1 restore.go:319] line 12 of restore command [ipset restore] with section ID [delete-podlabel-k1]: [-X azure-npm-3291508017]
I1102 00:11:20.866974       1 restore.go:319] line 13 of restore command [ipset restore] with section ID [delete-podlabel-k2:v2]: [-X azure-npm-646662566]
I1102 00:11:20.866978       1 restore.go:319] line 14 of restore command [ipset restore] with section ID [delete-podlabel-k3:v3]: [-X azure-npm-2649853620]
I1102 00:11:20.866982       1 restore.go:319] line 15 of restore command [ipset restore] with section ID [delete-podlabel-k2]: [-X azure-npm-3241175160]
I1102 00:11:20.866986       1 restore.go:319] line 16 of restore command [ipset restore] with section ID [delete-podlabel-k3]: [-X azure-npm-3257952779]
I1102 00:11:20.866990       1 restore.go:319] line 17 of restore command [ipset restore] with section ID [delete-podlabel-k1:v1]: [-X azure-npm-2867360572]
I1102 00:11:20.869419       1 restore.go:295] continuing after line 8 and aborting section [delete-podlabel-k1:v1] for command [ipset restore]
I1102 00:11:20.869432       1 ipsetmanager_linux.go:689] skipping flush and upcoming destroy for set podlabel-k1:v1 since the set doesn't exist
I1102 00:11:20.869520       1 restore.go:183] running this restore command: [ipset restore]
I1102 00:11:20.869531       1 restore.go:343] on try 1 of restore command [ipset restore]. mapping of current line numbers to original line numbers: [1->9 2->10 3->11 4->12 5->13 6->14 7->15 8->16]
2022/11/02 00:11:20 [1] error: on try number 2, failed to run command [ipset restore]. Rerunning with updated file. err: [line-number error for line [-F azure-npm-646662566]: error running command [ipset restore] with err [exit status 1] and stdErr [ipset v7.5: Error in line 2: The set with the given name does not exist
]]
I1102 00:11:20.872200       1 restore.go:295] continuing after line 2 and aborting section [delete-podlabel-k2:v2] for command [ipset restore]
I1102 00:11:20.872220       1 ipsetmanager_linux.go:689] skipping flush and upcoming destroy for set podlabel-k2:v2 since the set doesn't exist
I1102 00:11:20.872302       1 restore.go:183] running this restore command: [ipset restore]
I1102 00:11:20.872351       1 restore.go:343] on try 2 of restore command [ipset restore]. mapping of current line numbers to original line numbers: [1->11 2->12 3->14 4->15 5->16]
2022/11/02 00:11:20 [1] error: on try number 3, failed to run command [ipset restore]. Rerunning with updated file. err: [line-number error for line [-F azure-npm-2649853620]: error running command [ipset restore] with err [exit status 1] and stdErr [ipset v7.5: Error in line 1: The set with the given name does not exist
]]
I1102 00:11:20.874102       1 restore.go:295] continuing after line 1 and aborting section [delete-podlabel-k3:v3] for command [ipset restore]
I1102 00:11:20.874131       1 ipsetmanager_linux.go:689] skipping flush and upcoming destroy for set podlabel-k3:v3 since the set doesn't exist
I1102 00:11:20.874233       1 restore.go:183] running this restore command: [ipset restore]
I1102 00:11:20.874245       1 restore.go:343] on try 3 of restore command [ipset restore]. mapping of current line numbers to original line numbers: [1->12 2->15 3->16]
I1102 00:11:20.902260       1 restore.go:153] successfully ran command [ipset restore] on try number 4
I1102 00:11:20.902293       1 podController.go:234] Successfully synced 'x/a'


Volunteers and donors can see the same request list

This is done, we also have ways to shorten/expand the view for the card descriptions, and there are names that show on the volunteer page which are "Anonymous" on the donor page.


Examples use arithmetic on void*, which isn't allowed by the c standard

Examples, specifically rvv_memcpy,  use arithmetic on void*, which isn't allowed by the c standard, see: https://stackoverflow.com/questions/3523145/pointer-arithmetic-for-void-pointer-in-c#3524270

Feel free to submit a PR. These examples are not a normative part of the spec, so the task group is treating them as lower priority, to focus our limited (volunteer) resources on reaching API freeze/ratification.

👍 I'll look into it when I've got the time


fix #454

Checked with my use cases.

Looks good. Let's see how the build goes.
Also, we may hit this problem in the future, but I think it won't be too much of a problem for the use case of source code for projects.

For that reason probably  canonicalizePath actually acess to the path, to determine the real parent directory (I guess)

Hmm yes, but canonicalizePath doesn't work for non-existent paths. Hmm I wonder if there's a way to normalise non-existent paths by stripping of the right side of a path until you get an existant path and then slap on the part your stripped off.
What do you think? Should we be worried about that obscure case?

mmm  now I remember that canonicalizePath is not capable of elimianting ".."  even if the file exist. At least in my case.  I think that this only hit in rare cases and even in these cases the programmer has the option to write the path without .. if it points to a symbolic link

Ok cool. I'll merge then.


[RFC] Bump version number to 1.0 (or 27.0.0)

I'd like to propose the same thing I've seen or introduced with other large-community projects struggling to commit version 1 long after they have already "implicitly" done so without properly supporting semver.

I'd like to quote the argument directly from this post on a different project (https://github.com/graphql/graphql-js/issues/1005):

I think it's time to move to 1.0+ versioning so that we can actually use the version number to transmit meaningful semantic information (ie. that a "major" version bump is a compatibility-breaking change). Our current version numbers (of the form v0.x.y) transmit basically nothing, because:

Major version zero (0.y.z) is for initial development. Anything may change at any time.

This entry from the Semver FAQ is also helpful:

How do I know when to release 1.0.0?
If your software is being used in production, it should probably already be 1.0.0. If you have a stable API on which users have come to depend, you should be 1.0.0. If you’re worrying a lot about backwards compatibility, you should probably already be 1.0.0.

I think all of those apply to this package, so let's do it with the next release.

I'm specifically making the argument that it's long overdue for recompose to release v1 so the version number can transmit meaningful semantic information since if you have a stable API on which users have come to depend, you should be 1.0.0.
I realize there may be a desired set of issues to address to reach the 1.0.0 goal, but there is no public roadmap for that release (2 week, 2 months or 2 years out?). In the meantime, with over 10k stars, recompose is being used by a large user base who depend on a stable API to build production applications. Waiting to close all "major" features before v1 is a race that you may never win on a project this size.
I propose moving to 1.0.0 as soon as possible (next patch or minor bump should be v1). Under semver, version numbers do not drive features, but are defined by what bug fixes and API changes are released in any version. Alternativly, following React and graphql, recomponse could release v27.0.0 instead (see links below).
Users, please give feedback here if this is important to you, and maintainers, please explain why this should be delayed any longer. Thanks.

Here is relevant discussions supporting such an initiative.
React (leading supporting case study):

https://reactjs.org/blog/2016/02/19/new-versioning-scheme.html#what-happened-to-100

Ava (success):

https://github.com/avajs/ava/issues/1637
https://github.com/avajs/ava/releases/tag/v1.0.0-beta.1

graphql (success):

https://medium.com/@leeb/graphql-js-preparing-for-v14-0-0-839f823c144e

Ramda (wip):

https://github.com/ramda/ramda/issues/2337

Just curious how version number affects your own workflow. Why we need to use some so so system like major minor patch, how to distinguish patch vs minor. Sometimes is even hard to detect is current change is major. As an example - flow definitions change, from one pov its just type improvements and does not affect at all users who doesnt use flow. For flow users its a major change. Same for dependencies etc. IMO its all just a words, any patch version could break your env, and major changes can have zero effect.
Having that yarn and npm are locking dependencies IMO all that things above are nothing ;-) so what is you real reason without all that links above?

I had hoped I would not have to argue for the generally accepted value of following the semver spec. In the end it's not your or my single opinion on this that really matters, but the opinion of your wider user base. Probability suggests that the majority of them value adopting semver, especially considering many projects in the ecosystem take it seriously, e.g., react, redux, Next.js, (now) graphql, jest, etc.
Hopefully other users and contributors will make a case for (or against) semver so we can keep the discussion open and moving forward. For now, I will leave this gem: http://sentimentalversioning.org/

You are right, I wanna add support for modern context, move rx components into own lib, and think we can change versions after.

Good to hear. Hope to see a major version in the next release or two.
To answer some of your concerns, I would first recommend reading carefully the spec and it's FAQ, as I believe it will answer many of them better than I can: https://semver.org/. Here are my thoughts on a few though:

Sometimes is even hard to detect is current change is major. As an example - flow definitions change, from one pov its just type improvements and does not affect at all users who doesnt use flow. For flow users its a major change.

If it breaks the public API for anyone then it's a major version bump. If most users are unaffected they will look in the changelog and quickly see they are not affected. In your example, non-flow users would see that one breaking change and easily ignore it. (Types are an interesting example though as in principle types should define the public API and thus only change at the semver level as the API itself.)
Mistakes make it though. That's fine: we will never be perfect. The spec outlines what to do in those cases to reduce the impact on your users. See also https://semver.org/#what-do-i-do-if-i-accidentally-release-a-backwards-incompatible-change-as-a-minor-version

Same for dependencies etc. IMO its all just a words, any patch version could break your env, and major changes can have zero effect.

It's never going to be a perfect system, but the more packages that make a best effort to follow semver, the less chance users will be affected. This RFC is exactly to address that concern for this widely used package. See also https://semver.org/#what-should-i-do-if-i-update-my-own-dependencies-without-changing-the-public-api

Having that yarn and npm are locking dependencies IMO all that things above are nothing

Users need to update the lockfiles for many reasons, and they will not have most dependencies of their  dependencies (etc) in package.json, thus they rely on those packages using flexible version constraints and semver to ensure overall stability.

note that following semantic versioning affects the decision calculus in whether to use this product (especially in businesses, e.g. my employer brightideainc)

I agree with that we should bump the version to 1.0. The potential blockers probably are #609 and #660.

Any progress/blockers on this?

subscribing to this

Looking forward to this so Greenkeeper will stop bugging me about patches.

My specific use case: we have a chain of React component libraries, with basic components feeding into ever more complex components. This currently goes through 3 links in the chain to get the final app. We use Rollup and exclude peer dependencies. I would like to specify recompose as peer dependency so it's not included in every library and just linked at the end. But specifying a specific version (which is effectively all we can do until recompose goes to 1.0) is an anti-pattern for peer dependencies as everytime recompose bumps a version, we would need to update it every peer dependency spec.

Seems like the linked "blockers" have been stalled for a few months now. I still strongly support bumping the  version to either v30.0.0 or v1.0.0 without delay (for example, you can make an announcement this week and release it next week).
This issue was opened when v0.27.0 was released. We are now on v0.30.0. I still see no reason any of those last versions could not have been > v1. Tear the band-aid off as they say :smile:


add mips64 reg

Closes #1599

Tests would be nice but I don't have a machine to run them on. As its still a nice addition / starting point I've added the changelog


Add type field to Collection & Catalog

Related Issue(s): #889
Proposed Changes:

Added type field to catalog and collection spec
Added best practice section on how to distinguish stac files

PR Checklist:

[x] This PR is made against the dev branch (all proposed changes except releases should be against dev, not master).
[ ] This PR has no breaking changes.
[x] I have added my changes to the CHANGELOG
[ ] This PR affects the STAC API spec, and I have opened issue/PR #XXX to track the change.

Ok, this is up for discussion, feedback welcome. I think it's in line with what we discussed.

re-used the type field from GeoJSON, so it aligns with Item and ItemCollection.
Set value to Catalog and Collection. The capital is a bit off in our spec, but aligns with GeoJSON, where we got the type field from.
Wasn't sure if we should prefix with STAC in some way, as FeatureCollection vs Collection might be confusing. But I don't love the options: STACCollection or StacCollection. Or we could not try to align with their capital camel case, and then it'd be stac_catalog and stac_collection.

Thoughts?

Oh, yeah, apologies - I meant to mention that I'd really like your help on the schema changes. Thanks @m-mohr! And thanks for help on differentiating STAC files. Also our linter forced me to pick a 'language' for the code blocks, but I think you just wrote it in pseudo-code? If you've got better formatting ideas then go for it. Could just do it in python or javascript, and people will get the idea.

One question that came up during the JSON Schema update:
Can a collection be of type catalog? As it inherits from Catalog, it must allow "Catalog" and "Collection" as type, otherwise, the inheritance as it is doesn't work anymore. But it makes the type field less useful...

We discussed this on the call, and the consensus seemed to be that we should do something where the collection type includes the catalog in it, so that a client can check for 'catalog' with a regex and match both, or can check for the specific.
We should do a bit more research on options, but the one idea was to look to media types for what they do, with like geo+json. The obvious proposal based on what we have would be Catalog and Catalog+Collection. Though it's sorta half inspired from GeoJSON (with the casing) and half from media types. Open for other ideas.

I'm fine with Catalog+Collection, but also think that just Collection by itself is OK since the spec clearly defines that Collection is a Catalog.

Using just "Collection" you can't use the Catalog JSON Schema to validate the Collection, which should be possible as it states that a Collection is a Catalog.

It seems then that the core issue here is that JSONSchema doesn't support true inheritance? In a fuller language like Python/JS, you could presumably subclass Catalog to overwrite the type key, but that would still fail if you tried to use a Catalog object to validate a collection.

And just for posterity, the favorite idea from the STAC call was Catalog¯\_(ツ)_/¯Collection

@kylebarron Although Python and JS would probably allow that, it's not strictly correct inheritance.
If you have a contract in a language that says getType() returns always Catalog and you subclass it and return something else, then you break the contract and diverge from what others would expect. You could say getType() just returns a string, but then of course you can't rely on Catalog. And if you define in Catalog that it can return Catalog and Collection, you are mixing thing and you'd need to know all subclasses upfront. If at some point we invent the SuperDuperCatalog that inherits from Catalog, you'd need the implementation of Catalog to allow that. That should be avoided at all costs in OOP. So this is not the fault of JSON Schema IMHO.

I think there's a little bit of ambiguity around inheritance.

The STAC Collection specification is independent of STAC Items and STAC Catalogs.

(emphasis mine)
But also

It shares the same fields and therefore every Collection is also a valid Catalog - the JSON structure extends the core Catalog definition.

(admittedly there's much more backing up the second point, but the first is the third sentence in the collection readme)
One thing that I've never been clear about is whether it's important for every collection to be a valid catalog, or whether that's something incidental that's been carried over for a long time. Is that desire from OGC data type relationships? Or can we break it without going out on a limb?

One thing that I've never been clear about is whether it's important for every collection to be a valid catalog, or whether that's something incidental that's been carried over for a long time. Is that desire from OGC data type relationships? Or can we break it without going out on a limb?

It's definitely not from OGC data type relationships, and I don't think we need to worry about that. To me the important thing is to be able to crawl catalogs and collections in a hierarchy and be able to expect them to operate the same way. But I don't know that it's important that it truly is a valid catalog. Just that it has all the same link / field requirements. But I think I'm ok with changing how we talk about it to just say that they have the same core fields and clients can crawl them equally.
But it does make some intuitive sense to me to explain that a collection is a catalog with some extras. I do think the other option might just be to drop trying to add the type field. I was imagining we could just have a simple type and it'd work well, but now I'm less sure it's really worth the effort given the constraints.


Terminal and output dropdowns don't work on main

Steps to Reproduce:

Pull main
Launch VS Code
Terminal and output dropdowns do not work when you select items

@Tyriar and I investigated this and have pinpointed the issue to here:
https://github.com/Microsoft/vscode/blob/ece0761b33f5195969950536b66136bd48db7556/src/vs/platform/actions/common/actions.ts#L418-L420
options is undefined here so the args never get forwarded.

@sbatten has determined this commit caused the issue
eece236bbd68f28daac8e543409765d2a9d7cbfa

Oh sorry about that - removed forwarding args to fix this - https://github.com/microsoft/vscode/issues/119369. I will revisit the fix and scope it only for custom view. Since this is fixed, closing this.


additional examples

Two new examples:

Colored stripes that show each of the possible 7 colors
Border and colored rect fill with text layered on top. This mimics a common simpletest from many displayio driver repos.

Thank you :)


Additional filter criteria for PageChooserPanel

The PageChooserPanel allows restricting the pages that one can choose based on model. That is extremely helpul, however there are cases where editors have to rely entirely on their knowledge of the content to pick pages of a given model that match some criteria. e.g. choose Media pages that have an audio embed.
I imagine this as working the same way an override serve() or route() method does. It would be the developer's responsibility to return the filtered set.

Closing as this is can be merged into newer #1250


error: could not find native static library ring-core, perhaps an -L flag is missing?

when i run "cargo build",i get this error
[funhouse@archlinux ~]$ solana --version
solana-cli 1.18.19 (src:6c6442ff; feat:4215500110, client:Agave)
[funhouse@archlinux ~]$ rustc -V
rustc 1.79.0 (129f3b996 2024-06-10)

@qimeila let's try

MacOS: xcode-select --install
Ubuntu: sudo apt-get update && sudo apt-get install build-essential clang

You probably need to install build-essential (Debian) equivalent for Arch e.g. base-devel.

You probably need to install build-essential (Debian) equivalent for Arch e.g. base-devel.

thanks,BUT i have installed base-devel before
[funhouse@archlinux ~]$ sudo pacman -S base-devel
[sudo] password for funhouse:
warning: base-devel-1-2 is up to date -- reinstalling


[d3d9] Fix various issues in UpdateTexture

As discussed on Discord.
Closes #1947

Can you make it very clear what extents/offsets come from either the box or from the size of the actual image's mip.
It'd make this code so much easier to follow.


Preprocess data using PSC resources

Not essential, but a good way to familiarize ourselves with the environment would be to run the existing script there. Have slacked Philip and Nick.

... and just emailed.

Code in portal-containers is being run on airflow. Not interested in just having shell access.


Add **kwargs to ComposableGraphQueryEngine constructor so that releva…

…nt arguments can be passed to the underlying index query engine.
Description
This allows customizing of the underlying index query engines.
Fixes # (issue)
Type of Change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Added new unit/integration tests
[ ] Added new notebook (that tests end-to-end)
[ ] I stared at the code and made sure it makes sense

Suggested Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

@logan-markewich per the comments from the previous PR. With the latest version adding kwargs is definitely more straightforward. Thanks.


02a - Create Regression Model.md

Module: AI-900-AllFundamentals
Lab/Demo: 02a - Create Regression Model
Task: Add and explore a dataset
Step: 02
Description of issue
Unable to select 'Automobile price data (Raw)' dataset onto the canvas.
Repro steps:
None. This dataset doesn't seem to have been loaded as a Data Asset, in the previous steps.

Thanks @srgopal, you will want to click on "Component" to select the Automobile price data (Raw) onto the canvas. It is one of the prebuilt datasets.


Update postgres.type.go.tpl

when there is no primary key returned, don't use .Scan

This should be put in a custom template.

@kenshaw ? any reason why not? the currently rendered code won't compile

Can you clarify what you mean by "the currently rendered code won't compile"?

the QueryRow does not return error

Your change converts the call to QueryRow (which returns *sql.Row), and the subsequent call to Scan to expect a return pair of (_, err). This is invalid code. Please note that the interface used in the templates is compatible with Go's standard SQL lib, and is defined in the xo_db.go.tpl file, thusly:
  // XODB is the common interface for database operations that can be used with
  // types from schema '{{ schema .Schema }}'.
  //
  // This should work with database/sql.DB and database/sql.Tx.
  type XODB interface {
      Exec(string, ...interface{}) (sql.Result, error)
      Query(string, ...interface{}) (*sql.Rows, error)
      QueryRow(string, ...interface{}) *sql.Row
  }

Your change would break this. You might want to look at writing custom templates with xo, and making your changes there.

If the template is not working with a specific schema you are using (ie, on insert), please provide information about the database, version, and schema you are using. Please note that the change you submitted was against the postgres.type.go.tpl file -- and as far as I know, there shouldn't be any issue with using QueryRow for an INSERT statement -- however it is entirely plausible there is some combination of PostgreSQL server and Go driver (ie, lib/pq, jackc/pgx, etc) that is causing QueryRow to fail for you.
This is why I would suggest looking into using custom templates, because it is not possible for the xo tool to support every combination of databases (and their respective versions), schemas, and Go drivers out of the box.


cleanup clang cache before firing off list builder

cleanup clang cache to prevent project build errors

@swift-ci test


Create "Product Overview"

User story

As a consultant
I want a product overview
So that I can manage all products in a project

Acceptance criteria

View must contain a tab for each product area
View must contain a button to add products
Products should be able to have subcategories (product variants)
For each product / variant there should be a button to start evaluation for economical and complexity eval.
For each product / variant the progress economical and complexity eval. should be shown
For each product / variant there should be an option to add comments and documents
View must contain button forwarding to result page (#)
View should be able to communicate with back end (return generic / sample values)

Definition of done

Added only after week 5
The same for all features


feat: Add Flow types to Popper.js

This PR adds Flow type annotations to Popper.js 🍾

@FezVrasta Can't wait!


Allow relationships from the User entity if skipUserManagement is set

If user management is skipped, the User entity can redefined in jdl, so there's no reason to not allow relationships from it
Please make sure the below checklist is followed for Pull Requests.

[ ] Travis tests are green
[ ] Tests are added where necessary
[ ] Documentation is added/updated where necessary
[ ] Coding Rules & Commit Guidelines as per our CONTRIBUTING.md document are followed

@murdos but I don't think it will work, did you try, I think the generator will not allow you to create an entity with name User even when its skipped. Didn;t check but just a hunch.

No, it doesn't work yet, changes are required on the generator side too.


Accessing event attributes of AG Grid

Problem statement: event callbacks are not being fired
Explanation: I tried to get modelUpdated and viewportChanged callbacks when filter is applied on AG-grid but could not succeeded yet.
Version:
dash-ag-grid==2.0.0a1
Code snippet:
@app.callback(  Output("chart", "figure"),
                Input("details-table", "modelUpdated"),
                Input("details-table", "viewportChanged"))
def model_updated(data, vp):
    print(data, vp)
    return go.Figure()

Community Forum:
https://community.plotly.com/t/how-to-capture-viewportchanged-or-modelupdated-events-in-the-ag-grid/72139

The forum post has been updated to show how to use virtualRowData in a callback


added SpanContaining query

Part of #97

Blocks #101

Span containing is missing parameters trait.

Included changes suggested in the last comment


Firefox doesn't like source-map comment syntax

In Firefox (I'm using 39.0.3), the source-map comment in the compiled CSS doesn't work. I've determined it's due to a missing space between the end of the URL and the */. Chrome doesn't seem to mind this, and I'm not sure if it meets the spec this way or not. I've also determined that node-sass doesn't exhibit this behavior when invoked directly. I could provide a minimal repro if need be; just let me know.

Also, checked that using<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Huh... wouldn't you know it. I upgrade to Firefox 40.0 and now it's less picky. Well, nevermind, then...

Nice :grinning:


Changing themes on created app

Heya,
thanks for making this possible. I just started a new dashboarding project and decided to give py-shiny a go.
On question that came up is how to change the style of the created app?
In R this was done over the theme parameter within fluid page e.g. fluidPage(theme = shinytheme("cerulean")). I checked in https://github.com/rstudio/py-shiny/blob/main/shiny/ui/_page.py but cannot find the theme parameter. Is there currently a way to change the style of an application?

It is currently hardcoded but near the top of the list in terms of priorities IMHO.

Hi there, you might be interested in https://posit-dev.github.io/py-shinyswatch/ and/or the new ui.Theme() API


Translate Warhammer v2 sheet to french

You added a bunch of translation strings to the French version that will be lost because they were not added to the translation.json base file. It looks like the HTML already includes these keys, and they are missing from all other languages. If you could add these keys, in english, to the "translation.json" file, it would fix this issue.
The following keys will be removed:
special-rules
trained
poor
medium
good
best
shoot
throw
half
full
spell-name
encumbrance-choice1
encumbrance-choice2

Thanks, I will do that in the next PR,
There still are some text which is not translated


Enable server-side TLS support & command-line options for TLS configuration

Context

There's a security concern with the way the communication between Daedalus and cardano-wallet current works on an end-user's machine. Since the connection happens on via TCP on localhost, any other process or application which happens to know the right port (which can be looked up pretty easily) can make arbitrary requests to cardano-wallet. While there's no risk for the user's assets, it is still a very plausible source of denial of service, as well as potential hard-to-debug behaviors.
Decision

While an API token over Basic authentication would be sufficient to mitigate the problem (we aren't much concerned about local process eaves-dropping on the local TCP request at this stage), we are still going for the TLS sledgehammer, mainly because we are lacking time to implement anything simpler. TLS is a drop-in solution for Deadalus at the moment and still fairly simple to support server-side.
Acceptance Criteria

cardano-wallet server must support requiring connections established through TLS 1.
2, When enabled, the server must require a valid client certificate with connections (with KeyUsagePurpose = client)
When enabled, the server should not try to validate the host name of a particular client
New command-line options on the cardano-wallet-byron serve command should be added to provide:
a. --tls-ca-cert, a path to a PEM-encoded (base64 DER with header & footer) certificate authority
b. --tls-sv-cert, a path to a PEM-encoded (base64 DER with header & footer) certificate authority
c. --tls-sv-key, a path to PEM-encoded RSA private key which signed the server certificate.
If one option is provided, the others must be provided. If none are provided, the server will start an "insecure" connection on localhost as normal.

Development

See #1504

QA

Added unit tests covering the server setup when a TLS configuration is provided:
- Respond to authenticated client if TLS is enabled
- Deny client with wrong certificate if TLS is enabled
- Properly deny HTTP connection if TLS is enabled

New command-line options only tested manually + sanity cURL request

When the server uses TLS, then command line is not available:
$ cardano-wallet-byron wallet list
This server only accepts secure HTTPS connections.

Indeed. That's actually a feature. Otherwise, we would need to provide a --ca-cert and --client-cert and --client-key to every command interacting with the API.
The use case for TLS is really for Daedalus or client applications on a end-user desktop. The command-line is meant for debugging and local use in controlled environments where there's no reason to start the server behind TLS.

right, just saying... :) Anyway, LGTM.


Fails to detect my home folder on macOS

=> Downloading nvm from git to '/home/ionicabizau/.nvm'
=> mkdir: /home/ionicabizau/.nvm: Operation not supported
ls: /home/ionicabizau/.nvm: No such file or directory
fatal: could not create leading directories of '/home/ionicabizau/.nvm': Operation not supported
Failed to clone nvm repo. Please report this!

Operating system and version: macOS Sierra

How did you install nvm? (e.g. install script in readme, homebrew): using the curl command

What steps did you perform? curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash

What happened?

It tries to clone it into /home/ionicabizau instead of /Users/ionicabizau

Is there anything in any of your profile files (.bashrc, .bash_profile, .zshrc, etc) that modifies the PATH?

Yes.

The fix is to remove the previously configured nvm in ~/.bashrc: NVM_DIR="/home/ionicabizau/.nvm", but I think the problem should be fixed anyways.

There's no real solution here - a previously-configured NVM_DIR is an explicit signal to the install script that that's where nvm should be installed.
How did you have a previously configured NVM_DIR like that, inside /home, on a mac?

@ljharb It was there because I copied the bashrc from my Linux machine. Why not using ~/.nvm everywhere or $HOME/.nvm?

We could certainly use $HOME/.nvm in the profile file - but it's a false assumption that you can naively copy a profile file from one machine to another.


Import LanguageModels from models.yaml

[x] Update app/models/user/registerable.rb to import models
[x] Clean out the migrations of explicit data creation

This PR does not update, remove, nor introduce new models.

@krschacht this PR replaces #536

Ok, rails db:prepare now also runs rails models:import.
I've also added some newer models into models.yml to allow testing of the upgrade from main to this PR.


Warn on docker image pull fail

Only warn on docker pull image request failure. This let us use local images which are not yet pushed to the docker remote repository.
Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---
---

R: @tweise @jkff

Run Java PreCommit

I need to fix the putMultipleArtifactsTest :(

@angoenka in the future please capture the changes in JIRA and use the JIRA reference in commit message and PR.


Cant run notebook with "--kernel=qpk" flag

Using this:
jupyter console --kernel=qpk
I get this stack trace..
2018.04.13T15:23:00.371 .p.eval
[4]  /Users/ab6/Downloads/jupyterq-master/jupyterq_pyzmq.q:2: pypop:.p.eval["list.pop"][;0]
^
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/jupyter_console/ptshell.py", line 323, in init_kernel_info
reply = self.client.get_shell_msg(timeout=1)
File "/usr/local/lib/python3.6/site-packages/jupyter_client/client.py", line 77, in get_shell_msg
return self.shell_channel.get_msg(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/jupyter_client/blocking/channels.py", line 57, in get_msg
raise Empty
queue.Empty
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/jupyter-console", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.6/site-packages/jupyter_core/application.py", line 266, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/usr/local/lib/python3.6/site-packages/traitlets/config/application.py", line 657, in launch_instance
app.initialize(argv)
File "", line 2, in initialize
File "/usr/local/lib/python3.6/site-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/jupyter_console/app.py", line 141, in initialize
self.init_shell()
File "/usr/local/lib/python3.6/site-packages/jupyter_console/app.py", line 114, in init_shell
client=self.kernel_client,
File "/usr/local/lib/python3.6/site-packages/traitlets/config/configurable.py", line 412, in instance
inst = cls(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/jupyter_console/ptshell.py", line 272, in init
self.init_kernel_info()
File "/usr/local/lib/python3.6/site-packages/jupyter_console/ptshell.py", line 326, in init_kernel_info
raise RuntimeError("Kernel didn't respond to kernel_info_request")
RuntimeError: Kernel didn't respond to kernel_info_request

Hi, can you check you have embedPy (not PyQ) installed in QHOME? If so you should be able to run the following in a normal q console
q p.k

q) pypop:.p.eval["list.pop"][;0]

To install, place p.q and p.k in $QHOME and place the library file (p.so for OSX/Linux or p.dll for >Windows) in $QHOME/{l64|m64|w64}

where is p.so file located?

Hello
p.so packaged in the platform specific release for embedPy at the releases page here https://github.com/KxSystems/embedPy/releases/latest

still not able to install...
ab6s-mbp:jupyterq-osx-v1.0 ab6$ /install.sh
-bash: /install.sh: No such file or directory
ab6s-mbp:jupyterq-osx-v1.0 ab6$ ./install.sh
./install.sh: line 2: q: command not found

jupyter kernelspec install --user --name=qpk ./kernelspec
[InstallKernelSpec] Removing existing kernelspec in /Users/ab6/Library/Jupyter/kernels/qpk
[InstallKernelSpec] Installed kernelspec qpk in /Users/ab6/Library/Jupyter/kernels/qpk
cp ./jupyterq_b64.q ./jupyterq_help.q ./jupyterq_htmlgen.q ./jupyterq_kernel.q ./jupyterq_pyzmq.q ./jupyterq_server.q /Users/ab6/q
cp -r ./kxpy /Users/ab6/q
cp ./lib//jupyterq.so /Users/ab6/q/
cp: ./lib//jupyterq.so: No such file or directory

q  64bit is installed, and working..
ab6s-mbp:jupyterq-osx-v1.0 ab6$ q
KDB+ 3.5 2017.11.08 Copyright (C) 1993-2017 Kx Systems
m64/ 4(16)core 16384MB ab6 ab6s-macbook-pro.local <IP_ADDRESS> EXPIRE 2018.11.14<EMAIL_ADDRESS>KOD #4159402
q)\

Can give the directory stucture needed, assume MacOSX.   (They should part of the docs.. )
Assume QHOME: "/Users//q"
There are  errors to "cp" function.
FYI: Jupyter notebook does show the KX logo.

Hello,
Do you have q on your PATH? from this line in your error it looks like it isn't and you may have set up an alias or bash function to run q interactively?
./install.sh: line 2: q: command not found
If so make sure your PATH includes q and try rerunning the install.sh script.

Please read the whole  post..
q launches KDB++

Hello,
q may launch kdb+ without being on the PATH if it is an alias or function, q must be on the PATH for jupyterq however.
e.g.
$ which q
$ alias q='$HOME/q/l64/q '
$ q # runs but q is not on path, this is incorrect
KDB+ 3.5 2017.11.08 Copyright (C) 1993-2017 Kx Systems

Can you please check q is actually on your PATH and not just aliased

Solved:
My path was being set by editing .bash_profile.   It was not taking.
I had to edit   "/etc/paths"  Then it worked.

Problem showed up again.
As stated before, Can you please clearly write out the directory stucture needed that install.sh is trying to create.
thanks.


[elastic] Skip the 'vendor' folder

The module mode is contradictory with 'vendor', that's why 'vendor'
support is not quite well, give up the 'vendor' support for now.

:white_check_mark: Build go-langserver 1.0.181 completed (commit https://github.com/elastic/go-langserver/commit/3fa9db3b65 by @movie-travel-code)