react-fela: A word on transitions / animations

Type: Docs

Packages
Version

fela
6.0.x

Description
In trying to perform a simple CSS mount/unmount transition in react-fela, I had a hard time:
Trying to use react-css-transition-group was of no use, because it injects classNames into your component. That is kind of a colliding paradigm with Fela's state-in styles-out paradigm, because of how Fela generates the CSS classes dynamically.
I found out one animation / transition library which totally fits Fela's paradigm, react-spring. React Spring generates and injects style props in your component so that the animation is drawn. A simple example of how they can live together (available as a gist in https://codesandbox.io/s/xr35825rv4) would be:
const StyledTitle = createComponent(
  ({ opacity }) => ({
    opacity,
    color: "cadetblue"
  }),
  props => <h2 {...props}>I am transitioning!</h2>
);

const Item = ({ open }) => (
  <Transition
    from={{ opacity: 0 }}
    enter={{ opacity: 1 }}
    leave={{ opacity: 0 }}
  >
    {open ? props => <StyledTitle {...props} /> : () => null}
  </Transition>
);

I think it would be really nice to have such a comment on how to approach animations / transition in the react-fela docs.

By the way, react-transition-group works really well with react-fela, since you'll pass a entering | entered | exiting | exited prop to your component, which let you work with animations directly with createComponent.

Wow, I didn't know that. Do you have any example at hand? I imagine it's related to @keyframes, which I still need to dive deeper into.
My problem was less with animations than with CSS transitions on mount/unmount, which depends on React and the component's lifecycles.
Anyway, I think the docs could really receive a boost on that regard, and I'd be happy to help.

Small example, not sure it "works", since it's a rough copy/paste from my codebase:
import {Transition} from 'react-transition-group';

const NoteContainer = createComponent(({state}) => ({
    transition: '0.15s ease-in-out',
    overflow: 'hidden',
    extend: [
        {
            condition: state === 'entering',
            style: {height: 0},
        },
        {
            condition: state === 'entered',
            style: {height: '330px'},
        },
        {
            condition: state === 'exiting',
            style: {height: '330px'},
        },
        {
            condition: state === 'exited',
            style: {height: 0},
        },
    ],
}));

const Comp = ({isOpen}) => (
    <Transition in={isOpen} timeout={150}>
        {(state) => <NoteContainer state={state} />)}
    </Transition>
);

And yep, I agree that docs could be improved, I'm pretty sure your example could end up in the docs, feel free to open a PR :)

Any kind of PR that improves the usage experience with Fela is always welcome =)
I actually did not use any of those tools but plain old keyframes all the time, can't tell what works best.
Only thing I can tell you: If you're animating properties with dynamic values (in cases where keyframes might not work) you should consider using inline style instead of Fela as creating new CSS classes etc. might lead to an overhead here.

Thank you both!
I can see my implementation can indeed affect performance, since it will re-render quite an amount of times, instead of letting the transition to the native CSS engine, as @AugustinLF 's solution does.
I adapted the gist to the solution he proposed using react-transition-group: https://codesandbox.io/s/0y3734p5vn
I was using version 1.x, that's why I didn't find this feature.
I will come back with a PR for the docs.

Lovely stuff, @kwirke, @AugustinLF. Thanks for sharing. I really love this solution... significantly more than one I implemented in my own application. And I was not thinking about the performance issue that @rofrischmann mentioned. I am definitely going to rework how this is implemented in my own ecosystem now. Great idea adding this to the docs.

Closing since it's been stale for a long time.


Add files via upload

I have created a folder of various number theory algorithms used in Data Structures and Algorithms as well as Competitive Programming. Please merge my pull request.

The name of the repository is Number theory algorithms


Add parsed nix config

Add a way to write the gBar configuration in the nix language, like many other home manager modules, this spares, atleast nix users, from the trouble of using a new config language and integrates it nicer into existing home manager configs. Currently not all of gBars options have a nix option and some like SNIIconSize probably wont due to how they're made in the config, I could do it in a single string with both number and name but that looks ugly and there's still extraConfig. I have as ambition to update this while new options are added.

Thanks again for the PR!

Currently not all of gBars options have a nix option and some like SNIIconSize probably wont due to how they're made in the config, I could do it in a single string with both number and name but that looks ugly and there's still extraConfig.

I think that should be documented somewhere, that there some other options which can be set via extraConfig.

I have as ambition to update this while new options are added.

Should I ping you, when there's something new?

Should I ping you, when there's something new?

Well there's two solutions to that. First I could probably update this file when new features arrive and thats fine. We could also do it like, for example hyprland, and have a solution that just writes whatever into the config file and doesn't do any typechecks. It's easier but IMO a worse solution.

The hyprland one sounds like a bad solution. It doesn't check types, which I doubt gBar likes when there's a type mismatch. It shouldn't be too much work to just update module.nix (If you don't want to do that, I can do it as well though)

That should be everything, should be clear how it works now LMK if you think some option is wrong. I can definitely update it however should just be as simple as adding a new option that looks like the previous ones as long as it uses a primitive data type (unlike sni config)

Just noticed, CheckPackagesCommand and CheckUpdateInterval are missing. Other than that, lgtm.

I feel like those are basically redundant as you don't really check for that on nixos (as far as i know)

Makes sense.
Thanks for your effort!


concurrency added for DB backup jobs to avoid mutiple run's

Context
Intermittently database backup failures
Changes proposed in this pull request
Added concurrency for database backup at at time for one pipeline to run.
Guidance to review
Changes are done on dabatabase back up actions.
Link to Trello card
https://trello.com/c/Qi29K6sZ/944-bug-apply-db-backups-are-failing
Things to check

[ ] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
[ ] API release notes have been updated if necessary
[ ] If it adds a significant user-facing change, is it documented in the CHANGELOG?
[ ] Required environment variables have been updated added to the Azure KeyVault

 Bug: Apply DB backups are failing


Remove email in "password sent" URL (reduce personal data)

We're mentioning the email address on the success screen after using the "lost password" form. That means email addresses (personal data) is stored in web server logs, referers etc - that's making it harder to comply to regulations like GDPR. We should remove this email data from the URL, either into PHP sessions or (preferrably) by just not requiring this info on the screen.
See https://github.com/silverstripe/silverstripe-framework/issues/7791 for context

I think we should remove the email address altogether. It currently doesn't help that much, and most sites don't use it (instead just having a standard message like "We have sent you a password reset email, if an account existed with that address" in all situations).

@chillu/@maxime-rainville fixed this in silverstripe-admin@1 with https://github.com/silverstripe/silverstripe-admin/commit/730fc42ef3e6d25345516f1583d05bf968bf762c, I've just hotfixed it in<EMAIL_ADDRESS>with https://github.com/silverstripe/silverstripe-admin/commit/c8b18e1b197697796c0c432ff0f2c70bdfcff539
The commit message says "This test shouldn't be in admin, since the feature is placed in framework" - I totally agree, I've opened an issue to move it back into framework again at https://github.com/silverstripe/silverstripe-framework/issues/8256


MongoDB is having issues

From the Gigs of logs generated by MongoDB:
Sat Apr 25 12:10:47.702 [conn3] warning: ClientCursor::yield can't unlock b/c of recursive lock ns: assets.references top: { opid: 43, active: true, secs_running: 0, op: "query", ns: "assets", query: { findandmodify: "references", query: { stage: "QUEUED" }, sort: { depth: 1 }, update: { $set: { stage: "ACTIVE" } } }, client: "<IP_ADDRESS>:54206", desc: "conn3", threadId: "0x7fd3299d8700", connectionId: 3, locks: { ^: "w", ^assets: "W" }, waitingForLock: false, numYields: 0, lockStats: { timeLockedMicros: {}, timeAcquiringMicros: { r: 0, w: 5556 } } }```

Tue Apr 28 09:52:06.221 [conn3] info DFM::findAll(): extent 0:5000 was empty, skipping ahead. ns:assets.references
Tue Apr 28 09:52:06.247 [conn3] info DFM::findAll(): extent 0:5000 was empty, skipping ahead. ns:assets.references

Apparently the errors from first log come from querying an unindexed field. There is an index called depth_1_crawlState_1, which seems as a concatenation.

To fix this issue you need to create a compounded index with stage as first field and depth as second field. I created the index manually and exceptions were no longer showing up.

Thanks for reporting your findings. We should be able to add that fix.

Re-opening until official release.  Marked as fixed/done until then.
Thanks @OkkeKlein and @pascaldimassimo  for reporting and fixing this!

A new snapshot release is available with this fix.

Wrong fix :)
The stage needs to be indexed in combination with depth, not the crawlState.(unless another query uses it, then stage,depth needs to be added).

Oups, sorry about that! Got mixed up between state and stage... Thanks for spotting this.
Well commit a new fix soon.

Here is the fix:
https://github.com/Norconex/collector-core/commit/b952779dcb8402f61cb1f60d4ad7e85b1b9cabbe
Sorry, I've linked it to the wrong issue (#91 instead of #97)

FYI, just made a new snapshot release with this new fix in it.

Norconex HTTP Collector 2.2.0 official release is out. It includes this fix. You can download it here.


feat(sort): Add sort option - micah/35/sort

A small PR that adds user-configurable sort for html outputs
Fix #35
a fork of @thaiat's nice PR https://github.com/expressjs/serve-index/pull/41 with a small amount of additional work to get the Travis CI and Appveyor tests to pass.

yea, done.  thought it might be related to the linting problem, looks like it's not now.  thanks for watching this one 😄
and also, thanks for introducing to me https://github.com/eslint/eslint-plugin-markdown had never noticed this particular eslint plugin before

🎉  hooray, tests are green

Nice! I'm pretty much about to go to sleep for work in the morning and will take a look as soon as I can and get this feature landed 😴

@dougwilson anything I can do to improve this PR?

I will take a look when I get to a computer.

@dougwilson i could use this too. any chance on a merge?

Ring ring? Sorely missing feature!

@dougwilson Click the button ;)

The sort option should apply to all the response types not just the html one.

looks like the Appveyor node 1.8 env flaked out on us 😢
let's see if I can trigger a second test run 🤔

🎉 tests are green.  should be ready for another look @dougwilson 😄


Add progress based basebackup metrics

This PR improves the monitoring of pg basebackups. During a backup, it regularly checks how much data has been uploaded and compares this to the last recorded amount in a persisted progress file. If the upload is progressing, it updates the record with the new data and current time. If the backup has not advanced compared to the previous value, it reports the time elapsed since the last progress and emits stalled metrics. Once a backup is complete, the record is reset.
[SRE-7631]

Codecov Report
Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (2b2ea98) 91.10% compared to head (cf6b3ef) 91.04%.

:exclamation: Current head cf6b3ef differs from pull request most recent head c46ee6a. Consider uploading reports for the commit c46ee6a to get more accurate results

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #615      +/-   ##
==========================================
- Coverage   91.10%   91.04%   -0.06%
==========================================
  Files          32       32
  Lines        4823     4871      +48
==========================================
+ Hits         4394     4435      +41
- Misses        429      436       +7

Files
Coverage Δ

pghoard/common.py
93.19% <93.10%> (-0.02%)
:arrow_down:

pghoard/transfer.py
94.31% <68.42%> (-1.57%)
:arrow_down:

... and 1 file with indirect coverage changes


Examples

This is an awesome project! Would love to see some examples of how to use it.

Do you have any experience in reactive programming? If so, start from Flux and Mono.


Break up init.py

moderngl.__init__.py contains all of the source.  It should be broken down into modules.  These modules should specify an __all__ of whatever needs to be exported, and then __init__.py should import * from each of them.

Circluar imports were inconvinient in past versions of Python. Not sure if we break it up again we can keep older versions of python supported. I dont like having all the wrapper in a big big file too.

#206 was merged. Thanks!


⚠ gorzdrav.org has degraded performance

In fac1c0a, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 2795 ms

Resolved: gorzdrav.org performance has improved in 3788765.


GenerateManifests=true property should be handled

If a project (such as BabySmash) has the property GenerateManifests=true, it cannot be built from .NET Cli. This property is associated with ClickOnce but doesn't seem to be fully supported. We have a few options:

Remove this property if found in projects
Warn users that it is there and that they won't be able to build from CLI
Identify if there is a product gap here and it should be supported

Checking to see if this is something msbuild could support: https://github.com/dotnet/msbuild/issues/6313

@shanselman, can it be built with dotnet msbuild?

Does this mean it's currently impossible to build a WPF application with ClickOnce in Azure? What is the timeline for resolving this issue?


add setters for all attributes

This adds setters for all values, allowing them to be set to update the attribute as well as got.

:wave: Hello and thanks for pinging us! This issue or PR has been added to our inbox and a Design Infrastructure first responder will review it soon.

:art: If this is a PR that includes a visual change, please make sure to add screenshots in the description or deploy this code to a lab machine with instructions for how to test.
:fast_forward: If this is a PR that includes changes to an interaction, please include a video recording in the description.
:warning: If this is urgent, please visit us in #primer on Slack and tag the first responders listed in the channel topic.


User mode installer

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Problem
Install without admin
Desired Solution
Need user mode installer
Alternatives and Workarounds
No response
Additional Context
I don't think it's mandatory for admin permission. I transferred everything in 'C:\Program Files (x86)\Microsoft Azure Storage Explorer' and it to a new vm. Seems ASE works fine without installation.

@roxxette the first time you install you should be offered the option to do a user or admin install. However if you have already installed as admin you will no longer get that choice. In order to see the choice again you will need to run uins000.exe in 'C:\Program Files (x86)\Microsoft Azure Storage Explorer' and then reinstall using the installer from https://storageexplorer.com . Let us know if you don't see the choice appear after that.

Closing due to lack of response. If you have any further questions on how to install in user-mode please open a new issue.


test run on codespaces?

Hi @eitsupi
I was just looking into if I could try to use the updates here in place of @revodavid's original example in https://github.com/revodavid/devcontainers-rstudio (which works but just has minor config issues like the dual user names and default working dir).  Unfortunately I'm not quite understanding the necessary steps.
I have a demo repo for my course here, which has codespaces enabled.  I created the devcontainer.json following the recipe you suggested: https://github.com/espm-157/devcontainers-rstudio/blob/main/.devcontainer/devcontainer.json.  If I understood correctly, this no longer needs the Dockerfile and library-scripts :file_folder: that we saw in David's example, since those parts would be rolled into the upstream Rocker dockerfile.
With these changes, I can launch into codespaces and appear to be in a rocker-based container.  However, unlike with David's example, RStudio is not yet running and there is no open port.  If I manually launch RStudio from Codespace's vscode bash terminal,
sudo /usr/lib/rstudio-server/bin/rserver --server-daemonize 0

and open port 8787, the link from codespaces forwards me to localhost, which doesn't resolve.  Any ideas what is missing?  Ideally this configuration would mimic the behavior of David's example, with the RStudio session up and running and the port listed in the Ports tab.

Thanks for taking a look at this!

the link from codespaces forwards me to localhost, which doesn't resolve. Any ideas what is missing?

Since VSCode does not automatically detect the port, we would need to manually configure port forwarding.

Perhaps detailed instructions should be posted on the website.......

hmm... I think in @repodavid's example vscode devcontainer does automatically configure the port though.  Digging back into David's example, I realized I was missing this block:
https://github.com/espm-157/devcontainers-rstudio/blob/main/.devcontainer/devcontainer.json#L20-L27
"forwardPorts": [8787],
	"portsAttributes": {
		"8787": {
			"label": "Rstudio",
			"requireLocalPort": true,
			"onAutoForward": "ignore"
		}
	},
	// Use 'postCreateCommand' to run commands after the container is created.
	"postCreateCommand": "sudo rstudio-server start",

which I think handles the port setup.  Unfortunately I still don't seem to be getting into RStudio from there.  I think I need to change the default protocol to https, not sure what the port attribute is for that?
Changing it over to https, this works, I can get into RStudio.  Rstudio is still starting up in /workspaces rather than  with an active project matching the corresponding repo though.
You should be able to run this too by launching a codespace from https://github.com/espm-157/devcontainers-rstudio, thanks to GitHub's generous policy for educators I think anyone can launch a free tiny-VM codespace from there(?).

(hmm, also getting a lot of 502 errors rather than functional codespace... may be an unrelated issue)

@cboettig I have tried Codespaces on https://github.com/espm-157/devcontainers-rstudio/commit/7b2d69ce2e23735e0a30021e8d3e66c3672b21e7
RStudio was in the following state from the beginning in the browser.

As far as I have tried, the port attribute must be set to Public in order to view RStudio.
(This is definitely a security issue, but fortunately the URL seems to be randomly generated.)

Rstudio is still starting up in /workspaces rather than with an active project matching the corresponding repo though.

This is the intended behavior.
It is set in the following line.
https://github.com/rocker-org/devcontainer-images/blob/e1775a0031cb5ad6d2cb32b9eeaefa00e0988825/src/r-ver/assets/rstudio-prefs.json#L6
As far as I have looked, setting up RStudio to open a workspace that is set to an arbitrary directory name from the start would require quite a hack and doesn't seem practical.

Thanks for testing this @eitsupi !
Okay it's a pity about not being able to start RStudio in the right project, does seem like it could be done (since RStudio knows how to resume the last open project, but I haven't dug enough in the config files).
The port-forwarding bit appears a bit buggy to me, sometimes it seems to work just fine, but sometimes I get a 502 Bad Gateway error, and sometimes am just sent to https://localhost:8787 instead, which obviously doesn't work.   I think the 502 error always happens if the codespace already exists but has shut down, RStudio appears to no longer be running.  Maybe we need some sort of resume command.
I think I am getting a private https port by default now:

and this seems to work fine -- I don't have to set it to public to successfully open the port.  Anyway, this definitely feels like progress, and the codespace starts much faster with these pre-built containers than with the earlier setup.  I'll keep testing to see if I can get a better handle on the possible connection issues.

Actually I don't use Codespaces or RStudio (I usually use VSCode Remote-Containers on my computer), so I haven't delved into why I had to make the port public in my environment.

Maybe we need some sort of resume command.

sudo rstudio-server start is not enough?
I think postCreateCommand is just automatically executing commands that users run after container creation.
(Runs only once after the container is created)
For example, here it is used to install the javascript package.
https://github.com/rocker-org/devcontainer-images/blob/5749095c9c70c715ea68817f6c6f3618deb31861/.devcontainer/devcontainer.json#L22

Maybe we need some sort of resume command.

It looks like postStartCommand and postAttachCommand are there for this purpose (but I've never used them)
https://containers.dev/implementors/spec/#environment-resume

ah, thanks! that looks perfect, I'll try that out.
Clearly I need to spend a bit more time familiarizing myself with the spec.

I tried it on VSCode and postAttachCommand worked well for this use.

I have made a PR revodavid/devcontainers-rstudio#6 as a demonstration of images from this repo.

Now that revodavid/devcontainers-rstudio#6 has been merged, close this.


Allow hash keys to be set to undef

This patch protects against the case where
hash values happen to be set to :undef (Puppet's
nilish representation). Previously, having nil
values set to null caused a stack trace, now,
with this patch, those hash values are simply
dropped.
It also gets rid of some trailing white-spaces

Great! Can you add a test to ensure this works fully and will continue to work?
Something like...
context "handles undef correctly" do
  let(:params) => {{
    config_hash => {
       something => 'undef'? (maybe :undef ?)
    }
  }}
  it { should compile }
  it { should_not contain_file('consul.json').with_content(/: undef/)? }
end

Nice!


Malformed JSON error on attachment upload

Describe the bug
When trying to attach an image or take a photo and send it to the chat window, it returns the error shown in the screenshot. The image is never added to the chat on either the Android device or the browser version.
To Reproduce

Screenshots

Devices and Versions
Device - Motorola Moto X Pure

Mobile device model and OS version: (e.g. "Nexus 7 - Android 6.0.1")
Additional context

Hi, look this ticket
https://github.com/RocketChat/Rocket.Chat.Android/issues/1050


no config file specified should throw an error

panic if arg[0] is not present.  bad.

No resolution, changed how config file is passed in.  No longer a problem.


sqlite-utils: 3.28 -> 3.29

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/simonw/sqlite-utils/releases.
meta.description for sqlite-utils is: "Python CLI utility and library for manipulating SQLite databases"
meta.homepage for sqlite-utils is: "https://github.com/simonw/sqlite-utils"
meta.changelog for sqlite-utils is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.29 with grep in /nix/store/1gys4rj30fclxzniwnjki855avfl1jj1-python3.10-sqlite-utils-3.29
found 3.29 in filename of file in /nix/store/1gys4rj30fclxzniwnjki855avfl1jj1-python3.10-sqlite-utils-3.29

Rebuild report (if merged into master) (click to expand)

8 total rebuild path(s)

8 package rebuild(s)

First fifty rebuilds by attrpath
github-to-sqlite
python310Packages.datasette-template-sql
python310Packages.github-to-sqlite
python310Packages.sqlite-utils
python39Packages.datasette-template-sql
python39Packages.github-to-sqlite
python39Packages.sqlite-utils
sqlite-utils

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/1gys4rj30fclxzniwnjki855avfl1jj1-python3.10-sqlite-utils-3.29 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A sqlite-utils https://github.com/r-ryantm/nixpkgs/archive/f96ea768e7d57fe141ddbf448e74e975e4b9eb0d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/1gys4rj30fclxzniwnjki855avfl1jj1-python3.10-sqlite-utils-3.29
ls -la /nix/store/1gys4rj30fclxzniwnjki855avfl1jj1-python3.10-sqlite-utils-3.29/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

6 packages built:

github-to-sqlite (python310Packages.github-to-sqlite)
python310Packages.datasette-template-sql
sqlite-utils (python310Packages.sqlite-utils)
python39Packages.datasette-template-sql
python39Packages.github-to-sqlite
python39Packages.sqlite-utils

Maintainer pings
cc @meatcar @techknowlogick for testing.

Result of nixpkgs-review pr 188737 run on x86_64-linux 1

6 packages built:

github-to-sqlite (python310Packages.github-to-sqlite)
python310Packages.datasette-template-sql
sqlite-utils (python310Packages.sqlite-utils)
python39Packages.datasette-template-sql
python39Packages.github-to-sqlite
python39Packages.sqlite-utils


Evaluation problem (only if I install with pip)

Rasa Core version:
0.9.3 installed with PIP
Python version:
3.6.4
Operating system (windows, osx, ...):
macOS
Issue:
If I evaluate with a command like this
python -m rasa_core.evaluate \
	--stories data/babi_stories.md \
	--core models/dialogue \
	--nlu models/nlu/default/current

I will receive the following error.
Traceback (most recent call last):
  File "/Users/lucadiliello/anaconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/Users/lucadiliello/anaconda3/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/lucadiliello/anaconda3/lib/python3.6/site-packages/rasa_core/evaluate.py", line 233, in <module>
    cmdline_args.output)
  File "/Users/lucadiliello/anaconda3/lib/python3.6/site-packages/rasa_core/evaluate.py", line 199, in run_story_evaluation
    max_stories)
  File "/Users/lucadiliello/anaconda3/lib/python3.6/site-packages/rasa_core/evaluate.py", line 122, in collect_story_predictions
    completed_trackers = g.generate()
  File "/Users/lucadiliello/anaconda3/lib/python3.6/site-packages/rasa_core/training/generator.py", line 90, in generate
    max_event_history=self.config.tracker_limit
  File "/Users/lucadiliello/anaconda3/lib/python3.6/site-packages/rasa_core/trackers.py", line 59, in __init__
    self.events = self._create_events([])
  File "/Users/lucadiliello/anaconda3/lib/python3.6/site-packages/rasa_core/trackers.py", line 360, in _create_events
    return deque(evts, self._max_event_history)
TypeError: an integer is required
make: *** [evaluate-core] Error 1

Installing from master branch this does not happen but I get a strange confusion matrix. This happen on the built-in restaurant example.
This is the confusion matrix I'm getting.
story_confmat.pdf

yes there was a bug with parameters being switched around in 0.9.3
Hmm that does look strange. Have you tried it with another simpler bot? Because the restaurant bot does have a very long list of stories

Does this still happen in the latest release 0.9.6?


hotfix: [deploy] Revision 'XXXX' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information.

context

[deploy]

Revision 'XXXX' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information.

task

#20


Cannot download subs on tlc.com

Checklist

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

Verbose log

youtube-dl --all-subs --verbose --skip-download  "https://www.tlc.com/tv-shows/90-day-fiance/full-episodes/whats-mine-is-mine"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--all-subs', u'--verbose', u'--skip-download', u'https://www.tlc.com/tv-shows/90-day-fiance/full-episodes/whats-mine-is-mine']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 2.7.18 (CPython) - Linux-5.11.0-40-generic-x86_64-with-Ubuntu-20.04-focal
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4, rtmpdump 2.4
[debug] Proxy map: {'http': 'http://<IP_ADDRESS>:80', 'https': 'http://<IP_ADDRESS>:80'}
[Discovery] whats-mine-is-mine: Downloading token JSON metadata
[Discovery] whats-mine-is-mine: Downloading content JSON metadata
[Discovery] whats-mine-is-mine: Downloading streaming JSON metadata
[Discovery] whats-mine-is-mine: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video subtitles to: What's Mine Is Mine-5fe7f108450ef7161e2fb27f.en.scc
WARNING: Unable to download subtitle for "en": Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Can not download subs on tlc.com

Has this ever been possible?

i just used the firefox addon called the stream detector to grab the subtitles
for this link - https://www.tlc.com/tv-shows/90-day-fiance/full-episodes/whats-mine-is-mine

Subtitles can be detected, But never downloaded.

Please show a verbose log for this.

verbose log:
[Discovery] whats-mine-is-mine: Downloading token JSON metadata
[Discovery] whats-mine-is-mine: Downloading content JSON metadata
[Discovery] whats-mine-is-mine: Downloading streaming JSON metadata
[Discovery] whats-mine-is-mine: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video subtitles to: What's Mine Is Mine-5fe7f108450ef7161e2fb27f.en.scc
WARNING: Unable to download subtitle for "en": Unable to download webpage: HTTP Error 403: Forbidden
(caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Looks like the URL is geo-restricted: 403 from UK on downloading JSON even with --geo-bypass-country (same with yt-dlp).

Like #20722 but with 403 instead of 503.


solved the segment error of ucg_builtin_am_handler

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


About the training of geometry_modeling

Thanks for your interesting work. I have some questions about the training of geometry modeling.

As shown in line 436-444 in train.py, for geometry_modeling, 'if_pretrain' is as True, and 'if_normal' is set as True, during the first 400 iterations, and 'if_pretrain' is as False, and 'if_normal' is set as True during the remaining iterations.

However, I notice that only 'if_pretrain' and 'if_normal' are both set as True, the params of geometry will be optimized, as shown in line 478-482:

I want to know why the model params are not optimized for the remaining iterations.

Hi @zhangxuying1004, it is "or" not "and" in line 478. Actually, the code for line 478 should be "FLAGS.mode == 'geometry_modeling", which would be more intuitive.


Regarding How to pass List Variable in a mutation ?

Hello I have the Mutation(This is incomplete just focus on Answers portion of it )
mutation updatePredraftJob($jobId: ID!,
 $customerName: String!,
 $customerPhone: String!,
 $customerNotes: String!,
 $internalNotes: String!,
 $serviceName: String!,
 $serviceSymptom: String!,

 ) {
  updatePredraftJob(input:
  {
    job:
    {
      id: $jobId
     customer:
      {
        name: $customerName,
        phone: $customerPhone
      },,
      notes:
      {
        customer: $customerNotes,
        internal: $internalNotes
      },
      service:
      {
        name:  $serviceName
        symptom: $serviceSymptom
**// How do i convert this answers to a variable that takes a list with questions and answer like below**
         answers:[
          {
            question: "Customer with vehicle?"
            answer: "Yes"
          }
          {
            question: "What is the gasoline type?"
            answer: "Regular"
          }
          {
            question: "Low clearance?"
            answer: "Yes"
          }
        ]
      },
      },

And then How do I pass a list in the variables example
 MutationOptions(
      document: gql(updatePreDraftWithAllDetails),
      variables: <String, dynamic>{
'jobId': jobId,
        'customerName': 'Mike Hatzemock',
        'customerPhone': '+12222222222',
        'customerNotes': 'Called in for Out of Fuel',
        'internalNotes': 'Testing DEMO TESTING!',
        'serviceName': 'Fuel Delivery',
        'serviceSymptom': 'Out of fuel',
**// how do i pass list of questions and answers here**

}

Alright, so this doesn't seem as much a question to this framework as it is a general GraphQL question.
If your mutation arguments are of type list, then you can pass a dart list.
i.e.

mutation SomeMutation($input: [SomeQuestionAnswerInputObject!]!) {

  perfromUpdate(input: $input) {
    ...
  }
}

then your dart would be
 MutationOptions(
      document: gql(someMutationDocument),
      variables: <String, dynamic>{
'input': [{'question': 'Wat?', 'answer': 'I do not know' }]
})


Use a class method to delay hitting the DB

Use a class method to fetch the column names for a requeue.
This way we dont hit the database when the class is loaded during
precompiling of assets.
This was due to PR #7145

@jrafanie @gmcculloug @simaishi
Please review

:+1:

:clap:
cc @simaishi


Ismail/release/prep v0.14.0

[ ] Referenced an issue explaining the need for the change
[ ] Updated all relevant documentation in docs
[ ] Updated all code comments where relevant
[ ] Wrote tests
[ ] Updated CHANGES.md

someone was too quick on the merge button. :p The PR is #343

I can be impatient, too :-P
It's still in draft, I'll add this and:

[ ] mention the light client refactor
[ ] add deprecation warning for lite module
[ ] short summary of changes (it looks like we've did a lot but there is not that much)

@xla can you (or someone else) publish tendermint-rpc?

working on it:
Finished dev [unoptimized + debuginfo] target(s) in 1m 10s
   Uploading tendermint-rpc v0.14.0 (/Users/ismail/IdeaProjects/tendermint-rs/rpc)
error: api errors (status 200 OK): missing or empty metadata fields: license. Please see https://doc.rust-lang.org/cargo/reference/manifest.html for how to upload metadata


Trigger sorting on hopper insert

Not sure if it's a bug or a feature, but the quicksort chest requires the player to open and close the chest for it to sort. It will not start sorting if you for example hopper items into the chest, and it was not already sorting.

Yeah at the moment it's working-as-designed.  But it's not unreasonable to want the sorting to happen when a hopper inserts an item or maybe on a redstone pulse.
I had sort of wanted to keep it a simple inventory sorting aid; if it starts to turn into a full-on redstone component, there are more performance worries and more ways for things to go wrong.  But I'll give it some thought next time I'm working on it.
Thanks!

please add


awscli2: broken by recent upgrade of python3Packages.colorama

Describe the bug
awscli2 fails to build.
To Reproduce
Steps to reproduce the behavior:
nix-build -A awscli2 '<nixpkgs>'
Expected behavior
awscli2 should build.
Additional context

ERROR: Could not find a version that satisfies the requirement colorama<0.4.4,>=0.2.5 (from awscli==2.0.54) (from versions: none)
ERROR: No matching distribution found for colorama<0.4.4,>=0.2.5 (from awscli==2.0.54)

This fixes it:
diff --git a/pkgs/tools/admin/awscli2/default.nix b/pkgs/tools/admin/awscli2/default.nix
index e89df04e3bd..ccc7c9f3683 100644
--- a/pkgs/tools/admin/awscli2/default.nix
+++ b/pkgs/tools/admin/awscli2/default.nix
@@ -39,6 +39,7 @@ with py.pkgs; buildPythonApplication rec {
   };

   postPatch = ''
+    substituteInPlace setup.py --replace "colorama>=0.2.5,<0.4.4" "colorama>=0.2.5"
     substituteInPlace setup.py --replace "cryptography>=2.8.0,<=2.9.0" "cryptography>=2.8.0"
     substituteInPlace setup.py --replace "docutils>=0.10,<0.16" "docutils>=0.10"
     substituteInPlace setup.py --replace "ruamel.yaml>=0.15.0,<0.16.0" "ruamel.yaml>=0.15.0"

I think awscli (version 1) is affected by the same problem.
Notify maintainers

@bhipple @davegallant
Metadata

system: "x86_64-linux"
host os: Linux 5.4.72, NixOS, 20.03.3274.d488daf8504 (Markhor)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.8
channels(root): "nixos-20.03.3274.d488daf8504"
channels(user): "nixpkgs-21.03pre253282.26803925aa4"
nixpkgs: $USER/.nix-defexpr/channels/nixpkgs

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: awscli2
# a list of nixos modules affected by the problem
module:

awscli1 is also affected
/build/awscli-1.18.150/dist /build/awscli-1.18.150
Converting ulink to link. (sec-release-19.03)
Converting release-notes/rl-1909.adoc to DocBook ...
Converting release-notes/rl-2003.adoc to DocBook ...
DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated. pip 20.3 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at https://github.com/pypa/pip/issues/8333.
Processing ./awscli-1.18.150-py2.py3-none-any.whl
Requirement already satisfied: rsa<=4.5.0,>=3.1.2 in /nix/store/wm9li6n9kkxdzx7b0ycxynrj9n99kh42-python3.8-rsa-3.4.2/lib/python3.8/site-packages (from awscli==1.18.150) (3.4.2)
ERROR: Could not find a version that satisfies the requirement colorama<0.4.4,>=0.2.5 (from awscli==1.18.150) (from versions: none)
ERROR: No matching distribution found for colorama<0.4.4,>=0.2.5 (from awscli==1.18.150)
Converting release-notes/rl-2009.adoc to DocBook ...
builder for '/nix/store/k3yad1sm73hll8wkz9l777c88338j4qx-awscli-1.18.150.drv' failed with exit code 1

https://github.com/NixOS/nixpkgs/pull/104453 got merged, closing this issue.
@afreakk can you open a PR fixing awscli?

I just got this issue today with Nixos 21.05


<EMAIL_ADDRESS>decompress error

Closing due to inactivity! Please feel free to open another issue, if needed.


Make fast build CMake option, Fix Travis Linux/Mac builds, Add AppVeyer Windows build

To cut building time for travis we could use docker images that contain pre-build boost, itk and/or elastix
https://docs.travis-ci.com/user/docker/
Only if we bump versions of these libraries we need to update the images (automated?) and change the travis.yaml in the SuperElastix root.

not going to do this


Use base-2 logs to retrieve binary prefixes

Hello,
While completing the packaging for Debian, disk-cli's test units::test_fmt_binary failed on i386 because 1_073_741_824 was formatted as 1024Mi instead of 1Gi. I traced this down to the sequence casting to f64 + log + division + recasting to u32, which introduces errors (a 2.99999 most probably got rounded down to 2) because floats are non-compliant on 32-bit x86 with SSE2 disabled, which is the target in use by Debian for i386.
I was able to fix this by avoiding casting to floats: since ln(size) / ln(1024) = log_2(size) / log_2(1024) = log_2(size) / 10, I could use ilog2, which is defined on u64s and returns u32s, thus avoiding two casts and one log. This change passes all tests on all archs supported by Debian, as you can see here (builds include testing). I am therefore submitting it hoping you'll find it useful.

Thanks, this looks indeed useful


jMoment can be called with a moment object

moment constructor do accept arrays and moment objects as input, so should jMoment

the test fails in cloning:

moment

   #clone
     clone of an invalid date is invalid:
  AssertionError: expected true to equal false
  + expected - actual
  -true
  +false

  at Context.<anonymous> (test.js:9:46665)

moment
#clone should not affect on calendar system
instance locale and clone:
AssertionError: expected '1989/01/23' to equal '1367/11/03'

expected - actual
-1989/01/23
+1367/11/03

I don't know why it's happening, the problem with current code is that it destroies the input's config, if one uses a library which adds something to moment config through momentJS plugin system, the added context should be kept during cloning. An example of these libraries is full-calendar.js
Have anyone got any Ideas?


Add hostname test for gNMI and convert systembase task to ygnmi

I had to modify the node name in kne/topo.pb.txt because Ondatra has a bug where for dut.Telemetry() only it uses res.Name() as the target. I'll submit the ondatra fix separately.
Added a makefile for less up arrow hitting.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 5 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 68.016%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
3226

Relevant Lines:
4743

💛  - Coveralls

because Ondatra has a bug where for dut.Telemetry() only it uses res.Name() as the target. I'll submit the ondatra fix separately.

the dut.Telemetry() call is correct, the name of the device in topo.pb.txt should "lemming" and the target should be "lemming". The ID is the name from the testbed. I believe https://github.com/openconfig/ondatra/blob/main/gnmi/gnmi.go inverts that which needs to be fixed

because Ondatra has a bug where for dut.Telemetry() only it uses res.Name() as the target. I'll submit the ondatra fix separately.

the dut.Telemetry() call is correct, the name of the device in topo.pb.txt should "lemming" and the target should be "lemming". The ID is the name from the testbed file. I believe https://github.com/openconfig/ondatra/blob/main/gnmi/gnmi.go inverts that which needs to be fixed

I'm still getting this error, perhaps the latest ondatra will fix it?

because Ondatra has a bug where for dut.Telemetry() only it uses res.Name() as the target. I'll submit the ondatra fix separately.

the dut.Telemetry() call is correct, the name of the device in topo.pb.txt should "lemming" and the target should be "lemming". The ID is the name from the testbed file. I believe https://github.com/openconfig/ondatra/blob/main/gnmi/gnmi.go inverts that which needs to be fixed

I'm still getting this error, perhaps the latest ondatra will fix it?

NVM it's working now.


Disable kebab menu

The kebab menu in the bottom left can get in the way of some layouts, would be nice to disable it

Next release will have the option to disable the menu button.


Add URLs required for ASR

This PR is for updating documentation to include outbound connectivity URL's for the different ASR scenarios.

@NickKarwisch : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good. Thanks for updating. #sign-off

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi, please make these changes in the microsoft private repo and not in our public repo. Thanks!

Microsoft style is to use a single back tick for inline code. Merging now.

Please try and work in the private repo. It's difficult to audit and track changes over time when big doc changes are made in the public repo. Thanks!

@ktoliver Please note the ask before merging


Reinstate macvlan code, taken from just before it was removed from ba…

…lena-engine

- What I did
- How I did it
- How to verify it
- Description for the changelog

closing according to https://github.com/balena-os/balena-engine/pull/207#discussion_r406108370
if you're still interested in this, please make your changes in https://github.com/balena-os/balena-libnetwork and pr a vendor bump here.
There is ofc the consideration of limiting the space taken by the engine binary, but I don't see this particular change as a big factor there.


Add documentation to explain ProjenyProject dropdown in Package Manager

Include something like this in the readme:
There are 4 places that Projeny looks for project config info:

UnityProjects/Foo/ProjenyProject.yaml
UnityProjects/Foo/ProjenyProjectCustom.yaml
UnityProjects/ProjenyProject.yaml
UnityProjects/ProjenyProjectCustom.yaml

These all follow the same format, which mostly just includes declaring the packages to include in the project.  (3) and (4) are automatically used by all projects, so it's a good place to put in packages that you want to include everywhere.
(2) and (4) should be ignored by source control and are a convenient place to add user-specific packages.   For example, we have some unity plugins (from asset store) such as a custom unity console, a window to help switch between scenes, etc.  Not everyone on the team likes these though so they are included on an individual basis in one of these files.  That way only people that want those tools can add them.

FIxed in version 0.3


some menu items no longer work

Oni Version: Oni-0.3.6-win
Operating System: win 10 64
Issue:
-- some menu items no longer respond to clicks
-- eg, File->Preference->click config , nothing happens
-- happened after editing config a few times
-- trying to setup for golang use
-- can still open config.tsx manually but added config settings dont seem to have an effect
-- eg, go language server not initializing
-- replaced config.tsx with original but the issue does not go away
-- not sure if the issues are connected
-- some menu items do still work however
-- help->learn more , opens browser
-- click help->about , nothing happens
Expected behavior:
-- menu items should activate
Actual behavior:
-- nothing happens
Steps to reproduce:
-- not sure what caused it

@DefinitelyAHuman thanks for raising this issue, it's been a while since we've looked at some of our menu items so tbh quite possible some are now attached to old/deprecated functionality.
I think in the case of the config though this likely actually more likely relates to the change to using a config.tsx and not having updated the relevant menu item to ensure it still works.
Re. the Go lang server an issue we're currently facing is that a user's env is not being picked up so some users have hardcoded the path to the golang server in their config in the interim to get it working. I'm working on #2640 which will allow oni to pick up env again which should resolve this


Add LICENSE file with Apache 2.0 license

Added a LICENSE file using the Apache 2.0 license.
The license is consistent with the licensing used in the PySyft project within the same organization.
Ensures clarity and alignment on licensing terms across related projects.

This change promotes uniformity and legal transparency for contributors and users.
One thing I'm not sure if there're files which are licensed differently, like cpython tests
Checklist

[x] I have followed the Contribution Guidelines and Code of Conduct
[x] I have commented my code following the OpenMined Styleguide
[ ] I have labeled this PR with the relevant Type labels
[ ] My changes are covered by tests

Unfortunately, I can't add labels to this PR, probably it should be Documentation, as for tests, I don't think those are relevant this scope

@uncleDecart thanks for the PR, we prefer MIT, is it possible you can change it to that?

Okay @madhavajay , fixed the LICENSE to be MIT, copied it from here


How to set device Size and DPI

Hello, I am looking for how to resize the windows and DPI of NoxPlayer with SharpADBClient.
Can someone help me, I can't find any function to do this
Thanks very much

You'd need to find out which adb commands (perhaps via adb shell?) you can send to a NoxPlayer to resize the device. SharpAdbClient can help you only if you can send such commands over adb, and you known which commands to send.
Otherwise, this is out of scope for this project.


Authorize grid actions

This PR adds authorization of grid actions (create, update, delete). With this PR only master_admin can create and delete grids. grid_admin can also update grid.

Looks good!


Update manifests/t/Tencent/TencentVideo/11.48.1079.0/Tencent.TencentVideo.locale.en-US.yaml

Fixes an issue where this package has multiple different monikers
Microsoft Reviewers: Open in CodeFlow

[Policy] Reset Labels


Provide approach for using in IE 11, and using consistently after minification

Copied from https://github.com/istrib/vuex-typescript/issues/13; also was an issue in vuex-typex here: https://github.com/mrcrowl/vuex-typex/issues/22
This package, since it requires a certain vue.config.js Webpack addition to work consistently after minification, should provide that config as a helper

Closed by #5

Available in v3.2.0 👍


Dispatch performance of MCAD

I0428 15:27:01.454633       1 cache.go:314] Total capacity cpu 31000.00, memory<PHONE_NUMBER>08.00, GPU 0, used cpu 4895.00, memory<PHONE_NUMBER>0.00, GPU 0, free space cpu 26105.00, memory<PHONE_NUMBER>68.00, GPU 0
I0428 15:27:02.456561       1 cache.go:314] Total capacity cpu 31000.00, memory<PHONE_NUMBER>08.00, GPU 0, used cpu 4895.00, memory<PHONE_NUMBER>0.00, GPU 0, free space cpu 26105.00, memory<PHONE_NUMBER>68.00, GPU 0
I0428 15:27:03.457681       1 cache.go:314] Total capacity cpu 31000.00, memory<PHONE_NUMBER>08.00, GPU 0, used cpu 4905.00, memory<PHONE_NUMBER>0.00, GPU 0, free space cpu 26095.00, memory<PHONE_NUMBER>08.00, GPU 0
I0428 15:27:04.458936       1 cache.go:314] Total capacity cpu 31000.00, memory<PHONE_NUMBER>08.00, GPU 0, used cpu 4895.00, memory<PHONE_NUMBER>0.00, GPU 0, free space cpu 26105.00, memory<PHONE_NUMBER>68.00, GPU 0
I0428 15:27:05.460256       1 cache.go:314] Total capacity cpu 31000.00, memory<PHONE_NUMBER>08.00, GPU 0, used cpu 4895.00, memory<PHONE_NUMBER>0.00, GPU 0, free space cpu 26105.00, memory<PHONE_NUMBER>68.00, GPU 0

used capacity is way low that total capacity. Even if we assume that master nodes are unschedulable, it should be way higher than 4 cores. details of single worker node utilization:
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource                    Requests     Limits
  --------                    --------     ------
  cpu                         2509m (16%)  4600m (29%)
  memory                      5608Mi (8%)  3840Mi (6%)
  ephemeral-storage           0 (0%)       0 (0%)
  hugepages-1Gi               0 (0%)       0 (0%)
  hugepages-2Mi               0 (0%)       0 (0%)
  attachable-volumes-aws-ebs  0            0

@asm582 can you provide more detail on this issue, I would interested in knowing the following:

Size of the cluster
Cloud provider / machine types
What would be the desired behaviour.

Yes, I think the size of the cluster does not matter.
On the Openshift cluster I had one m5 master node and one m4 worker node.
With enough appwrappers queued, the desired behavior would be that MCAD uses (ideally) all 16 cpus of worker nodes to dispatch jobs. In the log snippet above we only see MCAD using 4 cpus

Some more details, I have a worker with 16 CPUs, the jobs come and depart very slowly 4 jobs every perf script poll interval which is 10 seconds:
appwrapper.mcad.ibm.com/defaultaw-schd-spec-with-timeout-10001 created
Number of completed jobs is:  115  and the goal is:  1000
Number of completed jobs is:  118  and the goal is:  1000
Number of completed jobs is:  122  and the goal is:  1000
Number of completed jobs is:  126  and the goal is:  1000
Number of completed jobs is:  128  and the goal is:  1000
Number of completed jobs is:  133  and the goal is:  1000
Number of completed jobs is:  137  and the goal is:  1000
Number of completed jobs is:  142  and the goal is:  1000
Number of completed jobs is:  146  and the goal is:  1000
Number of completed jobs is:  150  and the goal is:  1000
Number of completed jobs is:  154  and the goal is:  1000
Number of completed jobs is:  159  and the goal is:  1000
Number of completed jobs is:  163  and the goal is:  1000
Number of completed jobs is:  166  and the goal is:  1000
Number of completed jobs is:  169  and the goal is:  1000
Number of completed jobs is:  173  and the goal is:  1000
Number of completed jobs is:  177  and the goal is:  1000
Number of completed jobs is:  182  and the goal is:  1000
Number of completed jobs is:  186  and the goal is:  1000
Number of completed jobs is:  189  and the goal is:  1000
Number of completed jobs is:  194  and the goal is:  1000
Number of completed jobs is:  199  and the goal is:  1000
Number of completed jobs is:  203  and the goal is:  1000
Number of completed jobs is:  206  and the goal is:  1000
Number of completed jobs is:  211  and the goal is:  1000
Number of completed jobs is:  214  and the goal is:  1000
Number of completed jobs is:  218  and the goal is:  1000
Number of completed jobs is:  223  and the goal is:  1000
Number of completed jobs is:  227  and the goal is:  1000
Number of completed jobs is:  230  and the goal is:  1000
Number of completed jobs is:  234  and the goal is:  1000
Number of completed jobs is:  238  and the goal is:  1000
Number of completed jobs is:  241  and the goal is:  1000
Number of completed jobs is:  245  and the goal is:  1000
Number of completed jobs is:  250  and the goal is:  1000
Number of completed jobs is:  253  and the goal is:  1000
Number of completed jobs is:  256  and the goal is:  1000
Number of completed jobs is:  259  and the goal is:  1000
Number of completed jobs is:  262  and the goal is:  1000
Number of completed jobs is:  266  and the goal is:  1000
Number of completed jobs is:  269  and the goal is:  1000
Number of completed jobs is:  272  and the goal is:  1000
Number of completed jobs is:  276  and the goal is:  1000
Number of completed jobs is:  280  and the goal is:  1000
Number of completed jobs is:  283  and the goal is:  1000

May be should run an experiment with a longer task, a quick test would be to increase the sleep time from 10 seconds to 30 seconds and see the dispatch performance

Dispatch performance of MCAD has been improved with the new MCAD simplifications.


extension dendrogram with code

@turbomam Before I approve, I have one question: What is the purpose of soil-vs-water-slot-usage.yaml and why only that one? Okay, that's two questions.

What is the purpose of soil-vs-water-slot-usage.yaml? Why only that one?

Excellent question! Thanks for paying attention. I should have done a better job of creating textual documentation of non-developers.
pyproject.toml includes this new block
[tool.poetry.scripts]
extension-distances = 'scripts.extension_distances:generate_dendrogram'
extension-differences = 'scripts.extension_slot_diffrences:set_arithmatic'

and project.Makefile contains this new block, which illustrates how to uses those new scripts, and what kind of output they generate:
extensions-dendrogram.pdf:
	$(RUN) extension-distances \
		--schema src/mixs/schema/mixs.yaml \
		--output $@

soil-vs-water-slot-usage.yaml: src/mixs/schema/mixs.yaml
	$(RUN) extension-differences \
		--schema $< \
		--ext1 Soil \
		--ext2 Water > $@

The extension-distances script generates a PDF dendrogram of the term-usage distances between all Extensions and doesn't require any configuration besides specifying inputs and output.
extension-differences generates a textual report of the shared and disjoint terms between one pair of Extensions. It could be run as needed against any pair,or we could enhance it to generate one very long report of all pairings.
The PR adds sample output from both of those scripts in the root of the repo. That's probably not a good long-term practice. Maybe we should just add a assets/ directory in  subsequent PR.


Build support for Linux on Power

Description

Have made below changes to add ppc64le build support

Modified Makefile and setup script to ensure hyperledger/base-image gets created.

Update install docs including a section for building on Linux on Power

Added an automated script to setup the build dev environment

Motivation and Context

Fixes #1929
How Has This Been Tested?

make dist-clean all
Checklist:

[x] I have added a Signed-off-by
[x] Either no new documentation is required by this change, OR I added new documentation
[x] Either no new tests are required by this change, OR I added new tests
[] I have run goimports, go vet, and golint. I have cleaned up all valid errors and warnings in code I have added or modified. These tools may generate false positives.  The goal is clean, consistent, and readable code.

Signed-off-by: Srirama Sharma<EMAIL_ADDRESS>

@SriramaSharma : You have to install grpcio package to support behave test case. Please refer PR #1940 for more details.

@rameshthoomu Thanks for your inputs. I have updated the scripts to install grpcio package. Please review.  Also as per suggestion from @ghaskins have created a fresh PR #2081 for the upstream tree (this one was raised against my own fork).


[Bug]: The author of the "Subscription Billing"-module is present in internalsVisibleTo of app.json

Describe the issue
The original author of the subscription billing module is present in internalsVisibleTo-structure of the app.json.
https://github.com/microsoft/ALAppExtensions/blob/194511817157c0328de0ddccd81118373aec1041/Apps/W1/SubscriptionBilling/App/app.json#L16-L26
Expected behavior
That only tests are present in the internalsVisibleTo-structure.
Steps to reproduce
Look at app.json
Additional context
This could give an advantage to that partner. Other partners do not have access to the internals.
I will provide a fix for a bug

[x] I will provide a fix for a bug

Indeed a known issue (reference: AB#555170). In general, the app is still "work in progress". It will get improved in the coming months.


fix: Allowing the ablity to shut down Velero namespace creation, via a parameter

…in helm_config
What does this PR do?
🛑 Please open an issue first to discuss any significant work and flesh out details/direction - we would hate for your time to be wasted.
Consult the CONTRIBUTING guide for submitting pull-requests.

Proposed fix for issue #1359
Allow the user to create namespace for Velero externally
Motivation

Resolves #1359

More

[X] Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
[ ] Yes, I have added a new example under examples to support my PR
[ ] Yes, I have created another PR for add-ons under add-ons repo (if applicable)
[ ] Yes, I have updated the docs for this feature
[ ] Yes, I ran pre-commit run -a with this PR

Note: Not all the PRs require a new example and/or doc page. In general:

Use an existing example when possible to demonstrate a new addons usage
A new docs page under docs/add-ons/* is required for new a new addon

For Moderators

[ ] E2E Test successfully complete before merge?

Additional Notes

Hey guys any chance of a quick review of this extra small PR? Without it I can't get automated backed and restore up and running when I am using ArgoCD and app of apps pattern for add-ons.
@csantanapr
@Zvikan
@bryantbiggs
@vara-bonthu
@askulkarni2


ScrollBars

Hi
I had a problem in version 1.4.6 with scrollbars. See:
https://github.com/AllenFang/react-bootstrap-table/issues/254
I recently upgraded from version 1.4.6 to version 2.5.6 and I cannot get vertical scroll bars added.
In version 1.4.6 the DOM structure was
div class="react-bs-container
div class="react-bs-table-container" style="height:100%;">
div class="table-header-wrapper">
div class="table-header">
div class="table-container" style="height:100%;">"
I added these css rules to make scrolling work then:
.react-bs-table-container {
height:100% !important;
}
.react-bs-table-container .table-container {
height:90% !important;
}
In version 2.5.6 the DOM structure has changed to:
div class="react-bs-table-container"
div class="react-bs-table" style="height: 100%;"
div class="react-bs-container-header table-header-wrapper"
div class="react-bs-container-body" style="height: 100%;">
table>
thead>
tbody>"
I have not been able to get scrolling to work. Is there something else I need to do to get it to work?
James

@jmc420, sorry for lately reply. If you wanna get the vertical bar appear, you need to set the height on BootstrapTable, because default height is 100%.
Feel free to discuss with me if problem still remain.

yes I tracked it down and fixed it with these css rules:
.react-bs-table-container {
height:100%;
}
.react-bs-container-body {
height:95% !important;
overflow:auto;
}
Getting percentage heights and scrollbars to work is always a pain:
http://stackoverflow.com/questions/17060168/scroll-bar-on-div-with-overflowauto-and-percentage-height


Return result in archive

For those, who backup trello regularly, may be it is a good idea to make availability to make archives at once? I wrote a script for self, but it's not so convenient as if we could call trello-full-backup -z.

That's a good idea indeed :+1:


ARROW-2501: [Java] Upgrade to jackson 2.9.8

+1
I'm fine with this change but think we should file a ticket to remove this dependency from vector similar to how we've removed Guava from Vector.

That's https://issues.apache.org/jira/browse/ARROW-2501

I created a new JIRA for this


minor updates

Since we are not live, yet. Let's add coming soon to the title of the page or another place where it is visible to users :D thank you!

Description

Motivation and Context

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 change)
[x] Documentation fix (typos, incorrect content, missing content, etc.)

Checklist

[ ] I have read the contributing document.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@linafarid - thank you!


How are reservations applied when the scope is management group and multiple Synapse Dedicated Pools are running concurrently.

Its not clear from the docs how reservations are applied when multiple Synapse Dedicated Pools are running at a higher combined DWU than the reserved amount. For example, consider the following architecture:

Management Group A contains 4 Dedicated SQL Pools
Each Dedicated SQL Pool is tagged with a different cost centre
1000 DWU is purchased and scoped to Management Group A
All four dedicated pools run at 1000 DWU for 1 hour.

In this scenario its evident that of the total 4000 DWU, 1000 DWU will be covered by the reservation and 3000 DWU will be charged at PAYG rates. However its not evident how the 3000 DWU gets charged across the 4 cost centres. Is it evenly split across the cost centres or is all 1000 reserved DWU allocated to the first pool, and the remaining 3 pools are all charged at PAYG rates?

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

ID: 034411cc-8acb-616e-7a05-3272fec14ec1
Version Independent ID: 72640928-36be-01f6-80b9-f55eca8fe8bd
Content: How reservation discounts apply to Azure Synapse Analytics (data warehousing only) - Microsoft Cost Management
Content Source: articles/cost-management-billing/reservations/reservation-discount-azure-sql-dw.md
Service: cost-management-billing
Sub-service: reservations
GitHub Login: @bandersmsft
Microsoft Alias: banders

@jgilfillan Hi there. I've updated the article with the following information to add clarity and resolve this issue:

When you apply a management group scope and have multiple Synapse Dedicated Pools running concurrently, your reservation applies to the usage based on a first come, first served basis. Any usage beyond what's covered by your reservation is charged at pay-as-you-go rates.

#please-close
https://github.com/MicrosoftDocs/azure-docs-pr/pull/244118


Fix tests using datapackage-py latest version

It seems our code only support DataPackage before https://github.com/datapackages/datapackage-py/commit/7dda21c3b9b5295360ddd7a179dae0655904e343. For more info, check https://github.com/datapackages/datapackage-py/issues/34

FIXED


Move vector utility functions to a separate file

To keep the overview, some of our internal functions can be outsourced to a util file. Only version independent functions should be considered here. Some functions that came into my mind are parseVectorObjectToString and isVectorValid.

I can do this, if no one is working on it

Hey @pranshumaheshwari I think this one is currently taken by a colleague. You can have a look at #48 or #43, though.

Implemented with #51


Rac 4181 - FIT api/v2_0 staging of CIT scripts being converted.

This PR is for staging the CIT api/v2_0 test scripts into a temp directory for follow on PRs.
This will allow for doing diffs between original and converted scripts, without losing the master.
The scripts in this PR are a copy of the scripts in /test/tests/api/v2_0 only, NO updates,
They won't run as part of the CIT or FIT smoke tests in this form.
Plan is:

copy the original scripts into this staging area (this PR)
mv the staged script and apply the converted script on top do show the diffs only for review
allow the converted script to run in FIT smoke suite.

For this PR, please ignore the hound errors. This PR is copying existing scripts into a staging directory, and the hound errors will be fixed when we apply the NEW converted scripts.

@brianparry @larry-dean @johren


PowerShell and Graph APIs

This article should cover how to perform each task with PowerShell and Graph APIs

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

ID: 5ca63bae-95f1-3248-ed6e-1bfbe0d7e9ff
Version Independent ID: a56fc5c1-7ffd-0829-b5a4-9297ce2873ac
Content: Step 4 - Give another employee access to OneDrive and Outlook data - Microsoft 365 admin
Content Source: microsoft-365/admin/add-users/remove-former-employee-step-4.md
Service: o365-administration
GitHub Login: @KwekuA
Microsoft Alias: kwekua

@kwekuako Please help us in resolving this issue. Thanks

@grzegorzwierzbicki Author confirmed that he has added it in the backlog. Document will be updated accordingly. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Does generate SGF from SVG or use pure SVG to read/write kifu files make sense?

I am looking for a technical roadmap to realize the read/write of the full information of an analyzed kifu.
A complete kifu can be render in an image in a Go book.pdf, why not conversely(SVG is editable)?
Why not SGF or why SVG? It seems that the SGF standard doesn't change since 2007. However, the Go analysis has changed since AlphaGo 2016. The information of an analyzed kifu are much more than ever, i.e. win-rate, visit/playout, ownership, see KataGo GTP Extensions for more.

You absolutely could encode any information you want in an SVG - it's just an XML doc, and there are a few different ways to do that.
That said, the SVG will include a lot of display specific information that it really doesn't make sense to include in a game record, making it an inefficient and noisy way to store a kifu. The SGF format allows storing extra information in user defined properties (see the spec), so if I were looking to store kifu collections with extra metadata, that's definitely how I would do it.
Alternatively, you could just store the metadata in SGF C[] tags, in which case it should be displayed by a lot of software that works with SGFs. That might make more sense if the intention is to make the metadata human readable rather than computer readable.

Thanks a lot.
If can generate SGF from SVG, it can be used as some kind "pseudo image recognition". :joke
But one simple SVG can not be used as SGF because there are no tree structures in a static image.
However, I think it could be solved by containing multiple subplots in an image, e.g. the main path of a Go game as the main subplot, and branch paths as the subplots. In this way, one (svg) image corresponds to one sgf text. I will try it in the following three years.
 An image is more readable to mankind than a text, otherwise people use CLI terminals to play games rather than GUIs...


Re-enable workflow test

What changed?
Re-enable unit test

Why?

How did you test it?

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 01838fc9-1888-41cd-9f61-8524c49fa8dd

0 of 0   changed or added relevant lines in 0 files are covered.
100 unchanged lines in 18 files lost coverage.
Overall coverage increased (+0.05%) to 57.341%

Files with Coverage Reduction
New Missed Lines
%

common/task/weightedRoundRobinTaskScheduler.go
1
89.64%

service/history/queue/transfer_queue_processor_base.go
1
77.62%

service/history/handler.go
2
47.3%

service/history/shard/context.go
2
66.52%

service/history/task/redispatcher.go
2
89.67%

service/history/task/transfer_standby_task_executor.go
2
86.82%

service/matching/matcher.go
2
91.46%

service/history/task/fetcher.go
3
91.75%

common/persistence/serialization/parser.go
4
63.91%

common/persistence/serialization/thrift_decoder.go
4
57.14%

Totals

Change from base Build 01838ae0-ca90-4723-89fa-ce8804eda53e:
0.05%

Covered Lines:
85248

Relevant Lines:
148669

💛  - Coveralls


Init update all deps

Codecov Report

Merging #171 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #171   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines          59     59
  Branches       13     13
=====================================
  Hits           59     59

Continue to review full report at Codecov.

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


Update app-only-auth-powershell-v2.md

Updated [Step 2: Assign API permissions to the application] section, because we cannot select Exchange under Supported legacy APIs any more. As a workaround, the app manifest need to be modified.

Docs Build status updates of commit a269fa7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/app-only-auth-powershell-v2.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 03992fb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/app-only-auth-powershell-v2.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Upgrade vendored Ruby to 2.3.3.

Use this version whenever 2.3.3 isn't installed. Also, remove the Linux portable Ruby for now until it's built to be the same version.
Built from https://github.com/Homebrew/homebrew-portable/pull/44.
CC @Homebrew/linux FYI that you'll need to build a new portable Ruby for Linux before you merge this into Linuxbrew and I suggest submitting the URL update here, too.

Forgive the ignorance here, but does this PR mean that people on Sierra with Ruby 2.4.2 installed will also need to brew 2.3.3?

@chdiza it's an internally vendored ruby, not the @2.3 formula.

OK, let me rephrase :smile: : If a Sierra user already has ruby 2.4.2 installed, will this PR cause portable-ruby 2.3.3 to be built?  And if so, does it just live somewhere in a quasi-keg-only sort of way, unlinked and unused by anything except brew internals?

If a Sierra user already has ruby 2.4.2 installed, will this PR cause portable-ruby 2.3.3 to be built?

Not built, it'll use a binary.

does it just live somewhere in a quasi-keg-only sort of way, unlinked and unused by anything except brew internals?

Yep.

Is the same true of things that portable-ruby 2.3.3 depends on, like openssl and so forth?

Is the same true of things that portable-ruby 2.3.3 depends on, like openssl and so forth?

No, it's a single tarball download and extraction with static linking.

No, it's a single tarball download and extraction with static linking.

Cool!  Thanks.

Thanks for the heads up, Mike. I'll build a bottle for portable-ruby 2.3.3.

I've successfully built a portable-ruby 2.3.3 bottle for Linux using the instructions at
https://github.com/sjackman/homebrew-portable/tree/portable-ruby#linux-x86_64
Two minor fixes were needed:

Add http mirror https://github.com/Homebrew/homebrew-portable/pull/46
Disable universal on Linux https://github.com/Homebrew/homebrew-portable/pull/44/files#r139848429

Would you like me to post this bottle so that you can add it to
https://bintray.com/homebrew/bottles-portable/portable-ruby/2.3.3#files ?

@sjackman Great work. Yes, please post it. Make sure you test that the current brew portable-package tests work for you (i.e. native extensions can be loaded and built).

The tests run by brew portable-package portable-ruby passed.
Testing homebrew/portable/portable-ruby
==> /home/linuxbrew/.linuxbrew/bin/brew linkage homebrew/portable/portable-ruby
==> /tmp/portable-ruby-test-20170920-8183-kybh13/bin/ruby -e 'puts RUBY_VERSION'
==> /tmp/portable-ruby-test-20170920-8183-kybh13/bin/ruby -e 'puts RbConfig.ruby'
==> /tmp/portable-ruby-test-20170920-8183-kybh13/bin/ruby -rzlib -e 'puts Zlib.crc32("test")'
==> /tmp/portable-ruby-test-20170920-8183-kybh13/bin/ruby -rreadline -e 'puts Readline.basic_quote_characters'
==> /tmp/portable-ruby-test-20170920-8183-kybh13/bin/ruby -ryaml -e 'puts YAML.load("a: b")'
==> /tmp/portable-ruby-test-20170920-8183-kybh13/bin/ruby -ropenssl -e 'puts OpenSSL::Digest::SHA256.hexdigest("")'
==> /tmp/portable-ruby-test-20170920-8183-kybh13/bin/ruby -ropen-uri -e 'open("https://google.com") { |f| puts f.status.first }'
==> /tmp/portable-ruby-test-20170920-8183-kybh13/bin/gem environment
==> /tmp/portable-ruby-test-20170920-8183-kybh13/bin/gem install bundler
==> /tmp/portable-ruby-test-20170920-8183-kybh13/bin/bundle init
==> /tmp/portable-ruby-test-20170920-8183-kybh13/bin/gem install byebug
==> /tmp/portable-ruby-test-20170920-8183-kybh13/bin/byebug --version
Linkage information:
System libraries:
  /lib64/libc.so.6
  /lib64/libcrypt.so.1
  /lib64/libdl.so.2
  /lib64/libm.so.6
  /lib64/libpthread.so.0
  /lib64/librt.so.1
  /lib64/libutil.so.1
==> Determining homebrew/portable/portable-ruby bottle rebuild...
==> Bottling portable-ruby-2.3.3.x86_64_linux.bottle.tar.gz...
==> Detecting if portable-ruby-2.3.3.x86_64_linux.bottle.tar.gz is relocatable...
./portable-ruby-2.3.3.x86_64_linux.bottle.tar.gz
  bottle do
    cellar :any_skip_relocation
    sha256 "5614dcd161dad13ccbc0d59e0a8bb465dade5674938e1e34e4cf7af6721d57a1" => :x86_64_linux
  end

@sjackman Apologies that we have more patching still ongoing. I'll shout when https://github.com/Homebrew/homebrew-portable/pull/44 is merged and then hopefully you can build it from that after merge. Also after it's merged it'd be 🆒 to have a Travis CI Linux (plus Docker, ideally) test in there.

No worries. Even though it passed the above tests, something's not quite right:
❯❯❯ /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/rake --version
bash: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/rake: /home/linuxbrew/.linuxbrew/Cellar/portable-ruby/2.3.3/bin/ruby: bad interpreter: No such file or directory
❯❯❯  head -n1 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/rake
#!/home/linuxbrew/.linuxbrew/Cellar/portable-ruby/2.3.3/bin/ruby

For portable-ruby 2.0.0-p648 here's the head of rake:
❯❯❯ head -n5 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.0.0-p648/bin/rake
#!/bin/sh
# -*- ruby -*-
bindir=`cd -P "${0%/*}" 2>/dev/null; pwd`
exec "$bindir/ruby" -x "$0" "$@"
#!/usr/bin/env ruby

@sjackman Can't reproduce the same issue on macOS, I'm afraid.

I'm able to reproduce this issue on macOS.
❯❯❯ brew pull https://github.com/Homebrew/brew/pull/3164
❯❯❯ brew vendor-install ruby
❯❯❯ $(brew --repo)/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/rake --version
zsh: /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/rake: bad interpreter: /usr/local/Cellar/portable-ruby/2.3.3/bin/ruby: no such file or directory
❯❯❯ head -n1 $(brew --repo)/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/rake
#!/usr/local/Cellar/portable-ruby/2.3.3/bin/ruby

@sjackman We may be able to get away with just deleting the non-ruby binaries.

It seems that rake is the only executable with this problem. The other executables all correctly use the trampoline…
#!/bin/sh
# -*- ruby -*-
bindir="${0%/*}"
exec "$bindir/ruby" -x "$0" "$@"
#!/usr/bin/env ruby

@sjackman I've decided to just remove the bin/rake because it's a RubyGems generated binstub, we don't use rake internally inside Homebrew's Ruby, it can use the rake gem still and life is too short. As a result I've merged https://github.com/Homebrew/homebrew-portable/commit/7898b06c29484e206525c8603e2225324482eee7 and this PR is ready to go. I suggest you rebuild based on the latest stuff in https://github.com/Homebrew/homebrew-portable/commit/7898b06c29484e206525c8603e2225324482eee7 (as there's been another patch since your last build), send it to me on Slack so I can upload it to Bintray and we can add it to this repo.

life is too short

😂 The right response, I think. I'll dig into the broken binstub meanwhile and fix it if it repros on the latest release.

😆 I'm building a Linux bottle for portable-ruby.

Done. See https://github.com/Homebrew/brew/pull/3185


:memo: feat: Add runtime library apis

Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

Current dependencies on/for this PR:

main

PR #170

PR #171   👈

PR #172

This comment was auto-generated by Graphite.


[CPP Graph] Falcon MHA support

Type of Change: feature
API not changed
Description
Add MHA fusion support for Falcon
Expected Behavior & Potential Risk
N/A
How has this PR been tested?
TODO
Dependency Change?
N/A

all model owners are aware of this?

BTW, @a32543254 I added a flexible OP for debug experience. It allows developers to access forwarding result in the graph file (with help of non-capture lambda expression).
https://github.com/intel/intel-extension-for-transformers/commit/69ee8ebce4239646d4f1126ef2d9b3bfe3934d87#diff-fd662f3dbbde39aca9f4a1df0017d713ee7c5aa508025b36315c6defac152bc0R178-R184


[Issue]: Live queries are not working when running server in debug mode (SvelteKit)

Description
I'm using live queries with SvelteKit. If I run server with --debug option eventsource request is never successful (stuck in pending state and updates are not received):

Reproduction
Easy to reproduce on the example project by changing this line to:
"wundergraph": "wunderctl up --debug",

We found the issue, it's a problem in the live query handler, not related to svelte. We'll publish a fix soon.

Thanks! 🔥


[WIP] Data diagnostics opt-in

Summary of the Pull Request

PR Checklist

[x] Closes: https://github.com/microsoft/PowerToys/issues/964
[ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

\azp run

Existing issue is #964.

@stefansjfw
This PR conflicts with #33703. As I like to get #33703 in soon how would you like to work around?

I make my PR ready and you updated the gpo information bar in your PR with the new icon.
We make both ready as is and fix the icon later.
I hold my PR until yours is merged.

I personally prefer option 1.

@stefansjfw
This will have merge conflicts for gpo.h. Attention the file has been restructured.

/azp run

/azp run

@stefansjfw This PR conflicts with #33703. As I like to get #33703 in soon how would you like to work around?

I make my PR ready and you updated the gpo information bar in your PR with the new icon.
We make both ready as is and fix the icon later.
I hold my PR until yours is merged.

I personally prefer option 1.

Sorry for the late reply. This is high priority for current release so let's merge this one first please. Thanks for bringing this up btw.

@stefansjfw This PR conflicts with #33703. As I like to get #33703 in soon how would you like to work around?

I make my PR ready and you updated the gpo information bar in your PR with the new icon.
We make both ready as is and fix the icon later.
I hold my PR until yours is merged.

I personally prefer option 1.

Sorry for the late reply. This is high priority for current release so let's merge this one first please. Thanks for bringing this up btw.

I know. And yet this order makes most sense now. I will update #33703 later.

/azp run

🔥🔥🔥


[BUG] Rocket not fueling

[Please fill out the form below and delete the sections in square brackets after reading them]
1.12.2 232 Version of Advanced Rocketry

[insert here

Why is this important?
Knowing the version of Advanced Rocketry helps us narrow down an offending piece of code faster because we can easily determine what code is added and when.]

Y Have you verified this is an issue in the latest unstable build

[x] Y
[x] N
[x] N/A

[Why is this important?
If you're not testing with the latest build, you may be encountering a bug that's already been fixed.
Reporting bugs that have already been fixed wastes everyone's time.  (please look in open issues too, somebody else could have already reported it!)]

1.12.2 25 Version of LibVulpes

[insert here

Why is this important?
Advanced rocketry depends on a library mod (LibVulpes), some errors can really be in that mod.  So knowing the verison helps us not only start looking for fixes there without you needing to anwer more questions, it also helps us know if you have a version mismatch.]

Version of Minecraft

[insert here

Why is this important?
Different versions of minecraft have different codebases for Advanced Rocketry.  Knowing the version of minecraft (and thus AR) helps us pinpoint issues quicker!]

Does this occur without other mods installed

[x] Y
[x] N
[x] N/A

If Y, what is the MINIMUM set of mods required.

[Why is this important?
Sometimes interactions between mods cause issues.  While it can be a problem with Advanced Rocketry, sometimes it's not.  When there are a lot of mods, it can take bugtesters HOURS to go through the list to determine the root cause.  When there are a lot of bug reports, that can add DAYS to the time it takes to fix a large set of issues.]

Crash report or log or visualVM (if applicable)
http://pastebin.com is a good place to put them
crash reports that are put in the issue itself are
hard to read

[insert here

If it's an issue involving lag, please submit a visualVM sampler snapshot.  Mods like lag goggles often do not provide the kind of information needed to debug lag.
For more information on how to create a snapshot, please see "How to Run CPU Sampling" here.  Then export the snapshot as an .nps.  You may have to zip it since github is weird, then please upload it here.

Why is this important?
Full crashlogs contain valuable information like where exactly in the code the error occurred, what other mods may be running and what version of forge you have.  This helps us replicate and diagnose the issue FAR faster.]

Description of the problem
Im playing on a minecraft server with some friends, Were trying to escape to space because the parasite mod has taken over our world. With that being stated When we are trying to fuel the spaceship, It dosent work it has sufficent power, And fuel for it. I have seen a redit post on this same issue but it dosent help me at all.
All it shows for the fueling thing is that the fuel is placed in the top slot, There is max energy on the far right side, And it dosent require redstone signal. Pleas help me

Make sure that the fuel your using is the advanced rocket fuel


website having SSL issues

Just to warn the admin...the website is having some SSL trouble and is currently unreacheable

Fixed.


PlatformException on Web v1.3.2

Running for Web results in the following error:
DartError: PlatformException(error, TypeError: Instance of 'LinkedMap<Object?, Object?>': type 'LinkedMap<Object?, Object?>' is not a subtype of type 'String?', null, null)
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 296:3  throw_
packages/flutter/src/services/message_codecs.dart 648:7                      decodeEnvelope
packages/flutter/src/services/platform_channel.dart 334:18                   _invokeMethod
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50           <fn>
dart-sdk/lib/async/zone.dart 1661:54                                         runUnary
dart-sdk/lib/async/future_impl.dart 163:18                                   handleValue
dart-sdk/lib/async/future_impl.dart 861:44                                   handleValueCallback
dart-sdk/lib/async/future_impl.dart 890:13                                   _propagateToListeners
dart-sdk/lib/async/future_impl.dart 666:5                                    [_completeWithValue]
dart-sdk/lib/async/future_impl.dart 736:7                                    callback
dart-sdk/lib/async/schedule_microtask.dart 40:11                             _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5                              _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:7           <fn>

I tried
flutter clean
flutter pub get
flutter run

It happens both on Production and Development.
Flutter Doctor

[✓] Flutter (Channel stable, 3.24.3, on Ubuntu 24.04.1 LTS 6.8.0-45-generic, locale en_US.UTF-8)
• Flutter version 3.24.3 on channel stable at /usr/bin/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 2663184aa7 (4 weeks ago), 2024-09-11 16:27:48 -0500
• Engine revision 36335019a8
• Dart version 3.5.3
• DevTools version 2.37.3
[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at /home/sebastian/Android/Sdk
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/to/linux-android-setup for more details.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Linux toolchain - develop for Linux desktop
• Ubuntu clang version 18.1.3 (1ubuntu1)
• cmake version 3.28.3
• ninja version 1.11.1
• pkg-config version 1.8.1
[✓] Android Studio (version 2024.1)
• Android Studio at /usr/local/android-studio
• Flutter plugin version 81.0.2
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
[✓] VS Code (version 1.93.1)
• VS Code at /usr/share/code
• Flutter extension version 3.96.0
[✓] Connected device (2 available)
• Linux (desktop) • linux  • linux-x64      • Ubuntu 24.04.1 LTS 6.8.0-45-generic
• Chrome (web)    • chrome • web-javascript • Google Chrome 128.0.6613.137
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.

Same error. Even after building from scratch, the app throws the error on web (Using Edge as the device).

I'm encountering the same issue for flutter web
restart_app: ^1.3.2
Flutter SDK: 3.24.5


Upgrade to Node20

Is there any timeline for an update to Node 20 as Node 16 is out of support since September 11th?
https://nodejs.org/en/blog/announcements/nodejs16-eol
Thanks

Thank you for opening this issue.
@joshspicer do we have any known reasons to keep the image pinned to Node 16?

No known blockers :)

@lure8225 thanks again for opening this issue.
I am afraid we have capacity to tackle it in the short term.
Would you be willing to contribute a PR (from a fork) to upgrade Node? We are more than happy to support with the review on your contribution.

Thanks for the quick reactions, sadly it might take some time until I can properly contribute (company politics/processes). If there are no known issues the change would be just to change the 16 to a 20 here:
https://github.com/devcontainers/action/blob/5002ae5962899e0fd372f7affde2c3e176372682/action.yml#L78
However there might be some things as you build the actual action from typescript that I'm not aware of as I have not looked into the build process of the action yet.
And most likely tag/release a new version (which I can't do anyway).

Should be close since it has been done with #207

In the meantime, GitHub moved on already:
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/


Change to landscape only when full screen video

Hey, my app should only be portrait, but when I use the YouTubePlayerView I want the user to able to rotate the screen. Is there anyway to fix that ? it seems like a basic thing to be able to accomplish, but searching all over the net I could not find a solution. I am using iOS 10, Xcode 8.3, Swift 3.1

Same here!

I have a great solution for this. Look at my answer in this SO question (last answer, user Eyzuky)
http://stackoverflow.com/questions/36759996/play-video-fullscreen-in-landscape-mode-when-my-entire-application-is-in-lock-i/43233462#43233462

It works like a charm. Thank you!


Inconsistent casting between XML and JSON

I just discovered some inconsistencies between XML and JSON.
When I submit the following item in a contribution (I know that 1,2,3,4 is not a valid magnitude!)
<items archetype_node_id="at0067" xsi:type="ELEMENT">
	<name>
		<value>Strand bias ratio</value>
	</name>
	<value xsi:type="DV_QUANTITY">
		<magnitude>1,2,3,4</magnitude>
		<units>1</units>
	</value>
</items>

it resulsts in the following response (Prefer: return=representation, Accept: application/json):
{
	"_type": "ELEMENT",
	"name": {
		"_type": "DV_TEXT",
		"value": "Strand bias ratio"
	},
	"value": {
		"_type": "DV_QUANTITY",
		"units": "1"
	},
	"archetype_node_id": "at0067"
}

So as a result the invalid magnitude will be removed.
But when I try to upload an equivalent representation in JSON:
{
	"archetype_node_id": "at0067",
	"_type": "ELEMENT",
	"name": {
		"_type": "DV_TEXT",
		"value": "Strand bias ratio"
	},
	"value": {
		"_type": "DV_QUANTITY",
		"magnitude": "1,2,3,4",
		"units": "1"
	}
}

I get the following error message (Error 500):
Cannot deserialize value of type `java.lang.Double` from String "1,2,3,4": not a valid Double value

I'm not sure which behaviour is intented but I think that XML and JSON should both either remove such invalid items or throw the same error message.

@nr23730 there is no 1 to 1 correspondence between the formats. I guess the differences in the validation are because the validators are different, one is against the XML schema and the other against the JSON schema, which are different and might validate different things in a different way. Also I think the JSON schema still needs some fixes.
Besides that, the API should not return 500 error in any case, not sure if that was your case, but also not sure if you were using the API or the internal code.

@ppazos The validation for the constraints should not be different between the formats as  there is only one validator being executed on the RM instances and not on the serialization format.

@Geisterfalle thought the validation was using archie and the schemas. Also, from the issue description, it is not clear what is the context of execution to get the error. Do we have any unit test checking this?


Document the semantics of overflow in arithmetic operations

Do we want a different set of operations for no overflow?

These could be functions, I don't want to overload the language with many new builtins.


Avatar icon from url

Add option to load an image from the network with an url into the avatar icon using the picasso library.
This required Internet permission in the application manifest.

This is a bad idea. It increases the library complexity with niche functionality. It increases the number of dependencies. Anyone who wants to load images from inet can do so already by extending existing classes.


[payload] shred the tmp directoy before downloading s3 objects

to: @austinbyers or @ryandeivert
cc: @airbnb/streamalert-maintainers
size: small
Background
To ensure Lambda's disk space is cleared on each invocation, let's shred the temp directory.
Changes

Shred temp
Update tests
Round for file sizes

Testing
Local, CI, and deployed in a side account

Coverage increased (+0.006%) to 97.179% when pulling 99e03788fe86233ce27c206a5c3d2f6ea7224998 on jacknagz-shred-s3-downloaded-files into 5a8e30765c2d7e6d21c2c7650334e05a6b26ca58 on master.


Unable to Open/Create New IBMi Connection

So everything was working fine.  I try to open VSCode and get the below message.  I assume something in my config got corrupted but I don't know what might have happened and now I can't create a new IBMi connection either.

Related to 1.77. I downgraded back to 1.67.2. And the connections are there again. And did not receive this message anymore

Thanks you.. I turned auto updates off as well.  1.75.1 seems to work for me.

1.8.12 is out which will solve the issue.