UI: Widgets with initial state of Hidden do not show in proper section

One addition problem we are facing is that widgets which are hidden based on ‘stateFunc’ property of UiProvider appear in its own tab and push the other widgets down. The issue only happens if default widget state is hidden. (This case is not covered in attached sample app but I can add it if required)
Widget in question: Data Visualization widget
Screenshot of issue:

Widget definition in UI Provider provideWidgets function (commenting out stateFunc prop fixes the issue).
widgets.push({
          id: "DataVizControl",
          label: IModelApp.localization.getLocalizedString("VisualizerApp:controls.data-viz"),
          icon: "icon-spaces",
          isFloatingStateSupported: false,
          canPopout: false,
          defaultState: WidgetState.Hidden,
          fillZone: true,
          getWidgetContent: () => {
            return DataVizStartup.getDataVizWidgetControlNode();
          },
          restoreTransientState: () => true,
          stateFunc: (_state): WidgetState => {
            return VisualizerApp.store.getState().VisualizerAppState.isDataVizInitialized
              ? WidgetState.Open
              : WidgetState.Hidden;
          },
          syncEventIds: [SyncUiEventId.FrontstageReady, DataVizStartup.DataVizInitializedSyncUIEventId],
        });

Trigger for above issue: The issue occurs on dispatch call of initialized property used in stateFunc of widget definition
DataVizManager.initialize( ViewerUtilities.viewerOptions.staticConfig.gprid, ViewerUtilities.viewerOptions.dynamicConfig.userId,
      VisualizerApp.store as any, // not used by ui-snippet
      IModelApp.localization,
      undefined,
      {
        fullApiAccess: false,
        usePreloadPriority: true,
        useITwinElementPropertiesRpcInterface: ViewerUtilities.viewerOptions.useITwinElementPropertiesRpcInterface,

      },()=>{g
        return authClientPublic.getAccessToken()
      }
    ).then(() => {
      VisualizerApp.store.dispatch(VisualizerAppActions.setIsDataVizInitialized(true));
      // todo: not sure why the second line is even required. We can consider removing it
      SyncUiEventDispatcher.dispatchSyncUiEvent(DataVizStartup.DataVizInitializedSyncUIEventId);
    });

@NancyMcCallB I think this might actually be related to #205 (which was happening regardless of stateFunc and can be reproduced in 3.7 appui-test-app.) 205 is fixed in 4.0, so we can probably close this one as well.


PIGPIO-Crash after WPA-Update?

Hello,
I see on two Raspberry Pi that are connect over WLAN that sometimes the PIOGPIO-service stops. I can start it again, but after a few hours it is down again. I can't observe it on Raspberry Pis that are connect over LAN.
I few days ago, there was a WPA update, maybe that will caused this?
Joachim

Hi Joachim,
What actions/observations indicate to you that "the PIGPIO-service stops?"
Guy

Hello Guy,
I saw in my application, that the port 8888 is not available. So I look at the Raspberr Pi with "top" and I don't see "pigpiod". I start it again and it run (and I see pigpiod in "top"), but only for a few hours/minutes, then pigpiod is gone again. A friend of mine call and tell me the same story - again on a Raspberry Pi that is connected over WLAN, I don't observe it on LAN...
Joachim

If you can provide a test script I will try this out.  Otherwise I will assume it is a temporary abberation.


a simple rucio.getPfn. Fix #9873

Port to Master branch of  #10028  Fixes #9873
Status
ready
Description
add a rucio.getPFN method for use by CRAB (which resolves an LFN to a PFN)
Is it backward compatible
Yes, it is new node. Nothing is removed.
Related PRs
#10028
External dependencies / deployment changes
None

@amaltaro how can I see the unit test output or run it myself so I can fix it ? Jenkins log only says
    WMCore_t.Services_t.Rucio_t.Rucio_t.RucioTest:testGetPFN changed from success to error

IIUC that this is current test, failure is not a surprise ! But you menationed you had something already... I'd like to start from that.
https://github.com/dmwm/WMCore/blob/fa4111f3e3ddeba76eee611669ed7a185b8bd988/test/python/WMCore_t/Services_t/Rucio_t/Rucio_t.py#L236-L240
The pylint complaint is abount code which I did not touch, I let you decide if to fix it or keep it.

That unit test was expected to fail. Right now it expects a call to getPFN to raise an exception, which is no longer the case now that you have implemented that method. Here is an initial unit test to test that method
    def testGetPFN(self):
        """
        Test `getPFN` method
        """
        resp = self.myRucio.getPFN(site="T2_CH_CERN_Test", lfns="/store")
        self.assertItemsEqual(resp, {u'/store': u'gsiftp://eoscmsftp.cern.ch:2811/eos/cms/store/test/rucio/int/cms//store'})

        # request below should raise an exception or something, according to the docstring...
        resp = self.myRucio.getPFN(site="T2_CH_CERN_Test", lfns="wrong_lfn")
        self.assertItemsEqual(resp, {})

About the pylint issues, they seem to be all "expected". But if there are new ones reported for the lines you have changed, it would be great if you could get them fixed.
About interpreting and debugging jenkins unit tests, this seems to be up-to-date:
https://github.com/dmwm/WMCore/wiki/Understanding-Jenkins#how-to-interpret-jenkinss-comments-on-your-pull-request
you should be able to test those by running the WMAgent container, IF Rucio authentication was working properly from the container... something changed a few weeks ago and I still didn't manage to get that fixed. It will be easier if you give me some examples of getPFN calls and I write the unit tests for you. Otherwise, you can write unit tests and wait for Jenkins results too.

sorry, but I can't also learn to run WMA Container. WIll leave to you. I will add some unit test though.

Latest error reported by jenkins is:
invalid syntax (Rucio_t.py, line 274)

Don't spend more time on this though.  Anyhow, you can also edit the file in my PR in github
save some push/pull etc.

While I test it, I get even different results. One time it returns gsiftp, another returns root:, even though my test did not change...

from CERN ? hard to test a non-deterministic thing. Maybe that's the drawback of connecting to a test server where people change stuff.  We are trying to write a Rucio test, not a WMCore one.

Right! While we write these wmcore unit tests, it's a great opportunity to ensure we are getting the expected response back from the server, especially for "freshly" commissioned services like Rucio.
Stefano, I have made 2 different unit tests, one that will keep running in every jenkins test; and a second one marked as integration that can only be run manually, this one pointing to the production server though. Here is the code:
http://amaltaro.web.cern.ch/amaltaro/forStefanoB/Rucio_t.py
can you curl/wget it and push it into this branch? Please also take your time to go through those tests and make sure the outcomes satisfies the requirements you have discussed with the CMS Rucio team. I particularly spotted 2 issues in there, tagged as FIXME. And please, adapt those comments/etc as you like.

I updated my branch with that, so code does not get lost. Will look at details and possibly change later on a let you know. OTOH, I guess that when you will  change something else and get a unit test for Rucio failing, you will not loose sleep on it !

@amaltaro about this
        ### FIXME: shouldn't this LFN fail the input regex?!
        resp = self.myRucio.getPFN(site="T2_CH_CERN_Test", lfns="")

I believe that the explanation is that current Rucio's lfn2pfn implementation simply appies the TFC from that side as currently defined, so it really depends on the kind of regexp syntax they used, which is why different sites give mixed result (works/does not work) with same test patterns. That's whay I decided to stick with lfn=/store/afile as simplest possible yet that everybody accepts. I'd say that testing site TFC's is out of scope, nor am I in favor of adding a check on our side. All in all if in the future Ops manages to have all sites lfn2pfn happen via a simple prefix (the plan), the query with lfn="" may actually be the best way to use this ! Let me know if you agree with replacing the FIXME with some succint explnation of the above.
Then I believe we can close this until actual problems arise.

Of course, you're the expert here ;) I thought Rucio had its own regex on the input files before anything else (TFC rules) were applied. It makes sense, thanks for this explanation Stefano.

it will be a good day when we can stop using this and simply set Rucio rules !

@amaltaro I am done here. All yours. Unit tests fail, but it looks to me to be not in this file.

Thanks Stefano. Let me ask you then a final change. Can you please squash all the test commits into a single one? Such that this PR provides 2 commits; 1st for the real changes (src/), 2nd commit for unittests/pylint changes (usually under test/).

ah.. sure. sorry should have thought of that myself


OSFUSE-403: Ensure effective platform mode is set when choosing to ru…

…n individual goals
Relates to: https://issues.jboss.org/browse/OSFUSE-403

The fix looks good to me for the current situation, however I think that the usage of this FABRIC8_EFFECTIVE_PLATFORM_MODE is only a workaround for a larger problem, namely that the Enricher or Generator interface are not perfectly suited. Still didn't got fully the use case for this property. Especially the communication between Mojos needs to be reduced.

Please see also the discussion of https://github.com/fabric8io/fabric8-maven-plugin/pull/429 why this all happens currently this way.

[merge]


feat: Add omnilock and sudt actor.

Codecov Report

Merging #488 (c833c3c) into develop (03e4016) will increase coverage by 0.04%.
The diff coverage is 75.00%.

@@             Coverage Diff             @@
##           develop     #488      +/-   ##
===========================================
+ Coverage    61.97%   62.02%   +0.04%
===========================================
  Files           94       94
  Lines         3124     3128       +4
  Branches       691      692       +1
===========================================
+ Hits          1936     1940       +4
+ Misses        1077     1072       -5
- Partials       111      116       +5

Files Changed
Coverage Δ

packages/models/src/utils/decorator/provider.ts
44.15% <55.55%> (+0.15%)
:arrow_up:

packages/io/src/controller.ts
84.05% <100.00%> (+0.95%)
:arrow_up:

packages/io/src/cor.ts
87.50% <100.00%> (+2.50%)
:arrow_up:

... and 3 files with indirect coverage changes

Continue to review full report in Codecov by Sentry.

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

Please have a review @Daryl-L @PainterPuppets


Add basic metrics

New parameters are added to the Agent configuration.
Please document this in the README. Document also what happens if the statsd configuration is not passed to the Agent.

Please verify the code in pkg/executors/docker_compose_executor.go again.

One of the functions is not used in the code.
You have a typo in the metric name.
The android count metric is submitted for all docker containers. It should be submitted only for android.

The README is not complete, please use and adapt the documentation section that I sent you in the DM.
# Collecting Statds Metrics from the Agent

If configured, the Agent can publish the following StatsD metrics:

- compose_ci.docker_pull.duration, tagged with: [image name]
- compose_ci.docker_pull.success.rate, tagged with: [image name]
- compose_ci.docker_pull.failure.rate, tagged with: [image name]

To configure Statsd publishing provide the following command-line flags to the Agent:
- stats_host: The host where to send StatsD metrics.
- stats_port: The port where to send StatsD metrics.
- stats_prefix: The prefix to be added to every StatsD metric.

Example Usage:

agent start --statsd-host "<IP_ADDRESS>" --statsd-port 8192 --statsd-prefix "agent.prod"

If StatsD flags are not provided, the Agent will not publish any StatsD metric.

Looks great! Thanks for fixing the code.
When the typo is fixed, ping me and we are ready to merge and release.

Awsm! Feel free to merge and release.


First time deploys flutter android studio in ubuntu

Analyzer Feedback from IntelliJ
Version information

IDEA AI-192.7<IP_ADDRESS>41897
2.7.0
AI-192.7<IP_ADDRESS>41897, JRE 1.8.0_212-release-1586-b4-5784211x64 JetBrains s.r.o, OS Linux(amd64) v5.3.0-40-generic, screens 1366x768

Closing this as there are no details to figure out what might be the problem. Please reopen with more details.


AMBARI-23214. StackAdvisor Error while enabling back security : inval…

…id literal for int() with base 10
What changes were proposed in this pull request?
StackAdvisor Error while enabling back security : invalid literal for int() with base 10
How was this patch tested?
manually
Please review Ambari Contributing Guide before opening a pull request.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1149/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1150/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1153/
Test PASSed.


API source support  csv from application/gzip

I have a lot of API sources which are from type application/gzip or application/x-gzip and contains csv files. Is there a way to integrate these mime type into API source?

@mosenturm Could you remind me when you need this feature by?

@mosenturm is this feature still urgent for you?

Put it on the roadmap till end of the year.


AWS Lambda PYODBC no module named

Please first make sure you have looked at:

Documentation: https://github.com/mkleehammer/pyodbc/wiki
Other issues

Environment
To diagnose, we usually need to know the following, including version numbers.  On Windows, be
sure to specify 32-bit Python or 64-bit:

Python: 3.7
pyodbc: 4.0.27
OS: WINDOWS
DB: MS SQL SERVER
driver: SQL SERVER

Issue
Often it is easiest to describe your issue as "expected behavior" and "observed behavior".
Expected behavior:
I have a working python script with pyodbc installed via pip which executes the sql well.
I am trying to move this script to be executed via AWS Lambda.
Expected behavior is to execute successfully as per my local machine.
Observed behavior:
To package it as a zip file to send to AWS, I have done pip install pyodbc -t . , which creates a pyodbc-4.0.27.dist-info and pyodbc.cp37-win32.pyd.
Unlike other packages, it does not come with a pyodbc folder.
When executed on AWS, I'm getting the error:
[ERROR] Runtime.ImportModuleError: Unable to import module 'main': No module named 'pyodbc'
which means that there is no readable py files from pyodbc.
======================================================
Any idea how to resolve?
Thanks!

Check the module path:
import sys
print(sys.path)

and ensure the pyODBC module can be found in one of them.


After running PHPCBF it should auto run PHPCS again.

First off, Thanks for this. Works great and love that it is all in one plugin!
After I run the PHPCBF to fix any issues it still shows the issues. I have to then save the file then the issues go away.
Instead I would prefer that PHPCS auto runs after PHPCBF completes.
I know there is a onType option, but I would not prefer that.
Thanks

When the phpcbf runs it modifies the file in memory, not on disk and phpcs runs against the file on disk. That's why you have to save the document yourself. I can look and see if the behavior can be adjusted so that it saves the file but I not sure if it will work.

When the phpcbf runs it modifies the file in memory, not on disk and phpcs runs against the file on disk. That's why you have to save the document yourself. I can look and see if the behavior can be adjusted so that it saves the file but I not sure if it will work.

@valeryan That makes sense. I would prefer not to have it save the file, but maybe others would like that. So it would be best to have that as a setting. I would just prefer that phpcs runs on the file in memory only once after phpcbf runs and completes. After that having phpcs run on the file on disk is fine.

@valeryan That makes sense. I would prefer not to have it save the file, but maybe others would like that. So it would be best to have that as a setting. I would just prefer that phpcs runs on the file in memory only once after phpcbf runs and completes. After that having phpcs run on the file on disk is fine.

The way phpcs runs in either on type or on save. I don't really see a way to implement this, so I am closing this issue. Thanks.

@valeryan No worries, but it seems odd that there is no way to trigger phpcs on the file in memory. I guess someone would need to dig into how the on type works as that does run on the file in memory. So just need to know how the on type works and then just duplicate that process right after phpcbf runs.
I wish i knew how to look into that, but that is beyond my skillset  :(


Add additional wildcard test "Wildcard applies to the domain(s)"

Beside the “18. Wildcard present” test add 19. “Wildcard applies to the domain(s)”.
If no Wildcards are detected in 18. this test will be “Passed”.
The * must apply to a valid domain detected in the list and not to a public suffix as in https://publicsuffix.org/list/
Example:

*.cartel.ch is fine, *.ch is not ok
*.bp.co.uk is fine, *.co.uk is not ok (co.uk is a

Refer to <IP_ADDRESS> of https://cabforum.org/wp-content/uploads/Baseline_Requirements_V1_3_1.pdf

Implemented, can you test it..

Tested and ok


Feature request: deeply merge_configs

Using the new merge_configs option to the ProjectConfig.__init__ method, configs like the following can be merged:
merged({"foo": "bar"}, {"baz": "qux"}) == {"foo": "bar", "baz": "qux"})

However, dictionaries nested more deeply than the toplevel are not merged:
# current behavior:
merged({"inner": {"foo": "bar"}}, {"inner": {"baz": "qux"}}) == {"inner": {"baz": "qux"}})
# left config overwritten by right config

I would expect that nested configuration gets merged instead of being overwritten:
# expected:
merged({"inner": {"foo": "bar"}}, {"inner": {"baz": "qux"}}) == {"inner": {"foo": "bar", "baz": "qux"}})

For context: deep merging will be useful for autoimport. Specifically, deep merging will enable the use-case where multiple autoimport config files each specify part of the common_statements dict.
cc @lyz-code

hi @Jasha10 thanks for raising the issue and the pr, i like the proposal. will take a look at the pr now

@Jasha10 @lyz-code this should now be available in 1.4.0


Re-skin the databrowser

The style and icons needs to be dramatically improved and specifically brought into the current UI language.  It has been developed as a functional prototype. It needs to be re-skinned a s a beautiful thing.
See also
https://forum.solidproject.org/t/what-about-a-re-skin-of-the-pod-at-inrupt-net/2310

I made some mockups a while ago for mobiles. Might serve as inspiration. CC-BY license.
A welcome screen to select where the navbar / browser chrome lives:

The home screen with app icons. Similar to how mobile launchers work. Scroll down to see your news feed.

Showing a folder resource.

Inside an extension / user installed module / app. The always visble navbar offers some basic features, including a view switcher and sharing settings.


Cleanup: move taskspec_test to resources_test pkg

Changes
This commit cleans up the pkg/reconciler/taskrun/taskspec_test to be under the resources_test pkg for testing purposes.
/kind cleanup

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[n/a] Has Docs included if any changes are user facing
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[n/a] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[n/a] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/lgtm

/test pull-tekton-pipeline-go-coverage-df


ASP.Net Core 3.0 SignalR Integration test using WebApplicationFactory fails with WebSocketException!

If you believe you have an issue that affects the security of the platform please do NOT create an issue and instead email your issue details to<EMAIL_ADDRESS>Your report may be eligible for our bug bounty but ONLY if it is reported through email.
Describe the bug
A clear and concise description of what the bug is.
I use WebApplicationFactory for integration test of SignalR and configure both the server and client to use WebSocket transport.
Server:
.Configure(app => {
    app.UseRouting();
    app.UseWebSockets();
    app.UseAuthentication()
    app.UseAuthorization();
    app.UseEndpoints(endpoints => endpoints.MapHub<THub>(url, options => options.Transports = HttpTransportType.WebSockets));
});

Client xUnit test:
    HubConnection connection = new HubConnectionBuilder()
        .WithUrl("http://localhost/chatHub", o => {
            o.HttpMessageHandlerFactory = _ =>  _testServer.CreateHandler();
            o.AccessTokenProvider = async () => await AccessTokenProvider();
            o.Transports = HttpTransportType.WebSockets;
            o.SkipNegotiation = true;
        }).Build();
    connection.On<string>("ReceiveMessage", i => {
        echo = i;
        messageReceivedEvent.Set();
    });
    await connection.StartAsync();

connection.StartAsync() throws WebSocketException:
   System.Net.WebSockets.WebSocketException : Unable to connect to the remote server
---- System.Net.Http.HttpRequestException : Connection refused
-------- System.Net.Sockets.SocketException : Connection refused

It didn't work on 2.2 and I am not sure if I should expect this improvement in 3.0?
To Reproduce
Steps to reproduce the behavior:

Using this version of ASP.NET Core '...' 3.0
Run this code '....'
With these arguments '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
No WebSocketExpception thrown since both the server and client are configure with that transport.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Include the output of dotnet --info
$ dn --info
.NET Core SDK (reflecting any global.json):
 Version:   3.0.100
 Commit:    04339c3a26

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  19.04
 OS Platform: Linux
 RID:         ubuntu.19.04-x64
 Base Path:   /usr/share/dotnet-3.0.100/sdk/3.0.100/

Host (useful for support):
  Version: 3.0.0
  Commit:  7d57652f33

.NET Core SDKs installed:
  3.0.100 [/usr/share/dotnet-3.0.100/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.0.0 [/usr/share/dotnet-3.0.100/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.0.0 [/usr/share/dotnet-3.0.100/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

Dupe of https://github.com/aspnet/AspNetCore/issues/11888?

https://github.com/aspnet/AspNetCore/issues/11673


Support for having WIP languages without publishing them

@ardan-bkennedy I wonder if it's possible to merge a language branch without making it public, so that the changes in the core are applied to that WIP language when they are introduced. Otherwise, we have to go resolving conflicts and keeping track of the changes manually trying not to forget any of them. You know, manually resolving conflicts could lead to mistakes.
Originally posted by @mdelapenya in https://github.com/ardanlabs/gotour/issues/239#issuecomment-1951302787

I think you are better off merging main into your branch. I have a set of notes of changes that I have to make when main is merged. I can go through that process at any time.
You should look at your branch as main.

Indeed, that's what I usually do, see https://github.com/ardanlabs/gotour/pull/239/commits/23e5a00f476730f5c98f8285087cf2edfe417d24. My main concern is not tracking all the changes at once and miss any

Everyone on the team should merge to this branch. Everyone has rights to merge


related to place picker?

I found out that google's place picker is deprecated as written here:
Place Picker
Does this plugin have anything to do with it? Sorry if they are not related. Just had to make sure before using this awesome plugin:)

Not related to this package that use the web service api https://developers.google.com/maps/apis-by-platform#web_service_apis


windows 10 arm 32 port

any chance we can take a look at porting this to arm32 windows 10 ?
can you give a list of dependencies that i could look into porting?

@wmjb arm32 windows 10 was only a single beta, before the RTM of Windows 10 was even released, and is only supported on Windows RT devices. It is already not possible to run Chromium on regular Windows RT.

@wmjb arm32 windows 10 was only a single beta, before the RTM of Windows 10 was even released, and is only supported on Windows RT devices. It is already not possible to run Chromium on regular Windows RT.

thanks for the info. i should have said, i'm part of the open-rt team and we are actively porting as much as possible to windows 10 rt. we're determined to get a browser functioning on the arm32 version of windows. we don't mind doing the hard work. just wanted to start with a dialog about the dependencies needed and see if we can satisfy them. we're actively working daily to bring modern software to the windows 10 arm32 version. just recently we've ported the latest python (including wix installer), code blocks ide, ninja , gnu make, perl, openssl, to name a few. and a load of other things like libs and dll's. we're also have a nearly complete msys/cygwin style shell for native compilation/porting of gnu apps and are working our way through them.
so, we not expecting anything chromium related to just work, but we're willing to make it work and supermium looks like a good starting point.

Supermium's dependencies are in the third_party directory in the repository. Most of them are not used in the Windows build, but the ones that are include ffmpeg, dawn and Vulkan RT.

A few components such as nacl do recognize a target CPU of "arm" or "arm64" (in nacl's case, an ARM64 build will force an ARM32 build of nacl because nacl's sandbox was not implemented for ARM64).
And I also remembered that the sandbox actually does patch syscalls. The syscall patching is based on the syscall signature for the architecture (https://source.chromium.org/chromium/chromium/src/+/main:sandbox/win/src/service_resolver_64.cc), so that will have to be added in for ARM32 if you want a functioning sandbox.

@wmjb arm32 windows 10 was only a single beta, before the RTM of Windows 10 was even released, and is only supported on Windows RT devices. It is already not possible to run Chromium on regular Windows RT.

thanks for the info. i should have said, i'm part of the open-rt team and we are actively porting as much as possible to windows 10 rt. we're determined to get a browser functioning on the arm32 version of windows. we don't mind doing the hard work. just wanted to start with a dialog about the dependencies needed and see if we can satisfy them. we're actively working daily to bring modern software to the windows 10 arm32 version. just recently we've ported the latest python (including wix installer), code blocks ide, ninja , gnu make, perl, openssl, to name a few. and a load of other things like libs and dll's. we're also have a nearly complete msys/cygwin style shell for native compilation/porting of gnu apps and are working our way through them.
so, we not expecting anything chromium related to just work, but we're willing to make it work and supermium looks like a good starting point.

Will you make a Windows 8 beta-compatible browser?

Will you make a Windows 8 beta-compatible browser?

https://github.com/win32ss/supermium/issues/714#issuecomment-2201099668

I know. I was actually talking to the Windows 10 ARM32 developer.

... we're actively working daily to bring modern software to the windows 10 arm32 version. just recently we've ported the latest python (including wix installer), code blocks ide, ninja , gnu make, perl, openssl, to name a few. and a load of other things like libs and dll's. we're also have a nearly complete msys/cygwin style shell for native compilation/porting of gnu apps and are working our way through them.

Where is the source for these ports of programs (ex. Python or build deps)?

... we're actively working daily to bring modern software to the windows 10 arm32 version. just recently we've ported the latest python (including wix installer), code blocks ide, ninja , gnu make, perl, openssl, to name a few. and a load of other things like libs and dll's. we're also have a nearly complete msys/cygwin style shell for native compilation/porting of gnu apps and are working our way through them.

Where is the source for these ports of programs (ex. Python or build deps)?

Binaries are available at https://files.open-rt.party/. Source code may also be available but I can't guarantee it.


[Bug]: Adjust "attemptRemoteServerPing" to check status without "/" or adding flag to disable this check

Problem:
To run against remote execution, SHAFT first make ping request to the server to check its status using status/ or wd/hub/status/,
some servers response with 404 although it is up and running that's happen as the status call ends with / and some servers doesn't support it. They support status call without / at the end.
Reference code is here
Suggestions:

Add another call to status without / in case 404 returned from first request
Add flag to disable this check if needed

Note: This issue blocks the tests execution on some servers

@MohabMohie Do you have timeline when this issue can be fixed?

@magdyheiba in this issue we need to implement a feature flag to disable the remote server connection checks. Which is essentially a new property on the flags file, and if it's enabled we skip this check and go directly to try connecting to the remote server.

@MohabMohie is it possible to add the status method in the property files as well? you can set default to status/  and user will have the option to change it if needed?

@roaamagdy actually this connection check is not needed in most cases, it's only needed in case of SHAFT initiating its own Grid or Appium Server.

@MohabMohie when you will release this fix?

@MohabMohie @magdyheiba When I updated to the new release and set the executionAddress to our server I got this issue:

@roaamagdy
Would you kindly share the full stacktrace and the properties you're using please?

@MohabMohie I am using the default properties , nothing changed except the "executionAddress"

We need the full stacktrace please.

This is what is before the exception (the capabilities)

Is there something that prevents you from sharing the full exception stacktrace?

@MohabMohie there is nothing more to be shared. The first lines in the log just some logs then the log print the capabilities then the exception I shared.

The second screenshot wasn't loaded.
Regarding launching the driver I recommend using the configuration manager to generate the correct platform and mobile properties then launching the driver using
driver = SHAFT.GUI.WebDriver.getInstance();
Meanwhile I'll try to reproduce this issue as it's not reproducible via github actions or locally.

@MohabMohie I have to set some capabilities and you advised before to use this way in initializing the driver
new SHAFT.GUI.WebDriver(CHROME,capabilities)
Regarding the properties file, I deleted the old ones and I let shaft generated and it works locally but when I changed the executionAddress to remote server, I got this exception

Issue is fixed, there was conflict in the dependencies


Added HTML code to application

This PR adds all of the HTML we need for the prework study guide application.

add


examples: clients and servers upgraded to http1.1

Yeah, we need HTTP/0.9 to interop with the other implementations (some of which are not going to implement HTTP/3). When I looked into this there wasn't any readily available HTTP implementation that supported both HTTP/1.* and 0.9.
Though some of the changes in this PR (e.g. proper options parsing for C examples) look good, so we can probably review and merge them separately.

Added flags to clients to set HTTP/0.9 request format.  Servers now support both formats.
Seems that I am failing the formatting check.  Should I apply the suggestions of the rust formatter or is there a pragma thingy I should use to disable it?

@nickfajones you need to run cargo fmt with nightly cargo and commit the changes.

Now that we have HTTP/3 support we don't need HTTP/1.1 anymore (we do still need HTTP/0.9 to interop with other implementations though), and I've removed the only remaining HTTP/1.1 support we had in 3b7f5427c1277e9634a298191f21c612b13abcee. Also see #29 .
This said, some of the changes in this PR are good and can probably be salvaged (e.g. the option parsing for the C examples), but that needs to go in a separate PR.
In any case thanks for looking at this.


Python 3 support

Is it planned?

We will look into what it takes to have a Python 3 package for DocumentDB.
Is there any specific reason/requirement you have for Python 3?

Not anything specific, we just don't use Python 2 anymore.

Thanks for the feedback. I'll update you in the next few weeks how that is going.

Hi, I wanted to see if there's any update on this? Thanks.

Yes, we are in final stages of verifying Python 3 support and will be releasing within a week or so.

@edevil @dy-wang We have released 2.0.0 release for Python SDK that has the support for Python3 along with Python2.


Onboarding Service Provider Application Implementation

Summary:
This feature involves creating a new product, the Onboarding Service Provider (OSP) Application, which will facilitate the registration services for OSPs. The implementation will require setting up a new repository that houses both the frontend and backend components of the application. Additionally, a Helm Chart will be created for deployment purposes.
Objectives:

To set up a new repository for the OSP Application
To develop a frontend application that utilizes the shared-component-library
To create a backend service that supports registration functionalities
To ensure the frontend has a standard integration with Keycloak for authentication
To allow easy switching to alternative Identity Providers (IdPs) for consumers
To provide a seeding file for data migration

Illustration (Architecture)

Acceptance Criteria:

Repository Setup:

A new Git repository is created with appropriate access controls.
The repository should include separate directories for frontend and backend code.

Frontend Application:

The frontend application must be developed using the shared-component-library for UI consistency.
It should have a standard configuration to integrate with Keycloak for user authentication.
The application must allow for easy configuration changes to connect to alternative IdPs.

Backend Service:

The backend service must provide APIs for registration services.
It should support CRUD operations for OSP data management.
The backend must be secure and scalable.

Helm Chart:

A Helm Chart must be created for the application deployment on Kubernetes.
The chart should include configurations for both frontend and backend services.

Authentication Flexibility:

The application's authentication mechanism must be designed to be flexible.
Documentation must be provided on how to switch between Keycloak and other IdPs.

Data Migration:

A seeding file must be created to facilitate initial data migration.
The seeding process must be documented and easily executable.

Non-Functional Requirements:

The application should be scalable to handle a growing number of OSPs.
Ensure high availability and fault tolerance of the service.
The application must follow best security practices, especially in handling authentication and user data.

Dependencies:

Access to the shared-component-library repository.
Availability of a Keycloak instance for authentication integration.
Availability of alternative IdP services for testing the flexibility of the authentication mechanism.

Risks:

Delays in the availability of the shared-component-library may impact frontend development.
Integration complexities with Keycloak or other IdPs may extend the timeline.

Documentation:

A README file in the repository detailing the setup and local development instructions.
An architectural diagram of the frontend and backend integration.
Arc42 documentation
A guide on how to switch the authentication services for the frontend.

Stakeholders:

Onboarding Service Providers
CSP-B's
CSP-A's

Was presented in the open planning ⇾ done internally within in the portal team, developer and committer are involved

As OSP, let us connect on this ticket.

Hello @jjeroch , @evegufy
Since the feature is a 24.08 feature and the development phase is coming to an end, we need a status on the feature.

[ ] Currently you are assigned (Responsible) → Is this correct? If not, please assign the correct contact person
[ ] Please check whether the status (backlog, work in progress ...) is set correctly
[ ] Please check whether there is an assignment to a committee or expert group (supported-by) to be found on the board
[ ] Please comment on the current status of the feature
[ ] Are all SubTasks (issues from other repositories that deal with the feature) linked? → The easiest way is to mention the feature here in the issue (via the ID) so we can see which teams/repositories are involved.

If you need any clarification, please get in touch, thank you very much.
Stephan

Roadmap issue linked. Start with 24.12.
Ownership does not change


[X509Certificate2]::new() crashes PowerShell when certain properties are referenced

Issue from @keystroke.
When a new X509Certificate2 object is created with the empty constructor, it succeeds. However, it is initialised with its Handle property set to IntPtr.Zero. So accessing certain properties on that object try to dereference that Handle and cause an access violation.
Steps to reproduce
$cert = [System.Security.Cryptography.X509Certificates.X509Certificate2]::new(); $cert.SendAsTrustedIssue

Expected behavior
Value is possibly $null or False.
Actual behavior
PowerShell crashes (the window disappears)
Further Information
Also try
[System.Security.Cryptography.X509Certificates.X509Certificate2]::new() | fl *

This crash reproduces back to Windows PowerShell 5.1.
The property accessed in the particular repro is a script property that triggers this method:
https://github.com/PowerShell/PowerShell/blob/8d4dd1e58f025ca576d38846b9adb5bdeeafd505/src/Microsoft.PowerShell.Security/security/CertificateProvider.cs#L2958-L2988
It seems that X509Certificate2 has a property called Handle which is set to IntPtr.Zero by default, causing the access violation.
Environment data

> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.1.0
PSEdition                      Core
GitCommitId                    6.1.0
OS                             Microsoft Windows 10.0.18242
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Does #7808 address the Issue?

I don't think so unfortunately. This occurs because C# code dereferences a null pointer. The X509Certificate2 wrapper code really needs an alternate code path in all its properties for when there's no underlying certificate (i.e. Handle is null) -- or perhaps they should lazily create one?

wrapper code really needs an alternate code path

I agree.

perhaps they should lazily create one?

Currently ETS is used - this is already "lazy".


Compare "Become a Sole Voter" Figma file with live site and old Design System

This is to compare the new file in Figma with the part of the old one
New file: https://www.figma.com/design/tPoI3fwLDCkr5HAydHxxUY/Become-a-Direct-Voter?node-id=1-28704&node-type=symbol&t=NJpiaouwnxQuNJOM-0
Old: https://www.figma.com/design/mJTBiUofLfb74Xc3W2U59o/Voltaire---GOV-TOOL?m=auto&node-id=7079-64632&t=8E2qfKwt0NOd0L8J-1

There is a missing bit of flow in the new file. The registration flow hasn't been included in the new file. Here it is in the old one: https://www.figma.com/design/mJTBiUofLfb74Xc3W2U59o/Voltaire---GOV-TOOL?m=auto&node-id=9420-172448&t=8E2qfKwt0NOd0L8J-1

Issue for fixing this: https://github.com/IntersectMBO/govtool/issues/2170

Found the flow, closing

Sorry, closed wrong issue. Reopening

The initial review of this file is now done. The work to be done is in the Figma comments. All assigned to Kasia

Closing this now. Will open issue for fixing  "Become a Sole Voter"


Dynamic Controls - Number validations on the Percentage column is working, but the value in the percentage column is not getting saved.

Category
[ ] Enhancement
[x] Bug
[ ] Question
Version
Please specify what version of the library you are using: [3.15.0 Beta version]
Expected / Desired Behavior / Question
Entering the value between 1 to 100 into percentage column should save the form.
Observed Behavior
The number validations are working like a charm, but if we are using a percentage column and trying to save the value to that column, it is not saving the values. Below is the screen for the validations

Steps to Reproduce

Add field Number and choose as 'Show as percentage'
Use this list in Dynamic form, with New Item, and give the value as 15 and click save

The form will not be saved.
Observations
The properties number field if chosen as 'Shown as percentage', the minimum and maximum values will be retrieved as below,

wherein, the properties of number field without choosing 'Show as percentage', the minimum and maximum values will be retrieved as below.

And at onSubmitClick, the validation for percentage column is failing due to the minimum and maximum values for the percentage column.

Thanks,
Nishkalank Bezawada

Following related merged PR, the fix will be available in beta release within a few minutes.


HDDS-4491. Deprecate raft.server.rpcslowness.timeout config key

What changes were proposed in this pull request?
Add old config key rpcslowness.timeout to handle deprecated configs
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-4491
How was this patch tested?
Added unit test.

Thank @adoroszlai for your suggestion, I will try to modify it correctly.

I have fixed checkstyle violations.Thanks @adoroszlai for your suggestion, it helped me a lot.

Thanks @wycccccc for the contribution.


Content style guide "Write in an official..." Voice checklist section is messy. Make a table?

https://drive.google.com/file/d/1x0asU72L_nTmPqAMgdFMXir2DS8eAoQA/view?usp=sharing

I will review this to see if we're using similar formatting to other tables on the site that are working.

It turns out I was missing one crucial fotmatting piece in markdown. I added it and the table now displays properly.


ERROR    TypeError: undefined is not an object (evaluating 'i.bool')

Steps to reproduce:

npm install react-caetgorized-tag-input
import TagInput from 'react-categorized-tag-input';

That's it. I get the error:  ERROR    TypeError: undefined is not an object (evaluating 'i.bool')
grepping 'i.bool' in source code of react-categorized-tag-input finds only on 'categorized-tag-input.js' at 3 places.
I am curious, if no other people faced it !!
My package.json
"react": "16.13.1",
"react-categorized-tag-input": "^2.1.2",
"react-native": "0.63.2",

Precise error log:
[Thu Oct 08 2020 06:40:08.302]  ERROR    TypeError: undefined is not an object (evaluating 'i.bool')
[Thu Oct 08 2020 06:40:08.303]  ERROR    Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)


Bug: AppMap View list not properly updated after appmap folder renamed

When you rename the folder with appmap files, the appmap indexing gets broken, appmaps show twice in the list but 1/2 of them cannot be open.
https://www.loom.com/share/37120c24fde241f68d82ac780c980e0b
VSCode Code-Insiders build, latest AppMap extension, macOS 11.4

I can't reproduce with installed AppMap extension v0.13.0 @ptrdvrk


Add support for supplying supported curves to TLSConfiguration

This PR adds the support to specify what ECs the handler supports when doing the handshake.
var config = TLSConfiguration.makeClientConfiguration()
config.curves = "X25519:prime256v1"

I am not quite certain what API to offer the user. Currently it is just a string like cipherSuites but without curveValues with strongly typed curves and NIOTLSCurve, since, from what I could tell, BoringSSL does not support getting the curves back out of the context after it has been set, therefore what would the getter of curveValues: [NIOTLSCurve] do? We could of course just parse the string and instantiate the NIOTLSCurve values ourselves.
Also, currently this field is optional, absent value indicates BoringSSL defaults. We could also define defaultCurves with the values from BoringSSL.
Feedback would be appreciated!

@Lukasa Definitely! Should we follow the same design as with NIOTLSCipher and also provide a string-based API config.curves = ""? or just provide with the strongly-typed?

@swift-server-bot add to allowlist


mapping of SQUID3 report output to ET-REDUX  report columns

I've reviewed the existing SQUID3 report output for ET-REDUX and compared it with available report categories and columns in ET-REDUX.  I have a few suggestions for re-mapping some of the columns (e.g. 207*/206* should be in the PbcCorr Isotopic Ratio category) as well as adding some new columns to existing categories (e.g. 204/206 and error added to isotopic ratios category).
Attached is a .xlsx file containing the SQUID3 report with suggested edits to mapping shown by grey columns with red lettering.  The proposed category is given at the top.
I'm also tentatively proposing another category "QA/QC parameters" to be included in the ET-REDUX report format.  The columns to be mapped to this category are shown in green.  My thinking is that if I am using ET-REDUX to visualize I want to be able to refer to these values to double check that my calibration is representative (e.g. UO/U is "normal", total Zr cps are "normal") before I start doing regressions etc.
927_1_2018_Oct_23_15.16_UnknownsBySampleReportTableForET_Redux.xlsx

We will need to chat on Skype about the details, but these are my concerns:

It seems that QA/QC should include ALL CPS as we have no guarantees as to which isotopes are included in an analysis
Should ALL Raw Nuclide Ratios be included in Composition/Measured Ratios Category for the same reason?

Customized reports addresses these issues.


Add Merge Layer Test Cases

KotlinDL is right now does not have Merge Layer test cases like Add, Concatenate,  Multiply and so on. I guess addition of test cases will be great. Also what do you think about refactoring and organising the layer test cases directory @zaleslaw?

Yes, a lot of tests are missed for many layers. It will be great to add them to the test suite

Hey @zaleslaw, would it be nice if I put Merge tests in one file as the ReshapeTest looks tidy but what are your thoughts?

Yes, put it into one file

Hey @zaleslaw , have a look at this test case, this is from tf official doc yet it fails, AFAIK the assertLayerOutputIsCorrect checks the content of the output as well and Average() should produce the same effect as given in the doc. Yet the test fails and when i tried to debug it it just returns the [x1,x2] as result.
@Test
    fun average(){
        val x1 = Array(2){FloatArray(2){1f} }
        val x2 = Array(2){FloatArray(2){0f} }
        val input = arrayOf(x1,x2)
        val expected = Array(2){FloatArray(2){0.5f} }
        assertLayerOutputIsCorrect(Average(), input,expected)
    }

Thanks for the note! Probably the Average layer could be implemented with bug (low probability) or you could find something else (high probability) what influence on the output

Hey @zaleslaw, I guess the bug is in LayerTest.kt. Since, Merge layer abstraction has a overloading of forward function, i guess we need overload this as well getLayerOutputOp() as it takes Array<*> which returns a Operand rather than List<Operand<Float>> I guess this can be the only reason for it. Otherwise the Average layer is implemented correctly.


tip.golang.org: issue links are a 404

If I go to https://tip.golang.org/doc/go1.24#cgo and click on the issue linked, it takes me to https://tip.golang.org/issue/67699, which is a 404.
Other links from "tip" pages, such as doc links (https://tip.golang.org/pkg/bytes#SplitSeq) seem to redirect and work OK.

Related Issues

x/website: short links should work on tip.golang.org #58484

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

Dangit, the bot is right again :)


"time to content" change for search page feels a bit misguided

It's now showing suggested follows at the top which never change and are completely irrelevant to my interests - it's not really helpful/interesting content. I have to scroll down multiple screens every time I want to check if anyone interesting shows up.
I'm not saying it should definitely be reverted, just that it's less useful now and maybe there's better solution to making it useful and performant at the same time.

I appreciate the feedback and don't disagree. This is just a temporary situation until the backend team can provide some new APIs. It will improve!


Use templated context arguments (instead of void *).

I read your code in the verilog-to-routing PR, and yeah, this is definitely better than the other method of state tracking.

I'm going to do another iteration that makes it easier to specify the template arguments, because the current strategy is fragile.


pull request for e2e test at 12/04/2016 00:45:04

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


docs: add noun rep svg

One bit of confusion left: it looks like pointers are always left-shifted by 3. So I suppose that means for an indirect atom, I should mark the 3rd bit as reserved instead of a pointer bit?

@drbeefsupreme Petition for either "light green" or "yellow" to be replaced by another colour - my feeble deuteranomalous vision can barely tell them apart.


Minimal example does not work

The minimal example on https://github.com/xiaoxinghu/orgajs/tree/master/examples/example
repro on node 10.6.0:
mkdir /tmp/orga-test
cd /tmp/orga-test
yarn add orga-unified oast-to-hast unified to-vfile vfile-reporter rehype-document rehype-stringify

cat > test.js <<EOF
var vfile = require('to-vfile')
var report = require('vfile-reporter')
var unified = require('unified')
var parse = require('orga-unified')
var mutate = require('oast-to-hast')
var stringify = require('rehype-stringify')
var doc = require('rehype-document')

unified()
  .use(parse)
  .use(mutate)
  .use(doc, {title: 'Hi!'})
  .use(stringify)
  .process(vfile.readSync('./README.org'), function (err, file) {
    console.error(report(err || file))
    console.log(String(file))
  })
EOF

cat > README.org <<EOF
* hello
  world
EOF

node test.js

results in
/tmp/orga-test/node_modules/oast-to-hast/lib/index.js:31
  var meta = tree.meta || {};
                  ^

TypeError: Cannot read property 'meta' of undefined
    at Function.toHAST (/tmp/orga-test/node_modules/oast-to-hast/lib/index.js:31:19)
    at freeze (/tmp/orga-test/node_modules/unified/index.js:123:28)
    at Function.process (/tmp/orga-test/node_modules/unified/index.js:360:5)
    at Object.<anonymous> (/tmp/orga-test/test.js:14:4)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)

Would you be able to provide some updated guidance on how to set up orga for a simple org-string to html conversion?
For context, I am playing around with https://github.com/xiaoxinghu/orgajs/blob/master/packages/orga/src/inline.js to address the performance in https://github.com/xiaoxinghu/orgajs/issues/6. I don't understand the unifiedjs toolchain so I am just trying to infer the structure from inline.js alone. By using a character based parser and bypassing the regex for markups we easily get a 5x speedup, which for large files is still not fast, but no longer prohibitive.
I think another problem with the regex matching is that syntax like /*italic-bold*/ and */bold-italic/* will not get matched, although both are valid org. A stack based parser should be able to handle these, but I'm not familiar with the testing setup here, so I am looking for a way to get the rendered html.
FWIW, the parser I am using looks like this now:
// inline.js

// after `markups` is defined
var inlineMarkups = {};
markups.forEach(function(nameMarker) {
  inlineMarkups[nameMarker.marker.replace('\\', '')] = nameMarker.name;
});

var StackParser = function(patterns) {
    var self = this;
    self.patterns = patterns;
    var ch, last_marker;
    self.parse = function(text) {

      if(Array.isArray(text)) {
        return text.reduce(function (all, node) {
          if (node.hasOwnProperty('type') && node.type != 'text') {
            return all.concat(node);
          }
          return all.concat(self.parse(node));
        }, []);
      }

      var string = text.value;
      var buffer = [];
      var stack = [];
      var nodes = [];
      for(var i=0; i<string.length; ++i) {
        ch = string[i];
        if(stack.length > 0) {
          last_marker = stack[stack.length-1];
        }
        if(ch == last_marker) {
          // end markup
          stack.pop();
          if(buffer.length > 0) {
            nodes.push(new _node2.default(patterns[ch], buffer.join('')));
            buffer = [];
            last_marker = null;
          }
        } else if(inlineMarkups[ch]) {
          // begin markup
          if(buffer.length > 0) {
            nodes.push(new _node2.default('text').with({ value: buffer.join('')}));
          }
          stack.push(ch);
          buffer = [];
        } else {
          buffer.push(ch);
        }
      }
      if(buffer.length > 0) {
        nodes.push(new _node2.default('text').with({ value: buffer.join('')}));
      }
      return nodes;
    };
  };

...

    for (var _iterator = markups[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
      var _ref = _step.value;
      var name = _ref.name;
      var marker = _ref.marker;
      // bypass the old parser
      break
      _loop(name, marker);
    }
    var inlineparser = new StackParser(inlineMarkups);
    text = inlineparser.parse(text);

I don't know if it emits the AST correctly. It works for trivial cases, but it breaks for example URLs (slashes become italics). Currently I am comparing the result of hast -> hiccup using an ad-hoc converter from a clojurescript environment, so the testing is tricky. FYI, my converter code is here, but the unified stuff is magic to me. That is why I'm trying the minimal example.

Got it to work. Here's the minimum working example:
const unified = require('unified')
const parse = require('orga-unified')
const mutate = require('orga-rehype')
const stringify = require('rehype-stringify')

let processor = unified()
  .use(parse)
  .use(mutate)
  .use(stringify);

let input = '* hello\nworld';
let output = processor.processSync(input);
console.log(String(output))

Thanks for the detailed info. The example project was old, I actually copied it over from unified.js documentation. But it was outdated. Just updated it with the latest example. Please look at the project examples/example. Or the doc here.


[Event Request] Codeunit 80 - "Sales Post" - CreatePrepaymentLines OnAfterGLAccGet

Hi AL-Team,
can you please add the following Publisher in function CreatePrepaymentLines?
local procedure CreatePrepaymentLines(SalesHeader: Record "Sales Header"; CompleteFunctionality: Boolean)
    var
        GLAcc: Record "G/L Account";
        TempSalesLine: Record "Sales Line" temporary;
        TempExtTextLine: Record "Extended Text Line" temporary;
        GenPostingSetup: Record "General Posting Setup";
        TempPrepmtSalesLine: Record "Sales Line" temporary;
        TransferExtText: Codeunit "Transfer Extended Text";
        NextLineNo: Integer;
        Fraction: Decimal;
        VATDifference: Decimal;
        TempLineFound: Boolean;
        PrepmtAmtToDeduct: Decimal;
        IsHandled: Boolean;
    begin
        IsHandled := false;
        OnBeforeCreatePrepaymentLines(SalesHeader, TempPrepmtSalesLine, CompleteFunctionality, IsHandled);
        if IsHandled then
            exit;

        GetGLSetup();
        with TempSalesLine do begin
            // Get Sales lines
            FillTempLines(SalesHeader, TempSalesLineGlobal);
            // Copy TempSalesLineGlobal to TempSalesLine
            ResetTempLines(TempSalesLine);

            if not FindLast then
                exit;

            NextLineNo := "Line No." + 10000;
            SetFilter(Quantity, '>0');
            SetFilter("Qty. to Invoice", '>0');
            TempPrepmtSalesLine.SetHasBeenShown;

            // Get all sales lines
            if FindSet() then begin
                if CompleteFunctionality and ("Document Type" = "Document Type"::Invoice) then
                    TestGetShipmentPPmtAmtToDeduct;
                repeat
                    if CompleteFunctionality then
                        if SalesHeader."Document Type" <> SalesHeader."Document Type"::Invoice then begin
                            if not SalesHeader.Ship and ("Qty. to Invoice" = Quantity - "Quantity Invoiced") then
                                if "Qty. Shipped Not Invoiced" < "Qty. to Invoice" then
                                    Validate("Qty. to Invoice", "Qty. Shipped Not Invoiced");
                            Fraction := ("Qty. to Invoice" + "Quantity Invoiced") / Quantity;

                            if "Prepayment %" <> 100 then
                                case true of
                                    ("Prepmt Amt to Deduct" <> 0) and
                                  ("Prepmt Amt to Deduct" > Round(Fraction * "Line Amount", Currency."Amount Rounding Precision")):
                                        FieldError(
                                          "Prepmt Amt to Deduct",
                                          StrSubstNo(CannotBeGreaterThanErr,
                                            Round(Fraction * "Line Amount", Currency."Amount Rounding Precision")));
                                    ("Prepmt. Amt. Inv." <> 0) and
                                  (Round((1 - Fraction) * "Line Amount", Currency."Amount Rounding Precision") <
                                   Round(
                                     Round(
                                       Round("Unit Price" * (Quantity - "Quantity Invoiced" - "Qty. to Invoice"),
                                         Currency."Amount Rounding Precision") *
                                       (1 - ("Line Discount %" / 100)), Currency."Amount Rounding Precision") *
                                     "Prepayment %" / 100, Currency."Amount Rounding Precision")):
                                        FieldError(
                                          "Prepmt Amt to Deduct",
                                          StrSubstNo(CannotBeSmallerThanErr,
                                            Round(
                                              "Prepmt. Amt. Inv." - "Prepmt Amt Deducted" - (1 - Fraction) * "Line Amount",
                                              Currency."Amount Rounding Precision")));
                                end;
                        end;
                    if "Prepmt Amt to Deduct" <> 0 then begin
                        if ("Gen. Bus. Posting Group" <> GenPostingSetup."Gen. Bus. Posting Group") or
                           ("Gen. Prod. Posting Group" <> GenPostingSetup."Gen. Prod. Posting Group")
                        then
                            GenPostingSetup.Get("Gen. Bus. Posting Group", "Gen. Prod. Posting Group");
                        GLAcc.Get(GenPostingSetup.GetSalesPrepmtAccount);
                        // NEW >>>>
                        OnAfterGLAccGet(GlAcc, GenPostingSetup);
                        // NEW <<<<
                        TempLineFound := false;
                        if SalesHeader."Compress Prepayment" then begin
                            TempPrepmtSalesLine.SetRange("No.", GLAcc."No.");
                            TempPrepmtSalesLine.SetRange("Dimension Set ID", "Dimension Set ID");
                            OnCreatePrepaymentLinesOnAfterTempPrepmtSalesLineSetFilters(TempPrepmtSalesLine);
                            TempLineFound := TempPrepmtSalesLine.FindFirst();
                        end;
                        if TempLineFound then begin
                            PrepmtAmtToDeduct :=
                              TempPrepmtSalesLine."Prepmt Amt to Deduct" +
                              InsertedPrepmtVATBaseToDeduct(
                                SalesHeader, TempSalesLine, TempPrepmtSalesLine."Line No.", TempPrepmtSalesLine."Unit Price");
                            VATDifference := TempPrepmtSalesLine."VAT Difference";
                            ....

// NEW >>>>
[IntegrationEvent(false, false)]
    local procedure OnAfterGLAccGet(var GLAcc: Record "G/L Account"; var GenPostingSetup: Record "General Posting Setup")
    begin
    end;
// NEW <<<<

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


Don't allow negative values for node_count

Description
Assuming the backend will eventually fix this, but we shouldn't allow users to select or submit negative numbers of Linodes when creating node pools.
Type of Change

Bug fix ('fix', 'repair', 'bug')

Closing in favor of #4958


CAMEL-20095 : add langchain component

Description

Target

[ ] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[ ] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[ ] I checked that each commit in the pull request has a meaningful subject line and body.

[ ] I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

@zbendhiba nice one! This is looking really cool

Thanks @lburgazzoli @orpiske @oscerd for the reviews.
I'm working right now on those, and on the remaining TODOs

@orpiske @aldettinger thanks again for the reviews. I pushed the changed and rebased from main

I don't know what the CI error is about

I don't know what the CI error is about

It's my fault. I gave you the wrong annotation. In the file LangchainChatIT (and others using the same annotation), the code should be:
@DisabledIfSystemProperty(named = "ci.env.name", matches = ".*", disabledReason = "Requires too much network resources")
Note the dot . before the star *.

thanks @orpiske

Ready to go.

yeah thanks everyone.


allow passing spkg.io from graph init

Pull the substream package from spkg.io

@saihaj can I pick this to work on next?

go for it @joshuanazareth97

@saihaj Notes on my understanding / the implementation I am planning:

As I understand it, there are 2 locations from which we could receive spkgPath: (1) flag (2) interactive prompt
The value received from either of these is passed into the same initSubgraphFromContract method, which then adds this to the manifest file under source
Currently, the file must exist in the path relative to the directory that graph init is called in

Approach:

Change the validation for the spkg file to also pass for the URL format above (spkg.io.../.../)
If we receive a URL, download the file into the current directory
In this case spkgPath becomes the name of the spkg file, since it is in the root of the current directory
Continue as before, passing spkgPath into the manifest, just like with local files

Bonus:

Potential UX improvement: If a URL is passed, we can further ask the user which directory they want to download the spkg file into, defaulting to the current dir. This would give more control to the user, but would require additional logic for creating non-existent folders etc.

Interested to know your thoughts around this approach.

Hey @saihaj, have implemented this using a slight variation of the approach above. have not yet implemented the bonus feature I mentioned, do let me know if there's anything you'd like me to change?

implemented in 0.93


Add convenience method for form content

Add a convenience method for responding with URL-encoded form content, such as a response from an OAuth token endpoint.

Codecov Report

Merging #32 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #32      +/-   ##
==========================================
+ Coverage   99.86%   99.86%   +<.01%
==========================================
  Files           8        8
  Lines         720      738      +18
  Branches       96       99       +3
==========================================
+ Hits          719      737      +18
  Partials        1        1

Impacted Files
Coverage Δ

...ClientInterception/HttpClientInterceptorOptions.cs
99.53% <ø> (ø)
:arrow_up:

...eption/HttpRequestInterceptionBuilderExtensions.cs
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


URL leads to 404 Error

https://emberjs.com/ember-collection/
Leads to a 404 error...

@Alonski hi, can you tell us where did you get linked from?

The solution is quite simple:

ember i ember-cli-deploy

ember i ember-cli-deploy-build

ember i ember-cli-deploy-ghpages

At the bottom of config/environment.js, find the if (environment === 'production') section and add ENV.rootURL = '/ember-collection';.

In the config/deploy.js generated during addon installation, add this:
ghpages : {
  gitRemoteUrl<EMAIL_ADDRESS>}

There's something causing a redirect to emberjs.com. If it's caused by the current GitHub Pages website, we're good. If by something else, the reason has to be found and eliminated.

Can you send a PR @lolmaus? I'm closing the issue as we fixed it by removing the link from the repository description :P


Type widening issue with .filter(Boolean)

Is this expected?
type A = {
  a: string
}

const as1: A[] = [
  { a: "1" },
  { a: "2", b: false },
         // ^ Type '{ a: string; b: false; }' is not assignable to type 'A'.
         //     Object literal may only specify known properties, and 'b' does not exist in type 'A'.
]

const as2: A[] = [
  { a: "1" },
  { a: "2", b: false }, // no error
].filter(Boolean)

TS Playground

Doesn't look like ts-reset is to blame here!

@mattpocock could you elaborate please?

Try it without ts-reset installed - same result.

But without ts-reset, the base .filter(Boolean) improvements also have same
result.... I'm asking why this could not also be improved? We can both see
it could do a better job here, right? Is this just not possible?
On Sun, Sep 3, 2023 at 1:01 AM Matt Pocock @.***> wrote:

Try it without ts-reset installed - same result.
—
Reply to this email directly, view it on GitHub
https://github.com/total-typescript/ts-reset/issues/163#issuecomment-1704042060,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA2VKAOWO27OE5O6LQYEA3XYQ2NZANCNFSM6AAAAAA3ZI44V4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Right - no, it isn't, because of the way that TS treats excess property checking.


folders_order element is not added/populated if output collection is to contain folders

When exporting a Postman collection containing folders in v1 format from the Postman UI, the exported JSON contains a folders_order property containing an array of folder UUIDs specifying their display order.
From this library, in the event that the Postman collection being generated will contains folders, this same folders_order element is not added or populated.  This creates problems if the output from swagger2-to-postman is fed into postman-collection-transformer downstream to convert up to v2, as the requests will be dropped from the output v2 collection file upon conversion.

Thanks @gdereese. Reviewing this.

@abhijitkane Assigning this to you.

@gdereese Can you share what Postman version you're using? Postman doesn't support the folders_order property yet.
Also, can you share output from swagger2-postman that you're feeding to the transformer?

I am using the Chrome extension version 4.10.7.
Attached is a Postman Collection v1 file generated by version 1.1.6 of swagger2-to-postman.
ctuit-postman-v1.json.txt
When exporting a v1 collection from the Postman Chrome extension of the above version, the JSON will include a folders_order element.


Moonrise

Is your request related to a problem? Please describe if so.
N/A
Describe the mod you'd like to add, remove, or change
General optimization mod for dedicated & integrated server.
https://modrinth.com/mod/moonrise-opt
It completely replaces the chunk system, and hence is incompatible with C2ME. It should perform better than it however.
List alternative mods or solutions you've considered
Keep things as is, but that leads to less efficiency.

lots of compatibility issues as of right now, but maybe in the future :)


Segmentation Fault while running demo

2018-07-06 09:39:07.632390: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA Loading model weights from data/demo_models/vgg16_fcn_color_single_frame_2d_pose_add_lov_iter_160000.ckpt data/demo_images/000004-color.png ./experiments/scripts/demo.sh: line 17:  3175 Segmentation fault      (core dumped) ./tools/demo.py --gpu 0 --network vgg16_convs --model data/demo_models/vgg16_fcn_color_single_frame_2d_pose_add_lov_iter_160000.ckpt --imdb lov_keyframe --cfg experiments/cfgs/lov_color_2d.yml --rig data/LOV/camera.json --cad data/LOV/models.txt --pose data/LOV/poses.txt --background data/cache/backgrounds.pkl
Hi, while running the demo it loads the network and starts with the first image and terminates with a segmentation fault as described above.
I am running it on:
32GB RAM
Nvidia GTX 1070
Ubuntu 16.04
CUDA 8.0
cudNN 7.05
Tensorflow 1.8
It was tested with multiple tensorflow versions from 1.4 to 1.8 with no success

Hi! I met the same error when I run the demo.sh, test.sh and the train.sh. I have no clue to solve it. Have you figured it out ？If you do, please let me know.

hough_voting_gpu_op.cc has a problem. In-Line 756-757 segmentation fault occurs because dx.size() and dy.size() can be zero some time. I added a simple if statement to check the condition it works fine now.


feat: nicely display CPU affinity when running benchmarks

Related to [FEATURE] Improve CPU pinning reporting #49
Previously, when getting information on which CPU the benchmark was running, the string was not intelligently created, leading to really long outputs on CPUs with a lot of cores. Now, we try to be a little smarter:

[0, 1, 2, 3, 4, 5] becomes "0-5"
[0, 4, 2, 3, 7, 8, 9] becomes "0, 2-4, 7-9"

It should improve output readability and general UX.

You could also present a real use case in your commit message.
Before the commit:
[randread_cmdline_0] fio/cmdline/cmdline(M):   6 stressor pinned on CPU [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127] for 600s
With the commit:
[randread_cmdline_0] fio/cmdline/cmdline(M):   6 stressor pinned on CPU [0-127] for 600s


Cherry-pick node selectors management test to 0.3

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Cherry-pick node selectors management test to 0.3.
Includes #890 and #885
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

/hold
for #905

/cc @alculquicondor


Upgrade Microsoft.Extensions.Logging to v1.1.0.

To be able to use the EventSource provider, the logging libraries have to be upgraded to 1.1.0.

Solved in commit 7a591b


Windows: chef-client service fails to start if registered by the chef-client cookbook

Hi, I've noticed the chef-client Windows service fails to start with this error:
"The service did not respond to the start or control request in a timely fashion."
The imagepath value for the service in the registry is:
"C:\opscode\chef\embedded\bin\ruby" "C:\opscode\chef\embedded\lib\ruby\gems\bin\chef-windows-service"  -c C:\chef\client.service.rb -L C:\chef\log\client.log
Running this directly in cmd.exe gives the following error:
C:\opscode\chef\embedded\bin\ruby: No such file or directory -- C:/opscode/chef/embedded/lib/ruby/gems/bin/chef-windows-service (LoadError)
This makes sense as there is no C:\opscode\chef\embedded\lib\ruby\gems\bin directory:
Directory of c:\opscode\chef\embedded\lib\ruby\gems

07/20/2015  05:13 PM    <DIR>          .
07/20/2015  05:13 PM    <DIR>          ..
07/20/2015  05:13 PM    <DIR>          2.0.0
               0 File(s)              0 bytes
               3 Dir(s)  10,968,707,072 bytes free

As a workaround I've installed the chef client including the Chef Service feature.  In that case the service is registered by the MSI installer, and the path is correct.  Unfortunately that seems to prevent management of the run interval through the chef-client cookbook.
The fact that it's referencing a directory that doesn't exist makes me think this has been broken by a recent version of the chef client.  Does anyone know of a version of the chef client where this problem doesn't occur?
Thanks!
Versions:
chef-client cookbook: 4.3.1
chef client: 12.4.1
OS: Windows Server 2012 R2, Windows Server 2008 R2

looking into it now

I can't repro with test-kitchen. The image path I get back is "C:\opscode\chef\embedded\bin\ruby" "C:\opscode\chef\bin\chef-windows-service"  -c C:\chef\client.service.rb -L C:\chef\log\client.log
How did you boostrap the machine?

Thanks for the quick response!
I use a powershell script to download and install the chef client and configure the chef server url:
# install chef client
$chefurl = "https://opscode-omnibus-packages.s3.amazonaws.com/windows/2008r2/x86_64/chef-client-12.4.1-1.msi"
$webclient = New-Object System.Net.WebClient
$tempfolder = "C:\temp"
if (!(Test-Path $tempfolder)) {mkdir $tempfolder}
$filepath = "$tempfolder\chef.msi"
$webclient.DownloadFile($chefurl,$filepath)
(Start-Process -Wait msiexec.exe -ArgumentList "/qn /i ""$tempfolder\chef.msi"" ADDLOCAL=""ChefClientFeature""" -PassThru).Exitcode

# fix trusted certs
$cacertsfile = "C:\opscode\chef\embedded\ssl\certs\cacert.pem"
copy-item $cacertsfile -Destination "$($cacertsfile).$(get-date -uformat %Y%m%d_%H%M)"
$rootCAurl = "https://s3-eu-west-1.amazonaws.com/<ourbucket>/gw01.local.rootca.pem"
"`nCHC Test and Development Root CA`n=================`n$($webclient.DownloadString($rootCAurl))" | out-file -Append $cacertsfile -Encoding ascii

# download latest org validator key
$validatorURL = "https://s3-eu-west-1.amazonaws.com/<ourbucket>/chc-validator.pem"
$webclient.DownloadFile($validatorURL,"c:\chef\validation.pem")

# populate temporary client.rb and run to configure chef-client as a service
@"
validation_client_name "chc-validator"
"@ | out-file C:\chef\client.rb -Encoding ascii
& "c:\opscode\chef\bin\chef-client.bat" -S "https://<ourserverurl>/organizations/chc" --once -o "role[runonce]" -E "gw01" -N "diccon_cheftest27"

I appreciate it's a bit convoluted.  I'll see if I can reproduce myself using a more straightforward process

seems reasonable. Perhaps add a resource to print the path right before calling into chef-client cookbook. You could also print out (Get-Command chef-service-manager).Path
Basically, I think the issue is that it's not using chef-service-manager from c:\opscode\chef\bin\chef-service-manager.bat, which could break things

I'm using a wrapper script so I can set the chef_server_url and configure the interval.
attributes/default.rb:
default['chef_client']['config']['chef_server_url'] = "https://ourchefserver/organizations/chc"
default['chef_client']['interval'] = 300
default['chef_client']['splay'] = 60

recipes/default.rb
include_recipe 'chef-client::config'
include_recipe 'chef-client'

What's the best way to dump out the path?
Thanks!

Something like
log 'path' do
  message { ENV['PATH'] }
end

Thanks! I couldn't find where the log resource was logging to, so I tried this instead:
New default.rb
ruby_block 'path1' do
  block do
    print ENV["PATH"]
  end
  action :run
end
include_recipe 'chef-client::config'
ruby_block 'path2' do
  block do
    print ENV["PATH"]
  end
  action :run
end
include_recipe 'chef-client'

Is that ok?
Output
PS C:\Users\Administrator> & "c:\opscode\chef\bin\chef-client.bat" -S "https://ourserver/organizations/chc" --once
 -o "chc_chef-client"
Starting Chef Client, version 12.4.1
resolving cookbooks for run list: ["chc_chef-client"]
Synchronizing Cookbooks:
  - chef-client
  - cron
  - chc_chef-client
  - logrotate
  - windows
  - chef_handler
Compiling Cookbooks...
Converging 15 resources
Recipe: chc_chef-client::default
  * ruby_block[path1] action run%SystemRoot%\system32\WindowsPowerShell\v1.0\;C:\Windows\system32;C:\Windows;C:\Windows\
System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\A
mazon\cfn-bootstrap\;C:/opscode/chef/embedded/bin;C:/opscode/chef/embedded/bin
    - execute the ruby block path1
Recipe: chef-client::config
  * directory[C:/chef/run] action create (up to date)
  * directory[C:/chef/cache] action create (up to date)
  * directory[C:/chef/backup] action create (up to date)
  * directory[C:/chef/log] action create (up to date)
  * directory[C:/chef] action create (up to date)
  * file[C:/chef/log/client.log] action create (up to date)
  * template[C:/chef/client.rb] action create (up to date)
  * directory[C:/chef/client.d] action create (up to date)
  * ruby_block[reload_client_config] action nothing (skipped due to action :nothing)
Recipe: chc_chef-client::default
  * ruby_block[path2] action run%SystemRoot%\system32\WindowsPowerShell\v1.0\;C:\Windows\system32;C:\Windows;C:\Windows\
System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\A
mazon\cfn-bootstrap\;C:/opscode/chef/embedded/bin;C:/opscode/chef/embedded/bin
    - execute the ruby block path2
Recipe: chef-client::windows_service
  * template[C:/chef/client.service.rb] action create (up to date)
  * execute[register-chef-service] action run (skipped due to not_if)
  * windows_service[chef-client] action enable (up to date)
  * windows_service[chef-client] action start

    ================================================================================
    Error executing action `start` on resource 'windows_service[chef-client]'
    ================================================================================

    SystemCallError
    ---------------
    The service did not respond to the start or control request in a timely fashion. - StartService: The service did not
 respond to the start or control request in a timely fashion.

    Resource Declaration:
    ---------------------
    # In C:/chef/cache/cookbooks/chef-client/recipes/windows_service.rb

     48: service 'chef-client' do
     49:   action [:enable, :start]
     50: end

    Compiled Resource:
    ------------------
    # Declared in C:/chef/cache/cookbooks/chef-client/recipes/windows_service.rb:48:in `from_file'

    windows_service("chef-client") do
      action [:enable, :start]
      supports {:restart=>false, :reload=>false, :status=>false}
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      service_name "chef-client"
      enabled true
      pattern "chef-client"
      startup_type :automatic
      declared_type :service
      cookbook_name "chef-client"
      recipe_name "windows_service"
    end

Running handlers:
Running handlers complete
Chef Client failed. 2 resources updated in 10.8264 seconds
PS C:\Users\Administrator>

So it looks like the path is incorrect:
%SystemRoot%\system32\WindowsPowerShell\v1.0\;C:\Windows\system32;C:\Windows;C:\Windows\
System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\A
mazon\cfn-bootstrap\;C:/opscode/chef/embedded/bin;C:/opscode/chef/embedded/bin

Somewhere in there, you need c:\opscode\chef\bin'. It needs to be before c:\opscode\chef\embedded\bin. I would suggeset after msiexec`ing, you add that to the path.

Great news, thanks!
PS C:\temp> $service = Get-WmiObject -Class Win32_Service -Filter "Name='chef-client'";$service.delete()

__GENUS          : 2
__CLASS          : __PARAMETERS
__SUPERCLASS     :
__DYNASTY        : __PARAMETERS
__RELPATH        :
__PROPERTY_COUNT : 1
__DERIVATION     : {}
__SERVER         :
__NAMESPACE      :
__PATH           :
ReturnValue      : 0
PSComputerName   :

PS C:\temp> get-service | ?{$_.name -match "chef"}
PS C:\temp> $ENV:PATH
%SystemRoot%\system32\WindowsPowerShell\v1.0\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System
32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Amazon\cfn-bootstrap\
PS C:\temp> $ENV:PATH = "c:\opscode\chef\bin;$($ENV:PATH)"
PS C:\temp> & "c:\opscode\chef\bin\chef-client.bat" -S "https://ourchef/organizations/chc" --once -o "chc_chef-c
lient"
Starting Chef Client, version 12.4.1
resolving cookbooks for run list: ["chc_chef-client"]
Synchronizing Cookbooks:
  - chc_chef-client
  - chef-client
  - cron
  - logrotate
  - windows
  - chef_handler
Compiling Cookbooks...
Converging 14 resources
Recipe: chc_chef-client::default
  * ruby_block[path1] action runc:\opscode\chef\bin;%SystemRoot%\system32\WindowsPowerShell\v1.0\;C:\Windows\system32;C:
\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0
\;C:\Program Files\Amazon\cfn-bootstrap\;C:/opscode/chef/embedded/bin;C:/opscode/chef/embedded/bin
    - execute the ruby block path1
Recipe: chef-client::config
  * directory[C:/chef/run] action create (up to date)
  * directory[C:/chef/cache] action create (up to date)
  * directory[C:/chef/backup] action create (up to date)
  * directory[C:/chef/log] action create (up to date)
  * directory[C:/chef] action create (up to date)
  * file[C:/chef/log/client.log] action create (up to date)
  * template[C:/chef/client.rb] action create (up to date)
  * directory[C:/chef/client.d] action create (up to date)
  * ruby_block[reload_client_config] action nothing (skipped due to action :nothing)
Recipe: chc_chef-client::default
  * ruby_block[path2] action runc:\opscode\chef\bin;%SystemRoot%\system32\WindowsPowerShell\v1.0\;C:\Windows\system32;C:
\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0
\;C:\Program Files\Amazon\cfn-bootstrap\;C:/opscode/chef/embedded/bin;C:/opscode/chef/embedded/bin
    - execute the ruby block path2
Recipe: chef-client::windows_service
  * template[C:/chef/client.service.rb] action create (up to date)
  * execute[register-chef-service] action run
    - execute chef-service-manager -a install -c C:/chef/client.service.rb -L C:/chef/log/client.log
  * windows_service[chef-client] action enable (up to date)
  * windows_service[chef-client] action start
    - start service windows_service[chef-client]

Running handlers:
Running handlers complete
Chef Client finished, 4/14 resources updated in 19.2192 seconds
PS C:\temp>

Do you think the incorrect path will cause wider problems?

Maybe. Test Kitchen and Knife set this up correctly, so it's mainly people doing their own thing that could run into these problems. That being said, we shouldn't allow people to run a program from a location that won't work. It's just confusing.
Created an issue in the Chef repo: https://github.com/chef/chef/issues/3688

Thanks very much for your help!
On 20 Jul 2015 21:27, "Jay Mundrawala"<EMAIL_ADDRESS>wrote:

Maybe. Test Kitchen and Knife set this up correctly, so it's mainly people
doing their own thing that could run into these problems. That being said,
we shouldn't allow people to run a program from a location that won't work.
It's just confusing.
Created an issue in the Chef repo: chef/chef#3688
https://github.com/chef/chef/issues/3688
—
Reply to this email directly or view it on GitHub
https://github.com/opscode-cookbooks/chef-client/issues/325#issuecomment-123023208
.


TypeError: Cannot destructure property 'update' of 'undefined' as it is undefined.

Please describe your problem in as much detail as possible:
I just did npm i and tried to start it and it threw that error at me... It worked like 2 days ago just fine, and it works just fine if I remove the update constructor thing from the files.

Further information:

DisTube version: 3.3.2
discord.js version: 13.6.0
Node.js version: 16.13.2
Operating system: Linux Ubuntu 20.04 AND Windows 10/11

It is like that by default, i recommend you to use the previous version of @distube/yt-dlp if you dont want to update everytime your bots restarts

actually, solution to this was just changing the plugin call from new YtDlpPlugin() to new YtDlpPlugin({ update: true })


Is there a way to opt out of copilot?

Description
I would like to adopt Detox 20.28.0 to resolve compatibility issues with iOS 18.1.
But my company's security team is opposed to anything related to AI assistants, such as copilot to exist, even as an unused dependency. Yeah..
Anyhow, is there a supported approach to opt out?
I can write a patch to accomplish this, but I'd prefer that the patch not be an impediment to adopting future Detox updates.
Thank you for your time, I appreciate all that your team does!
Your environment
Detox version: 20.28.0

Copilot is meaningless without your services connected to it, we do not send any network request or communicate with any AI assistant.

If you could elaborate more on what they're trying to avoid, it would be helpful. It's no different from the fact that IDEs can use LLMs if you connect them (the LLMs aren't exist here).

Copilot is meaningless without your services connected to it, we do not send any network request or communicate with any AI assistant.

Thank you! I will take this back to my security team. Apologies for the nuisance, but your response is very helpful


bash /scripts/short_term_forecast/M4/xxx.sh

Why do the following errors occur when the m4 script file is run:

Hi, this is the official code of TimeMixer, please transfer this issue to its official repo.
According to my experience, this is caused by the package version. Please see https://github.com/thuml/Time-Series-Library/issues/499


Version 1.14.2 from PYPI has worse 'import' lines

I used version 1.0.0 which had simple imports:
import ...
import ....

Now I got version 1.4.2 from PYPI and see it has changed imports like this:
_main = __import__("cssbeautifier", globals(), locals(), ["_main"])._main

This now does not work if I put the module to CudaText plugin:
Traceback (most recent call last):
......
  File "/home/user/.config/cudatext/py/cuda_fmt_css_format/cssbeautifier/__init__.py", line 30, in default_options
    _main = __import__("cssbeautifier", globals(), locals(), ["_main"])._main
ModuleNotFoundError: No module named 'cssbeautifier'
ERROR: Exception in CudaText for format: ModuleNotFoundError: No module named 'cssbeautifier'

Maybe you can change 'import' lines to usual ones? like this
from . import .....
from . import ...

Plugin code -- https://github.com/CudaText-addons/cuda_fmt_css_format

I assume you mean v1.14.2.  v1.4.2 is a long time ago.
Sorry for the inconvenience. PR #1830 (which fixed #1830) is where the change to the complex import statements was introduced.  It seemed to be required, but I'm not a Python expert.  If there is a better way to do this, I'm happy to look at PRs.
You're trying to use this inside https://github.com/CudaText-addons/cuda_fmt_css_format ?
Are you doing pip install cssbeautifier and then using the installed package?
Or are you trying to do something else, like copying the code into that directory?

I am trying to copy module folder to plugin directory. "complex imports" don't work there.

I am suggesting to try it on your end: change imports to relative imports.
from .nnnn import mmmmm
from . import nnn

this way is will work.

@Alexey-T
Note: cssbeautifier depends on jsbeautifier, so you might need to copy the contents of the python directory. That might fix the problem you're seeing.
This is change that will benefit you by simplifying updating your local copy of the project.  As I said, you're welcome to try fixing this and I'll be happy to look a PR. I'm sorry I can't do more, but I personally don't time to work this problem.


URL disambiguation/mapping to endpoints for Dispatcher

Implement URL to endpoint disambiguation algorithm.
cc @rynowak

@rynowak Should this be closed? Since we are not going forward with this work item

Yes, close please


lgtm integration

@sabeurthabti @ahmedre @sharabash
Wanted to get your thoughts on this:
https://lgtm.co

@mmahalwy +1 from me. Only issue it might become a blocker. Lets try it!

Okay, we can definitely give it a try :)

Check the new Reviews feature in GitHub now, it can be a great alternative

@abdelrahman-elkady yes! heard about it today!

i prefer github's over a third party tool, so i'd say we use those as well.


adding config property to needsPatch conditional

Would it be possible to document this too please?

Add details to readme.md under shim behaviour (instead of config) to deter new users from implementing the force option.

Sorry to be really annoying, but I've just realised that it makes a lot of sense to only sniff if your new flag isn't there:
var needsPatch = config.needsPatch == null
  ? !(dragDiv || evts) || /iPad|iPhone|iPod|Android/.test(navigator.userAgent)
  : Boolean(config.needsPatch);

Closing because this is also contained in the rewrite now released. https://www.npmjs.com/package/mobile-drag-drop


Convert ESRI Shapefile to WhosOnFirst SQLite

I am using Pelias for a long time and for this I am using the WhosOnFirst SQLite DB provided by https://geocode.earth. I observed that download page there are a lot of format in which the WhosOnFirst data is being provided. Shapefile is one of them. I have downloded the shapefile and saw its properties as well as the SQLite.
Now I need to use my own custom data for the WhosOnFirst SQLite DB. I have created all my required shapefiles absolutely similar to the shapefiles provided by the WhosOnFirst. Now I need to convert these shapefiles to SQLite. I think there is no tool to directly convert the shapefiles to SQLite. This should be done by creating GeoJSON. I have export all of my shapefiles to GeoJSON.
I want to know is the go-whosonfirst-exportify the right tool to convert GeoJSON files to SQLite which have the appropriate format to support in the Pelias?
An example command will be very helpful.
Thanks

Adding @missinglink to the thread.
I don't think that wof-exportify is the right place for this for two reasons:

It is slowly being superseded by the whosonfirst/wof-cli package so I am hesitant to add more functionality right now.
What really needs to happen is for a Pelias-Shapefile specific implementation of the whosonfirst/go-whosonfirst-iterate interfaces needs to be written.

The code in (2) would need to generate GeoJSON Feature data that could be consumed by the whosonfirst/go-whosonfirst-sqlite-features-index package, keeping in mind that the Shapefiles are abbreviated WOF data and won't contain all the data necessary to index all the SQLite tables.
I will add that to the "to do" list although I can't give you a realistic estimation of when I can get it done right now.

Hi @bdmapman, the shapefiles we provide were intended as a read-only view of the data, the intention was to make the data more accessible to desktop GIS software.
That said, we didn't consider the inverse operation.
However, it would be possible to go the other way to create sqlite/geojson from a shapefiles, this code doesn't exist today.
If you'd like a list of which shapefiles fields are mapped from which part of the geojson document, this file is what we're using: https://github.com/pelias/wof/blob/master/whosonfirst/view/shapefile.js


Issue/contact us

Related to issue:
https://github.com/yochannah/code-is-science/issues/42
TODO:

Update Pages in Journal

Desktop

Mobile

Looks like now there Journal page and other pages do not have similar Header.
Isn't it possible to make Journal page also import partial than having static html in all pages? Pages include:

add-journal.html
journal_table.html
mocks/add-journal.html

and so on...

you're right, it would be a lot more sane to have the journal pages import the headers and footers - one of the pages you listed there is a mockup so doesn't need to be altered at this point in time but the other would. I'll make a ticket for that :D

Your previews look great - just checking it out to confirm on my machine now

Tested and works nicely in ff and chrome! 👍

PS - email me your postal address if you'd like some stickers as thanks!


Add fallback queries to jobs

In node life-cycle of analysis, sometimes we need to run a specific query if the previous query has failed. Currently the job-query-runner stops immediately the job if one query fails for any reason. We need to implement a fallback in order to provide to the user the chance of run a query if something went wrong.
There are two kinds of fallbacks: onerror and onsuccess
Fallbacks are optionals, at job and query level.

cc @rochoa

Fixed in #302