Dockerfile updated to pre-release (alpha) base image

Package ecosystem
Docker
Manifest location and content before the Dependabot update
https://github.com/smrealms/smr/blob/2e72c95ce1ea41c1810c0f3d2d732b8b50dff59c/Dockerfile
Location: /Dockerfile
Content: FROM php:8.1.7-apache
dependabot.yml content
https://github.com/smrealms/smr/blob/5c514f4803f8b01cdfad27b35dd31187d82bfc16/.github/dependabot.yml
version: 2

updates:
- package-ecosystem: docker
  directory: "/"
  schedule:
    interval: daily

Updated dependency
Dependency name: php
From version: php:8.1.7-apache
To version: 8.2.0alpha3-apache
What you expected to see, versus what you actually saw
I expected to not see a Dependabot PR for an alpha version.

Images of the diff or a link to the PR, issue, or logs
PR: https://github.com/smrealms/smr/pull/1387
Dependabot log: https://github.com/smrealms/smr/network/updates/415198896

🕹 Bonus points: Smallest manifest that reproduces the issue
FROM php:8.1.7-apache

Just tried this and got the expected result:
=> parsing dependency files
=> updating 1 dependencies: php

=== php (8.1.7-apache)
 => checking for updates 1/1
 => latest available version is 8.1.12-apache
 => latest allowed version is 8.1.12-apache
 => requirements to unlock: own
 => requirements update strategy:
 => updating php from 8.1.7-apache to 8.1.12-apache

    ± Dockerfile
    ~~~
    1c1
    < FROM php:8.1.7-apache
    ---
    > FROM php:8.1.12-apache
    ~~~
🌍 Total requests made: '0'

Som recent change must've fixed this 🎉.
Thanks for reporting and sorry for the late reply!


Integration with a modules JS system

All source code has to be write with using some of js module system library

There were making modifications to integration with webpack.


cigien: Watch taxitaisaigon.vn

cigien requests the watch of the watch_keyword taxitaisaigon\.vn. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

taxitaisaigon\.vn has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


[Feature Request] Autogen requestTemplates for Api Gateway Integration trait by using http traits

Motivation: we want to use aws as ApiGateway integration instead of aws_proxy.  The difference between aws and aws_proxy is well-documented. However, the good thing of aws integration is the handler code does not have to do deserialization/serialization. We want to use this [de]serialization for GET request. We already have a dumb library that is able to generate Java POJO from generated Swagger spec. These POJO is already used in POST request to [de]serialize the json. We want to use these POJOs the same way for GET as it is for POST. However, we DO NOT want to manually specify requestTemplates on aws.apigateway#integration.
Upon a cursory reading of AddIntegrations, AddIntegrations is able to use cors trait from http traits. We think we could auto-generate requestTemplates from the information providing by httpLabel, httpPayload, httpQuery, and httpPrefixheaders traits.
We wonder

Is this something that AWS[Labs] have considered and discarded or planned to do?
Is this architectural sound?

We don't want to shove this logic into AddIntegrations (if we could), because there could be client who does not want it. Furthermore, this logic can't support complicated/nested operation's input structure definition.
Smithy claims to be "extensible", but we have not found any straightforward guide to implement a custom own trait.

What are the steps to get pull request accepted?

(provided that one welcome pull request) any suggestion on feature flag on traits to enable/disable this feature?

If I understand correctly, the request here is to add the ability to generate request templates that make some set of GET and POST requests rewritten to the same kind of request?

Smithy claims to be "extensible", but we have not found any straightforward guide to implement a custom own trait.

Sorry about that. We plan on tackling more documentation like this soon. For now, you could look at how existing traits are implemented. For example, this directory contains many different types of traits, and also validators that can be used to ensure traits are applied correctly: https://github.com/awslabs/smithy/tree/master/smithy-aws-traits/src/main/java/software/amazon/smithy/aws/traits/apigateway. Traits and validators need to be registered in META-INF/services so that they're detected as service providers (for example, https://github.com/awslabs/smithy/tree/master/smithy-aws-traits/src/main/resources/META-INF/services). Then you just need to add your package to the classpath, and it's automatically applied when loading traits for a shape.

What are the steps to get pull request accepted?

If it's a smaller change, then just opening a pull request with a good description and test cases is all it takes. If it's a larger change, it's usually to discuss them first before putting in a lot of work (like this issue 👍).

If I understand correctly, the request here is to add the ability to generate request templates that make some set of GET and POST requests rewritten to the same kind of request?

Correct.  GET requires requestTemplates transformation, because the GET Http does not have a body like POST.
About 2nd and 3rd comments, does this mean that your opinion leaning toward an implementation that use a separate trait as a marker to activate the feature.

At this point, I think we'd need more evidence that this is a common use case in order to add it to Smithy itself.
When I think about serialization formats like this, I typically lean towards relying on protocol abstractions (for example, to smooth over the isomorphism between GET and POST requests). We're working on ways to make it easier to implement a custom protocol in both the model and in codegen, but it's still a WIP. In the meantime, I do think a customization would be the right approach here, though it will definitely take some work.

This is not something we'll provide as a built-in feature to Smithy's OpenAPI converter at this time, but it's something that could be done using an extension registered as a service provider. Take a look at https://github.com/awslabs/smithy/blob/master/smithy-openapi/src/main/java/software/amazon/smithy/openapi/fromsmithy/Smithy2OpenApiExtension.java for a starting point. You could implement a mapper that maps over different parts of the OpenAPI model being built: https://github.com/awslabs/smithy/blob/95e0dc6061f32bea64ceb7eff3f262e69a35528b/smithy-openapi/src/main/java/software/amazon/smithy/openapi/fromsmithy/OpenApiMapper.java#L45. An OpenApiMapper is a lot like an event based system, but it uses specific interface methods and return values. Hope this helps.


Proposal to collect DebugCreator details on release mode

Because of performance considerations, it does not collect DebugCreator information on release mode, such as:
  try {
    element.rebuild();
  } catch (e, stack) {
    _debugReportException(
      ErrorDescription('while rebuilding dirty elements'),
      e,
      stack,
      informationCollector: () => <DiagnosticsNode>[
        if (kDebugMode)
          DiagnosticsDebugCreator(DebugCreator(element)),
      ],
    );
  }

However, there are some online error without more useful information, which makes it difficult to troubleshoot where causes the error, such as the below case, we don't know anymore other details except a framework stack trace.
Null check operator used on a null value
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞════════════════════════
The following _CastError was thrown building Widget:
Null check operator used on a null value
When the exception was thrown, this was the stack:
#0      ContainerRenderObjectMixin._insertIntoChildList (package:flutter/src/rendering/object.dart:3211)
#1      ContainerRenderObjectMixin.insert (package:flutter/src/rendering/object.dart:3243)
#2      MultiChildRenderObjectElement.insertRenderObjectChild (package:flutter/src/widgets/framework.dart:6065)
#3      RenderObjectElement.attachRenderObject (package:flutter/src/widgets/framework.dart:5674)
#4      RenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5365)
#5      SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5986)
#6      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3546)
#7      Element.updateChild (package:flutter/src/widgets/framework.dart:3311)
#8      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4525)
#9      StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4672)
#10     Element.rebuild (package:flutter/src/widgets/framework.dart:4194)
#11     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4479)
#12     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4663)
#13     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4474)
#14     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3546)
#15     Element.updateChild (package:flutter/src/widgets/framework.dart:3311)
#16     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4525)
#17     Element.rebuild (package:flutter/src/widgets/framework.dart:4194)
#18     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4479)
#19     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4474)
#20     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3546)
#21     Element.updateChild (package:flutter/src/widgets/framework.dart:3311)
#22     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4525)
#23     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4672)
#24     Element.rebuild (package:flutter/src/widgets/framework.dart:4194)
#25     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4479)
#26     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4663)
#27     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4474)
#28     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3546)
#29     Element.updateChild (package:flutter/src/widgets/framework.dart:3311)
#30     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4525)
#31     Element.rebuild (package:flutter/src/widgets/framework.dart:4194)
#32     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4479)
#33     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4474)
#34     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3546)
#35     Element.updateChild (package:flutter/src/widgets/framework.dart:3311)
#36     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4525)
#37     Element.rebuild (package:flutter/src/widgets/framework.dart:4194)
#38     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4479)
#39     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4474)
#40     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3546)
#41     Element.updateChild (package:flutter/src/widgets/framework.dart:3311)
#42     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4525)
#43     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4672)
#44     Element.rebuild (package:flutter/src/widgets/framework.dart:4194)
#45     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4479)
#46     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4663)
#47     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4474)
#48     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3546)
#49     Element.updateChild (package:flutter/src/widgets/framework.dart:3311)
#50     RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5572)
#51     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6118)
#52     Element.updateChild (package:flutter/src/widgets/framework.dart:3298)
#53     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4525)
#54     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4672)
#55     Element.rebuild (package:flutter/src/widgets/framework.dart:4194)
#56     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2694)
#57     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:893)
#58     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:322)
#59     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1176)
#60     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1114)
#61     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1030)
#65     _invoke (dart:ui/hooks.dart:204)
#66     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:253)
#67     _drawFrame (dart:ui/hooks.dart:123)
(elided 3 frames from dart:async)
═════════════════════════════════════════════════════════════════

So, can we also collect DebugCreator information in release mode when error occurs in order to facilitate troubleshooting of such online problems?
Considering that the DebugCreator information is only collected when errors are reported, the performance impact should not be significant. And we can also add a switch that the developer can turn on or off by themselves. Now, we also used this feature in our internal flutter framework sdk, could you have more advice about it? Thanks.

Related issue https://github.com/flutter/flutter/issues/102282.

Hi @wangying3426, Thanks for filing the issue. I am quite not sure how the DebugCreator details will help in ttracking the release build errors, However, if it does that seems like a fair proposal. Labeling this issue for further insights from the team.


chore: upgrade terser-webpack-plugin

Motivation
Upgrade terser-webpack-plugin to pick up<EMAIL_ADDRESS>due to a new CVE.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Code has passed lint and unit tests.

Thanks, will solve https://github.com/facebook/docusaurus/issues/3268


view URL should be absolute

Hello,
Thank you for v0.2.0 release. It works fine with OpenRefine. However, the suggested alignments have no active links (the  tags have no href):

This is probably due to the fact that the url of the view in the manifest should be absolute:
"view": {"url": "http://www.example.com/database/table/{{id}}"}
the current version looks like:
"view": {"url": "/database/table/{{id}}"}
Might be solved using https://docs.datasette.io/en/stable/internals.html?highlight=absolute#absolute-url-request-path in get_view_url ?
https://github.com/drkane/datasette-reconcile/blob/7492d1eb71e1002d32ae6daba26eecdea4945712/datasette_reconcile/utils.py#L104

Problem solved with v0.2.1 release, thank you.
For information, if Datasette is running behind an Apache proxy, the ProxyPreserveHost directive should be set to On, otherwise, "view" returns the URL of the localhost:
"view": {"url": "http://<IP_ADDRESS>:8001/database/table/{{id}

Problem solved with v0.2.1 release, thank you.
For information, if Datasette is running behind an Apache proxy, the ProxyPreserveHost directive should be set to On, otherwise, "view" returns the URL of the localhost:
"view": {"url": "http://<IP_ADDRESS>:8001/database/table/{{id}


First cmd to convert jpg to png

Added our first command that converts a jpeg to png. This is not perfect because the app only expects a jpeg to be served and converts it to png for now!
closes #2

@UjjwalMahar Status on this PR?

The code looks good need to have few modifications but that can be done in next PR I'll merge the PR


Manually synchronized on synchronizedMap as per docs and bz55827

Fixes issue identified in bz55827

Hello,
Thanks for contribution.
I am not sure we should apply this fix as I am not sure initial bug report was correct.
AFAIU, the propMap is never accessed concurrently although  I don't know why propMap is wréapped in a synchronized Map.
I am afraid that introducing this might hurt performances as it is called for every run of a sample .
But others analysis is welcome and particularly if anybody know why propMap was initially synchronized.

Hi,
Any thoughts on that ?
Thanks

Hi all,
Any thoughts on this ?
Regards


OSX Builds

It would be very nice to have a OSX build similar to what can be downloaded as a tar file directly with elasticsearch... The docker is nice but having something approachable where you can easily get to the configuration file and make changes would really help with tinkering and learning with opensearch... alternatively we'll just use elasticsearch directly to learn on but then as features drift it'll be less likely to look at opensearch again...

I'll move this to the opensearch-build repo.


iop not found

While building a docker image

Hi for now, this repo is not suppose to be for build or demo, this is the core source code.
For demo, use this repo : https://github.com/grongierisc/iris-python-interoperability-template
Never the less, this is still an issue, and i will fixe it in the next days

I see! Thank you, @grongierisc


Update the base Docker image

What
Update the base Docker image
This will upgrade the ruby and freeradius versions, plus updating
other stuff as well.
Why
Switching to Ruby 3 would be good.
Link to Trello card: https://trello.com/c/7NaQqcb3/2040-bump-govwifi-frontend-ruby-and-alpine-version

Also worth double checking the FreeRADIUS Release Notes to ensure there aren't any other breaking changes between the versions.

I've had a read through the release notes now.
I've actually made one change off the back of that, tweaking the cipher_list configuration since we're currently using the "DEFAULT" ciphers, and I think keeping currently enabled ciphers enabled might be required to not cause connectivity issues like before.

Great! Thank you for double checking. Let's carefully roll this out and do as much testing as we can in staging.

I've actually made one change off the back of that, tweaking the cipher_list configuration since we're currently using the "DEFAULT" ciphers, and I think keeping currently enabled ciphers enabled might be required to not cause connectivity issues like before.

I'm flip flopping, but I'm going back on this change. From the fragmented information I was putting together earlier, I think this SECLEVEL was documented specifically in relation to EAP-FAST, which we're not using. Additionally, it doesn't seem to make any difference to the enabled ciphers. I've gone back to not specifying it now.
I've been looking in to the effects of the OpenSSL upgrade (1.0.2u -> 1.1.1l) on the supported ciphers, and I've included a list of the ones which this change will remove support for. Hopefully there's no clients that are relying on ciphers in this list and are unable or configured not to negotiate alternatives.
CAMELLIA128-SHA
CAMELLIA256-SHA
DES-CBC3-SHA
DH-DSS-CAMELLIA128-SHA
DH-DSS-CAMELLIA256-SHA
DH-DSS-DES-CBC3-SHA
DH-DSS-SEED-SHA
DHE-DSS-CAMELLIA128-SHA
DHE-DSS-CAMELLIA256-SHA
DHE-DSS-SEED-SHA
DHE-RSA-CAMELLIA128-SHA
DHE-RSA-CAMELLIA256-SHA
DHE-RSA-SEED-SHA
DH-RSA-CAMELLIA128-SHA
DH-RSA-CAMELLIA256-SHA
DH-RSA-DES-CBC3-SHA
DH-RSA-SEED-SHA
ECDH-ECDSA-DES-CBC3-SHA
ECDH-ECDSA-RC4-SHA
ECDHE-ECDSA-DES-CBC3-SHA
ECDHE-ECDSA-RC4-SHA
ECDHE-RSA-DES-CBC3-SHA
ECDHE-RSA-RC4-SHA
ECDH-RSA-DES-CBC3-SHA
ECDH-RSA-RC4-SHA
EDH-DSS-DES-CBC3-SHA
EDH-RSA-DES-CBC3-SHA
IDEA-CBC-SHA
PSK-3DES-EDE-CBC-SHA
PSK-RC4-SHA
RC4-MD5
RC4-SHA
SEED-SHA
SRP-3DES-EDE-CBC-SHA
SRP-DSS-3DES-EDE-CBC-SHA
SRP-DSS-AES-128-CBC-SHA
SRP-DSS-AES-256-CBC-SHA
SRP-RSA-3DES-EDE-CBC-SHA


sail command retrieve wrong version of code-server

sail command fetch latest release from github and get something like:
Found https://github.com/cdr/code-server/releases/download/2.1698/code-server2.1698-vsc1.41.1-alpine-arm64.tar.gz
Found https://github.com/cdr/code-server/releases/download/2.1698/code-server2.1698-vsc1.41.1-alpine-x86_64.tar.gz
Found https://github.com/cdr/code-server/releases/download/2.1698/code-server2.1698-vsc1.41.1-darwin-x86_64.zip
Found https://github.com/cdr/code-server/releases/download/2.1698/code-server2.1698-vsc1.41.1-linux-arm64.tar.gz
Found https://github.com/cdr/code-server/releases/download/2.1698/code-server2.1698-vsc1.41.1-linux-x86_64.tar.gz
Current implementation filter release by 'linux' :
for _, v := range rel.Assets {
		// TODO: fix this jank.
		if strings.Index(*v.Name, "linux") < 0 {
			continue
		}
		return *v.BrowserDownloadURL, nil
	}

https://github.com/cdr/sail/blob/master/internal/codeserver/download.go
Unfortunately, the first line to match is linux-arm64 so code-server cannot be executed.
sail should figure out what architecture it is running on and download the right asset.

Work around is to replace "linux" with "linux-x86_64" and to 'go install' from sail source code.


Login event on Wink login conflicts with existing application

I'm already hooking into the Illuminate\Auth\Events\Login event of the Standard Auth.
When Illuminate\Auth\Events\Login occurs as a result of logging into Wink, an error is thrown because the authenticated user does not have the attributes I expect as it is the wink authenticated user and not my own.
The event should be renamed WinkLogin or similar so that it can be differentiated.

I had the same problem and I added a conditional in my handle method of the listener:
if(request()->getPathInfo() !== '/wink/login') {
    // do my stuff here
}


Faster elide middle implementation

Drastically speed up the implementation of the ElideMiddle() function by getting rid of std::regex usage abd unnecessary string allocations / reallocations. This also removes about 65 kiB from the stripped Linux binary.

Move the function to its own source file and add a performance test.
Fix a bug in the implementation that removed color sequences from elided results + avoid allocations (x1.8 speedup)
Remove std::regex usage completely, using custom parsing classes (x5.8 speedup)
Add fast path to avoid ANSI sequence stripping when not needed.

Overall performance test speedup is x10.6 (from 159ms to 15,0ms) on my machine

ElideMiddle is only used in the unit tests? Can you move the declaration there then?
I'm also not sure if it's a good idea to move so much code around because it breaks the Git history. Especially for the unit tests it would be helpful to see, that your changes don't change any behavior just by looking if you touched any tests.

Forgot to say: Big thanks! I was thinking that std::regex would probably to slow and we should replace it before releasing 1.13.0.

I can keep the unit-test at the same location, but I would rather move the function to its own source file, given its complexity (especially after the refactor).
Another option is to make the unit-tests more readable first, using string macros to encode the ANSI sequences, so things look like:
#define MAGENTA "\x1B[0;35m"
#define NOTHING "\33[m"
#define RED "\x1b[1;31m"
#define RESET "\x1b[0m"

TEST(ElideMiddle, ElideAnsiEscapeCodes) {
  std::string input = "012345" MAGENTA "67890123456789";
  EXPECT_EQ("012..." MAGENTA "6789", ElideMiddle(input, 10));
  EXPECT_EQ("012345" MAGENTA "67...23456789", ElideMiddle(input, 19));

  EXPECT_EQ("Nothing " NOTHING " string.", ElideMiddle("Nothing "NOTHING" string.", 18));
  EXPECT_EQ("0" NOTHING "12...6789", ElideMiddle("0" NOTHING "1234567890123456789", 10));

  input = "abcd" RED "efg" RESET "hlkmnopqrstuvwxyz";
  EXPECT_EQ("", ElideMiddle(input, 0));
  EXPECT_EQ(".", ElideMiddle(input, 1));
  EXPECT_EQ("..", ElideMiddle(input, 2));
  EXPECT_EQ("...", ElideMiddle(input, 3));
  EXPECT_EQ("..." RED RESET "z", ElideMiddle(input, 4));
  EXPECT_EQ("a..." RED RESET "z", ElideMiddle(input, 5));
  EXPECT_EQ("a..." RED RESET "yz", ElideMiddle(input, 6));
  EXPECT_EQ("ab..." RED RESET "yz", ElideMiddle(input, 7));
  EXPECT_EQ("ab..." RED RESET "xyz", ElideMiddle(input, 8));
  EXPECT_EQ("abc..." RED RESET "xyz", ElideMiddle(input, 9));
  EXPECT_EQ("abc..." RED RESET "wxyz", ElideMiddle(input, 10));
  EXPECT_EQ("abcd" RED "..." RESET "wxyz", ElideMiddle(input, 11));
  EXPECT_EQ("abcd" RED "..." RESET "vwxyz", ElideMiddle(input, 12));

  EXPECT_EQ("abcd" RED "ef..." RESET "uvwxyz" ElideMiddle(input, 15));
  EXPECT_EQ("abcd" RED "ef..." RESET "tuvwxyz", ElideMiddle(input, 16));
  EXPECT_EQ("abcd" RED "efg" RESET "...tuvwxyz", ElideMiddle(input, 17));
  EXPECT_EQ("abcd" RED "efg" RESET "...stuvwxyz", ElideMiddle(input, 18));
  EXPECT_EQ("abcd" RED "efg" RESET "h...stuvwxyz", ElideMiddle(input, 19));

  input = "abcdef" RED "A" RESET "BC";
  EXPECT_EQ("..." RED RESET "C", ElideMiddle(input, 4));
  EXPECT_EQ("a..." RED RESET "C", ElideMiddle(input, 5));
  EXPECT_EQ("a..." RED RESET "BC", ElideMiddle(input, 6));
  EXPECT_EQ("ab..." RED RESET "BC", ElideMiddle(input, 7));
  EXPECT_EQ("ab..." RED "A" RESET "BC", ElideMiddle(input, 8));
  EXPECT_EQ("abcdef" RED "A" RESET "BC", ElideMiddle(input, 9));
}

Which is easier to read, then move to a different file. Wdyt?

I like it :) And since we now have to touch all lines anyway, moving it to its own file is fine.

Thanks!

Thanks!


Clarify permitted content

This PR clarifies the content guide's policy on third party and dual sourced content.

/assign @onlydole
Wrangle on, wrangler! 🤠


Add Support for Returning Logits for Generated Tokens

Closes #588

The original issue mentioned potentially returning the log-likelihood of the tokens through some integration in the generate.py interface. I decided against implementing that support in this PR and instead returned the raw logits. My reasoning is that end users can then operate on these logits as needed.

Outputs from  ./deepy.py generate.py ./configs/20B.yml ./configs/text_generation.yml on my branch
With return_logits: true

without
{
  "context": "",
  "text": "Entry DescriptionWild Agnes has released this extraordinary new",
  "length": 10,
  "finished": false,
  "message": null,
  "duration_seconds": 6.626634120941162
}

on main
{
  "context": "",
  "text": "Entry DescriptionWild Agnes has released this extraordinary new",
  "length": 10,
  "finished": false,
  "message": null,
  "duration_seconds": 6.523743629455566
}

I took a stab at writing some unit tests for this change but ran into an issue with mpu.get_model_parallel_src_rank() throwing an exception saying that I needed to configure init_process_group.


Install firedrake against existing libraries

PETSc <- most important --honour-petsc only works for Firedrake's PETSc
mpi <- done
python <- done --honour-python

so that we have a toolchain that includes firedrake, rather than allowing firedrake to be the top level thing.
We would like spack / module to control the dependencies - need to bring this up with the Firedrake devs.

Bring this up at the Firedrake meeting...

This will be important to @Omstavan too

@Omstavan successfully built it on his old laptop, now doing so again on the new one.


Use ReTestItems for tests

The ReTestItems package integrates with VSCode UI and also runs tests in parallel. See example here.

@mhidalgoaraya
This task has been added to the milestone for tracking and prioritization.


Update list of users in group/channel after delete users

My Setup

Operating System: Windows 10
App Version: last Web versions
Installation type:

[ y ] I have tested with the latest version
[ y ] I can simulate the issue easily

Description

Open group/channel
Open Members
Right esur name - 3 points, choose Delete fron channel
Take "Yes"

Current Behavior
Members not removed. If update list, membel removed.
Expected Behavior
The list is automatically updated and the member is removed

@tassoevan please move that that issue to https://github.com/RocketChat/Rocket.Chat/issues and assign front-end group to look at it.
Thanks!


Fix the column hiding dropdown icon size in IE11

#130

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks pending.

Comments from the review on Reviewable.io


Slugs don't work

In 2.0.0 when you try to use slugs you get things like:
Expected numeric value for '--size'; got "16gb"

Looking at cli.rb it looks like you have ":numeric" as the type when slugs are alphanumeric strings. So slugs don't work at all.

Editing cli.rb and changing these to ":string" seems to fix it.

Same problem here for --region:
Expected numeric value for '--region'; got "nyc1"

Damn, I think I fixed this in a branch and forgot to merge it, will fix soon! :+1:

Fixed and released in 2.0.1 :+1:


wire_expression2_print_delay 0 doesn't work

When running any type of print() / hint() function more than once within the same tick, causes the functions to no longer print of display anything.
The server I am playing on is running the workshop version.
The server is also running atlas chat, I'm not sure if that would effect it, but as it's related to the chat box.

The print anti-spam is blocking your print

Oh, is there a convar that I can have the server owner change to stop the anti-spam?

Looks hard-coded https://github.com/wiremod/wire/blob/master/lua/entities/gmod_wire_expression2/core/debug.lua#L15

I think removing the anti-spam for the owner of the chip would be fine. The only danger is them getting disconnected from reliable channel overflow

Oh okay, I could just simply make a custom print queue. But the main issue I was running into was if I did run print() twice within the same tick. It would cause the functions to no longer work until I reconnected to the server

In that case, it sounds like something is breaking the functions. I'll try it tonight to see if I can reproduce it.

It's not hard coded, there's two convars. https://github.com/wiremod/wire/blob/c32c86fb527a05e4d06ef892ca7cc208d09f7381/lua/entities/gmod_wire_expression2/core/debug.lua#L46-L47
You should be able to print more than once a tick by default though.

@bigdogmat Yeah my delay is set to 0 and when I run two prints within the same tick, ie. running two prints within if(first()), it causes the print function to break and no longer work

0 will break it, yea. Try 0.001 instead.

@thegrb93 Passing 0.001 fixes it. Thanks for the quick responses

I thought this were supposed to work like so. Using a value of 0 will thus stop all prints(?), it is a quick way to control delay before another print is invoked.
To recap, if you want to receive all prints, use a very small floating point number for wire_expression2_print_delay (it should always make a print pass "anti-spam"), and also set wire_expression2_print_max to a reasonable high integer number, I usually have them saved as this:
wire_expression2_print_delay "0.00001";
wire_expression2_print_max "65535";

I have used these for a long time without overflowing the reliable channel, however some people have experienced overflow disconnects using those values (so, I guess it is not for everyone). Try playing around with some smaller numbers (for max) - if you are printing a lot...
So, you're proposing to add an extra check if a delay is equal to 0 in order to disable anti-spam?
If so, it sounds like the right thing to do, but it is worth noting that it would be a breaking change.

Sorry about that.
I'm not entirely sure what the error is. Division by 0 works without any problem, modulo does not work though. So this code causes an error.
Is it possible that if canPrint will cause CurTime to be called here and later here, the values will be equal? In that case timePassed will equal 0, making this division equal -nan instead of inf, making any comparison equal false?

Idk, but there's a much better way to do this that doesn't involve error floats

Yes, don't allow these extreme values or clamp them to a specific range and add another console variable to turn off the anti-spam.
Why not just allow wire_print_delay 0 to turn off anti-spam? Because why would that automatically mean anti-spam is turned off? You didn't turn anti-spam off, you just set the delay to zero. Maybe it's the same result, but it's not the same.

Just check for 0 and turn it off if it is

A temporary solution is to use printTable(), which appears to bypass these delays.
`
@name printfast
@inputs
@outputs
@persist
@trigger
#[                                           ]#
E2 Library: printFast

Adds an unlimited and faster print.
You can also name the data you spew.

#[                                           ]#
if(first()){
function printFast(Name:string,Data:vector){
    OUT = table()
    OUT[Name,vector] = Data
    printTable(OUT)
}
function printFast(Name:string,Data:entity){
    OUT = table()
    OUT[Name,entity] = Data
    printTable(OUT)
}
function printFast(Name:string,Data:string){
    OUT = table()
    OUT[Name,string] = Data
    printTable(OUT)
}
function printFast(Name:string,Data:number){
    OUT = table()
    OUT[Name,number] = Data
    printTable(OUT)
}
function printFast(Name:string,Data:angle){
    OUT = table()
    OUT[Name,angle] = Data
    printTable(OUT)
}

}`

Can there not just be a clamp?


11.0.0 rewards issue

Release 11.0.0 has known problems with rewards. Will it be fixed before the hardfork?

I am still working on it, but there is zero chance of it being fixed for the HF.

Closing this as a duplicate of #796.


Make verify (non) membership calls sudo calls

Instead of query, use sudo for VerifyMembership and VerifyNonMembership. This will enable support for writing a solo machine light client as a wasm contract, and also support other future consensus algorithms that require writing to state during these two operations.

Closed by #4820


Finish milestone

[x] Document unit testing
[x] Document markdown comments hover
[x] Double-check formatting option documentation
[x] Perform release
[x] Perform VS Code release

Release done! Closes #165 as well.


QuoteLineEditor : Update on Lookup field does not work

Lookup editor Property change event does not work.
The "IsValueChanged" method of XrmLookUpEditor.cs  always returns false , which does not call the property change event and thus the entityState remains Unchanged and the changes are not saved.

Fixed in #49

Thank you for the updated package - I appreciate it!
With this version the SearchCommand is working - I get matches to my search but when I make a selection, the Lookup is set to null.

However, the indicator in the leftmost column updates to show the row is dirty. When I save, it tells me customerid can't be blank.

This now occurs on all Lookups, not just ones against multiple entity types. I can still change non-Lookup values without an issue.
This is still on a standalone page I'm popping open with a Ribbon button, if that matters.
Thank you again for you help!


Description of DMA Remapping property values may be wrong

Does the DMA remapping policy value in Device Manager correspond to the values specified in the INF files?  If so, there is a conflict between what is written here:
"A value of 0 or 1 means that the device driver does not support DMA-remapping. A value of 2 means that the device driver supports DMA-remapping."
vs what is written here.

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

ID: b9b83e95-63de-87c5-929c-d5f25e33d124
Version Independent ID: 743ead3f-b4a5-1589-6577-e1d12aaa1b92
Content: Kernel DMA Protection (Windows 10) - Microsoft 365 Security
Content Source: windows/security/information-protection/kernel-dma-protection-for-thunderbolt.md
Product: w10
Technology: windows
GitHub Login: @DulceMontemayor
Microsoft Alias: dansimp

Never mind. This third page explains it.  It is correct (though very confusing) as written.  https://docs.microsoft.com/en-us/windows-hardware/drivers/install/devpkey-device-dmaremappingpolicy


[license] Reword authors in contributors.md

@ncdc PTAL
Signed-off-by: Jessica Yao<EMAIL_ADDRESS>

updated

LGTM


Alternative or secondary source

Hey,
is it possible to define an additional video source in case the browser doesn't support some codec? I would like to provide webm and mp4 video but with the same quality.
The docu doesn't provide any info on this.
Best regards,
Jonas

There is no such function for now


Feat/typography enhancement

This PR implement following specifications : https://github.com/okp4/ui/issues/117

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


flutter pub publish is very slow / failing

I am trying to publish a previously published package (hydrated) to pub using flutter pub publish on my iMac and it's taking forever. Took 1 second to show the tree, 30 seconds to show a warning (rename "docs" to "doc", no thanks), and it has been four minutes and won't proceed. Tried this twice.

Interestingly enough, pub publish works perfectly.

Having the same problem here too.

Same here. I have tried it several times and even after half an hour nothing happened.
ESYS-iMac:esys-flutter-share danielwolf$ flutter doctor -v
[✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.5 18F132, locale en-DE)
    • Flutter version 1.5.4-hotfix.2 at /Users/danielwolf/Documents/GitHub/flutter
    • Framework revision 7a4c33425d (5 weeks ago), 2019-04-29 11:05:24 -0700
    • Engine revision 52c7a1e849
    • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/danielwolf/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2, Build version 10E125
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 36.0.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] VS Code (version 1.34.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.1.0

[✓] Connected device (1 available)
    • Iphone6 (esys gmbh) • 642e346635eafe54baf1a8f531fee5e797a93c1a • ios • iOS 12.3.1

• No issues found!
```

Try flutter pub pub publish instead of flutter pub publish.
Check out this comment.

pub publish works, as @lukepighetti has suggested
flutter pub pub publish also did not work for me

flutter pub pub publish works for me
didn't have the patience to see what would happen with flutter pub publish, but I did wait significantly longer than a few minutes before giving up.
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.18362.145], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Android Studio (version 3.3)
[√] Connected device (1 available)

• No issues found!

I gave up after 4 hours and it was still stuck after giving suggestions.

Try flutter pub pub publish instead of flutter pub publish.
Check out this comment.

you deserve the crown sir

Yes flutter pub pub publish works but why pub pub!!!!

I encountered the same issue. Using  flutter pub pub publish worked for me as well.

https://github.com/flutter/flutter/pull/38490 was merged in 1.9.2.  Please try on a newer version of Flutter.


Documentation for Provider Configuration

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article is affected?
All files in ./docs/provider.
What part(s) of the article would you like to see updated?
Entire document. These files should be uniformly formatted and provide setup instructions for configuring a given provider.
Additional information
No response

Done #165


[8.x] Add multibyte support to string padding helper functions

This PR adds support for multibyte strings to the Str::padBoth, Str::padLeft, and Str::padRight helper functions.
This is especially useful for localized strings, where accented characters or other multibyte glyphs were incorrectly padded before.
PHP has yet to implement a native mb_str_pad function so this PR adds a Str::mbStrPad helper function adapted from a comment on the PHP docs. There is an ongoing 19 year-old PHP request for this native function, but as it is yet to see any progress, it seems appropriate to implement a workaround in the framework.

Laravel 8 is closed to new features. This PR adds a new non-private method.

Thanks for the quick reply @GrahamCampbell! Any chance this could be considered for Laravel 9?

Thanks for the speedy reply @GrahamCampbell! I made the Str::mbStrPad method protected. As it's my first time contributing to the framework, I'm open to any feedback.

It would probably be better to simply inline the change in every method instead of adding a protected helper. There are no separate "helper" method for the other string methods that have multibyte support.
Only the second parameter is modified :
    public static function padRight($value, $length, $pad = ' ')
    {
        return str_pad($value, strlen($value) - mb_strlen($value, $encoding) + $length, $pad, STR_PAD_RIGHT);
    }

Thanks for the helpful feedback @BrandonSurowiec! I committed a fix 😊

Looks good to me. I think it's ready to go :)


Updated ICP setup guide for kfctl v0.7

This PR updates the IBM Cloud Private setup guide to use the new kfctl semantics in v0.7.
The PR addresses some of the updates for https://github.com/kubeflow/website/issues/1226. Further PRs will update other docs.
Note: I've set the config URL to an interim path in /kubeflow/manifests/master/. When we know the path for the v0.7 RC1 release, we must update the path.
I've also fixed the list formatting throughout the page.

This change is

Preview: https://deploy-preview-1241--competent-brattain-de2d6d.netlify.com/docs/started/cloud/getting-started-icp/

/assign @jinchihe
/hold
@jinchihe Please would you take a look at these changes? I'll publish them along with the other kfctl updates, when we have RC1 for Kubeflow v0.7.0.

/cc @swiftdiaries

Wow! Some changes make the documentation more professional. Great thanks!  @sarahmaddox
/lgtm

Thanks @jinchihe I've made some further changes, to use the latest config URL, and to set the version number to always correspond to the latest released version of Kubeflow. Please would you take a look and let me know if this works for IBM Cloud Private? The preview is in the same place: https://deploy-preview-1241--competent-brattain-de2d6d.netlify.com/docs/started/cloud/getting-started-icp/

Thanks @jinchihe I've made some further changes, to use the latest config URL, and to set the version number to always correspond to the latest released version of Kubeflow. Please would you take a look and let me know if this works for IBM Cloud Private? The preview is in the same place: https://deploy-preview-1241--competent-brattain-de2d6d.netlify.com/docs/started/cloud/getting-started-icp/

Thanks @sarahmaddox That's OK for ICP. Great thanks for changes!
/lgtm

@jinchihe We're thinking we should merge the v0.7 deployment guides now, with the RC releases, so that people have the opportunity to try them out. This PR is ready to go, but I'll hold it until the on-prem PR https://github.com/kubeflow/website/pull/1251 is merged, to avoid problems with the shared kfctl_k8s_istio.0.7.0.yaml config. If you're happy to LGTM again, then I'll remove the hold when applicable.

@sarahmaddox Make sense, Thanks!
/lgtm

The PR that updates the config file is now merged, so we can merge this PR too.
/hold cancel
/approve


Remove duplicate file from the CsWinRT NuGet package.

This PR fixes #908 by simply using the Microsoft.Windows.CsWinRT.Authoring.Transitive.targets file from the build folder and removing the one from buildTransitive.

Hi @jlaanstra thanks for your consideration! I believe we need the buildTransitive folder, as it is how package reference users will get the custom build logic. A c++ project with a package reference (could be an entry in packages.config and not PackageReference), will not get any assets from the build folder.
I built a nupkg on a branch with your changes, and put it through my tests and the consuming project failed to generate a projection. This leads me to think this PR would break scenarios that currently work.
If you want to do the same tests, let me know and I can give more information. It is based on the "Coords" and "App" projects in my test repo here - https://github.com/j0shuams/HostSupport


We may want to add a note warning users with multi-tenant accounts of possible failures.

I have a feeling we may need to warn users that belong to multiple tenants to be careful about using multiple tenants on their session. See below use-case with the az CLI commands:

Let's say we create a private link association (let's call it 'association-A') to "tenant A"'s root management group.
We create another private link association to "tenant B"'s root management group (let's call it 'association-B').
We create a Resource Manager Private Link for association-A (let's call it 'ARMPL-A')
We create a Resource Manager Private Link for association-B (let's call it 'ARMPL-B').
We create a private link for ARMPL-A (let's assume it has an IP address of '<IP_ADDRESS>')
We create a private link for ARMPL-B (let's assume it has an IP address of '<IP_ADDRESS>')
At this point, I can only connect to <IP_ADDRESS> if I plan on managing resources in 'Tenant A' and I can only connect to <IP_ADDRESS> if I plan on manage resources in 'Tenant B'.
So far so good.
However, let's say my account<EMAIL_ADDRESS>is present in both 'Tenant A' and 'Tenant B'.
The DNS 'management.azure.com' can resolve to either <IP_ADDRESS> and/or <IP_ADDRESS> but TCP connectivity would likely only go to one of the two.
If we were to run a cmdlet like az login which would acquire access tokens for Tenant A and Tenant B and list all subscriptions.
Let's assume the cmdlet connects to the <IP_ADDRESS> address.
At this point, az login usually tries to list all the subscriptions your user access to in both tenants.
It would successfully list all the subscriptions in 'Tenant A', but get a 403 response when it tries to list the subscriptions in 'Tenant B'.
This would likely cause the entire az login command to fail.

We may have already seen this happen as we observe how az login works with the --debug.

It connects to one of the private IPs.
Calls /tenants
Gets 2 (or more) Tenant IDs.
Gets access token for Tenant A.
Uses the tenant A access token to call /subscriptions. (to list subscriptions)
Gets access token for Tenant B.
Uses the tenant B access token to call /subscriptions (to list subscriptions)
Gets this error (at least we're hypothesizing this is the root-cause):

{"error":{"code":"InvalidPrivateLink","message":"Request originated from private network for resource '/subscriptions', but without a valid private endpoint connection. To connect to this resource, please use the correct Private Endpoint from inside your virtual network. To learn more http://aka.ms/PrivateEndpointTroubleshooting."}}
If the use-case above is accurate, I would recommend adding a note indicating that multi-tenant accounts and service principals should probably stick to interacting with only one (1) tenant at a time when sending REST API calls or they may face Forbidden responses. If there is a better way to set this up for multi-tenant accounts, then I would ask if it's possible to show steps on how to achieve this setup as well.

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

ID: 8ce32910-019e-c5bf-bd3b-51d721eeb9e9
Version Independent ID: 056ffcf3-8a26-a0d1-0901-ec09a52db638
Content: Create private link for managing resources - Azure portal - Azure Resource Manager
Content Source: articles/azure-resource-manager/management/create-private-link-access-portal.md
Service: azure-resource-manager
Sub-service: management
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@milope - thanks for this feedback. I'll update the doc to clarify this issue.

I have added a note which should get published later today that states multi-tenant accounts are currently not supported for managing resources through a private link.

#please-close


bitcast errors for some tf.reduce_sum operations when using XLA

Same system setup and evironment as reported in #908.  In summary, very basic tensorflow ops like tf.reduce_sum seem to fail in some instances with "Invalid bitcast" errors when using XLA.
In #908, I reported an issue with bincount (also one concerning bitcast errors) that prevented XLA compilation of an expensive to calculate function.  To workaround this issue, I have been playing with problems having identical numbers of rows in each bin so that the tf.math.bincount (and tf.math.segment_sum which hasn't been implemented yet AFAIK) can be avoided.  Some code generating toy data:
# for each row in the float xf, idx indicates which group
# (for summing purposes). Note 5 groups with 3 rows each
idx = tf.constant([0,0,0,1,1,1,2,2,2,3,3,3,4,4,4], dtype=tf.int32)
xf = tf.constant(np.random.randn(idx.shape[0]), dtype=tf.float32)
# here are parameters for reshapes below
n_rows = tf.constant(tf.reduce_max(idx)+1, dtype=tf.int32)
n_cols = tf.constant(3, dtype=tf.int32)
# for a sanity check, we want to replicate this result:
print("tf.math.bincount calculation:\n ", tf.math.bincount(idx, weights=xf))

Gives this result
tf.math.bincount calculation:
  tf.Tensor([ 1.775579    1.5032012   0.04776037 -2.9308324  -1.5677404 ], shape=(5,), dtype=float32)

For the purposes of exploring XLA, create two tf.functions one implementing XLA and one not:
@tf.function(experimental_compile=True)
def addvec_XLA(x):
    return tf.reduce_sum(tf.reshape(x,(n_rows, n_cols)), axis=-1)

@tf.function
def addvec_noXLA(x):
    return tf.reduce_sum(tf.reshape(x,(n_rows, n_cols)), axis=-1)

Running the non-XLA one gives
print("Reshaped vector reduce_sum operation (no XLA): \n", addvec_noXLA(xf))

Reshaped vector reduce_sum operation (no XLA):
 tf.Tensor([ 1.775579    1.5032012   0.04776037 -2.9308324  -1.5677404 ], shape=(5,), dtype=float32)

And running the xla one:
print("Reshaped vector reduce_sum operation (with XLA): \n", addvec_XLA(xf))

fails with this error
InternalError: RET_CHECK failure (tensorflow/compiler/xla/service/gpu/gpu_compiler.cc:394) !llvm::verifyModule(llvm_module, &err_stream) Invalid LLVM IR before optimizations:
Call parameter type does not match function signature!
  %parameter_buffer = alloca float, addrspace(5)
 float*  call void @Sum_reduction_14(float addrspace(5)* %parameter_buffer, float addrspace(5)* %parameter_buffer1, float addrspace(5)* %return_buffer, i8* null)
Invalid bitcast
  %add.17.typed = bitcast float addrspace(5)* %add.17.raw to float*

This probably indicates a bug in the HLO -> LLVM IR lowering. Rerun with --xla_dump_to to get the IR.
	This error might be occurring with the use of xla.compile. If it is not necessary that every Op be compiled with XLA, an alternative is to use auto_jit with OptimizerOptions.global_jit_level = ON_2 or the environment variable TF_XLA_FLAGS="tf_xla_auto_jit=2" which will attempt to use xla to compile as much of the graph as the compiler is able to. [Op:__inference_addvec_XLA_591]

I think it may affect any tf.reduce_sum op:
# but can you reduce sum if no reshape is involved?
xf_r = tf.constant(np.random.randn(5,3), dtype=tf.float32)

@tf.function(experimental_compile=True)
def reducesum(x):
    return tf.reduce_sum(x, axis=-1)

reducesum(xf_r)

gives the same error:
InternalError: RET_CHECK failure (tensorflow/compiler/xla/service/gpu/gpu_compiler.cc:394) !llvm::verifyModule(llvm_module, &err_stream) Invalid LLVM IR before optimizations:
Call parameter type does not match function signature!
  %4 = alloca float, addrspace(5)
 float*  call void @Sum_reduction_6(float addrspace(5)* %4, float* %8, float addrspace(5)* %4, i8* null)
Invalid bitcast
  %add.9.typed = bitcast float addrspace(5)* %add.9.raw to float*

This probably indicates a bug in the HLO -> LLVM IR lowering. Rerun with --xla_dump_to to get the IR.
        This error might be occurring with the use of xla.compile. If it is not necessary that every Op be compiled with XLA, an alternative is to use auto_jit with OptimizerOptions.global_jit_level = ON_2 or the environment variable TF_XLA_FLAGS="tf_xla_auto_jit=2" which will attempt to use xla to compile as much of the graph as the compiler is able to. [Op:__inference_reducesum_18]

I have done some additional digging for a range of ops that I normally use and conducted some simple tests.  See the summary table below.  A Pass value of 'Yes' means the XLA function ran with the correct result (it doesn't test speed or efficiency in any way).  If it didn't run in XLA, a partial error is reported.

Command
Pass
Error

tf.transpose
Yes
N/A

tf.math.bincount
No
Invalid bitcast %add.typed = bitcast float addrspace(5)* %add.raw to float*

tf.reduce_sum
No
Invalid bitcast %add.9.typed = bitcast float addrspace(5)* %add.9.raw to float*

tf.reduce_max
Yes
N/A

tf.reduce_mean
Yes
N/A

tf.reduce_prod
Yes
N/A

tf.reduce_min (and max)
Yes
N/A

tf.reduce_sumlogexp
Yes
N/A

tf.linalg.matvec
No
Invalid bitcast %add.typed = bitcast float addrspace(5)* %add.raw to float*

tf.linalg.matmul
Yes
N/A

tf.not_qual
Yes
N/A

tf.where
No
unsupported op:

tf.scatter_nd
No
Invalid bitcast %add.10.typed = bitcast float addrspace(5)* %add.10.raw to float*

tf.fill
Yes
N/A

tf.multiply
Yes
N/A

tf.add
Yes
N/A

tf.gather_nd
Yes
N/A

tf.linalg.norm
No
Invalid bitcast %add.10.typed = bitcast float addrspace(5)* %add.10.raw to float*

tf.squeeze
Yes
N/A

tf.math.segment_sum
No
unsupported op:

@roblem Same with #908. This is likely to be the same root cause but different symptom might be a fairly recent regression in IR-emitter changes. Could you try with rocm/tensorflow-autobuilds:rocm3.0-fd0317e?

I can confirm that all my tests work (except unsupported ops- not surprising) with rocm/tensorflow-autobuilds:rocm3.0-fd0317e.


Delannoy Number

💥 Proposal
This number denotes the number of different paths available from
bottom-right corner of a grid i.e. (0,0) to top-left corner (m,n).
The constraint is that we can only use a step east, north or,
north-east(diagonal).
Have you read the Contributing Guidelines on Pull Requests?
Yes

/assign


Assign certificate to IWS application server

I tried to assign certificate to IWS application
App name : QIBM_HTTP_SERVER_DFTIWSASRV
but getting error
The parameter [1]: Parameter value is not valid.
Is it possible to assign certificate with current code for such application server?

The dcmassign command is minimally tested, but I was not able to recreate this. Can you please re-run with -v and provide the output? Thanks!

I am having the same problem.  I ran it with the -v and here is the output.
-bash-5.1$ dcmassign -v
Enter application ID: QIBM_HTTP_SERVER_UPDLOTLOC
Assigning to QIBM_HTTP_SERVER_UPDLOTLOC
Enter certificate ID: **********
com.ibm.as400.access.ExtendedIllegalArgumentException: The parameter [1]: Parameter value is not valid.
at com.ibm.as400.access.ServiceProgramCall.run(ServiceProgramCall.java:321)
at com.github.ibmioss.dcmtools.utils.DcmApiCaller.runProgram(DcmApiCaller.java:253)
at com.github.ibmioss.dcmtools.utils.DcmApiCaller.callQycdUpdateCertUsage(DcmApiCaller.java:161)
at com.github.ibmioss.dcmtools.DcmAssignCmd.main(DcmAssignCmd.java:154)


[FEATURE] avatar integration for community repos contributor

Is this a unique feature?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Is your feature request related to a problem/unavailable functionality? Please describe.
Introduce a visually engaging enhancement to the community repos by replacing added by usernames text into avatar photos. This feature will visually represent contributors, providing a more engaging and user-friendly experience. It adds a touch of personality to the project, fostering a sense of community and recognition for those who contribute.
Edit:
additional feature- make avatar photos clickable links within our platform. when a user clicks on an avatar, redirect them to the respective user profile.
Proposed Solution

~Integrate a mechanism to fetch Github avatars based on repo.username array and display avatars associated with each user~

[x] create  a reusable getUserAvatar function to fetch Github user avatar
[x] create a reusable Avatar component
[x] create a reusable AvatarGroup component
[x] create  UserAvatarGroup component
[x] integrate UserAvatarGroup component to repos page

Screenshots
Current users repo

After making changes

Do you want to work on this issue?
Yes
If "yes" to above, please explain how you would technically implement this
to achieve this we can use the existing FallbackImage custom component

This is a great idea!

Great idea @badrivlog - I have assigned this to you.

After further consideration, i feel it would be beneficial to make avatar photos clickable within our platform. The idea is that when a user clicks on an avatar, they should be redirected to the respective user profile. This enhancement can significantly improve user navigation and interaction, adding a more intuitive element to our platform.
I'd love to hear your thoughts on this suggestion and discuss how it might fit into our project roadmap.
Thank you.

Thank you @badrivlog I agree with your suggestion. If you could please amend the Issue to reflect this latest addition, so everyone knows what the goal is, that would be great.

Hello I would like to work on this issue.

Pull Request merged


Initialise react application with correct tooling

Create CRA boilerplate and add dependencies for testing and building and also confinger ESLint and prettier configurations

Done 👍


APPS http_server.c: allow clients to connect with IPv6

So far, the test server used for OCSP and CMP only supports IPv4 connections.
This adds support for IPv6, inspired by https://github.com/openssl/openssl/issues/15992#issuecomment-1559342037.
Extend doc and tests accordingly.
On this occasion, fix minor glitches in openssl-ocsp.pod.in.
Checklist

[x] documentation is added or updated
[x] tests are added or updated

One of the CI job runs had failed for unrelated reasons:
unable to access 'https://github.com/openssl/openssl/': The requested URL returned error: 429

Just found that GitHub offers the nice feature to selectively re-run failed jobs,
so no need to kick the whole PR in such cases.

This PR is in a state where it requires action by @openssl/otc but the last update was 30 days ago

This PR is in a state where it requires action by @openssl/otc but the last update was 61 days ago

@openssl/committers this PR has been waiting for quite some time for the 2nd review, which should be rather straightforward.

Merged - thanks @t8m and @beldmit for your approvals.


docs: fix formatting related build issue

What kind of changes does this PR include?

Minor content fixes (broken links, typos, etc.)

Description
This PR fixes a build issue with the docs following the merge of #1250. If I get this right, I think this is what happened:

#1250 was building fine in the PR
#1250 was rendering fine in the PR
After merging #1250, the live docs are rendering fine
After CI applied formatting, it somehow formatted the file in way that broke the build

My assumption was that if some Markdown was rendering fine, applying Prettier would never break it but I guess this is a wrong assumption?

I've noticed that if there isn't a new line before and after codeblocks the formatter sometimes will break the syntax

Oh, thanks for sharing, I totally did not know about that kind of edge cases 🤔

Fixed by @delucis with https://github.com/withastro/starlight/commit/5df5798405ed0a29f0a2b2ca9252cda6e28e72a3

Oh boy — sorry for not noticing this PR! I saw the failing build on main and just jumped to getting it passing, sorry. Should have checked for anyone else working on it first!


Adapted the example code in the README.md to match recent code changes.

Adapted the example code in the README.md to match recent code changes.

Good catch, thanks


Add IT for AD plugin

Description
Add IT for AD plugin in the building workflow
Action Item

[x] Add IT in deb workflow
[x] Add IT in rpm workflow
[x] Add IT in tar workflow
[x] Add IT in windows workflow
[x] Add IT in docker workflow

Testing

Deb: https://github.com/opendistro-for-elasticsearch/opendistro-build/actions/runs/167663047
rpm: https://github.com/opendistro-for-elasticsearch/opendistro-build/actions/runs/167663047
tar: https://github.com/opendistro-for-elasticsearch/opendistro-build/actions/runs/167879427
docker: https://github.com/opendistro-for-elasticsearch/opendistro-build/runs/867085567?check_suite_focus=true
windows: https://github.com/opendistro-for-elasticsearch/opendistro-build/runs/867169980?check_suite_focus=true

Is there a plan to add IT test with security for all distributions later? Like for AD only DEB and TAR have them.

yes, will have another PR for this, since we probably need refactor current logic for other distributions


Update theme to 2.1.1

Release notes

Superseeded by https://github.com/iotaledger/liebling/pull/56 & https://github.com/iotaledger/liebling/pull/57


Find a way to prevent broken  book images

As reported on #1390 , book images get broken from time to time.
I see 2 possible solutions:

download book images to this repo (we may need to update them from time to time?)
actively check for broken images (cron rake task to check links are not broken?)

Took a stab at this one in pull request #1392. A simple rake task that will parse each img element from _ext_books.erb and if the URL cannot be retrieved, a warning is printed to the console. A cron job could be setup to execute this rake task

One problem with checking via rake task is that these are all run via Heroku's scheduler, which doesn't provide any mechanism for feedback (i.e., to tell us that some links are broken). After searching a bit, the usual proposed solution seems to be using the exception-notifier gem to send an email. But that implies configuring the site to send email, which is notoriously annoying.
I wonder if we could instead have it open an issue in this repository. That would require setting up a bot GitHub account, but once done, it would be pretty reliable.
Just downloading the images into the repo does side-step all of this, but it might be nice to get to the root of the problem. In particular:

we could be doing a full-on link check, not just checking for broken image links

we currently get no feedback from the existing cron jobs (e.g., to build the book or manpages)

I was addressing the case of a successful request with a non-image body and ran into some URLs returning a 301. We could follow the eventual location from the response header, but then there is the potential risk of infinite redirects. Adding all that logic seems a bit overkill for this solution, seeing as like @peff mentioned, this isn't a likely long term solution.
It might make more sense here to punt and take the low-tech solution of downloading the images to the repo and updating the src attributes. A more automated is definitely preferable, but takes more design as @peff suggests.

I think any kind of link-checking will have to handle redirects at some point. It would be OK to just put a hard limit on looping (say, 10). I do wonder if there's a higher-level gem than net/http we could use that would do this sort of thing for us (likewise the https handling, which I notice you had to do manually).

I would like to tackle this as my "good first issue"

All cover images for Packt books are broken, as they lead to the images in (long expired) cache.
For example, the cover image for "Mastering Git" book is now
https://www.packtpub.com/media/catalog/product/cache/e4d64343b1bc593f1c5348fe05efa4a6/b/0/b03537_cover.png

instead of
https://static.packt-cdn.com/products/9781783553754/cover/smaller

All cover images for Packt books are broken, as they lead to the images in (long expired) cache.
For example, the cover image for "Mastering Git" book is now
https://www.packtpub.com/media/catalog/product/cache/e4d64343b1bc593f1c5348fe05efa4a6/b/0/b03537_cover.png

instead of
https://static.packt-cdn.com/products/9781783553754/cover/smaller

added https://github.com/git/git-scm.com/pull/1566 as a quick fix. but maybe we should just keep the images in the repo as we have with a few others (https://github.com/git/git-scm.com/tree/master/public/images/books)

added https://github.com/git/git-scm.com/pull/1566 as a quick fix. but maybe we should just keep the images in the repo as we have with a few others (https://github.com/git/git-scm.com/tree/master/public/images/books)

Thanks for jumping on this, @pedrorijo91. I'm not opposed to importing book images. They might get out of date with the source images, but if the publishers/authors care, they can open a PR. I'd rather have slightly old images than broken ones.
But I'm also OK to punt on that to see if this actually happens again. It looks like our packt links were probably not the right ones in the first place here.

Thanks for jumping on this, @pedrorijo91. I'm not opposed to importing book images. They might get out of date with the source images, but if the publishers/authors care, they can open a PR. I'd rather have slightly old images than broken ones.
But I'm also OK to punt on that to see if this actually happens again. It looks like our packt links were probably not the right ones in the first place here.

This could be done using Lychee, which is already integrated into the CI builds of https://github.com/git/git-scm.com/pull/1804. Therefore, once we accept this PR, at least the image links to git-scm.com will be all verified.


Fix intermediate CA creation on cryptography plugin

Creating an intermediate CA using the cryptography plugin fails with the message "Private would be ignored, authority key used instead". This pull request fixes that issue and adds a test to cover that use-case.

@raul-te thanks for the PR, would you be able to update this PR? thanks

Coverage increased (+0.04%) to 57.93% when pulling 7f4894924c2ad329070dd4750cfbb48186c6f1b0 on thousandeyes:fix-cryptography-intermediate-ca into a46991646be719d08386d7d3290f82308840821b on Netflix:master.

@hosseinsh done. Thanks for reviewing.

@raul-te sure thing. Added my review.
Also there might be a permission missing, not allowing the admins to update your PR.
https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork

@hosseinsh Thanks. I'm not sure what's the problem is, but I don't see any options for giving permissions to the admins. Anyway, I've implemented your suggestion.

Thanks again for the PR @raul-te. merging the PR.


Create simple-html-page.html

This is a sample website format in html for beginners. For Hacktoberfest :)

I think the issue is resolved. Visit


Wants to install version already installed

Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have tested that this issue has not been fixed in the latest (beta or stable) release.
[X] I have checked the FAQ section for solutions
[X] This issue is about a bug (if it is not, please use the correct template)

Describe your issue
I have Ultimaker Cura Version 5.6.0 installed (latest version at this time), together with an older version 4.8.0..
WingetUI is asking me to upgrade version 4.8.0 to version 5.6.0.
Obviously that is not necessary as I alreacdy have version 5.6.0 installed. WingetUI should check and not offer to upgrade to a version that is already installed, even if older versions are installed as well - obviously by choice.
Steps to reproduce the issue
No response
WingetUI Log
🟢 Using cached lang file
🟡 Using bundled lang file (forced=True)
🔵 It took 0.012012243270874023 to load all language files
🟢 checkQueue Thread started!
🟢 Updating outdated language file...
🟢 Using cached lang file
🔵 Found default chocolatey installation on expected location
---------------------------------------------------------------------------------------------------

   WingetUI version 2.2.0-beta (version number 2.91) log
   All modules loaded successfully and sys.stdout patched correctly, starting main script
   Translator function language set to "en"

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

 Log legend:
 🔵: Verbose
 🟢: Information
 🟡: Warning
 🟠: Handled unexpected exception
 🔴: Unhandled unexpected exception

🔴  Traceback (most recent call last):

🔴  Traceback (most recent call last):

🔴    File ".\__main__.py", line 69, in <module>

🔴    File ".\__main__.py", line 69, in <module>

🔴    File ".\PackageEngine\Classes.py", line 39, in __init__

🔴    File ".\PackageEngine\Classes.py", line 39, in __init__

🔴  AttributeError: 'NoneType' object has no attribute 'NAME'

🔴  AttributeError: 'NoneType' object has no attribute 'NAME'

🔴 Note this traceback was caught by reporter and has been added to the log ('NoneType' object has no attribute 'NAME')
🔵 Starting main application...
🔵 Looking for alive instances...
🔵 Starting API with random session authentication token 0c09f4990104b20ab2348cd146021d0c3091e2d64b39c949cd97b704f8e39f65
🟡 Found lock file(s), reactivating...
🔵 Reloading Winget sources...
🔵 Loading WingetUI AUMID...
🔵 Starting update check
🟢 Downloaded latest metadata to local file from url https://raw.githubusercontent.com/marticliment/WingetUI/main/WebBasedData/screenshot-database-v2.json
🔵 Loaded metadata from local file
🔵 Starting Winget source search...
🔵 Version URL: https://www.marticliment.com/versions/wingetui.ver
🟢 Updates not found
🟢 Winget source search finished with 2 sources
🔵 Reactivation signal ignored: RaiseWindow_[1703488793.8097646]
🟢 Found valid aumid {6D809377-6AF0-444B-8957-A3773F02200E}\WingetUI\winget...
{'sudoFound': True, 'sudoVersion': 'gsudo v2.0.4 (Branch.tags-v2.0.4.Sha.506efa024af0cef6e4b0cfec42e0c8c5d0b1472c)\r', 'ScoopFound': False, 'ScoopVersion': 'Scoop is disabled', 'PipFound': False, 'PipVersion': 'Pip is disabled', 'NpmFound': False, 'NpmVersion': 'Npm is disabled', '.NET ToolFound': False, '.NET ToolVersion': '.NET Tool is disabled', 'WingetFound': True, 'WingetVersion': 'v1.6.3133  ', 'PowerShellFound': False, 'PowerShellVersion': '', 'ChocolateyFound': True, 'ChocolateyVersion': '2.2.2  '}
🔵 Reached main ui load milestone
🟢 Discover tab loaded successfully
🟢 Total packages: 0
🟢 Update tab loaded successfully
🔵 Reloading sources...
🔵 Reloading Winget sources...
🔵 Reloading sources...
🔵 Reloading Winget sources...
🟢 Searching for string ""
🔵 Reloading sources...
🔵 Reloading Winget sources...
🟢 Uninstall tab loaded successfully
🔵 Starting Winget search for installed packages
🔵 Starting Chocolatey search for installed packages
🔵 Starting PowerShell search for installed packages
🟢 Searching for string ""
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🟢 PowerShell search for installed packages finished with 0 result(s)
🟢 Chocolatey search for installed packages finished with 0 result(s)
🟠 Chocolatey got too few installed packages, retrying
🔵 Starting Chocolatey search for installed packages
🔵 Starting Winget source search...
🔵 Starting Scoop source search...
🔵 Starting Chocolatey source search...
🔵 Starting PowerShell source search...
🟢 Settings tab loaded!
🟢 Winget source search finished with 2 sources
🟢 About tab loaded!
🟢 Chocolatey search for installed packages finished with 0 result(s)
IndexError: list index out of range
IndexError: list index out of range
IndexError: list index out of range
IndexError: list index out of range
🟢 Scoop source search finished with 5 sources
🔵 Starting Winget search for updates
🟢 Chocolatey source search finished with 0 sources
🟢 PowerShell source search finished with 0 sources
🟢 Main application loaded...
🔵 Starting Chocolatey search for updates
🔵 Starting PowerShell source search...
🟢 Total packages: 0
🟢 Total packages: 0
🟢 Total packages: 0
🟢 Searching for string ""
Traceback (most recent call last):
  File ".\Interface\CustomWidgets\InstallerWidgets.py", line 669, in <lambda>
TypeError: 'NoneType' object is not callable
🟢 Searching for string ""
🟢 PowerShell source search finished with 0 sources
🔵 Starting PowerShell search for updates
🟢 Chocolatey search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 PowerShell search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 Winget search for installed packages finished with 557 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 557
🟢 Winget search for updates finished with 24 result(s)
🟡 Package FinalWire.AIDA64.Engineer has version 6.92 ignored
🟡 Package Amazon.Kindle has version * ignored
🟡 Package REALiX.HWiNFO has version 7.68 ignored
🟡 Package BinaryFortress.DisplayFusion has version * ignored
🟡 Package Treexy.DriverFusion has version * ignored
🟡 Package Ultimaker.Cura has version 5.6.0 ignored
🟡 Package Ubisoft.Connect has version * ignored
🟡 Package Resplendence.WhySoSlow has version 1.61 ignored
🟡 Package WinDirStat.WinDirStat has version 1.1.2 ignored
🟡 Package Microsoft.DotNet.AspNetCore.6 has version * ignored
🟡 Multiple versions of Microsoft.DotNet.SDK.5 are installed, latest version is installed. Not showing the update
🟡 Package H2IK.JoystickGremlin has version 13.3 ignored
🟡 Package Garmin.BaseCamp has version * ignored
🟡 Package Microsoft.DotNet.Runtime.6 has version * ignored
🟡 Package Python.Launcher has version * ignored
🟡 Multiple versions of Microsoft.DotNet.Runtime.3_1 are installed, latest version is installed. Not showing the update
🟡 Package Microsoft.DotNet.AspNetCore.6 has version * ignored
🟡 Package Google.EarthPro has version * ignored
🟡 Package DavidTHOIRON.FotoSketcher has version 3.80 ignored
🟡 Package MSI.Kombustor.4 has version <IP_ADDRESS> ignored
🟡 Package Microsoft.DotNet.Runtime.6 has version * ignored
🟡 Package Microsoft.VCRedist.2005.x86 has version 8.0.61001 ignored
🟡 Package Microsoft.DotNet.AspNetCore.6 has version * ignored
🟡 Package Microsoft.DotNet.AspNetCore.6 has version * ignored
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 0
🔵 Reloading sources...
🔵 Reloading Winget sources...
🔵 Reloading sources...
🔵 Reloading Winget sources...
🟢 Searching for string ""
🔵 Reloading sources...
🔵 Reloading Winget sources...
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🔵 Starting Winget search for updates
🔵 Starting Chocolatey search for updates
🔵 Starting PowerShell source search...
🟢 PowerShell source search finished with 0 sources
🔵 Starting PowerShell search for updates
🟢 Chocolatey search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 PowerShell search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 Winget search for updates finished with 24 result(s)
🟡 Package FinalWire.AIDA64.Engineer has version 6.92 ignored
🟡 Package Amazon.Kindle has version * ignored
🟡 Package REALiX.HWiNFO has version 7.68 ignored
🟡 Package BinaryFortress.DisplayFusion has version * ignored
🟡 Package Treexy.DriverFusion has version * ignored
🟡 Package Ultimaker.Cura has version 5.6.0 ignored
🟡 Package Ubisoft.Connect has version * ignored
🟡 Package Resplendence.WhySoSlow has version 1.61 ignored
🟡 Package WinDirStat.WinDirStat has version 1.1.2 ignored
🟡 Package Microsoft.DotNet.AspNetCore.6 has version * ignored
🟡 Multiple versions of Microsoft.DotNet.SDK.5 are installed, latest version is installed. Not showing the update
🟡 Package H2IK.JoystickGremlin has version 13.3 ignored
🟡 Package Garmin.BaseCamp has version * ignored
🟡 Package Microsoft.DotNet.Runtime.6 has version * ignored
🟡 Package Python.Launcher has version * ignored
🟡 Multiple versions of Microsoft.DotNet.Runtime.3_1 are installed, latest version is installed. Not showing the update
🟡 Package Microsoft.DotNet.AspNetCore.6 has version * ignored
🟡 Package Google.EarthPro has version * ignored
🟡 Package DavidTHOIRON.FotoSketcher has version 3.80 ignored
🟡 Package MSI.Kombustor.4 has version <IP_ADDRESS> ignored
🟡 Package Microsoft.DotNet.Runtime.6 has version * ignored
🟡 Package Microsoft.VCRedist.2005.x86 has version 8.0.61001 ignored
🟡 Package Microsoft.DotNet.AspNetCore.6 has version * ignored
🟡 Package Microsoft.DotNet.AspNetCore.6 has version * ignored
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 0
🔵 Starting Winget source search...
🔵 Starting Scoop source search...
🔵 Starting Chocolatey source search...
🔵 Starting PowerShell source search...
Traceback (most recent call last):
  File ".\Interface\CustomWidgets\InstallerWidgets.py", line 669, in <lambda>
TypeError: 'NoneType' object is not callable
🟢 Winget source search finished with 2 sources
🔵 Announcement URL: https://www.marticliment.com/resources/wingetui.announcement
🟢 PowerShell source search finished with 0 sources
IndexError: list index out of range
IndexError: list index out of range
IndexError: list index out of range
IndexError: list index out of range
🟢 Scoop source search finished with 5 sources
🟢 Chocolatey source search finished with 1 sources
🔵 Image URL: https://www.marticliment.com/resources/wingetui.png
https://marticliment.com/wingetui/help?isWingetUIIframe
https://marticliment.com/wingetui/help?isWingetUIIframe
https://marticliment.com/wingetui/help?isWingetUIIframe
https://marticliment.com/wingetui/help?isWingetUIIframe
Traceback (most recent call last):
  File ".\Interface\CustomWidgets\SpecificWidgets.py", line 603, in resetAll
AttributeError: 'NoneType' object has no attribute 'click'
🔵 Reloading sources...
🔵 Reloading Winget sources...
🔵 Reloading sources...
🔵 Reloading Winget sources...
🟢 Searching for string ""
🔵 Reloading sources...
🔵 Reloading Winget sources...
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🔵 Starting PowerShell source search...
🟢 PowerShell source search finished with 0 sources
🔵 Starting PowerShell search for updates
🔵 Starting Winget search for updates
🔵 Starting Chocolatey search for updates
🟢 PowerShell search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 Chocolatey search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 Winget search for updates finished with 24 result(s)
🟡 Package FinalWire.AIDA64.Engineer has version 6.92 ignored
🟡 Package Amazon.Kindle has version * ignored
🟡 Package REALiX.HWiNFO has version 7.68 ignored
🟡 Package BinaryFortress.DisplayFusion has version * ignored
🟡 Package Treexy.DriverFusion has version * ignored
🟡 Package Ubisoft.Connect has version * ignored
🟡 Package Resplendence.WhySoSlow has version 1.61 ignored
🟡 Package WinDirStat.WinDirStat has version 1.1.2 ignored
🟡 Multiple versions of Microsoft.DotNet.SDK.5 are installed, latest version is installed. Not showing the update
🟡 Package H2IK.JoystickGremlin has version 13.3 ignored
🟡 Package Garmin.BaseCamp has version * ignored
🟡 Package Python.Launcher has version * ignored
🟡 Multiple versions of Microsoft.DotNet.Runtime.3_1 are installed, latest version is installed. Not showing the update
🟡 Package Google.EarthPro has version * ignored
🟡 Package DavidTHOIRON.FotoSketcher has version 3.80 ignored
🟡 Package MSI.Kombustor.4 has version <IP_ADDRESS> ignored
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 8
🔵 Loading WingetUI log...

Package Managers Logs
🟢 Using cached lang file
🟡 Using bundled lang file (forced=True)
🔵 It took 0.012012243270874023 to load all language files
🟢 checkQueue Thread started!
🟢 Updating outdated language file...
🟢 Using cached lang file
🔵 Found default chocolatey installation on expected location
---------------------------------------------------------------------------------------------------

   WingetUI version 2.2.0-beta (version number 2.91) log
   All modules loaded successfully and sys.stdout patched correctly, starting main script
   Translator function language set to "en"

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

 Log legend:
 🔵: Verbose
 🟢: Information
 🟡: Warning
 🟠: Handled unexpected exception
 🔴: Unhandled unexpected exception

🔴  Traceback (most recent call last):

🔴  Traceback (most recent call last):

🔴    File ".\__main__.py", line 69, in <module>

🔴    File ".\__main__.py", line 69, in <module>

🔴    File ".\PackageEngine\Classes.py", line 39, in __init__

🔴    File ".\PackageEngine\Classes.py", line 39, in __init__

🔴  AttributeError: 'NoneType' object has no attribute 'NAME'

🔴  AttributeError: 'NoneType' object has no attribute 'NAME'

🔴 Note this traceback was caught by reporter and has been added to the log ('NoneType' object has no attribute 'NAME')
🔵 Starting main application...
🔵 Looking for alive instances...
🔵 Starting API with random session authentication token 0c09f4990104b20ab2348cd146021d0c3091e2d64b39c949cd97b704f8e39f65
🟡 Found lock file(s), reactivating...
🔵 Reloading Winget sources...
🔵 Loading WingetUI AUMID...
🔵 Starting update check
🟢 Downloaded latest metadata to local file from url https://raw.githubusercontent.com/marticliment/WingetUI/main/WebBasedData/screenshot-database-v2.json
🔵 Loaded metadata from local file
🔵 Starting Winget source search...
🔵 Version URL: https://www.marticliment.com/versions/wingetui.ver
🟢 Updates not found
🟢 Winget source search finished with 2 sources
🔵 Reactivation signal ignored: RaiseWindow_[1703488793.8097646]
🟢 Found valid aumid {6D809377-6AF0-444B-8957-A3773F02200E}\WingetUI\winget...
{'sudoFound': True, 'sudoVersion': 'gsudo v2.0.4 (Branch.tags-v2.0.4.Sha.506efa024af0cef6e4b0cfec42e0c8c5d0b1472c)\r', 'ScoopFound': False, 'ScoopVersion': 'Scoop is disabled', 'PipFound': False, 'PipVersion': 'Pip is disabled', 'NpmFound': False, 'NpmVersion': 'Npm is disabled', '.NET ToolFound': False, '.NET ToolVersion': '.NET Tool is disabled', 'WingetFound': True, 'WingetVersion': 'v1.6.3133  ', 'PowerShellFound': False, 'PowerShellVersion': '', 'ChocolateyFound': True, 'ChocolateyVersion': '2.2.2  '}
🔵 Reached main ui load milestone
🟢 Discover tab loaded successfully
🟢 Total packages: 0
🟢 Update tab loaded successfully
🔵 Reloading sources...
🔵 Reloading Winget sources...
🔵 Reloading sources...
🔵 Reloading Winget sources...
🟢 Searching for string ""
🔵 Reloading sources...
🔵 Reloading Winget sources...
🟢 Uninstall tab loaded successfully
🔵 Starting Winget search for installed packages
🔵 Starting Chocolatey search for installed packages
🔵 Starting PowerShell search for installed packages
🟢 Searching for string ""
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🟢 PowerShell search for installed packages finished with 0 result(s)
🟢 Chocolatey search for installed packages finished with 0 result(s)
🟠 Chocolatey got too few installed packages, retrying
🔵 Starting Chocolatey search for installed packages
🔵 Starting Winget source search...
🔵 Starting Scoop source search...
🔵 Starting Chocolatey source search...
🔵 Starting PowerShell source search...
🟢 Settings tab loaded!
🟢 Winget source search finished with 2 sources
🟢 About tab loaded!
🟢 Chocolatey search for installed packages finished with 0 result(s)
IndexError: list index out of range
IndexError: list index out of range
IndexError: list index out of range
IndexError: list index out of range
🟢 Scoop source search finished with 5 sources
🔵 Starting Winget search for updates
🟢 Chocolatey source search finished with 0 sources
🟢 PowerShell source search finished with 0 sources
🟢 Main application loaded...
🔵 Starting Chocolatey search for updates
🔵 Starting PowerShell source search...
🟢 Total packages: 0
🟢 Total packages: 0
🟢 Total packages: 0
🟢 Searching for string ""
Traceback (most recent call last):
  File ".\Interface\CustomWidgets\InstallerWidgets.py", line 669, in <lambda>
TypeError: 'NoneType' object is not callable
🟢 Searching for string ""
🟢 PowerShell source search finished with 0 sources
🔵 Starting PowerShell search for updates
🟢 Chocolatey search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 PowerShell search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 Winget search for installed packages finished with 557 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 557
🟢 Winget search for updates finished with 24 result(s)
🟡 Package FinalWire.AIDA64.Engineer has version 6.92 ignored
🟡 Package Amazon.Kindle has version * ignored
🟡 Package REALiX.HWiNFO has version 7.68 ignored
🟡 Package BinaryFortress.DisplayFusion has version * ignored
🟡 Package Treexy.DriverFusion has version * ignored
🟡 Package Ultimaker.Cura has version 5.6.0 ignored
🟡 Package Ubisoft.Connect has version * ignored
🟡 Package Resplendence.WhySoSlow has version 1.61 ignored
🟡 Package WinDirStat.WinDirStat has version 1.1.2 ignored
🟡 Package Microsoft.DotNet.AspNetCore.6 has version * ignored
🟡 Multiple versions of Microsoft.DotNet.SDK.5 are installed, latest version is installed. Not showing the update
🟡 Package H2IK.JoystickGremlin has version 13.3 ignored
🟡 Package Garmin.BaseCamp has version * ignored
🟡 Package Microsoft.DotNet.Runtime.6 has version * ignored
🟡 Package Python.Launcher has version * ignored
🟡 Multiple versions of Microsoft.DotNet.Runtime.3_1 are installed, latest version is installed. Not showing the update
🟡 Package Microsoft.DotNet.AspNetCore.6 has version * ignored
🟡 Package Google.EarthPro has version * ignored
🟡 Package DavidTHOIRON.FotoSketcher has version 3.80 ignored
🟡 Package MSI.Kombustor.4 has version <IP_ADDRESS> ignored
🟡 Package Microsoft.DotNet.Runtime.6 has version * ignored
🟡 Package Microsoft.VCRedist.2005.x86 has version 8.0.61001 ignored
🟡 Package Microsoft.DotNet.AspNetCore.6 has version * ignored
🟡 Package Microsoft.DotNet.AspNetCore.6 has version * ignored
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 0
🔵 Reloading sources...
🔵 Reloading Winget sources...
🔵 Reloading sources...
🔵 Reloading Winget sources...
🟢 Searching for string ""
🔵 Reloading sources...
🔵 Reloading Winget sources...
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🔵 Starting Winget search for updates
🔵 Starting Chocolatey search for updates
🔵 Starting PowerShell source search...
🟢 PowerShell source search finished with 0 sources
🔵 Starting PowerShell search for updates
🟢 Chocolatey search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 PowerShell search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 Winget search for updates finished with 24 result(s)
🟡 Package FinalWire.AIDA64.Engineer has version 6.92 ignored
🟡 Package Amazon.Kindle has version * ignored
🟡 Package REALiX.HWiNFO has version 7.68 ignored
🟡 Package BinaryFortress.DisplayFusion has version * ignored
🟡 Package Treexy.DriverFusion has version * ignored
🟡 Package Ultimaker.Cura has version 5.6.0 ignored
🟡 Package Ubisoft.Connect has version * ignored
🟡 Package Resplendence.WhySoSlow has version 1.61 ignored
🟡 Package WinDirStat.WinDirStat has version 1.1.2 ignored
🟡 Package Microsoft.DotNet.AspNetCore.6 has version * ignored
🟡 Multiple versions of Microsoft.DotNet.SDK.5 are installed, latest version is installed. Not showing the update
🟡 Package H2IK.JoystickGremlin has version 13.3 ignored
🟡 Package Garmin.BaseCamp has version * ignored
🟡 Package Microsoft.DotNet.Runtime.6 has version * ignored
🟡 Package Python.Launcher has version * ignored
🟡 Multiple versions of Microsoft.DotNet.Runtime.3_1 are installed, latest version is installed. Not showing the update
🟡 Package Microsoft.DotNet.AspNetCore.6 has version * ignored
🟡 Package Google.EarthPro has version * ignored
🟡 Package DavidTHOIRON.FotoSketcher has version 3.80 ignored
🟡 Package MSI.Kombustor.4 has version <IP_ADDRESS> ignored
🟡 Package Microsoft.DotNet.Runtime.6 has version * ignored
🟡 Package Microsoft.VCRedist.2005.x86 has version 8.0.61001 ignored
🟡 Package Microsoft.DotNet.AspNetCore.6 has version * ignored
🟡 Package Microsoft.DotNet.AspNetCore.6 has version * ignored
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 0
🔵 Starting Winget source search...
🔵 Starting Scoop source search...
🔵 Starting Chocolatey source search...
🔵 Starting PowerShell source search...
Traceback (most recent call last):
  File ".\Interface\CustomWidgets\InstallerWidgets.py", line 669, in <lambda>
TypeError: 'NoneType' object is not callable
🟢 Winget source search finished with 2 sources
🔵 Announcement URL: https://www.marticliment.com/resources/wingetui.announcement
🟢 PowerShell source search finished with 0 sources
IndexError: list index out of range
IndexError: list index out of range
IndexError: list index out of range
IndexError: list index out of range
🟢 Scoop source search finished with 5 sources
🟢 Chocolatey source search finished with 1 sources
🔵 Image URL: https://www.marticliment.com/resources/wingetui.png
https://marticliment.com/wingetui/help?isWingetUIIframe
https://marticliment.com/wingetui/help?isWingetUIIframe
https://marticliment.com/wingetui/help?isWingetUIIframe
https://marticliment.com/wingetui/help?isWingetUIIframe
Traceback (most recent call last):
  File ".\Interface\CustomWidgets\SpecificWidgets.py", line 603, in resetAll
AttributeError: 'NoneType' object has no attribute 'click'
🔵 Reloading sources...
🔵 Reloading Winget sources...
🔵 Reloading sources...
🔵 Reloading Winget sources...
🟢 Searching for string ""
🔵 Reloading sources...
🔵 Reloading Winget sources...
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🔵 Starting PowerShell source search...
🟢 PowerShell source search finished with 0 sources
🔵 Starting PowerShell search for updates
🔵 Starting Winget search for updates
🔵 Starting Chocolatey search for updates
🟢 PowerShell search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 Chocolatey search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 Winget search for updates finished with 24 result(s)
🟡 Package FinalWire.AIDA64.Engineer has version 6.92 ignored
🟡 Package Amazon.Kindle has version * ignored
🟡 Package REALiX.HWiNFO has version 7.68 ignored
🟡 Package BinaryFortress.DisplayFusion has version * ignored
🟡 Package Treexy.DriverFusion has version * ignored
🟡 Package Ubisoft.Connect has version * ignored
🟡 Package Resplendence.WhySoSlow has version 1.61 ignored
🟡 Package WinDirStat.WinDirStat has version 1.1.2 ignored
🟡 Multiple versions of Microsoft.DotNet.SDK.5 are installed, latest version is installed. Not showing the update
🟡 Package H2IK.JoystickGremlin has version 13.3 ignored
🟡 Package Garmin.BaseCamp has version * ignored
🟡 Package Python.Launcher has version * ignored
🟡 Multiple versions of Microsoft.DotNet.Runtime.3_1 are installed, latest version is installed. Not showing the update
🟡 Package Google.EarthPro has version * ignored
🟡 Package DavidTHOIRON.FotoSketcher has version 3.80 ignored
🟡 Package MSI.Kombustor.4 has version <IP_ADDRESS> ignored
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 8
🔵 Loading WingetUI log...

Relevant information
No response
Screenshots and videos

I am sorry, but this is an issue with cura only, because of the way their installers work.
You might want to skip versions/ignore curs for updated until they get this fixed.


Index files for sub pages don't get rendered

Bug report
Index files for sub pages don't get rendered
Describe the bug
I created a directory, for instance, named "book" in pages, and an index.js file in that directory. When I tried navigating to /book, nothing get rendered, says page don't exist. Creating a book.js will work perfectly, I just felt its nice to have an index file since i'll be having more pages in that sub directory
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Go to '/pages'
Create 'book' folder
Create an index.js file

System information

OS: Debian 9
Browser (if applies): Chrome 67
Version of Next.js: 6.0.3

This is already supported + we have tests for it. I've also followed your steps to reproduce but it worked fine 🤔
tree pages
pages
├── book
│   └── index.js
└── index.js


Write Atari ST formats

This PR addresses #201.
It adds a new write option for creating Atari ST disks and registers the standard .st file extension so disk images can be used without having to rename them first. The standard IBM writer is used but many of the options are preset for ST disks (no IAM, fixed clock rates / speeds etc.).
Atari ST disks can be written using:
fluxengine write atarist --st-preset-820 -i my-disk-image.st

The following format presets are available:

flag
format

--st-preset-360
360kB disk (1 side, 80 tracks, 9 sectors)

--st-preset-370
370kB disk (1 side, 82 tracks, 9 sectors)

--st-preset-400
400kB disk (1 side, 80 Tracks, 10 sectors)

--st-preset-410
410kB disk (1 side, 82 tracks, 10 sectors)

--st-preset-720
720kB disk (2 sides, 80 tracks, 9 sectors)

--st-preset-740
740kB disk (2 sides, 82 tracks, 9 sectors)

--st-preset-800
800kB disk (2 sides, 80 tracks, 10 sectors)

--st-preset-820
820kB disk (2 sides, 82 tracks, 10 sectors)

Thank you very much for this!
Could you merge from master and push again, please? Appveryor changed their configuration and I had to fix it.

Thank you very much for this!
Could you merge from master and push again, please? Appveryor changed their configuration and I had to fix it.

Thank you very much for this!
Could you merge from master and push again, please? Appveryor changed their configuration and I had to fix it.

Thank you very much for this!
Could you merge from master and push again, please? Appveryor changed their configuration and I had to fix it.

Fixed.

Fixed.

Would be nice to document this here: https://github.com/davidgiven/fluxengine/tree/master/doc. Can do that in a separate PR if needed?

Would be nice to document this here: https://github.com/davidgiven/fluxengine/tree/master/doc. Can do that in a separate PR if needed?

For consistency, would it make sense to add fluxengine read atarist? Even it it's just a wrapper for reading IBM disks?

For consistency, would it make sense to add fluxengine read atarist? Even it it's just a wrapper for reading IBM disks?

Sorry, been stuck with other things.
Yes, I think a read atarist command would be a good idea --- even if all it does is write to atarist.st instead of ibm.img. Documentation would be fine, too, but I'm happy to do that.

Sorry, been stuck with other things.
Yes, I think a read atarist command would be a good idea --- even if all it does is write to atarist.st instead of ibm.img. Documentation would be fine, too, but I'm happy to do that.

I've added an Atari ST reader front-end and a documentation page. I think that covers off most common uses-cases for reading/writing Atari ST formatted disks.

I've added an Atari ST reader front-end and a documentation page. I think that covers off most common uses-cases for reading/writing Atari ST formatted disks.

Sorry about the delay --- I've actually just fixed a firmware bug which was causing pulse timing to be slightly wrong when writing images.
Can I ask you to update from trunk again, flash the new firmware, and check that the Atari disks can be written and read back again? I think the bug was only affecting 1440kB IBM formats, but the effect of it is that tracks are now slightly shorter than they were, so if your sector timings are marginal there's a chance the last sector will be truncated at the end of the track (as was happening with the 1440kB format --- --ibm-gap3-bytes was too big).

Sorry about the delay --- I've actually just fixed a firmware bug which was causing pulse timing to be slightly wrong when writing images.
Can I ask you to update from trunk again, flash the new firmware, and check that the Atari disks can be written and read back again? I think the bug was only affecting 1440kB IBM formats, but the effect of it is that tracks are now slightly shorter than they were, so if your sector timings are marginal there's a chance the last sector will be truncated at the end of the track (as was happening with the 1440kB format --- --ibm-gap3-bytes was too big).

I've rebased my changes onto yours and flashed the firmware to the latest version. Disk writing works but I am seeing intermittent failures when trying to load disks into my Atari ST - some are hanging at the boot sector. If I rewrite the disk it will work fine. I'm not sure if this is related to your firmware update or if its just a coincidence.

I think the frontend code is fine though, it's doing what I expect it to.

I've rebased my changes onto yours and flashed the firmware to the latest version. Disk writing works but I am seeing intermittent failures when trying to load disks into my Atari ST - some are hanging at the boot sector. If I rewrite the disk it will work fine. I'm not sure if this is related to your firmware update or if its just a coincidence.

I think the frontend code is fine though, it's doing what I expect it to.

Hmm. Could be write failure --- writing a disk doesn't do any verification (it's on my list of things to do), so you'll only know if it failed by trying to read things back again. It's a possibility it's just normal spurious errors, which happen occasinally. I'll go ahead and merge.

Hmm. Could be write failure --- writing a disk doesn't do any verification (it's on my list of things to do), so you'll only know if it failed by trying to read things back again. It's a possibility it's just normal spurious errors, which happen occasinally. I'll go ahead and merge.