Signaling WouldBlock with empty data?

Hi,
I'm a little bit confused about how a WouldBlock is signalled.
Mio doc states:
With edge-triggered events, operations must be performed on the Evented type until WouldBlock is returned. In other words, after receiving an event indicating readiness for a certain operation, one should assume that Poll::poll may never return another event for the same token and readiness until the operation returns WouldBlock.
But your example goes like this:
match rx.read(&mut rx_buf) {
	Ok(b) => match b {
		b if b > 0 => {
			println!("{:?}", String::from_utf8_lossy(&rx_buf[..b]))
		}
		_ => println!("Read would have blocked."),
	},
	Err(e) => println!("Error:  {}", e),
}

i.e. it seems that blocking, and thus a signal that we can stop performing read on the serial port, is signaled via empty data. Is this a behavior not obeying the specs, or just me misunderstanding something?
On a related note: In your example is this:
if is_closed(ready) {
	println!("Quitting due to event: {:?}", ready);
	break 'outer;
}

Can I decide not to handle is_closed() explicitly, and just rely on rx.read() returning an error if the port becomes closed?

The mio docs state that for edge-triggered read operations the client should read until a WouldBlock error.  The default match case where b <= 0 should never be triggered because b will always have a size of at least one.  However, we still need the guard on the match case or rust will throw an error at compile time.  The logic could be more clear if I changed the println! to something like panic!.
For the second part:  It does look like you can just catch the error on read, and then check what type of error was raised .

Ok, in that case, is the guard on bytes count necessary at all? Also, according to MIO docs, with edge-triggered events we ought loop reading until a WouldBlock is received. Maybe this kind of example (replacing the part I've quoted in the first post) would be more correct? Or is there anything special about mio-serial MIO semantics?
loop {
    // With edge triggered events, we must perform reading until we receive a WouldBlock
    match rx.read(&mut rx_buf) {
        Ok(b) => println!("{:?}", String::from_utf8_lossy(&rx_buf[..b])),
        Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {
            break;
        }
        Err(e) => {
            println!("Error:  {}", e)
            break;
        },
    }
}

Hi, @berkowski ,
if you find time, what is your opinion on my last comment? We're implementing communication with measurement devices that needs to be pretty reliable, so I need to be sure about the correct way to use mio-serial. I've had issues before with TCP communication freeze when I didn't loop until WouldBlock, that's why I've raised the question with the example I think would be a proper way to handle MIO compatbile Evented read stream..

@dvtomas
Sorry about the delay.  I'm on a ship at the moment and internet access is pretty..... slow....
Your example code seems like it would work (minus the small missing ';' after the second prinln!).  I swapped in your method in the example and didn't see any change using the signals I can easily generate here at the moment.
My own knowledge of the internals of mio are limited to what their docs were about a year ago and it looks like they've put in a lot more work there since my last read.  I don't think there is much difference between the two methods in practice, but your version certainly reads better and seems more idomatic.

Cool, thank you for your investigation. Should I update the docs with my example and make a PR? Maybe even replacing println!("Error..") with panic! would better show the intent..
Enjoy your sail!

I'd welcome a PR with those changes :)  Otherwise I'll get around to it when I'm back on shore in December.


Add test from https://github.com/Raku/old-issue-tracker/issues/6233

I made an entirely new PR (712) so we should throw this one away.


BYOS for Saved Search Queries Powershell and Doc Misinformation

[Enter feedback here]
The section in "Configure BYOS for saved-search Queries" has errors in the PowerShell example: https://docs.microsoft.com/en-us/azure/azure-monitor/logs/customer-managed-keys?tabs=powershell#customer-managed-key-for-saved-queries-and-log-alerts E.g. Line 1 should not assign to "id", but just to the main variable, and the last night should just be StorageAccountId (not Ids) Additionally, if the connection already exists, the error message says to use the Update-* commandlet, when it should actually be the Set-* commandlet.
Linked to feedback item: https://azurefasttrack.visualstudio.com/Product Feedback/_workitems/edit/269009

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

ID: e2f4f9a8-9027-5983-1a74-72d2140adc3c
Version Independent ID: ff10bd22-215e-b21b-af99-679f4697cf81
Content: Azure Monitor customer-managed key - Azure Monitor
Content Source: articles/azure-monitor/logs/customer-managed-keys.md
Service: azure-monitor
Sub-service: logs
GitHub Login: @yossi-y
Microsoft Alias: yossiy

@vanessabruwer
Thanks for your feedback! We will investigate and update as appropriate.

Thank you for pointing this out, and help improving our documentations.
A fix was submitted now and should take a few hours to show.

#please-close


Allow to configure / specify indent characters when pretty printing

Currently json-simple is hardcoded to use a tab character. It would be nice if you could provide what to use instead, for example 2 x spaces, "  " or 4 x spaces "    " as a 2nd parameter to the petty method.

I like the idea of being able to specify indentation. It will probably be enumerated for tabs, 2 spaces, 3 spaces, and 4 spaces to prevent the method from producing invalid JSON.

This was included in the 2.2.0 release.


Add Soft Metrics, Revisions

Soft Metrics:

Add Strict suffix to existing metrics
Add Soft suffixed version of metrics with more relaxed requirements
Add function doesElementCoverPercentageOfViewport & supporting helper functions (we can't use Intersection Observer here, it seems)

Revisions:

Default isLcpStaticallyDiscoverable to true. I noticed that this is only ever evaluated if the LCP has an external resource, which means that we would be counting sites with LCP elements that are divs/etc as not statically discoverable, even though they don't have a resource in the first place.
Removed scan for svg LCP element hack, because the hack referred to in the article is actually an img element with the src attribute set to an svg.
Correct iframeElement.getAttribute('transparency'); -> iframeElement.getAttribute('allowtransparency');
Add function getAllStyles, which merges inline styles and computed styles.

Test Codepen: https://codepen.io/mel-ada/pen/KKQQqwp
WPT result with all new gaming metrics detected: https://webpagetest.httparchive.org/result/220530_H3_1Y/1/details/#waterfall_view_step1
"gaming_metrics":{
  "imgAnimationStrict":true,
  "imgAnimationSoft":true,
  "fidIframeOverlayStrict":true,
  "fidIframeOverlaySoft":true,
  "lcpOverlayStrict":true,
  "lcpOverlaySoft":true
}

@rviscomi @25prathamesh @tunetheweb I've addressed the feedback and added a link to a working WPT, this is ready for another look!

Ah thanks. Shall we merge this then? Can always pick up changes on the other branch.

HI @tunetheweb
I checked the current code we are adding a key in gaming_metrics JSON only if that hack is detected on page except lcpOverlaySoft , for lcpOverlaySoft its true/false need to be fixed.
I am running all gaming metrics tests some are failed that's need to be checked, You can merge current changes we will push fixes on other branch
WPT tests results
Detect chrome/pagespeed/gtmetric  user agent hack  (code inside external JS) - DETECTION PASSED
https://www.webpagetest.org/result/220531_AiDcSX_91R/1/details/#waterfall_view_step1
Detect chrome user agent hack (inline JS)  - DETECTION FAILED
https://www.webpagetest.org/result/220531_BiDcJ6_8ZW/1/details/#waterfall_view_step1
Fid Iframe Overlay -  DETECTION PASSED
https://www.webpagetest.org/result/220531_BiDc39_8YF/1/details/#waterfall_view_step1


[GHSA-4jhm-5f7g-75fp] Improper Limitation of a Pathname to a Restricted Directory in Jenkins

Updates

Affected products
References

Comments
Add some patch links related to CVE-2018-1000863.

Hey @sunSUNQ, I'm not sure I follow on how these commits are related to the advisory. Can you step me through it?


TypeScript type-color for lowercase types

First things first: awesome theme 😄
One wish though: type-declarations are highlighted very well, as long as they are capitalized. TypeScript often requires types written in lowercase, though.
Could you highlight lowercase-types as well? Maybe i could provide a PR for this, if this features is good for you.

Thanks for reaching out, Lars. I however do not understand what you're saying. Can you provide a screenshot or is there any other theme that does what you want?

Hi, yeah sorry, could've provided some screens in the first place 😄

The reason that I can't simply write every type capitalized is TypeScript itself:

TypeScript sometimes REQUIRES to have types written in lowercase. And I'd like to have lowercase types highlighted the same way as capitalized types.

The same goes for JSHint-Types:


FF 58+ enables font-display on all platforms

https://developer.mozilla.org/en-US/Firefox/Releases/58:

The font-display descriptor is now available by default on all platforms

🎉

Awesome news. Thanks!


Is there some api to export word/excel/ppt documents to svg or pdf or jpg?

Is this a:

[x] Question on library usage

Description
Is there some api we can use to export word/excel/ppt documents to svg or pdf or jpg?

Please review the issue template that questions on usage should be posted to Stackoverflow and keep this for actual issues on the SDK.
That being said, no there is no dedicated API to export documents to another format. The purpose of this SDK is to provide low-level access to packages and schema elements. What you do with them (ie exporting, etc) is beyond the scope of this project. There are other projects that build on this to provide such functionality. For instance, you may want to look at https://github.com/EricWhiteDev/Open-Xml-PowerTools for a bunch of higher level examples.

Thanks for your reply @twsouthwick

@twsouthwick Unfortunately Mr. Eric give us promise to support and develop PowerTools but he did not update anything yet.

@IrakliLomidze We are not supporting PowerTools for active development and if you find that @EricWhiteDev is not taking it in a direction that works for you, you can try to get involved in his fork or make your own.


Add a button/link to go to sherlocode

It'd be nice if there was a quick way to jump to shelocode from sherlodoc. Perhaps just a small button somewhere in the header?

There is now a button from sherlocode to sherlodoc, but not the opposite.
I am closing this issue as fulfilled, but I opened a new one that asks for the link in the opposite direction.


External Labels based HA

This feature branch will contain the implementation of
external labels based HA mode. Each Prometheus
instance will be able to identify itself with a cluster and
instance external label. Promscale will make sure to
let only one instance per cluster write to the database.

Before we merge this PR, I hope we can write some benchmark that shows the allocations of the existing non-ha code and then compare with this. Just want to make sure that we are not slowing down the expensive (high cpu) write path.


feat(curriculum): add depth-first search lab

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

The id needs to be added to the mongo-ids file in order to fix the failing test.

Forgot it. Now it should be fine :+1:


align versions to latest releases of Spring Boot 1.3.x (1.3.7) and cu…

…rrent Brixton release of Spring Cloud

If this passes your review @iocanel  would love a new release of spring-cloud-kubernetes :)

ok to test

[merge]


Renderer may have truncation error

hi, dear author,
Thanks for your excellent work!
I test the renderer, using the code like this:
 for i in range(5):
      cameras = PerspectiveCameras(
          R=R_pytorch3d,
          T=T_pytorch3d + torch.Tensor([0,0,i * 0.05]).type_as(T_pytorch3d),
          focal_length=focal_pytorch3d,
          principal_point=p0_pytorch3d,
          image_size=image_shape,
          device=device
      )

so the rendered result should move slightly. But actually, some images are exactly the same, which is not as expected.
My pytorch3d verson is   0.6.1. Can you reproduce this?

@clmforgit  Can you provide some gt images and render images?

@clmforgit Can you provide some gt images and render images?

the 5 blend images are generated using eval.py from a grid model, by modifying code of cameras to get 5 rendered seg for 1 gt image. It can be seen that the 2nd 3rd 4th images are exactly the same.

@clmforgit The first and last image are not the same in details. Moving 5cm for each image makes little changes.

@clmforgit The key reason is that your bev resolution is set to 10cm, if you want to see more details, decrease the bev resolution.

Yes, that makes sense. I doubt if it is a bug or something in pytorch3d.


Warning: Downloaded translations do not match current project configuration for en-US and en languaege in one project

i have following localization project file structure
source files

lang/ru.lproj/common/datapack.po
lang/ru.lproj/common/dialogs.po

with two language translations en

lang/en.lproj/common/datapack.po
lang/en.lproj/common/dialogs.po

and  en-US

lang/en_US.lproj/common/datapack.po
lang/en_US.lproj/common/dialogs.po

and have two configs for separate language (en and en_US) workflow
crowdin_config_ISO-639.yml

api_key: XXX
base_path: XXX
files:
- {source: /lang/ru.lproj/common/datapack.po, translation: /lang/%two_letters_code%.lproj/common/%original_file_name%}
- {source: /lang/ru.lproj/common/dialogs.po, translation: /lang/%two_letters_code%.lproj/common/%original_file_name%}
project_identifier: XXX

and crowdin_config_RFC-3066.yml

api_key: XXX
base_path: XXX
files:
- {source: /lang/ru.lproj/common/datapack.po, translation: /lang/%locale_with_underscore%.lproj/common/%original_file_name%}
- {source: /lang/ru.lproj/common/dialogs.po, translation: /lang/%locale_with_underscore%.lproj/common/%original_file_name%}
project_identifier: XXX

when i run UPLOAD workflow

crowdin-cli-py -c crowdin_config_ISO-639.yml upload sources
crowdin-cli-py -c crowdin_config_ISO-639.yml upload translations -l en
crowdin-cli-py -c crowdin_config_RFC-3066.yml upload translations -l en-US

upload working FINE
but when i run Download workflow

crowdin-cli-py -c crowdin_config_ISO-639.yml download -l en
crowdin-cli-py -c crowdin_config_RFC-3066.yml download -l en-US

for en_US language i have strange warning

Warning: Downloaded translations do not match current project configuration. Some of the resulted files will be omitted.

and en-US.zip unpacked to wrong language:

lang/en.lproj/common/datapack.po
lang/en.lproj/common/dialogs.po

how i can change file structure to try fix it?

i try change crowdin_config_RFC-3066.yml
and add

languages_mapping:
    locale_with_underscore:
        # crowdin_language_code: local_name
        en: en
        en-US: en_US

without any effect

Hi there! I've recreated and tested it with your configs. During that I haven't spotted

Warning: Downloaded translations do not match current project configuration. Some of the resulted files will be omitted.

download works perfectly for both en and en_US.
There is some warning in project settings page from crowdin but I don't know if it has any effects:

If incorrect variables are used for resulting file names, during the export some languages might be overwritten by other languages which share the same code.
For example, if %two_letters_code% variable is used and there are Portuguese and Portuguese, Brazilian target languages in the project, exported translations will be placed in the same directory — pt.
We strongly recommend to switch to another allowed variables to prevent any issues whilst the project build.

I was using crowdin-cli-py v. 0.95.2,  Russian as source language, English and English, United States as target languages.

Oh, my bad it's not working correctly. I tasted your configs on different projects and did see a warning you have mentioned. This is what I figured out:
if you are using %two_letters_code%  and make "upload sources && upload translation" than all download translations will be placed on "en.lproj" even if you use 'another config with %locale_with_underscore% ' or 'download -l en-US'  . Its because of that warning from crowdin.
To make download command put translations in "en_US.lproj directory" you need use a config with '%locale_with_underscore%' than make "upload sources && upload translation", it will overwrite project settings on crodwin, and allow you after 'projects is built again' download en_US translations correctly.

thanks for quick reply
i merge two different config to one
with %osx_code% placeholder

api_key: XXX
base_path: XXX
files:
- {source: /lang/ru.lproj/common/datapack.po, translation: /lang/%osx_code%/common/%original_file_name%}
- {source: /lang/ru.lproj/common/dialogs.po, translation: /lang/%osx_code%/common/%original_file_name%}
project_identifier: melesta-coffee-alconost

and use
en.lproj
en_US.lproj
for language catalog directory names
and use following workflow

crowdin-cli-py -c crowdin_config.yml upload sources
crowdin-cli-py -c crowdin_config.yml upload translations -l en-US
crowdin-cli-py -c crowdin_config.yml upload translations -l en

crowdin-cli-py -c crowdin_config.yml upload translations -l en
crowdin-cli-py -c crowdin_config.yml upload translations -l en-US


git-lfs1: remove

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Do we need to add this to aliases.nix with a throw?

It's a legacy versioned package. I think we can just drop it. There is a update-to-date ngrok-2/ngrok.
I can add an alias If you think it's necessary.
Same with #175225.

Gonna assume the nr of users is about 0.


update master

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 89.18919% with 4 lines in your changes missing coverage. Please review.

Project coverage is 82.67%. Comparing base (67dda9c) to head (a9d4f1b).
Report is 3 commits behind head on master.

Files with missing lines
Patch %
Lines

aqme/qdescp_utils.py
88.00%
3 Missing :warning:

aqme/qdescp.py
91.66%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #212      +/-   ##
==========================================
+ Coverage   82.17%   82.67%   +0.50%
==========================================
  Files          17       17
  Lines        4958     4929      -29
==========================================
+ Hits         4074     4075       +1
+ Misses        884      854      -30

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[OSD] do not enforce auth on api/status

Description
Allow for the API status for OSD not to enforce auth.
https://github.com/opensearch-project/security-dashboards-plugin/pull/943
Signed-off-by: Kawika Avilla<EMAIL_ADDRESS>Issues Resolved
n/a
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Close this for now as we have another PR.


Overload issues with TaskResult on generic functions

Describe the bug
A function that takes a function as parameter cannot have its result bound with let! or do!, whereas the same works with task just fine.
To Reproduce
    let testTR someFunction = taskResult {
        let! x = someFunction()
        return x
    }

Expected behavior
No exception, as with task. I.e., the following works:
    let testTR someFunction = task {
        let! x = someFunction()
        return x
    }

Here, someFunction is inferred to be of unit -> #Task<_>. Similarly, with TaskResult, I'd expect something like unit -> #TaskResult<_, _> to be the top pick.
Desktop (please complete the following information):

OS: Windows, Linux, MacOS
Version: any, afaik

Additional context
I realize this request may be considered dubious. After all, TaskResult accepts several concrete types, and if no information is given, which one should be chosen, right?
But the same could be said for task, which accepts task-like, ValueTask and Task/Task<_>.
My guess is that this can be solved by slightly changing the priorities in the overload resolution, but I haven't tried that yet myself. If "impossible", or considered too ambiguous a request, I won't lose sleep over it, promised! :)

Yeah it's probably an overload resolution issue This may be a consequence of the Source member overloads as well. I'm definitely willing to take a PR for this :)

Will be available in v5


Fix selectable=false still selects rows

The select row function was still called for selectable=false. This patch fixes that.
A possible alternative is to put this check in onCellClick and not calling onRowClick if selectable is false. I'm not sure what you'd prefer but this works for me.
Fixes #2176

Thanks a lot, such a nasty bug :fearful:


Roots fairies causing OpenGL Error 1281 - "Invalid value"

Here is a pastebin of the logs. Here is a link to a save that has it happen.
The save happens to be near a fairy circle, but the error popped up then and again in seemingly random places in the past. Upon testing in a creative world, spawning a fairy and looking at it immediately causes the error to start. If I turn away from the fairy, the error no longer happens.
My specs are:
i7-3630QM @ 2.40GHz
8GB RAM
Radeon HD7970M
Windows 7 x64.

I'll keep an eye on this for roots 3.

Have not seen this issue for roots 3, leaving it open for roots 2 as an known issue until roots 3 is released

The culprit seems to be in the way ModelFairy.java uses OpenGlHelper.setLightmapTextureCoords() right here:
https://github.com/EpicSquid/Roots/blob/788a4ec0c5cf13db8c636b73332d9c6c0204e97a/src/main/java/teamroots/roots/model/ModelFairy.java#L99
Why is the first parameter 1? I changed the line to
OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, 240f, 240f);
and the OpenGL error has stopped.
Doing this as I play Exoria modpack, which includes roots-2-0.104.

@grompe Thanks for the information, apologies for the delay in responding to this. As was noted above, the issue will not be fixed as the Roots 2 codebase and mod have been entirely retired in favour of the latest version, but we'll make sure not to copy that error in going forwards.

Thanks for the update! The fairies coming in 3.1 will hopefully not cause this issue with your fix :)


Update README.md

I have tried using it. and I think it's a mistake in README.

thank you, merged

strange！
I insert image use ![alter](some.png) than I can not find pic in the post page
but I use ![alter](post/some.png) I can see the pic


Feature request: cluster size histogram

Anybody who has to deal with clusters will need to make use of the size distribution at some point.  It's not hard to cough up a script to take the cluster file and make it into a cluster size distribution histogram, but it would be better done once in mmseqs itself.   Other useful columns for the cluster size distribution would be the percent of genes, the percent of clusters in that bin, and cumulatives on those starting from size 1 (singletons).
It would also be useful to calculate the following summary statistics and log them as well as writing them to a JSON file:

Number of sequences in
Total number of characters in the sequences
Average sequence length
Number of singletons
Fraction of genes in singletons
Size of largest cluster
Fraction of genes in largest cluster
Modal cluster size (peak of size distribution)
Fraction of genes in modal cluster
Which space was used (NA or AA)
Run parameters
processors used
run times

Thanks for listening.

I like the idea, we have a summarizing module for taxonomy with taxonomyreport, doing something analogous for clustering sounds useful.


Add tips for using async on Windows on Python 3.8

Add a tip for #3981. Should I mention the temporary fix in this answer (or add the link to the tip)?

fixes #3981

I'd say the current info is enough.


167 plugin volume not about to be mounted into agent action job on aks

What does this change
Added ability to specify storage class name for volumes created by the Agent Config controller so that a proper storage class can be selected that supports the required capabilities
What issue does it fix
Closes #167
Notes for the reviewer
Tested this in both KinD and AKS. Should extend the integration tests for the operator to test in all supported clouds
Checklist

[ ] Did you write tests?
[ ] Did you write documentation?
[ ] Did you make any API changes? Update the corresponding API documentation.

Just read the access mode descriptions and readwriteonce won't work since it can't be held by multiple nodes. Going to test out readwritemany

@sgettys I know we spoke more after you opened this PR about changing which storage class we are using. Is this PR ready to review or do you want me to wait for the full solution?

@sgettys I know we spoke more after you opened this PR about changing which storage class we are using. Is this PR ready to review or do you want me to wait for the full solution?

It will be ready today, just need to roll back access modes to what was there previously and add some documentation around storage classes

@carolynvs this is ready for review

@sgettys -  I am facing the same issue when I am trying to install a package on AKS, getting the volume mount error. I have installed 0.8.2 version of Porter Operator in my AKS cluster.
I am a first time user of porter. Could you please tell me what do i need to change in AgentConfig? I tried adding  storageClassName: managed to default agentconfig but no luck. If you can tell me the right steps, it will be very helpful.

@sgettys - I am facing the same issue when I am trying to install a package on AKS, getting the volume mount error. I have installed 0.8.2 version of Porter Operator in my AKS cluster. I am a first time user of porter. Could you please tell me what do i need to change in AgentConfig? I tried adding storageClassName: managed to default agentconfig but no luck. If you can tell me the right steps, it will be very helpful.

Did you follow the directions here? https://github.com/getporter/operator/blob/main/docs/content/administrators/configure-porter-agent.md
For AKS the storageClassName should be azureblob-nfs-premium not default. You can also list all of the built in storage classes in your cluster with kubectl get storageclass and make sure the azureblob-nfs-premium is listed. Here’s some docs about AKS and storage classes
https://learn.microsoft.com/en-us/azure/aks/concepts-storage

Thank you for the quick response @sgettys. I did not look at the article.
I went ahead and edited the default agentconfig itself. But i am still getting the same error. Do i need to create a custom one? If yes how i do i refer the same in my installation?
Normal   Scheduled               14m                   default-scheduler        Successfully assigned unifieddeployment/azuredep-15-trdxh-rsvkf-2dwp2 to aks-agentpool-28266374-vmss000001
Normal   SuccessfulAttachVolume  14m                   attachdetach-controller  AttachVolume.Attach succeeded for volume "pvc-54b60455-3a8b-4794-b421-3e449e26a3b1"
Warning  FailedMount             6m9s (x2 over 8m24s)  kubelet                  Unable to attach or mount volumes: unmounted volumes=[porter-plugins], unattached volumes=[kube-api-access-q95w9 porter-shared porter-config porter-workdir porter-plugins]: timed out waiting for the condition
Warning  FailedMount             3m51s (x2 over 12m)   kubelet                  Unable to attach or mount volumes: unmounted volumes=[porter-plugins], unattached volumes=[porter-config porter-workdir porter-plugins kube-api-access-q95w9 porter-shared]: timed out waiting for the condition
Warning  FailedMount             97s (x2 over 10m)     kubelet                  Unable to attach or mount volumes: unmounted volumes=[porter-plugins], unattached volumes=[porter-shared porter-config porter-workdir porter-plugins kube-api-access-q95w9]: timed out waiting for the condition
Warning  FailedAttachVolume      86s (x14 over 13m)    attachdetach-controller  AttachVolume.Attach failed for volume "pvc-4a56288b-f82c-4b70-a5d6-1d036d51820f" : rpc error: code = InvalidArgument desc = Volume capability not supported


Question about edge bridge

Hi Todd,
This looks like a really good alternative to what we are using at the moment.
A question though, is it possible to get SmartThings to talk back to devices? For example, I have a 12v siren and a relay hooked up to an ESP8266 NodeMCU board running Tasmota and we would love to be able to toggle the siren in the ST app and it turn it on, but do it through the edge bridge since we want everything local.
Not sure if this possible with your edge bridge?
Cheers in advance!
Nate

Hi there; sorry for the long delay before responding.
To answer your question, yes, you could set something up using edgebridge.  You would probably need a couple automation routines to accomplish this.  I have a LAN Trigger driver you could use on the SmartThings side to receive notifications from your device (via edgebridge) and then you could have a routine set up in SmartThings to toggle your siren device whenever the state changes in the LAN Trigger device.
An alternative to this setup is to use something like MQTT.  If your device supports it, it can be a bit more straightforward to implement: edgebridge not required, and I happen to already have a SmartThings MQTT siren device you could use.  That would eliminate extra devices and automations on the SmartThings side.


update for glibc 2.33

Fixes

Fix build error "mallinfo is deprecated" with glibc 2.33.
Fix sqlite3.c compiler warning with gcc 11.1.1 on a6le.
Fix sqlite3.c warnings are not disarmed when CC='ccache gcc'.

Proposed changes
Summarize changes here. Note any breaking changes.

Use mallinfo2 if glibc version >= 2.33.
Add -Wmisleading-indentation to the set of warnings we mute for sqlite3.c.
Unquote "${CC}" in x86* Linux makefiles so we still tame sqlite3.c warnings when CC='ccache gcc'.

Thanks for the quick review, Bob!


Can we add a custom frame at the end of the video (Part of the Video)?

Need to add a frame with OTP just after the actual video(Part of the Video).

Or can we add permanent watermark(as test not image) along with video somewhere?


in support and maintenance, second container failed to align horizontally

The container has been successfully aligned horizontally now, changes have been merged


COBOL - Extract the compilation listing stored in dwarf format in a loadmodule

Description of the enhancement requested
We use IBM Z Open Editor to edit the source code of our COBOL programs.
We use (will use) IBM Dependency Based Build to build our loadmodules from COBOL sources.
We are moving from the world of traditional mainframe development to the world of continuous integration and continuous delivery, with storage of build results in a package manager and not directly in environment PDS.
The synchronization of listings (required for debugging) and loadmodules becomes complex.
We have chosen to use the storage of debug information in general, and of the full compilation listing in particular, in the loadmodule in dwarf format (our debug tool, which is not IBM's, is compatible with the dwarf format, hooray!).
A priori there is no longer any reason to keep the compilation Listing as such since it is stored in the loadmodule and can be retrieved via an utility (not necessarily easy to find).
It is still necessary to have an easy-to-use procedure for extracting the Listing, with a little cleaning for a better presentation.
This procedure for extracting a Listing from a loadmodule could be offered by IBM Z Open Editor since it is both the tool for editing source codes and the tool for triggering user constructions.
In practice, things could be handled according to the following scenario:

use Zowe Explorer to browse the list of members of a loadlib, (dwarf informations can also be stored outside of loadmodule)
by a contextual menu on a member, request the display of csect
from the list of csect, by locating the one that contains the dwarf information, request the extraction of this information
at this time, trigger an ssh script which will extract the dwaf information, (IBM ZOE already uses ssh for IBM User Builds)
display of the extraction result in a view of the VS Code editor, possibly a Webview.

The utility for extracting dwarf information is dwarfdump (uss) or CDADUMP (mvs), which comes standard with z/OS.
z/OS Common Debug Architecture - dwarfdump
dwarfdump options: -zt export the expanded source listing (with resolution of copybooks)
-a         display all debug sections
-b         print .debug_abbrev
-c         print .debug_loc
-d[...]    display options:
   a         use all display options below
   d         dense form: one line per DIE entry
   e         ellipsis: short names for tags, attributes
-f         print .debug_frame
-h         the help menu you are reading now
-i         print .debug_info
-k[...]    perform checking on dwarf information:
   a         perform all checks
   b         examine abbreviation codes
   e         examine attributes of pubnames
   o         examine relocation info
   r         examine attr-tag relation
   t         examine tag trees
   x         examine attributes of pubtypes
   y         examine type info
-l         print .debug_line
-m         print .debug_macinfo
-o         print relocation sections
-q         print ELF file information
-r         print .debug_aranges and .debug_ranges
-s         print .debug_str
-t[...]    fast lookup table:
   a         print all sections
   f         print .debug_funcnames
   n         print .debug_pubnames
   t         print .debug_pubtypes
   w         print .debug_weaknames
   v         print .debug_varnames
-u<file>   print sections only for specified file
-v         verbose: show more information
-x         print .debug_xref
-z[...]    display source related sections:
   a         print all source sections
   f         print .debug_srcfiles
   r         print .debug_srcattr
   t         print .debug_srctext

Note: dwarf does’nt store « listing » but store « expanded source ». Dwarf store also informations needs for debuging.

Hi,
An alternative tool to dwardump exists in the products IBM Fault Analyzer for z/OS, z/OS Debuger (EQA), Application Performance Analyzer for z/OS (CAZ), Automatic Binary Optimizer and Application Delivery for z Systems (IPV), under the generic term LANGX:

xxxLANGX: produces a LANGX file from a Listing, or SYSADATA
xxxLANGP: produces a Listing file from debug information including dwarf format
xxxLANGO: specific Automatic Binary Optimizer

IPVLANGX, IPVLANGP, and IPVLANGO
Unfortunately (?), we don't use any of these products, (nobody is perfect).


feat: update to use JOSDK 3.1 and latest Quarkus extension

bump java operator sdk version to latest 3.1.0
updated version
fix: remove now obsolete property
fix: update wrong dependency
chore(deps): update Quarkus version
chore(deps): update Quarkus version
fix: update outdated dependency, add comment

This is meant to replace #98.

Looks good to me but I will try the new SDK bundle generation today and then approve it once everything is running perfectly. I will close #98 as this PR is also updating dependency versions.


Add option to emit stream of logs where each chunk represent a log line

Would you like to work on this feature?
yes
What problem are you trying to solve?
When I implemented the log_stream on my app, I was under the impression that each chunk of bytes from the stream would have exactly one log line.
For my use case, I care about each individual line because I need to prepend other stuff like container name, timestamp, etc.
In some cases the Kubernetes API seems to write multiple log lines which causes a visual mess like this:

Describe the solution you'd like
I found this commit https://github.com/kube-rs/kube/commit/2c8d7815b2663ae573735532849fa84d182c3b4d which seems to revert a previous implementation where the stream would buffer lines by looking for new line delimiter.
To avoid breaking changes, I would like to propose a new function:
impl<K> Api<K>
where
    K: DeserializeOwned + Log,
{
    /// Fetch logs as a string
    pub async fn logs(&self, name: &str, lp: &LogParams) -> Result<String> {
        let mut req = self.request.logs(name, lp).map_err(Error::BuildRequest)?;
        req.extensions_mut().insert("logs");
        self.client.request_text(req).await
    }

    /// Fetch logs as a stream of bytes
    pub async fn log_stream(&self, name: &str, lp: &LogParams) -> Result<impl Stream<Item = Result<Bytes>>> {
        let mut req = self.request.logs(name, lp).map_err(Error::BuildRequest)?;
        req.extensions_mut().insert("log_stream");
        self.client.request_text_stream(req).await
    }

+   /// Fetch logs as a stream of bytes where each chunk represent a log line
+   pub async fn log_stream_lines(&self, name: &str, lp: &LogParams) -> Result<impl Stream<Item = Result<Bytes>>> {
+       ...
+   }
}

Describe alternatives you've considered
I can obviously implement this on my side, but it might be useful to have this on kube-rs, so I'm open to PR this.
Documentation, Adoption, Migration Strategy
No response
Target crate for feature
kube-client

IMO a separate function would be better, is all you need is just stream the logs to stdout or somewhere else, the existing function be better without all this extra dance to handle multiple lines. But I'm fine either way!
I didn't know about LinesCodec, does that make it easier to just pipe into the other stream? I'm not very familiar with futures/async, still learning!
This is a snippet of what I have, which I'm not proud, but it works for me! 😅
        let new_line = b'\n';
        let mut prev_buffer = Vec::new();
        loop {
            match logs.try_next().await {
                Ok(Some(chunk)) => {
                    let chunk_lines = chunk.split_inclusive(|byte| *byte == new_line);
                    for chunk_line in chunk_lines {
                        prev_buffer.extend_from_slice(chunk_line);

                        // if the line ends with a new line, we have a complete log line
                        if chunk_line.ends_with(&[new_line]) {
                            let line_bytes = prev_buffer.drain(..);
                            emit(line_bytes.as_slice());
                        }
                    }
                }
                Ok(None) => ...
                Err(err) => ...
            }
        }

This is a snippet of what I have

hehe i am sure that works, but I would look at what we do with the LinesCodec with FramedRead + StreamReader in request_events. That would make it more portable (and it can also help us setup infinite watches in the future - as it stands log streams end up timing out just like regular watches).

IMO a separate function would be better, if all you need is just stream the logs to stdout or somewhere else, the existing function be better without all this extra dance to handle multiple lines. But I'm fine either way!

hm, idunno, i feel this depends the breaking ends up interfering with normal streaming or not. like once we have received a full log-line it should be emitted without having to wait for the next one to break - which i assume will just work if each line is sent with a trailing newline. if this stuff just works then there's really not any major downside to have the extra layer in between. the expectation that people get one line per event is already there.

One thing I noticed in tests the last couple of weeks as Kubernetes 1.26 has become more available in k3d on CI:

log lines generally used to come in as one-line-per-chunk
since 1.26 they now seem to come with potentially many lines per chunk

This caused CI test failures that were first fixed in https://github.com/kube-rs/kube/pull/1166 and we never saw these failures before these last weeks despite running for a year.
I honestly think we should just add in line buffering by default. It's probably what users expect (especially if they have set things up pre-1.26).

hello, I'd like to take this on. I had a question regarding the use of LinesCode. since LinesCodec decodes Bytes into String, would it be fine to change the item type of the returned stream from Bytes to String, i.e. Result<impl Stream<Item = Result<String>>>?
I'd assume that people assume logs to be strings anyway, so it should be fine and it'd save them the trouble of having to convert the bytes into a string.

Yeah. Personally, I think that's a reasonable default stance to take (use lossy utf8 decoding to string decode) in this day and age. Kubernetes logging uses their CRI logging defaulting to JSON file and JSON has to be UTF-8 encoded.
That said (unnecessary rabbithole collapsible)

journald seems to allow binary data (supported by cri logging)
filebeat allows setting custom encodings
logstash allows setting charset

so afaikt, there are no guarantees that rogue apps in customised clusters won't have non unicode seeping through somewhere, but i doubt even kubectl logs would even handle this. their tests are all just using strings.
anyway, if people need to actually have complete accuracy of non utf-8 data, they probably won't be choosing logs to submit their data anyway given chances of failure at basically every level.

ah but unfortunately, LinesCodec performs strict utf8 decoding instead of lossy utf8 decoding, which I think might be a deal breaker as it could potentially break setups where some non-utf8 bytes are present and users were performing lossy utf8 decoding to get around that.
but on the other hand kube_client::client::Client::request_text() also seems to perform strict utf8 decoding and given that this function is just a streamable counterpart of the former, one could make the argument that its fine to be strict about utf8 here as well.

We've not had anyone complain about the encoding (nor have i seen any bugs about it in kubectl), so it's probably still fine to by default assume utf8 to allow us to return string lines for a nicer api.
It makes the most sense to me focus on the happy path first, and let cluster exploration tools (probably going to be the biggest user of this type of api, since most real log collection is usually done through the host nodes) gain the benefits from having buffered, full lines under an easy api. They could also potentially just skip errored lines if some fail initially. If it actually becomes a problem then people can raise an issue for more advanced usage.


About the dataset

May I ask how many audio files were used for the LibriTTS, JVS, and noise datasets respectively?

Thank you for your interest in my work.
Please check the corresponding dataset website for details about the dataset
LibriTTS-R
JVS
TAU Urban


XIB instead of storyboard.

I want to use this library in my project but i am using XIB in my project so can you please do it with XIB rather then storyboard.Waiting for your responce.

@anjaliTrivedi You can load XIB into UIViewController, its simple.


Typo in the release-notes/releases-index.json file

Looks like in the releases-index.json, for .Net Core 2.2.6 which should be in the second block in the releases-index section, the latest-release property should be 2.2.6. But is is 2.2.401 instead, which is the latest .net sdk version.
This value also doesn't match the latest-release value in the corresponding releases.json file.
We have a .net core tracker tool which will parse the releases-index.json file and download the latest version of .Net core and .Net sdk automatically. This typo caused our .Net core tracker crashed.
Could you pls fix this?

Why would this crash your "tracker"? Looking through the history it appears to jump between the SDK version and the runtime version. Wouldn't it be easier for you to analyse the latest-release-date section in the parsed JSON?


Change default value for timeout

Hi !
Currently the default timeout is 100 seconds. For inattentive users the abrupt stop of the computation is surprising and hard to debug. Maybe like 10 minutes (or 600 seconds) would be more sensible.
Also, not sure how to best implement that but it would be great if users could pass hours or minutes directly. One way to do that would be to overload how click CLI loads this argument and have a regexp parser converting the string to an int in seconds allowing syntax like:
--timeout 3h #understood as 3 hours
--timeout 60 #understood as 60 seconds
--timeout 10m #understood as 10 minutes

Again thanks for the great tool !

Hello,
I actually like the default timeout to 100as this avoids launching very large computations without thinking about how long it will take and this makes running a first example when you discover benchopt  or debugging runs fast to run.
We could raise it to a larger timeout like 600 (which would still be compatible with the first goal) but then we loose the default "fast to run" property. Not sure what others think on this one? @agramfort @mathurinm ?
For the "hard to debug" part, I am not sure why you say it is surprising? The output is supposed to clearly state that the solver reached a timeout, showing a yellow done (timeout) . Is this not explicit when you run this (e.g. because we should display the timeout value) or did it not report this properly?
For passing the timeout with m, h, I am all in for this (this is tiresome to do the conversion). Maybe we can make use pd.to_timedelta(x).total_seconds() which should make the right conversion I think, except for integer which would need to be special cased.

Hi !
Thanks for the answer maybe the term "hard to debug" was a bit of an overstatement I apologize. It's just that coming from a "mini-batch SGD DL" background, an ML training almost never takes less than a couple of minutes even for very very lightweight architectures and few data. Therefore I was not expecting such a low timeout. But I feel this is a fundamental difference between the theoretical optimization community that was the intended target audience of benchopt and the DL crowd.
It does show up on the log, but since it does not fail or interrupt the flow of logs I did not pay attention and was careless and tried to find a bug in the code before I re-checked the logs to find that out. This is why I used the word "inattentive user".
Therefore my very biased viewpoint would be to have indeed a larger timeout.
Regardless of the value of the default passing a certain number of hours instead of seconds would be great !
Regarding the implementation details maybe pandas is indeed the way to go !
Thanks for the feedback anyways !

I would prefer to keep the timeout to 100s. Now what can be done is to
print at the end of the run
WARNING : A number of runs did not completed by the time out period
specified (100s). You can increase this period with ...

Message ID: @.***>

I think we converge to keeping the default to 100s and #535 added proposed formatting for timeout.
In the display, we also show which solvers where stopped due to timeout so I am closing this one but feel free to reopen if needed.


update configuration for PDF generation

Docs Build status updates of commit 80f5d1a:
:warning: Validation status: warnings

File
Status
Preview URL
Details

toc.json
:warning:Warning

Details

bread/toc.json
:warning:Warning

Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

sysinternals/bread/toc.yml
:white_check_mark:Succeeded

sysinternals/docfx.json
:white_check_mark:Succeeded

toc.json

[Warning] Error happen when converting toc.json to Pdf. Details: Could not find file 'T:\suws\toc.json'.

bread/toc.json

[Warning] Error happen when converting bread/toc.json to Pdf. Details: Could not find a part of the path 'T:\suws\bread\toc.json'.

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

Docs Build status updates of commit 1ce6576:
:warning: Validation status: warnings

File
Status
Preview URL
Details

bread/toc.json
:warning:Warning

Details

toc.json
:warning:Warning

Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

sysinternals/bread/toc.yml
:white_check_mark:Succeeded

sysinternals/docfx.json
:white_check_mark:Succeeded

bread/toc.json

[Warning] Error happen when converting bread/toc.json to Pdf. Details: Could not find a part of the path 'T:\xubb\bread\toc.json'.

toc.json

[Warning] Error happen when converting toc.json to Pdf. Details: Could not find file 'T:\xubb\toc.json'.

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


Elastic threadpool RFC

Something I worked on over the weekend and would like to get some feedback on.  The premise is that threads are started on demand and scale up to some TBD limit.  I'll comment inline on places that still need improvement.
One benefit is that it makes it possible to use libuv in an environment that restricts threading.

I'll have a look!

@saghul WDYT?

Sorry, got distracted :-S I'll review tomorrow for sure.

Left some comments, but the idea SGTM. Some pseudo-random thoughts on the matter:

should we have a min_threads concept as well? That is, we can scale elastically, but always keep a set of threads available, to avoid the overhead of always having to create one if operations in the threadpool are sporadic.
since the threadpool would now be elastic, why have a max threads clamp?
how about some uv_threadpool_resize API to change the min and max threads at runtime?

should we have a min_threads concept as well? That is, we can scale elastically, but always keep a set of threads
how about some uv_threadpool_resize API to change the min and max threads at runtime?

That sounds reasonable.

since the threadpool would now be elastic, why have a max threads clamp?

To stop runaway thread creation?  Most operating systems can only handle a limited number of threads before performance and throughput (both in-process and system-wide) starts to seriously degrade.
An unlimited number of threads also isn't that useful if the individual threads are mostly CPU-bound (which they normally aren't with internal work but can be for work that comes in through uv_queue_work().)

To stop runaway thread creation? Most operating systems can only handle a limited number of threads before performance and throughput (both in-process and system-wide) starts to seriously degrade.

Just to clarify, I mean this clamp:
#define MAX_THREADPOOL_SIZE 128

If the user wants to set the maximum to 256 and bring their systems to a halt it's all good by me :-) I'd go with a note in the documentation.

Closing this in favor of #267. @bnoordhuis will be writing a new LEP.


StaticLambdaFixer - introduction

Lambda's not (indirect) referencing $this must be declared static.
$ php php-cs-fixer describe static_lambda
Description of static_lambda rule.
Lambda's not (indirect) referencing `$this` must be declared `static`.

Fixing examples:
 * Example #1.
   ---------- begin diff ----------
   --- Original
   +++ New
   @@ -1,2 +1,2 @@
    <?php
   -$a = function () use ($b)
   +$a = static function () use ($b)
   ----------- end diff -----------

Lambda's should be Lambdas

@SpacePossum
Interesting! Was going to ask why that makes sense - then I found this: http://php.net/manual/en/functions.anonymous.php#functions.anonymous-functions.static

thanks @ntzm , I'm no native English speaker (and even within my native language I'm not very good with spelling and grammar), so corrections like yours are most welcome :)

@localheinz your link reminds me that I should mark this fixer after all,
as we've no way to check if somewhere a bindTo call is done on the callable... sadly

expect tests to fail

Thank you @SpacePossum.


Fix DialogActionManager::send_dialog_action in secret chats

The code recently introduced in DialogActionManager::send_dialog_action makes the assumption that, since we'd either have early returned or DialogManager::have_input_peer would return true; that the else block of the conditional, which intended to set input_peer, should have done so successfully.
However, DialogManager::have_input_peer will return true for secret chats when contacts_manager->have_input_encrypted_peer
And DialogManager::get_input_peer will return a nullptr for secret chats by design
(I believe this is because they operate using structures that are currently incompatible)
There is a block in DialogActionManager::send_dialog_action meant for handling Secret Chats that will return early and avoid using the locally scoped data, like input_peer, being prepared at the beginning of the function.
This should fix the root of a crash that happens when typing in or sending messages (like ones with attachments) to secret chats on: Telegram X <IP_ADDRESS>8-arm64-v8a (99b10675)
TDLib: 1.8.23 (tdlib/td@4bafdc2)
My proposed change moves the Secret Chat block up to before anything is done to prepare locally scoped data objects that aren't used in the case of secret chats.
Note that it doesn't include the return when is_dialog_action_unneeded, and I do not have the familiarity to know if that is still useful to check first.
If this is the case, it may be better to simply move the CHECK(input_peer != nullptr); to after the block meant to handle secret chats, because it is after point where we will access that pointer, and would therefore want it set.

Thank you!
You have analyzed the code and source of the crash correctly.

If this is the case, it may be better to simply move the CHECK(input_peer != nullptr); to after the block meant to handle secret chats, because it is after point where we will access that pointer, and would therefore want it set.

Yes, this would be the correct fix. The code was moved from MessagesManager mostly intact, but the CHECK was added in the wrong place. It should be moved below the secret chat case to fix the issue.

Thank you, @LiruMouse!


How to turn off verbose axios output to console?

Sometimes I run into Google API rate limits. In this case axios raises and error. My real problem is that axios puts hundreds of lines to the console, making the output completely unreadable. As axios is used by this module under the hood, I have no idea how to turn the verbose output off. Is that possible?

I'm sorry, it's totally controllable, my bad that I didn't realize.

How did you fix it? @g-borgulya


Fix UART receiver

According to #890
[bug] uart issue after #883 upd
The change is in neorv32_uart.vhd file
On line 289:
From rx_engine.sreg(8 downto 1) to rx_engine.sreg(7 downto 0)

Thanks for fixing! :+1:


Always enforce a version property for info object

Part of the OpenAPI spec

Done with a default of '0.0.1' and enforce with Joi.required() on info object. Due for release in v7.0.0


build: fix script to upload preview

Launcher Frontend preview: https://1204-pr-app-launcher-frontend-fabric8-launcher.surge.sh

Storybook preview: https://1204-pr-storybook-launcher-frontend-fabric8-launcher.surge.sh

This PR was deployed in the following URLs for your appreciation:

Launcher Frontend preview: https://1204-pr-launcher-app-launcher-frontend-fabric8-launcher.surge.sh
Storybook preview: https://1204-pr-storybook-launcher-frontend-fabric8-launcher.surge.sh


Epic: Add support for L2VPN attributes to the Topology Data Model specification

Add support for L2VPN attributes to the Topology Data Model specification. Bump it to version 2.0. It should include VLAN ranges, per-domain services, and support or not for VLAN translation.

First draft created and shared via Slack. Link to it:
https://docs.google.com/document/d/1lgxjIT144EFu1G_OVcU19hN1cSUT_v2-tE0Z-7UlkNg/edit?usp=sharing

@lmarinve and @yifei666 , please review it.


Remove Aegis from Helm charts.

Helm charts file have the Aegis header.
They have to be replaced with the following as per VMware OSPO guidance.
# /*
# |    Protect your secrets, protect your sensitive data.
# :    Explore VMware Secrets Manager docs at https://vsecm.com/
# </
# <>/  keep your secrets… secret
# >/
# <>/' Copyright 2023–present VMware, Inc.
# >/'  SPDX-License-Identifier: BSD-2-Clause
# */

In addition, the current repository user is vsecm
so any aegishub repo will now be vsecm
Here’s an example
aegishub/aegis-ist-safe will become => vsecm/vsecm-ist-safe

Fixed by #7

Fixed by #64


PEM force to create new Push certificate even if set --force: false

New Issue Checklist

[x ] Updated fastlane to the latest version
[ x] I read the Contribution Guidelines
[x ] I read docs.fastlane.tools
[x ] I searched for existing GitHub issues

Issue Description
In previous time, pem will not renew Push certificate if the Certificate has expiry date more than 30 days.  But recently, a month ago, pem forces to create new  Push certificate even if the Push Certificate has been created since few minute.
I already set option --force false  but pem still  forces to create new one.
 pem(generate_p12: true, p12_password: 'xxxxxx', pem_name: APP_NAME, force: false)

Current log, even if I has just created Push notification in few minute before.
14:36:40]: Starting login with user<EMAIL_ADDRESS>[14:36:42]: Successfully logged in
[14:36:43]: Creating a new push certificate for app 'com.abc.abc'.
[14:36:47]: Private key: /Users/Shared/Home/iOS_fastlane_Match/workspace/APP.pkey
[14:36:47]: p12 certificate: /Users/Shared/Home/iOS_fastlane_Match/workspace/APP.p12
[14:36:47]: PEM: /Users/Shared/Home/iOS_fastlane_Match/workspace/APP.pem
Environment

fastlane gems

Gem
Version
Update-Status

fastlane
2.54.3
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.0

slack-notifier
1.5.1

CFPropertyList
2.3.4

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.1

rouge
1.11.1

xcpretty
0.2.4

terminal-notifier
1.7.1

terminal-table
1.4.5

plist
3.2.0

public_suffix
2.0.4

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

excon
0.54.0

faraday
0.10.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20161129

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.2

json
1.8.3

mini_magick
4.5.1

multi_json
1.12.1

multi_xml
0.5.5

rubyzip
1.1.7

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.1.1

bundler
1.13.6

faraday_middleware
0.10.1

uber
0.0.15

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.1.0

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
<IP_ADDRESS>

google-api-client
0.13.4

io-console
0.4.5

🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.11.6

Ruby
2.3.3

Bundler?
false

Git
git version 2.10.1 (Apple Git-78)

Installation Source
~/.rbenv/versions/2.3.3/bin/fastlane

Host
Mac OS X 10.11.6 (15G1108)

Ruby Lib Dir
~/.rbenv/versions/2.3.3/lib

OpenSSL Version
OpenSSL 1.0.2j  26 Sep 2016

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.2.1

Hey @biolinh, could you try setting the active_days_limit parameter to a reasonable number of days? That is supposed to default to 30, but I'm curious if something may be going wrong in there. Thanks! 🚀  🐙

Hi @ohayon. Thank you for your respond.
I try to renew Push Certificate of the app expired in 10 days (Sep 09, 2017)

with the command:
pem --generate_p12  true -p 'xxxxxx' --pem_name  "magento-test" --force  false —active_days_limit 30
CASE 1: The first time, it generated a new one
+------------------+--------------+
|      Summary for PEM 1.4.1      |
+------------------+--------------+
| generate_p12     | true         |
| p12_password     | ********     |
| pem_name         | magento-test |
| force            | false        |
| development      | false        |
| save_private_key | true         |
| output_path      | .            |
+------------------+--------------+
[10:31:20]: To not be asked about this value, you can specify it using 'username'
Your Apple ID Username<EMAIL_ADDRESS>[10:31:26]: Starting login with user<EMAIL_ADDRESS>[10:31:29]: Successfully logged in
[10:31:30]: To not be asked about this value, you can specify it using 'app_identifier'
The bundle identifier of your app: com.abc.app.magento-test
[10:31:37]: Creating a new push certificate for app 'com.abc.app.magento-test'.
[10:31:39]: Private key: /Users/linh/Documents/magento-test.pkey
[10:31:39]: p12 certificate: /Users/linh/Documents/magento-test.p12
[10:31:39]: PEM: /Users/linh/Documents/magento-test.pem
Then I got the complete new one beside the exited one.

CASE 2: Run the command again
pem --generate_p12  true -p 'xxxxxx' --pem_name  "magento-test" --force  false —active_days_limit 30
it returns
+------------------+--------------+
|      Summary for PEM 1.4.1      |
+------------------+--------------+
| generate_p12     | true         |
| p12_password     | ********     |
| pem_name         | magento-test |
| development      | false        |
| force            | false        |
| save_private_key | true         |
| output_path      | .            |
+------------------+--------------+
[10:36:52]: To not be asked about this value, you can specify it using 'username'
Your Apple ID Username<EMAIL_ADDRESS>[10:37:01]: Starting login with user<EMAIL_ADDRESS>[10:37:05]: Successfully logged in
[10:37:05]: To not be asked about this value, you can specify it using 'app_identifier'
The bundle identifier of your app: com.abc.app.magento-test
[10:37:07]: Creating a new push certificate for app 'com.abc.app.magento-test'.
[10:37:09]: {"responseId"=>"e7831efb-59c4-417f-9733-5963c8f80a1a", "resultCode"=>7460, "resultString"=>"Maximum number of certificates generated", "userString"=>"You already have a current Apple Push Services certificate or a pending certificate request.", "creationTimestamp"=>"2017-08-31T03:37:05Z", "protocolVersion"=>"QH65B2", "userLocale"=>"en_US", "requestUrl"=>"https://developer.apple.com/services-account/QH65B2/account/ios/certificate/submitCertificateRequest.action", "httpCode"=>200}
[!] You already have 2 active push profiles for this application/environment. You'll need to revoke an old certificate to make room for a new one
CASE 3:  Run the command 2 times. I got the same results as above.
pem --generate_p12  true -p 'xxxxxx' --pem_name  "magento-test"  —active_days_limit 30
CASE 4: Run the command
pem --generate_p12  true -p 'xxxxxx' --pem_name  "magento-test"
i got
+------------------+--------------+
|      Summary for PEM 1.4.1      |
+------------------+--------------+
| generate_p12     | true         |
| p12_password     | ********     |
| pem_name         | magento-test |
| development      | false        |
| force            | false        |
| save_private_key | true         |
| output_path      | .            |
+------------------+--------------+
[10:36:52]: To not be asked about this value, you can specify it using 'username'
Your Apple ID Username<EMAIL_ADDRESS>[10:37:01]: Starting login with user<EMAIL_ADDRESS>[10:37:05]: Successfully logged in
[10:37:05]: To not be asked about this value, you can specify it using 'app_identifier'
The bundle identifier of your app: com.abc.app.magento-test
[10:37:07]: Creating a new push certificate for app 'com.abc.app.magento-test'.
[10:37:09]: {"responseId"=>"e7831efb-59c4-417f-9733-5963c8f80a1a", "resultCode"=>7460, "resultString"=>"Maximum number of certificates generated", "userString"=>"You already have a current Apple Push Services certificate or a pending certificate request.", "creationTimestamp"=>"2017-08-31T03:37:05Z", "protocolVersion"=>"QH65B2", "userLocale"=>"en_US", "requestUrl"=>"https://developer.apple.com/services-account/QH65B2/account/ios/certificate/submitCertificateRequest.action", "httpCode"=>200}
[!] You already have 2 active push profiles for this application/environment. You'll need to revoke an old certificate to make room for a new one
It SEEMs it try to create a new one.

**CASE 4:**  Make a lane, it verified that the expired date more than 30 days and no need to create a new one

 lane :test do
     pem(generate_p12: true, p12_password: 'xxxxx', pem_name: ENV["APP_NAME"], force: false)
  end

I got
11:41:14: --- Step: pem ---
11:41:14: -----------------
+-------------------+--------------------------------+
|               Summary for PEM 2.54.4               |
+-------------------+--------------------------------+
| generate_p12      | true                           |
| p12_password      | ********                       |
| pem_name          | magento-test                   |
| force             | false                          |
| development       | false                          |
| active_days_limit | 30                             |
| save_private_key  | true                           |
| app_identifier    | com.abc.app.magento-test |
| username          |<EMAIL_ADDRESS>    |
| output_path       | .                              |
+-------------------+--------------------------------+
11:41:14: Starting login with user<EMAIL_ADDRESS>[11:41:17]: Successfully logged in
[11:41:18]: Existing push notification profile for 'com.abc.app.magento-test' is valid for 395 more days.
[11:41:18]: You already have a push certificate, which is active for more than 30 more days. No need to create a new one
[11:41:18]: If you still want to create a new one, use the --force option when running PEM.
BUT in Case 5:
Make a lane, it verified that the expired date more than 30 days, it created a new one even if  the certificate has just been created.

lane :test do
sh "fastlane produce enable_services --push-notification"
pem(generate_p12: true, p12_password: 'xxxxx', pem_name: ENV["APP_NAME"], force: false)
end

I find the same error i get.
[11:47:18]: --- Step: pem ---
[11:47:18]: -----------------
+-------------------+--------------------------------+
|               Summary for PEM 2.54.4               |
+-------------------+--------------------------------+
| generate_p12      | true                           |
| p12_password      | ********                       |
| pem_name          | magento-test                   |
| force             | false                          |
| development       | false                          |
| active_days_limit | 30                             |
| save_private_key  | true                           |
| app_identifier    | com.abc.app.magento-test |
| username          |<EMAIL_ADDRESS>    |
| output_path       | .                              |
+-------------------+--------------------------------+
[11:47:18]: Starting login with user<EMAIL_ADDRESS>[11:47:20]: Successfully logged in
[11:47:20]: Creating a new push certificate for app 'com.abc.app.magento-test'.
[11:47:24]: Private key: /Users/.../magento-test.pkey
[11:47:24]: p12 certificate: /Users/.../magento-test.p12
[11:47:24]: PEM: /Users/.../magento-test.pem
I find out the error that it I run the command enable the push notification then generate a new push certificate, it will force to renew one

Hmm, I think that this has something to do with the fact that by calling produce first, and enabling push notifications, that it is changing the state of the certs on the developer portal. Is there a reason why you are calling produce every time?

@ohayon
Yes, I create a lane to create a application for first publishing.  and I set a rule if input is 1 then call the createnewapp lane but input isnot 1, it doesn't call it. but my enduser usually forget that.
Beside that, in previously, if they forget that it doesn't force to renew Push certificate.

...
if publishing == '1'
createnewapp
end
...

lane :createnewapp do
sh "fastlane-credentials add --username FASTLANE_USER --password KEYCHAIN_PASSWORD"
produce(
username: FASTLANE_USER,
app_name: APP_NAME,
team_id: TEAM_ID,
team_name: TEAM_NAME,
app_identifier: BUNDLE_ID,
language: PRODUCE_LANGUAGE ,
sku: BUNDLE_ID,
company_name: TEAM_NAME,
itc_team_id: DELIVER_TEAM_ID,
skip_itc: 'false'
)
sh "fastlane produce enable_services --push-notification"
pem(generate_p12: true, p12_password: 'xxxxxx', pem_name: APP_NAME)
sh "fastlane-credentials remove --username $FASTLANE_USER"
end


Mathematical Modeling of Disease

It's often possible to mathematically model the spread of a disease given a few parameters. It might be helpful to use this to give a risk assessment to people based on their geographic location and other data we collection about the disease. More information about the basics of mathematically modeling disease spread can be found here.

closing - we are not considering modeling disease with our current versions and scope


System Prompt reset in Split Chat mode

Description
When chatting with multiple personas in split chat mode, the 2 system prompts are not correctly used from the personas they belong to, but they seem to take View[0]. TBA
Device and browser
Web.
Screenshots and more
No response
Willingness to Contribute

[X] 🙋♂ Yes, I would like to contribute a fix.

This has been fixed with the recent refactor to take out the Ephemerals. As part of that the system prompts are now get per-chat instead of reusing the active chat. 👍


Flutter app crashes on startup on some older ChromeOS devices

Steps to reproduce
I've not been able to reproduce the bug locally, but after updating my app from flutter 3.13 to 3.24.4 a number of users have got in touch to say the app crashes on startup on their device. They are all using older asus chromebooks (ASUS C302C, Acer N15Q8 etc), and asking one user to install another flutter app they also reported the same issue (https://github.com/immich-app/immich/tree/v1.120.1/mobile). I am using crashlytics, but havn't seen any failures in there.
Expected results
The app should open as expected on all supported devices.
Actual results
Some ChromeOS devies cause the app to crash
Code sample
N/A
Screenshots or Video
No response
Logs
No response
Flutter Doctor output
N/A

I've been unable to reproduce this myself due lack of hardware (so can't test the counter app), but have managed to get some specs from one customer. They have ChromeOS version 103.0.5060.132 (running Android 9 build R103) on a device I think has 4GB RAM and a Celeron N3060.
Nothing particularly complex on startup (reading some data from a SQLite DB).

Hi @Jon-Salmon, I'm not entirely sure if the ChromeOS version is linked to the chrome versions, but if it is, then those versions of chromeOS would be unsupported by flutter. See https://docs.flutter.dev/reference/supported-platforms

It is not running flutter web, ChromeOS allows running android apps so it was flutter android where the issue was. The user was using android 9.

Hi @Jon-Salmon, can we get the crash logs? That would be helpful in investigating the issue


mismi-s3: Add warning docs about read' function

/cc @nhibberd @charleso @jystic

👍  from me, but would defer to @nhibberd for the final word

Yeah can't hurt :cake:


Update cookie policy with link to full policy

Add url with cookie policy
update current footer with link to said policy

policy to be provided

added placeholder for the privacypolicy until someone provide it
https://github.com/itsyouonline/identityserver/commit/170c7b620b493855beb1917efda2df2606f47ba6


Onagre fails to build

Describe the bug
cargo install --git https://github.com/oknozor/onagre gives the error
   Compiling onagre v0.1.0 (/home/username/.cargo/git/checkouts/onagre-5ec73ca0dbe9bcb0/6168926)
error[E0599]: no variant or associated item named `Window` found for enum `IconSource` in the current scope
  --> src/freedesktop/mod.rs:29:33
   |
29 |                     IconSource::Window(_) => todo!("What is this ?"),
   |                                 ^^^^^^ variant or associated item not found in `IconSource`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `onagre` due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `onagre v0.1.0 (https://github.com/oknozor/onagre#61689266)`, intermediate artifacts can be found at `/tmp/cargo-installrromDa`

on Fedora 35 Workstation

@VarLad thanks for spotting this, the pop-launcher version was outdated, it should be fixed now.


MSID: 96892 Version: 1 DOI: 10.1101/2<IP_ADDRESS>5105

MSID: 96892
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>5105
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=96892
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>5105

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/96892v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>5105
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/96892/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

Hi @fred-atherden, Figure 9 missing from preview and preprint (not in PDF). OK to ask author to submit a new version to bioRxiv with Figure 9 included in PDF?

Well spotted thanks @rkcook312.
Yes I agree, it's worth reaching out to the authors. It may be that this is a caption which just needs removing (I don't see them refer to it in the text)? Ideally they would update the preprint, but we could also handle it if they sent the missing file over (or confirmed it should be deleted).
Also I didn't realise bioRxiv would mark this up as a fig. Definitely one to add to the rp-schematron.

no response, chased author

Hi @fred-atherden, the authors have now updated their preprint (caption for figure 9 now removed), full-text for v3 is now available, please can the meca package be updated, thanks!

Thanks @rkcook312. It doesn;t look like we have access to the v3 just yet:
https://api.biorxiv.org/meca_index/elife/all/2<IP_ADDRESS>5105
{
  "status": [
    {
      "count": 1,
      "messages": "ok"
    }
  ],
  "results": [
    {
      "msid": "575105",
      "tdm_doi": "10.1101/2<IP_ADDRESS>5105",
      "ms_version": "2",
      "filedate": "2024-02-08",
      "tdm_path": "s3://transfers-elife/biorxiv_Current_Content/February_2024/08_Feb_24_Batch_1881/4f218736-71b8-1014-9998-dc2027cb5251.meca",
      "transfer_type": "api"
    }
  ]
}

I'm going to move the reviews across to the v3 in the event that speeds things up at all

@rkcook312, looks like we now have access to the v3 meca package. I've uploaded it to s3://prod-elife-epp-meca/96892-v1-meca.zip.
Will still need a reimport via temporal (if you don't mind doing so)


Support for Fused Attention + FP8

from @drisspg
Summary
Cuddn supports fused_attention with FP8 inputs.
See: https://docs.nvidia.com/deeplearning/cudnn/developer-guide/index.html#flash-fused-multi-head-att-fp8
There already exists a PR on PyTorch to add support for the Cudnn Backend to SDPA:https://github.com/pytorch/pytorch/pull/101916
This seems like a potential path attention support for FP8
copied from https://github.com/pytorch-labs/float8_experimental/issues/111

I am putting together a larger RFC here: https://github.com/pytorch/ao/issues/1071


TypingModuleDocumentationExample_2 test fails

Fairly significant update needed. When handling overloads parameters and return types need to be merged and reduced.

https://github.com/Microsoft/python-language-server/pull/146


Sunbird ED Search Widget Week or Milestones 3 Update

Project
Sunbird ED Search Widget/Discovery
Changes

Set up the mock server for testing the component library.
Completed the filter widget fetching and displaying of options via API Sunbird ED.
Dynamic Labelling of the options and displaying corresponding values present in the API.
Created the Card component

Tailwind CSS card
Simple CSS card

@jayesh212 Can you merge this PR, if everything is good.


Suggestion: Add BlendyPose to Mocap/Animation

I found this addon by chance. Unfortunately it seems to be pretty unknown and I couldn't find any Tutorials for it. It is pretty awesome and deserves some exposure. Basically, I need someone to show me how to link the mocap points to a model/armature.
https://github.com/zonkosoft/BlendyPose

added, thanks for contribution.


SAMZA-2150: Update the config/index.md for 1.1 release.

Update the release variable in config.yml to generate javadocs.
Update the index.md to point to 1.1-src url that would allow users to download the samza-1.1 source.

@vjagadish1989 Can you take a look.


Cloudera Eucalyptus theme update

Updates the Appsembler cloudera-dogwood theme for use with Eucalyptus.
Sandbox URL:

LMS: https://eucalyptus-theme-updates.stage.opencraft.hosting
CMS: https://studio-eucalyptus-theme-updates.stage.opencraft.hosting

Testing instructions:

Create a student account on the ondemand.cloudera.com site, and register for one of the Free, Self-Paced courses on offer.
Compare the theme deployed to the sandbox with the theme on ondemand.cloudera.com to ensure there are major irregularities.

Author notes and concerns:

Please be aware that ondemand.cloudera.com is the public customer site, so be careful if posting to discussion boards.
We haven't moved all the custom templates into standard edX locations; we've only updated the existing files to work with Eucalyptus.  So some Eucalyptus features (e.g. Bookmarks) may be missing entirely.
I've enabled edX Search on the sandbox instance, but haven't seen the search indexes update properly yet.  So course searches from the Dashboard return 0 results.

Reviewers

[ ] OpenCraft TBD

Bugs I noticed:

The next/prev links at the bottom of a content unit are different colors than before:

The navigation bar appearance is not correct:

Expected:

Actual:

Tab underline appearance on the Account Settings page is not correct:

Expected (but with different colors):

Actual:

Forms on the account settings page do not match the previous theme

Expected:

Actual:

Bugs I noticed that we should fix in the future (not introduced by this PR):

The menu is not really optimized for desktop use. When opening the mobile menu (big blue screen), if you click on the "x" in the top right but your cursor is between the "spokes" of the X, it doesn't close.

@bradenmacdonald  Thank you for your thorough review!  I'm working through your comments, but will have to finish up on Monday.

Next/prev links look ok to me?  The disabled buttons are grey, and the enabled ones are darker.  Maybe it's because Eucalyptus lets you sequence-nav between sections, and so the live Dogwood site is showing grey buttons everywhere, for sections with only one unit?
TODO Nav bar and hover text
TODO Tab nav on the Account Settings page
e28d1d8 fixes the responsive widths for the Account Settings form.  Also, I chose to use the default Eucalyptus style for the <select> elements, since they're prettier than the old grey boxes.
448d6a3 renamed _cloudera-dogwood.scss to _cloudera.scss.
TODO: update README.md
TODO: make #site-menu-toggle wrapper div clickable instead of just the spokes of the animated X, if it's not too hard to fix.

@pomegranited Thanks for those changes!

Next/prev links look ok to me? The disabled buttons are grey, and the enabled ones are darker. Maybe it's because Eucalyptus lets you sequence-nav between sections, and so the live Dogwood site is showing grey buttons everywhere, for sections with only one unit?

Sorry, my bad. I probably compared a disabled one with an active one :-/

@bradenmacdonald Ok, I think I've addressed everything now.  What do you think?

Next/prev links are ok.
ab337e2 Courseware nav bar and hover text, and course navigation menu.
499cfb6 addresses tab nav on the Account Settings page
e28d1d8 fixes the responsive widths for the Account Settings form.  Also, I chose to use the default Eucalyptus style for the <select> elements, since they're prettier than the old grey boxes.
448d6a3 renamed _cloudera-dogwood.scss to _cloudera.scss.
ff4f135 Updates README.md
56d8a58: makes #site-menu-toggle wrapper div clickable instead of just the spokes of the animated X.

@pomegranited Thanks! Looking good but I noticed a few more things:

56d8a58: makes #site-menu-toggle wrapper div clickable instead of just the spokes of the animated X.

Now, clicking anywhere, including on a nav menu link, closes that blue popover. "Close by clicking anywhere" is perhaps ok, but seems weird. Whether you meant that or not, clicking the nav links should not close that menu.

Account Settings form looks nice, but there's an issue when making any change:

Minor: the animations when hovering over/off of the next/prev navbar buttons above the courseware are very weird (in Chrome at least). The blue underline goes all over the place:

The middle part that you fixed in ab337e2 seems fine.

Readme: Please remove the "Overview", "Why this new architecture?", "Warning", "Usage - templates and content", and "Usage - styling" sections. Add in a new Overview section which just says "This is a custom Open edX LMS theme (comprehensive theme) used by Cloudera. It is compatible with the Eucalyptus release of Open edX and newer." Mention how to build the CSS (presumably "make build" or do nothing? The content in "Usage -styling" seems out of date).

@bradenmacdonald Thank you for your thorough review!

Ah oops.. I didn't notice that I'd increased the clickable area to the whole popup!  I've fixed it properly with 03c12c2.
Fixed with 8849a96.  Thanks for spotting that!
Fixed with a32d68e.  I'd seen that, but couldn't figure it out..  Turns out it's related to the problematic button:not(:disabled) CSS that affected everything under .course-content!  So I limited it part to just .seq_content.
Fixed with 74f3b47.  I've added the make build instructions to the Theme Authoring section.  We shouldn't have to do anything when installing the theme on a normal instance.

:+1:

[x] I tested this: on the sandbox, extensively.
[x] I read through the code
[ ] I checked for accessibility issues: This theme has major a11y issues, but I'm going to consider those out of scope for this upgrade. I will open a Trello ticket.
[x] Includes documentation: Minimal, but yes


[NEW THEME] Jira (atlassian.net)

Dracula for Jira webapp (with Stylus)
https://github.com/eros404/jira

Well, it seems that atlassian started to implement a dark mode to their web app. And i'm not so happy with mine...


operators name

@Tabwire @AustinLeath is it possible to make a new tree for the operator data since i can only see the kills and no other data. i tried changing my script and i still can't see the data you guys have supplied

@Tabwire


Using tensorflow to compute gradients w.r.t. spectral decomposition error

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug or a feature request.
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): YES
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS High Sierra 10.13.1
TensorFlow installed from (source or binary): pip install tensorflow
TensorFlow version (use command below): v1.2.0-5-g435cdfc 1.2.1
Python version: 3.5.2
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A
Exact command to reproduce: see code

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
Hi,
I'm having issues with evaluating the gradients of eigenvalues/eigenvectors with respect to the underlying matrix. Tensorflow evaluates the gradients, however when compared against analytical derivations the gradients are generally inconsistent (I understand numerical can be unstable). I'd like to understand is there's a bug in the gradients or if a different methodology was employed to the one cited below.
We are using tf.self_adjoint_eig to evaluate the spectral decomposition for the tensorflow variable input. We have initialised this with a symmetric matrix to satisfy the self adjoint operator property. We wish to take the derivative of individual eigenvalues or eigenvector with respect to the original matrix (note for eigenvectors we take one element from one eigenvector, e.g. element 2 in eigenvector 1 to avoid the issue of gradient aggregation for now).
The methodology for evaluating analytical gradients of eigenvalues and vectors of a symmetric real matrix can be found in the paper "On differentiating Eigenvalues and Eigenvectors" by Magnus (1985), Theorem 1 eqn (6) + (7). We evaluated using our input matrix the gradients under this paper and compared it to tensorflow evaluated gradients and the gradients from finite difference approximation. For the eigenvalues, the gradients are similar (identical on diagonal entries, off by a factor of 2 on off-diagonal elements), however the eigenvectors are off by quite a bit outside the diagonal entries. To start, define a matrix A as (excuse the matrix output formatting from Python)
A=[[-3 -2  4]
[-2  1  1]
[ 4  1  5]]
using np.linalg.eig and tf.self_adjoint_eig on A (I simply initialised a variable with A and computed the gradient for the tf implementation)
Tensorflow eigenvalues: [-5.43071561  1.76904987  6.66166575]
Python eigenvalues: [-5.43071561  6.66166575  1.76904987]
I now wish to evaluate the gradient of eigenvalue 1 (-5.43071561) w.r.t. A.
Analytical gradient:
[[ 0.75896178  0.28555906 -0.31842553]
[ 0.28555906  0.10744148 -0.11980748]
[-0.31842553 -0.11980748  0.13359674]]
Tensorflow gradient:
[[[ 0.75896178,  0.        ,  0.        ],
[ 0.57111812,  0.10744148,  0.        ],
[-0.63685107, -0.23961495,  0.13359674]]]
The diagonal entries are the same but the off-diagonal entries are clearly off by a factor of 2.  Now we try and evaluate gradients for the eigenvectors.
Tensorflow eigenvectors:
[[-0.87118413 -0.31452619 -0.37697678]
[-0.32778267  0.94426587 -0.0303395 ]
[ 0.36550888  0.09713517 -0.92572567]]
Python eigenvectors:
[[ 0.87118413  0.37697678 -0.31452619]
[ 0.32778267  0.0303395   0.94426587]
[-0.36550888  0.92572567  0.09713517]]
We try and find the gradient of the eigenvector 1 element 2 (+/-0.32778267). We expect the tensorflow gradient to the equivalent to the analytical gradient (after taking into account the sign difference).
Analytical gradient:
[[ 0.03511309 -0.10795607 -0.01312188]
[ 0.01321128 -0.04061843 -0.0049371 ]
[-0.01473184  0.04529341  0.00550534]]
Tensorflow gradient:
[[[-0.03511309,  0.        ,  0.        ],
[ 0.09474478,  0.04061843,  0.        ],
[ 0.02785372, -0.04035631, -0.00550534]]]
Besides the entries being different on the off-diagonal, one issue is that tensorflow only returns the lower triangle of the gradient. Despite A being symmetric, the contribution to the gradient is not symmetric as shown in the analytical evaluation above. Thank you for reading!
TL:DR, I'd like to understand where the gradient computations are coming from and why they differ substantially to the results we have been using in our research.
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.
Here is a script that reproduces the above.
eigen_decomp_examplev2.py.zip

Thanks for your detailed explanations! Since this doesn't look very much like a bug or a feature request, though (there is a chance that a bug is in here, in which case please file another issue once you can demonstrate it), please ask your question on Stack Overflow, which is much better suited for community support questions.
Thanks!


Feature Request / Clarification

Hello,
Currently in Ubuntu if I drag a file into the console - it produces the following path:
file:///home/shaunak/caffe/data/cifar10/data_batch_1.bin
However this is not directly readable by open. Thus if I take the filename with input and use the drag drop feature, I cant read it.
In Canopy on windows this worked without issue. Perhaps this feature can be implemented?

Which console? python/ipython?

Python
On Tue, 14 Apr 2015 10:26 pm Gonzalo Peña-Castellanos <
<EMAIL_ADDRESS>wrote:

Which console? python/ipython?
—
Reply to this email directly or view it on GitHub
https://github.com/spyder-ide/spyder/issues/2326#issuecomment-93049906.

So it works as you expect in the iptyhon console?

 I don't have a computer near me
for the next 8 hours. I'll email back soon.
On 14 Apr 2015 22:38, "Gonzalo Peña-Castellanos"<EMAIL_ADDRESS>wrote:

So it works as you expect in the iptyhon console?
—
Reply to this email directly or view it on GitHub
https://github.com/spyder-ide/spyder/issues/2326#issuecomment-93052115.

@Shaunakde ???

Hey, I replied to the earlier post.
So iPython works as expected across platforms. I also did a but of checking
and this seems to be a ubuntu trait. It was not the case on Centos 6.5
Thanks for the time.
On Sun, Apr 19, 2015 at 5:51 PM, Gonzalo Peña-Castellanos <
<EMAIL_ADDRESS>wrote:

@Shaunakde https://github.com/Shaunakde ???
—
Reply to this email directly or view it on GitHub
https://github.com/spyder-ide/spyder/issues/2326#issuecomment-94270771.

--
Shaunak De
http://shaunak.de/

:+1:  no prob!


Bug: AutoLink crashes the editor

Type in the playground.lexical.dev:
<EMAIL_ADDRESS>and it crashes the editor

Seems https://github.com/facebook/lexical/commit/1f2471fda0d268174a40ab5bedbf5ec149caf29d as the culprit
@MaxPlav and @StyleT


Ignore markdown formatting when adding a "" in front of it

In markdown, you can add a \ in front of formatting characters (like * and _) so it doesn't format.
Example:

With formatting: hi (*hi*)
Ignore formatting: *hi* (\*hi*)

This has been corrected (finally), along with some other Markdown improvements. Sorry for the delay!


Updates for Swift 1.2 beta language changes

Please merge

@retsohuang Promissum 0.2.3 has Swift 1.2 support.
The CocoaPod has been published.
On Saturday 11 April 2015 at 11:56, Retso Huang wrote:

Please merge
—
Reply to this email directly or view it on GitHub (https://github.com/tomlokhorst/Promissum/pull/5#issuecomment-91812302).

Thanks


Dynamically rendered individual radio buttons do not sync state properly

Reproduction
https://formkit.link/be4c8360cf08e096ef2f470e3f71a5fb
Describe the bug
When dynamically rendering individual <FormKit type="radio" /> components in a v-for loop with programmatic values, the radios do not behave properly. Though they share a name, their values can only be set concurrently and not toggled between.
In the provided playground example, the dynamic_radio form value can be toggled to option 1 and then to option 2 (or any other option) but then will not have its value changed when toggled back to another previously selected radio.
Environment
• OS: Mac Ventura 13.6
• Browser: Arc
• Version 1.12.1 (42373)/Chromium Engine Version 118.0.5993.70

This isn’t currently how formkit works — it expects all available options for one name to be provided to the given radio input, but I think I agree with you @mdelally that this should work. Honestly its going to take a bit for us to figure out a model for how this should happen.


Feature Request: Radial bar Charts to support annotations

I am creating a temperature chart for a system that has a maximum ambient temperature that can not survive above. To indicate this maximum value, I was hoping to add a small line on the radial chart to indicate this maximum ambient temperature to users on a dashboard.

Can you please re-upload the image of how it should look?

Is that supported now ? I don't find it in the docs

@junedchhipa Hello.
Any news about this ?
In my opinion it is necessary to have this option to this kind of graph.

In my case I need to add a custom image to the end of the stroke

Any ideas on how to do it?

This would be awesome for us as well.

How is it going ? It's been more than a year now.
Just asking.

still needed!

Still needed.

Give up guys they will never do it nor answer.
Instead switch to Apache ECharts.
Examples of gauges using Apache ECharts : https://echarts.apache.org/examples/en/index.html#chart-type-gauge

any update on this

still needed


Add Pull Request Template

**Is your feature request related to a problem?
Add pull request template for contributers reference and message to follow contributors guidelines.

@Aayush-hub, I am closing this issue for this time, In future try to create a valid one.


Enable Nginx caching on pages for massive speed up

Time to start receiving home page goes from about 800ms to about 40ms.
I'd guess about a 500ms improvement to overall page load times.
By enabling nginx caching here, a normal visit to the site only touches flask
once for the language redirect from then on, flask isn't even called.
In order for a page to be cached, we check that these conditions are true:

Must be a GET request with a 200 response
Must have a language code prefix (two characters - I know there are non-two character language codes, but those aren't quite as popular)
Must not have a session cookie.

When a user fills in a form on the site, they get a session cookie.
Their next page load uses this cookie, bypasses the cache, and they
get the next page with whatever message should be shown to them.
I've moved the home page Telegram display out from using flash code
so that it does not set a session cookie. The discord flash HTML was
not being used, and has been removed.
This commit also enables gzip for our static content.

Anything we need to know about invalidating the cache when we push changes?
If we're going to do this, we may as well add support for caching on zh_Hans and zh_Hant too.

Cache invalidation is beautiful here. The content only changes if the code changes. If the code changes, heroku blows away the "server" and creates a new one.

Added caching for zh_Hans and zh_Hant languages.