[FEATURE]: With the gitRepoBranchBase in pipelines, matching mechanism is needed in the ACM part

Details
Is your feature request related to a problem? Please describe.

PR https://github.com/opendatahub-io/ai-edge/pull/135 by @LaVLaS introduced gitRepoBranchBase to the GitOps Pipeline to be able to file pull requests with updated container image information in non-default branches.
However, if those GitOps configuration changes end up in a repo in a non-default branch, the ACM Channel / Subscription configuration should be possible to use that same non-default branch.
Describe the use-case or expected workflow

A pull request is made by the GitOps PipelineRun to my git repo and branch prod which is not the default branch in my repo.
I merge that pull request to that branch prod.
I expect my ACM-deployed applications to deploy from prod.

However, the acm/registration/near-edge/overlays/*-app/kustomization.yaml currently do not show how to achieve that. The acm/registration/near-edge/base/near-edge.yaml contains
apps.open-cluster-management.io/git-branch: main

Describe alternatives you've considered

None.
Additional context

Do the instructions in the ACM section of DEVELOPMENT.md cover what you're looking for?
I had only considered that mechanism for development/testing setup, with an implicit expectation that if people forked the repo and wanted to use a different branch for some sort of production case, that they'd update the values that they needed. Do you think documentation would be a good solution to this?
I'd hope that as we start to figure out how to integrate things more into ODH, that we'd find a more intuitive way to configure things like this.

Do the instructions in the ACM section of DEVELOPMENT.md cover what you're looking for?

They don't really. Neither of the README.mds uses make, so suddenly using that instead of editing files and running oc does not fit into the demo/PoC concept of "I will follow the steps and hopefully understand what is being set up and done".
Furthermore, nowhere is there explained relationship of the test/ directory to the rest of the repository.

I had only considered that mechanism for development/testing setup, with an implicit expectation that if people forked the repo and wanted to use a different branch for some sort of production case, that they'd update the values that they needed. Do you think documentation would be a good solution to this?

We now have a way to file the PRs from the GitOps pipeline in a nonstandard branch. I have no idea how important it was to do that but the mechanism is there, it is documented in https://github.com/opendatahub-io/ai-edge/tree/main/pipelines#git-repository-and-credentials ... and if you modify the nonstandard branch in pipelines, chances are you want to consume those changes in the ACM part.
I'm looking for an end-to-end experience.
I don't really care how it's done. If https://github.com/opendatahub-io/ai-edge/issues/110 is addressed and all the steps in the README.mds get changed to use make, that is is general fine with me. (Even if as a demo / PoC repo, it adds a layer of indirection that a user or developer needs to untangle if they want to do something nonstandard.)
But I find it weird to use a mechanism that is not used anywhere for that second stage of moving to nonstandard branch. :-)


Update tinkerbell kubernetes types

The CSV to Kubernetes object conversions used old Hardware and baseboard management computer types. This updates them to use new types in preparation for introducing conversion code in the create cmd.
A subsequent PR will introduce logic for writing CSV entries to the catalogue so they can be marshalled and submitted to the cluster using existing mechanisms.
This PR has no functional changes

/approve

/lgtm


Word "Force" is used ambiguously, needs translation context

Godot version
v4.2.dev.custom_build [f5696c311]
System information
Godot v4.2.dev (f5696c311) - Arch Linux #1 SMP PREEMPT_DYNAMIC Sat, 23 Sep 2023 22:55:13 +0000 - X11 - GLES3 (Compatibility) - Mesa Intel(R) HD Graphics 2000 (SNB GT1) () - Intel(R) Core(TM) i5-2500S CPU @ 2.70GHz (4 Threads)
Issue description
While translating Godot, I noticed there is a string with an ambigious meaning in Godot Properties: "Force".
This string is used with two different meanings:

In editor/import/resource_importer_wav.cpp it is used to force certain WAV import settings in the WAV importer.
But in scene/2d/physics_body_2d.cpp and scene/3d/physics_body_3d.cpp, it is used to mean physical force, something entirely different.

This makes it impossible to translate in some languages. This also applies to v4.1 stable.
The string in Weblate: https://hosted.weblate.org/translate/godot-engine/godot-properties/de/?checksum=b2baabd9a1355710
Suggested fix: To fix this, I suggest to either make use of the Gettext context feature or by changing the string in one of the two contexts.
Steps to reproduce
First, let me show where you can find the string in Godot:
To find the string in the first meaning, go to Project Settings > Import default values, then select the Microsoft WAV importer from the drop-down list. Here you see the word "Force" as a header, meaning to force certain WAV import settings like 8-bit.
For the second meaning, add a RigidBody2D node, select it, and in the inspector go to "Constant Forces". In this section you can also find the word "Froce" (for constant_force), but to mean physical force.
Now try to translate it into German. Oops! It doesn't work. Forcing something translates to "erzwingen" while physical force translates to "Kraft". There is no way in German to work around this. You will probably bump into issues with other languages as well.
Minimal reproduction project
N/A

This can be solved by giving context to the translation. Although not sure if we support it for properties.

Yeah, another example is the word "Normal". It's used both for "Normal" vector of WorldBounaryShape2D and for "Normal" texture / theme item of UI elements. The former usage has a dedicated term in Chinese.
I'll try to make it possible to add context for properties.

If 3.x series is still getting translations, "Switch" has the same issue: "Switch" block for VisualScript, and switching action for animation frames.

Created a proof of concept PR #82852
Some details may need to be refined. Suggestions are welcome.

Strings with different context are different entries (also different from a version without any context). They won't propagate to each other.
Propagation between different Weblate components is not related to this issue.

Strings with different context are different entries (also different from a version without any context). They won't propagate to each other.
Propagation between different Weblate components is not related to this issue.

Thanks, that is nice to hear then.
One more question though: should this be done separately every time we find one such string? or do your edits apply a general formulae?

I think this should be done on a case-to-case basis. It doesn't seem to happen often.

I tried naive approach and gave up after checking 200 for the moment :) there are 602 single words in editor, and 773 in properties (single words are the most possible places). I leave finding such words in my language to my next run for proof-reading my translations.
thanks for the "force" and "normal"

I wonder. Could the description of the Editor Settings themselves be used as translation context? I am aware they come from the documentation's XMLs, but could it be doable...?

Property names don't come from documentation XMLs. They are extracted from C++ source code like this one:
https://github.com/godotengine/godot/blob/6916349697a4339216469e9bf5899b983d78db07/scene/main/canvas_item.cpp#L1220
Using descriptions as contexts will have some problems:

Every name will have a context, but most of the names don't need one. It bloats translation file.
Context are expected to be a word or a short sentence. It breaks common editing UI like Poedit and Weblate :P
Similar names can't be reused because their descriptions are likely different.

Context are expected to be a word or a short sentence. It breaks common editing UI like Poedit and Weblate :P

I worked with both Poedit and Weblate and both support context. Why do you think using context "breaks" these softwares? o_O
I agree that using a description as context is overkill tho; I agree that it is not needed to add a context for everything to fix this issue.

I don't know what happens to the UI of Gettext and Weblate if the context is very long but if it breaks, that's a bug in the software. But I still agree that context should be normally be kept short. Thanks for clarification; I was confused.

Previously there was a functionality that ensured that all translations in different Weblate projects are treated the same, so changing a string translation in "Docs" would automatically adapt the translation of the same string in "Editor". Thankfully this has been switched off. So the issue for this particular example can be resolved.
However, more generally, the problem persists that a string within the same project could have different contexts.

Note to self (and everyone who translates): Fix the translation once this ticket is merged.


New runes, new challenges

Hi Gabriel! I'm not sure if you've had a chance to take a look at runes after the most recent update, but it looks like Nexon has added some additional anti-bot measures; the arrows no longer have circles around them, and have had some an additional layer of obfuscation/noise randomly added above the arrows. Do you have any ideas on how to locate the arrows better without the circles?
I've attempted to re-train several models with the new runes, and even though I'm able to generate a model with a val_accuracy of ~85%, it's only able to identify around ~25% of arrows properly. I'e attached two cropped, but unprocessed screenshots of the new runes. Any ideas and/or would be greatly appreciated!

Hi there, Daniel! Yes, I've seen the new updates. Quoting a few lines from the README:

The second issue, on the other hand, is trickier. First, there is software capable of bypassing the anti-botting system internally. Second, recent advancements in AI technology have been closing the gap between humans and machines. Even though it is simple to patch the game visuals and prevent this project from functioning, it is just as easy to make it work again.

And that is precisely the case here. There are actually many feasible approaches to both locate and classify the arrows now. Some of them include filtering pixels by color, filtering contours by area, analyzing contour shape, and template matching. Alternatively, you could go full machine learning and create models to both locate and classify the arrows on the screen, as I mentioned in the README.
Unfortunately, I don't have any plans to update this repository, so that's something you and others will have to try by yourselves.

Got it, thanks Gabriel! You've given me some excellent avenues to explore, so I'll be taking a look into what you've suggested. Your reply and your help is greatly appreciated!


extracting topic of the layer

Can you please explain about this project?
where can I find the code related to extracting topics from the layers in the LSTM?

Hi,
This project tries to combine topic embedding with other embeddings (word2vec, glove,...) in hierarchical LSTM network. It does not support extracting topics from LSTM layers.


Const Enum can not be use as index?

const enum enum1 {
    A, B, C
}

type T1 = {
    [enum1.A]: string,
    [enum1.B]: string,
    [enum1.C]: string,
    [3]: string,
    [4]: string
}

type T2 = Readonly<T1>;

function f(p1: T1, p2: T2) {
    p1[enum1.A];
    p2[enum1.A];   //Error

    p1[3];
    p2[3];
}

To expedite the triage process, we need everyone to follow the issue template and instructions.
When you clicked "Create New Issue", the issue form was pre-populated with a template and some instructions. We need you to read those instructions completely, follow them, and then fill in all the fields in that template.
We are not able to assist with issues that don't follow the template instructions as they represent a significantly larger amount of work compared to issues which are correctly specified. Thank you for understanding.


Add Images to the README file

Is your feature request related to a problem? Please describe.
Add Images to the README file so that it explains the process of contributing to git and github
Describe the solution you'd like
Screenshots that help explain the process

Hey @rcallaby ,
Can you assign me this issue ?


Wheels get a dependency of the system libstdc++ and libgcc

This should be statically compiled using -static-libgcc and -static-libstdc++ (if using gcc)

Upstream: https://github.com/google-coral/pycoral/issues/85

This is now fixed with patches to the build script in the workflow. Could try to upstream patches.


Get Started with the Command-Line Interface for SAP Cloud Platform (sapcp CLI)

Tutorial URL: https://developers.sap.com/tutorials/cp-sapcp-getstarted.html
Step 7: Understand the command syntax: options
Question: “Enter one of the two possible command calls to get help on sapcp list accounts/subaccount.”
Issue: I do not see the answer options, it's coming up as white space, hence cannot mark this step as done.

Hi @guptaviren ,
there are no options to select. You are asked to "Enter one of two..." which means you have to write one of these into the provided textfield and the press "Submit Answer".
Regards,
René

Hi @guptaviren ,
René is right. You need to enter one of these:
sapcp list accounts/subaccount --help
or
sapcp --help list accounts/subaccount
Kind regards,
Anna

Thank you. didn't realise the answer could be a subjective one :D

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


Enhancements

This pull request does the following:

Updates the markdown example page
adds an /archives page
enables the /search page
updates the main site config a bit

.deploy


JRuby XSLT failure

Using XSLT to write JSON, my program either hangs or gives an inscrutable error message. The same XML/XSLT processes fine with xsltproc and with MRI.
I created this short program to demonstrate the problem:
#!/usr/bin/env ruby -w
require 'nokogiri'

doc = Nokogiri::XML('<g>Greetings</g>')
xslt = Nokogiri::XSLT(<<-STYLESHEET
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="text" omit-xml-declaration="yes"/>
  </xsl:stylesheet>
  STYLESHEET
  )
puts xslt.transform(doc)

The result is
RuntimeError: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
  transform at nokogiri/XsltStylesheet.java:231
     <main> at exe/test.rb:11

When I run a similar transformation using a larger XML and XSLT, the program hangs indefinitely. For that, the XML and XSLT are attached and the the program is
#!/usr/bin/env ruby -w
require 'nokogiri'

doc = Nokogiri::HTML('toc2json.html')
xslt = Nokogiri::XSLT('toc2json.xsl')
File.open('toc2json.json', 'w') do |file|
  file.write xslt.transform(doc)
end

toc2json.zip

What version of Nokogiri are you using?
First example works fine with Nokogiri 1.8.2 but it shows "" header in result.
Second example is wrong and you need to use File not a filename:
doc = Nokogiri::HTML( 	File.open('toc2json.html') 	) xslt = Nokogiri::XSLT( 	File.open('toc2json.xsl') 	)
Everything is fine except "" header in output.1750

Can you please tell us the output from nokogiri -v?

Thanks to @ar7max for pointing out my last example had a syntax error. Here is the version that actually shows the error:
#!/usr/bin/env ruby -w
require 'nokogiri'

doc = Nokogiri::HTML( File.open('toc2json.html') )
xslt = Nokogiri::XSLT( File.open('toc2json.xsl') )
puts xslt.transform(doc)

Here is the output from JRuby <IP_ADDRESS> with Nokogiri 1.8.2 as -v'd above:
$ ./toc2json.rb
Unhandled Java exception: java.lang.NullPointerException
java.lang.NullPointerException: null
  retryXsltTransformation at nokogiri/XsltStylesheet.java:263
                transform at nokogiri/XsltStylesheet.java:218
                     call at nokogiri/XsltStylesheet$INVOKER$i$0$2$transform.gen:-1
                     call at org/jruby/internal/runtime/methods/JavaMethod.java:796
                     call at org/jruby/internal/runtime/methods/DynamicMethod.java:202
             cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:318
                     call at org/jruby/runtime/callsite/CachingCallSite.java:155
  invokeOther10:transform at $_dot_/./toc2json.rb:16
                   <main> at ./toc2json.rb:16
      invokeWithArguments at java/lang/invoke/MethodHandle.java:627
                     load at org/jruby/ir/Compiler.java:94
                runScript at org/jruby/Ruby.java:830
              runNormally at org/jruby/Ruby.java:749
              runNormally at org/jruby/Ruby.java:767
              runFromMain at org/jruby/Ruby.java:580
            doRunFromMain at org/jruby/Main.java:417
              internalRun at org/jruby/Main.java:305
                      run at org/jruby/Main.java:232
                     main at org/jruby/Main.java:204

Running the same script with MRI (Ruby 2.5.1, nokogiri 1.8.2) returns JSON, but wrong JSON with an XML declaration as described in Issue #1750.
The files are attached in i1751.zip

I know Java Nokogiri uses NekoHTML and Xerces. I'm currently working around this reported Nokogiri issue by interacting directly with those same Java libraries. I like and prefer the Nokogiri API, but for now, this is my work-around. For anyone interested, a stripped-down version of the work-around is attached at i1751_workaround.zip
Would love to resolve the issue and contribute a pull request, but currently don't know enough about wrapping Java libraries with JRuby to do so.

I commented on this in #1750, and I can't imagine the two issues aren't related.

Running latest Nokogiri (v1.16.6), the error I'm seeing is:
#! /usr/bin/env ruby

require "bundler/inline"

gemfile do
  source "https://rubygems.org"
  gem "nokogiri", "~> 1.16.0"
end

pp Nokogiri::VERSION_INFO

doc = Nokogiri::HTML(File.read(File.join(__dir__, 'toc2json', 'toc2json.html')))
xslt = Nokogiri::XSLT(File.read(File.join(__dir__, 'toc2json', 'toc2json.xsl')))
puts xslt.serialize(xslt.transform(doc))

RuntimeError: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
  transform at nokogiri/XsltStylesheet.java:218
     <main> at ./issues/1751-jruby-xslt/1751-jruby-xslt.rb:14


Update README

Update shadingCheck to rallyShadingCheck, because shadingCheck does not work.

sbt:lib-rx-ingest> shadingCheck
[error] Not a valid command: shadingCheck
[error] Not a valid project ID: shadingCheck
[error] Expected ':'
[error] Not a valid key: shadingCheck (similar: rallyShadingCheck, rallyShadingCheckFiles)
[error] shadingCheck
[error]             ^

Made README prettier.

Let me know if you don't like the README formatting. I can only update  shadingCheck -> rallyShadingCheck part.

My goodness. Sorry I missed notifications on this! And thanks for fixing the docs!
We could probably remove the rally references altogether if this to be a real OSS thing beyond just publishing the sources.


fix: custom volume mounts not applied to containers and init containers

Description
Fixes the problem that customVolumeMounts are not added to the ScanJob's Pod template.
Related issues
Checklist

[ ] I've read the guidelines for contributing to this repository.
[ ] I've added tests that prove my fix is effective or that my feature works.
[ ] I've updated the documentation with the relevant information (if needed).
[ ] I've added usage information (if the PR introduces new options)
[ ] I've included a "before" and "after" example to the description (if the PR is a user interface change).

I am not a golang expert and am struggling how to add a test for the change.


Game packaging

Hi, if I use panda3d-krender as a render pipeline for my game, how can I package the game into an EXE file ?

Hi. You can try the current way of building Panda3D apps - https://docs.panda3d.org/1.10/python/distribution/building-binaries
I haven't tried it yet.
Currently I'm working on a lot of stuff for krender, when I finish I'll try to make a demo prepared for building.


Add deprecation warning for v3 images

Work item: https://msazure.visualstudio.com/Antares/_workitems/edit/25774564/

Releasing new Host versions.
V3 Release
V2 Release

Adds the following deprecation message to the startup script for v3 images:
**WARNING**: You are using an outdated version of the Azure Functions runtime:
https://learn.microsoft.com/en-us/azure/azure-functions/migrate-version-3-version-4
====================================================================================

PR information

[ x] The title of the PR is clear and informative.
[ x] There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x ] If applicable, the PR references the bug/issue that it fixes in the description.
[ x] New Unit tests were added for the changes made and CI is passing.

why do we need the start_deprecate.sh in each of the language folder? it looks like same script to me? May be we can keep only single copy of it?

why do we need the start_deprecate.sh in each of the language folder? it looks like same script to me? May be we can keep only single copy of it?

Single copy of this file would require us to refactor the build pipelines to handle the changed context. Out of scope for v3 images totally.


The exported PDF file is missing content

Hello, the theme you developed is very beautiful, especially its double-column layout! Thank you very much for your work!
Unfortunately, when I tried to export a PDF file under your theme, I found that a lot of content was missing in the file.
Specifically, only all the first-level headings and the content under the first first-level heading are retained, and all the content under the other first-level headings are lost.
Do you know the cause of this problem? How can I export the PDF file correctly?

Fixed here


API  - Edit Event in an Account Endpoint

Goal: Implement an API endpoint to edit an event in salesforce
Background: We need an endpoint that can be used to edit an already created event for an account in salesforce.
Tasks:

[ ] Add open api specification
[ ] Implement sequence diagram
[ ] Write test cases for the new endpoint.
[ ] Implement the code as per the sequence diagram.
[ ] Include the endpoint in the postman collection.
[ ] Handle possible errors such as invalid input or server errors.

This task is related to user story:

TrueSparrowSystems/AI-SalesBridge-iOS-App#12


Echo receives incorrect HP when duplicating winston

Goes to 522 HP thanks to the added health pool script, omitting this line makes primal rage have incorrect HP.

Fixed by ecksdee's latest PR


Modify loop unwinding and general cleanup in Makefile.common

This pull request removes conditional invocations of goto-instrument.  The command goto-instrument is idempotent when called with no flags (it just copies the file), so checking whether a flag is set before calling goto-instrument is unnecessary and complicates the makefile.common.
This pull request also modifies when loop unwinding is done.  It moves all loop unwinding of loops specified by UNWINDSET back to the invocations of cbmc (no more early invocation of goto-instrument to do it), but it does introduce a new EARLY_UNWINDSET to support selective loop unwinding for the purpose of function and loop contract checking.
This pull request also cleans up some comments in makefile.common and advances the release to 2.2.
These changes have been checked against all starter kit proofs in github.  The differences found were

removal of most (but not all) of the 'unknown loop identifier' warnings that resulted from giving loop unwinding instructions to both goto-instrument and cbmc
removal of a 'conflicting initializers' warning in derive_data_key
off-by-one differences in coverage reports due to the fact that a do statement is no longer considered by cbmc to be contributing goto instructions
many instances of a line considered "both" hit and missed are now considered just "hit" (unrolling causes a single line of code to contribute to many basic blocks, some unreachable if the loop is unwound an extra iteration by goto-instrument)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This should close issue https://github.com/model-checking/cbmc-starter-kit/issues/88


fix redirect for /request/new location + externalize MODEL_ID_LENGTH …

…magic number
@cianclarke WDYT?

@lfryc Sorry, only spotted this now! A P/R into my fork - I hadn't expected that, hehe

This is out of date, already address on master


Update shared.mdx, update broken neovim link

Your link on /uses is broken, I updated that.
Thanks

@Atabic ty ty ty :heart:


Documentation for AuthConfigs/RegistryConfigs

Is there documentation on on how to pass in Auth/RegistryConfig information for libcompose to pull from private repository locations?

This would be handy for me as well.a

This says it is in a closed milestone but I'm not sure where the documentation and the issue is still open.  :(

To give you an idea of how troublesome this has been.
package command

import (
	"context"
	"fmt"

	"github.com/urfave/cli"

	"github.com/docker/libcompose/docker/auth"
	"github.com/docker/libcompose/docker"
	"github.com/docker/libcompose/docker/ctx"
	"github.com/docker/libcompose/project"
	"github.com/docker/libcompose/project/options"
)

// UpCmd the command responsible for starting services
func UpCmd(c *cli.Context) {

	dctx := &ctx.Context{
		Context: project.Context{
			ComposeFiles: []string{"docker-compose.yml"},
			ProjectName:  "maestro",
		},
	}
	dctx.AuthLookup = auth.NewConfigLookup(dctx.ConfigFile)

	project, err := docker.NewProject(
		dctx,
	nil)

	dump, err := project.Config()
	fmt.Println(dump)
	fmt.Println("HAS AUTH: ", dctx.ConfigFile.ContainsAuth())
	fmt.Println("DUMP AUTH: ", dctx.ConfigFile.AuthConfigs)

	if err != nil {
		panic(err)
	}

	err = project.Up(context.Background(), options.Up{})

	if err != nil {
		panic(err)
	}
}

HAS AUTH:  true
DUMP AUTH:  map[myreg.com:{me **supersecret**   myreg.com  }]
INFO[0000] [0/6] [some.service]: Starting
Pulling some.service (myreg.com/some/service:latest)...
ERRO[0001] Failed to pull image myreg.com/some/service:latest: Error response from daemon: Get https://myreg.com/v2/some/service/manifests/latest: unknown: Authentication is required

goroutine 1 [running]:
github.com/AudaxHealthInc/maestro/command.UpCmd(0xc4203e12c0)
	/Users/vitocutten/code/go/src/github.com/AudaxHealthInc/maestro/command/up.go:60 +0x2e3
github.com/urfave/cli.HandleAction(0x14b6540, 0x15a4cb8, 0xc4203e12c0, 0xc42031b800, 0x0)
	/Users/vitocutten/code/go/src/github.com/urfave/cli/app.go:487 +0x7c
github.com/urfave/cli.Command.Run(0x1582e7f, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1598bd6, 0x32, 0x0, ...)
	/Users/vitocutten/code/go/src/github.com/urfave/cli/command.go:207 +0xb72
github.com/urfave/cli.(*App).Run(0xc4200b4820, 0xc42000c380, 0x2, 0x2, 0x0, 0x0)
	/Users/vitocutten/code/go/src/github.com/urfave/cli/app.go:250 +0x7d0
main.main()
	/Users/vitocutten/code/go/src/github.com/AudaxHealthInc/maestro/maestro.go:23 +0x1ac

In case anyone else runs into this issue here is the way I solved it.
package command

import (
	"context"

	"github.com/urfave/cli"

	"github.com/docker/libcompose/docker"
	"github.com/docker/libcompose/docker/auth"
	"github.com/docker/libcompose/docker/ctx"
	"github.com/docker/libcompose/project"
)

// PullCmd the command responsible for pulling services
func PullCmd(c *cli.Context) {

	dctx := &ctx.Context{
		Context: project.Context{
			ComposeFiles: []string{"docker-compose.yml"},
			ProjectName:  "maestro",
		},
	}
	dctx.LookupConfig()
	dctx.AuthLookup = auth.NewConfigLookup(dctx.ConfigFile)
	project, err := docker.NewProject(
		dctx,
		nil)

	if err != nil {
		panic(err)
	}

	err = project.Pull(context.Background())

	if err != nil {
		panic(err)
	}
}

Thanks @vito-c!

@vito-c, would you like me to PR this into the docs?

@vdemeester would you like me to put this in the example dir?

@vito-c definitely 👼 🙏 😸

@vdemeester I've been trying to test this with the new docker that cam out and have been failing pretty hard when the ~/.docker/config.json file is of the format:
{
	"auths": {
		"foobar.com": {},
		"something.org": {}
	},
	"credsStore": "osxkeychain"
}

It works fine when the format is:
{
	"auths": {
		"foobar.com": {"auth":"*****"},
		"something.org": {"auth":"*****"}
	}
}

As far as I can tell the current vendor version of docker you are using for libcompose doesn't support  credentials via osxkeychain because it doesn't have /Users/vitocutten/code/go/src/github.com/docker/docker/cli/config/credentials/default_store_darwin.go


Embed CSV table -> ValueError: I/O operation on closed file

Great tool!
Trying to embed a CSV table in a Markdown file (table{'path': 'data/data.csv'}), I get:
ValueError: I/O operation on closed file

I'm using Python 3.7.3 on macOS.
Wrapping csv.DictReader(data) in a list() here seemed to work.
See: https://stackoverflow.com/questions/55203713/python-valueerror-i-o-operation-on-closed-file-when-returning-a-dict-from-a-di

This should be fixed in v0.4.1.


Fixed grammer mistakes

NOTE: Please read the CONTRIBUTING.md guidelines before submitting your patch,
and ensure you followed them all:
https://github.com/Kong/kong/blob/master/CONTRIBUTING.md#contributing
Summary
SUMMARY_GOES_HERE
Full changelog

[Implement ...]
[Add related tests]
...

Issues resolved
Fix #XXX

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

The current grammar seems better than the proposed patch (both aren't ideal imho). Other suggestions would be considered, but I'll be closing this PR since the subject (said "load") isn't very previously mentioned in the text, so the sentence doesn't read any better.
Thanks!


TODO

dynamic name space of ports
non_db attribute of input ports
spec.exit_code and error handling as much as I know

spec.exit_code and error handling as much as I know-> v0.7.3+

copy remote data to remote directory to run

Get a file list in the remote folder. The list is obtained by

g_alm_suggest_future.outputs.remote_folder.listdir()

The type of remote_folder is RemoteData, which is one of the outputs of Parser.

Make an absolute path on the remote computer.

remotefilepath = os.path.join(g_alm_suggest_future.outputs.remote_folder.get_remote_path(), '_scheduler-stderr.txt')

where  '_scheduler-stderr.txt' is in the remote_folder.

Add them to the calcinfo.remote_copy_list. The format of the list is

calc_info.remote_copy_list[(self.inputs.parent_folder.computer.uuid, remotefilepath, restart_folder)]

The restart_folder is usually '.'.
ref. `Remote copy list' on AiiDa Topics.

spec.input(...,non_db=True)でエラーが起きる．


Roll Engine from 4494a8374249 to 8ec9b3a16217 (1 revision)

https://github.com/flutter/engine/compare/4494a8374249...8ec9b3a16217
2020-10-15<EMAIL_ADDRESS>Update more class names from GrContext to GrDirectContext (flutter/engine#21864)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


Cannot get it to connect to LivePremier Simulator

Unlike the other Companion module for LivePremier, I am unable to get this one to connect to the simulator session that I have open to test buttons and flows.

It seems that is a problem on your side. I can connect without problems to the simulator (all versions).
Do you use the correct IP and port number?

I’ve used <IP_ADDRESS>:10606 and <IP_ADDRESS>:10606, the latter of which is the one that is auto populated when the connection is added.
On Sep 27, 2024 at 6:17 PM -0500, Dorian Meid @.***>, wrote:

Closed #24 as not planned.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

try 3000 instead of 10606

I’ve done that as well with no luck. Happens on both PC and Mac.
On Sep 28, 2024 at 2:23 AM -0500, Phill Power @.***>, wrote:

try 3000 instead of 10606
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Can you successfully connect to WebRCS with a browser from the machine where Companion is running on? If yes, use the same URL that you use in the browser. Including the protocol, the ip or hostname and the port.
That is also written in the help page.

Updating to the most recent companion fixed the issue.  I was 1 version behind.
On Sep 28, 2024 at 6:18 AM -0500, Dorian Meid @.***>, wrote:

Can you successfully connect to WebRCS with a browser from the machine where Companion is running on? If yes, use the same URL that you use in the browser. Including the protocol, the ip or hostname and the port.
That is also written in the help page.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Convert ApiDoc to module

Convert ApiDoc (src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdoc) to module (this is a good first issue)

cc @Bolo89 : do you want to do this part, as you did the 1st version?

@pascalgrimaud Yes, you can assign me all ticket linked to my dev


Modified label(previously "labels") and added selectors

Modified list_replication_controller_label() and added list_replication_controller_selector()

Lint report for commit c6ba96d4bcb548b7020403535b1e17d51560829c:
mgmtsystem/kubernetes.py:

:heavy_exclamation_mark: Line 140:1: W293 blank line contains whitespace

Please, rectify these issues :smirk: .
No commit flaws detected.
CFME QE Bot

Lint report for commit 672e8cc4f16a8e3de5d9f88b5ee0f3a8462e3adc:
mgmtsystem/kubernetes.py:

:heavy_exclamation_mark: Line 140:1: W293 blank line contains whitespace

Please, rectify these issues :smirk: .
No commit flaws detected.
CFME QE Bot

Lint report for commit ffd66c8a9ade1e5d12a632940e33538fe69c1000:
mgmtsystem/kubernetes.py:

:heavy_exclamation_mark: Line 140:1: W293 blank line contains whitespace

Please, rectify these issues :smirk: .
No commit flaws detected.
CFME QE Bot

Lint report for commit 65f6dd1324251cd4bbe7ba4a927c5e73a6fc9f99:
Lint OK! :cake: :punch: :cookie: .

65f6dd1324251cd4bbe7ba4a927c5e73a6fc9f99

Commit author is root (did you create your git identity?)
Commit author email starts with root
Commit author email is wrong (ends with .csb)

The PR might not be acceptable in this state :rage4:.
CFME QE Bot


Jupyter Notebook: pictures from up directories are not shown

Expected/actual behavior
I work with Jupyter Notebook in VS Code and insert picture in Markdown field.
If picture is in the same folder as .ipynb file or directory down - everything is working fine. But pictures from up directories are not shown.
Browser version of Jupyter Notebook works fine. And if I run python script in VSC and try to open file from up directories it's working too.
Is it a bug?
I changed paths & slashes, terminal paths, notebook (Python > Data Science) settings, swithed between conda and "usual" python and it doesn't help.

Steps to cause the bug to occur
For example I have project in D:/Project folder. Notebook is inside "./scriptFolder" and I'm inserting several images. Pics from notebook folder and directories down are shown, other not. With tree it looks like this:
Project
|----dataFolder
|    |----data.txt
|    |----vsData.jpg (this pic is not shown)
|----scriptFolder
|    |----pic
|    |    |----vsDown.jpg (this pic is shown)
|    |----jNotebook.ipynb (our notebook)
|    |----vs.jpg (this pic is also shown)
|----vsUp.jpg (this pic is not shown)

I run this scripts:
# %% [markdown]
 (shown)
 (shown)
 (not shown)
 (not shown)

# %%
f = open("./../dataFolder/data.txt","r")
print(f.read())

GIF version

Jupyter and/or Python environment

Jupyter server running: Local
Extension version: Python 2020.3.71659
VS Code version: 1.44
Python/Anaconda version: 3.7.6(+3.8.2)/2020.02
OS: Windows
Virtual environment: N/A

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

Yes unfortunately this is a side effect of the security model that VS code has for webview editors. Under the covers this is happening:

We may be able to add all directories in the workspace to the list of allowed folders, but that might not be practical.

Right now we allow the directory where the notebook has run from (and all subdirectories as these don't need to be explicit)

Yes unfortunately this is a side effect of the security model that VS code has for webview editors.

Oh, I was thinking that problem is somewhere in ipython & compability. Thanks for explanation.

We may be able to add all directories in the workspace to the list of allowed folders, but that might not be practical.

Well, I agree that going several directories up and then down isn't the most exquisite way, but the data comes in this form to avoid duplicated files.
Since you can add different directories to workplace, it could be a good balance between capabilities & security. Or you'll need to rewrite the "security" kernel, which will take a huge amount of time?

As I understand it, there's no such way as enable-disable this security model, right?

As I understand it, there's no such way as enable-disable this security model, right?

No this is baked into VS code. It prevents unknown javascript from reading from disk.

Well, no big deal then, I guess I'll use a browser for final version and make a script for correcting paths for now. Maybe you'll have light schedule and will think about it later. Thanks!

We're just about to fix it. Should be in the next week or so (or sooner if you want the insider's build of our extension)

Wow, thanks a lot! You're doing a great job!

Validated. Should be in our released bits.


Which USB cable was it tested with?

Hi, having a bit of a problem with my version I wonder what kind of USB connection this was tested with?
If I use a USB A to USB C cable I get power on the board. ( but no connection )
If I use a USB C to USB C cable I do not get power to the board. ( and no connection of course )
It seems I got the wrong USB C connector on my board, they look all the same, but there are minor differences, so I will look into that to see if it really has a connection even though it looks like that.

This is the connector I used: https://lcsc.com/product-detail/USB-Connectors_Korean-Hroparts-Elec-TYPE-C-31-M-12_C165948.html
Which one did you use?

This one, as I thought it was faster to ship from the US/Mouser ( Don't, the ESPRESSIF Modules are for US only and can't be exported to Europe for some paperwork... so I got those from a friend. ). USB - Unfortunately the front metal pins are wider than the original and there is no drawing in the datasheet to tell. https://www.jae.com/direct/topics/topics_file_download/?topics_id=91781&ext_no=04&_lang=en&v=2020041313411436908609

Sorry, back to the question - as I experience problems with a pure USB C to USB C cable. Did you try it with that and the board got power? That only happens with my USB C to USB A cable.

I've just gone through and tested with a USB-C to USB-C macbook pro cable and it powered on and worked from both the charger, and uploaded code fine from the macbook. Did you end up having any luck?

Great news! Even though I could not get it to work :-/
I cut a USB A mouse-cable and soldered it directly to the ESP32 side of things and then it worked and could be flashed etc. I could not get the USB C to even deliver power to it so something was not right from my HP and Acer laptops. I did not spend more time with it, as it might have been my soldering, my a bit modified board layout, wrong component rotation or the USB C board connector which I thought were standardized but I ended up with the wrong one ( a bit too long metal case legs, and there are no measurments for that in the datasheets, really strange ). I ended up doing your older micro-USB design and will mount it tomorrow. If I get more time I might try to mount an extra USB-C board as I have now got some better soldering equipment as well and know that it should work :-)


chore(styled-components): Upgrade to styled-components 6

The type of this PR is: Chore
Description
This upgrades styled-components from 5 -> 6. See breaking changes here.
Was relatively painless once some typescript issues were resolved and v5 props forwarding behavior was preserved. See the shouldForwardProps docs here.
cc @artsy/diamond-devs

Merging this to get things to staging / integrity.


Menu Renovation - Part 1: Easy pickings

Split out from #858
Fixes the first point of #818
Fixes #469
Fixes #321
Fixes #314
Fixes #219

I think the CI failure is unrelated to my screwups. "Publish JUnit file" fails with the error "Service unavailable".

Thanks for splitting this out, @glennsl !

I think the CI failure is unrelated to my screwups. "Publish JUnit file" fails with the error "Service unavailable".

Indeed - I re-ran and its looking good now!
I was trying this PR out, with the new scrollbar - I was getting a runtime exception:
Fatal error: exception Invalid_argument("List.init")

It's unfortunately easy to hit on Windows - we should try and find a fix for it prior to this going in:


App\User

is there any reason why App\User is not configurable , instead of forcing user to follow a structure ?

Not really. I've thought about having flexibility over users model some times but haven't included it in my tasks list yet. There may be some different ways to achieve that, like the following:

Include a publishable file "App\PanicHDMember" or similar. Make PanicHD..\Member.php extend that published file. The published file extends App\User by default.
Make table name inside PanicHD..\Member.php a variable that comes from configuration settings with , for example, Setting::grab('member_table')

Do you think is there any better alternative to have this functionality?

Thats awesome ! , ... i would check it out


Team Meeting - 2024-11-18 - 2:30pm - 4:30 pm

Attendance

[x] Rafey
[x] Russell
[x] Avanish
[x] Abdul

Agenda

Talk about module guide
Talk about splitting up the various parts of the project
Talk about how to implement the database

Data storage requirements:

Object database (stores AR object attributes)
Object instance database (objects mapped to locations irl)
User Profile database (stores user profile data)
User Sub-realms (maps users to sub-realms)
User Friends (maps users to users)
Storage for model data, profile pictures, etc. (do we want binaries in database or references to files?)

Action Items:

[ ] Write 5 likely and unlikely changes per person in module guide


Autofill the changelog

Autofill the changelog with release notes

K, looks like I've got this automated now, so I should be able to update the remaining repos relatively easily.


Execution interrupt (ctrl-C)

'provide a way to interrupt execution (as if you pressed Ctrl-C)'
Plans

Figure out how map the process to the client so we can cancel an ongoing process.

Depending on #64, we may not need this.

Close by doing #64


When will release a new package?

I found builder pattern and extension NAME can't be used in newest package 0.37.3+1.3.251

When the final necessary breaking changes have made it in to combat inconsistencies and errors brought up in #727; this might take a while though. You can always use a git reference for the time being :)


Harvest thumbnails using IIIF Manifest APIs

Our current thumbnail harvesting code will harvest from IIIF Image APIs.  It would be nice to enhance this to also harvest from IIIF Presentation (Manifest) APIs.  Since Manifests are often multipart, we should just harvest the first image listed.

Indiana - No IIIF Manifests (that I know of)
Illinois - IIIF Manifests have thumbnail entries
ex. https://digital.library.illinois.edu/items/a07f9c70-994e-0134-2096-0050569601ca-8/manifest
Iowa - No IIIF Manifests (that I know of)
Maryland - No IIIF Manifests (that I know of)
Michigan - IIIF Manifests have thumbnail entries
ex. https://quod.lib.umich.edu/cgi/i/image/api/search/clark1ic:003287878
Michigan State -
ex. https://d.lib.msu.edu/maps/1084/manifest
Minnesota
ex. https://cdm16022.contentdm.oclc.org/iiif/info/p16022coll205/265/manifest.json
Nebraska -
ex. https://mediacommons.unl.edu/luna/servlet/iiif/m/RUMSEY~8~1~317895~90086920/manifest
Northwestern -
ex. https://api.dc.library.northwestern.edu/api/v2/works/183249d3-aff6-40d5-b445-8f70addedcc3?as=iiif
Ohio State - IIIF Manifests do not have thumbnail entries
ex. https://library.osu.edu/dc/concern/generic_works/9k41zr126/manifest
Penn State -
ex. https://digital.libraries.psu.edu/iiif/2/maps1:30183/manifest.json
Rutgers - No IIIF Manifests (that I know of)

It looks like Maryland might have manifests. Inspecting the page for this record, I found:
Image: https://iiif.lib.umd.edu/images/fedora2:umd:82080/info.json
Presentation: https://iiif.lib.umd.edu/manifests/fedora2:umd:82079/manifest

Nice find! You can leave the Image API values in there. IIIF Manifests are prioritized over IIIF API.

Initial iiif_manifest viewer and images service thumbnail code is running on GeoProd now.


Not working with R 3.4.0

Maybe others already found out, RTVS+VS2015 is not working with latest R3.4.0, there is a exception in R.dll.

DllInfo *dll = R_getEmbeddingDllInfo();

May need #3386. @karthiknadig ?

		CharacterMode = LinkDLL;
		setup_Rmainloop();
		CharacterMode = RGui;

		DllInfo *dll = R_getEmbeddingDllInfo();

I seems that R_getEmbeddingDllInfo must be called after setup_Rmainloop since the latter calls InitDynload which allocates LoadedDll via initLoadedDLL

This brings up another question, when I have both R3.4 and R3.3 installed, how can I choose a version? If I know correctly,  in Python tools, you can choose between Python 2 or Python 3.

To choose between Rs use the R Tools | Workspaces window
On Sun, Apr 23, 2017 at 7:31 AM cg31<EMAIL_ADDRESS>wrote:

This brings up another question, when I have both R3.4 and R3.3 installed,
how can I choose a version? If I know correctly, in Python tools, you can
choose between Python 2 or Python 3.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/RTVS/issues/3441#issuecomment-296447302,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtUVDzENggaumxpwGr18U08I-m6ao5Kks5ry2CkgaJpZM4NFRcn
.

Will be publishing update soon

Needs more work. Plotting API has changed.

Unfortunately, the _DevDesc struct in GraphicsDevice.h, which we redefine in RGraphicsapi.h, now has a new field added to it around the middle of the struct:
    Rboolean canGenIdle;      /* can the device generate idle events */

We're going to have to define both versions, and dynamically pick the right one at runtime.

We might need to revisit the decision to use R headers directly. If we're going to be defining different versions of structs for different R versions, we'll have to curate our own header again.
Alternatively, we can build a separate host binary for every R version with a different API.

@int19h I had made the build "RHost by R version" suggestion, for the future.

Works now. Will appear in RTVS 1.1 and VS 2017 next preview.


Bug - "workbench.tree.indent" does not seem to work?

I've tried to increase the indent of the file selector tree, but workbench.tree.indent doesn't seem to work.
I've tried to set this value to 12, but nothing changes.

Ouch, thanks for logging this! I missed bring this configuration back over as part of some refactoring - working on bringing it back in #3307 👍

All good now, thanks!


Error: Some specified paths were not resolved, unable to cache dependencies.

Description:
Unable to cache dependencies even though my package-lock file path is correct.
File structure:
Repository: Design-LLC/GlyphEditor
folders:

ui

GlyphEditor

package-lock.json

Action version:
Specify the action version
Platform:

[X ] Ubuntu
[ ] macOS
[ ] Windows

Runner type:

[ X] Hosted
[ ] Self-hosted

Tools version:
npm
Repro steps:
steps:
- name: Checkout repo
uses: actions/checkout@v3
  - uses: actions/setup-node@v3
    with:
      node-version: ${{ env.NODE_VERSION }}
      cache: 'npm'
      cache-dependency-path: '${{github.repository}}/ui/glypheditor/package-lock.json'
  - run: |
      npm ci
      npm run build --if-present
      #npm run test --if-present

Here is log information:
2023-04-25T11:54:31.0792644Z From https://github.com/Design-LLC/GlyphEditor
2023-04-25T11:54:31.0793404Z  * [new ref]         fae484da7fe9dce4baa3f521a90ea5e0ad7734f6 -> origin/develop
2023-04-25T11:54:31.0814643Z ##[endgroup]
2023-04-25T11:54:31.0815257Z ##[group]Determining the checkout info
2023-04-25T11:54:31.0816749Z ##[endgroup]
2023-04-25T11:54:31.0817344Z ##[group]Checking out the ref
2023-04-25T11:54:31.0821696Z [command]/usr/bin/git checkout --progress --force -B develop refs/remotes/origin/develop
2023-04-25T11:54:31.1017671Z Switched to a new branch 'develop'
2023-04-25T11:54:31.1018453Z branch 'develop' set up to track 'origin/develop'.
2023-04-25T11:54:31.1023813Z ##[endgroup]
2023-04-25T11:54:31.1061629Z [command]/usr/bin/git log -1 --format='%H'
2023-04-25T11:54:31.1088118Z 'fae484da7fe9dce4baa3f521a90ea5e0ad7734f6'
2023-04-25T11:54:31.1442532Z ##[group]Run actions/setup-node@v3
2023-04-25T11:54:31.1442782Z with:
2023-04-25T11:54:31.1442966Z   node-version: 18.x
2023-04-25T11:54:31.1443171Z   cache: npm
2023-04-25T11:54:31.1443523Z   cache-dependency-path: Design-LLC/GlyphEditor/ui/glypheditor/package-lock.json
2023-04-25T11:54:31.1443866Z   always-auth: false
2023-04-25T11:54:31.1444082Z   check-latest: false
2023-04-25T11:54:31.1444455Z   token: ***
2023-04-25T11:54:31.1444625Z env:
2023-04-25T11:54:31.1444829Z   AZURE_WEBAPP_NAME: glypheditor
2023-04-25T11:54:31.1445252Z   AZURE_WEBAPP_PACKAGE_PATH: /ui
2023-04-25T11:54:31.1445465Z   NODE_VERSION: 18.x
2023-04-25T11:54:31.1445675Z   BRANCH_NAME: develop
2023-04-25T11:54:31.1445892Z   BUILD_CONFIGURATION: Debug
2023-04-25T11:54:31.1446107Z   VERSION_SUFFIX: develop
2023-04-25T11:54:31.1446310Z   SLOT: staging
2023-04-25T11:54:31.1446497Z ##[endgroup]
2023-04-25T11:54:31.3761571Z Found in cache @ /opt/hostedtoolcache/node/18.16.0/x64
2023-04-25T11:54:31.3774598Z ##[group]Environment details
2023-04-25T11:54:36.9601061Z node: v18.16.0
2023-04-25T11:54:36.9601817Z npm: 9.5.1
2023-04-25T11:54:36.9602586Z yarn: 1.22.19
2023-04-25T11:54:36.9603396Z ##[endgroup]
2023-04-25T11:54:36.9612295Z [command]/opt/hostedtoolcache/node/18.16.0/x64/bin/npm config get cache
2023-04-25T11:54:37.3366216Z /home/runner/.npm
2023-04-25T11:54:37.3544383Z ##[error]Some specified paths were not resolved, unable to cache dependencies.
2023-04-25T11:54:37.3639409Z Post job cleanup.
2023-04-25T11:54:37.4678412Z [command]/usr/bin/git version
2023-04-25T11:54:37.4725342Z git version 2.40.0
Expected behavior:
to cache the dependency
Actual behavior:
##[error]Some specified paths were not resolved, unable to cache dependencies.
Also this works using Windows- latest but NOT UBUNTU-LATEST
- name: Set up Node.js
uses<EMAIL_ADDRESS>with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
cache-dependency-path: 'ui/${{env.AZURE_WEBAPP_NAME}}'

Hello @varndellwagglebee. Thank you for your report. We'll take a look on it.

Hello, @varndellwagglebee! Thank you for creating this issue. I would like to let you know that we did manage to find a working solution for it. Namely, in your YML configuration, we suggest replacing cache-dependency-path: '${{github.repository}}/ui/glypheditor/package-lock.json' with cache-dependency-path: 'ui/glypheditor/package-lock.json' and later on switching to the directory where your package-lock is using the simple cd ui/glypheditor command in the run block.
However, this goes without saying that if you notice anything else or if another problem arises, please don't hesitate to create a new issue and let us know about it. Alternatively, if all is well, you can let us know in the replies as well. We appreciate your input! :)

Still no luck and I did confirm that the package-lock.json is there.
  - name: Set up Node.js
    uses<EMAIL_ADDRESS>    with:
       node-version: 18
       cache: 'npm'
       cache-dependency-path: 'ui/glypheditor/package-lock.json'
  - run: |
       npm ci
       npm run build --if-present
       #npm run test --if-present

Hello, @varndellwagglebee ! Thank you for your follow-up!
After a few tries at reproducing the issue with the provided repro steps, we weren't able to do so accurately with the current data and would like to ask you to please provide us with a little bit more context. Since your repository is likely private, we cannot access it, so it would be great if you could create a minimal test repository (preferably with similar directory structure) with your action workflow included. That way, we can take a closer look and, possibly, spot the culprit of the bug in your configuration.
We appreciate your time and cooperation :)

Hello, @varndellwagglebee ! I'm just giving you a little ping to see if there are any updates on your end - was your issue resolved? Thank you in advance for your answer :)

I restructured my project so that it could find the path.  Thanks for following up

I'm glad that fixed your problem :) I will close this issue, since it has been resolved, but feel free to reach out and open a new one in case of any future problems or questions regarding our software. Thank you!


Runtime changes with assemblies compiled against mixed Framework versions

In the Runtime changes section, I read that if:

the entry assembly is compiled for .NET Framework 4.0
the installed runtime is .NET Framework 4.5

then the code will run in .NET Framework 4.0 compatibility mode.
Please clarify what would happen if the entry assembly loads an assembly compiled for .NET Framework 4.5.
Would it run in compatibility mode too?

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

ID: 4ee6a407-16fe-6537-e587-99908c9a8248
Version Independent ID: 920fcce6-df42-ff50-dae2-cd7110a8a2f3
Content: Application Compatibility in the .NET Framework
Content Source: docs/framework/migration-guide/application-compatibility.md
Service: unspecified
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

@twsouthwick can you help address this question?

If the entry assembly is compiled against .NET Framework 4.0,  compatibility mode is set to .NET Framework 4.0 and is applied to all assemblies. Thus, if it loads an assembly compiled against 4.5, then it will also get the 4.0 compatibility mode.

Thanks for the clarification!
Maybe the "Runtime changes" section could be updated too. Something like "The compatibility mode applies to all loaded assemblies, even those compiled against a different .NET Framework version" a the end of the chapter?

Can you take a look at the PR I submitted and let me know if that clarifies it? If you still think your sentence would be helpful, can you point to where it would be best?

Now it's clear, thanks! 👍


Add compression to monthly means

This PR addresses:

Handle multiple years in one go, following the agreed directory structure
An option to save files with compression (using Zarr instead of netCDF), which saves both disk space and write time. This is specially relevant for CPCIR data, as the required disk space can be reduced by a factor of ~2.5, that is, going from 10.5 TB of CPCIR-CCIC monthly means to 'only' 4.2 TB.

While working in this PR I learnt and solved the following issues:

Problem: Encapsulating memory-intensive operations in a function with variables not existing outside the function does not guarantee that the memory is free'd after its completion. I encountered this when running the monthly means for many months (was getting OOMs after a few iterations).
Solution: call the function with a multiprocessing.Process or similar. Commit d46ce29b3ecf757c895a5972e850d94327b39908
Source: https://stackoverflow.com/a/1316799
Problem: unreasonable write times when using netCDF with encoding using a compression algorithm (up to almost 2 hours).
Solution: The 'default' (as in the .to_netcdf example) encoding can be inefficient. Using the Zarr file format (with or without compression!) can save both disk space and write times.
Source: I went a bit far and started to benchmark the different xarray encoding options with either netCDF or Zarr formats. See the image below. There is still something that puzzles me, so I asked a question in SO to find an answer: how can a Zarr without encoding consume less space than its actual data?.

It seems that in the last few days pyarts in PyPI was 'yanked'. Without bb9efe4c44d170cba233e3f3ce83f6876e4a545c the tests fail.

The main reason is that I completely missed to make the connection to the CCIC codecs since I was working in parallel to find good lossless compression methods for zarr files.
I will come back with an update, I now tried an interactive test with a particular file and the file size is reduced about 70% (!) when using the CCIC codecs at the expense of not being lossless, but it should be OK since these are averages whose main purpose is to be derived overall statistics again.

@simonpf, now the update using the CCIC encodings.
I find it a wonder the disk space saved when using the CCIC encodings! The CPCIR monthly mean file, 38 GB, previously reduced to about 16 GB, is now reduced to about 3.4 GB. Almost a 90% reduction factor with minimal loss. We already checked it once, but I checked a monthly mean sample here.


Unclear Build Errors

I have been working on a project using phenomic and suddenly I started receiving the errors listed below when running phenomic build. However phenomic start still works perfectly?
✔ Error
    at NormalModule.<anonymous> (/Users/user1/code/project1/front-end/node_modules/webpack-core/lib/NormalModuleMixin.js:79:21)
    at lint (/Users/user1/code/project1/front-end/node_modules/eslint-loader/index.js:113:9)
    at Object.module.exports (/Users/user1/code/project1/front-end/node_modules/eslint-loader/index.js:181:3)
    at WEBPACK_CORE_LOADER_EXECUTION (/Users/user1/code/project1/front-end/node_modules/webpack-core/lib/NormalModuleMixin.js:155:71)
    at runSyncOrAsync (/Users/user1/code/project1/front-end/node_modules/webpack-core/lib/NormalModuleMixin.js:155:93)
    at nextLoader (/Users/user1/code/project1/front-end/node_modules/webpack-core/lib/NormalModuleMixin.js:290:3)
    at /Users/user1/code/project1/front-end/node_modules/webpack-core/lib/NormalModuleMixin.js:259:5
    at Storage.finished (/Users/user1/code/project1/front-end/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:38:16)
    at /Users/user1/code/project1/front-end/node_modules/graceful-fs/graceful-fs.js:78:16
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:416:3) +5.53s

✔ Error
    at /Users/user1/code/project1/front-end/node_modules/webpack/lib/Compilation.js:229:38
    at onDoneResolving (/Users/user1/code/project1/front-end/node_modules/webpack/lib/NormalModuleFactory.js:29:20)
    at /Users/user1/code/project1/front-end/node_modules/webpack/lib/NormalModuleFactory.js:85:20
    at /Users/user1/code/project1/front-end/node_modules/async/lib/async.js:726:13
    at /Users/user1/code/project1/front-end/node_modules/async/lib/async.js:52:16
    at done (/Users/user1/code/project1/front-end/node_modules/async/lib/async.js:241:17)
    at /Users/user1/code/project1/front-end/node_modules/async/lib/async.js:44:16
    at /Users/user1/code/project1/front-end/node_modules/async/lib/async.js:723:17
    at /Users/user1/code/project1/front-end/node_modules/async/lib/async.js:167:37
    at /Users/user1/code/project1/front-end/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:24:19
    at onResolved (/Users/user1/code/project1/front-end/node_modules/enhanced-resolve/lib/Resolver.js:38:18)
    at /Users/user1/code/project1/front-end/node_modules/enhanced-resolve/lib/Resolver.js:127:10
    at /Users/user1/code/project1/front-end/node_modules/enhanced-resolve/lib/Resolver.js:191:15
    at applyPluginsParallelBailResult.createInnerCallback.log (/Users/user1/code/project1/front-end/node_modules/enhanced-resolve/lib/Resolver.js:110:4)
    at loggingCallbackWrapper (/Users/user1/code/project1/front-end/node_modules/enhanced-resolve/lib/createInnerCallback.js:21:19)
    at /Users/user1/code/project1/front-end/node_modules/tapable/lib/Tapable.js:134:6

Any Guidance on how to solve or even debug these errors would be greatly appreciated.

Looks like Phenomic swallows this error. Could you tell me node and npm/yarn version? OS version?

Sure thing,
Yarn - v0.20.0
Node - v7.5.0
macOS - 10.12.3 (16D32)
Is there anything else I could provide you with?

I'm not a macOS user so I can't help much here. @MoOx  any ideas?
Normally this is an issue with npm@2 but since you're staying on the edge, I can't tell what is wrong.

Hey Found my problem,
After switching to node 4.4.2 it gave me error output. Turns out that for some insane reason i specified the .js extension in the imports of phenomic.node.js but after removing them everything works perfectly again.
Thanks for your help

I'm glad this worked out for you. But specify .js in the import path shouldn't be a problem.

Running into the exact same error.
No clue what's wrong.
Node: 7.40
macOS: 10.12.14

@HarrisRobin is this new? Did you reinstalled node_modules? Switched node version? Do you use phenomic cache option?

@MoOx this is actually from a fresh install. I was attempting to deploy it with netlify-cms and it's failing at the build atm. Not in front of me laptop right now but I'll try a few things like reinstalling node_modules and resetting mom cache. I haven't touched phenomic cache option.
Thanks!

Can we reopen this? This is still happening for no apparent reason.
BTW: in my case it works if eslint-loader is disabled from webpack config.

What version are you using? Can you provide your package.json?

Hey, @MoOx! I'm using version 0.20.4.
Here's my package.json:
{
  "private": true,
  "name": "xedef-app",
  "twitter": "",
  "repository": "",
  "scripts": {
    "lint:js": "eslint --ignore-path .gitignore --fix .",
    "lint:css": "stylelint \"src/**/*.css\"",
    "lint": "npm-run-all --parallel lint:*",
    "start": "phenomic start",
    "build": "phenomic build",
    "pretest": "npm run lint",
    "clean": "rm -rf ./dist && rm -rf ./node_modules/.cache/babel-loader",
    "test": "npm run build"
  },
  "phenomic": {
    "CNAME": false
  },
  "#babel": "webpack-(development|production) are useful for webpack 2, otherwise use development|production",
  "babel": {
    "env": {
      "test": {
        "presets": [
          "babel-preset-latest",
          "babel-preset-stage-1",
          "babel-preset-react"
        ]
      },
      "development": {
        "presets": [
          "babel-preset-latest",
          "babel-preset-stage-1",
          "babel-preset-react"
        ],
        "plugins": [
          "babel-plugin-transform-react-jsx-source",
          "babel-plugin-transform-react-jsx-self",
          "react-hot-loader/babel"
        ]
      },
      "production": {
        "presets": [
          "babel-preset-react-optimize",
          "babel-preset-latest",
          "babel-preset-stage-1",
          "babel-preset-react"
        ]
      },
      "webpack-development": {
        "presets": [
          [
            "babel-preset-latest",
            {
              "es2015": {
                "modules": false
              }
            }
          ],
          "babel-preset-stage-1",
          "babel-preset-react"
        ],
        "plugins": [
          "babel-plugin-transform-react-jsx-source",
          "babel-plugin-transform-react-jsx-self",
          "react-hot-loader/babel"
        ]
      },
      "webpack-production": {
        "presets": [
          "babel-preset-react-optimize",
          [
            "babel-preset-latest",
            {
              "es2015": {
                "modules": false
              }
            }
          ],
          "babel-preset-stage-1",
          "babel-preset-react"
        ]
      }
    }
  },
  "eslintConfig": {
    "root": true,
    "extends": "./node_modules/phenomic/lib/eslint-config-recommended/index.js"
  },
  "stylelint": {
    "extends": "./node_modules/phenomic/lib/stylelint-config-recommended/index.js"
  },
  "devDependencies": {
    "babel-cli": "^6.14.0",
    "babel-core": "^6.14.0",
    "babel-eslint": "^7.0.0",
    "babel-loader": "^6.2.5",
    "babel-plugin-transform-react-jsx-self": "^6.11.0",
    "babel-plugin-transform-react-jsx-source": "^6.9.0",
    "babel-preset-latest": "^6.14.0",
    "babel-preset-react": "^6.3.13",
    "babel-preset-react-optimize": "^1.0.1",
    "babel-preset-stage-1": "^6.13.0",
    "classnames": "^2.2.5",
    "css-loader": "^0.25.0",
    "eslint": "^3.7.1",
    "eslint-loader": "^1.5.0",
    "eslint-plugin-react": "^6.4.0",
    "extract-text-webpack-plugin": "^1.0.1",
    "file-loader": "^0.9.0",
    "history": "^2.0.0",
    "json-loader": "^0.5.2",
    "npm-run-all": "^1.7.0",
    "phenomic": "^0.20.4",
    "postcss-browser-reporter": "^0.4.0",
    "postcss-cssnext": "^2.4.0",
    "postcss-loader": "^0.13.0",
    "postcss-reporter": "^1.3.0",
    "raw-loader": "^0.5.1",
    "react": "^15.0.0-rc.1",
    "react-dom": "^15.0.0-rc.1",
    "react-helmet": "^3.0.0",
    "react-hot-loader": "^3.0.0-beta",
    "react-redux": "^4.0.0",
    "react-router": "^2.3.0",
    "react-svg-inline": "^1.1.0",
    "react-topbar-progress-indicator": "^1.0.0",
    "redux": "^3.0.0",
    "style-loader": "^0.13.0",
    "stylelint": "^7.2.0",
    "warning": "^3.0.0",
    "webpack": "^1.11.0",
    "whatwg-fetch": "^0.11.0"
  },
  "dependencies": {
    "react-flexbox-grid": "^1.0.2",
    "react-imation": "^0.5.3",
    "react-scroll": "^1.4.7",
    "react-slick": "^0.14.7",
    "react-track": "^0.4.3",
    "react-waypoint": "^5.2.0",
    "slick-carousel": "^1.6.0"
  }
}

Can you try updating eslint-loader to latest version?


form output feedback

Great job guys!  A few things I noticed on the forms:
For Paragraph 4 it says NA, but should say see attached or something like that.

Party phone numbers appear on output from old tool, but not here on new tool:

Judicial circuit missing (probably that's what you were asking about when you mentioned the "division" in your email?):

On addendum first reference to children only includes the first child (I entered 3):

And reference here is to singular child instead of children:

Second reference to children does name all three but only includes space for one DOB and does not list the DOBs at all.

For order regarding change of domicile, party phone numbers and court circuit number are also missing.
For order re parenting time, the above is true, plus case number is missing (case number should probably appear on both pages of this order)

All resolved on addendum branch. The commits were c382e45 and 63a5b70.


Add Integration Tests for All Resource Modules

Pull Request (PR) description
Add Integration Tests for All Resource Modules
This Pull Request (PR) fixes the following issues

Fixes #32

Task list

[x] Added an entry under the Unreleased section of the change log in the README.md.
Entry should say what was changed, and how that affects users (if applicable).
[ ] Resource documentation added/updated in README.md.
[ ] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[ ] Unit tests added/updated. See DSC Resource Testing Guidelines.
[x] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[x] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

Codecov Report

Merging #41 into dev will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##             dev     #41   +/-   ##
=====================================
  Coverage   87.5%   87.5%
=====================================
  Files          3       3
  Lines         96      96
=====================================
  Hits          84      84
  Misses        12      12

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 c368660...354d446. Read the comment docs.


Unable to access opensearch-dashboards using domain name

I have setup of opensearch-dashboards, I'm able to view applications logs in opensearch-dashboards while access dashboard using http://ip:PORT/
However, when I add context path/basepath details in values.yaml file of opensearch-dashboard helm charts, then it starts throwing error in opensearch-dashboards pod logs, like mentioned below:
pod logs:
{"type":"log","@timestamp":"2022-12-07T07:09:58Z","tags":["error","opensearch","data"],"pid":1,"message":"[ResponseError]: Response Error"}
values.yaml file detail:
config:
opensearch_dashboards.yml: |
server:
name: dashboards
host: "<IP_ADDRESS>"
basePath: "/opensearch-dashboards"
rewriteBasePath: true

****** Please help me on this and let me know if require more information.

I think because open search not running. Please check open search again

I think because open search not running. Please check open search again

Since open search dashboard is accessible and working fine  using IP :PORT but not using domain path can there be any issue in OpenSearch cluster  . e.g.
http://ip:port/  --> works
http://example.com/opensearch-dashboards  --> does not work
FYI , as per our requirement instead of root path context path is set like below in helm chart . Earlier for kibana dashboard we configured context path similarly and that worked .
basePath: "/opensearch-dashboards"
rewriteBasePath: true

I think because open search not running. Please check open search again

Since open search dashboard is accessible and working fine using IP :PORT but not using domain path can there be any issue in OpenSearch cluster . e.g.
http://ip:port/ --> works
http://example.com/opensearch-dashboards --> does not work
FYI , as per our requirement instead of root path context path is set like below in helm chart . Earlier for kibana dashboard we configured context path similarly and that worked .
basePath: "/opensearch-dashboards" rewriteBasePath: true

Can you show me values files??
I already deploy dashboard in another domain like this and it working right
https://kibana.xxx.xxx

[Triage] Hey @shubhikaushal7290 are you still facing the issue you shared?
@nj2208 @thanhtai9606

`# Copyright OpenSearch Contributors
SPDX-License-Identifier: Apache-2.0
Default values for opensearch-dashboards.
This is a YAML-formatted file.
Declare variables to be passed into your templates.
opensearchHosts: "https://opensearch-cluster-master:9200"
replicaCount: 1
image:
repository: "opensearchproject/opensearch-dashboards"
override image tag, which is .Chart.AppVersion by default
tag: ""
pullPolicy: "IfNotPresent"
startupProbe:
tcpSocket:
port: 5601
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 20
successThreshold: 1
initialDelaySeconds: 10
livenessProbe:
tcpSocket:
port: 5601
periodSeconds: 20
timeoutSeconds: 5
failureThreshold: 10
successThreshold: 1
initialDelaySeconds: 10
readinessProbe:
tcpSocket:
port: 5601
periodSeconds: 20
timeoutSeconds: 5
failureThreshold: 10
successThreshold: 1
initialDelaySeconds: 10
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
Specifies whether a service account should be created
create: true
Annotations to add to the service account
annotations: {}
The name of the service account to use.
If not set and create is true, a name is generated using the fullname template
name: ""
rbac:
create: true
A list of secrets and their paths to mount inside the pod
This is useful for mounting certificates for security and for mounting
the X-Pack license
secretMounts: []
- name: certs
secretName: dashboard-certs
path: /usr/share/dashboards/certs
podAnnotations: {}
extraEnvs: []
- name: "NODE_OPTIONS"
value: "--max-old-space-size=1800"
envFrom: []
extraVolumes: []
- name: extras
emptyDir: {}
extraVolumeMounts: []
- name: extras
mountPath: /usr/share/extras
readOnly: true
extraInitContainers: ""
extraContainers: ""
podSecurityContext: {}
securityContext:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000
config: {}
Default OpenSearch Dashboards configuration from docker image of Dashboards
opensearch_dashboards.yml: |
server:
name: dashboards
host: "{{ .Values.serverHost }}"
opensearch_dashboards.yml:
server:
name: dashboards
host: "{{ .Values.serverHost }}"
Dashboards TLS Config (Ensure the cert files are present before enabling SSL
  # ssl:
  #   enabled: true
  #   key: /usr/share/opensearch-dashboards/certs/dashboards-key.pem
  #   certificate: /usr/share/opensearch-dashboards/certs/dashboards-crt.pem
# determines how dashboards will verify certificates (needs to be none for default opensearch certificates to work)
# opensearch:
#   ssl:
#     certificateAuthorities: /usr/share/opensearch-dashboards/certs/dashboards-root-ca.pem
#     if utilizing custom CA certs for connection to opensearch, provide the CA here

opensearchDashboardsYml:
defaultMode:
value should be 0-0777
priorityClassName: ""
opensearchAccount:
secret: ""
keyPassphrase:
enabled: false
labels: {}
hostAliases: []
- ip: "<IP_ADDRESS>"
hostnames:
- "foo.local"
- "bar.local"
serverHost: "<IP_ADDRESS>"
service:
type: ClusterIP
port: 5601
loadBalancerIP: ""
nodePort: ""
labels: {}
annotations: {}
loadBalancerSourceRanges: []
<IP_ADDRESS>/0
httpPortName: http
ingress:
enabled: true
For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
ingressClassName: nginx
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: kibana.example.com.vn
paths:
- path: /
backend:
serviceName: ""
servicePort: ""
tls: []
- secretName: chart-example-tls
hosts:
- chart-example.local
resources:
requests:
cpu: "100m"
memory: "512M"
limits:
cpu: "100m"
memory: "512M"
autoscaling:
This requires metrics server to be installed, to install use kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
See https://github.com/kubernetes-sigs/metrics-server
enabled: false
minReplicas: 1
maxReplicas: 10
targetCPUUtilizationPercentage: 80
updateStrategy:
type: "Recreate"
nodeSelector: {}
tolerations: []
affinity: {}
-- Array of extra K8s manifests to deploy
extraObjects: []
- apiVersion: secrets-store.csi.x-k8s.io/v1
kind: SecretProviderClass
metadata:
name: argocd-secrets-store
spec:
provider: aws
parameters:
objects: |
- objectName: "argocd"
objectType: "secretsmanager"
jmesPath:
- path: "client_id"
objectAlias: "client_id"
- path: "client_secret"
objectAlias: "client_secret"
secretObjects:
- data:
- key: client_id
objectName: client_id
- key: client_secret
objectName: client_secret
secretName: argocd-secrets-store
type: Opaque
labels:
app.kubernetes.io/part-of: argocd
pod lifecycle policies as outlined here:
https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
lifecycle: {}
preStop:
exec:
command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]
postStart:
exec:
command:
- bash
- -c
- |
#!/bin/bash
curl -I "http://admin:admin@<IP_ADDRESS>:5601/status -H "kbn-xsrf: true" -H 'kbn-xsrf: true' -H "Content-Type: application/json"
Enable to add 3rd Party / Custom plugins not offered in the default OpenSearchDashboards image.
plugins:
enabled: false
installList: []
- example-fake-plugin-downloadable-url
`

Hi @thanhtai9606,
Thank-you for sharing values.yaml file details.
As I can see ,what you have implemnted is https://kibana.xxx.xxx/ , however  my requirement is http://example.com/opensearch-dashboards
(Note: instead of example.com , I am using a domain name)
My opensearch pods are working fine on my setup.
I have attached my opensearch and opensearch-dashoards helm chart's values.yaml file for reference.
Please notice line no. 100-104 in opensearch-dashboards values.yaml file (which are commented currently), I used this method to implement http://example.com/opensearch-dashboards , however isn't working, so please help me on this and guide me.
values file.zip

@shubhikaushal7290
I don't replace ingress with your example.
But I think you can combine with this to archive your purpose
values_dashboard.yaml.zip


"Deșirați" is listed in the drop-down menu

Description:
"Deșirați" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Deșirați" in the search bar.

Expected results
The location is listed in the drop-down menu as "Deșirați, Brăila (Scorțaru Nou)".


Sprint 19 Changelog updates

As discussed in Sprint 19 Report
[skip ci]

@abellotti @blomquisg @gmcculloug @Fryguy @dclarizio @epwinchell @roliveri @jrafanie
Please comment if updates to changelog.md are good.

:+1: for rest api

"DHTMLX outer layouts completed, styling cleaned up" should be replaced with "Header, navigation, and outer layouts converted to Bootstrap / Patternfly
Dashboard tabs updated

UI area looks fine

Notable fixes:

Fixed timeout issue with remove_from_disk method on a VM in Automate
Fixed duplicate VM name generation issue during provisioning


Add support to use TypeScript as a transpiler

In this PR TypeScript dependency is added to the package.json as a GitHub url since version of TypeScript that supports System.register was not officially released yet. I'll send another PR once it will be available to public as npm package

Nice! Happy to roll it out down the chain when this lands (branches here, SystemJS branches and jspm).
Just to discuss the dependency thing again - I'm still wondering if we should restrict System.register as a format to assume unique dependencies, to maintain the conceptual simplicity of a single setter running for a single dependency.
On the other hand it does also make sense to maintain the original dependency order, but as long as we still have the first mention order right, that loss shouldn't be an issue.
Perhaps you're right though and the correctness of dependency order is more important than a single-setter principle? Don't think it matters too much either way? Let me know what you think here - it's not really about the implementation itself, but what we should define for the format.
Note that Travis will run a build, so there is no need to include the "dist" changes in the commit.
I will do some testing as soon as I can in the new few days, but this is looking great to go at first glance.

@guybedford @vladima totally excited to see this work! Thank you!

It's nice to see typescript support. I know some people who're quite fond of it.
The current approach seems to replace traceur/babel with typescript. Since typescript is more than a transpiler, it's another language with it's own file extension .ts, it makes sense to consider allowing usage of babel/traceur side-by-side with typescript in the future.

Yeh, somehow this all in-browser transpilation should be pluggable so people can compose transformations (or drop them altogether if doing tranpilation as part of the build). This is what is happening in the 0.1 branch, no?

@guybedford I would prefer to be as close to ES6 semantic as possible even at cost of increasing code size.

@pkozlowski-opensource System.translate is what you want.

@vladima sure I'm happy to get on board with the approach to the duplicate names.
Just to explain the delay here - I'm thinking we should run this against the 0.17 branch rather as I'm trying to get that release out as soon as possible and it is my top priority at the moment. Happy to manually do the merge as I do this as well, but just to explain why this hasn't landed yet.

@guybedford sure, there is no rush, especially since official release of TypeScript 1.5 (where we've added support for System.register) has not been done yet. I would hold off merging this PR until the moment of the official release to have all npm dependencies in-place

@vladima it would be good to know when you think the release will be about to land - I'd like to try and get a consistent name for the System.register format if across TypeScript, Babel and Traceur. I'm not too keen on system because ultimately the format should be tied to the loader - Reflect.loader.register(...), and not be SystemJS-specific (the system global is not defined in the spec anymore). I'm currently thinking of using register, although other ideas are very welcome.

@vladima to update, I'm happy to stick with the system name for now. For reference - https://github.com/google/traceur-compiler/pull/1916.

I have been trying this out, and it is working really well. It's great that typescript is going to be a first class citizen in systemjs. I have found a small issue with the source maps, and so I have added some comments to the commits. thanks @vladima!

@guybedford system sounds like a good name to me
Regarding source maps, I'm not sure that they are currently work correctly. AFAIR //# sourceMappingURL should be the last line of the file. This is not true for the current implementation

//# sourceURL= is appended as the last line after the transpile step, not sure if debugger are resilient enough to allow these lines to be flipped
__eval wraps transpiled code in function so  //# sourceMappingURL is definitely not the last line.

I've checked the ES6 module loader with Traceur as transpiler in Chrome and source maps didn't work.

I think that SystemJS is taking care of that: https://github.com/systemjs/systemjs/blob/master/lib/extension-register.js#L34
I am running in SystemJS and they are working fine for me once the filename has been set.

This means that probably I'm doing something wrong and I'll be glad to know what is it.
Let's say I have file 'app.js'
import { Greeter } from 'greeter'

export function main(el) {
    let greeter = new Greeter(el);
    greeter.start();
}

and in my 'index.html' I'm doing
        System.transpiler = 'traceur';
        System.paths = {
            '*': '*.js',
            'traceur': '/node_modules/traceur/bin/traceur.js'
        }
        System.import('app').then(function(m) {
            var element = document.getElementById("content");
            m.main(element); // 1
        });

If I put a breakpoint on the line (1) and try to step into the function I can see that I'm stepping into the transpiled content, not in the original file.
IAlso in the debugger I can see that detected format for this file is 'es6' and it seems that function in SystemJS that was (mentioned before)[https://github.com/systemjs/systemjs/blob/master/lib/extension-register.js#L34] is not called for such modules (not sure if this is a bug or intended behavior)

hmm, yes there may be an issue with the entry point. If you put a breakpoint in 'greeter' does that work?

no, it does not and breakpoing in register function is not hit either.

I agree there is something not quite right, but I'm having trouble reproducing the issue. What I see on my main app is that toggling the 'sourcesContent' option affects whether the source appears during the application bootstrapping phase (it needs to be true to see the source). Once the app is bootstrapped then everything is working fine. It is complicated somewhat because once the source has been loaded once successfully then the browser seems to serve up a cached version regardless.
I have created a cut down example here but in that one I can't make it go wrong, everything is working perfectly. Maybe you can try that and see if it works for you?
I also see what you mean about that code in SystemJS not getting run, but I don't know why that is happening either at the moment.

@frankwallis  just tried to run your example on another box, seems to be working fine. I've updated the PR.
Thanks!

@guybedford I've talked with @mhegazy, it is ok not to wait  until the official release of TypeScript 1.5 and release ES6 module loader and related projects (SystemJS, JSPM) using Typescript dependency via github repro. After TS 1.5 will be officially released I'll send separate pull requests to ES6 module loader/SystemJS/JSPM to update dependency to npm,

@guybedford is there anything else that you think should be addressed before merging this PR?

Nice work!

@guybedford if you want this PR to land in 0.17, should I close this PR and create a new one against 0.17 branch?

@vladima yes exactly that would be really great, but as I mentioned I'm happy to do this as well myself. This release is a complex one as it's a non-breaking rearchitecture as part of shifting towards a breaking change, but it's getting very close to ready.

sure, I'll see what I can do on monday. Meanwhile I've checked out 0.17 and tried to run tests. It is expected that npm run test:node ends up with a bunch of errors like
done() invoked with non-Error: Only file URLs of the form file:/// allowed
 running in Node.

?

You'll need to run grunt first on the module loader. The SystemJS tests are not yet passing in Node though.

but do I understand correctly that test suite for es6 module loader itself should should be all green?

 The error is the same for all failures:
 32) Custom Loader #import special #locate path rule should support special loading rules:
     Error: done() invoked with non-Error: Only file URLs of the form file:/// allowed running in Node.

The error is raised at this line when getting this url as an argument 'c://_git/es6-module-loader/node_modules/traceur/bin/traceur.js'. This url in turn was created here with 'traceur' as initial value for the name.

@vladima thanks so much for letting me know - yes that was a Node bug in Windows - I've fixed that up.

great to see this fixed, thanks!

@vladima we've manually merged this into master now preparing for the 0.17 release.
I'm getting a strange error from TypeScript itself I was wondering if you could help me with?
 Error: Debug Failure. False expression: Output generation failed
    at Object.assert (/Users/guybedford/Projects/es6-module-loader/node_modules/typescript/bin/typescript.js:1379:23)
    at Object.transpile (/Users/guybedford/Projects
  es6-module-loader/node_modules/typescript/bin/typescript.js:36583:18)
      at SystemLoader.typescriptTranspile (/Users/guybedford/Projects/es6-module-loader/dist/es6-module-loader-dev.src.js:1253:21)
      at /Users/guybedford/Projects/es6-module-loader/dist/es6-module-loader-dev.src.js:1178:31

Let me know if you're able to assist with this at all.

Yes, I'm aware of this issue, it is fixed in Typescript master. Today I'll update github repo with dependencies and check if this error go away (pretty sure it will)
Sent from Outlookhttp://taps.io/outlookmobile
On Tue, May 19, 2015 at 5:24 AM -0700, "Guy Bedford" <notifications<EMAIL_ADDRESS>wrote:
@vladimahttps://github.com/vladima we've manually merged this into master now preparing for the 0.17 release.
I'm getting a strange error from TypeScript itself I was wondering if you could help me with?
Error: Debug Failure. False expression: Output generation failed
at Object.assert (/Users/guybedford/Projects/es6-module-loader/node_modules/typescript/bin/typescript.js:1379:23)
at Object.transpile (/Users/guybedford/Projects
es6-module-loader/node_modules/typescript/bin/typescript.js:36583:18)
at SystemLoader.typescriptTranspile (/Users/guybedford/Projects/es6-module-loader/dist/es6-module-loader-dev.src.js:1253:21)
at /Users/guybedford/Projects/es6-module-loader/dist/es6-module-loader-dev.src.js:1178:31
Let me know if you're able to assist with this at all.

Reply to this email directly or view it on GitHubhttps://github.com/ModuleLoader/es6-module-loader/pull/366#issuecomment-103466557.

@vladima thanks that would be great!

@guybedford I've pushed updated version of TypeScript package into the github repo, though tag stays the same (v1.5-beta2) so it will be great if you delete existing TypeScript package from node_modules and npm install to download updated version. However even with updated version I still get a number of failures in tests, all with the same error:
TypeError: Cannot read property 'length' of undefined
    at Loader.CustomLoader.instantiate (C:\Sources\_git\es6-module-loader\test\custom-loader.js:113:29)

In setupTranspilers code creates a new module named 'typescript' that has uses ts from globals as  default. However here it is assumed that __globals will have property typescript which is not true - name in __globals will be ts. In general I'm not sure that I understand why do we go through the whole pipeline to load the transpiler when in theory we've already might be done all the work in setupTranspilers and transpiler module is already created and ready to use

@vladima thanks so much - the tests are all now passing fine for me on master!
About the global stuff, I added a change to allow the transpiler to always take preference as a global. This is not ideal though as the nicer modularity comes when we load transpilers always as modules. The issue here seems to be that TypeScript doesn't easily load as a global script in Node (behaving like it does in the browser). I guess we should probably install TypeScript as a npm package with the jspm Node conversion process though here? Would be good to ensure the override for jspm can handle both client and server loading to ensure consistency.

Merged and ready to go...

@guybedford that is awesome, thanks! Can you please tell if these changes will be the part of 0.17 and when 0.17 is planned to be released (if this information is not confidential)

@vladima yes this is ready to go out with 0.17 now. Deadlines are fickle things, but the plan is to get the release out within this next week.


CannotConnectError on local connection

Hi,
I tried to setup the local Risco integration in HA but it always failed to connect.
Digging a bit deeper I ended up in setting up a small test project to test your library.
It looks like I have a lazy panel because if I add a delay of 1 second after the opening of the connection it works flawlessly.
The line I'm referencing to is here:
https://github.com/OnFreund/pyrisco/blob/ca3f89e1d4851a5db84c97f9b1050df0e0cc6bf2/pyrisco/local/risco_socket.py#L32
This includes my change:
self._reader, self._writer = await asyncio.open_connection(self._host, self._port)
await asyncio.sleep(1)

The panel is from 2013 so it might be a bit slower then newer versions:

I didn't create a PR since I don't know how you feel about adding a delay just to cover my case.
I don't know if you can add a configurable delay and let it bubble all the way up to the HA integration and make it configurable in the config flow?

It also looks similar to this issue but there was no solution found so it might be the same cause: https://github.com/home-assistant/core/issues/87008

Hi @OnFreund, just a friendly ping to get your opinion on the above issue.

Thanks @FredericMa - I totally missed this (GitHub notifications work in mysterious ways).
Can you create a PR where this is taken from kwargs with a default of no sleep? These are passed down through RiscoLocal so we can then add it as an option in HA.

Sure, I'll do that!

New version with your changes is out at: https://pypi.org/project/pyrisco/0.5.8/

Cool, thanks. Shall I create a PR for the HA integration to add this delay as an optional parameter or do you prefer to do it yourself?

You can go for it and I'll review