Trying fix for Windows

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-webservice.
It appears you are making a pull request from a branch in your feedstock and not a fork. This procedure will generate a separate build for each push to the branch and is thus not allowed. See our documentation for more details.
Please close this pull request and remake it from a fork of this feedstock.
Have a great day!

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Hi! This is the friendly automated conda-forge-webservice.
It appears you are making a pull request from a branch in your feedstock and not a fork. This procedure will generate a separate build for each push to the branch and is thus not allowed. See our documentation for more details.
Please close this pull request and remake it from a fork of this feedstock.
Have a great day!

Hi! This is the friendly automated conda-forge-webservice.
It appears you are making a pull request from a branch in your feedstock and not a fork. This procedure will generate a separate build for each push to the branch and is thus not allowed. See our documentation for more details.
Please close this pull request and remake it from a fork of this feedstock.
Have a great day!

Hi! This is the friendly automated conda-forge-webservice.
It appears you are making a pull request from a branch in your feedstock and not a fork. This procedure will generate a separate build for each push to the branch and is thus not allowed. See our documentation for more details.
Please close this pull request and remake it from a fork of this feedstock.
Have a great day!

Hi! This is the friendly automated conda-forge-webservice.
It appears you are making a pull request from a branch in your feedstock and not a fork. This procedure will generate a separate build for each push to the branch and is thus not allowed. See our documentation for more details.
Please close this pull request and remake it from a fork of this feedstock.
Have a great day!

Hi! This is the friendly automated conda-forge-webservice.
It appears you are making a pull request from a branch in your feedstock and not a fork. This procedure will generate a separate build for each push to the branch and is thus not allowed. See our documentation for more details.
Please close this pull request and remake it from a fork of this feedstock.
Have a great day!

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-webservice.
It appears you are making a pull request from a branch in your feedstock and not a fork. This procedure will generate a separate build for each push to the branch and is thus not allowed. See our documentation for more details.
Please close this pull request and remake it from a fork of this feedstock.
Have a great day!

Hi! This is the friendly automated conda-forge-webservice.
It appears you are making a pull request from a branch in your feedstock and not a fork. This procedure will generate a separate build for each push to the branch and is thus not allowed. See our documentation for more details.
Please close this pull request and remake it from a fork of this feedstock.
Have a great day!

Still getting the same error on Windows 😞  [ref]:
raise ValueError("path '%s' cannot be absolute" % pathname)

The bot is also complaining about doing this PR from the main repo. Can you fork and make a PR from your fork?
Also, based on this, try this command to delete:
rmdir src/pyppmd.egg-info /s /q

Drafting this in favor or https://github.com/conda-forge/pyppmd-feedstock/pull/3


Crash with Item Suggestions Not Require Mod Name

Game crashes during the launch:
latest.log
Info

Windows 10
Minecraft 1.19
Fabric Loader 0.14.7
Suggestion Tweaker 1.2.1
Item Suggestions Not Require Mod Name 1_03

Additional
https://github.com/RealRTTV/item-suggestions-not-require-mod-name/issues/1

This is not a conflict I'm willing to resolve as you don't need the other mod if you've already got this one; it does what the other mod does.


Why pretrained weights are bigger than finetune weights?

I download:

But I find out that pretrained weights is about 3x larger comparing with finetune. What's the difference between them?
When I loading the pretrained weights a message from console saying:
reshape position embedding from 196 to 576.
Does it means that two weights correspond to different model configuration?

pretrained weights contains additional parameters such as the momentum model used for contrastive learning.
yes the input resolution is different between pretrain & finetune


ENDOC-364

done and done! did you want a table of all the ent dependencies?

Let's leave the table of dependencies out and let ent be the guide on that. One of the goals is for ent to manage that set of dependencies rather than try to keep the docs in sync.


How to get images added in a worksheet

First of all, Thank you for making a great xlsx manipulating library.
What to do
Using your library, I am trying to make a module that checks if two excel files are the same so that each cell of one workbook has the same value and style as the other. Also, I want to check if both have the same images in the same position.
Problem
In order to do that, I want to retrieve all images shown in excel.
How can I get all images in a worksheet and the position of it?
Thanks

Hello, did you find a way?


Update Wonder file with 7 wonders of the world

Please add my files to your repository with label hacktoberfest

@sahilsingh7735 You have assigned me this project but still the checks have failed

@roshan2152 you have to create a new branch, and then you have to raise a PR.


load_system_fonts() shouldn't load blacklisted <rejectfont> fonts

First and foremost, thank you for your wonderful projects. I am here because Typst loaded my blacklisted fonts
typst/typst#4848
Font configuration files of fontconfig in Linux use this syntax to load fonts from a specific location and blacklist others.
<dir>/usr/share/fonts</dir>
<rejectfont><glob>/usr/share/fonts/TTF/*Thai*</glob></rejectfont>

What's the proper way to handle this?

fontconfig isn't supported and not planned.

Thanks for clarifying the situation.

.


Automerge is not working because it sees a conflict with the main tokenlist (urgent !!)

I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary
I have create a new PR with the name https://github.com/solana-labs/token-list/pull/14040 but it's not updating correctly.

Thanks

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
Issue is that this token needs to be live very soon and the Logo is not showing at all.
I did an initial PR when i created the token in the tokenlist.solana file and the automerge worked as expected but since the link was not correct i added the logo to the asset/mainnet/tokenaddress and waited. Sadly i have tryied to redo the process by reseting the head to this initial commit but without luck. Token will be live in 3 weeks, can somebody help me out ? the PR needs to add the photo and correct one link, shoul be quite easy.

Thanks in advance!

can you merge this @keone

added comment on PR

hello @keone , i tried to rebase the commits with the initial commit as squash but it seems the issue is getting worse, can you help ? token is launching soon

https://github.com/solana-labs/token-list/pull/16728 this is the pull request

hey @keone, i have reforked the repo and seems right now that the issue is solved, there is no other conflict in the file merging.
this is the pull request, can you check it out and let me know if everything looks ok ?
https://github.com/solana-labs/token-list/pull/20025

it looks mostly ok, but the file is huge... we have a 200kb limit on files uploaded.
either:

size it down
don't include it in the repo at all, as your logoURI is not pointing back to this repo so it's not needed

merged


Show CUPS server connect info on failure

#158 for context. Before the connector attempts to connect to a CUPS server, it should report where it is trying to connect to. This log entry should be adjusted:
connected to CUPS server /var/run/cups/cups.sock:631 encrypting REQUIRED

#158 for context. Before the connector attempts to connect to a CUPS server, it should report where it is trying to connect to. This log entry should be adjusted:
connected to CUPS server /var/run/cups/cups.sock:631 encrypting REQUIRED


Disable flaky test

This test is very flaky - both locally and on Kokoro. @Ignore'ing it for know until we can figure out why. Its a pretty self contained small piece of functionality (the feedback button) so I feel ok doing this for now.

What's the failure?

that virtualfilemanager thing. adding an issue to attach to this with the error

fixes #2071

Will also create an issue to track re-enabling this test. Assuming we merge this.


POC: allow custom executors without indirection

Current executor design does not allow downstream crates to integrate well into embassy: they are only able to create executors that use dynamic dispatching to wake tasks. This PR is a proof of concept based on extern "Rust" functions and a bit of trait work, generalizes the thread-mode and interrupt-mode executors and allows downstream crates to hook into them.
cc @Dirbaio this is a half-measure boiled down from our conversation last night. I believe you said it isn't possible to replace the Pender enum with extern "Rust", but it is possible to replace its innards.

I am still considering a few things:

Whether or not I should revert the ThreadModeExecutor changes. Reimplementing isn't a big deal, but on the other hand, neither is implementing a trait instead of the whole executor facade.
I'm not particularly fond of the API. The interrupt-mode executor receives its context in start, the thread-mode in its constructor.
The thread-mode executor looks like it could be a single function that creates the executor and runs it. There seems to be no reason to provide a static object that can't be used for anything else.
As an alternative to the above point, option B is to add the same spawner function to the thread-mode executor like what InterruptExecutor has, so that the static global can be useful, and the API can become more symmetrical :)

(for context, original discussion in Matrix here)
Hmm, so what you're doing here is keeping the Pender enum with the "thread, interrupt, callback" cases, but making customizable what the "thread" and "interrupt" cases do via extern "Rust". I think it's a bit "worst of both worlds": we have both the enum which was a bit of a hack, and also the extern trick, both of which come with their associated complexity. Let me explain:
Before #1321 the raw module was completely agnostic to the "thread vs interrupt mode executors". It just took a function pointer for the pender. The non-raw Executor and InterruptExecutor would supply function pointers that did the right thing (SEV, or pend an irq).
In #1321 I added the Pender enum as sort of a hack to avoid indirect calls when using the builtin thread-mode / interrupt-mode executors. This meant raw is no longer agnostic to the executor kind. However, I still tried to keep raw's public API looking "as if" it was agnostic. I wanted to keep the non-agnosticness as an implementation detail, as just an optimization. This is why there's no way to construct Pender::Thread or Pender::Interrupt from ouside the crate, for example.
Ideally raw should be agnostic to "thread-mode, interrupt-mode" because it's supposed to be arch-agnostic. Some arch might have "frob-mode, glorb-mode, zlosh-mode" instead.
I think if we do add a way to customize the pender via extern "Rust", the enum is redundant, because you can already do everything without it. In the Matrix discussion, I mentioned that as a design goal we should have "allow mixing different Penders in the same binary (like one thread executor + N interrupt executors)". However, that's not entirely true: if you can't mix penders, you can still set a single pender that does an if, so different executor instances do different things on pend. So, my proposal:

Remove the Pender enum.
Make raw look like before #1321, except the function pointer is now an extern "Rust" fn. That is:

You can set a single pender callback via extern "Rust". All raw executor instances will call that.
You must pass a pender_ctx: *mut () to raw::Executor::new(). It is passed to the pender callback.

all arch-xxx set the pender callback extern fn to do the arch-specific thing.
arch-cortex-m sets a single pender callback that does if pender_ctx as usize == 0xFFFF_FFFF { sev() } else { NVIC.pend(pender_ctx as irqn) }.

If no arch-xxx feature is enabled, the user has to set their own pender callback (or use a lib that does it) or they get a linker error.
Advantages:

raw is truly arch-agnostic again
Everything works with no indirect calls
If the user still wants indirect calls, they can still do it by setting a pender callback that calls a function pointer.
External crates are on the same "footing" to implement executor flavors as the embassy-executor crate. All work with no indirect calls.

Disadvantages:

It's no longer possible to "mix" a builtin executor (like from arch-cortex-m) and a custom one. If you go custom, you have to go full custom.

as an aside, to answer why the executor API looks like it does:

The thread-mode executor looks like it could be a single function that creates the executor and runs it. There seems to be no reason to provide a static object that can't be used for anything else.

the executor needs to live forever. If the executor is stack-allocated in run(), it's possible to exit from it with panic + catch_unwind, which would deallocate it. Could be fixed by making the executor itself do catch_uwnind in the right places, but it's not trivial.

As an alternative to the above point, option B is to add the same spawner function to the thread-mode executor like what InterruptExecutor has, so that the static global can be useful, and the API can become more symmetrical :)

There's some necessary asymmetry: InterruptExecutor::spawner() returns a SendSpawner, which is more restrictive (it requires task args to be Send). It's nice to be able to obtain a (non-Send) Spawner for the thread mode executor, so you can move non-Send things from the non-async main to the tasks via args. For that, the compiler has to be able to enforce that you're obtaining the spawner and calling run() on the same thread. For this, Executor has to be !Send, so you can't place it in a static unlike InterruptExecutor...

I have written a lengthy response, in which I managed to convince myself that you are right :)
pender-callback implementors will have to deal with only receiving a single pointers worth of context, but that is probably an okay compromise for the reduced complexity in embassy.

It's nice to be able to obtain a (non-Send) Spawner for the thread mode executor, so you can move non-Send things from the non-async main to the tasks via args

I'm not sure I understand this sentence correctly, but I did phrase my thoughts badly. What I meant, was a Executor::spawner() that returns a SendSpawner so that interrupt executors can spawn tasks on the thread executor (or one core could spawn tasks on another). Those tasks should already be Send, I think, as they would be passing a thread boundary, but I may be wrong. Generalizing to a non-send Spawner sounds way less useful because one can just get one via Spawner::for_current_executor().

the executor needs to live forever

I think all hell breaks loose already if a program unwinds from the run function (I don't think it's possible to reset tasks, and that means calling run again will just probably panic again on any must_spawn call, and so nothing else can be done with the executor after unwinding from it), but this is a fair point I didn't consider.

I think all hell breaks loose already if a program unwinds from the run function

Yes, the executor becomes "useless" but at least it doesn't create unsoundness.

I'd rather if the context was a usize.

from the "strict provenance" discussions in Rust lately, this has been discussed a bit. Nothing is formalized yet, but the consensus is smuggling a usize through a pointer is fine (as long as you don't deref it of course) but smuggling a pointer through a usize is not. It strips provenance info, and in some architectures such as ARM CHERI, pointers are physically "address + more stuff", so you can't restore it from a usize which is just the address.

"address + more stuff"

eh, right, I forgot about this one... anyway, easy fix if we can have PenderContext opaque.

I think it'd be simpler to outright remove Pender and PenderContext. There's no advantage in making it opaque, and it'd get rid of all the transmutes.
Also I'd remove interrupt.rs for now. Whether we want an arch-agnostic InterruptExecutor or not is a separate question, we can discuss later. I'd focus on refactoring the pender only in this PR.

PenderContext wasn't entirely pointless, but the idea needed the agnostic thread-mode executor. The idea was to disallow arbitrary values passed as context - the platform implementation should have defined the supported conversions.
I'll resolve the compile errors soon and then this should be ready, I think?

Converting to draft because of the unupdated docs.


AIO instructions

Add some form of this to a page:
I'd like to have you all send out AIOs to the lab group each week. If you've had me for EME 185 you now what these are.
"AIO" stands for Accomplishments, Issues, and Objectives. This email should contain three bullet lists:
what you or your team accomplished in the previous week,
what issues you encountered during that week and would like help with, and finally
what your objectives are for the coming week.

You should send it to<EMAIL_ADDRESS>and cc anyone not in the lab that is involved in your project.
The purpose of these are to share what you are doing with me, anyone involved in your project outside the lab, and also to share among the lab members. The latter is the most important one, because many of you may be solving similar problems and can offer help/tips to other members. Doing this will hopefully start conversations among the group. Some notes:
If you are working in a team you can send out a single AIO for your team.
No need to list your hours worked or who did what in teams.
The AIOs do not need to be elaborate, concise is best.
It is ok, and preferred, to reply-all if you want to comment on an AIO with a suggestion so everyone can learn.
This is not a contest. I don't care how much you accomplish, but I do care that you are working and attempting to make progress. If you had vacation that week or just didn't have much time to work, that's fine, just note that.

The AIOs should be sent the day of your meeting with me. It can be before (we can use it as an agenda) or after if you prefer to work on the issues with me and then post outstanding ones and the revised objectives post meeting. However you do it, each week the accomplishments should hopefully reflect the objectives you wrote the previous week.
 If you have feedback to improve, or think it is useless burden, tell me and we can discuss better ways to accomplish things.

Done.


Add support for _tostring() for object

Allows custom definition of tostring() operation on object instances.

ping?

Thanks for the enhancement and sorry that it took so long


[DOCFIX] Update Mounting-Alluxio-FS-with-FUSE.md of the Chinese version

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/16247/
Test PASSed.


Controlled list: Licenses

After discussions with GRES on landing pages:
There should be a controlled list of licenses where these licenses link to creative commons (feks: https://creativecommons.org/licenses/by/4.0/). This is so that the license field on the landing pages can be linked to this list and that we do not have to update all landing pages if creative commons changes their url.

@markusfiebig I see its added in the main vocabulary https://vocabulary.actris.nilu.no/skosmos/actris_vocab/en/page/CC-BY-4.0
Could you add the link to the license (i.e. https://creativecommons.org/licenses/by/4.0/) in the vocabulary?
And if so, then we can close this issue.

Links to the SPDX pages of the licences are already included


Windows 10 support?

Hey sorry, not sure where to post this, love this product, since its web based, will it run on windows? is there an easy way to make an .exe?

https://github.com/wulkano/kap/issues/456#issuecomment-388561013


Support host and service labels

Labels can be filtered by regexp from environment variable LABELS_FILTER, by defaults filter set to ^io.prometheus, exporter will fail if regexp is not valid;
All Rancher labels stored in one Prometheus label and comma-separated, very similar to tags from Consul SD (__meta_consul_tags: ",prod,web,") – labels=",io.prometheus.group=pfa,".

Is it looks good or not? Please comment.

Thanks for the PR, looks good to me. I'll try give it a test out in the next few days!


Fixed get_projector_data impementation. Closed #3282.

Any hints how I should test it? Which problem was fixed exactly?

Hm. Just project different stuff (including polls, change recommendations ...) and then remove it. Expected behavior is that the server shows no errors. (Some client slides are not completely correct, but this might be another issue.)


docs: add logo file

This pull request adds a copy of the logo SVG file. The following shared links can be used to create a copy and modify it:

Logo
Logo + text

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9a31ab8) 78.83% compared to head (6ae2257) 78.83%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #109   +/-   ##
=======================================
  Coverage   78.83%   78.83%
=======================================
  Files           6        6
  Lines         926      926
=======================================
  Hits          730      730
  Misses        154      154
  Partials       42       42

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


bugfix: 修复api列表计算属性错误

Codecov Report

Merging #969 (13da792) into v2.6.x_develop (3e6303b) will increase coverage by 0.00%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           v2.6.x_develop     #969   +/-   ##
===============================================
  Coverage           60.74%   60.75%
===============================================
  Files                 467      467
  Lines               29845    29843    -2
===============================================
  Hits                18130    18130
+ Misses              11715    11713    -2

Impacted Files
Coverage Δ

itsm/postman/views.py
49.68% <0.00%> (+0.61%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Config getRelative and urgency seem to do the same thing (wrongly)

According to the README description the config options" getRelative and urgency are doing same thing. While both those things are not very productive friendly.
What should happen?

Many days (let's say >7) before the event, one would like to see relative times in the form In 8 days.
A few days (let's say <7) before the event, one would like to see relative times in the form In 6 days @ 15:00, or on Thursday @ 15:00
Two days before the event, one would like to see relative times in the form Tomorrow @ 15:00.
At the same day, one would like to see absolute times in the form:

Today @ 15:00.
In 15 minutes @ 15:00

What is actually happening? (default settings)

My time is showing 09:35 and the event only reads In 2 hours. Not very helpful, since, I don't have any event at 11:35!

@MichMich To make a PR we first need to understand what was intended with those options.
To fix the other details, we can figure that out later/after.

Ok, let's take a different approach: are you running into issues? Are you getting incorrect calendar notifications. Is it an issue which you can replicate in a small prove of concept. (Try out the two options to see the difference and see how they overlap.)
If so, please fill in the full issue report including all asked questions.
The current description doesn't really explain the issue or the expected result.

Closed due to inactivity (and not pointing out any real issues ... ;))


sync upstream main branch to downstream

syncing upstream main to downstream main

@nixpanic upstream is not in sync with downstream?

@nixpanic upstream is not in sync with downstream?

It is, but for some reason GitHub does not like the syncing since the vendor/ directory was included. Maybe it got confused by the number of files, or something :man_shrugging:
We have been cherry-picking all changes from the main branch in upstream to this repo (scripted).

https://github.com/red-hat-storage/kubernetes-csi-addons/pull/4#issue-1101619964 contains a one-line script that can do the syncing. Could you try it out to update this PR?

#4 (comment) contains a one-line script that can do the syncing. Could you try it out to update this PR?

getting below errors/warnings
git log --format=format:"%h" --reverse origin/main...edd630a44 | xargs git cherry-pick
On branch update-main
Cherry-pick currently in progress.
  (run "git cherry-pick --continue" to continue)
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

nothing to commit, working tree clean
The previous cherry-pick is now empty, possibly due to conflict resolution.
If you wish to commit it anyway, use:

    git commit --allow-empty

Otherwise, please use 'git cherry-pick --skip'

right, so at least one of the commits has already been cherry-picked now, you'll need to skip that one, or use git cherry-pick --skip.

having lot of merge conflicts. @nixpanic can you please take care of this one?

right, so at least one of the commits has already been cherry-picked now, you'll need to skip that one, or use git cherry-pick --skip.

having lot of merge conflicts. @nixpanic can you please take care of this one?

That is indeed weird... There should not be any conflicts, I don't know what caused this :cry:

This was resolved by force-pushing a new main branch to the repo. The previous state of the main branch is still available as tag before/branch/reset/20220301.


Feat: Add Terraform module

Closes #63
This PR creates a terraform/ directory that hosts the Terraform module for this charm. It follows the structure proposed in this spec.
To test the module:

Clone the repository and switch to this branch.
First run tox -e tflint to ensure that linting is correct
Change to the terraform/ directory and run terraform init.
Run terraform apply -var "channel=latest/edge" -var "model_name=kubeflow" --auto-approve and wait until the charm is Active and Idle.

Running terraform apply produces the following error:
unit-resource-dispatcher-0: 14:57:25 ERROR unit.resource-dispatcher/0.juju-log Uncaught exception while in charm code:
Traceback (most recent call last):
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/lightkube/codecs.py", line 37, in _load_model
    module = importlib.import_module(f'lightkube.resources.{version.lower()}')
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'lightkube.resources.metacontroller_v1alpha1'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./src/charm.py", line 284, in <module>
    main(ResourceDispatcherOperator)
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/ops/main.py", line 548, in main
    manager.run()
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/ops/main.py", line 527, in run
    self._emit()
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/ops/main.py", line 513, in _emit
    self.framework.reemit()
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/ops/framework.py", line 870, in reemit
    self._reemit()
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/ops/framework.py", line 950, in _reemit
    custom_handler(event)
  File "./src/charm.py", line 171, in _on_install
    self._deploy_k8s_resources()
  File "./src/charm.py", line 161, in _deploy_k8s_resources
    self.k8s_resource_handler.apply()
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/charmed_kubeflow_chisme/kubernetes/_kubernetes_resource_handler.py", line 324, in apply
    resources = self.render_manifests(force_recompute=False)
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/charmed_kubeflow_chisme/kubernetes/_kubernetes_resource_handler.py", line 272, in render_manifests
    self._manifests = codecs.load_all_yaml(
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/lightkube/codecs.py", line 105, in load_all_yaml
    return _flatten(yaml.safe_load_all(stream))
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/lightkube/codecs.py", line 98, in _flatten
    res = from_dict(obj)
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/lightkube/codecs.py", line 61, in from_dict
    model = _load_model(d['apiVersion'], d['kind'])
  File "/var/lib/juju/agents/unit-resource-dispatcher-0/charm/venv/lightkube/codecs.py", line 40, in _load_model
    raise LoadResourceError(f"{e}. If using a CRD, ensure you define a generic resource.")
lightkube.core.exceptions.LoadResourceError: No module named 'lightkube.resources.metacontroller_v1alpha1'. If using a CRD, ensure you define a generic resource.

Looking into it

Following this comment, the charm needs the resource definition for metacontroller_v1alpha1. Deploying metacontroller-operator and then running terraform apply now reaches an active state:
Model     Controller  Cloud/Region      Version  SLA          Timestamp
kubeflow  uk8sx       my-k8s/localhost  3.4.5    unsupported  15:07:58+03:00

App                      Version  Status  Scale  Charm                    Channel        Rev  Address         Exposed  Message
metacontroller-operator           active      1  metacontroller-operator  latest/stable  245  <IP_ADDRESS>  no
resource-dispatcher               active      1  resource-dispatcher      latest/edge    181  <IP_ADDRESS>  no

Unit                        Workload  Agent  Address      Ports  Message
metacontroller-operator/0*  active    idle   <IP_ADDRESS>
resource-dispatcher/0*      active    idle   <IP_ADDRESS>


Very laggy/slow scrolling with larger files

Issue Type: Bug
Load a text file that is 15000+ lines long.  Use the scrollbar or cursor to scan up and down.  It is very slow compared to other editors to update.  Use the keyboard to pageup/down there is a noticable lag from button release to screen update (I'd guess 150ms-200ms)
VS Code version: Code 1.50.1 (d2e414d9e4239a252d1ab117bd7067f125afd80a, 2020-10-13T15:06:15.712Z)
OS version: Windows_NT x64 10.0.19041

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (8 x 4008)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.95GB (17.77GB free)

Process Argv
--crash-reporter-id 1d21116e-b9f1-47ae-88d3-35155b64febe

Screen Reader
no

VM
67%

Extensions: none

I think this might be a duplicate of #107016
Does the slowness reproduce when closing all instances and launching with code.exe --disable-renderer-accessibility ?

Yes -- thank you - that command line parameter does vastly improve the
situation.
Regards,
dR
On Mon, Oct 26, 2020 at 6:26 AM Alexandru Dima<EMAIL_ADDRESS>wrote:

I think this might be a duplicate of #107016
https://github.com/microsoft/vscode/issues/107016
Does the slowness reproduce when closing all instances and launching with code.exe
--disable-renderer-accessibility ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/109193#issuecomment-716544403,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADMVCKJAYGYHZWZZLRHWZ6TSMV2J5ANCNFSM4S3W4QLQ
.


i am back sorry about being away so long

hopefully i will make a new livery soon
iuh

ok thanks 😄


Tasks: Multi root - Configure Build Task does nothing

Starting with no tasks.json in this setup

Execute Tasks>Run Build Task, shows

Selecting 'Configure Build Task' in the message box
Shows the template picker

I would have expected the same behaviour as when I execute Tasks>Configure Default Build Task, where I can pick from the set of detected tasks.

I am currently rewriting the UI around it to make it more consistent when in folder or workspace mode

Fixed.


Add logging to the manager

Now manager do not produce any messages on errors, resource creation.
Will be very nice to have something like audit logs of manager ongoing processes/errors +  be able to configure verbosity

My bad, everything in place


add typechain step to github actions workflow

the workflow should be

build contract
build typechain
compile js

this should detect any problems with step 2/3 where the contract doesn't line up with the js side or latest changes to rust dependencies (e.g. ink) are incompatible with typechain (usually typechain needs to be bumped)
All of the above needs to be detected automatically in a workflow


Create Dockerfile

Adapted from the AWS Batch Architecture Dockerfile for OpenFold.
Verified on AWS EC2 on a g4dn.2xlarge instance with CUDA 11.7 (even though this container installs 11.3). Supporting CUDA 12 is effectively blocked until OpenFold (and its custom kernels) supports it.
You may need to modify the pip install torch==1.13.1+cu117 to match your machine's CUDA version, or pytorch will complain.

Please note that the source Dockerfile is Apache 2.0


add comitters list for 1.1

Codecov Report

Merging #158 (9ee0268) into master (68b7f3e) will increase coverage by 0.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #158      +/-   ##
==========================================
+ Coverage   67.87%   68.02%   +0.15%
==========================================
  Files          40       40
  Lines        1936     1936
  Branches      318      318
==========================================
+ Hits         1314     1317       +3
+ Misses        519      516       -3
  Partials      103      103


Remove version: ByteDance.JianyingPro version <IP_ADDRESS>62

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://lf3-package.vlabstatic.com/obj/faceu-packages/Jianying_split_5_2_0_11062_jianyingpro_0.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 912)


Sharing DBeaver screen under Wayland

Is your feature request related to a problem? Please describe.
After switching from Gnome/Xorg to Gnome/Wayland (Fedora), DBeaver window cannot be shared anymore (GoogleMeet, Slack etc).
Describe the solution you'd like
Add support for Wayland
Describe alternatives you've considered
The only way I recently found is OBS and its virtual camera. Besides troublesome it's still far for optimal.
Another way is to run DBeaver under Xwayland: env GDK_BACKEND=x11 /usr/share/dbeaver-ce/dbeaver
Additional context
N/A

Are you in a position to motivate the Eclipse team to improve their framework?

@michalk-k Unfortunately, this is extremely difficult without a personal contribution to the eclipse platform, and even in that case, it will take a lot of time to be merged.

I believe you'll find a way. Unless Wayland will fail, it will expand more and more. And nobody wants to use apps without basic functionality.
Please consider finding a way how to run DBeaver under XWayland as a workaround. I mean to mimic env GDK_BACKEND=x11 /usr/share/dbeaver-ce/dbeaver command. Just for convenience (some other apps went this way, ie GitKraken). It makes sharing screen as well as copy&paste work properly.

For some reason, DBeaver has started to be shared recently (at least in GoogleMeet running in Chrome and FF). Did you do something to DBeaver? Or it was changed to Wayland?

@michalk-k Nope, but maybe Java 17 could have fixed that. Not sure.

Recently we switched to JDK 17. Not sure if it helped with this issue, but can't remember something else that may bring significant changes to this issue from our side.


Add optional role-based colors to party members, and focus target

Pretty small change which might help with visual clarity for some people.

Adds an option to color party members based on their role color, as long as their color would have been ArenaColor.PlayerGeneric
Adds an option to specifically show the party member that is your focus target

I just kinda hard-coded the colors here, it might be better to make them configurable.

Updated my PR to include the changes @SomeRandomPeople0 made.

Thanks folks, will take it from here!


怎么自定义图片的宽和高

固定的图片的大小无法适应现实生活中的照片，现实生活中照片的宽高比列是750*1050的，我要如何修改这个比例呢？

we'll work on it for further feature by using super solution tech. @ly19965 FYI.

@xwzj12138 currently we've supply four resolution choice, super resolution is not an issue now. choose a higher resolution, and then you can cut the image locally as you want.


New site: xmdr.nl

Url: https://xmdr.nl
Gtmetrix: landing 30kb, overview 60kb, average article page: ~30kb

Nice idea for the background! Welcome to the 250kb Club!


Puppeteer with firefox in AWS Lambda

Hi
I tried to deploy Puppeteer with firefox in AWS Lambda. It worked fine in my local docker.
But throws the following error in Lambda.
(firefox:20): dconf-CRITICAL **: 13:41:21.966: unable to create directory '/home/sbx_user1051/.cache/dconf

Could you try running with the following set-up, add DEBUG=puppeteer:*  env variable and.
const browser = await puppeteer.launch({
        dumpio: true,
        extraPrefsFirefox: {
            "remote.log.level": "Trace"
        }
    });

If you can post a Gist of the logs, that would be helpful.
CC @whimboo Are you aware of anything special need to AWS Lambda for it to run Firefox?


Don't erase iterator in middle of its loop

Correcting my childish mistake: was calling erase() on an iterator while same iterator was still controlling a loop.  Moved erase to after loop completes.

Looks like this fixes the problems I got with ASAN.
Thanks!


Windows bugs

[ ] Header is missing in some browsers

[ ] "Infinite loading", not sure what that could be exactly, but displaying some timeout message in any case could be useful

The missing header is not a browser-specific issue. Rather it's a component that breaks if the link to a specific chat is opened and the data from the previous step is not loaded in the local storage yet.
It's more of an architectural decision then to move forward: is a person receives a link to a chat (or group) that they didn't have before, we need to fetch that info first before rendering (instead of simply breaking, like it does now)


Add MixtureGroupClassifier that runs summarization on all the groups …

…in a mixture model

Coverage decreased (-0.4%) to 93.064% when pulling 0abee9ab7917fd9c8bec062c6c26e6bd56d534b7 on mixtureGroupClassifier into 21933e27fba244ad76798288e69d069eb827feba on master.

Coverage decreased (-0.4%) to 93.064% when pulling 0abee9ab7917fd9c8bec062c6c26e6bd56d534b7 on mixtureGroupClassifier into 21933e27fba244ad76798288e69d069eb827feba on master.

This PR accomplishes the following:

Allows MixtureModelPipeline to run MixtureGroupClassifier on all of the clusters if a targetGroup setting is not set.
Adds python scripts that plot iterative algorithm fitting process
Adds python scripts that allow showing summaries when clicking on clusters in a matplotlib window.

Coverage decreased (-0.04%) to 93.428% when pulling 2784b2fedb5c57158e27e0aadc2c40a2e759a34a on mixtureGroupClassifier into 21933e27fba244ad76798288e69d069eb827feba on master.

Coverage increased (+0.04%) to 93.505% when pulling 3630edbb75f63a6ad4bc4455f3a5ae3709bc11c0 on mixtureGroupClassifier into 21933e27fba244ad76798288e69d069eb827feba on master.

@pbailis could you take a look?

LGTM


Rex updates to support resource endpoints and restructure of help and readme

This PR also converts Rex to flex layout.
This PR also includes some additional minor changes to correct problems discovered en route.

Fixed #3840


Setting canvas size to 0

Whenever I created a chart from my canvas it just sets it's size to 0 on my other computer it works but when I move the code over to this computer it breaks... there is no errors and I know my code is fine because it works on my other computer
This is the html for my canvas
    <canvas id="modalgrid" height="400px" width="550px"></canvas>

here is my javascript
var graph = new Chart(ctx).Line({
									    labels: dates,
									    datasets: [
									        {
									            label: "Stock",
									            fillColor: "rgba(220,220,220,0.2)",
									            strokeColor: "rgba(220,220,220,1)",
									            pointColor: "rgba(220,220,220,1)",
									            pointStrokeColor: "#fff",
									            pointHighlightFill: "#fff",
									            pointHighlightStroke: "rgba(220,220,220,1)",
									            data: stock
									        },
									        {
									            label: "Sellers",
									            fillColor: "rgba(151,187,205,0.2)",
									            strokeColor: "rgba(151,187,205,1)",
									            pointColor: "rgba(151,187,205,1)",
									            pointStrokeColor: "#fff",
									            pointHighlightFill: "#fff",
									            pointHighlightStroke: "rgba(151,187,205,1)",
									            data: sellers
									        }
									    ]
									}, {bezierCurve: false});

Here is the data for each of the supplied variables
"B003TXIE3A": {
            "title": "Skechers for Work Women's D'Lite Sr Sneaker,White,8.5 M US",
            "asin": "B003TXIE3A",
            "date-updated":<PHONE_NUMBER>,
            "sellers": "5",
            "salesrank": 0,
            "salesrank-all": [
                0,
                0,
                0
            ],
            "stock": [
                65,
                64,
                64
            ],
            "dates": [
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>
            ],
            "sellers": [
                "5",
                "5",
                "5"
            ],
            "needs-update": false
        }

There is no magic :smile: ! If your computers have different OS, different browser or even different browser version, then the render of your page can be different.
So far we can't help you without know your environment.

I think this is a duplicate of/the same issue as #762


Ddded docs and logging

Changes

Linked issues

Resolves #..
Tests

[ ] manually tested
[ ] added unit tests
[ ] added integration tests

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

Project coverage is 34.37%. Comparing base (51a3f21) to head (09250fd).
Report is 3 commits behind head on main.

Files
Patch %
Lines

src/clusters_cost_allocation/dbsql_handler.py
0.00%
15 Missing :warning:

src/clusters_cost_allocation/cost_calculator.py
72.00%
7 Missing :warning:

src/clusters_cost_allocation/main.py
0.00%
7 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #57      +/-   ##
==========================================
+ Coverage   34.18%   34.37%   +0.18%
==========================================
  Files          10       10
  Lines         313      320       +7
==========================================
+ Hits          107      110       +3
- Misses        206      210       +4

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


NSInvocation ignores allocation return values

NSInvocation - copyArgument() does not check return value from EbrMalloc().
invocationWithMethodSignature does not check return value from [self alloc].

Also, why is pMsgFunc a string and not a boolean if it's not being used to look up a symbol at runtime?

Should be covered as part of #711


cmd/dist: show which GOOS/GOARCH combinations are first class ports

go tool dist list, with or without the -json flag, is very useful to list all supported ports. It was proposed and done in #12270.
However, there's no way to query the Go tool which of those combinations are first class ports. The current list is:
linux/amd64
linux/386
linux/arm
linux/arm64
darwin/amd64
windows/amd64
windows/386

Why do I want this list? These ports have binary releases available on golang.org, they are better tested and supported, and they are overall much more common platforms to run Go on. For example, if I'm publishing prebuilt releases for a Go program of mine, I probably want to use Go's list of first-class ports as a starting point, and only add extras if I know about a specific group of users of the prorgram.
Copy-pasting the list from the Wiki is an OK immediate workaround, but it can quickly get out of date. For example, 1.15 adds linux/arm64 to the list, so having copied the list just a few months ago would already be out of date today. The list on the wiki also reflects master; if I look at it now, I might get the impression that linux/arm64 was a first class port at the time that Go 1.14 came out, but that's not the case. go1.14 tool dist list -json would be able to tell me that decisively.
The command already has a -json flag to produce a JSON list, so it should be easy to add another field. For example:
$ go tool dist list -json
[
	{
		"GOOS": "aix",
		"GOARCH": "ppc64",
		"CgoSupported": true,
		"FirstClass": false
	},
[...]

/cc @bradfitz @minux @golang/osp-team

Thanks for the report. I have thoughts on two aspects of this.
One is making the first-class port information programmatically accessible. I think this is reasonable to consider doing. This information is already public, so it is just a matter of making it accessible to computers in addition to humans. The Go project itself would benefit from this, as it could re-use the canonical list of first-class ports in all the places where it's needed. Right now there is some inconsistency, as reported in issue #27689.
Two is about how to version this information. Right now there is only a "master" snapshot, on the wiki, plus its edit history as a rough indicator of what happened over time. Suppose this feature was implemented since Go 1.10 (released on 2018/02/16), what would it mean that go1.10 tool dist list -json prints "FirstClass": false for linux/arm64 and "FirstClass": true for darwin/386? I understand it'd be a rough proxy for "at the time that major version of Go was released, this was the state of first-class ports". What about what go1.10.8 prints, which was released 2019/01/23? Based on how I understand it now, bundling the historical information into cmd/go (whose releases might not align with policy changes) this way doesn't seem like a good approach.
In the end, I think #27689 needs to be resolved before we can make progress.

Suppose this feature was implemented since Go 1.10 (released on 2018/02/16), what would it mean that go1.10 tool dist list -json prints "FirstClass": false for linux/arm64 and "FirstClass": true for darwin/386? I understand it'd be a rough proxy for "at the time that major version of Go was released, this was the state of first-class ports". What about what go1.10.8 tool dist list -json prints, which was released 2019/01/23?

I think I understand it better now. You're looking to make it so that a first-class port is never added or removed mid-release, but rather aligned with major release boundaries, and to make it possible to query that (via cmd/go or elsewhere).
For example, if a port is added to being considered first-class, it should be possible to (easily) answer "this port became first-class as of Go 1.N", rather than having to implicitly compute that from release dates of major Go versions and the first-class addition date.
Is my understanding right?

Correct. When a major release is getting ready, like 1.15, we should make sure that go tool dist list contains up-to-date information about the first class ports. Those should match with what first class port rules are going to be used for the 1.15 release.
Minor (aka bugfix) releases like 1.15.1 should never change this information, because first class ports are only added or removed in major versions like 1.15 and 1.16, as far as I understand. It would be weird for 1.15.1 to add another first class port, or to remove one.

If you're using this data for creating new releases, is it ok for you to query "what is a first-class port right now for Go" vs "what is a first-class port for the latest release of Go"?
Somewhat related, as part of work to move the build dashboard into the coordinator (#34744), and have the "first-class ports" checkbox do the right thing on the UI, I hard-coded this field:
https://go.googlesource.com/build/+/refs/heads/master/cmd/coordinator/internal/dashboard/handler.go#29.
Having that somewhere query-able would be useful for the coordinator as well, as we want this information in a couple tools.
Another thought: Go releases binaries for non-first-class ports as well (freebsd-386/amd64, linux-ppc64le/s390x). I don't think we have a way of knowing for certain the most common platforms for running Go on, as you mentioned, but I have a guess.

If you're using this data for creating new releases, is it ok for you to query "what is a first-class port right now for Go" vs "what is a first-class port for the latest release of Go"?

No, because I build my releases with a stable release of Go, not master. For example, the upcoming Go 1.15 adds linux/arm64 as a first-class port, but I'll build releases with Go 1.14.x, where linux/arm64 was not a first class port (i.e. at the time of 1.14's release).

Another thought: Go releases binaries for non-first-class ports as well

I think that's a requirement for first class ports, but I guess not all downloads have to be first class ports. Maybe the wiki could be clarified.

I don't think we have a way of knowing for certain the most common platforms for running Go on, as you mentioned, but I have a guess.

I think this is up to each use case. For my use case, "what are the platforms with first-class support in Go" is an OK starting point.

Would a patch for this be welcome? I ran into another use-case where this would have been helpful, and having this in the upcoming 1.16 would be nice.
I get that the freeze is here, but I imagine this sort of change might be okay early in the freeze given that go tool dist is not used directly by the vast majority of Go users.

For context, here's the use case: https://github.com/mvdan/dotfiles/blob/47c16f7b56bf8e441e9c760f7664e5a89244a39d/.bin/go-cross. For now, I'm just hard-coding the list, and I have to trust that I'll remember to check https://github.com/golang/go/wiki/PortingPolicy#first-class-ports for updates every release.

I'm really not sure that cmd/go is the right place to put this information. If we add it there right away, it'll be hard to change it.
I'm okay with placing this information in x/build (which is v0 and can be modified anytime without time pressure of the freeze) though so it can be accessed programmatically, and not have to download many historic cmd/go binaries to get info about older releases. I suggest we start there, and consider promoting to cmd/go later on if we're happy with the experience in x/build and still think there's a need to also make it available from cmd/go.
For x/build, the API can perhaps be, inspired by golang.org/x/website/internal/history and golang.org/x/build/cmd/release, something like:
map[string][]string{
	">= go1.15": {
		"linux/amd64",
		"linux/386",
		"linux/arm",
		"linux/arm64",
		"darwin/amd64",
		"windows/amd64",
		"windows/386",
	},

	"< go1.15": {
		"linux/amd64",
		"linux/386",
		"linux/arm",
		"darwin/amd64",
		"windows/amd64",
		"windows/386",
	},

	// ...
}

If we add it there right away, it'll be hard to change it.

I don't follow. The whole point is that, just like the rest of the information given by go tool dist -json, it will change as the list of ports in each Go version change.

With some API to get the ports for a specified major Go version.

For what it's worth, this doesn't seem useful to me, and it also adds Go as a dependency to extract the information. go tool dist -json exists for a reason: to query the detailed list of ports from an installed Go tree.
Such a pure Go API could be useful within x/build perhaps, but it doesn't fix the go tool dist use case. Perhaps file a separate issue for it.

If we add it there right away, it'll be hard to change it.

I meant the API. If we add a field to cmd/go now, we can't easily change or remove it in the future. So it needs more thought before we commit to it.
I'm going to set the milestone to Go 1.17, we can revisit this issue then. I don't think this is important for Go 1.16.

Sure. I really hope a decision can be made for 1.17, though, because I honestly don't see why this request needs years of paused thinking.

Friendly ping. It's not clear to me who can make a decision here or what the process is, but there's just eight weeks left in this merge window, and it would be a shame to miss another release.

A few comments above mention cmd/go but I'm not clear on why.  Currently all of the information for go tool dist list lives in cmd/dist.  Specifically, it all comes from the table cgoEnabled in cmd/dist/build.go.  So I think that we are talking about here is adding another, smaller, table that lists the first class ports, and printing that information in the cmdlist function, presumably only when it is run with the -json flag.  That seems pretty straightforward and considering how slowly the information changes I think it would be easy enough to keep up to date manually, with a comment on the wiki page to remind us.
@dmitshur Is there something I am missing?  Thanks.

I agree with @ianlancetaylor. This is exposed via go tool dist, but it's still just fairly simple changes to cmd/dist.
I really hope we can reach a decision here for 1.17. This issue was marked early-in-cycle, but I don't think it needs to be postponed once again.

@ianlancetaylor I think your understanding of how this could be implemented is accurate. I agree referring to cmd/dist is more precise; I was mentioning cmd/go only because I expected it's more likely dist would be accessed via go tool dist rather than directly.
Back when this issue was originally filed, we had an unresolved issue of not knowing which of two lists was authoritative. That's been resolved (the list on the PortingPolicy wiki page is the authoritative one). By now we've also started using the proposal process for making any changes to the list of first class port (for recent examples, see #35593 and #43814), so I think also updating a table in cmd/dist isn't much extra work. (As @toothrot mentioned, we need to maintain a copy of this information in x/build for dashboard needs, but that's not a big deal.)
Comment https://github.com/golang/go/issues/38874#issuecomment-625179890 made a suggestion that this information should not change across minor releases, only major ones. If that suggestion is used, then proposals to add or remove first-class ports should begin to be tied to a major release milestone.

Can we remove the NeedsDecision label, then? It seems clear that we want to do this, and there don't seem to be any blockers.

Comment #38874 (comment) made a suggestion that this information should not change across minor releases, only major ones. If that suggestion is used, then proposals to add or remove first-class ports should begin to be tied to a major release milestone.

I always assumed that to be the case. It would be a problem for a 1.16.2 release to remove a first-class port, for example. It would also be weird for a first-class port to be added. I don't think either has happened in the past.

Format of the proposed CL is a simple extension of the existing one with a table of first class ports.
Output of one entry of go tool dist list -json becomes:
{
        "GOOS": "windows",
        "GOARCH": "amd64",
        "CgoSupported": true,
        "FirstClass": true
},

Looks fine to me, though I'm not the one who can review or approve this :)


dominant negative clinical significance icon switched to correct version

resize-full and expand are essentially the same icon in the different free icon sets "glyphicons" and "font-awesome". I'm not sure the provenance of those icon sets, but they're very similar. Confusingly, one can use both in sphinx/RST files, however I think the reason we're using the glyphicon extension for sphinx is b/c the |icon-name| notation works well in the RST table syntax while the font-awesome icons have to be displayed using HTML tags w/ style attributes which don't (and we use tables extensively for showing what various icons mean).

Okay, thanks for the explanation.


Cannot load Vicuna-13B

Hello,
@OlivierDehaene, @patrickvonplaten
I'm running a server with 4xT4 16Gb, I would like to run distributed inference on all 4 of my GPU's, when I run
docker run --gpus all --shm-size 1g -p <IP_ADDRESS>:8000:80 -v /home/vicuna:/data ghcr.io/huggingface/text-generation-inference:latest --model-id /data/stable-vicuna-13b --num-shard 4

I'm getting this as the error
2023-04-29T08:27:11.623013Z  INFO text_generation_launcher: Args { model_id: "/data/stable-vicuna-13b", revision: None, sharded: None, num_shard: Some(4), quantize: false, max_concurrent_requests: 128, max_best_of: 2, max_stop_sequences: 4, max_input_length: 1000, max_total_tokens: 1512, max_batch_size: None, waiting_served_ratio: 1.2, max_batch_total_tokens: 32000, max_waiting_tokens: 20, port: 80, shard_uds_path: "/tmp/text-generation-server", master_addr: "localhost", master_port: 29500, huggingface_hub_cache: Some("/data"), weights_cache_override: None, disable_custom_kernels: false, json_output: false, otlp_endpoint: None, cors_allow_origin: [], watermark_gamma: None, watermark_delta: None }
2023-04-29T08:27:11.623037Z  INFO text_generation_launcher: Sharding model on 4 processes
2023-04-29T08:27:11.623590Z  INFO text_generation_launcher: Starting shard 0
2023-04-29T08:27:11.623727Z  INFO text_generation_launcher: Starting shard 1
2023-04-29T08:27:11.624071Z  INFO text_generation_launcher: Starting shard 3
2023-04-29T08:27:11.624164Z  INFO text_generation_launcher: Starting shard 2
2023-04-29T08:27:17.819514Z ERROR shard-manager: text_generation_launcher: Error when initializing model
Traceback (most recent call last):
  File "/opt/conda/bin/text-generation-server", line 8, in <module>
    sys.exit(app())
  File "/opt/conda/lib/python3.9/site-packages/typer/main.py", line 311, in __call__
    return get_command(self)(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/typer/core.py", line 778, in main
    return _main(
  File "/opt/conda/lib/python3.9/site-packages/typer/core.py", line 216, in _main
    rv = self.invoke(ctx)
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/typer/main.py", line 683, in wrapper
    return callback(**use_params)  # type: ignore
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/cli.py", line 58, in serve
    server.serve(model_id, revision, sharded, quantize, uds_path)
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py", line 155, in serve
    asyncio.run(serve_inner(model_id, revision, sharded, quantize))
  File "/opt/conda/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/opt/conda/lib/python3.9/asyncio/base_events.py", line 634, in run_until_complete
    self.run_forever()
  File "/opt/conda/lib/python3.9/asyncio/base_events.py", line 601, in run_forever
    self._run_once()
  File "/opt/conda/lib/python3.9/asyncio/base_events.py", line 1905, in _run_once
    handle._run()
  File "/opt/conda/lib/python3.9/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
> File "/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py", line 124, in serve_inner
    model = get_model(model_id, revision, sharded, quantize)
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/__init__.py", line 133, in get_model
    return FlashLlamaSharded(model_id, revision, quantize=quantize)
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/flash_llama.py", line 187, in __init__
    self.model = model.eval().to(device)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1145, in to
    return self._apply(convert)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 797, in _apply
    module._apply(fn)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 797, in _apply
    module._apply(fn)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 820, in _apply
    param_applied = fn(param)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1143, in convert
    return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
NotImplementedError: Cannot copy out of meta tensor; no data!
 rank=3
2023-04-29T08:27:17.819555Z ERROR shard-manager: text_generation_launcher: Error when initializing model
Traceback (most recent call last):
  File "/opt/conda/bin/text-generation-server", line 8, in <module>
    sys.exit(app())
  File "/opt/conda/lib/python3.9/site-packages/typer/main.py", line 311, in __call__
    return get_command(self)(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/typer/core.py", line 778, in main
    return _main(
  File "/opt/conda/lib/python3.9/site-packages/typer/core.py", line 216, in _main
    rv = self.invoke(ctx)
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/typer/main.py", line 683, in wrapper
    return callback(**use_params)  # type: ignore
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/cli.py", line 58, in serve
    server.serve(model_id, revision, sharded, quantize, uds_path)
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py", line 155, in serve
    asyncio.run(serve_inner(model_id, revision, sharded, quantize))
  File "/opt/conda/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/opt/conda/lib/python3.9/asyncio/base_events.py", line 634, in run_until_complete
    self.run_forever()
  File "/opt/conda/lib/python3.9/asyncio/base_events.py", line 601, in run_forever
    self._run_once()
  File "/opt/conda/lib/python3.9/asyncio/base_events.py", line 1905, in _run_once
    handle._run()
  File "/opt/conda/lib/python3.9/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
> File "/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py", line 124, in serve_inner
    model = get_model(model_id, revision, sharded, quantize)
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/__init__.py", line 133, in get_model
    return FlashLlamaSharded(model_id, revision, quantize=quantize)
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/flash_llama.py", line 187, in __init__
    self.model = model.eval().to(device)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1145, in to
    return self._apply(convert)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 797, in _apply
    module._apply(fn)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 797, in _apply
    module._apply(fn)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 820, in _apply
    param_applied = fn(param)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1143, in convert
    return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
NotImplementedError: Cannot copy out of meta tensor; no data!
 rank=2
2023-04-29T08:27:17.819986Z ERROR shard-manager: text_generation_launcher: Error when initializing model
Traceback (most recent call last):
  File "/opt/conda/bin/text-generation-server", line 8, in <module>
    sys.exit(app())
  File "/opt/conda/lib/python3.9/site-packages/typer/main.py", line 311, in __call__
    return get_command(self)(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/typer/core.py", line 778, in main
    return _main(
  File "/opt/conda/lib/python3.9/site-packages/typer/core.py", line 216, in _main
    rv = self.invoke(ctx)
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/typer/main.py", line 683, in wrapper
    return callback(**use_params)  # type: ignore
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/cli.py", line 58, in serve
    server.serve(model_id, revision, sharded, quantize, uds_path)
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py", line 155, in serve
    asyncio.run(serve_inner(model_id, revision, sharded, quantize))
  File "/opt/conda/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/opt/conda/lib/python3.9/asyncio/base_events.py", line 634, in run_until_complete
    self.run_forever()
  File "/opt/conda/lib/python3.9/asyncio/base_events.py", line 601, in run_forever
    self._run_once()
  File "/opt/conda/lib/python3.9/asyncio/base_events.py", line 1905, in _run_once
    handle._run()
  File "/opt/conda/lib/python3.9/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
> File "/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py", line 124, in serve_inner
    model = get_model(model_id, revision, sharded, quantize)
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/__init__.py", line 133, in get_model
    return FlashLlamaSharded(model_id, revision, quantize=quantize)
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/flash_llama.py", line 187, in __init__
    self.model = model.eval().to(device)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1145, in to
    return self._apply(convert)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 797, in _apply
    module._apply(fn)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 797, in _apply
    module._apply(fn)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 820, in _apply
    param_applied = fn(param)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1143, in convert
    return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
NotImplementedError: Cannot copy out of meta tensor; no data!
 rank=1
2023-04-29T08:27:17.820004Z ERROR shard-manager: text_generation_launcher: Error when initializing model
Traceback (most recent call last):
  File "/opt/conda/bin/text-generation-server", line 8, in <module>
    sys.exit(app())
  File "/opt/conda/lib/python3.9/site-packages/typer/main.py", line 311, in __call__
    return get_command(self)(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/typer/core.py", line 778, in main
    return _main(
  File "/opt/conda/lib/python3.9/site-packages/typer/core.py", line 216, in _main
    rv = self.invoke(ctx)
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/typer/main.py", line 683, in wrapper
    return callback(**use_params)  # type: ignore
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/cli.py", line 58, in serve
    server.serve(model_id, revision, sharded, quantize, uds_path)
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py", line 155, in serve
    asyncio.run(serve_inner(model_id, revision, sharded, quantize))
  File "/opt/conda/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/opt/conda/lib/python3.9/asyncio/base_events.py", line 634, in run_until_complete
    self.run_forever()
  File "/opt/conda/lib/python3.9/asyncio/base_events.py", line 601, in run_forever
    self._run_once()
  File "/opt/conda/lib/python3.9/asyncio/base_events.py", line 1905, in _run_once
    handle._run()
  File "/opt/conda/lib/python3.9/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
> File "/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py", line 124, in serve_inner
    model = get_model(model_id, revision, sharded, quantize)
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/__init__.py", line 133, in get_model
    return FlashLlamaSharded(model_id, revision, quantize=quantize)
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/flash_llama.py", line 187, in __init__
    self.model = model.eval().to(device)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1145, in to
    return self._apply(convert)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 797, in _apply
    module._apply(fn)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 797, in _apply
    module._apply(fn)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 820, in _apply
    param_applied = fn(param)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1143, in convert
    return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
NotImplementedError: Cannot copy out of meta tensor; no data!
 rank=0
2023-04-29T08:27:18.628521Z ERROR text_generation_launcher: Shard 2 failed to start:
[W socket.cpp:601] [c10d] The client socket has failed to connect to [localhost]:29500 (errno: 99 - Cannot assign requested address).
Traceback (most recent call last):

  File "/opt/conda/bin/text-generation-server", line 8, in <module>
    sys.exit(app())

  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/cli.py", line 58, in serve
    server.serve(model_id, revision, sharded, quantize, uds_path)

  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py", line 155, in serve
    asyncio.run(serve_inner(model_id, revision, sharded, quantize))

  File "/opt/conda/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)

  File "/opt/conda/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
    return future.result()

  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py", line 124, in serve_inner
    model = get_model(model_id, revision, sharded, quantize)

  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/__init__.py", line 133, in get_model
    return FlashLlamaSharded(model_id, revision, quantize=quantize)

  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/flash_llama.py", line 187, in __init__
    self.model = model.eval().to(device)

  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1145, in to
    return self._apply(convert)

  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 797, in _apply
    module._apply(fn)

  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 797, in _apply
    module._apply(fn)

  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 820, in _apply
    param_applied = fn(param)

  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1143, in convert
    return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)

NotImplementedError: Cannot copy out of meta tensor; no data!

2023-04-29T08:27:18.628569Z  INFO text_generation_launcher: Shutting down shards
2023-04-29T08:27:18.694642Z  INFO text_generation_launcher: Shard 3 terminated
2023-04-29T08:27:18.859049Z  INFO text_generation_launcher: Shard 1 terminated
Error: ShardCannotStart

When I run with --num-shard 1 I get a CUDA OOM error

I also encountered the same problem. However, it's interesting that everything works fine when I use the model from decapoda-research/llama-7b-hf, but when I use the same model converted with the official example, the above error occurs.

@pandazki  there was an update in the transformers conversion script that fixed the tokenizer and made a few other changes, that could have caused this issues. IIRC deepcoda-research/llama-7b-hf seems to be converted using v1 of conversion script

@SupreethRao99 Could you stop tagging us? Thank you!
I will have a look at these conversion issues. Thanks for the investigation, very valuable!
It seems that all the model we serve atm use the old layout so I was not aware of the problem.

@pandazki there was an update in the transformers conversion script that fixed the tokenizer and made a few other changes, that could have caused this issues. IIRC deepcoda-research/llama-7b-hf seems to be converted using v1 of conversion script
EDIT: The Inference server only works with models that used the old conversion script. I tried with a version of LLaMA that I converted with the old script and it worked.
Tagging @OlivierDehaene @njhill @Narsil
Thank You!

@SupreethRao99 Can you share your conversion script? Which version of the conversation script is compatible with this inference server for LLaMA?

This tokenizer should work :
tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/llama-tokenizer")

Not sure what you're talking about conversion script.
tokenizer = LlamaTokenizerFast.from_pretrained("hf-internal-testing/llama-tokenizer", from_slow=True)

Works (it's slow) and produces the same file. (Make sure you're on latest transformers)

@Narsil I was referring to different version of this file https://github.com/huggingface/transformers/blob/main/src/transformers/models/llama/convert_llama_weights_to_hf.py ,  there's a fix to the tokenizer on 3rd April 2023. The models converted with the script before 3rd April work with the current TGI docker containers, the ones converted after don't seem to work with TGI

This is about the weights, not the tokenizer.
Stop pinging people all the time please, we're in the conversation already.
And please make an effort to explain a bit more your issue.
We're making effort to solve your issue proportional to your effort put in explaining the problem.

sorry for the confusion and the pinging, What I meant to say is that using the weights converted using the version of the conversion script after 3rd April 2023 doesn't work with the current implementation of TGI while the weights converted with the older version of the script works. I might have wrongly referenced the tokenizer as I recall seeing the tokenizer changing its BOS and EOS tokens from "" to <s> and <\s>.

Is there anything we can do to reproduce the issue ?

yes, I'm trying to deploy vicuna-13b, first I applied the delta and got the vicuna weights in HuggingFace format using this script
python3 -m fastchat.model.apply_delta \
    --base-model-path /path/to/llama-13b \
    --target-model-path /output/path/to/vicuna-13b \
    --delta-path lmsys/vicuna-13b-delta-v1.1

(https://github.com/lm-sys/FastChat/blob/main/fastchat/model/apply_delta.py)
The converted model works with AutoModel.from_pretrained() and I'm able to run inference.
I then ran
docker run --gpus all --shm-size 1g -p <IP_ADDRESS>:8000:80 -v /home/vicuna-13b:/data ghcr.io/huggingface/text-generation-inference:latest --model-id /data/vicuna-13b --num-shard 4

got the vicuna weights in HuggingFace format

Where ? Which ones ?

the script
python3 -m fastchat.model.apply_delta \
    --base-model-path /path/to/llama-13b \
    --target-model-path /output/path/to/vicuna-13b \
    --delta-path lmsys/vicuna-13b-delta-v1.1

converts LLaMA weights that was downloaded from Meta into a format that can be consumed by AutoModel,
config.json
generation_config.json
pytorch_model-00001-of-00003.bin
pytorch_model-00002-of-00003.bin
pytorch_model-00003-of-00003.bin
pytorch_model.bin.index.json
special_tokens_map.json
tokenizer_config.json
tokenizer.model

Anyway you could share those converted weights on the hub ?

sure, the weights can be found here (https://huggingface.co/Supreeth/vicuna-13b)

the benchmark tool text-generation-benchmark cannot read tokenizer.model of vicuna 13b. is there any hacking tricks I can use to get it run?

Transform into tokenizer.json>
AutoTokenizer.from_pretrained("xxx").save_pretrained('yyy").
tokenizer.model is never read, it's a sentencpiece model (insufficient  to run tokenization without the transformers python code, which we'd like to avoid rewriting).


Website is down

Got a DNS_PROBE_FINISHED_NXDOMAIN error

I think @torkelrogstad means co.ntextu.al, which is in the README.
https://propensive.com/opensource/contextual is up instead.

This was closed by #48


[WIP] Document proper password storage

Please don't merge yet, I will edit the docs to hash passwords with bcrypt, as there really isn't any way to do it with just the stdlib. It's really important that even examples show proper usage, as new users tend to just copy/paste them.

Hmm, I see there are multiple places where these examples are referenced, so it will take some work to change everything. Please consider this change for now and I'll open another PR later.

Cool, thanks! :lock: :rocket:


Adding docker scripts to execute sample owner

Adding docker-compose.yml and DockerFile that runs the sample
http owner inside an Ubuntu 20.04 container.
Signed-off-by: Chandrakar, Prateek<EMAIL_ADDRESS>

Being done in PR 17 : https://github.com/secure-device-onboard/pri-fidoiot/pull/17


Add Locale features from Luma 8.0

Any plans on adding support for the new locale features introduced in 8.0?
You can now specify a country (2 letter code) and a state ID (2-digit hex integer), for example: EUR FR FR 01

Copy pasted from Luma3DS documentation:

Locale Emulation: While Luma3DS allows games from all regions to be played via region-free patches, some games will freeze or crash if outside their expected region/locale. To fix this, Luma3DS allows emulating your locale.

To use this feature, create a locale.txt inside /luma/titles/[TID]/ file. Edit this text file to include the region (JPN, USA, EUR, AUS, CHN, KOR, TWN) and language (JP, EN, FR, DE, IT, ES, ZH, KO, NL, PT, RU, TW) separated by space. For example, to play Pokémon Y in the Japanese language and region, I would place a locale.txt in /luma/titles/0004000000055E00 containing the contents JPN JP.

Note: This level of locale emulation is not sufficient for some games; to fix this, improved locale emulation was introduced in Luma3DS v8.0, allowing you to specify a country and state ID (2-digit hex integer), i.e. a European locale.txt played in French would have the contents EUR FR FR 01. This extended locale emulation is not necessary in most cases.


Add support for AWS SES

Amazon SES
End goal: have a function in engfrosh_common module, that can be imported to send an email by calling the SES API.
For now just test this out with your own AWS account (make sure not to commit any credentials).
The new function should support expandability, so in future well formatted emails can be sent.

Also add documentation in the form of a Markdown file on how to get setup to use the function. ie, what steps to get the sending email, api keys etc working.


Custom mapper results in Object(...) is not a function error

import { createComponent, customMap } from 'redux-form-antd';

// THIS RETURNS UNDEFINED FOR BOTH
console.log(createComponent, customMap);

// redux-form mapper
function mapUploadDialog(
  mapProps,
  { input: { value: omitValue, onChange, onBlur, ...inputProps }, meta: omitMeta, ...props }
) {
  return {
    ...mapProps,
    onChange,
    onBlur,
  };
}
const UploadDialogMap = createComponent(UploadDialog, customMap(mapUploadDialog));

export default UploadDialogMap;

The code above returns undefined for both imports, and I have no idea why
    at Object.<anonymous> (index.js:153)
    at Object../src/components/molecules/UploadDialog/index.js (index.js:153)
    at __webpack_require__ (bootstrap 40bdab7…:678)
    at fn (bootstrap 40bdab7…:88)
    at Object.<anonymous> (index.js:150)
    at Object../src/components/organisms/InStoreTab/index.js (index.js:62)
    at __webpack_require__ (bootstrap 40bdab7…:678)
    at fn (bootstrap 40bdab7…:88)
    at Object.<anonymous> (InHandTab.js:143)
    at Object../src/containers/InStoreTab.js (InStoreTab.js:109)
    at __webpack_require__ (bootstrap 40bdab7…:678)
    at fn (bootstrap 40bdab7…:88)
    at Object.<anonymous> (index.css?345a:26)
    at Object../src/components/pages/LineItem/index.js (index.js:34)
    at __webpack_require__ (bootstrap 40bdab7…:678)
    at fn (bootstrap 40bdab7…:88)
    at Object.<anonymous> (InStoreTab.js:109)
    at Object../src/containers/LineItem.js (LineItem.js:112)
    at __webpack_require__ (bootstrap 40bdab7…:678)
    at fn (bootstrap 40bdab7…:88)
    at Object.<anonymous> (fetch.js:466)
    at Object../src/components/App.js (App.js:40)
    at __webpack_require__ (bootstrap 40bdab7…:678)
    at fn (bootstrap 40bdab7…:88)
    at Object.<anonymous> (TargetingTab.js:12)
    at Object../src/index.js (index.js:8)
    at __webpack_require__ (bootstrap 40bdab7…:678)
    at fn (bootstrap 40bdab7…:88)
    at Object.0 (reducer.js:3)
    at __webpack_require__ (bootstrap 40bdab7…:678)
    at ./node_modules/add-dom-event-listener/lib/EventBaseObject.js.Object.defineProperty.value (bootstrap 40bdab7…:724)
    at bootstrap 40bdab7…:724```

https://stackoverflow.com/questions/35240716/webpack-import-returns-undefined-depending-on-the-order-of-imports
This looks to be the reason why, you may have circular dependencies in your code

I fixed it by doing a yarn remove redux-form-antd and yarn add redux-form-antd
But I don't see why this would fix the issue


MINOR: update release script

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@guozhangwang Some is from trunk, some is additional edits...

@mjsax could you leave comments on where the additional edits are?


IsTestProject

new feature, identify test projects with <IsTestProject>true</IsTestProject>
https://twitter.com/RehanSaeedUK/status/1072114632721080322
you can now run dotnet test in the .sln folder and they are discovered.
Also remove the magic guid that served a similar function once upon a time.

Very nice, you learn something new everyday :)

I just learned about it today, and tried it out right away!


Update PPC Paneling

Feature Description
The PPC is getting moved to a popup. The accordion panels inside of the checklist have some new requirements.
Alternatives Considered

Additional Context
https://www.figma.com/file/1YM3jA9h4QGc4xLdyaXIJS/Stories-Sprint-1.7?node-id=8378%3A2077

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria
Each expanded checklist category panel should have a fixed height of 560px and be scrollable.
Implementation Brief

This footer is not being made, this has been agreed on already but the designs still have it. Please do not add!


[Question] In which order does OreTweaker generate ores?

Hi, I'm using OreTweaker and I wondered if there's any way to known and manipulate the order in which it generates my ores.
Is it alphabetically by filename? Do multiple entries inside a single .json generate from the top first?
Of course, this is important because if I'm generating coal ore first, I'm removing stone blocks that could've been selected by the next ores on the list.
This would mean that each "spawnRate point" is less powerful the later that ore generates if I'm not mistaken.

I'm wondering about order as well for a different reason. I want to replace lower levels of earth with deepslate then replace deepslate with ores (ie use deepslate as filler) but not sure if deepslate will generate before the ores.

I'm wondering about order as well for a different reason. I want to replace lower levels of earth with deepslate then replace deeps

did you try in different ways? Maybe by testing alone you can shed some light onto this topic. My use case is a bit harder to test haha

Sorry haven't done so yet. Because I need to restart the game to test it it's less fun to tinker and test so I avoid it. Will probably test this weekend tho

yeah

Sorry haven't done so yet. Because I need to restart the game to test it it's less fun to tinker and test so I avoid it. Will probably test this weekend tho

yeah i know what you mean, I've been tweaking things for days then I dropped it when I was finally being close to finishing ore generation for my pack lol

@EwyBoy is there a good reason for the need for a full restart?

@EwyBoy is there a good reason for the need for a full restart?

I have done several tests and after taking to a bunch of other developers we have confirmed that everything that is using the Minecraft CODEC system requires a full game restart no matter what for new world gen to take function due to Minecraft limitations.
The Minecraft codec system
Minecraft Codec appears to be a convenient way to serialise and deserialise objects without having to hard code a readNBT() and writeNBT() and handle json objects.

For the subject about spawn order for ores its a bit hard to say.
OreTweaker reads the ore files alphabetically and registers em for Minecraft to generate.
But I am not sure in what order Minecraft itself uses when deciding the order to generate the ores in. I will try to figure out.

Closing this one now.


[Feature]: Virtual names

Feature Description
A NamedTrajectory is created by passing a NamedTuple of components that combines component names with initial data. I recently encountered the scenario that during optimization I wanted to access trajectory data stored under multiple different names using a single reference, e.g.:
# define components
components = (
  psi0_iso = rand(2d, T),
  psi1_iso = rand(2d, T),
  a = rand(2, T),
  dts = rand(1, T)
)

# build trajectory
traj = NamedTrajectory(components; timestep=:dts, controls=:a)

# now wishing to access a concatenation of psi0_iso and psi1_iso
# under a virtual reference psi_iso
traj.psi_iso == vcat(traj.psi0_iso, traj.psi1_iso)

An alternative example would be to only access part of a component, e.g.:
traj.psi0_im == traj.psi0_iso[(d+1):end,:]

Such virtual names / references would be helpful for convenience and maybe other purposes. In my case I wanted to use predefined infidelity objectives but on concatenated statevectors.
One way to implement this could be:
# define virtual names and what components + indices they correspond to
vnames = (
  psi_iso = [
      (:psi0_iso, 1:2d),
      (:psi1_iso, 1:2d)
    ],
  psi0_im = [
    (:psi0_iso, (d+1):2d)
  ]
)

# build trajectory with optional arg
traj = NamedTrajectory(components; timestep=:dts, controls=:a, vnames=vnames)

Importance
1 (lowest)
What does this feature affect?

[X] construction
[X] methods
[ ] plotting
[X] documentation
[ ] tests
[ ] other (please specify below)

Other information
No response

i like this idea, it seems like it should be pretty easy to implement too


Add ingress annotation 'appgw.ingress.kubernetes.io/rewrites' to assign rewrite sets to listeners created/updated by AGIC

Issue
Currently it is impossible to use the rewrite sets in the App GW, because AGIC keeps overwriting the associations with the listeners. We need the rewrite sets to add security headers, remove unwanted headers, and redirect requests. AGIC is preventing us from using this functionality, and this is also causing red flags on every security scan and compliance pentest.
Proposed solution
Add appgw.ingress.kubernetes.io/rewrites-http and appgw.ingress.kubernetes.io/rewrites-https annotations to ingress controllers, with one or more rewrite sets that should be associated with the listener in App GW. Please use the name of the rewrite set (not an URL or ID). Otherwise it is impossible to provision them from Terraform  and assign them to a listener from AGIC.
The appgw.ingress.kubernetes.io/rewrites-https should be applied to the HTTPS listener that is automatically created. It may use different rewrite sets (e.g. adding HSTS headers).
Proposed example code snippet:
appgw.ingress.kubernetes.io/rewrites-http:
                              my_rewrites_for_all_http_listeners
                              my_rewrites_for_site1
appgw.ingress.kubernetes.io/rewrites-https:
                              my_rewrites_for_all_https_listeners
                              my_rewrites_for_site1
                              my_rewrites_for_whatever

+1

+1

+1

+1

For context this is impacting the ability to remove ports from the apgw xff header.


[SDPA-6135] Add aria-expanded to submenus in site header

Motivation and Context

JIRA issue: https://digital-engagement.atlassian.net/browse/SDPA-6135
Changed

Refactored SCSS out to external file
Added unique IDs and paired with aria-controls

Screenshots

How Has This Been Tested?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Improvement/refactoring (non-breaking change that doesn't add any features but makes things better)

Checklist

[ ] I've added relevant changes to the documentation.
[ ] I have added tests to cover my changes (if not applicable, please state why)
[ ] My change requires a template update for create-ripple-app.
[ ] I have added template update script for next release.

Closing this until browser support makes it worthwhile!


Fix 500 responses from v0 metrics API

High-level description
This PR bumps the Telegraf package to pull in a fix for an issue that causes some requests to the v0 metrics API to get 500 responses due to a JSON serialization error.
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS_OSS-4088 metrics v0 API 500 error: "Failed to encode value to JSON"

Related tickets (optional)
Other tickets related to this change:
N/A
Checklist for all PRs

[x] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change: This fixes a regression that hasn't yet been released.
[x] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Change log from the last version integrated (this should be a link to commits for easy verification and review): https://github.com/dcos/telegraf/compare/ccb5eb8c53842b690ace1af2c40ff6101e0dc93e...071b143b1c93f03e5469378d082ec14dacf41674
[x] Test Results: link to CI job test results for component
[x] Code Coverage (if available): link to code coverage report

@mesosphere-mergebot bump-ee

@mesosphere-mergebot bump-ee

@mesosphre-mergebot bump-ee

@mesosphere-mergebot bump-ee

@mesosphere-mergebot bump-ee

Test failures look unrelated.

teamcity/dcos/test/azure/arm

https://jira.mesosphere.com/browse/DCOS-41677

teamcity/dcos/test/dcos-docker/static

https://jira.mesosphere.com/browse/DCOS-20756

teamcity/dcos/test/aws/cloudformation/simple

This error is new to me. All tests passed, but log collection failed: https://teamcity.mesosphere.io/viewLog.html?tab=buildLog&logTab=tree&filter=debug&expand=all&buildId=1209147&_focus=6692

teamcity/dcos/test/aws/onprem/static

https://jira.mesosphere.com/browse/DCOS_OSS-2115

@mesosphere-mergebot label ready for review

There still seems to be alot of failing tests.

@klueska See https://github.com/dcos/dcos/pull/3436#issuecomment-421528056

@mesosphere-mergebot override-status teamcity/dcos/test/aws/onprem/static https://jira.mesosphere.com/browse/DCOS_OSS-2115

@mesosphere-mergebot override-status teamcity/dcos/test/aws/cloudformation/simple

@mesosphere-mergebot override-status teamcity/dcos/test/aws/cloudformation/simple https://jira.mesosphere.com/browse/DCOS-41751

@mesosphere-mergebot override-status teamcity/dcos/test/azure/arm https://jira.mesosphere.com/browse/DCOS-41677

@mesosphere-mergebot override-status teamcity/dcos/test/dcos-docker/static DCOS-20756

@mesosphere-mergebot override-status teamcity/dcos/build/dcos/windows DCOS-41386

@mesosphere-mergebot override-status teamcity/dcos/build/dcos/windows https://jira.mesosphere.com/browse/DCOS-42046

@mesosphere-mergebot pr-status-check


Character entities in package.json

In the CLI, entering an author name with <email>

Adhering to package.json spec

The package.json produced by create-nuxt-app is
"author": "smhmd <contact.simohamed@gmail.com>",

Instead of
"author": "smhmd<EMAIL_ADDRESS>

Not only that, but the description Entreprise de construction et d'aménagement. has become:
Entreprise de construction et d'aménagement.

Hi @smhmd , author and description will be removed in next releasing for reducing unnecessary info during installation.

If that's the case, I'll close the issue. I think they're useful enough. Is there an issue related to that?

This is the pr https://github.com/nuxt/create-nuxt-app/pull/466


RDCman DPI scaling issue, blurred fonts

I'm using a 4k monitor and when I connect to a server the fonts are extremely tiny. If I enable DPI scaling on my local host RDCman fonts become blurry, in the application itself and in the remote desktop, although they become normally sized.
I tried different settings in "Change high DPI settings" in executable "Compatibility" tab with no luck. The fonts are either tiny or blurred.
I also tried changing "Display settings" for the server, namely "Docked RD scaling", but it has no effect whatsoever.
mstsc.exe handles it nicely and scaling works just fine. But not in RDCman.
Notice the sharpness of the window font and the font in the application.

Notice difference between mstsc.exe and RDCman. Client area has the same size for both.

Check out this doc for all possible solutions with each steps guided.
https://kingfishertechtips.in/rdcman-scaling-is-blurry-fix-in-3-steps/