[BUG] Heroku updated their default support python

Hi Andrew, a simple one:
Log from Heroku:

-----> Building on the Heroku-22 stack
-----> Using buildpack: heroku/python
-----> Python app detected
-----> Using Python version specified in runtime.txt
 !     Requested runtime 'python-3.8.10' is not available for this stack (heroku-22).
 !     For supported versions, see: https://devcenter.heroku.com/articles/python-support
 !     Push rejected, failed to compile Python app.
 !     Push failed

And new heroku supported python versions: https://devcenter.heroku.com/articles/python-support

"By default, newly created Python apps use the python-3.10.7 runtime. You can also specify a different supported Python version."

That's it, thanks!
kev

Hey @k-r-a-s-s I'll have an update pushed out in a few hours. For now you can go into runtime.txt and change the python version directly. Thanks for bringing this to my attention!

Problem fixed in v1.8.4

amazing, thanks for your work on this - really streamlined my time-to-sharing with my colleagues.


Accept metadata coordinate format for location editing

I find myself needing to copy the location of another image quite a lot. it would make the process much easier if I could copy paste the coordinates from the metadata of another image instead of having to convert it to a float number. or even better: give the option to copy the location from another location (similar to how it is done with dates)

related: #329


Crash when switch to video mode

I added all privacy in info.plist but the problem still here.
All config which i had included to the project I cited below

    var config = TLPhotosPickerConfigure()
    config.maxSelectedAssets = pickLimit
    config.allowedVideo = true
    config.allowedVideoRecording = true
    config.selectedColor = UIColor(r: 230, g: 95, b: 95)
    config.cancelTitle = "ui.common.cancel".localized
    config.doneTitle = "ui.common.add".localized
    config.tapHereToChange = "ui.gallery.tap-here.button".localized
    self.configure = config

    self.delegate = self

Do not forget about microphone usage permission!


Update upgrade.md

Update instructions for upgrading TE to EE to include saving a setting to force a refresh, (this is a temporary work around until https://mattermost.atlassian.net/browse/PLT-4190 is completed)

+1

Sorry, just noticed the tracking ticket is there for the full fix, please ignore that part of the feedback.

+1


Question on "mlm" in continued pre-training

Hi Team,
It is amazing handbook. In the continued pre-training script (run_cpt.py), I saw that it is not using "mlm" (Masked Language Model) parameter in the training process. I though that the training method mlm vs. forward prediction is the major differentiation between pre-training and supervised fine-tuning.

Has there been an assessment of the efficacy of continued pre-training with "mlm" compared to without it?
What's your advice or guidelines for incorporating "mlm" into the continued pre-training process?

Thanks!
Li

all models are trained with causal language modeling. MLM is our of scope I think for this project.

Thanks for your reply, @xiyang-aads-lilly !
In the case that we need to fine-tune on a small set of documents (<50M tokens), what would be the best strategy to integrate the knowledge into the LLMs without causing significant regressions on LLMs?
I have heard discussions between re-warming + re-sampling for continued pre-training vs. generating conversational data for instruction fine-tuning. Given we use SFT for both continued pre-training and instruction fine-tuning (assuming not using completion-only data loader), it seems that it is unnecessary to generate conversational data for instruction fine-tuning. Thoughts?


Demo Project Alpha Split doesn't work if body selected before called

In the test project if you select a part body before calling Alpha Split then the body is listed in the Selections List but changing the Alpha value doesn't graphically show a split body and when you commit the body is not split.

Sorry, I can't reproduce this one.
MacroFeaturePropertyManagerPageBase.PushSelections suspends the current selection list which is resumed as soon as the PMP is closed.
So as soon as you open the PMP any selection that you made before should be suspended. But this doesn't work for you?

Maybe your not selecting a body?  Here is a screencast showing how I do it: https://www.dropbox.com/s/druypuixn7jwppi/preselected bodies bug.webm?dl=0

Ahh, you're right, I just selected a face. 9a0eda6 fixed it. Thanks for spotting. Please also verify that it works for you.

Yes.  That worked!

Super. I'll close this then. Thanks.


Authorization required or not

Does the machine need authorization

Hello, CP3164094 .
In my case, our machine did not need authorization.
I checked the definition of IEZNcCommunication3::Open2 method in a manual,
but I was not able to find arguments like host ID and password.

Does the machine need authorization

Hello, CP3164094 .
In my case, our machine did not need authorization.
I checked the definition of IEZNcCommunication3::Open2 method in a manual,
but I was not able to find arguments like host ID and password.

3Q. do u have any development help documents there

Hello, I need FCSB1224W000-A5.zip and FCSB1224W000 Reference Manual, because I cannot register a Mitsubishi member. My email<EMAIL_ADDRESS>Thank you!

Hello, I do not have the serial number of the FCSB1224W000-A5 product. Can you share it there? My email<EMAIL_ADDRESS>Thank you!

Hello, I do not have the serial number of the FCSB1224W000-A5 product. Can you share it there? My email<EMAIL_ADDRESS>Thank you!

I'm sorry to have kept you waiting.
I was able to find a manual.
三菱ＣＮＣ通信用ソフトウェア　FCSB1224W000 リファレンス IB-1501208.pdf

Thank you for your reply and the manual provided. Now I have a problem that fcsb1224w000-a5 needs to enter the product ID when it is installed. I wonder if you can provide the ID information. thank you.
------------------ 原始邮件 ------------------
发件人<EMAIL_ADDRESS>发送时间: 2020年6月22日(星期一) 上午8:34
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [freedomikeppp/mitsubishi-cnc-m700]   Authorization required or not (#1)
I'm sorry to have kept you waiting.
I was able to find a manual.
三菱ＣＮＣ通信用ソフトウェア　FCSB1224W000 リファレンス IB-1501208.pdf
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

I can't share my product ID, because that ID belongs to our company.
I'm so sorry.

thank you
------------------ 原始邮件 ------------------
发件人<EMAIL_ADDRESS>发送时间: 2020年6月22日(星期一) 上午9:18
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [freedomikeppp/mitsubishi-cnc-m700]   Authorization required or not (#1)
I can't share my product ID, because that ID belongs to our company.
I'm so sorry.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hello, I need FCSB1224W000-A5.zip and FCSB1224W000 Reference Manual, because I cannot register a Mitsubishi member. My email<EMAIL_ADDRESS>Thank you!

I just registered to the mitsubishielectric.co.jp and downloaded FCSB1224W000 (SDK) and FCSB1224W100 (Runtime) as well as the latest version of IB(NA)1501209-F pdf file (2 revisions newer than what @freedomikeppp shared but not much is changed). It is very easy to register with google translate.
I installed FCSB1224W000 which does not require a product-id to install. I tried EZNcTest.exe and it worked. I also tried some python code and it also worked.

Hello, for FCSB1224W000 (SDK), Can you share it there? My email<EMAIL_ADDRESS>

No, that is not possible. You should download it yourself. I already
explained Google translate is your friend.
On Mon, Dec 28, 2020, 09:52 Lu Congyao<EMAIL_ADDRESS>wrote:

Hello, for FCSB1224W000 (SDK), Can you share it there? My email:
<EMAIL_ADDRESS>—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/freedomikeppp/mitsubishi-cnc-m700/issues/1#issuecomment-751602942,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUYGYEJNU5EAPR2MCNFMX3SXATJ5ANCNFSM4JI4ZBOA
.

this software need product ID，do you have it?
------------------ 原始邮件 ------------------
发件人: "Lu<EMAIL_ADDRESS>发送时间: 2020年12月28日(星期一) 下午2:52
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [freedomikeppp/mitsubishi-cnc-m700]   Authorization required or not (#1)
Hello, for FCSB1224W000 (SDK), Can you share it there? My email<EMAIL_ADDRESS>—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

No, I don't. That's paid.
On Mon, Dec 28, 2020, 10:36 xiayan830903<EMAIL_ADDRESS>wrote:

this software need product ID，do you have it?
------------------ 原始邮件 ------------------
发件人: "Lu<EMAIL_ADDRESS>发送时间: 2020年12月28日(星期一) 下午2:52
收件人: "freedomikeppp/mitsubishi-cnc-m700"<
<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [freedomikeppp/mitsubishi-cnc-m700] Authorization required or not
(#1)
Hello, for FCSB1224W000 (SDK), Can you share it there? My email:
<EMAIL_ADDRESS>—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/freedomikeppp/mitsubishi-cnc-m700/issues/1#issuecomment-751615937,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUYGYGQ5LAVCI7L3BNZA6TSXAYPTANCNFSM4JI4ZBOA
.

hello, do you know what in a form of binary the Mitsubishi M700 returns after calling open2 to connect  the Mitsubishi M700?

hello, do you know what in a form of binary the Mitsubishi M700 returns after calling open2 to connect  the Mitsubishi M700?

hello, do you know what in a form of binary the Mitsubishi M700 returns after calling open2 to connect  the Mitsubishi M700?

hello, do you know what in a form of binary the Mitsubishi M700 returns after calling open2 to connect  the Mitsubishi M700?

I only connected to M70 and M80 series with EZSocket (the afromentioned SDK), but overall workflow is the same.
EZSocket Methods always return a status code as long. 0 is S_OK aka success. Anything else is an error, all error codes exist in reference pdf. You can check part 3 of the pdf. First you should create an com object, then you should run SetTCPIPProtocol and then you should run Open2. After installing FCSB1224W000 (EZSocket) you can find a test tool named EZNcTest.exe (under C:\Program Files (x86)\EZSocket\EZSocketNc\tools path). You can use it instead of writing code.
If you search for 'FCSB1224W000 Reference Manual' in the google, you can find the PDF file without creating a mitsubishielectric.co.jp user.

I only connected to M70 and M80 series with EZSocket (the afromentioned SDK), but overall workflow is the same.
EZSocket Methods always return a status code as long. 0 is S_OK aka success. Anything else is an error, all error codes exist in reference pdf. You can check part 3 of the pdf. First you should create an com object, then you should run SetTCPIPProtocol and then you should run Open2. After installing FCSB1224W000 (EZSocket) you can find a test tool named EZNcTest.exe (under C:\Program Files (x86)\EZSocket\EZSocketNc\tools path). You can use it instead of writing code.
If you search for 'FCSB1224W000 Reference Manual' in the google, you can find the PDF file without creating a mitsubishielectric.co.jp user.

Hello, I need FCSB1224W000-A5.zip and FCSB1224W000 Reference Manual, because I cannot register a Mitsubishi member. My email<EMAIL_ADDRESS>Thank you!

Hello.
Somebody know where i can quote FCSB1224W000?
Thanks

Hello, I need FCSB1224W000-A5.zip  My email<EMAIL_ADDRESS>Thank you!

Hello,
in the function found in FCSB1224W000
Parameter_GetData3(
lGroup As LONG // (I) Group number
lItem As LONG // (I) First item number
lSize As LONG // (I) Number of items
lAxis As LONG // (I) Axis No.
pvValue As VARIANT* // (O) Parameter value character string array
) As LONG // (O) Error code
How to use the function.  What is written in the IGroup number here?  Can you write an example command?

how to get FCSB1224W000 productID


did: replace "Actions" with Links or other alternative (new API)

Right. It is not perfect yet, the pk: ... stuff is still a bit a "just do it that way". We could add a shortcut to make it easier, but I suggest we keep observing the usage of this API further and infer then what makes sense to adjust.


"Remove when #73 is merged" hasn't been removed

This line says to remove the associated code when #73 is merged. #73 has been merged, so it might be appropriate to remove it now.

good catch; thanks!


Set up ExtractTextPlugin example

Hi,
I set up an example based on your code at #2. I did a bit of cleanup too (no more rimraf, just a plugin instead).
This doesn't work as advertised, though. An initial build gives something like this:
Hash: 79589ac3b7394ef7eeb4
Version: webpack 1.12.12
Time: 7587ms
                                    Asset       Size  Chunks             Chunk Names
             main.dab74333a2b88d3960cd.js  292 bytes    0, 2  [emitted]  main
           vendor.80ba025fdfc7c326de5d.js     175 kB    1, 2  [emitted]  vendor
main.a9e1e9ad1b183e6166efd88af91e8761.css   20 bytes    0, 2  [emitted]  main
                               index.html    1.01 kB          [emitted]
   [0] multi main 28 bytes {0} [built]
   [0] multi vendor 28 bytes {1} [built]
    + 6 hidden modules
Child extract-text-webpack-plugin:
        + 2 hidden modules

If I alter src/main.css (change the color to blue), it gives
Hash: 16871d4cbbbfd116c893
Version: webpack 1.12.12
Time: 7543ms
                                    Asset       Size  Chunks             Chunk Names
             main.65261a52e4bbf26a8166.js  292 bytes    0, 2  [emitted]  main
           vendor.80ba025fdfc7c326de5d.js     175 kB    1, 2  [emitted]  vendor
main.f170406bbf80db11a0f7afdee504fa52.css   21 bytes    0, 2  [emitted]  main
                               index.html    1.01 kB          [emitted]
   [0] multi main 28 bytes {0} [built]
   [0] multi vendor 28 bytes {1} [built]
    + 6 hidden modules
Child extract-text-webpack-plugin:
        + 2 hidden modules

I would expect that only CSS hash changes. But as you can see, main js hash changed as well.
It's possible I borked up something in my setup. I kept it as close to your example code as possible, though.
How are you referring to your CSS? Perhaps that's the difference.

This repo was just meant to show a single small problem and its solution. It's really not meant to get issues or PR's and won't be maintained by me now that the problem is was about is solved.

As for your problem, where changing the CSS also changes the main chunk hash: yep just confirmed that I have that problem too. For me it's not really a huge problem because I almost never change the CSS without also making JS changes but yep definitely less then ideal.
Better to ask for help with this in https://github.com/webpack/webpack/issues/1315 or a new ticket in that repo. I really can't help you, sorry :/

@kevinrenskers Ok, no probs. It's bit of a shame CSS breaks the setup.


Fix missing images in README.md

postimg.org is now postimg.cc
Survey and download from postimg.cc

https://s18.postimg.cc/gqtlyuneh/Screen_Shot_2018-01-28_at_21.54.10.png
https://s26.postimg.cc/4ie559jeh/Screen_Shot_2016_11_07_at_5_02_00_PM.png

I create new directory "screen_shots" and put screen shots.
Path to demo directory is changed
- ![demo printscreen](demo/demo_example.png?raw=true)
+ ![demo printscreen](examples/demo/demo_example.png?raw=true)

we are going to refactor it


How to transform codes for finding representative holes in Matlab into Java version?

We can find a representative cycle in Matlab for each interval through commands:
persistence = api.Plex4.getModularSimplicialAlgorithm(3, 2);
intervals = persistence.computeAnnotatedIntervals(stream);
I just want to know the Java version of these two lines?

The Java translation of these two lines of code would be:
persistence = api.Plex4.getModularSimplicialAlgorithm(3, 2);
intervals = persistence.computeAnnotatedIntervals(stream);

The object you get out of this is an AnnotatedBarcodeCollection. Looking at the JavaDoc on https://appliedtopology.github.io/javaplex/doc/edu/stanford/math/plex4/homology/barcodes/AnnotatedBarcodeCollection.html, we find the method getIntervalGeneratorPairsAtDimension which returns a List<ObjectObjectPair<Interval, Generator>> with each interval paired with it's corresponding homology generator.
At this point we start finding some types that live in Andrew Tausz' primitive-lib library https://github.com/appliedtopology/primitive-lib. We find that ObjectObjectPair has methods getFirst() and getSecond() to extract the components. So on each entry oop in the list, oop.getFirst() is the interval and oop.getSecond() is the generator.
Intervals are represented as edu.stanford.math.plex4.homology.barcodes.Interval and implement methods getStart and getEnd to access the endpoints of each interval.
Generators are represented using the primitive-lib formal_sum classes. Each such formal sum object has an iterator method that returns an GNU Trove iterator that carries each simplex and it's coefficient. Because of the way Trove is designed, you'll need to explicitly it.advance to step through the iterator, and then at each point you can find the simplex as it.key and its coefficient as it.value. Trove has some code examples for how to traverse their iterators: https://trove4j.sourceforge.net/javadocs/gnu/trove/iterator/TObjectIntIterator.html
Finally - the coefficients that you get here should be straightforward ints, but that need to be interpreted as modulo the prime you set when getting the algorithm object. The simplex is represented as a edu.stanford.math.plex4.homology.chain_basis.Simplex and has a getVertices method that will just return an int-array with indices for the vertices.

We are currently working on a replacement library that will among other things update algorithms, data structures and documentation. Hopefully the next iteration will be easier to navigate.


Helm operator chokes on NOTES.txt template

If you have a templates/NOTES.txt file in your chart, e.g. as created via helm create, the helm operator will fail to sync the chart (and possibly the repo, I haven't tested with multiple charts.)
ts=2018-05-28T01:28:49.292440121Z caller=operator.go:233 component=operator debug="Starting to sync cache key test1/helloworld"
ts=2018-05-28T01:28:49.365030341Z caller=release.go:172 component=release info="releaseName= test1, action=CREATE, install options: {DryRun:false ReuseName:false}"
ts=2018-05-28T01:28:49.374150351Z caller=release.go:214 component=release error="Chart release failed: test1: &status.statusError{Code:2, Message:\"render error in \\\"helloworld/templates/NOTES.txt\\\": template: helloworld/templates/NOTES.txt:2:14: executing \\\"helloworld/templates/NOTES.txt\\\" at <.Values.ingress.enab...>: can't evaluate field enabled in type interface {}\", Details:[]*any.Any(nil)}"
ERROR: logging before flag.Parse: E0528 01:28:49.374363       7 operator.go:224] error syncing 'test1/helloworld': rpc error: code = Unknown desc = render error in "helloworld/templates/NOTES.txt": template: helloworld/templates/NOTES.txt:2:14: executing "helloworld/templates/NOTES.txt" at <.Values.ingress.enab...>: can't evaluate field enabled in type interface {}
ts=2018-05-28T01:28:49.37446342Z caller=operator.go:173 component=operator debug="Processing next work queue job ..."

I tried to reproduce this but failed to detect the same issue.
Given the facts that we have a fair amount of operator users, (OSS) charts generally include a NOTES.txt, and that we have not received any complaints in the past months; I think it is safe to assume the bug is no longer present.


Add buffer processing time metric

Please add a link to the related PR in fake_turn and add a short description or link to the Jira ticket, if you have one


how to send massage to whatsapp channel using bailyes

how to send massage to whatsapp channel using bailyes

how to send massage to whatsapp channel using bailyes

the newsletter not updated, so u can use at my profile

Baileys already recognizes the WhatsApp communities but the channels I'm not too sure.
The only method to test is to use the latest version of baileys and then you listen to the incoming messages to display them with upsert in the logs.
Then you send a message in a Channel and you go to the logs to see the jid of the channel.
With a community it works I tried
Then with the jid you send like this according to your needs
const sentMsg  = await sock.sendMessage(id, { text: 'oh hello there' }, { quoted: message })

Use branch feature/newsletter #961
but it's not completely finished


Introduce deprecation policy doc

What this PR does / why we need it:
This PR introduces an initial deprecation policy documentation.
This document is expected to be updated when the discussion here https://github.com/kubevirt/kubevirt/issues/7745 advances. See the issue for more info.
Special notes for your reviewer:
See https://github.com/kubevirt/kubevirt/issues/7745 for more info
Release note:

Introduction of an initial deprecation policy

FYI
/cc @davidvossel

@dhiller p.s. - this is a classic scenario where lanes should not run at all :)

@davidvossel

I'm pretty happy with the feature gate policy. Does anyone have any major concerns? Maybe we can get this merged as our initial stab at starting a "deprecation" policy. I envision this becoming a living document that changes as our discussion moves forward to API deprecation and other things.

I fully agree :+1:
I've changed the PR's title to reflect the fact that it's an initial version, starting with feature gate deprecations.
I can't wait to deprecate the live migration feature gate :star_struck: :relaxed:
/hold cancel


How to compile the cpp version benchmarks?

I flow the installation.mdhttps://github.com/NVIDIA/TensorRT-LLM/blob/release/0.5.0/docs/source/installation.md#build-tensorrt-llm-in-one-step to build the docker image, but cpp/build cannot be found anywhere.
And the installation document in Build TensorRT-LLM and benchmarking source codehttps://github.com/NVIDIA/TensorRT-LLM/tree/release/0.5.0/benchmarks/cpp#1-build-tensorrt-llm-and-benchmarking-source-code is 404.

We suggest referring the latest main branch and here are steps and document to build cpp codes https://github.com/NVIDIA/TensorRT-LLM/blob/main/docs/source/installation.md#link-with-the-tensorrt-llm-c-runtime

We have changed the default branch to main branch. Close this bug.


123 rename contacts to idprovider

Description
Renamed contacts package to idprovider, which will be more suitable as this package provides a list of off-chain addresses and it's corresponding communication addresses.
Changed contactstest to idprovidertest, contactsyaml to local as this package implements local storage based idprovider. Also changed the types and related variables accordingly. Changes have been made in comments as well as readme.
Category

mprovement

Relevant issue
Closes #123
Testing
All existing tests should pass
Steps to run the tests

Checklist

[x] Name is added to the NOTICE file, if it is not present already.
[x] Changes are rebased onto the target branch.

@anagha-ks I think most of the things were updated in the previous iteration of the review. Only thing i noticed is that after renaming Peer to PeerID, some of the function names also can be renamed accordingly. Have made suggestion for the same. I think after we discuss these, this PR should be ready to merge.

Closed this issue. Please update the "Two Party Payment Channel API Specification" in the perun-proposals repo as well.


BCSV Website Planned Maitenance

Good Afternoon.
We've got some Planned Maintenance for the BCSV Website.
Over the next 24-48 Hours we will begin to introduce some adjustments to the website.
What this will mean for you is that some parts of the website will be offline.
Don't worry though, you'll know if you can't access a page as it will show an error.
Any questions, please message the BCSV Facebook Page.
Thank You. - MPM

Good Evening.
Maintenance to the BCSV Website is now in progress.
The Contact Form is currently offline during this upgrade.
We hope that the form will be back online tomorrow morning.
Thank You. - MPM

Hello again those night owls who can't sleep!!
We've finished the Contact Page upgrade, and it looks really cool.
The page will now allow for automatic email routing, so your submission will get to the appropriate person even quicker!
Check it out via http://bcsv.org.au/contact
Thank You very much, Maintenance Complete! - MPM


perf: Replace [unknown] symbols with the DSO path

Description
Repalce [unknown] symbols in the perf script output with their DSO name. This is roughly the logic done here: https://github.com/brendangregg/FlameGraph/blob/a258e78f17abdf2ce21c2515cfe8306a44774e2a/stackcollapse-perf.pl#L275
Motivation and Context
If we don't have the symbol name, at least we could have the DSO path.
How Has This Been Tested?
I ran the profiler locally and verified that [unknown] symbols are replaced with their DSO. Some of the unknowns remain unknowns (because the DSO was unknown as well...)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] I have updated the relevant documentation.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

@DanielShaulov , I benched this with the following script:
from __future__ import annotations
from collections import Counter
import re
import sys
from pathlib import Path

if sys.argv[1] == "new":
    FRAME_REGEX = re.compile(r"^\s*[0-9a-f]+ (.*) \((.*)\)$")

    def collapse_stack(stack: str, comm: str) -> str:
        """
        Collapse a single stack from "perf".
        """
        funcs = [comm]
        for line in reversed(stack.splitlines()):
            m = FRAME_REGEX.match(line)
            assert m is not None, f"bad line: {line}"
            sym, dso = m.groups()
            if sym == "[unknown]":
                sym = dso
            # append kernel annotation
            elif "kernel" in dso or "vmlinux" in dso:
                sym += "_[k]"
            funcs.append(sym)
        return ";".join(funcs)

elif sys.argv[1] == "old":
    def collapse_stack(stack: str, comm: str) -> str:
        """
        Collapse a single stack from "perf".
        """
        funcs = [comm]
        for line in reversed(stack.splitlines()):
            # example line:
            # ffffffff81082227 mmput+0x57 ([kernel.kallsyms])
            words = line.split()
            sym = words[1].split("+")[0]
            # append kernel annotation
            if "kernel" in words[-1] or "vmlinux" in words[-1]:
                sym += "_[k]"
            funcs.append(sym)
        return ";".join(funcs)

SAMPLE_REGEX = re.compile(
    r"\s*(?P<comm>.+?)\s+(?P<pid>[\d-]+)/(?P<tid>[\d-]+)(?:\s+\[(?P<cpu>\d+)])?\s+(?P<time>\d+\.\d+):\s+"
    r"(?:(?P<freq>\d+)\s+)?(?P<event_family>[\w-]+):(?:(?P<event>[\w-]+):)?(?P<suffix>[^\n]*)(?:\n(?P<stack>.*))?",
    re.MULTILINE | re.DOTALL,
)

def parse_perf_script(script: str):
    for sample in script.split("\n\n"):
        try:
            if sample.strip() == "":
                continue
            if sample.startswith("#"):
                continue
            match = SAMPLE_REGEX.match(sample)
            if match is None:
                raise Exception("Failed to match sample")
            yield match.groupdict()
        except Exception:
            logger.exception(f"Error processing sample: {sample}")

def merge_perfs(perf_all: Iterable[Mapping[str, str]], process_perfs: Mapping[int, Mapping[str, int]]) -> str:
    per_process_samples: MutableMapping[int, int] = Counter()
    new_samples: MutableMapping[str, int] = Counter()
    process_names = {}
    for parsed in perf_all:
        try:
            pid = int(parsed["pid"])
            if pid in process_perfs:
                per_process_samples[pid] += 1
                process_names[pid] = parsed["comm"]
            elif parsed["stack"] is not None:
                new_samples[collapse_stack(parsed["stack"], parsed["comm"])] += 1
        except Exception:
            logger.exception(f"Error processing sample: {parsed}")

    for pid, perf_all_count in per_process_samples.items():
        process_stacks = process_perfs[pid]
        process_perf_count = sum(process_stacks.values())
        if process_perf_count > 0:
            ratio = perf_all_count / process_perf_count
            for stack, count in process_stacks.items():
                full_stack = ";".join([process_names[pid], stack])
                new_samples[full_stack] += round(count * ratio)

    return "\n".join((f"{stack} {count}" for stack, count in new_samples.items()))

import timeit

data = Path(sys.argv[2]).read_text()

print(timeit.timeit("merge_perfs(parse_perf_script(data), [])", number=50, globals=globals()))

The input & results:
$ wc -l perf.script
330168 perf.script
$ python3 bench_collapser.py new perf.script
15.064044358005049
$ python3 bench_collapser.py old perf.script
10.984822925005574

I'll try to revert the regex and do something else, that is cheaper.

I wrote it as:
def collapse_stack(stack: str, comm: str) -> str:
    """
    Collapse a single stack from "perf".
    """
    funcs = [comm]
    for line in reversed(stack.splitlines()):
        # faster than parsing with a regex :/
        # for future reference, the relevant regex is r"^\s*[0-9a-f]+ (.*) \((.*)\)$"
        _, rest = line.lstrip().split(" ", maxsplit=1)
        sym, dso = rest.rsplit(" (", maxsplit=1)
        sym = sym.rsplit('+', maxsplit=1)[0]

        if sym == "[unknown]":
            sym = dso[:-1]  # strip last ')'
        # append kernel annotation
        elif "kernel" in dso or "vmlinux" in dso:
            sym += "_[k]"
        funcs.append(sym)
    return ";".join(funcs)

This benches as 12.5s~, which is better than 15 but the code is awful and might be buggy in some edge cases.
I don't think it's worth it - let's go with the regex here, and optimize this thing when it becomes a burden. @DanielShaulov wdyt

 thread_queue;clock_gettime@GLIBC_2.2.5;__vdso_clock_gettime 16
-thread_queue;std::vector<std::pair<long, 14
+thread_queue;std::vector<std::pair<long, work_item*>, std::allocator<std::pair<long, work_item*> > >::_M_erase 5
 thread_queue;__errno_location 4

The regex is a good call, anyway :) It fixed some stacks on my machine. Basically all C++ stacks were broken.

Will merge after this release.


Windows Taskbar icon looks odd when Sleek is closed

Discussed in https://github.com/ransome1/sleek/discussions/662

Originally posted by fredofredofred February 13, 2024
Hi,
I love how sleek Sleek is, but there is one small not so sleek thing.
I am running Windows 10 with Sleek installed via the Microsoft Store. Version is <IP_ADDRESS>. I have pinned Sleek to the taskbar.
When sleek is closed the taskbar icon looks like this:

When sleek is open the icon looks normal like this:

I assume this isn't intended and if it's possible to change this when it's next updated that would be great.
Kind regards,
Fred
P.s. In case anyone is interested in having Sleek open at startup (so not seeing this). If you've installed it via the store then the method to add it to your startup is here: https://www.howtogeek.com/364263/how-to-open-windows-store-apps-on-startup-in-windows-10/

@fredofredofred I hope it's ok that I transferred this into a bug report.


Add frontend tests

Thanks, @acrellin!
I see the following:
PASS 11 tests executed in 51.833s, 11 passed, 0 failed, 0 dubious, 0 skipped.

Is that the right nr of tests?
Then, also a bunch of the following:
[debug] [phantom] Navigation requested: url=http://localhost:5000/, type=Other, willNavigate=true, isMainFrame=true
----------------------------------------
Exception happened during processing of request from ('<IP_ADDRESS>', 49067)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 657, in __init__
    self.finish()
  File "/usr/lib/python2.7/SocketServer.py", line 716, in finish
    self.wfile.close()
  File "/usr/lib/python2.7/socket.py", line 283, in close
    self.flush()
  File "/usr/lib/python2.7/socket.py", line 307, in flush
    self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe
----------------------------------------

Any idea where those are from or what they mean?

Subsequent test run:
FAIL 10 tests executed in 65.103s, 6 passed, 4 failed, 0 dubious, 0 skipped.

Details for the 4 failed tests:

In mltsp/tests/frontend/02_featurize.js:83
  featurize
    assertTextExists: Featurization completed
In mltsp/tests/frontend/03_build_model.js:40
  build model
    assertTextExists: Model building completed
In mltsp/tests/frontend/04_predict.js
  predict
    uncaughtError: "This process is currently running" did not appear in the page in 5000ms
In mltsp/tests/frontend/06_delete_project.js
  delete project
    uncaughtError: "#editDeleteResultsDialog-okbtn" still did not exist in 5000ms
[info] [phantom] Done 5 steps in 5547ms
[info] [phantom] Done 5 steps in 5547ms
[info] [phantom] Done 5 steps in 5547ms

Another run:
FAIL 11 tests executed in 51.825s, 10 passed, 1 failed, 0 dubious, 0 skipped.

Details for the 1 failed test:

In mltsp/tests/frontend/02_featurize.js:83
  featurize
    assertTextExists: Featurization completed
[info] [phantom] Done 6 steps in 886ms

Hmm, I'm getting all passes. Yes, 11 should be correct. I'll look into that Flask error. Thanks @stefanv

Any idea why these are so finicky?  Can you run the test suite a few times in a row?

I'll try to pin down the inconsistent behavior

I can confirm inconsistent results when running the tests multiple times in a row.... No idea what may be going on, but I'll look into it.

@stefanv, I'm now getting consistent passes on successive runs - let me know if you are still encountering errors. The broken pipe message is common and often non-critical with Flask, especially during development (should be remedied with gunicorn/nginx in production).

@acrellin That did it--thank you!


User-control over biome selection

Reimpliment the biome selection gui or at-least a ui for blacklisting them

I am having biome issues with other mods that would be most easily solved by terraforged having a biome blacklist config of sorts, either during world gen or as a config file. It seems other mod writers don't always know the difference between not generating a biome and not registering it.

biome weights config added to 0.1.0


Form Designer

I am looking to integrate vue-form-designer with VDDL (http://hejx.space/vddl-demo/#/nested) to create a drag and drop designer for vue-form-generator.  Is anyone interested in working on this or has someone already done something like this.

This is a really great idea and something I wanted to do since a long time (but never took the time).
It would be incredibly useful !
We have the v3 coming soon, better you start with it. Could you wait a bit ?
You can test the v3 with the tag next
npm i --save vue-form-generator@next

If you have any question I can help you. Keep us posted !

I am learning Vue now.  I’ve been programming in Javascript for 20 years though.  I’ll start with what we have to get a prototype together and keep you updated.  I’m a little time poor so it will take time anyway.
From: Lionel Bijaoui<EMAIL_ADDRESS>Sent: Wednesday, 3 October 2018 10:46 PM
To: vue-generators/vue-form-generator<EMAIL_ADDRESS>Cc: Ian Gold<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [vue-generators/vue-form-generator] Form Designer (#503)
This is a really great idea and something I wanted to do since a long time (but never took the time).
It would be incredibly useful !
We have the v3 coming soon, better you start with it. Could you wait a bit ?
You can test the v3 with the tag next
npm i --save vue-form-generator@next
If you have any question I can help you. Keep us posted !
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/vue-generators/vue-form-generator/issues/503#issuecomment-426624345, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AISu7qDzIU2mcziAJb5vvf0nC9yji4CZks5uhLGhgaJpZM4XF119.

Thank you for your time !

@iang0ld I would be interested in helping with this. My app ( www.fmbetterforms.com ) is based on VFG and it would be a great addition.

@iang0ld I have been working on something similar with (formeo)[https://draggable.github.io/formeo/]. I have basically written a converted from formeo schema to VFG schema. There are still some kinks I am working out, but I do have something that is working for the schema we use. There would be a little bit more work to get this working for a generic VFG schema.

I have posted a tool that demonstrates the builder approach that we use. Like I mentioned it is basically a converter back and forth between formeo and VFG. To get around VFG not supporting rows we use multiple VFG instances, each instance is a row. They all share a common object so form submission is pretty much the same.
We use this in a bootstrap environment. Column widths are snapped to bootstrap grid so you can resize columns using Formeo and they will set the group classes in VFG schema.
The tool is located here. You can start a new form or paste in an existing, however the format needs to be in Surefyre's schema which is as follows:
{
  "rows": [
    {
       "schema": <VFG Schema>
    }
  ]
}

You can make edits and click Preview which will render the form using VFG. You can click Convert to see the schema in the above format (which fundamentally is a collection of VFG schemas).
Here is the example from the VFG documentation (converted to our format that can be used in the tool):
{
    "rows": [
        {
            "schema": {
                "fields": [
                    {
                        "disabled": true,
                        "featured": false,
                        "inputType": "text",
                        "label": "ID",
                        "model": "id",
                        "readonly": true,
                        "type": "input"
                    },
                    {
                        "disabled": false,
                        "featured": true,
                        "inputType": "text",
                        "label": "Name",
                        "model": "name",
                        "placeholder": "User's name",
                        "readonly": false,
                        "required": true,
                        "type": "input"
                    },
                    {
                        "hint": "Minimum 6 characters",
                        "inputType": "password",
                        "label": "Password",
                        "min": 6,
                        "model": "password",
                        "required": true,
                        "type": "input"
                    },
                    {
                        "inputType": "number",
                        "label": "Age",
                        "min": 18,
                        "model": "age",
                        "type": "input"
                    },
                    {
                        "inputType": "email",
                        "label": "E-mail",
                        "model": "email",
                        "placeholder": "User's e-mail address",
                        "type": "input"
                    },
                    {
                        "label": "Skills",
                        "model": "skills",
                        "multi": true,
                        "multiSelect": true,
                        "required": true,
                        "type": "select",
                        "values": [
                            "HTML5",
                            "Javascript",
                            "CSS3",
                            "CoffeeScript",
                            "AngularJS",
                            "ReactJS",
                            "VueJS"
                        ]
                    },
                    {
                        "default": true,
                        "disabled": false,
                        "featured": false,
                        "label": "Status",
                        "model": "status",
                        "multi": true,
                        "readonly": false,
                        "textOff": "Inactive",
                        "textOn": "Active",
                        "type": "switch"
                    }
                ]
            }
        }
    ]
}

This is very much in an alpha state and not all VFG types have been implemented. However, Formeo is easily extensible in the passed in config to add new fields without modifying code. I am working with the creator of Formeo to add more VFG features such as building on visibility dependencies directly from the tool.
This is using VFG v2 and the soon to be released Formeo v1.0.0.
If this is a direction anyone wants to go I am happy to share more code and ideas.

@dtorres-sf, if it works well, we can include a link in the docs and perhaps an example in the updated v3 samples that uses it.

What did you mean by VFG doesn’t support rows though?
You can create different groups, and the group can have a bootstrap “row” class assigned to it.

I use groups as columns by styling them with "col-X" and then added rows on top of that using multiple VFG instances. I see there are nested groups in V3, so that might be a better way moving forward. But I have been using VFG in production for about 6 months using this approach of multiple VFG instances.

I think all that is needed to at add ‘class’ and ‘style’ as an attribute to each container and let the user decide how they want them to behave.
From: dtorres-sf<EMAIL_ADDRESS>Sent: Wednesday, 10 October 2018 6:01 AM
To: vue-generators/vue-form-generator<EMAIL_ADDRESS>Cc: Ian Gold<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [vue-generators/vue-form-generator] Form Designer (#503)
I use groups as columns by styling them with "col-X" and then added rows on top of that using multiple VFG instances. I see there are nested groups in V3, so that might be a better way moving forward. But I have been using VFG in production for about 6 months using this approach of multiple VFG instances.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/vue-generators/vue-form-generator/issues/503#issuecomment-428311312, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AISu7r2q22wHKPuLCQwGhfPqKmyk0pn1ks5ujPKEgaJpZM4XF119.

I am interested in this issue - see my #569. I am happy to help, but have limited Vue.js experience.

I started from scratch and got something like this working. Did nt do it properly with proper abstraction  (with vue-form-generator) but it seems to do the job for me. Let me know if you are interested in integrating with vue-form-generator.
https://drive.google.com/file/d/1y5txgjbWIrMNWCdMrWdeUSIXOgaIoPQC/view

@redoc123 this looks really nice!
I've actually been spending all my free time building a vfg schema generator based on the V3 version. It doesn't look nice like yours does but then again I'm not aiming to build a form designer as much as I'm aiming to build a schema builder that allows to export the json but also import it. It supports most V3 fields plus some custom ones I'm working on. The fields are nicely configurable based on V3 options layout.  It's almost ready for sharing now.
I think I've done a good job of abstracting VFG. I think if we were to combine your work with mine we could end up with the most kickass modern open source form designer/schema manager based on this awesome library!
Will share a video of where I'm at within 1-2 days

@vesper8 Surething.. Keep me posted

Here it is.. here's what I've been spending way too much time developing over the past week
It's built on top of VFG-V3. It supports grouping (only one level deep for now). You can drag'n'drop fields around but currently can't drag them in and out of groups, you have to use the dropdown for that. You can import/export both the schema and model independently. It supports the core fields I wanted to use and some custom fields based on:
https://github.com/NightCatSama/vue-slider-component (range slider)
https://github.com/euvl/vue-js-toggle-button (switch)
https://github.com/nathanreyes/v-calendar (datepicker and dual pane calendar)
I prefer to use these in place of old and non-vue dependencies that are currently part of the core
As I explained above, my goal in making this was to build a schema-builder since I have a special use case where I want to allow my website users to build forms that are then used by the rest of the users, as opposed to just letting a user build a form that they can then import and use for their own use.
The interface is obviously geared towards developers at the moment. Here's a video of it in action
https://www.dropbox.com/s/oor4g7jriowty8d/vue-form-schema-generator.mp4?dl=0
What do guys think @redoc123 @lionel-bijaoui @zoul0813
I think this could be useful in promoting this package and as a tool for easing its adoption. It could also become a truly kickass form designer/schema builder if combined with the efforts of other collaborators

My team has also been working on this. One requirement we have is multi-step forms which we use vue-form-wizard to accomplish. The builder itself is using formeo. The designer can build single page forms (as seen in the first few seconds) or entire wizards with multi step. I have integrated Froala editor to do wysiwyg HTML.
Multi row and multi column is accomplished with multiple VFG instances on a single page. They all share a model object and it works quite well. Happy to share more if anyone is interested. Demo video:
https://www.useloom.com/share/34940e6d4020449eb057834f814ca062

hey @sarmadbokhari ! Thanks for the interest!
Your interface looks pretty cool too!
I just published my work on Github. This is my first time doing this : )
Here's the link: https://github.com/vesper8/vue-form-generator-builder-ui/blob/master/README.md
PRs and collaboration is most welcome!

I started from scratch and got something like this working for element-ui. Did nt do it properly with proper abstraction (with vue-form-generator) but it seems to do the job for me. Let me know if you are interested in integrating with vue-form-generator.
https://drive.google.com/file/d/1y5txgjbWIrMNWCdMrWdeUSIXOgaIoPQC/view

This UI looks the best so far, in my opinion.

I am looking to integrate vue-form-designer with VDDL (http://hejx.space/vddl-demo/#/nested) to create a drag and drop designer for vue-form-generator. Is anyone interested in working on this or has someone already done something like this.

this link lands on what appears to be malware. BEWARE!

Hi,
Sorry but I am no longer doing anything with Vue. I am now too old!
Bonne Chance.
Peter Cooper
---- On Tue, 17 Jan 2023 20:52:23 +0000 juventus18 @.***> wrote ---
I am looking to integrate vue-form-designer with VDDL (http://hejx.space/vddl-demo/#/nested) to create a drag and drop designer for vue-form-generator. Is anyone interested in working on this or has someone already done something like this.
this link lands on what appears to be malware. BEWARE!
—
Reply to this email directly, https://github.com/vue-generators/vue-form-generator/issues/503#issuecomment-1386035818, or https://github.com/notifications/unsubscribe-auth/AEAG64ACG5ZE5LDB2OM4MQDWS4BAPANCNFSM4FYXLV6Q.
You are receiving this because you commented.

I am interested in this and happy to show you what we have done in www.fmbetterforms.com. Feel free to DM me<EMAIL_ADDRESS>

@PeterC66 Are you looking for maintainers?


Conversion numbers are incorrect - GIVgarden testing

At the time that I made the proposal, TestGIV was valued at 0.39.

But the math does not add up when creating a new proposal.

This is not an issue on the UI but because the oracle was not called with enough frequency. Each garden should run the service under: https://github.com/1Hive/price-oracle-service


fix: v0.6.x remove node driver registrar lifecycle hook

This is a port of https://github.com/warm-metal/csi-driver-image/pull/70 (same description applies here)

Tested the changes by deleting the pod and ensuring the lifecycle hook doesn't get triggered.
kubectl events --for pod/csi-image-warm-metal-2pw89 --watch
LAST SEEN   TYPE     REASON      OBJECT                           MESSAGE
2m13s       Normal   Scheduled   Pod/csi-image-warm-metal-2pw89   Successfully assigned kube-system/csi-image-warm-metal-2pw89 to ip-10-133-43-42.ec2.internal
2m13s       Normal   Pulled      Pod/csi-image-warm-metal-2pw89   Container image "storage/csi:v0.6.3-1697628203" already present on machine
2m12s       Normal   Created     Pod/csi-image-warm-metal-2pw89   Created container plugin
2m12s       Normal   Started     Pod/csi-image-warm-metal-2pw89   Started container plugin
2m12s       Normal   Pulled      Pod/csi-image-warm-metal-2pw89   Container image "storage/livenessprobe:v2.3.0-1697628203" already present on machine
2m12s       Normal   Created     Pod/csi-image-warm-metal-2pw89   Created container liveness-probe
2m13s       Normal   Started     Pod/csi-image-warm-metal-2pw89   Started container liveness-probe
2m13s       Normal   Pulled      Pod/csi-image-warm-metal-2pw89   Container image "storage/csi-node-driver-registrar:v1.1.0-1697628203" already present on machine
2m13s       Normal   Created     Pod/csi-image-warm-metal-2pw89   Created container node-driver-registrar
2m13s       Normal   Started     Pod/csi-image-warm-metal-2pw89   Started container node-driver-registrar

0s          Normal   Killing     Pod/csi-image-warm-metal-2pw89   Stopping container plugin
0s          Normal   Killing     Pod/csi-image-warm-metal-2pw89   Stopping container node-driver-registrar
0s          Normal   Killing     Pod/csi-image-warm-metal-2pw89   Stopping container liveness-probe


Where is the "step.h" file?

Hello.
When trying to compile the project, a missing dependency occurs.
More specifically, a "step.h" header file is included in main.cu, but I cannot find it anywhere. Perhaps you forgot to upload it?
Thank you

Hello.
When trying to compile the project, a missing dependency occurs.
More specifically, a "step.h" header file is included in main.cu, but I cannot find it anywhere. Perhaps you forgot to upload it?
Thank you


Add functions to write control files and update training logic

Issue #, if available:
Description of changes:
1, Add functions in training env for writing new control files. Add functions to specifically write success and failure files. Related unit tests are also added.
2, Update the training logic with new functions above to write success/failure files after training succeeds/fails. Related functional tests are also added.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #53 into r2.0 will decrease coverage by 2.15%.
The diff coverage is 60.71%.

@@            Coverage Diff             @@
##             r2.0      #53      +/-   ##
==========================================
- Coverage   98.48%   96.32%   -2.16%
==========================================
  Files          14       14
  Lines         462      490      +28
  Branches       26       28       +2
==========================================
+ Hits          455      472      +17
- Misses          4       15      +11
  Partials        3        3

Impacted Files
Coverage Δ

src/sagemaker_containers/env.py
99.48% <100%> (+0.03%)
:arrow_up:

src/sagemaker_containers/trainer.py
54.16% <31.25%> (-45.84%)
:arrow_down:

Continue to review full report at Codecov.

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

I approved by mistake. =/


Add tm.sys.hardware

I'm working on extending Napalm functionality but using the F5 SDK. I realized that there's no support for this command.
I don't see any another command where I can get the Hardware Version of the F5.

The serial number is also in this command.

this has been merged to development branch and will release on next build. Closing issue.


implement a layout feature

http://mojolicious.org/perldoc/Mojolicious/Guides/Rendering#Layouts
http://search.cpan.org/dist/Dancer2/lib/Dancer2/Manual.pod#Layouts

added in 0.0.4 already


MVP Client Extensions

AKA Api calls without Api for #1032
This is a smaller scope variant (to avoid overreaching) of #1037 that solves the basic Api like functionality on Client directly (opt-in feature) without getting bogged down in the harder subresource and dynamic scopes.
This PR primarily adds methods:

Client::get -> fetch cluster scoped resources (only works for cluster scoped)
Client::get_namespaced -> fetch namespaced resources in a given Namespace
Client::list_all -> list namespaced resources across all namespaces
Client::list_namespaced -> list namespaced resources in a given Namespace

The node_watcher shows how this can be used (showing we can avoid the clone and api construction) for a .list_all.
Can add some docs and tests if we agree on the basic setup.
Potentially contentious bits

impl Client methods that are pulled in via a module feature - easier for visibility than an async_trait, but cannot scope on it later on
newtype Namespace(String) that can be constructed from &str, String and k8s_openapi::..::Namespace to avoid two string params in a row + composability with Namespace queries
convenience shorcut list_available_namespaces to produce a list of k8s_openapi::Namespace

This is in a state that could benefit from a review to see that we are at least on the same page.
Not bothering with full details on docs/tests here yet until we agree (just did one basic one), and MSRV failures due to home (error: package home v0.5.9 cannot be built because it requires rustc 1.70.0 or newer, while the currently active rustc version is 1.65.0) can be fixed in a separate PR.

Have added tests and docs for the new public interfaces now so am not planning on changing this PR more without feedback.
It's only doing list and get, but there are the 3 small contentious bits that could go in other directions noted above, so it would be nice to get your inputs @Dav1dde / @nightkr 🙏

Updated and edited post body. Incorporated a bunch of suggestions from @nightkr with renames and tweaks. Have tried to  make the docs look nice (which is a slight challenge when the methods merge with the normal client ctors). I'll mention this tomorrow in the meet.

I spent an houlr playing around with async traits as an investigation for whether it would make docs better, and am now under the impression that they are not significantly more helpful for what we are trying to accomplish.
If we convert the impl Client into a trait such as:
pub trait ClientExt {
    async fn get<K>(&self, name: &str, scope: &impl ObjectUrl<K>) -> Result<K>
    where
        K: Resource + DeserializeOwned + Clone + Debug,
        <K as Resource>::DynamicType: Default;
    async fn list<K>(&self, lp: &ListParams, scope: &impl CollectionUrl<K>) -> Result<ObjectList<K>>
    where
        K: Resource + DeserializeOwned + Clone + Debug,
        <K as Resource>::DynamicType: Default;
}

and then blanket impl later:
impl ClientExt for Client {
    async fn get<K>(&self, name: &str, scope: &impl ObjectUrl<K>) -> Result<K>
    where
        K: Resource + DeserializeOwned + Clone + Debug,
        <K as Resource>::DynamicType: Default,
    {
        let mut req = Request::new(scope.url_path())
            .get(name, &GetParams::default())
            .map_err(Error::BuildRequest)?;
        req.extensions_mut().insert("get");
        self.request::<K>(req).await
    }
    // ...
}

then we can indeed export ClientExt and import it in the user land and use it, and docs.rs ends up with a more specialised page for just these methods:

but it has a couple of downsides:

The trait output at the top of the page is very verbose due to complex trait constraints, and makes the trait the focus (as if the users was going to implement it) when it's really the guaranteed methods that is the focus (note "required methods").
Trait constraints duplicated when they are specialized. Seems insufficient to only put it in one place and can't omit them from the trait because of the requirement from ObjectUrl and CollectionUrl
We get a huge warning that tells us not to use this:

warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
   --> kube-client/src/client/client_ext.rs:157:5
    |
157 |     async fn get<K>(&self, name: &str, scope: &impl ObjectUrl<K>) -> Result<K>
    |     ^^^^^
    |
    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
    = note: `#[warn(async_fn_in_trait)]` on by default
help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
    |
157 -     async fn get<K>(&self, name: &str, scope: &impl ObjectUrl<K>) -> Result<K>
157 +     fn get<K>(&self, name: &str, scope: &impl ObjectUrl<K>) -> impl std::future::Future<Output = Result<K>> + Send
    |

so am not hugely enthusiastic about the trait approach either. leaving this comment as a justification and linking to it above. ultimately this stuff can be changed down the line later since it's under an unstable flag.


ubuntu 16.04 doesn't provide docker-engine 1.12 at the default

Now the latest docker-engine is 1.11.2-0~xenial at ubuntu 16.04.
So do we recommend to install docker-engine manually without a package ?

You can build Docker 1.12 pre installed image using diskimage-builder which is loved by OpenStackers (you seem openstacker, right?)
Procedure is described below.

https://github.com/yuanying/k8s-env/blob/master/elements/docker-install/README.md

But I guess Docker 1.11 is enough to deploy kubernetes.

Then I am not OpenStacker because I don't like to hear the word diskimage-builder :)
Thanks for your info, anyways.


Implementing new Katib UI

The v1.3 Kubeflow Katib UI has a different image it might be worth moving to the latest image when possible.

I'm not sure if the screenshot you posted is the outdated UI or how the new one should look. There seems to be a new UI but it doesn't seem to have feature parity with the old one yet. More info here.
If you were expecting the new UI, in my opinion I think we are fine with the old UI for this release and we could change to the newer one once they have feature parity.

I see! My intent with this issue was to discuss when we should move to the new Katib UI. Given that feature parity is not there yet, it looks like we might want to delay the move.
Let's perhaps keep this issue to track the change.

This will be released with 1.4


Fix Compressor's getCompressor method

What is the purpose of the change
IdentityCompressor and Compressor#NONE obtained through SPI are not the same object, causing OutboundTransportObserver#calcCompressFlag to perform IdentityCompressor.NONE.equals(compressor) to return false

Codecov Report

Merging #9223 (76a1c35) into 3.0 (335bf5a) will decrease coverage by 0.14%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                3.0    #9223      +/-   ##
============================================
- Coverage     65.42%   65.28%   -0.15%
+ Complexity      313      312       -1
============================================
  Files          1188     1188
  Lines         51476    51442      -34
  Branches       7694     7662      -32
============================================
- Hits          33680    33582      -98
- Misses        14177    14221      +44
- Partials       3619     3639      +20

Impacted Files
Coverage Δ

.../org/apache/dubbo/rpc/protocol/tri/Compressor.java
60.00% <100.00%> (+10.00%)
:arrow_up:

...rg/apache/dubbo/rpc/protocol/tri/ClientStream.java
32.00% <0.00%> (-24.00%)
:arrow_down:

...ache/dubbo/remoting/transport/AbstractChannel.java
75.00% <0.00%> (-12.50%)
:arrow_down:

...dubbo/common/status/support/LoadStatusChecker.java
50.00% <0.00%> (-11.54%)
:arrow_down:

.../apache/dubbo/remoting/transport/AbstractPeer.java
63.04% <0.00%> (-8.70%)
:arrow_down:

...mmon/threadpool/support/fixed/FixedThreadPool.java
80.00% <0.00%> (-7.50%)
:arrow_down:

.../threadpool/support/limited/LimitedThreadPool.java
83.33% <0.00%> (-5.56%)
:arrow_down:

...mmon/threadpool/support/AbortPolicyWithReport.java
78.94% <0.00%> (-5.27%)
:arrow_down:

...o/rpc/protocol/injvm/DefaultParamDeepCopyUtil.java
57.89% <0.00%> (-5.27%)
:arrow_down:

...va/org/apache/dubbo/registry/RegistryNotifier.java
76.92% <0.00%> (-5.13%)
:arrow_down:

... and 42 more

Continue to review full report at Codecov.

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


Enable "versioning" for Temurin SBOM's

Currently we do not have versioning of the Temurin SBOM content, so if we change a value or property name, or format, etc, we currently don't increment a version.
Investigation needs to be done to understand how we might version the Temurin SBOM, when we would increment it and how it fits in with CycloneDX versioning features?
We would probably version the current schema as version 0.9, as we have some work to tidy, verify and ensure what we have is complete enough for a 1.0 version.
In a separate activity, we will do a full review of the structure and format of the Temurin SBOM, but consciously editing and managing a version field to the SBOM will be useful ahead of other changes.
Related:
https://github.com/adoptium/temurin-build/blob/master/cyclonedx-lib/src/temurin/sbom/TemurinGenSBOM.java

Noting that the CycloneDX Bom.java constructor populates a default value of a version into the SBOM at present, version 1.  Referencing https://cyclonedx.org/guides/OWASP_CycloneDX-Authoritative-Guide-to-SBOM-en.pdf,

The bom element has properties for serialNumber and version. Together these two properties form the identity of a BOM.

Serial Number
Every BOM generated should have a unique serial number, even if the contents of the BOM have not
changed over time. If specified, the serial number must conform to RFC-4122. The use of serial numbers
is recommended.
Version
Whenever an existing BOM is modified, either manually or through automated processes, the version of
the BOM should be incremented by 1. When a system is presented with multiple BOMs with identical
serial numbers, the system should use the most recent version of the BOM. The default version is '1'.

At present, our SBOMs are generated with version 1, but lack a serial number.
  "bomFormat" : "CycloneDX",
  "specVersion" : "1.5",
  "version" : 1,

Hello Team,
I've spoken with @smlambert in Slack, I would be interested in working on this!

Hi @MikeLaptev
some thoughts on this issue :

What constitutes a "version" change?

eg. adding a new Property to Formulation Component?
or adding a whole new "Component"

A fundamental change to the "SBOM structure" rather than new Properties/Components

I suspect (2), but that "Structural" change may include addition of certain "new Components".
We probably need to review the current "Structure", which has grown over time.
My feeling is we would probably add a SBOM_VERSION parameter coded in https://github.com/adoptium/temurin-build/blob/master/sbin/common/sbom.sh
This bash file contains all the SBOM structure element functions, which are called from sbin/build.sh to construct an SBOM. Essentially, a change or addition to sbom.sh would most likely constitute a new version.
Then all the temurin.sbom.TemurinGenSBOM API calls in sbom.sh would have added a new param: --SBOMVersion "<N>"

Hi Andrew,
I’ve looked through the pdf mentioned above and the specification of both serialNumber and version in CycloneDX.
I am still trying to figure out what would be the use-case for the version, and I probably leaning to agree on the (2) as well, even if according to the specification from CycloneDX: “Whenever an existing BOM is modified, either manually or through automated processes, the version of the BOM SHOULD be incremented by 1”, which probably will result to versions be too granular.
I am not yet familiar with the structure of the SBOM, but what if the (2) could be aligned to a different lifecycle phases (which are mentioned on the page 15 of the “Authoritative Guide to SBOM”)?
Alternatively, I’ve tried to look at the problem from a different side.
If the version is specified, what is it useful for? Going to a previous one and comparing what is the difference? Identifying if the latest is used (but where are we specifying the latest)? Having just a version, can we use it somehow?
It seems that having a serialNumber could be a better fit, since in this case the SBOM could be referenced in the externalReferences as a BOM-Link document or BOM-Link reference (https://cyclonedx.org/docs/1.6/json/#tab-pane_externalReferences_items_url_anyOf_i1_anyOf_i0). At the same time, consider the definition of the serialNumber from CycloneDX specification - “Every BOM generated SHOULD have a unique serial number, even if the contents of the BOM have not changed over time. If specified, the serial number MUST conform to RFC-4122. Use of serial numbers is RECOMMENDED.”, means that the version itself could be always default (1), since every change of the SBOM should result in a change of the serialNumber (https://cyclonedx.org/docs/1.6/json/#serialNumber).
It is probably better for me to stop here, since I want to understand what problem with the version we are trying to solve, since I am very new to the project and might not see the whole picture, but do we consider adding just a serialNumber, and setting version to default, or what is the use case when the version is required and it might be bigger than default (1)?

@MikeLaptev Hi Mike,
So I am not sure what the guide is intending..., hence i've raised the question in Slack : https://cyclonedx.slack.com/archives/CV062H2GH/p1720432902377209
So, my view on the "version", is it will enable anyone who really consumes the Temurin SBOM, knows how to read a Temurin SBOM, eg.say hypothetically they want to check what "build tools and versions" were used to compile Temurin, currently that is listed under "formulation"->"components"[Build tool package dependencies]"
but say we decide to move it somewhere else within the json, say to "components"[Temurin]->"components"[Build Tools]
then that would signify a change in "structure", ie.those using "version 1" would find Build tools under formulation, a "version 2" would find the build tools under the "Temurin" component....

Hey Andrew,

So I am not sure what the guide is intending..., hence i've raised the question in Slack : https://cyclonedx.slack.com/archives/CV062H2GH/p1720432902377209

Uh, unfortunately I don't have access to cyclonedx slack 😞 ...

ie.those using "version 1" would find Build tools under formulation, a "version 2" would find the build tools under the "Temurin" component....

That's what I've been thinking about as well, that the format itself generic enough to have multiple representations.
It means, that internally, knowing the version we should be able to retrieve a concrete schema that has been used for assembling SBOM for this particular version. At the same time, if we are bumping the version due to a change, we will need to generate all versions of the SBOM for previous versions. And in this case, it would be something that is in description of the version field (https://cyclonedx.org/docs/1.6/json/#version) - "When a system is presented with multiple BOMs with identical serial numbers, the system SHOULD use the most recent version of the BOM. The default version is '1'."
and I believe it is something that you are also considering, right?
Some of the rhetorical questions from the top of my head would be (and which I would be probably digging in next):

Do we have an option to "retrieve" what is the latest version (like is it 1, 2, another number)?
Do we need a serialNumber prior/together with this change?
Do we have a way to describe the schema we are using, as well as the way to store it and further possible evolvement of it?

@MikeLaptev I have started adding some comments to this issue: https://github.com/adoptium/temurin-build/issues/3013#issuecomment-2213810149
on how we might re-structure the Temurin SBOM, which I think might be required before we know how we want to "version" it ?
Feel free to add your thoughts to that issue as well, thanks


Change the width of the slide

Version

react-native-swiper v1.5.13
react-native v0.57.1

Slide width
It feels like the slider / item inside the swiper is set to 100% of the width, I need to create a slider that shows 3 images at a time but I'm unable to find a way to do this.
Has anyone done this before? or can help me?

Anyone got an update?

Any update?

I'd like to show one at the center (100% of card's width), and the other two on its sides with 20% of card's width.

This satisfies my request: https://github.com/archriss/react-native-snap-carousel


fix: ovsdb.GetOvsPortForContIface should not return error if iface not found

What this PR does / why we need it:
Currently, the function returns "", false, err if the interface is not found.
The function's signature and usage assume that the function should not return an error if the interface is not found.
https://github.com/k8snetworkplumbingwg/ovs-cni/blob/74349148acc8d20aac10b201b85bb099a17bdbdb/pkg/plugin/plugin.go#L315
Fix the function to return "", false, nil if the interface is not found.
This change fixes CmdDel for the scenario when It is called after a failed CmdAdd or when the port is manually removed from the ovs.
Special notes for your reviewer:
Release note:
"NONE"

cc @SchSeba @e0ne

/ok-to-test

/lgtm
/approve

/retest


Merge dokka version management in version.kotlin

refreshVersions comes in with a handy custom rule for kotlin, which produces a version.kotlin entry. Starting with Kotlin 1.4.0-rc, though, dokka artifacts are sharing the kotlin version as well, namely, one should manually write stuff like:
version.org.jetbrains.dokka..dokka-core=version.kotlin

version.org.jetbrains.dokka..dokka-gradle-plugin=version.kotlin

version.org.jetbrains.dokka..javadoc-plugin=version.kotlin

I was wondering if it'd be possible to perform the bound automatically. Also (but I think there is another issue opened about it), when running refreshVersions on a project configured as such, version.properties gets broken due to duplicated entries:
version.org.jetbrains.dokka..dokka-core=1.4.0-rc

version.org.jetbrains.dokka..dokka-core=version.kotlin

version.org.jetbrains.dokka..dokka-gradle-plugin=1.4.0-rc

version.org.jetbrains.dokka..dokka-gradle-plugin=version.kotlin

version.org.jetbrains.dokka..javadoc-plugin=1.4.0-rc

version.org.jetbrains.dokka..javadoc-plugin=version.kotlin

That's a use case for versionFor
https://jmfayard.github.io/refreshVersions/add-dependencies/#get-the-version-from-anywhere

@jmfayard I don't think so, it has nothing to do with to me. 🧐
Inferring matching version histories would still be interesting, though it's though because of the risk of false positives.

If versionFor is not an option, it could be done with a simpler api for rule
https://github.com/jmfayard/refreshVersions/issues/580#issuecomment-1246244051
Then it's only a one liner
version.dooka=version.kotlin

I was wondering if it'd be possible to perform the bound automatically

Actually this is something I had in mind for #580


Use querySelectorAll instead of goog.dom.getElementsByClass

:+1: Thanks, Fred.
Please merge.

Thanks for the review


chore(main): release 0.0.35

:robot: I have created a release beep boop
0.0.35 (2024-12-07)
Miscellaneous Chores

fix issues in errorHandler and allow onTerminate hook to finish gracefully (bd81faa)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.0.35
:sunflower:


Compilation failures on CentOS 7 / Oracle Linux 7

This issue has been raised before in the now archived mirage/hacl package. Both distributions use gcc 4.8.5 and this seems to be the source of these issues:

lack of support for the __has_include operator, which is used in several files in the C snapshot:

gcc-compatible/Lib_Memzero0.c:#if __has_include("config.h")
gcc-compatible/evercrypt_targetconfig.h:#if __has_include("config.h")
gcc-compatible/libintvector.h:#if __has_include("config.h")
gcc-compatible/libintvector.h:#if __has_include("libintvector_debug.h")
gcc-compatible/lib_intrinsics.h:#if __has_include("config.h")

errors compiling intrinsics:

- In file included from libintvector.h:25:0,
-                  from Lib_RandomBuffer_System.h:33,
-                  from Lib_RandomBuffer_System.c:1:
- /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/tmmintrin.h:31:3: error: #error "SSSE3 instruction set not enabled"
-  # error "SSSE3 instruction set not enabled"
-    ^
- In file included from libintvector.h:26:0,
-                  from Lib_RandomBuffer_System.h:33,
-                  from Lib_RandomBuffer_System.c:1:
- /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/smmintrin.h:31:3: error: #error "SSE4.1 instruction set not enabled"
-  # error "SSE4.1 instruction set not enabled"
-    ^
- In file included from libintvector.h:227:0,
-                  from Lib_RandomBuffer_System.h:33,
-                  from Lib_RandomBuffer_System.c:1:
- /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/wmmintrin.h:34:3: error: #error "AES/PCLMUL instructions not enabled"
-  # error "AES/PCLMUL instructions not enabled"

Regarding __has_include: to be removed in https://github.com/hacl-star/hacl-star/pull/561
Regarding compiler warnings for SSE3: is this something that is now handled properly in hacl-packages? @franziskuskiefer

The error doesn't show up in hacl-packages but we don't compile with 4.8.5.
Can we even compile the code with gcc 4.8.5?

I don't think this is relevant any more. opam CI also stopped testing for it in the meantime, so we can also remove the x-ci-accept-failures: ["centos-7" "oraclelinux-7"] from the opam file


Feature suggestions

I have some suggestions for the future.
I'd be happy to help implementing them. :)

[x] allow ungrouping of accessories (contact sensor and it's bypass switch) to show them as different tiles in Apple Home (so you could see the sensors and group all bypass switches)
[x] display radar accessories as motion sensors (instead of contact sensors)
[x] display smoke detector accessories (instead of contact sensors)

[ ] allow ungrouping of accessories (contact sensor and it's bypass switch) to show them as different tiles in Apple Home (so you could see the sensors and group all bypass switches)

This can be done, although for big installations it might lead to a whole mess of accessories in Home.app - maybe grouping all bypass switches in one accessory might be a more clean solution?

[ ] display radar accessories as motion sensors (instead of contact sensors)

The plugin already supports setting radars as such manually in its settings. Unfortunately, the system does not appear to have any inner knowledge of what kind of sensor a zone is - at least for radars (there is no flag for radar status AFAIK). The manual option works nicely, however, and allows for manual name overrides as well for older setups where the user can't set zone names in the web interface.

[ ] display smoke detector accessories (instead of contact sensors)

I don't have smoke sensors in my installation to test. If you do have some in your setup, please grab an instance of your zones array and point out said sensors; I could check whether there is some kind of flag for this. I sincerely doubt that the system knows which sensors are smoke detectors, just like with the radars; however, it should be easy to implement them via the manual override described above.

maybe grouping all bypass switches in one accessory might be a more clean solution?

I agree! What would be the best way to do that? :)

The plugin already supports setting radars as such manually in its settings.

Thanks, that's working nicely!!

I sincerely doubt that the system knows which sensors are smoke detectors, just like with the radars; however, it should be easy to implement them via the manual override described above.

Unfortunately, there's no way to tell the kind of sensor.
But I could try to add the manual override option and create a PR?

For the smoke sensors, you would need to create a new subclass in platformAccessory.ts describing the smoke sensor accessory with all its logic, add the choice for smoke sensor in the config options and then add the logic necessary in accessory discovery to set the zones described as such.
Grouping bypass switches is a bit more complex: normally accessories support only one kind of service per type, so in order to group all bypasses in one accessory, we should create duplicates of the switch service with different handles for every sensor, then make sure that every sensor gets one such service in the grouped accessory. It's not that simple but theoretically it can be done.

It's not that simple but theoretically it can be done.

Perhaps it would be easier to allow ungrouping or somehow enable the Show as Separate Tiles functionality. (This is working for the security area accessory)
That would allow the manual setup of the group for bypass switches.

Perhaps it would be easier to allow ungrouping or somehow enable the Show as Separate Tiles functionality. (This is working for the security area accessory)
That would allow the manual setup of the group for bypass switches.

The security area accessory and the sensors accessories are set up in the same way (multiple services set up under the same accessory), so it's probably a matter of how HomeKit groups these accessories. You can group the bypass switches under one "master" bypass switch (go into the sensor accessory, scroll down and find the Accessories submenu, then tap on the switch and scroll down to find the Group Accessories option) - however, this creates an additional switch that can be seen from all rooms where there are sensors, does not make individual sensor accessories disappear, and you have to long press it to access individual switches (which defeats the purpose of grouping).
Given the way HomeKit works now, the only way to truly separate sensors from switches is to set them up in the plugin as separate accessories. Again, as I said, not impossible, but needs substantially more work 🤷

Hello,
Regarding your former requests, smoke sensors overrides can be set now with versions above 1.1.0.
Please update and enjoy :)

Thanks so much @flareman great stuff!!
I was wondering if it would be possible to not create any bypass switches at all.
So that the sensor states are not grouped with the bypass switches? :)

Version 1.1.4 is live which adds a new optional setting for hiding bypass switches altogether :)

you are amazing!! I couldn't be happier!! :D


Skip fetch when initialData is set on ensureQueryData

Describe the bug
Firstly, thank you for your work on this library! I am currently using a pull approach to seed the query cache, and I have encountered a specific issue. When a user enters a page, I call ensureQueryData, passing in an initialData value, which may be undefined. The issue I am facing is that ensureQueryData always triggers a fetch when the data is not already in the cache, even when initialData is provided (non undefined).
Below is a simplified example in pseudo-code to illustrate the issue:
  const query = queries.postById.getOptions(id);

  await queryClient.ensureQueryData({
    ...query,
    // here I search inside list queries to find an existing post to be on the initial data
    // even when I have a post, the fetch is executed
    initialData: utils.findInPages(queries.postList.getKey(), byId(id)),
  });

Your minimal, reproducible example
Stackblitz
Steps to reproduce
https://stackblitz.com/edit/vitejs-vite-cnkcntdk?file=src%2FApp.tsx
Expected behavior
Since I am providing initialData, the expected behavior is for the query client to store the initialData in the cache and bypass the fetch process.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform

OS: macOS
Browser: Chrome 131

Tanstack Query adapter
react-query
TanStack Query version
5.62.3
TypeScript version
No response
Additional context
No response

good point. we need to fix that.


The placement of the Normalization Layer.

Hello.
I find the implementation of TransformerEncoderBlock in unetr_pytorch/utils/transformer.py is different from the code in the Paper "UNETR: Transformers for 3D Medical Image Segmentation".
Specifically, UNETR first applies normalization and then applies attention or MLP. However, in this repo, the attention of MLP is applied before the normalization layer.
Will these difference influence the performance of models?

Hello. I find the implementation of TransformerEncoderBlock in unetr_pytorch/utils/transformer.py is different from the code in the Paper "UNETR: Transformers for 3D Medical Image Segmentation". Specifically, UNETR first applies normalization and then applies attention or MLP. However, in this repo, the attention of MLP is applied before the normalization layer.
Will these difference influence the performance of models?

Hello, I would like to ask whether this code is reproduced successfully and how is the effect

Hi guys, this is an old repo and it is not maintained right now. Therefore, it is not possible to answer your questions easily. However, I can say that, the repo works succesfully. If you think that the implementation is wrong in the normalization part, you can easily test it with the correct one. I will be happy to update my code, if it works better.


Nginx configuration by environment variables

Currently if we want to add or override some config files we need to build our own image (usually Dockerfile with 2 lines).
How about to add possibility to insert configuration by env variables?
Example docker-compose.yml:
environment:
  CONFIG_GLOBAL: "client_max_body_size 50M;"
  CONFIG_WWW_EXAMPLE_COM: "client_body_buffer_size 10m;"
  CONFIG_GLOBAL_LOCATION: "client_max_body_size 50M;"
  CONFIG_WWW_EXAMPLE_COM_LOCATION: |
    client_body_buffer_size 10m;
    client_max_body_size 50M;

This variables will be printed in the right place by template.
Is PR welcome?
This feature will probably decrease need for adding other single-use-case features.

I would like that. what I need is to set ssl_prefer_server_ciphers off;, I'm currently thinking about a fork. Or is there a better way?

The way to achieve this is with docker volumes as documented in the README file

Docker volumes are not useable if you want to use remote ephemeral hosts.
On the other hand, env variables or labels are super handy with Docker
Compose.
Jan Pobořil
2017-02-03 13:52 GMT+01:00 Thomas LÉVEIL<EMAIL_ADDRESS>
The way to achieve this is with docker volumes as documented in the README
file
https://github.com/jwilder/nginx-proxy/blob/master/README.md#custom-nginx-configuration
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jwilder/nginx-proxy/issues/688#issuecomment-277239888,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAlfWEN6kdGYhd9ZRA4KYm4orh42oYPRks5rYyL3gaJpZM4Lrj7k
.

I use docker-compose, and it would be more convenient for me to specify my certificates content in environment variables, for example (shortened for brevity):
version: '3'

services:
  proxy:
    image: jwilder/nginx-proxy
    environment:
      SSL_CERTIFICATE: |
        -----BEGIN CERTIFICATE-----
        MIIEWzCCA0OgAwIBAgIJALMB1GItlJExMA0GCSqGSIb3DQEBCwUAMIGDMQswCQYD
        FWVwJcX8zm/b7bXNJdwX
        -----END CERTIFICATE-----
      SSL_CERTIFICATE_KEY: |
        -----BEGIN RSA PRIVATE KEY-----
        MIIEpQIBAAKCAQEArD22Jw/CWyyzxFnUnCsWtKN/jg2BVht6Eo5703og45LrJ5gB
        /JbxCUFWf8X3X7JPOn+Hlz/VvOXKy0gxhSAtb9vd+5z0RGeZ8IL9+2o=
        -----END RSA PRIVATE KEY-----
      SSL_DHPARAM: |
        -----BEGIN DH PARAMETERS-----
        MIIBCAKCAQEAsSKY3K9w6VmRv4Mn7AAXK/U6S6DbBflqUNmEBsVkRUhSU15GVayj
        wOI8ijB2iWUCkh8uPklI8Z9NgQxetVS36wIBAg==
        -----END DH PARAMETERS-----

When nginx-proxy starts up, if these environment variables are set it would save them into files:
[ -z "$SSL_CERTIFICATE" ]     && echo "$SSL_CERTIFICATE"     >> /etc/nginx/certs/ssl.crt
[ -z "$SSL_CERTIFICATE_KEY" ] && echo "$SSL_CERTIFICATE_KEY" >> /etc/nginx/certs/ssl.key
[ -z "$SSL_DHPARAM" ]         && echo "$SSL_DHPARAM"         >> /etc/nginx/certs/dhparam.pem


survey added

Some comments:

2.Have you ever used our website before?
delete ever
should we split the Python/conda and/or VS Code question in two? Or? 1) Python/conda; 2) VS Code?
question 7, remove Your feedback is very important to us make it a fast read
question 8 suggests that all of our services are up for discussion, is this feedback on the website, or our general services, if general, I think it should be deleted or reformulated to encompass only our physical support.

Also, I would recommend you to get feedback from all supporters, announce this on discord so everybody has a chance to look it through! :)
Thanks!

Hi @zerothi,
Thank you for the feedback! I did the following changes in the survey based on your comments:

"ever" removed from Q2
Separated Python/Conda and VS Code into different options in Q3
"Your feedback is very important to us" removed from Q7
"services" changed with "website" in Q8 as the survey aims to collect feedback on the website only

We actually did send a message to #discussions on Discord last week Thursday. We got feedback from more than half of the supporters, and Pietro also gave a green light to proceed with it.
I think with these final changes we are okay to continue, but please let me know if we're good to go now. Thank you :)

We're live!


Duplicate version of same artifact is not accepted.

[Enter feedback here]
The list of libraries is not correct : you CANNOT have multiple libraries with different versions.
Trying to add the list of jar provided by documentation is not possible : we will never know what versions is provided by a Databricks cluster with this DBR versions.
com.github.fommil.netlib:native_ref-java:jar -> version 1.1 vs 1.1-natives
com.github.fommil.netlib:native_system-java:jar -> version 1.1 vs 1.1-natives @
io.netty:netty-transport-native-epoll:jar -> version 4.1.87.Final vs 4.1.87.Final-linux-aarch_64
io.netty:netty-transport-native-epoll:jar -> version 4.1.87.Final vs 4.1.87.Final-linux-x86_64
io.netty:netty-transport-native-kqueue:jar -> version 4.1.87.Final-osx-aarch_64 vs 4.1.87.Final-osx-x86_64
IMHO instead of giving a HTML table , you should provide a maven or sbt desciptor.
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.github.fommil.netlib:native_system-java:jar -> duplicate declaration of version (?) @ line 493, column 17
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.netty:netty-transport-native-epoll:jar -> duplicate declaration of version (?) @ line 571, column 17
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.netty:netty-transport-native-epoll:jar -> duplicate declaration of version (?) @ line 572, column 17
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.netty:netty-transport-native-kqueue:jar -> duplicate declaration of version (?) @ line 574, column 17
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.github.fommil.netlib:native_ref-java:jar -> version 1.1 vs 1.1-natives @ line 134, column 21
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.github.fommil.netlib:native_system-java:jar -> version 1.1 vs 1.1-natives @ line 136, column 21
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.netty:netty-transport-native-epoll:jar -> version 4.1.87.Final vs 4.1.87.Final-linux-aarch_64 @ line 214, column 21
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.netty:netty-transport-native-epoll:jar -> version 4.1.87.Final vs 4.1.87.Final-linux-x86_64 @ line 215, column 21
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.netty:netty-transport-native-kqueue:jar -> version 4.1.87.Final-osx-aarch_64 vs 4.1.87.Final-osx-x86_64 @ line 217, column 21

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

ID: 6c451f3e-55f5-992e-c27f-22a985640a36
Version Independent ID: 6c451f3e-55f5-992e-c27f-22a985640a36
Content: Databricks Runtime 13.3 LTS (Beta) - Azure Databricks
Content Source: databricks/release-notes/runtime/13.3lts.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

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

@kateglee-db
Could you please review add comments on this, update as appropriate.

@Taccart
Thank you for bringing this to our attention.
I've delegated this to content author @mssaperla, who will review it and offer their insightful opinions.

Thanks for providing feedback that helps improve our documentation. We've created an internal work item (DOC-11115) to address your feedback. The timeline for resolution varies based on resourcing.
#please-close


DESIGN CONTACT US PAGE

want to design contact us page and route the page to navbar keeping the responsive UI factor in mind.
Assign me to design it.

will this be integrated with the backend also?

yes fully functional contact page. infos will be stored in backend

@paulkrishanu4 any updates?

Hey, @VaibhavArora314 ,
If no-one is working on it, I would like to work on it.
I also visited #129
Thanks.

@paulkrishanu4 since no response I am assuming you are not working on this

I have created the Contact Us page as requested. Please provide feedback on the implementation.

I have created the Contact Us page as requested. Please provide feedback on the implementation.

looks good, just make sure its integrated with backend and raise a pr after that

I have made a pull request for this issue, Please check.


fix: Keep custom root Jest config

Signed-off-by: Sergio-Mira<EMAIL_ADDRESS>Hey, I just made a Pull Request!
Looking to fix this issue with Jest config https://github.com/backstage/backstage/issues/15311
The main problem is that the root Jest config is not returned for the root project folder and thus 'reporters' and other config currently does not work.
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

is this PR still in progress?
Im still seeing this issue and having trouble setting global level jest config for all packages.

@ScottGuymer are you seeing the issue with this PR changes? Or in the current release?

No i mean in the latest release (ie its not been fixed elsewhere)
I have not tried this branch yet

Can we re-open this?

Can i known about the progress of this PR?