Basic Authentication Not Logging In

I'm attempting to crawl a password protected wiki that we use for internal documentation and I'm struggling with getting authentication to work.  I've tried to use form authentication as well as basic.  The wiki supports both forms of logging in, but I can't seem to get the collector to behave.  I am, however, able to login using both methods in Postman and I'm able to login using basic authentication using curl.  I'm hoping you can help me through this one.
Attempt using Form:
Here's the configuration I'm attempting to use:
<httpClientFactory class="com.norconex.collector.http.client.impl.GenericHttpClientFactory">
  <authMethod>form</authMethod>
  <authUsername>Joe Schmoe</authUsername>
  <authPassword>Passw0rd</authPassword>
  <authUsernameField>user</authUsernameField>
  <authPasswordField>pass</authPasswordField>
  <authURL>https://wiki.mydomain.com/tiki-login.php</authURL>
</httpClientFactory>

And the start URLs, if it matters:
<startURLs stayOnDomain="true" stayOnPort="true" stayOnProtocol="true">
  <url>https://wiki.mydomain.com/tiki-index.php</url>
</startURLs>

Here's the login form HTML on the page tiki-login.php:
<form name="loginbox" id="loginbox-1" action="tiki-login.php" method="post">
    <fieldset>

            Username:
            <input type="text" name="user" id="login-user_1" size="15">

            Password:

            <input class="button submit" type="submit" name="login" value="Log in">

        <input type="hidden" name="stay_in_ssl_mode_present" value="y">
        <input type="hidden" name="stay_in_ssl_mode" value="y">
    </fieldset>
</form>

And here's what I see in the logs:
DEBUG [CollectorConfigLoader] Loading configuration file: cms-config.xml
Nov 02, 2017 2:39:13 PM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
WARNING: JBIG2ImageReader not loaded. jbig2 files will be ignored
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.
J2KImageReader not loaded. JPEG2000 files will not be processed.
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.

DEBUG [XMLConfigurationUtil] Class to validate: HttpCrawlerConfig
DEBUG [XMLConfigurationUtil] Class to validate: ExtensionReferenceFilter
INFO  [AbstractCrawlerConfig] Reference filter loaded: ExtensionReferenceFilter[onMatch=EXCLUDE,extensions=zip,gif,jpg,jpeg,png,caseSensitive=false]
DEBUG [XMLConfigurationUtil] Class to validate: RegexReferenceFilter
INFO  [AbstractCrawlerConfig] Reference filter loaded: RegexReferenceFilter[onMatch=INCLUDE,caseSensitive=false,regex=.*wiki.mydomain.com.*]
DEBUG [XMLConfigurationUtil] Class to validate: ImporterConfig
DEBUG [XMLConfigurationUtil] Class to validate: FileSystemCommitter
DEBUG [XMLConfigurationUtil] Class to validate: GenericURLNormalizer
DEBUG [XMLConfigurationUtil] A configuration entry was found without class reference where one could have been provided; using default value:GenericDelayResolver[defaultDelay=3000,ignoreRobotsCrawlDelay=false,scope=crawler,schedules=[]]
DEBUG [XMLConfigurationUtil] Class to validate: GenericDelayResolver
DEBUG [XMLConfigurationUtil] Class to validate: GenericHttpClientFactory
DEBUG [XMLConfigurationUtil] A configuration entry was found without class reference where one could have been provided; using default value:StandardRobotsTxtProvider[]
DEBUG [XMLConfigurationUtil] A configuration entry was found without class reference where one could have been provided; using default value:StandardSitemapResolverFactory[sitemapPaths={/sitemap.xml,/sitemap_index.xml},lenient=false,tempDir=<null>]
DEBUG [XMLConfigurationUtil] Class to validate: StandardSitemapResolverFactory
DEBUG [XMLConfigurationUtil] Class to validate: GenericCanonicalLinkDetector
DEBUG [XMLConfigurationUtil] Class to validate: GenericLinkExtractor
INFO  [HttpCrawlerConfig] Link extractor loaded: GenericLinkExtractor[contentTypes={text/html,application/xhtml+xml,vnd.wap.xhtml+xml,x-asp},schemes={http,https,ftp},maxURLLength=2048,ignoreNofollow=false,commentsEnabled=false,tagAttribs=ObservableMap [map={a=[href]}],charset=<null>,extractBetweens=[],noExtractBetweens=[]]
DEBUG [CrawlerConfigLoader] Crawler configuration loaded: Internal CMS Crawler
INFO  [AbstractCollectorConfig] Configuration loaded: id=Internal CMS Collector; logsDir=./cms-output/logs; progressDir=./cms-output/progress
INFO  [JobSuite] JEF work directory is: ./cms-output/progress
INFO  [JobSuite] JEF log manager is : FileLogManager
INFO  [JobSuite] JEF job status store is : FileJobStatusStore
INFO  [AbstractCollector] Suite of 1 crawler jobs created.
INFO  [JobSuite] Initialization...
DEBUG [XMLConfigurationUtil] Class to validate: FileLogManager
DEBUG [XMLConfigurationUtil] Class to validate: FileJobStatusStore
DEBUG [FileJobStatusStore] Status serialization directory: /var/norconex-collector-http-2.8.0-SNAPSHOT/./cms-output/progress
DEBUG [FileJobStatusStore] Reading status file: /var/norconex-collector-http-2.8.0-SNAPSHOT/./cms-output/progress/latest/status/Internal_32_CMS_32_Crawler__Internal_32_CMS_32_Crawler.job
DEBUG [FileJobStatusStore] Internal CMS Crawler last active time: Thu Nov 02 14:32:31 MST 2017
INFO  [JobSuite] Previous execution detected.
INFO  [JobSuite] Backing up previous execution status and log files.
DEBUG [FileJobStatusStore] Status serialization directory: /var/norconex-collector-http-2.8.0-SNAPSHOT/./cms-output/progress
DEBUG [FileLogManager] Log directory: /var/norconex-collector-http-2.8.0-SNAPSHOT/./cms-output/logs
INFO  [JobSuite] Starting execution.
INFO  [AbstractCollector] Version: Norconex HTTP Collector 2.8.0-SNAPSHOT (Norconex Inc.)
INFO  [AbstractCollector] Version: Norconex Collector Core 1.9.0-SNAPSHOT (Norconex Inc.)
INFO  [AbstractCollector] Version: Norconex Importer 2.8.0-SNAPSHOT (Norconex Inc.)
INFO  [AbstractCollector] Version: Norconex JEF 4.1.0 (Norconex Inc.)
INFO  [AbstractCollector] Version: Norconex Committer Core 2.1.2-SNAPSHOT (Norconex Inc.)
INFO  [JobSuite] Running Internal CMS Crawler: BEGIN (Thu Nov 02 14:39:14 MST 2017)
INFO  [HttpCrawler] Internal CMS Crawler: RobotsTxt support: false
INFO  [HttpCrawler] Internal CMS Crawler: RobotsMeta support: true
INFO  [HttpCrawler] Internal CMS Crawler: Sitemap support: true
INFO  [HttpCrawler] Internal CMS Crawler: Canonical links support: false
INFO  [HttpCrawler] Internal CMS Crawler: User-Agent: norconex-cms-crawler
INFO  [GenericHttpClientFactory] Performing FORM authentication at "https://wiki.mydomain.com/tiki-login.php" (username=Joe Schmoe; password=*****)
INFO  [GenericHttpClientFactory] Authentication status: HTTP/1.1 200 OK
DEBUG [GenericHttpClientFactory] Authentication response:

The response is HTML of the same login page specified in <authURL>.  Continuing with the output:
...
DEBUG [GenericDocumentFetcher] Fetching document: https://wiki.mydomain.com/tiki-index.php
DEBUG [GenericDocumentFetcher] Encoded URI: https://wiki.mydomain.com/tiki-index.php
DEBUG [GenericRedirectURLProvider] URL redirect: https://wiki.mydomain.com/tiki-index.php -> https://wiki.mydomain.com/Customer-Directory-Top
DEBUG [GenericDocumentFetcher] Unsupported HTTP Response: HTTP/1.1 302 Found
INFO  [CrawlerEventManager]       REJECTED_REDIRECTED: https://wiki.mydomain.com/tiki-index.php (HttpFetchResponse [crawlState=REDIRECT, statusCode=302, reasonPhrase=Found (https://wiki.mydomain.com/Customer-Directory-Top)])
DEBUG [ReferenceFiltersStageUtil] ACCEPTED document reference. Reference=https://wiki.mydomain.com/Customer-Directory-Top Filter=ExtensionReferenceFilter[onMatch=EXCLUDE,extensions=zip,gif,jpg,jpeg,png,caseSensitive=false]
DEBUG [QueueReferenceStage] Queued for processing: https://wiki.mydomain.com/Customer-Directory-Top
...

What's interesting about this is the Customer-Directory-Top page is the default page when you're not logged in.  It's what you'll be redirect to as a user if you're not logged in.
Attempt using Basic:
Here's the configuration I'm attempting to use for basic authentication:
      <httpClientFactory class="com.norconex.collector.http.client.impl.GenericHttpClientFactory">
          <authMethod>basic</authMethod>
          <authUsername>Joe Schmoe</authUsername>
          <authPassword>Passw0rd</authPassword>

      </httpClientFactory>

All other configurations are the same, including the startURL.  When I run it, this is the output:
DEBUG [CollectorConfigLoader] Loading configuration file: cms-config.xml
Nov 02, 2017 2:52:04 PM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
WARNING: JBIG2ImageReader not loaded. jbig2 files will be ignored
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.
J2KImageReader not loaded. JPEG2000 files will not be processed.
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.

DEBUG [XMLConfigurationUtil] Class to validate: HttpCrawlerConfig
DEBUG [XMLConfigurationUtil] Class to validate: ExtensionReferenceFilter
INFO  [AbstractCrawlerConfig] Reference filter loaded: ExtensionReferenceFilter[onMatch=EXCLUDE,extensions=zip,gif,jpg,jpeg,png,caseSensitive=false]
DEBUG [XMLConfigurationUtil] Class to validate: RegexReferenceFilter
INFO  [AbstractCrawlerConfig] Reference filter loaded: RegexReferenceFilter[onMatch=INCLUDE,caseSensitive=false,regex=.*wiki.mydomain.*]
DEBUG [XMLConfigurationUtil] Class to validate: ImporterConfig
DEBUG [XMLConfigurationUtil] Class to validate: FileSystemCommitter
DEBUG [XMLConfigurationUtil] Class to validate: GenericURLNormalizer
DEBUG [XMLConfigurationUtil] A configuration entry was found without class reference where one could have been provided; using default value:GenericDelayResolver[defaultDelay=3000,ignoreRobotsCrawlDelay=false,scope=crawler,schedules=[]]
DEBUG [XMLConfigurationUtil] Class to validate: GenericDelayResolver
DEBUG [XMLConfigurationUtil] Class to validate: GenericHttpClientFactory
DEBUG [XMLConfigurationUtil] A configuration entry was found without class reference where one could have been provided; using default value:StandardRobotsTxtProvider[]
DEBUG [XMLConfigurationUtil] A configuration entry was found without class reference where one could have been provided; using default value:StandardSitemapResolverFactory[sitemapPaths={/sitemap.xml,/sitemap_index.xml},lenient=false,tempDir=<null>]
DEBUG [XMLConfigurationUtil] Class to validate: StandardSitemapResolverFactory
DEBUG [XMLConfigurationUtil] Class to validate: GenericCanonicalLinkDetector
DEBUG [XMLConfigurationUtil] Class to validate: GenericLinkExtractor
INFO  [HttpCrawlerConfig] Link extractor loaded: GenericLinkExtractor[contentTypes={text/html,application/xhtml+xml,vnd.wap.xhtml+xml,x-asp},schemes={http,https,ftp},maxURLLength=2048,ignoreNofollow=false,commentsEnabled=false,tagAttribs=ObservableMap [map={a=[href]}],charset=<null>,extractBetweens=[],noExtractBetweens=[]]
DEBUG [CrawlerConfigLoader] Crawler configuration loaded: Internal CMS Crawler
INFO  [AbstractCollectorConfig] Configuration loaded: id=Internal CMS Collector; logsDir=./cms-output/logs; progressDir=./cms-output/progress
INFO  [JobSuite] JEF work directory is: ./cms-output/progress
INFO  [JobSuite] JEF log manager is : FileLogManager
INFO  [JobSuite] JEF job status store is : FileJobStatusStore
INFO  [AbstractCollector] Suite of 1 crawler jobs created.
INFO  [JobSuite] Initialization...
DEBUG [XMLConfigurationUtil] Class to validate: FileLogManager
DEBUG [XMLConfigurationUtil] Class to validate: FileJobStatusStore
DEBUG [FileJobStatusStore] Status serialization directory: /var/norconex-collector-http-2.8.0-SNAPSHOT/./cms-output/progress
DEBUG [FileJobStatusStore] Reading status file: /var/norconex-collector-http-2.8.0-SNAPSHOT/./cms-output/progress/latest/status/Internal_32_CMS_32_Crawler__Internal_32_CMS_32_Crawler.job
DEBUG [FileJobStatusStore] Internal CMS Crawler last active time: Thu Nov 02 14:39:17 MST 2017
INFO  [JobSuite] Previous execution detected.
INFO  [JobSuite] Backing up previous execution status and log files.
DEBUG [FileJobStatusStore] Status serialization directory: /var/norconex-collector-http-2.8.0-SNAPSHOT/./cms-output/progress
DEBUG [FileLogManager] Log directory: /var/norconex-collector-http-2.8.0-SNAPSHOT/./cms-output/logs
INFO  [JobSuite] Starting execution.
INFO  [AbstractCollector] Version: Norconex HTTP Collector 2.8.0-SNAPSHOT (Norconex Inc.)
INFO  [AbstractCollector] Version: Norconex Collector Core 1.9.0-SNAPSHOT (Norconex Inc.)
INFO  [AbstractCollector] Version: Norconex Importer 2.8.0-SNAPSHOT (Norconex Inc.)
INFO  [AbstractCollector] Version: Norconex JEF 4.1.0 (Norconex Inc.)
INFO  [AbstractCollector] Version: Norconex Committer Core 2.1.2-SNAPSHOT (Norconex Inc.)
INFO  [JobSuite] Running Internal CMS Crawler: BEGIN (Thu Nov 02 14:52:05 MST 2017)
INFO  [HttpCrawler] Internal CMS Crawler: RobotsTxt support: false
INFO  [HttpCrawler] Internal CMS Crawler: RobotsMeta support: true
INFO  [HttpCrawler] Internal CMS Crawler: Sitemap support: true
INFO  [HttpCrawler] Internal CMS Crawler: Canonical links support: false
INFO  [HttpCrawler] Internal CMS Crawler: User-Agent: norconex-cms-crawler
INFO  [SitemapStore] Internal CMS Crawler: Initializing sitemap store...
DEBUG [SitemapStore] Internal CMS Crawler: Cleaning sitemap store...
INFO  [SitemapStore] Internal CMS Crawler: Done initializing sitemap store.
DEBUG [ReferenceFiltersStageUtil] ACCEPTED document reference. Reference=https://wiki.mydomain.com/tiki-index.php Filter=ExtensionReferenceFilter[onMatch=EXCLUDE,extensions=zip,gif,jpg,jpeg,png,caseSensitive=false]
DEBUG [StandardSitemapResolver] Sitemap locations: [https://wiki.mydomain.com/sitemap_index.xml, https://wiki.mydomain.com/sitemap.xml]
DEBUG [StandardSitemapResolver] Sitemap not found : https://wiki.mydomain.com/sitemap_index.xml
DEBUG [StandardSitemapResolver] Sitemap not found : https://wiki.mydomain.com/sitemap.xml
DEBUG [QueueReferenceStage] Queued for processing: https://wiki.mydomain.com/tiki-index.php
INFO  [HttpCrawler] 1 start URLs identified.
INFO  [CrawlerEventManager]           CRAWLER_STARTED
INFO  [AbstractCrawler] Internal CMS Crawler: Crawling references...
DEBUG [AbstractCrawler] Internal CMS Crawler: Crawler thread #1 started.
DEBUG [AbstractCrawler] Internal CMS Crawler: Crawler thread #2 started.
DEBUG [AbstractCrawler] Internal CMS Crawler: Crawler thread #3 started.
DEBUG [AbstractCrawler] Internal CMS Crawler: Crawler thread #4 started.
DEBUG [AbstractCrawler] Internal CMS Crawler: Processing reference: https://wiki.mydomain.com/tiki-index.php
DEBUG [AbstractCrawler] Internal CMS Crawler: Crawler thread #5 started.
DEBUG [AbstractCrawler] Internal CMS Crawler: Crawler thread #6 started.
DEBUG [AbstractCrawler] Internal CMS Crawler: Crawler thread #7 started.
DEBUG [AbstractCrawler] Internal CMS Crawler: Crawler thread #8 started.
DEBUG [GenericDocumentFetcher] Fetching document: https://wiki.mydomain.com/tiki-index.php
DEBUG [GenericDocumentFetcher] Encoded URI: https://wiki.mydomain.com/tiki-index.php
DEBUG [GenericRedirectURLProvider] URL redirect: https://wiki.mydomain.com/tiki-index.php -> https://wiki.mydomain.com/Customer-Directory-Top
DEBUG [GenericDocumentFetcher] Unsupported HTTP Response: HTTP/1.1 302 Found
INFO  [CrawlerEventManager]       REJECTED_REDIRECTED: https://wiki.mydomain.com/tiki-index.php (HttpFetchResponse [crawlState=REDIRECT, statusCode=302, reasonPhrase=Found (https://wiki.mydomain.com/Customer-Directory-Top)])
DEBUG [ReferenceFiltersStageUtil] ACCEPTED document reference. Reference=https://wiki.mydomain.com/Customer-Directory-Top Filter=ExtensionReferenceFilter[onMatch=EXCLUDE,extensions=zip,gif,jpg,jpeg,png,caseSensitive=false]
DEBUG [QueueReferenceStage] Queued for processing: https://wiki.mydomain.com/Customer-Directory-Top
DEBUG [AbstractCrawler] Internal CMS Crawler: Processing reference: https://wiki.mydomain.com/Customer-Directory-Top
DEBUG [AbstractDelay] Thread pool-1-thread-3 sleeping for 0.332 seconds.
DEBUG [Pipeline] Pipeline execution stopped at stage: com.norconex.collector.http.pipeline.importer.DocumentFetcherStage@43f1762e
DEBUG [FileJobStatusStore] Writing status file: /var/norconex-collector-http-2.8.0-SNAPSHOT/./cms-output/progress/latest/status/Internal_32_CMS_32_Crawler__Internal_32_CMS_32_Crawler.job
DEBUG [FileJobStatusStore] Writing status file: /var/norconex-collector-http-2.8.0-SNAPSHOT/./cms-output/progress/latest/status/Internal_32_CMS_32_Crawler__Internal_32_CMS_32_Crawler.job
DEBUG [AbstractCrawler] Internal CMS Crawler: 00:00:00.230 to process: https://wiki.mydomain.com/tiki-index.php
DEBUG [GenericDocumentFetcher] Fetching document: https://wiki.mydomain.com/Customer-Directory-Top
DEBUG [GenericDocumentFetcher] Encoded URI: https://wiki.mydomain.com/Customer-Directory-Top
INFO  [CrawlerEventManager]          DOCUMENT_FETCHED: https://wiki.mydomain.com/Customer-Directory-Top
...

Again, the interesting point for me is that it tries to get the start URL page, but gets redirected to the same Customer-Directory-Top page which is used for logging in if you're not.
I'd like to point out again, that I can get both of these methods to work using Postman. I can get basic to work using curl:
curl -v -u "Joe Schmoe":Passw0rd https://wiki.mydomain.com/tiki-listpages.php

Outputs:
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying <IP_ADDRESS>...
* Connected to wiki.mydomain.com (<IP_ADDRESS>) port 443 (#0)
* found 173 certificates in /etc/ssl/certs/ca-certificates.crt
* found 696 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
*        server certificate verification OK
*        server certificate status verification SKIPPED
*        common name: wiki.mydomain.com (matched)
*        server certificate expiration date OK
*        server certificate activation date OK
*        certificate public key: RSA
*        certificate version: #3
*        subject: CN=wiki.mydomain.com
*        start date: Tue, 12 Sep 2017 16:03:00 GMT
*        expire date: Mon, 11 Dec 2017 16:03:00 GMT
*        issuer: C=US,O=Let's Encrypt,CN=Let's Encrypt Authority X3
*        compression: NULL
* ALPN, server did not agree to a protocol
* Server auth using Basic with user 'Joe Schmoe'
> GET /tiki-listpages.php HTTP/1.1
> Host: wiki.mydomain.com
> Authorization: Basic TmlnaHQgQ3Jhd2xlcjpHMTItdTVNXzEzN1F0
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Thu, 02 Nov 2017 21:58:14 GMT
< Server: Apache/2.4.7 (Ubuntu)
< Vary: Authorization,Accept-Encoding
< X-Powered-By: PHP/5.5.9-1ubuntu4.22
< Set-Cookie: PHPSESSID=pelkp8ogeabi1l6n25ahhot5m5; path=/
< Expires: Thu, 19 Nov 1981 08:52:00 GMT
< Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
< Pragma: no-cache
< Set-Cookie: PHPSESSIDCV=aTuo5uvagMykg2Fc15U7eA%3D%3D; expires=Fri, 02-Nov-2018 21:58:14 GMT; Max-Age=31536000; path=/
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=utf-8
<
{ [7 bytes data]
<!DOCTYPE html>
... [HTML for tiki-listpages.php] ...

The website is publicly accessible, but I'd rather not share here.  If you'd like to attempt to reproduce yourself, I'm happy to supply the URL over email or private message somehow.  Please let me know.
Thanks in advance for reviewing.  I sure hope you have some good ideas as to what might be happening.  I'm using 2.8.0-SNAPSHOT.

Can you set the log level to DEBUG (or even TRACE) for Apache HttpClient.  I think this should do it in log4j.properties:
log4j.logger.org.apache.http=TRACE

The objective is to get the details of the HTTP authentication attempts in the logs.  You can then attach them here.  It could be that the server expects a specific value in the HTTP request headers that browsers are sending but the crawler is not.  If that's the case you can add those missing header values.
If that does not help, you can email me your site URL so I can try to reproduce (with temporary credentials would be best, if possible).

Once again, your help is very much appreciated.  I'm going to try and get some temporary credentials setup for you so you can attempt to reproduce.  In the meantime, I enabled apache.http=TRACE logging.  It didn't seem to add any additional information though.  Maybe you need a trained eagle eye to see anything different?  Anyways, I'm attaching the logs for both form and basic authentication attempts.
Internal_32_CMS_32_Crawler.basic.log
Internal_32_CMS_32_Crawler.form.log
Not to muddy up the water, but there is one interesting piece.  Looking at the form authentication HTML output, the username and password are included in the "fullscreen" link as if they were GET URL parameters.

While I am not sure why form-based authentication cannot be replicated with the Collector, I found out "preemptive" authentication works when using "basic" authentication.  So now the latest snapshot supports a new configuration option on the GenericHttpClientFactory:
<authPreemptive>true</authPreemptive>

Please confirm that does it for you as well.

You're amazing!  That worked fine, and I'm okay with basic authentication. :-)
Closing the issue.  Thanks again!


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1029 ms

Resolved: Bofrost.de performance has improved in 148563e after 1 hour, 4 minutes.


Typescript Support

Is it possibile to use this package with typescript?

No, this is not implemented. Feel free to add a PR.


Tweak the language around force pushes

@nwinkler any thoughts about this? Just ran into a situation where an older PR had been force-pushed too and my local copy was totally outta sync. I'd like to encourage folks to not do that.

Thanks - I like the new addition. I'm sure that it will not solve the problem once and for all, since people have different styles of doing PRs, and especially complex ones with occasional updates might cause issues with local copies.
We could also remove the "squash" part altogether if you want. GitHub has added a feature to squash commits while merging the PR - it's no longer required to do that beforehand.


chore: release main

:robot: I have created a release beep boop
devcontainer: 1.4.0
1.4.0 (2024-10-25)
Features

✨ add postgres-client and redis client to devcontainer (#215) (e5f096b)

postgres-env: 2.1.0
2.1.0 (2024-10-25)
Features

✨ update devtemplate (#218) (a96c655)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

devcontainer-v1.4.0
postgres-env-v2.1.0
:sunflower:


Densify appends [0, 0, 0] vertices?

Seems like the densify method for a point cloud adds rogue [0, 0, 0] points into the new point cloud. Can't see anything obvious in your code so it might be the underlying vtk issue. The more iterations that are done, the more rogue points get added.
A quick fix for a point cloud called surface:
Points(
          [
              vert for vert in (
                  surface.densify(
                      target_distance=20,
                      niter=10
                  ).vertices
              ) if not np.array_equal(vert, np.zeros(3))
          ]
      )

Yes - I don't understand what's going on there - it looks indeed a bug in the vtkDensifyPointCloudFilter..


fix(watch): watch object in deep oldValue should be  a new reference

fix #12037
What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[x] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

Thanks but see https://github.com/vuejs/vue/issues/12037#issuecomment-827424613


Please add support for SVG elements

AFAICS, support for SVG elements is missing. It would be a very useful addition.
PS: I might be able to find time for a pull-request, if you are interested.

We can track this in swift-html if it's still of interest.


multiple virtual lines (ghost_text) possible?

I'm so impressed with copilot and this plugin has made it super easy to get it working nicely with neovim.
The only issue I have is that Copilot likes to suggest multiple lines, and sometimes quite a lot of them.
In VS Code, if there are multiple lines they are printed as virtual lines (and the rest of the lines are moved down). With copilot-cmp I'm not seeing any indication that Copilot is suggesting more than one line, and I can't see any indication that the suggestion is a multi-line suggestion, and if I undo the suggestion after it has been inserted into the buffer, it actually undoes the last 2 completions, rather than just one.
EDIT: Actually, I can see the whole suggestion in the menu, I think enabling view.entries fixed this(?):

However, ideal solution would be multi-line ghost text.

Multi line ghost text as it's own thing (copilot.vim style, no cmp involved) has been on the todo list for a while, and at one point I half completed it, but I wasn't sure how many people used it so it hasn't been a priority. If you think it would be useful, I'll see about finishing implementing it sooner rather than later.
Currently, ghost text is supplied via cmp (if you have it set up in your cmp config) and I would have to probably upstream some stuff to have a multi line on hover. I've upstreamed some patches to cmp before to support things here, but it does usually take a month or two to complete the process since both hrsh7th and myself are fairly busy people right now it seems.
Also, could you elaborate on the undo issue? I'm not sure what you mean by undoing the last two completions.

Also, could you elaborate on the undo issue? I'm not sure what you mean by undoing the last two completions.

I’ll try to capture it with a screen recording. Hard to explain.

@benwoodward you can now just use https://github.com/zbirenbaum/copilot.lua for multiline ghost text for suggestions and also cycle between multiple suggestions.

Related:
Ghost text with inline virtual text displacement. e.g.,
def add():
        ^---cursor_here

def add( self, x: int, y: int ):
         ^--- ghost text

This issue is stale and would need to be upstreamed so I'm going to close it for now. If anyone wants to PR it to nvim-cmp please let me know and I'll do whatever is necessary on copilot-cmp's end to support it.


Disable signing on production for now, not ready

@jasonthomas r?
Should I also disable it on stage?

I think we could disable stage for now too.

done ;)

r+


fix: repair TestFunction return type.

Is they any need to force void. This stops doing inline source testing

Currently having to cast the type

Please, can you fix CI issues?


cp: add support POSIXLY_CORRECT=1 when dealing with dangling links

Partially fix GNU: tests/cp/thru-dangling.sh

Remains:
rm f loop
export C=/usr/bin/
#export C="target/debug/coreutils "

echo hi > f
ln -s loop loop
${C}cp f loop
echo $?


aql.dataframe handles being given a dict/list/etc

Please describe the feature you'd like to see
This one is a bit out there, but aql.dataframe does not behave well when the return value of the function it decorates is a list (or a dict or a string or whatever) instead of a dataframe.
Describe the solution you'd like
Perhaps the operator could attempt to convert it to a properly-dimensioned dataframe?
Are there any alternatives to this feature?
Yes. Instead of trying to convert it, the decorator could log an error saying that the return value needs to be a df.
Acceptance Criteria

[ ] All checks and tests in the CI should pass
[ ] Unit tests (90% code coverage or more, once available)
[ ] Integration tests (if the feature relates to a new database or external service)
[ ] Example DAG
[ ] Docstrings in reStructuredText for each of  methods, classes, functions and module-level attributes (including Example DAG on how it should be used)
[ ] Exception handling in case of errors
[ ] Logging (are we exposing useful information to the user? e.g. source and destination)
[ ] Improve the documentation (README, Sphinx, and any other relevant)
[ ] How to use Guide for the feature (example)

@rossturk Could you share one example use case, please?

Currently, the operator does raise an error when callable output is not a dataframe and we pass output_table param https://github.com/astronomer/astro-sdk/blob/main/python-sdk/src/astro/sql/operators/dataframe.py#L180 and if no output table pass it return the callable output

@rossturk How would you expect a list to be loaded into a dataframe? What should be the column name? What if the list was a "nested list"? Also, what would we expect the behaviour to be for nested dictionaries?
My gut feeling is that we should focus on giving a friendly error message to users saying that we don't support returning those filetypes - but I'm happy to be convinced otherwise :smile:

@rossturk Looking for your thoughts on the above^^

please re-open if needed. thank you.


Typo "Tensorflow"→"TensorFlow"

https://docs.microsoft.com/en-us/azure/machine-learning/resource-curated-environments
https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/machine-learning/resource-curated-environments.md
#PingMSFTDocs

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


Add Support for Message Attachments

Add method Message.attachments() and add Attachment object to the Bits category.

Added in v1.4.0


Could you add a cron job to also download from lotw?

Currently there is only a Cron Job "lotw_lotw_upload" that uploads QSOs to LoTW. Is there any Reason not also having one to download the QSOs; or, even better, one to sync bidirectionally?

This is a mistake by us. The "LoTW Upload" does in fact a "Sync" -> Up- and Download

Oh, good. Have you thought of renaming it or rephrasing the description?

Done with #844 :)

Thx :-)


no asserts found (v0.5.0)

The new version v0.5.0 is erroring on one of our files:
suite: Init template
release:
  name: forgejo-unittests
  namespace: testing
templates:
  - templates/gitea/init.yaml
tests:
  - it: runs gpg in batch mode
    set:
      signing.enabled: true
      signing.privateKey: |-
        -----BEGIN PGP PRIVATE KEY BLOCK-----
        {placeholder}
        -----END PGP PRIVATE KEY BLOCK-----
    asserts:
      - equal:
          path: stringData["configure_gpg_environment.sh"]
          value: |-
            #!/usr/bin/env bash
            set -eu

            gpg --batch --import /raw/private.asc

I have no clue what the error is and the debug parameter does nothing.
 helm unittest --debugPlugin --strict -f 'unittests/init/init_directory_structure.sh-rootless.yaml'  ./
 FAIL   unittests/init/init_directory_structure.sh-rootless.yaml
        - Execution Error:
                no asserts found

### Error:  no asserts found

Charts:      1 failed, 1 errored, 0 passed, 1 total
Test Suites: 1 failed, 1 errored, 0 passed, 1 total
Tests:       0 passed, 0 total
Snapshot:    0 passed, 0 total
Time:        14.6247ms

Error: plugin "unittest" exited with error

https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/446

We are facing the same issue with our tests, after we updated to 0.5.0.
Example test that fails:
tests:
  - it: example
    values:
      - ../values.yaml
    set:
      secret:
        password: somepassword
        username: admin
    documentIndex: 0
    asserts:
      - containsDocument:
          kind: Secret
          apiVersion: v1
      - equal:
          path: metadata.name
          value: env-secret

It works when downgrading to 0.4.4, though. I have no more details yet.

The first issue should be resolved. The second but not necessarily related as not able to reproduce asserts not found


Update dependencies

why is travis failing?

The compiler version is the problem.
cabal2nix https://github.com/koenigmaximilian/network-bitcoin.git --revision 67047b747450a479970f7d138d34eca01a8d8115 --shell | nix-build - --arg compiler '"ghc784"' --no-out-link
failes with a similar error:
...
Configuring case-insensitive-<IP_ADDRESS>...
Setup: At least the following dependencies are missing:
semigroups ==0.18.*
builder for ‘/nix/store/av69m16wpxwpipmpj5pyqv7gyl89y6sf-case-insensitive-<IP_ADDRESS>.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/ai14m3bp8ajqa9n9lll51nhn1308j7xy-http-client-<IP_ADDRESS>.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/nbgxf53hpihzzvqfz85pvj70qibyas6g-http-types-0.9.1.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/867bzxjzr3x6i29vqi6hgllcbch63vck-network-bitcoin-1.8.1.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/867bzxjzr3x6i29vqi6hgllcbch63vck-network-bitcoin-1.8.1.drv’ failed

nix-build '<nixpkgs>' -A haskell.packages.ghc784.case-insensitive --no-out-link
these derivations will be built:
  /nix/store/av69m16wpxwpipmpj5pyqv7gyl89y6sf-case-insensitive-<IP_ADDRESS>.drv
building path(s) ‘/nix/store/64y2nqr07hp020bg8pqavvfq067k3ysg-case-insensitive-<IP_ADDRESS>’
setupCompilerEnvironmentPhase
Build with /nix/store/nmhx0bpcxg5hgi2l82k4kxq82jvq646x-ghc-7.8.4.
unpacking sources
unpacking source archive /nix/store/vn4611j76wnzxrdip4mimrz1vsdj1bir-case-insensitive-<IP_ADDRESS>.tar.gz
source root is case-insensitive-<IP_ADDRESS>
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file case-insensitive-<IP_ADDRESS>/test/test.hs
patching sources
Run jailbreak-cabal to lift version restrictions on build inputs.
compileBuildDriverPhase
setupCompileFlags: -package-db=/tmp/nix-build-case-insensitive-<IP_ADDRESS>.drv-0/package.conf.d -j1
[1 of 1] Compiling Main             ( Setup.lhs, /tmp/nix-build-case-insensitive-<IP_ADDRESS>.drv-0/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose --prefix=/nix/store/64y2nqr07hp020bg8pqavvfq067k3ysg-case-insensitive-<IP_ADDRESS> --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --with-gcc=gcc --package-db=/tmp/nix-build-case-insensitive-<IP_ADDRESS>.drv-0/package.conf.d --ghc-option=-optl=-Wl,-rpath=/nix/store/64y2nqr07hp020bg8pqavvfq067k3ysg-case-insensitive-<IP_ADDRESS>/lib/ghc-7.8.4/case-insensitive-<IP_ADDRESS> --enable-split-objs --disable-library-profiling --disable-executable-profiling --enable-shared --enable-library-vanilla --enable-executable-dynamic --enable-tests
Configuring case-insensitive-<IP_ADDRESS>...
Setup: At least the following dependencies are missing:
semigroups ==0.18.*
builder for ‘/nix/store/av69m16wpxwpipmpj5pyqv7gyl89y6sf-case-insensitive-<IP_ADDRESS>.drv’ failed with exit code 1
error: build of ‘/nix/store/av69m16wpxwpipmpj5pyqv7gyl89y6sf-case-insensitive-<IP_ADDRESS>.drv’ failed

But there is no problem with 7.10.3 and 8.0.2
cabal2nix https://github.com/koenigmaximilian/network-bitcoin.git --revision 67047b747450a479970f7d138d34eca01a8d8115 --shell | nix-build - --arg compiler '"ghc7103"' --no-out-link
...
/nix/store/sn2bysl3q0f1nqspfzmv1yyp6cw3h5yi-network-bitcoin-1.8.1

nix-build '<nixpkgs>' -A haskell.packages.ghc7103.case-insensitive --no-out-link
/nix/store/nnc2h0z9mkw5nr4y8zmn18aywb4r86js-case-insensitive-<IP_ADDRESS>

cabal2nix https://github.com/koenigmaximilian/network-bitcoin.git --revision 67047b747450a479970f7d138d34eca01a8d8115 --shell | nix-build - --arg compiler '"ghc802"' --no-out-link
...
/nix/store/jmgcsdg93bhpszmx4xgci7bllwc66nd3-network-bitcoin-1.8.1

nix-build '<nixpkgs>' -A haskell.packages.ghc802.case-insensitive --no-out-link
/nix/store/wjilbzfhka1b1kg24lc9mw0470f4429b-case-insensitive-<IP_ADDRESS>


Feature: support userlist

Cookbook version
4.0.2
Chef-client version
12.19.36
Platform Details
CentOS 6
Scenario:
Create userlist blocks:
userlist stats-auth
    group admin    users admin
    user  admin    insecure-password AdMiN123
    group readonly users haproxy
    user  haproxy  insecure-password haproxy

backend stats_auth
    stats enable
    acl AUTH       http_auth(stats-auth)
    acl AUTH_ADMIN http_auth_group(stats-auth) admin
    stats http-request auth unless AUTH
    stats admin if AUTH_ADMIN

Steps to Reproduce:
Feature request. The backend or listen providers can handle via extra_options the additional stats directives, or in the case of haproxy_config_default via the hash.
Expected Result:
Create the above desired configuration without having to customize a template
Reference: https://cbonte.github.io/haproxy-dconv/1.7/configuration.html#3.4
Actual Result:
N/A

@mengesb you just want a userlist resource?

That's correct. We might also want to investigate primitives for adding ACL to various segments as well, though again that can be handled by extra_options as well.

yep, I was considering an acl resource also

Or we can add a userlist section like ACL.


Page for editing an existing project

Inline editing for all admins and project owners

Could you add upload images on Edit. Thank you


Change in alignment

Change in alignment - https://github.com/amfoss/fosswebsite/pull/334/commits/2429e9e3509757a9c017d42afa6a9c8cb3002496

There is still some alignment issues. For example, because of the image size, texts and all, the position of each card is scrambled. Can you find a workaround for it and let me know?
Also, please don't add the your forks merge commits into the PR


test: Dummy PR

Codecov Report

Merging #72 (4009009) into master (872e4a0) will decrease coverage by 0.14%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
- Coverage   26.38%   26.24%   -0.14%
==========================================
  Files          36       33       -3
  Lines        1535     1303     -232
==========================================
- Hits          405      342      -63
+ Misses       1130      961     -169

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


About BBBlayers

There is some bug in BBBlayers.py. What is the initial value of p_logvar_init and q_logvar_init? They can't be set None.

Hi,
The values are initialized inside the Network (like AlexNet). Link here.

Thanks! But the values haven't been initialized in LeNet code. Is it the same as in AlexNet?

For now please make the LeNet code similar to AlexNet and it will work.


fix build on linux

If it's unclear. you need to pull proper fix I made in my repo master to your frok master/main.
then rebase. then... well, github will show updated version of it.
Make sure to check build again when you remove unnessesary code (ifdef BIG_ENDIAN / cmake INCLUDES)

I will pull submodule after merge to FreeHereoes. Don't worry.

Yeah, I rebased and push force.
Is there a more convenient way to change submodule in github?

Is there a more convenient way to change submodule in github?

Dunno. Submodule thing overall is not about convenience.


Network Error

Network Error when i tap "Midi' to download it

Support is only provided in the Discord server. GitHub is to share bug reports.


Refresh stats for CNIs for March 2019

Thanks for the PR, we are reviewing the docs for the 2.2 release and I merged this into https://github.com/rancher/docs/pull/1277


Properties of A* heuristic

The README states

Remember that A* heuristics should always be pessimistic (e.g. can over-estimate cost, but shouldn't UNDER estimate)

It should be the other way around. Or are you using a modified version of A* that has this property?

You're correct, the docs are backwards haha.
Regardless, I'd actually recommend using https://github.com/ennocramer/monad-dijkstra instead of this project, it's better maintained, runs faster, and has more features.


Expand flexibility of file permissions, use ACL?

It is not possible right now to give write access to co-instructors (or an instructor and a head TA) and read-only access to a group of TAs (& hwphp & hwcron).  This more complex permission could be done with ACLs.

It will result in a small performance hit that will need to be evaluated before going live.  We are also likely to need to increase the number of groups per class in order to achieve the desired level of granularity.

Currently we use a single group for instructors / TAs for "data structures" for this term and all files from all previous terms.  We should consider making 2 groups...  "data structures this term" and "data structures all prior terms" so that TAs who do not need access to prior semesters have only the minimum access they need.


Why is workbox service workers spamming network requests re-activating every second?

Is this something to do with the HA domain service worker getting confused?


How to remove this plugin ?

Hello, impossible for me to remove this plugin ?
`pi@raspberrypi:~ $ sudo npm remove homebridge-yi-camera
npm WARN<EMAIL_ADDRESS>No repository field.
audited 961 packages in 83.766s
8 packages are looking for funding
run npm fund for details
found 0 vulnerabilities
`

sudo npm uninstall homebridge-camera-ui


Final Step: Set up DocSearch

Congrats on almost completing the core pages! One of the final steps is to change the DocSearch API key.
One of the maintainers needs to sign up for DocSearch

Done https://github.com/reactjs/de.reactjs.org/pull/74


Invalid property for filter behavior

As of now, if we filter a collection on a not enabled property, the collection will be returned as a whole as if no filter is given. bIMO it is error prone in a sense that you have no way to tell there is an error occurred unless you take a look at the result.
Would it be possible to change that or it's a desired behavior?

Quote of https://github.com/dunglas/DunglasApiBundle/pull/43#issuecomment-98353716:

It was a voluntary choice to ignore to ignore invalid query parameters for reasons similar of those explained here: http://stackoverflow.com/questions/15947074/extra-query-parameters-in-the-rest-api-url
But I've no strong opinion about that. I think it's more confortable and less error prone to ignore invalid parameters (think the tons of client side tools such as Google Analytics that append custom parameters to URLs).


feature: show all available keymaps from inside lazyvim

Did you check the docs?

[X] I have read all the LazyVim docs

Is your feature request related to a problem? Please describe.
I am always searching for documentation regarding the keymappings.  This is a very time consuming task.
There is some other Neovim distributions that solved this issue the very same mechanism as when searching for a file: opening a list and fuzzy searching as the user types after calling it with a specific keymap. (I assume they are using Telescope)
is there anything similar in lazyvim?
Describe the solution you'd like
Here below the LunarVim version pressing Leader key and L k

That could be a very nice addition to avoid searching repeatedly for keybindings.
Describe alternatives you've considered
text file with all the keymappings from the documentation here https://www.lazyvim.org/keymaps, but very cumbersome to have it always opened and change to it for search
Additional context
No response

In LazyVim you can use <leader>sk for doing the same.

Hello @verajosemanuel,

is there anything similar in lazyvim?

That's a question, not a feature. Please ask questions in the discussions section.
Kindly close this issue.

thanks, that is what i was searching for in documentation to no avail.


De-noise make

Resolves #305

Suppresses extraction-opaque-accessed warnings using Makefile.coq.local files
Removes/comments out some unused admitted lemmas and axioms so they don't cause extraction warnings
Fully qualifies all imports to avoid warnings and ambiguities (most of the LOC changes are this)
Inserts INSTALLDEFAULTROOT to every _CoqProject so that coq_makefile doesn't complain
Reorders the -R arguments in _CoqProjects with the current directory first to avoid not a subdirectory of the current directory warnings
Changes some non-recursive Fixpoints to Definitions

Much quieter make now!

So I think we should avoid this situation by ensuring we never use the same name for a file as one that already exists or is imported?

The third-party libraries are exactly the case where it's hard. I'm not aware of any qualified Import analogue in Coq, unfortunately.
I do agree that it's a bit of a waste of developer time to have everyone write Require Import Nat, and then Locate Nat to figure out where it's coming from, and then Require Import Coq.Init.Nat. Not to mention if they don't fully-qualify the import and then it gets mentioned in a code review, so they have to fix it and their change may be delayed. So I have another idea that I've been thinking about -- what if we had a script that could run as a githook or just exist in tools for people to run before submitting a PR, and it looked for the imports, figured out what their fully-qualified name was, and inserted all the Require Import statements in a fully-qualified and agreed-upon format (maybe even in alphabetical order/removing duplicates/possibly removing unused imports). There might be some work already in this direction we could use -- I haven't looked into it much yet. But I think that could be a nice win/win: avoiding ambiguity, getting neat code, and avoiding developer time wastage.

I thought I remembered that Jason Gross had something of the sort. This repo has a minimize_requires script that seems to do exactly what we want (remove unneeded imports and fully-qualify names), and there's a normalize_requires function (in the replace_imports script) separates each into their own line and orders them: https://github.com/JasonGross/coq-tools
MIT licensed, so I don't think there should be an issue with us using it. Although it would be another dependency, which is something to consider.

I thought I remembered that Jason Gross had something of the sort. This repo has a minimize_requires script that seems to do exactly what we want (remove unneeded imports and fully-qualify names), and there's a normalize_requires function (in the replace_imports script) separates each into their own line and orders them: https://github.com/JasonGross/coq-tools
MIT licensed, so I don't think there should be an issue with us using it. Although it would be another dependency, which is something to consider.

I was going to ask if such a thing existed (for GHC there is a lint rule for this). This seems like a good plan.


[Issue] azd package hangs(?) when host is container app

[ ] Make sure you've installed the latest version using instructions in the wiki

Output from azd version
Run azd version and copy and paste the output here:
azd version 1.5.1 (commit 3856d1e98281683b8d112e222c0a7c7b3e148e96)
Describe the bug
I'm working on a containerized repo to package and deploy services separately from separate folders via #issue 3072 in this branch.
Notice the azure.yml has the following for the client service:
    client-todo:
        project: client-todo
        language: js
        host: containerapp
        docker:
            # Setting an static tag for the docker image will allow us to re-build it before deploying.
            # This strategy works around the `azd up` order, where package is called before provision, and the image created by package is used by deploy.
            ### If the tag is not static, calling package from a hook would produce a new unique image, which would be ignored by deploy.
            # For static-web-applications, package must happen after provision.
            # Reference: engineering PR https://github.com/Azure-Samples/todo-nodejs-mongo-aca/compare/staging...pr/3171#diff-7d76d7533653c23b753fc7ce638cf64bdb5e419927d276af836d3a03fdf1745a
            tag: 'cloud-native-todo/${AZURE_ENV_NAME}:azd-deploy'
        hooks:
            predeploy:
                # windows is provided but untested - use at your own risk
                windows:
                    shell: pwsh
                    run: |
                        npm run build:env
                posix:
                    shell: sh
                    run: |
                        npm run build:env

When I run azd package client-todo --output-path packages --debug the process appears to hang:
root ➜ /workspaces/cloud-native-todo (dfberry/separate-infra) $ azd package client-todo --output-path packages --debug
2024/01/11 14:01:47 main.go:54: azd version: 1.5.1 (commit 3856d1e98281683b8d112e222c0a7c7b3e148e96)
2024/01/11 14:01:47 main.go:208: using cached latest version: 1.5.1 (expires on: 2024-01-12T01:10:38Z)
2024/01/11 14:01:47 project.go:113: Reading project from file '/workspaces/cloud-native-todo/azure.yaml'
2024/01/11 14:01:47 cobra_builder.go:141: Resolved action 'azd-package-action'
2024/01/11 14:01:47 middleware.go:124: running middleware 'debug'
2024/01/11 14:01:47 middleware.go:124: running middleware 'experimentation'
2024/01/11 14:01:47 experimentation.go:42: assignment context: 9936g960:76971;
2024/01/11 14:01:47 middleware.go:124: running middleware 'telemetry'
2024/01/11 14:01:47 telemetry.go:50: TraceID: 0f51df668fb9c4a6c1fc605983bdce93
2024/01/11 14:01:47 middleware.go:124: running middleware 'hooks'
2024/01/11 14:01:47 hooks.go:156: service 'api-todo' does not require any command hooks.
2024/01/11 14:01:47 hooks.go:85: azd project is not available or does not contain any command hooks, skipping command hook registrations.

Packaging services (azd package)

2024/01/11 14:01:47 command_runner.go:307: Run exec: 'docker --version' , exit code: 0
-------------------------------------stdout-------------------------------------------
Docker version 24.0.7-1, build afdd53b4e341be38d2056a42113b938559bb1d94
2024/01/11 14:01:47 docker.go:260: docker version: Docker version 24.0.7-1, build afdd53b4e341be38d2056a42113b938559bb1d94
2024/01/11 14:01:47 docker.go:191: determining version from docker --version string: Docker version 24.0.7-1, build afdd53b4e341be38d2056a42113b938559bb1d94
2024/01/11 14:01:47 docker.go:203: extracted docker version: 24.0.7-1, build: afdd53b4e341be38d2056a42113b938559bb1d94 from version string
2024/01/11 14:01:47 ensure.go:47: Skipping install check for 'Docker'. It was previously confirmed.
  (-) Skipped: Packaging service api-todo
2024/01/11 14:01:47 framework_service_docker.go:174: building image for service client-todo, cwd: /workspaces/cloud-native-todo/client-todo, path: ./Dockerfile, context: ., buildArgs: [])
  Packaging service client-todo (Building Docker image)

  ──────────── Docker Output ────────────────────────────────────────────────────────────────────────────────────────────────────────────────

  #7 CACHED

  #8 [build 3/6] RUN apk update
  #8 CACHED

  #9 [internal] load build context
  #9 transferring context: 35.06kB 0.0s done
  #9 DONE 0.0s

  ────────────────────────────────────────────────────────────

Left it running for 10 minutes doing nothing - no feedback -- then stopped it.
To Reproduce
Use branch and try to use command.
Expected behavior
I would like the code packaging and container build to be different steps and that I can see the code packaged into an asset I can see when I run the package command.
Environment
Information on your environment:
* Language name and version
* IDE and version : [e.g. Visual Studio 16.3]
Additional context
Mac M1 running docker

I don't have access to a Mac M1 at the moment but I'm not able to repro on Windows or Linux (Windows w/ WSL).

@v-xuto could you try reproducing this using mac mini m1?

@rajeshkamal5050  I'm not able to repro this issue.
Enviroment:
azd version: 1.5.1 (commit https://github.com/Azure/azure-dev/commit/3856d1e98281683b8d112e222c0a7c7b3e148e96)
OS: Mac M2

Closing for now.  We're happy to re-open if we have a reproducible sample.


how to train with ppo?

how to train with ppo? i do not find the code, can you show me?

It's under development, coming soon


ReOrder Column Drag & Drop Item

In  ReOrderColumn  I cant get the reordered list after drag and drop, Iam getting the list of next drag

I can't tell what the problem is. A screen recording and some code might help.


Add lu decomposition for Tensors

Summary
This PR adds a new lu function for tensors, extending the LinearAlgebra.lu function (resolve #3). The new lu function returns the LU decomposition of a Tensor, where the tensor can be recovered by contracting the permutation tensor P, the tensor L, and tensor U. The tensors L and U are reshaped versions of the original lower and upper triangular matrices obtained during the decomposition process, respectively.
This implementation is inspired by the LU decomposition in the scipy library, as it returns the permutation tensor P allowing the original tensor A to be recovered with the contraction A = P * L * U. This contrasts with LinearAlgebra, where the permutation vector p is returned, and the original matrix can be recovered with P' * A = L * U (where P' is the permutation matrix built from p).
Please let me know if there are any concerns or issues with extending the LinearAlgebra library in this manner.
We have also added tests for this new function.
Example
A usage example of the lu function:
julia> using Tenet; using LinearAlgebra; using Test

julia> tensor = Tensor(rand(4, 4, 4), (:i, :j, :k))
4×4×4 Tensor{Float64, 3, Array{Float64, 3}}:
...

julia> P, L, U = lu(tensor, left_inds = labels(tensor)[1:2])
...

julia> @test contract(contract(P, L), U) ≈ tensor
Test Passed

I need more time to check why we need P and the details of the implementation. Since this is not a hurry, I will check it out whenever I have some free time.


Connection to rempl publisher – pending

I used local overridesin Chrome  to create script tag in html.
<script src="https://unpkg.com/react-render-tracker"></script>

My react script is defer, so I think it would start later. Also I don't have issues with csp.
And I got next status checks:
Connection to page – OK
Connection to rempl – OK
Connection to rempl publisher – pending...
NOTE: Page should contains a rempl publisher

What is rempl publisher? And how can I check that order of React -> RRT is right? There are no errors/warnings/etc in console.

Script is executing in right way.

Publisher is a part of the tool that is integrating with React and send data to UI. React render tracker (RRT) is built on Rempl which provides UI host init and transport layer. In your case publisher didn't connect to Rempl endpoint. This might be because of RRT script is not executed or executed in a sandbox or another frame. But to make sure I need to repro your scenario.

@lahmatiy

visit https://avito.ru (that site don't have CSP)
run in console - const scriptElement = document.createElement('script'); scriptElement.src='https://unpkg.com/react-render-tracker'; document.querySelector('body').append(scriptElement)
open rempl tab

@Tom910 This will not work because the script must execute before the React is initialized. React is checking __REACT_DEVTOOLS_GLOBAL_HOOK__ in global to attach to a tool. So if React executes first it will not be connected to a tool.

@lahmatiy think we need an error in console for this case, if it is possible.
I did these things:

add setTimeout to react script (local override), also it had defer option
add to another async script creating unpkg/rrt as a sync script

I checked with debugger, react initializing started after rrt executed.

Ok, I have two react on site, kek
So the real issue was created by order execution.
And wan't to copypaste that.
Think we need an error in console for this case, if it is possible.

@nickshevr So problem is still here or not? :)
It not clear to me how do you use overrides. I tried Tampermonkey to inject a script (document.createElement('script') etc) and got the same issue. Then I copy&pasted source of RRT from cdn, the problem is gone. However for avito.ru it shows nothing 🤔 For a couple of other sites using React it works fine

@Tom910 This will not work because the script must execute before the React is initialized. React is checking __REACT_DEVTOOLS_GLOBAL_HOOK__ in global to attach to a tool. So if React executes first it will not be connected to a tool.

Does this mean this tool automatically doesn't run if the dev tools aren't bundled? Namely if your build the app meant for a production environment. In case my question was unclear, does this run when using the production build of react?


centos7

EPEL Repo
How to Enable EPEL Repository for RHEL/CentOS 7.x/6.x/5.x
另一种yum install epel-release(无需使用wget和rpm安装)
## RHEL/CentOS 7 64-Bit ##
wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -ivh epel-release-latest-7.noarch.rpm
## How Do I Verify EPEL Repo? 多出来的那条: epel/x86_64
yum repolist

repo id               repo name              status
base/7/x86_64      CentOS-7 - Base            9591
epel/x86_64          Extra Packages for Enterprise Linux 7 - x86_64 12512
extras/7/x86_64    CentOS-7 - Extras            448
updates/7/x86_64   CentOS-7 - Updates        2416
repolist: 24967

## How Do I Use EPEL Repo?
yum --enablerepo=epel info zabbix
yum --enablerepo=epel install zabbix

How to Delete Repos on CentOS
We will be removing the EPEL repository that we initially installed.
Search the for the package name installed by executing this rpm command.

rpm -qf /etc/yum.repos.d/epel.repo
epel-release-6-8.noarch

Remove the packages and repos.

yum remove epel-release

Generally it is a good practice to run the following to clear any cached data regarding the installed packages as this can take up a lot of disk space.

yum clean all

elrepo
The Community Enterprise Linux Repository
https://www.elrepo.org/

"For the community, by the community."

Welcome to ELRepo, an RPM repository for Enterprise Linux packages. ELRepo supports Red Hat Enterprise Linux (RHEL) and its derivatives (Scientific Linux, CentOS & others).
Get started
Import the public key:
To install ELRepo for RHEL-7, SL-7 or CentOS-7:
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm

# for 6.x
rpm -Uvh http://www.elrepo.org/elrepo-release-6-8.el6.elrepo.noarch.rpm

#
yum install kmod-r8168

yum --disablerepo=\* --enablerepo=elrepo install kmod-nvidia

T430
T430在 登录centos7后会死掉, 解决一:
https://www.centos.org/forums/viewtopic.php?t=52922
解决二:
Centos 7 GNOME desktop freezes
http://elrepo.org/tiki/bumblebee
永久设置以text mode启动:systemctl set-default multi-user.target
或者单次以text mode启动
按e编辑GRUB menu, 然后启动行(以linux16开始的那行)的最后加上 3(空格3), 3表示text mode, 5表示graphic mode.
登录后startx启动GUI.
You can get a good idea what else is in that line before you reboot by typing:

    $  cat /proc/cmdline

比如:

    BOOT_IMAGE=/vmlinuz-3.10.0-327.36.3.el7.x86_64 root=UUID=2cc29b16-fe2b-400f-a39f-3e9048784599 ro vconsole.keymap=us crashkernel=auto vconsole.font=latarcyrheb-sun16 rd.driver.blacklist=radeon LANG=en_US.UTF-8 3

You can see the " 3" appended.

详见: https://unix.stackexchange.com/questions/303406/boot-into-non-graphical-mode-from-grub-prompt-rhel-centos-7
How to Set or Change Hostname in CentOS 7
另: https://github.com/uniquejava/blog/issues/35

nvidia
https://www.dedoimedo.com/computers/centos-7-nvidia.html

How To Install GNOME GUI In CentOS 7 Linux
https://www.rootusers.com/how-to-install-gnome-gui-in-centos-7-linux/

node.js
How to install Node.js and npm on CentOS 7

add sudo user
https://www.digitalocean.com/community/tutorials/how-to-add-and-delete-users-on-a-centos-7-server


3037 support privacy declaration resource type for custom fields

partially closes #3037
there will need to be some follow up changes on the fidesplus API side to make this fully work, but these are the necessary updates in fides
Code Changes

update sqlalchemy and DB resource_type enum for CustomFieldDefinition and CustomField tables/models to allow privacy_declaration as a value

include a migration for this change. migration downgrade path has to remove any records (CustomFields and CustomFieldDefinitions) that have the privacy_declaration as their resource_type

also includes a new function that will help support for getting custom field values of PrivacyDeclarations into the datamap export API response

if we decide to move all export code over to fidesplus, then this should no longer be here in fides

Steps to Confirm

The only real testing we can do on this PR specifically would be around the migrations.
Testing the actual application functionality will require some updates to the API, which lives in fidesplus

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md
[ ] For API changes, the Postman collection has been updated

closing in favor of https://github.com/ethyca/fides/pull/3149 which is more targeted and using a branch off main


Default to Spark 3.2.x and Scala 2.13.x

Spark 3.2 officially supports Scala 2.13

Please change the pull request title!


Let the dog move based on the message of cmd/vel

The dog can perform action based on cmd/vel topic

Contributes to https://github.com/NU-IDEAS-Lab/robot_go1/issues/15.


Fix #8204 UI : While login just show the loader in login button.

Closes #8204
Describe your changes :

I worked on the issue #8204

Type of change :

[x] Improvement

Frontend Preview (Screenshots) :
https://user-images.githubusercontent.com/59080942/196384859-e1598af1-4d49-44dc-a012-949408c92b33.mov

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers
@open-metadata/ui

Thanks, @chirag-madlani , All comments are addressed.


collaboration proposal

Hi, at https://teleporthq.io we're working on the same topic.
https://twitter.com/TeleportHQio/status/1016341169662459904
We're able to export sketches in any type of code (React, React-Native, Vue, etc... )
We've partnered with https://moqups.com to test our technology in real-life conditions. We'd be really interested in starting a conversation about this topic.
Best regards,
Paul

Paul , looks very interesting how long we have to wait for the first release  ?

Hey Paul
I am OOF until today 3rd September. Let’s certainly discuss this on my return tomorrow.
Thanks for your patience! Looking forward to speak with you.
Tara
Sent from my iPhone
On Aug 31, 2018, at 1:55 AM, Paul BRIE <notifications<EMAIL_ADDRESS>wrote:
Hi, at https://teleporthq.iohttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fteleporthq.io&data=02|01|tarasha%40microsoft.com|19409390f81d4e9e279e08d60f1f7803|72f988bf86f141af91ab2d7cd011db47|1|0|636713025162909976&sdata=bV4aM%2BGbHIT6DBGQTjjk%2F8lNYIPy2NxiYW%2FPQGuVZzI%3D&reserved=0 we're working on the same topic.
https://twitter.com/TeleportHQio/status/1016341169662459904https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2FTeleportHQio%2Fstatus%2F1016341169662459904&data=02|01|tarasha%40microsoft.com|19409390f81d4e9e279e08d60f1f7803|72f988bf86f141af91ab2d7cd011db47|1|0|636713025162909976&sdata=Q68PurTXB1czWrSfc8SAa%2BF21%2FAGiaIo2a4Xiez0%2BG0%3D&reserved=0
We're able to export sketches in any type of code (React, React-Native, Vue, etc... )
We've partnered with https://moqups.comhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmoqups.com&data=02|01|tarasha%40microsoft.com|19409390f81d4e9e279e08d60f1f7803|72f988bf86f141af91ab2d7cd011db47|1|0|636713025162909976&sdata=SEAEh14bXfecpBn0p55gAgq8uiH96IttPlalmRqXB7U%3D&reserved=0 to test our technology in real-life conditions. We'd be really interested in starting a conversation about this topic.
Best regards,
Paul
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Failab%2Fissues%2F2&data=02|01|tarasha%40microsoft.com|19409390f81d4e9e279e08d60f1f7803|72f988bf86f141af91ab2d7cd011db47|1|0|636713025162909976&sdata=gDHFZb6cp78ElXA5w3hoDZBKOjr8p6v%2BSn%2FbD2bel70%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHv4sKCxDpQs4wcjKX5JFv_d7wmVkMakks5uWPnxgaJpZM4WU2Ig&data=02|01|tarasha%40microsoft.com|19409390f81d4e9e279e08d60f1f7803|72f988bf86f141af91ab2d7cd011db47|1|0|636713025162909976&sdata=UES8vhMbfULrYPSNvjhqBwJ8nCtcCQCluoabWHImiws%3D&reserved=0.

@tarasha: thanks for your reply. Ping me anytime, and I'll make myself available.

@arzounir: we're rolling out almost everything we have - OSS, experiments, (Sketch & AI), and our playground, by the end of October. You can follow our announcements here: https://twitter.com/teleporthqio

Looks phenomenal. As you know Sketch2Code is an experiment, an idea, an inspiration for developers to do more with AI. It's not a product and it is indeed not our intention too. Can we please sync up and discuss your ideas. Please send and email invite to<EMAIL_ADDRESS>I shall send that further to Miguel

@tarasha: done!

We had a great discussion, and closed the loop by discussing the issue over a call. Thanks to @macastejon Emil and you Paul


Updated Carris Metropolitana with GTFS-RT feeds

feat: Updated schedule GTFS to new stable URL at provider's API
feat: Added GTFS-RT at provider's API: VehiclePositions
feat: Added GTFS-RT at provider's API: ServiceAlerts
I added the provisional IDs under "99999" subject to maintainers change to attribute the final ID.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @ricardojorgerm! Thank you for this great contribution.
We've changed how we update feeds to preserve direct download URLs so there's stable information in a feed over time. Could you

Create a new feed for the new API link
Set the status of the old one to deprecated
In the old feed, add a redirect id to the new API link

@emmambd proceeded as instructed, thank you for your guidance.


How do you calc the light bounce from the raymarch scene?

I've been looking around and I'm trying to do what you've done and develop my own 2D GI. Though I've gone a different path using polar-ray tracing with a dual pass shader: https://github.com/FatalSleep/2D-QuickRayTracing-GLSL
The efficiency of my algorithm is almost absurd, something in the order of thousands of lights depending on light radius. The problem is I don't have light bouncing, I'm not 100% sure on the approach I should use to calc it.
Any insight?

Also I don't know how much of a performance increase you could make, but you could probably add checks to improve performance to only perform pixel-ray casts within light distance to emissive objects.


Bond and Unbond not looking at RUNE balance.

When trying to set bond and unbond amounts, RUNE balance is not being shown as the max.
The busd/busd balances are being shown instead. This may be an impact of adding synths as other assets can be on the THORChain blockchain.

Fixed


Slightly relax annotation validation

The more aggressive validation on annotations broke openshift (and
backwards compat for our data).  This change relaxes to allow mixed
case so we can continue working in the short term, try to see if we
can agree on relaxation, and if we can't, apply the stronger
validation here.
@bgrant0607 can we relax annotation key validation while we discuss
flexibility, and give OpenShift time to adapt if necessary?

LGTM, but I am also ok to just change this to much looser anyway

So am I, tried to be reasonable.  If any of the arguments in the referenced thread swayed anyone to be very loose, I'm also fine with making this be much looser.  I don't think Brian was convinced yet though.
----- Original Message -----

LGTM, but I am also ok to just change this to much looser anyway

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/pull/4017#issuecomment-72410361

I'm fine with loosening it for now, and I'd be fine with loosening restrictions on labels, as well. I'm not fine with long-term inconsistency.

I don't see inconsistency as a problem between labels and annotations.
Despite taking similar form, they are different.  Labels are processed
programmatically with a defined syntax and comparators, annotations are
just not.
On Mon, Feb 2, 2015 at 11:43 AM, Brian Grant<EMAIL_ADDRESS>wrote:

Merged #4017 https://github.com/GoogleCloudPlatform/kubernetes/pull/4017
.
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/4017#event-228760999
.

There is a compelling reason for the permissible forms of values to differ, but differences in rules for keys would be arbitrary and hard for users to remember (they're the same in every way except annotations can be mixed case?).

Put another way: I'm going to insist on consistency in the rules for keys unless someone can produce an extremely compelling reason for why they should differ. Just saying "I don't find it a problem" isn't going to fly.

I'm not going to fight hard for it because I don't care THAT much, but
here's my though process.
~ALL names in kubernetes are DNS labels or subdomains (or qualified-name
with is a combo of the two, which i could revisit).  This makes parsing and
validating them programmatically simple and predictable.
Annotations are never used programmatically.
There's negative value in making label keys more flexible - they become
more complex for no gain (e.g. name vs Name).
There's no value except consistency in making annotation keys be rigid.
Making label keys more flexible is pretty much a non-starter*.  The only
question is whether the consistency of making annotation keys more rigid is
worth the cost.
*Unless the proposal is to make them caseless, which is technically correct
as per RFC.  This would make consumer code more complex for no gain, so I
am against it.
On Mon, Feb 2, 2015 at 5:27 PM, Brian Grant<EMAIL_ADDRESS>wrote:

Put another way: I'm going to insist on consistency in the rules for keys
unless someone can produce an extremely compelling reason for why they
should differ. Just saying "I don't find it a problem" isn't going to fly.
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/4017#issuecomment-72574971
.

Annotations are used programmatically, such as by Openshift, kubectl, auto-scalers in the future, etc.

In any fashion other than "display to user"?
On Feb 2, 2015 7:54 PM, "Brian Grant"<EMAIL_ADDRESS>wrote:

Annotations are used programmatically, such as by Openshift, kubectl,
auto-scalers in the future, etc.
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/4017#issuecomment-72588400
.

Yes, totally. They're used to record deployment information, such as intermediate rolling update state.

OK, if that's the case, then perhaps structure is better.  My main concern
is that loosening labels brings negative value - let's not.
On Mon, Feb 2, 2015 at 8:23 PM, Brian Grant<EMAIL_ADDRESS>wrote:

Yes, totally. They're used to record deployment information, such as
intermediate rolling update state.
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/4017#issuecomment-72590546
.

A slightly more relevant example of where mapping external keys into a lowercase space has issues.

I want to record the value of a particular attribute from a JSON record
For instance, in v1beta1 we have "desiredState.manifest.version" as a field.

During migration to v1beta3 that field is lost, so I want to stick it into an annotation when I upgrade it

It seems pretty natural to store that as a key - perhaps "migration.1/desiredState.manifest.version" with value "v1beta2"

Requiring me to lowercase it means when I try to read that value back out and use it, I need to map "desiredstate" into "desiredState".

Since that's not easy, I'll do something like "migration.1" = '{"desiredState.manifest.version":"v1beta2"}'

The latter form may be more flexible, but is strictly more complex than the former.  I know for Javascript or Java clients there will be lots of places where keys from other spaces need to be mapped into annotations, and mixedCase is not uncommon there.  With annotations, are we trying to stay within a key space that can be transformed into a specific output from (like ENV, filenames, or URLs)?
----- Original Message -----

OK, if that's the case, then perhaps structure is better.  My main concern
is that loosening labels brings negative value - let's not.
On Mon, Feb 2, 2015 at 8:23 PM, Brian Grant<EMAIL_ADDRESS>wrote:

Yes, totally. They're used to record deployment information, such as
intermediate rolling update state.
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/4017#issuecomment-72590546
.

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/pull/4017#issuecomment-72591680

Let's flip this around: What are the problems with similarly relaxing restrictions on label keys?

Labels are user input (I'll assert annotation keys are primarily not).  So like tags or other categorization schemes the goal is to reduce the amount of possible unexpected variation - what the user sees is what the user gets.  They should be easy and unambiguous to enter from the cli, be able to be used in a wide variety of names (env vars, file names, urls) without conflict.

On Feb 12, 2015, at 8:45 PM, Brian Grant<EMAIL_ADDRESS>wrote:
Let's flip this around: What are the problems with similarly relaxing restrictions on label keys?
—
Reply to this email directly or view it on GitHub.

Was it intentional to allow uppercase and underscores in the hostname-like part of the keys?

In the namespace scope?  No.
----- Original Message -----

Was it intentional to allow uppercase and underscores in the hostname-like
part of the keys?

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/pull/4017#issuecomment-97187335

Ok, thanks. Also, it was pointed out that the documentation wasn't updated:
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/labels.md#syntax-and-character-set

Is there a bug open?
On Tue, Apr 28, 2015 at 3:32 PM, Brian Grant<EMAIL_ADDRESS>wrote:

Ok, thanks. Also, it was pointed out that the documentation wasn't updated:
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/labels.md#syntax-and-character-set
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/4017#issuecomment-97245597
.


Book1 (June 22, 2023), <IP_ADDRESS> , page 582

I think you mean Omega instead of Z

I think it's better to use Omega for notational consistency unless there is a meaning I didn't see

Fixed, thanks. (I guess I switched from Z to Omega to avoid confusion with inducing points, but didn't propagate the change thoroughly enough :(


Unable to scroll down left side menu

Description:
The following URL's left menu items are not accessible with scrolling.
https://apim.docs.wso2.com/en/4.2.0/reference/product-apis/gateway-apis/gateway-v2/gateway-v2/#tag/Get-API-Info
bottom most items are hidden from the screen
https://user-images.githubusercontent.com/3424539/207856585-6f8c7a70-1639-4f7a-b0d8-99a0d84e58f0.mov
Version 108.0.5359.98 (Official Build) (arm64)
MAC OS Monetary
Version 12.4

The user has to collapse the first menu item to see the items below. Hence, closing this issue.


Yarn/pnpm/workspace-support: Use npm exec

The Phero CLI currently references things like node_modules/.bin/phero-client in order to run commands, while in some situations (like with workspaces), the actual executables are on a different location. TIL this is where npm-exec is for, and it seems to work with npm, pnpm, yarn, with or without workspaces. This would probably fix #87 as well.

Fixed in #94


Cookie AuthN - 404 instead of unauthorized

404Sample.zip
See the sample (working via swagger and the default request objects works out of the box) - when you call /debugauthn/demo, you get a 404. If you call /debugauthn/login and then again /debugauthn/demo it works (authenticated). Why am I seeing 404 when not authenticated? That is strange.

will have a look at your sample as soon i get a chance.
in the meantime, please see if this is related to the following: https://github.com/FastEndpoints/FastEndpoints/issues/389#issuecomment-1445249592

That is exactly the behavior, and yes, the linked fix does work (404 is now 401)

alrighty then :-)


Handling union of unions by default

Hello,
at the moment, the default implementation of Union.dispatch doesn't delegate the dispatching if one of its type is of kind "union".
I propose to include this case in the implementation, so we can use union of unions :
Union.dispatch = function (x) {
    for (var i = 0, len = this.meta.types.length; i < len; i++ ) {
      if (types[i].meta.kind === "union") {
        var type = types[i].dispatch(x);
        if (type) {
          return type;
        }
      } else if (is(x, types[i])) {
        return types[i];
      }
    }
  };

With this implementation, something like this would work by default :
const TodoListAggregate.Command = union([AddTodo, EditTodo])
TodoListAggregate.Command.dispatch(customDispatch) // dispatch to AddTodo or EditTodo based on custom logic
const Command = union([TodoListAggregate.Command, AnotherAggregate.Command]) // union of unions :D
Command(fooBar) // assuming fooBar is of type AddTodo, it will delegate the dispatching to TodoListAggregate.Command.dispatch method

Hi @jgoux, good idea! I'd just add a check to be sure it's really a union (theorically it could also be a class constructor):
function isStruct(x) {
  ...
}

function isMaybe(x) {
  ...
}

function isUnion(x) {
  return isType(x) && (x.meta.kind === 'union');
}

...

Union.dispatch = function (x) { // default dispatch implementation
  for (var i = 0, len = types.length; i < len; i++ ) {
    var type = types[i];
    if (isUnion(type)) { // dispatch recursively
      return type.dispatch(x);
    }
    if (is(x, type)) {
      return type;
    }
  }
};

Do you want to submit a PR with this change and some tests? I'd love to see you listed as a contributor

I'll try to push something tomorrow. :+1:


Not working after latest ST3 Update

After updating Sublime Text 3 recently I noticed Beautify on Save stopped working, then I tried to manually run the command and I got this error message:
Error on line 339: Invalid US-ASCII character "\xC2"
Use --trace for backtrace
Use --trace for backtrace.
Any thoughts?

Please post the sass you were trying to beautify.

I think it has something to do with an unset encoding setting, like in inuit.css: https://github.com/csswizardry/inuit.css/issues/270
So try with a @charset "UTF-8"; at the top of your SASS file. Helped me with some other non US-ASCII characters like • and –, too.
@badsyntax: Maybe there is a fix like mentioned by @bl1nk on https://github.com/csswizardry/inuit.css/issues/270#issuecomment-28784335: -E "UTF-8"


autocmds break executing of macros

Executing a macro where <esc>f<something> happens goes into insert mode.
For instance let's say we have (^ denotes where the cursor is):
foo("bar")
     ^

Executing a macro ciwfoo^[f)i, 1^[ makes:
foo("foo"))i, 1

instead of
foo("foo", 1)

After some fair amount of debugging the issue seems to be going away after removing the plugin which makes me think the autocmds for InsertEnter or  CursorMovedI cause this.

I can't reproduce this problem. I don't really see how the autocmds could cause this, but there could be a conflict with another plugin. Does it still happen if Pear Tree is the only plugin enabled?
Another possibility: Pear Tree remaps <Esc> by default. Depending on your Vim version and terminal emulator, it's possible that this could cause unexpected behavior that I'm unaware of. Try putting the following in your vimrc:
imap jk <Plug>(PearTreeFinishExpansion)

The jk is unimportant. Just map something to <Plug>(PearTreeFinishExpansion) to prevent Pear Tree from mapping <Esc>, then see if your issue is still present.

Remapping  <Plug>(PearTreeFinishExpansion) to something else fixes the issue. Of course this breaks the finish expansion of multi-line brackets that now has to be applied manually with the new mapping.
The terminal emulator is Konsole 19.04.1
$TERM is xterm-256color
Vim is 8.1 (2018 May 18, compiled Apr 26 2019 21:55:55); Included patches: 1-1186; Compiled by Arch Linux

I was worried that would be the case. This is a terminal limitation that I can't do much to fix. As a workaround, I added g:pear_tree_map_special_keys, so you can prevent this issue with the following configuration:
let g:pear_tree_repeatable_expand = 0
let g:pear_tree_map_special_keys = 0
imap <BS> <Plug>(PearTreeBackspace)
imap <CR> <Plug>(PearTreeExpand)

Pair expansion will not be dot-repeatable, but it will work essentially how many other auto-pair plugins do.


pixivuntill dont connect

hello, i have a problem, i dont want to be a bother or something but thing is , i reinstalled windows 2 days ago
current windows win 10 enterprise
i redownloaded pixiv until 2 and tried a full clean  with no cookies or logins
but i keep getting same error
https://cdn.discordapp.com/attachments/465470547476873228/596295397279006760/unknown.png
it keeps saying av/fw but  i turned those off but no luck , so what can i do further to slove this ?
i am not knowledge or something i am happy i got to know how it works
2 weeks ago my old client worked fine still , i dont know where the problem lies

what i also tried is a difrent pc with w10 home ,
i copied cookie and login from pixiv in firefox but no luck it wont connect or login, i realy like to have some help wit hthis maby someone have ideas what or how i can find out what the problem is if its on my side or  the bot

Can you open the website directly in the browser (without proxy/vpn)? I can login just fine from the application.
From the error message, something is preventing the application to connect to the server/internet.

Hello, I am having the same problem as Shirotora which happened around the same time.
I tried tweaking the AV, disabling it, try the last version (v20190712 as of today) on another computer with windows just reinstalled for the test.
PixivUtil cannot work, but I can connect on Pixiv with a browser.

Can you unblock the downloaded archive before extracting? (right click on the file and click properties in windows explorer).
For example (from other zip file):

I did, but not working.
I might precise that some time passed between I once updated PixivUtil and it stopped working. It was not due to a new version.

Try this:

Open your browser and go to https://www.whatismybrowser.com/detect/what-is-my-user-agent.
Copy the user agent string and save it to config.ini

Login to your pixiv account using browser and copy the cookie values to the config.ini.
Run the application.

If it still not working, try to run it from source code (you need to install python 2.7.x and the required library, see https://github.com/Nandaka/PixivUtil2/wiki on Useful Tips 2).

Hello, I just did the user agent and cookie value modification and installation from source, but sadly there was no change.
Shirotora : are you still here ? Did you tried on your side ?

Can you open the website directly in the browser (without proxy/vpn)? I can login just fine from the application.
From the error message, something is preventing the application to connect to the server/internet.

yes i tried browsers like chrome/edge/firefox and all log in fine
i notice a 2019/07/12 i tried a clean version of that one  but also that do the same it can not log in, and i dont use proxy/vpn

ok i got news, the https://github.com/Nandaka/PixivUtil2 master version py works fine, so its the windows version that is broken
https://cdn.discordapp.com/attachments/476025212924854272/600408248297717800/unknown.png
i tested it myself now, with my current windows enterprise ltsc with bash/linux w/e stuff and it seems it log in fine Nandaka

good, most likely something in the windows blocking the compiled version from accessing the internet.

ok i have a new problem, since i builded a new pc i reinstalled everything and now i get this

get new cookie from your browser and retry?
https://github.com/Nandaka/PixivUtil2/issues/507#issuecomment-511165934

yeah the cookie frome chrome worked, somehow the firefox one not while i  use firefox mainly

I believe it also check the user agent (also configurable in config.ini).


Added support for port override for srv resolver + port matcher on kedge

Signed-off-by: Bartek Plotka<EMAIL_ADDRESS>

Codecov Report

Merging #37 into master will decrease coverage by 0.17%.
The diff coverage is 63.63%.

@@            Coverage Diff             @@
##           master      #37      +/-   ##
==========================================
- Coverage   49.75%   49.57%   -0.18%
==========================================
  Files          22       24       +2
  Lines        1039     1071      +32
==========================================
+ Hits          517      531      +14
- Misses        481      498      +17
- Partials       41       42       +1

Impacted Files
Coverage Δ

lib/resolvers/srv.go
60.86% <63.63%> (ø)

lib/resolvers/k8s.go
0% <0%> (ø)

Continue to review full report at Codecov.

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


NIFI-8314: Generate warning for long-running processor tasks

https://issues.apache.org/jira/browse/NIFI-8314
Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
Description of PR
Enables X functionality; fixes bug NIFI-YYYY.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically main)?

[x] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] Have you verified that the full build is successful on JDK 8?
[ ] Have you verified that the full build is successful on JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

Thanks @turcsanyip I think this will be quite helpful. The only thing that I think may be worth considering would be, in addition to logging the stack trace and logging for the processor, possibly also generating a controller-level bulletin, as some people may miss the processor-level bulletin. But I don't think it's necessary to do that before merging this. All changes look good to me so I'm a +1. Will merge to main.


Change 'NextLink' to 'NuxtLink'

Description (required)
Change 'NextLink' to 'NuxtLink'
Related issues & labels (optional)

Closes #
Suggested label:

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any broken links you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Vercel 🥳

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.


typo "connectivty" -> "connectivity"

The following articles have the typo "connectivty" in the file name, which should be "connectivity"
https://docs.microsoft.com/azure/networking/connectivty-interoperability-preface
https://docs.microsoft.com/azure/networking/connectivty-interoperability-configuration
https://docs.microsoft.com/azure/networking/connectivty-interoperability-control-plane
https://docs.microsoft.com/azure/networking/connectivty-interoperability-data-plane
Didn't PR this since these changes usually need to get pulled into the internal repo for testing

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

ID: 5b7248a4-db18-f125-d46f-3f3909281529
Version Independent ID: b24c1305-955a-d873-6f1f-ca60532efcc4
Content: Interoperability in Azure back-end connectivity features: Test setup
Content Source: articles/networking/connectivty-interoperability-preface.md
Service: expressroute,vpn-gateway,virtual-network
GitHub Login: @rambk
Microsoft Alias: rambala

#please-close

Don't really care much, but this isn't actually fixed. The typo still exists in the URL

@nschonni
Got this one confused with another open issue and didn't put the right verbiage in the please close.  I created an internal work item to fix this issue.
Thanks!
allen


Failed Edge deployments still in waiting room, unable to be removed and counting on licences

Bug description
After trying to deploy an Edge agent, waiting room keeps all tries to deploy and count on licences. Also, I cannot remove from Waiting room neither they appeear on environment to be removed.
Expected behavior
Failed Edge agent to be removed or have a explicit button allowing removing them.
Technical details:

Portainer version: 2.18.1
Docker version: 23.0.4
Platform (windows/linux): Red Hat Enterprise Linux release 9.1
Have you reviewed our technical documentation and knowledge base? Yes

@leleobhz
Thank you for the information.  This is a known issue that devices in the waiting room can not be deleted.  This is going to be resolved in the next upcoming major release.
Thanks!

@leleobhz
Thank you for the information. This is a known issue that devices in the waiting room can not be deleted. This is going to be resolved in the next upcoming major release.
Thanks!

Hello!
Thank you @tamarahenson for you reply. Any workarround exists for expiration time before this new major release comes up?

@leleobhz
Can you please send an email to<EMAIL_ADDRESS>for your License issue so I can further investigate?
Thanks!

Hello!
FYI, this issue keep happening on 2.18.2.

Update:
This issue was resolved removing the endpoints from the database.
Note:  we do have an internal issue logged to resolve this issue in the next upcoming major release.
Thanks!

I'll close this since this issue has been adressed and have a fix:

Backup database
Use https://github.com/br0xen/boltbrowser (I created a container that mounted Portainer volume inside it - remember to stop Portainer server)
Remove entries from entrypoint but keep the ID from edge components that must be removed
Open all entries an check for entrypoint references from same IDs. I found it on both entrypoint* keys.

Thank you @tamarahenson for you support!


Artifact path normalization

Paths from Windows agent (1.0-beta.12.317) display in the dash board as \ while other agents (mac/linux) display as /. The real problem is trying to download those from an agent - an artifact path to match files/* fails to find Windows built artifacts that would match the glob/path. I think all paths should be normalized to / as to retain parity/consistency at all times.
Reproduce :

add build step with artifact path in pipeline such as files/*
observe artifacts from a Windows agent are uploaded just fine
add second build step (with wait for previous steps)
try download the artifacts from the step using buildkite-agent build-artifact download "files/*"
result:

Windows agent artifacts not found
Other agents artifacts found

Also tested:

Tried files\* and files\\*, no luck.

Newer fixes by @toolmantim have solved the downloads being found by the tool. \o/
However, while on a unix machine downloading the artifacts from Windows agents, it results in files only found by \. This is ok, but the resulting disk-file being named as path\to\item.file literally, as the filename.

+1. I’ve observed the following additional behaviour:
For uploads:

files/**/* only matches one level deep, i.e. files/foo/bar.txt, but not files/foo/bar/baz.txt
files\**\* matches the entire tree

For downloads:

files\**\* seems to match all artifacts
files\foo\* doesn’t match anything

Looks like I’m currently running <IP_ADDRESS>1.

We've done some testing with Artifacts and the latest v3 release of the agent, and everything seems to be working A-OK! We're gonna close this for now. If you see any further issues, hit us up!


Follow up on splitting Flags from Option on annotate command

Following up on https://github.com/kubernetes/kubectl/issues/1276, we need some more refinement based on the review from @ardaguclu on https://github.com/kubernetes/kubernetes/pull/112817. Basically:

Move DryRunStrategy and DryRunVerifier from flags to options
Write Unit tests for https://github.com/kubernetes/kubernetes/pull/112817/files#diff-9ccf80373137694902ef1403ddc2640d3511785056ff8ee07292611b95bdcdffR268-R286
Write some integration tests in here: https://github.com/kubernetes/kubernetes/tree/534f052a8dfdd7b5861ee60d764d12da199c3bba/test/cmd

/kind cleanup

/remove-kind feature

/triage accepted
/priority backlog

/assign


Re-structuring file hierarchy

The worst issue to do, but the most necessary to compliance with the principles of "clean code"

Next time

Done


I71 improve autcomplete

Removed jquery ui autocomplete and instead using awesomplete as it is much lighter.
Some small styling changes too.

 Replace jquery UI autocomplete

Oh yeah, I'm pretty sure jquery-ui isn't used so I'll take care of that.


Feature: New hot cards

Type of feature
🍕 Feature
Current behavior
Currently cards are shown in PostGrid view and PostList view. We are removing that toggle and showing the hottest repos in PostGrid view and update the list to be shown with all repos listed.
Suggested solution
Please remove the sub-nav from the page and replace that with the "hot card" section. There will only be 3 cards listed, which we can do this statically in the component. We can mock the data for.
Please render these 3 repos as hot repos.

oven-sh/bun
pocketbase/pocketbase
open-sauced/open-sauced

Link to figma
Additional context
password to figma is secretsauce
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Contributing Docs

[X] I agree to follow this project's Contribution Docs

Here's the "voted" state for the "Upvote" button. We can change the copy, that's just a placeholder.

.take


build: bump sipi version (DEV-188)

resolves DEV-188

@BalduinLandolt the changed LUA files are relevant for your BundleRepresentation PR. We need to clean this up. The distinctions there are a bit confusing.