Homotopy between 3d singularity and 2d singularity

Demo file
homotopy between singularities of different dimensions.zip
The following homotopy between a 3d singularity and a 2d singularity is viewed as 'ill-formed' in the current homotopy.io version. This is potentially caused because homotopy.io treats this move in a wrong way; instead of a homotopy between a 3d singularity and a 2d singularity, this should really be a homotopy between that 3d singularity and the identity of that 2d sigularity.

Thanks for this Hao. Can you be more precise please as to exactly what interaction you want to make in the tool, for which you think it is giving the wrong response. I don't understand what your annotations (1), (2) on the picture mean.

(1) and (2) are two different homotopies (hence I denote the arrows by two colours), and each homotopy can be realized by mouse-dragging in two ways, as illustrated by those arrows.

From: jamievicary @.***>
Sent: Saturday, August 28, 2021, 9:59 PM
To: homotopy-io/homotopy-rs
Cc: HdXu; Author
Subject: Re: [homotopy-io/homotopy-rs] Homotopy between 3d singularity and 2d singularity (#160)
Thanks for this Hao. Can you be more precise please as to exactly what interaction you want to make in the tool, for which you think it is giving the wrong response. I don't understand what your annotations (1), (2) on the picture mean.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/homotopy-io/homotopy-rs/issues/160#issuecomment-907688861, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIO5LWJYLOJSQBMWY44JCVTT7FE3HANCNFSM5C7CIZQQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I see. I think Move 2 should be valid here, and should trigger an expansion via factorization.

I just checked this and it works properly at homotopy.io, see here: https://homotopy.io/#$proof=eJydWttu4zYQ//ZVCffUDh3fmtQsUBfoHiyJQbDlR17ECWcG2XeTfK9m6kTMcaxMgD5JIaubozJkhxz+Kl6o8FA9iV1Tnrq2rS//EA1uyK+nyo//nnsmsdL17TV4bFs2//Lf4uHrV7H7URyLhx//F96b9dnkr99Vw8Xjq533sikv9fC6793a5KWx//u+y6cv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5htsm6wKIdcMT+9lmOrQWwVFFuJfhvghltMH8uz1X6WrRZIts4NOfbT20y5cMskkSFWxUlhVB1L//Y4PFZVR7xGWblrzNv5Y9bazf6mfX079fzefafz18T801rq3

A slightly different case, now (1) passes type-check but (2) does not in beta.homotopy.io
2d-3d-singularity-homotopy-2.zip

I think that is correct.

The issue identified by Hao in the original post before is definitely a bug. It could perhaps be an issue with factorization. Could someone look at it please? @NickHu @calintat @zrho

I'm looking at this. I don't think it's an issue with factorisation, it's either an issue with expansion or type checking.

Thank you Calin. Is it possible to extract the full expansion rewrite. Then we can directly verify by hand if it's correct.

So I think the expansion rewrite is wrong. It doesn't seem to match the source diagram. What confuses me even more is that this doesn't fail the wellformedness check because I believe the diagram we're trying to type check is malformed.

That seems strange. I guess it's worth looking more closely to be really sure if it's malformed or not. Maybe you could turn this into a test for the malformedness checker?

Thanks Calin yes that makes sense. Factorization needs to be updated then.
Do you mind doing that? Nick would usually handle that but he's busy at
MFPS at the moment.
On Wed, Sep 1, 2021 at 6:03 PM Calin Tataru @.***>
wrote:

Actually I was wrong about the diagram being malformed, but the expansion
rewrite is still wrong. The issue is in factorisation; it fails to
factorise some rewrites when there should be a factorisation.
The problem is that when we recurse on each monotone component, we pick
the first factorisation if it exists, but those may not be compatible (i.e.
they won't make the squares commute). So we need turn factorisation into an
iterator so we can try all possible combinations until we find one that
works.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/homotopy-io/homotopy-rs/issues/160#issuecomment-910477373,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACQ4OHQ5WS2SSCGICMGPY3LT7ZMELANCNFSM5C7CIZQQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I'm already working on it.


Newcomer to using Device Security & Core Isolation

I'm here, from a link provided in the Core Isolation settings in my Windows Pro machine.
I've got an extensive background in development, programming, and standard network security (policy, various troubleshooting, etc.)  But, I'm completely new to device security and core isolation.  I'm always looking for better was to protect my machine and ultimately help others, family, etc..
I'm just looking a for more in-depth understanding of how to implement this (newly found by me) security feature.  I promise to be light with contributors time; I very highly prize the support, information or assistance I get from these repositories.  That said..
Initially any links to information on using the feature would be greatly appreciated.  I've read the few related closed cases listed. I'm seeing that it's recommended to make an image of my machine first, and check and confirm compatibility with my devices I use before turning on this feature.  And information on doing that would be a great start for now.  I can handle making an image; but as far as ensuring my devices (drivers?) are compatible, or able to handle the requirements of implementation, not quite sure.  Right now I only know they work, and I use them.
I'm not sure what to do or look for to implement this.   I've noticed that my motherboard supports Hyper-V, which having created and used a virtual machine a few times, and find the isolation and protection to be beneficial for this old White Hat. I do have reasons to want to ensure I'm better protected than most. I'm 65 and trying to keep my toe in on security (active brain exercises?!), again, saw something mentioned on Hyper-V; but not sure how it would be related; except perhaps, creating a more secure image.  Very appealing.
Anyway, this looks like areas I'd like to explore; anything deemed a requirement, any pointers or links to information would be appreciated on using this core feature for Defense.  Please be gentle ;-)
So far, reading closed issues on the linked page in Core Isolation has been my only experience on this subject, as far as I know at this time. (I'm patient) So, thank you... again!  If we could start with confirming, like any major change, that I should/must start with a good backup and image of my machine would be welcome.
So, it looks like obtaining Macrium for that image; that and reading information i get directed to, until I can budget the imaging software (around 1 to 2 months) will be my path.
As a side question, would I be legally able to create a Hyper-V copy using the existing license on this machine.  Windows 10 Pro?  I do have hopes of one day putting a honey pot at the front door. ;-)
Apologies, hope this isn't TL;DR!

Fair enough, your post may be a little bit long to read, but that is not really an issue here. I can see that the style of your post is quite common for anyone wanting to ask questions in a social forum, instead of contacting Microsoft Support directly.
What I would like to suggest, is for you to consider posting this in one or more Microsoft forums instead of the issue tracker for the Microsoft Docs pages. This issue tracker has been made available to Github users mostly to improve the quality and content of the Windows IT Pro pages on docs.microsoft.com . Sure enough, questions posted in these pages do get replied to once in a while or every so often, as long as the question or requested answer can be narrowed down and connected to a docs.microsoft.com page for the topic in question. Your post, on the other hand, looks a lot more like material for a discussion on a broader spectrum, or at least with feedback from multiple experienced users and technical experts.
@e0i / @jvsam / @mypil : Could you recommend some forums for this type of question?

@officedocsbot assign @jvsam

Hi @Cyberchipz I agree with @illfated. And your willingness to learn and explore new tech is commendable. We also want to make sure that we point you to the right community where you can interact with other Windows enthusiasts. Here's one of the communities where you can start:
https://techcommunity.microsoft.com/t5/Microsoft-Defender-Advanced/ct-p/MicrosoftDefenderAdvanced
A list of communities that you may want to check as well as you progress with your learning goals https://techcommunity.microsoft.com/t5/Communities/ct-p/communities
You might also be interested with the Windows Insider Program and here's the Tech Community for it, https://techcommunity.microsoft.com/t5/Windows-Insider-Program/bd-p/WindowsInsiderProgram
And in the future, if you have suggestions related to Microsoft Docs or ideas to make the technical documentation better for users, you can create a GitHub issue directly from a content page.

For now, we will close this issue. Thank you.

@officedocsbot close


figure out the correct dimension for minimap video

update: instead of using matplotlib plot to generate the pitch image for every frame, we extracted the plot into a png file (in assets/) and use that instead for transformations.
issue: but now, when combining minimap image and the original video into one for visualizations, the minimap pitch is displayed with black bars at the edges, which is not ideal. therefore, need to find a solution to remove them (e.g. manually remove the space around the pitch, and retag all pitch keypoints)

Hi, are there any updates to this?


[server][controller] Close VeniceWriters in MetaStoreWriter concurrently and in bounded time

Close VeniceWriters in MetaStoreWriter concurrently and in bounded time frame

Remove ExecutorService from producer
Add async close in VeniceWriters
Use VeniceWriter::closeAsync in MetaStoreWriter to concurrently close VWs

How was this PR tested?
WIP
Does this PR introduce any user-facing changes?

[x] No. You can skip the rest of this section.
[ ] Yes. Make sure to explain your proposed changes and call out the behavior change.

Just to confirm: This change not only applies to MetaStoreWriter in Server right? It should also apply to every LEADER?

Just to confirm: This change not only applies to MetaStoreWriter in Server right? It should also apply to every LEADER?

It will be applicable to all controllers and servers that create MetaStoreWriter

Thanks a lot for the review and suggestions, @lluwm!


⚠ Bofrost.be has degraded performance

In 8ce941c, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 927 ms

Resolved: Bofrost.be performance has improved in 6b28339.


Updating bower.json to use polymer 1.0.0 and higher

Updating bower.json to use polymer 1.0.0 and higher

Sorry. Got the version number wrong.


@char and @charoff should be in <tgroup>?

Now that @align has the possible value of "char" again, should @char and @charoff be added to <tgroup>, since it has @align? Otherwise one might set the value to "char" but not be able to add the data for it. Or should it just be left as is because it's kind of meaningless and should be set in <colspec> anyway?
Right now, <colspec> and <entry> are the only places where those two attributes can be used.
Just throwing it out as I update EADiva to match the revisions to table.

@tcatapano This didn't make it into ead_revised_defs.rng. Can you re-add?

@tcatapano Actually - wait on this.  Let's discuss on Friday. Looking at this again I'm changing my mind and I think it might be better left as it was in EAD 2002.

Discussed and decided to not include in EAD3.


naming the profile groups

Hi @simonvh,
Is there a way to name the groups in the profile? Like the group_name option below?
fluff profile -i chr1:68602071-68612071 -d mesenchymal_H3K27ac.bam mesendoderm_H3K27ac.bam \
neuronal_progenitor_H3K27ac.bam trophoblast_H3K27ac.bam -t 1:2,3:4 -s 1:2 -o profile_chr1_68602071_68612071_overlap \
--group_name "group_1,group_2"

If there is none, could you please consider this as feature request?

There is not, currently, I'm sorry. I will consider adding, thanks for the question.


Add displacements method for obtaining solution displacements.

The solution displacements it would be useful to acess like this:
displacements(sol::AbstractSolution, n::Node)  Returns the displacements vector at each time step of the node n

I think this issue is more general, first we need an AbstractSolution struct and then StatesSolution.


Errors Out First Time When Retry Count is 0

Checklist

[ ] I'm reporting a broken site support issue
[ x] I've verified that I'm running youtube-dl version 2021.12.17
[x ] I've checked that all provided URLs are alive and playable in a browser
[x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x ] I've searched the bugtracker for similar bug reports including closed ones
[ x] I've read bugs section in FAQ

Verbose log
[youtube] o4vLoZphZGs: Downloading webpage
[youtube] o4vLoZphZGs: Downloading webpage
[dashsegments] Total fragments: 1
[download] Destination: The Most Amazing Feeling.mp3
[download] 100.0% of ~3.54MiB at  6.88MiB/s ETA 00:00ERROR: giving up after 0 fragment retries
Traceback (most recent call last):
Description
In the Python library the default number of retries is 0. Additionally, the real_download function errors out if the number of errors is greater than or equal to the retry count. As a result passing any video with default parameters and "skip_unavailable_fragments" set to False causes it to fail the first download attempt.
https://github.com/ytdl-org/youtube-dl/blob/fe7e13066c20b10fe48bc154431440da36baec53/youtube_dl/downloader/dash.py#L69
This can be fixed by just removing the "or equal" from the comparison.

Thanks. In the CLI with -f worstaudio --abort-on-unavailable-fragment --fragment-retries 0 this observation is reproducible.
However the >= test is both correct and incorrect, depending on whether the fragment was fetched.
Also, the fragment_url should be established outside the retry loop.
Also, skipping a fragment should only be reported once.
We should have this:
--- old/youtube_dl/downloader/dash.py
+++ new/youtube_dl/downloader/dash.py
@@ -38,12 +38,13 @@ class DashSegmentsFD(FragmentFD):
             # In DASH, the first segment contains necessary headers to
             # generate a valid MP4 file, so always abort for the first segment
             fatal = frag_index == 1 or not skip_unavailable_fragments
+            fragment_url = fragment.get('url')
+            if not fragment_url:
+                assert fragment_base_url
+                fragment_url = urljoin(fragment_base_url, fragment['path'])
+            success = False
             for count in itertools.count():
                 try:
-                    fragment_url = fragment.get('url')
-                    if not fragment_url:
-                        assert fragment_base_url
-                        fragment_url = urljoin(fragment_base_url, fragment['path'])
                     success, frag_content = self._download_fragment(ctx, fragment_url, info_dict)
                     if not success:
                         return False
@@ -63,14 +64,13 @@ class DashSegmentsFD(FragmentFD):
                     # itself since it has its own retry settings
                     if fatal:
                         raise
-                    self.report_skip_fragment(frag_index)
                 break

-            if count >= fragment_retries:
+            if not success:
                 if not fatal:
                     self.report_skip_fragment(frag_index)
                     continue
-                self.report_error('giving up after %s fragment retries' % fragment_retries)
+                self.report_error('giving up after %s fragment retries' % count)
                 return False

         self._finish_frag_download(ctx)

So

if the fragment is fetched, success is truthy; the routine tries the next fragment or succeeds
if it fails and success is set to False the routine returns False directly
if it raises and the exception is caught here success is still False: the routine reports and returns False if the fragment was required, or tries the next fragment.


Bring over ledger changes from gitlab

They are currently still in a merge request there
Should be done after #2 and #3

Just for reference here is the Gitlab PR: https://git.20c.com/gh/fullctl/aaactl/-/merge_requests/2/diffs#04c19c7aaed5af93afe31ce50934e49798780ba7

Hi @vegu those changes are in this PR here:
https://github.com/fullctl/aaactl/pull/11
Note that that PR also can be used to close https://github.com/fullctl/aaactl/issues/10 if you'd like


Leftover elements on dragging nodes

Version Information
.NET Framework:         5.0
Blazor Hosting:         Server
Z.Blazor.Diagram:       2.1.5
Browser:                Edge 94.0.992.38

Hello,
I will need more information if possible.

What is the content of your nodes (HTML or SVG)?
Are those leftovers caused by nodes or links?
How many elements (nodes/links) do you have in the diagram?

If you can provide a reproducible little example project, that would help me a lot!

Hi,
I noticed this problem as well. It's not easy to reproduce reliably and seems to occur only at a very low zoom level. To me it looks like a browser render problem, maybe related to non-integer coordinates. So far I have no good idea how to fix it.
I managed to reproduce it at your demo page https://blazor-diagrams.zhaytam.com/demos/custom-group

Maybe this helps somehow.

I can also "sometimes" reproduce it in a very low zoom level and only when using CSS borders. When I remove the borders or replace it by something like box-shadow, then it doesn't happen.
Unfortunately I don't know exactly what the issue is, but the library doesn't do anything to cause it as far as I know...

@314159265meow Could you please try adding the following CSS and telling me if it still happens? Because for me, and for some reason I don't know, this fixes it:
.diagram-canvas {
    backface-visibility: hidden;
}

This fixes it for me as well. "In the old days" this was a trick to force the activation of hardware acceleration, not sure exactly how this works today.
I found another way to work around the issue. In the example of the custom group, it works if I set a border and a transparent outline, like this:
.group.custom {
  border: 2px solid black;
  outline: 6px solid transparent;
}

Also this problem doesn't seem to be related to this library, I managed to reproduce it in a single HTML file with 3 divs and a few lines of JavaScript.

Could you please send me the code you reproduced it with?

Sure, on the page you can use the mouse wheel to zoom and this produces the same artifacts for me.
index.zip

Closing this since it's not related to the library, thanks!


So, how do I actually use this to deploy my api?

Ok I read the readme twice, but I still do not get what are the actual steps to create a CF description of my API and deploy it. The templates in the Change Log (as described in the Install section) deploy the actual Lambda function, but where do describe the api?
May be an example API project using aws-api-gateway-for-cloudformation ? Would love to see that.

Hi!
The templates in the change log only install the Lambda function that enables you to use everything the readme describes. If you could describe what steps you have executed and more precisely describe what you are having trouble with I'll try to help you as best as I can.
Perhaps the provided Test template can give you some guidande?
https://github.com/carlnordenfelt/aws-api-gateway-for-cloudformation/blob/master/Test.template
Any feedback on the documentation is welcome as i myself am struggling with how to write it :)
/ Carl

I think I was lacking the big picture how CF and custom resources work. I did not realize that the Install instructions install your lambda function on my account from already existing code in your bucket. After which my own CF template with custom resources would create API gateway resources.
After reading http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources.html it make sense (may be worth including the link in the overview), as well as the "big picture"
Thanks for working on this!

I appreciate the feedback.
I'll give the installation documentation some thought and try to clarify this.
I'll leave this issue open until I've adjusted the documentation accordingly.
Thanks again

I have updated the documentation, hopefully it explains these things a bit better now.


change rebar_app_into to rebar_app_info in typespecs

pretty sure this was just a typo

Hah, yup, thanks!


Setting scrollTop prop after initial render has no effect

I would expect this to set the new scroll position, but there's some code in componentWillReceiveProps that ignores the property if certain conditions are met:
https://github.com/facebook/fixed-data-table/blob/master/src/FixedDataTable.react.js#L781-L788
It's not clear to me why this was done, but I'm sure there is a reason for it.

Facing this issue as well.
Current touch handling example only allows the component to either accept touch scrolling or use mouse scrolling. I am trying to implement one that can handle both for devices with touch screen and mouse.
My current direction is to let fixed-data-table deal with mouse scrolling because it's optimization is better, and let zynga-scroller deal with touch by setting the scrollLeft and scrollTop only if there are touch events.
Ideally fixed data table could respond to scrollLeft/scrollTop prop changes after mount.

I think scrollTop can follow the rowToScrollTo model... but the current implementation is a bit old.
If the initial property specified scrollTop and rowToScrollTo, the current code would first calculate scrollY based on scrollTop, then immediately recalculate scrollY based on rowToScrollTo, the scrollTop calculation in this case is totally unnecessary.

I have this issue as well. See #365 for use case (touch scrolling using Zynga Scroller) and why #216 (pull request) should be merged in.

@MandarinConLaBarba @alexandergunnarson @u9520107
Here a solution:
https://github.com/facebook/fixed-data-table/issues/288#issuecomment-249942491

I checked the code and if you need to manage scroll you have to set overflowY prop to 'hidden' then you can change scroll props.
For example if you have a pagination and want to scroll on top on each page you have to set props - overflowY: 'hidden' and scrollTop: 0 and then if you want to have auto scroll set overflowY to 'auto'


x/crypto/ssh: Is there a way to show detail msg for failed ssh command excu?

Context: go version go1.9.2 linux/amd64, ubuntu 16.04.
related issue
related commit
My Problem situation:
I was going to run a command like
command := "fio -direct=1 -iodepth 1 -thread -rw=randwrite -ioengine=psync -bs=16k -size=10M -numjobs=1 -runtime=1 -verify=md5 -group_reporting -name=mytest -filename=\\/dev\\/xxx | grep \\'bad\\'"
// read session.StderrPipe() and session.StdoutPipe()
_, err = session.Output(cmd)

What I got is err as 'Process exited with status 1' with stdoutput and stderr as empty.
What I want is to get detail why my command fails.
Due to 'related commit' it seems that this lib don't support more detail msg, how can I get over it? (Although I can work around it)

You can't use the Output or CombinedOutput methods while also StderrPipe and StdoutPipe.

Actually, where's your actual code? There's not enough context to help here.
But in general, questions about Go should go to https://golang.org/wiki/Questions.

@bradfitz I would move to https://golang.org/wiki/Questions


[Project] Software Carbon Efficiency Rating (SCER)

Working Title: Software Carbon Efficiency Rating (SCER)
Related issues or discussions:

https://github.com/Green-Software-Foundation/sci/issues/359 (collection of issues that discussed this idea)

Previous discussions on Standards-WG: https://docs.google.com/document/d/1rCNbwKiegUorrtuBuw-Ywdum1rHBWfAL-gsaOmGCcpc/edit#heading=h.3skgaml8cvuo

Tagline: A consumer-friendly rating for software carbon intensity
Abstract:
This project aims to develop a standard for a benchmark platform and test metrics for evaluating the carbon efficiency of software. The initiative will provide comparable scores for software with the same functionality, informing procurement decisions and potentially shaping regulations similar to ENERGY STAR or EPA Fuel Economy Ratings.
Quote:

"The Software Carbon Efficiency Rating standard is a game-changer. It guides us towards more sustainable software
choices, aligning our digital transformation with our commitment to environmental stewardship. Now, we can make procurement decisions that not only enhance operational efficiency but also help reduce our carbon footprint." - Alex Smith, CTO of NexTech Innovations

"As a consumer concerned about my carbon footprint, the Software Carbon Efficiency Rating (SCER) is an invaluable tool. It allows me to make informed choices about the digital products I use daily, knowing their environmental impact. SCER empowers us all to contribute to a sustainable future." - Emily Jones, Innovations User

Audience:
This standard is targeted toward individuals who use software either as a standalone product or as a service. By providing a rating system for carbon efficiency, consumers will be able to make informed decisions when choosing between similar offerings, such as music streaming services. Large organizations' procurement departments will also benefit from this rating system when making decisions about service contracts or software purchases. Additionally, software companies can use this rating system as a marketing tool to compete based on the efficiency of their offerings.
Governance: Which working group(s) do you think should govern this project?

[ ] Community
[ ] Open Source
[ ] Policy
[X] Standards

Problem:

Currently, there are no widely recognized standards for measuring the carbon efficiency of software. As a result, consumers are left in the dark when it comes to choosing software that is environmentally friendly.
Many companies lack sufficient information to make decisions regarding large-scale contracts for software services, especially when it comes to ensuring that these contracts align with the company's goals for reducing carbon emissions.
To ensure comparability, certain parameters must be controlled when implementing our Software Carbon Intensity (SCI) standard. Companies cannot advertise SCI as a competitive action.

There are no broadly accepted standards that implement a consumer-friendly rating for software carbon intensity. In Germany, the Blue Angels - DE-UZ215 Resources and Energy Efficient Software Products is the closest proposed. But this standard lacks adoption and does not address software other than desktop ones with graphical user interfaces.
Possible strategies and approaches were proposed in academic research, for example, Sustainable software products - Towards assessment criteria for resource and energy efficiency. This indicates a growing interest in software ratings that address sustainability.
Our proposed Software Carbon Efficiency Rating (SCER) presents a solution by establishing a comprehensive, globally applicable standard. SCER focuses on software's core functionality across various platforms, not just desktop ones. It enables comparability, aiding consumers and corporations alike in making environmentally-conscious decisions. By creating a controlled testing environment, SCER ensures fair competition among software providers and promotes transparency and accountability in the software industry. Ultimately, SCER is the next step in harmonizing digital innovation and environmental sustainability.
Solution: Try to make this as detailed as possible. The topics given below are just suggestions; address them only if they are relevant to your problem:

Rough design and scenarios on the probable effects, if any.
The use of diagrams is encouraged to elucidate concepts.
Address any possible objections.
Explain how the solution solves each of the problems listed in the problem section.

Our solution builds upon Aveva's research, which was presented in the Standards-WG. Aveva developed a test platform using standard hardware to assess various energy consumption levels for different software configurations. Our belief is that we can establish specific parameters, to a certain degree, for software of a particular category (e.g., databases) to make them comparable on this platform.
We'll define standard workloads for different categories of software and measure them accordingly. This involves categorizing software and setting standards based on the functional unit of the SCI standard. For instance, for a music streaming service, the functional unit could be "per non-cached minute of streamed music". However, our challenge is to develop guidelines that help us make informed decisions without being overwhelmed by the complexities of modern software architecture.
Closure:
The project's success can be determined by how widely accepted the standard is among consumers and technology companies. To measure consumer adoption, third-party entities can use our guidelines to evaluate software and provide scores. This third party can also create a business by offering these evaluation services, which could be seen as a measure of success. Additionally, if technology companies use their scores in marketing campaigns, it could also be considered a success for the project.

Adding link to previous GSF work - Evaluating SCI for foundation models at Inference Stage - https://github.com/Green-Software-Foundation/eval_sci_of_foundation_models/blob/main/Report/Final_Report.pdf

WG:
Adrian - seems valuable to have. TPC benchmark includes energy, but a moribund part of standard, optional, but not actively used. Are we interested in getting them to resuscitate? Good measure for energy methodology, but measuring maximum performance. https://www.tpc.org/tpc_energy/default5.asp, http://www.tpc.org/tpc_energy/presentations/tpc-energy-2.pdf
Henry - Maybe first step is to create a report/test for a few applications using approach to see how viable this process is. Test reception.
Navveen - spec -> reporting -> benchmark? as the process.
WG approves project.
Start may be delayed due to leave.

@tmcclell / @seanmcilroy29 to be clear is this issue closed or open? Has it been approved?

@jawache - The Standards WG has approved this and has now been submitted for the OC to review and approve

Thanks will add an agenda item to the next meeting to discuss clarification on the process here. The intention wasn't to add months to the startup time for an incubation project and take decision making out of the hands of the WG. More to give the OC a chance to object than to approve. We should also move the objection async, the OC meets infrequently.

Project Approved


how to work around the issue of "Azure OpenAI’s content management policy"

Hello experts,
I follow the guidance and use the Azure openAI LLM to try the examples. However I frequently encounter the issue of the  InvalidRequestError: The response was filtered due to the prompt triggering Azure OpenAI’s content management policy. I wonder how can I work around it. Thanks.
InvalidRequestError                       Traceback (most recent call last)
[<ipython-input-11-d4f430d92a36>](https://localhost:8080/#) in <cell line: 11>()
      9 QA_PROMPT = QuestionAnswerPrompt(QA_PROMPT_TMPL)
     10 query_engine = index.as_query_engine(text_qa_template=QA_PROMPT)
---> 11 answer = query_engine.query(query)
     12
     13 print(answer.get_formatted_sources())

32 frames
[/usr/local/lib/python3.10/dist-packages/openai/api_requestor.py](https://localhost:8080/#) in _interpret_response_line(self, rbody, rcode, rheaders, stream)
    685         stream_error = stream and "error" in resp.data
    686         if stream_error or not 200 <= rcode < 300:
--> 687             raise self.handle_error_response(
    688                 rbody, rcode, resp.data, rheaders, stream_error=stream_error
    689             )

InvalidRequestError: The response was filtered due to the prompt triggering Azure OpenAI’s content management policy. Please modify your prompt and retry. To learn more about our content filtering policies please read our documentation: https://go.microsoft.com/fwlink/?linkid=2198766

interesting, do you mind sharing which examples you are trying out?

Sure! The example is llama_index/examples/paul_graham_essay/, and the error occurred in the following code snippet:
query = 'What is most interesting about this essay'
QA_PROMPT_TMPL = (
    "We have provided context information below. \n"
    "---------------------\n"
    "{context_str}"
    "\n---------------------\n"
    "Given this information, please answer the question: {query_str}\n"
)
QA_PROMPT = QuestionAnswerPrompt(QA_PROMPT_TMPL)
query_engine = index.as_query_engine(text_qa_template=QA_PROMPT)
answer = query_engine.query(query) <-- error here

got the same error

Now it works

Now it works

I wonder how you fixed that? I have to modify paul_graham_essay by removing two chunks to by pass so.


custom_components.keba.number::KebaNumber is overriding deprecated methods

If secondary Wallbox is configured and not reachable, the first stopps working after restart of HA.
The Error is "error on initialize".
The Entities are there, but changing them stopps working. Even if I deactivate the second Wallbox.
I expected the first wallbox to work normal. The second lost ists power due to not enough solar-power, so this is daily
happening here.

Logger: homeassistant.components.number
Source: components/number/__init__.py:200
Integration: Nummer ([documentation](https://www.home-assistant.io/integrations/number), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+number%22))
First occurred: 12:11:17 (1 occurrences)
Last logged: 12:11:17

custom_components.keba.number::KebaNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom integration author

Changed the Subject because  the problem always happens if two wallboxes are configured.
Adding a second works until next restart. My current workaround is to manually configure both wallboxes after every restart.

Here a Screenshot how it looks like after EVERY restart of HA. (having the logs above in my systemlog)
If I delete both entitys and manually readd them, I can use them.

As far as I know, the problem is, that the integration puts both boxes to the same integration entry, because of ... (unclear as I struggle with it, too)
It says: 2 Geräte/devices. This always causes trouble on my side.
What I do is:

add first box.

rename it in the device dialog

Make sure you have enabled "advanced mode" in your profile settings, so the rename dialog will ask you to rename all entities, too. Without this, renaming is useless.
click "1 Gerät" and
click the pencil on the upper right corner.
rename it and also let it rename all entities.

add second box and rename it as well for easier recognition.

renaming from the device list (shown in the screenshot) does not help on this problem.

This makes a lot of troubles using automation and Templates. I cannot redo everything after each restart without errors.
I hope, someone can fix this.

Yes, it is fixed there! Thank you a lot for this hint!


add filter chain to Route configuration

it would be nice to be able to pre-filter routes before they're executed.
example api:
we could allow this to just be a function that returns true to continue and false to bail out early.
Backbone.Blazer.Route.extend({
  filters: [(routeData) => { // true continues, false bails early }]
});

but what do we do if we bail out early? we trigger error? sounds crummy.
--
another idea:
we could create a special object like Route
Backbone.Blazer.Filter = Marionette.Object.extend({
  test: function(routeData) { // true/false },
  failed: function(routeData) {
    // called if test returns false
    // allows this filter to handle what happens if it fails
    // e.g. an auth filter could have this do a redirect to the log-in view
  }
});

Backbone.Blazer.Route.extend({
  filters: [new AuthenticatedFilter()]
});

--
questions:

should this support asynchronous filters? (leaning toward no).

Have you used/looked at Ember's router? I think that the API they expose pretty much completely covers all of the use cases for a client side router. It might save you some bike-shedding if you look over their documentation a few times.

done in #19


Bug: Cannot run augur-sdk tests in intellij

Configured as follows:

@justinbarry: This works for me; lmk if it works for you.


improved compatibility with various OS, including Mac M1 and windows

Works fine on "x86_64-unknown-linux-gnu" target. So, I'm good with it.
Might need to ascertain Windows builds though.


Question: poetry.lock file required for license checking?

Question

[x] I have read the comment above and have completed each step

Hi,
thanks for the great project. I didn't know that I needed this, but this is really helpful. Yesterday I added this via the pre-commit hook.
My question is: Is the poetry.lock file required for license checking? I was unsure what I was doing wrong, I got "WARN: 'UNKNOWN' License not identified so falling back to NO_LICENSE" consistently in CI.
I am writing a library and added poetry.lock to .gitignore.
I tried to create a minimal example of what is going wrong in CI here: https://github.com/afuetterer/minimal-example
I think the issue might come from the missing lockfile. Could that be it?

Hey thanks for the issue. The lib will attempt to run poetry show, and it turns out that needs a poetry.lock file. See below
$ poetry show
Error: poetry.lock not found. Run `poetry lock` to create it.
$ poetry install
Updating dependencies
Resolving dependencies...

Writing lock file

Package operations: 30 installs, 1 update, 0 removals

...

Installing the current project: minimal-example (0.0.1)
$ poetry show
anyio               3.6.2     High level compatibility layer for multiple asynchronous event loop implementations
attrs               21.4.0    Classes Without Boilerplate
...
$ py -m licensecheck

                        list of packages
┏━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Compatible ┃ Package  ┃ License(s)                            ┃
┡━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ ✔          │ h11      │ MIT License                           │
│ ✔          │ sniffio  │ Apache Software License;; MIT License │
│ ✔          │ certifi  │ Mozilla Public License 2.0 (MPL 2.0)  │
│ ✔          │ httpcore │ BSD License                           │
│ ✔          │ idna     │ BSD License                           │
│ ✔          │ anyio    │ MIT License                           │
│ ✔          │ httpx    │ BSD License                           │
│ ✔          │ rfc3986  │ Apache Software License               │
└────────────┴──────────┴───────────────────────────────────────┘

Hope this helps :)

Hi @FredHappyface, thank you for the explanation. So I guess I will just commit the lockfile as well.
Thanks for your awesome tool.

Yeah that's probably worth doing for this. If you don't want to then make sure you do a poetry install/lock before running in cicd
Glad you find it useful!


Help Wanted: Mattermost for Microsoft Teams documentation would benefit from updated GIFs

Fixes #6907

Easy access links for testing:

http://mattermost-docs-preview-pulls.s3-website-us-east-1.amazonaws.com/6937/about/mattermost-for-microsoft-teams.html
http://mattermost-docs-preview-pulls.s3-website-us-east-1.amazonaws.com/6937/collaborate/collaborate-within-connected-microsoft-teams.html

@cwarnermm @johndavidlugtu this is ready for review now!

Tangential but thoughts on introducing the Beta label on the documentation @cwarnermm ?

@johndavidlugtu - Agreed; the Beta label should be added to the MS Teams documentation. I'll add it in a separate PR.


I broke Travis with ARM format?

⨯ treewalker failed         error=unable generate archive name: name_template "{{.ProjectName}}{{.Version}}{{.Os}}_{{.Arm}}{{.Arch}}" contains unknown conditional or ARM format. Please file bug at https://github.com/goreleaser/godownloader

https://travis-ci.org/goreleaser/godownloader/builds/549486217

yeah it would appear like :/
refs https://github.com/goreleaser/godownloader/issues/70

unfortunately I don't know how to fix this right now :(
I'm thinking it would be just easier to integrate this on goreleaser somehow...

I more or less fixed it


New elements table

added a new table for electronic polarizabilities to elements.h

I'm guessing there were not polarizability values for any of the other elements?

yep


Data is not correctly downloaded from Google when the table's header is in the form of 'Name | string'

The problem occurs when clicking the "Download" button. The number of entries in the table is correctly recognized, but all the entries are null.

The download procedure is implemented with the Load method in ScriptableObjectEditorClass.txt. The Load method calls GDataDB.Impl.GetTable<T> method written in Database.cs.
Maybe the Google Data API Client Library is outdated. The new library seems to be https://github.com/googleapis/google-api-dotnet-client .

Seems that the reason lies in the Deserialize method of class GDataDB.Impl.Serializer<T>  in GDataPlugin\Editor\GDataDB\GDataDB\Impl\Serializer.cs.
        public T Deserialize(ListEntry e) {
            var t = typeof (T);
            var r = (T) Activator.CreateInstance(t);
            foreach (ListEntry.Custom c in e.Elements) {
                var property = t.GetProperty(c.LocalName, BindingFlags.IgnoreCase | BindingFlags.Instance | BindingFlags.Public);
                if (property == null)
                    continue;
                    ...

Say I have a spreadsheet column with header 'id | string'. Then c.LocalName is expected to be 'id'. But actually its value is 'idstring'.


Fix max length of short descriptions and tuple names

Fixes #50

Recursive tuples analysis produced huge description string. Limit that.
Reduce number of stored types (we don't really need to store various combinations of arguments and return types at all, but that's a different issue).

Do you have any tests for this new character limiting behavior? (Other than uncommenting the broken one.)

Though it may not matter since we're going to be changing some of this "protocol" stuff in the future anyway...

@jakebailey - I am planning to add the test in the upcoming PR for #347 since that PR will change the description text anyway.


fix: allow dot in the username (like john.smith)

Allow dot in the username (like john.smith), which is a corporate standard in many organizations.

@netandreus is your regex correct? and allowed all previous patterns?

@netandreus I can't verify that easily. You'd better change the original regex as little as possible

@hsluoyz
(1) Original regexp:
ReUserName, _ = regexp.Compile("^[a-zA-Z0-9]+((?:-[a-zA-Z0-9]+)|(?:_[a-zA-Z0-9]+))*$")

(2) With just addition of "." symbol:
ReUserName, _ = regexp.Compile("^[a-zA-Z0-9]+((?:-[a-zA-Z0-9]+)|(?:.[a-zA-Z0-9]+)|(?:_[a-zA-Z0-9]+))*$")

(3) Optimized variant:
ReUserName, _ = regexp.Compile("^[a-zA-Z0-9]+([-._][a-zA-Z0-9]+)*$")

Variant (2) is closest to original regexp. Will we use that?