BlendMode ignored on MovieClip with Bitmap on HTML5 target

When I load a MovieClip with a bitmap that has, for example, BlendMode.ADD applied to it, it will display as if there was no BlendMode.
See http://<IP_ADDRESS>/AddTest/Export/html5/bin/
The cherry should be really light, but instead is completely solid. This is how Flash displays it:

If you use Shapes within the MovieClip, the BlendMode does work - just with Bitmaps it doesn't seem to.
The second cherry is a MovieClip within the addition layer, that has also BlendMode.ADD applied to it, which should display the same way.
The bottom MovieClip has BlendMode.ADD applied to the entire MovieClip (set from within openfl), which is also ignored.
I put the source here: AddTest.zip
Any ideas what might be happening?

This might be a bug in DisplayObject.hx:
				if (__blendMode == null || __blendMode == NORMAL) {
					// TODO: Handle multiple blend modes better
					__worldBlendMode = renderParent.__blendMode;
				} else {
					__worldBlendMode = __blendMode;
				}
I assume the intention is to carry the blendMode down to the leaf, in that case you will lose the __blendMode after one recursion:
DisplayObject.hx:1896:  - Blend Mode: Me=[object MovieClip], mine=add / RenderParent=[object MovieClip], theirs=normal -> result: add
DisplayObject.hx:1896:  - Blend Mode: Me=[object MovieClip], mine=normal / RenderParent=[object MovieClip], theirs=add -> result: add
DisplayObject.hx:1896:  - Blend Mode: Me=[object Bitmap], mine=normal / RenderParent=[object MovieClip], theirs=normal -> result: normal
...
Context3DBitmap.hx:40: Final blend mode = normal Bitmap = [object Bitmap]
Changing
					__worldBlendMode = renderParent.__blendMode;
to
					__worldBlendMode = renderParent.__worldBlendMode;
will take the BlendMode from the parent, and draw the child in the same BlendMode.
I'm not sure the general approach is correct, however. Wouldn't all objects at a certain nesting level need to be drawn in their correct blendMode, and then only the resulting group would need to be drawn in addition mode?
Like, for example, if you have two opaque objects overlapping each other, then it would make a difference if (1) they're both BlendMode.ADD (you could see one of the objects behind the other), or (2) they're both BlendMode.NORMAL and their parent is BlendMode.ADD (you couldn't see the second object behind the first, even through the result is "see-through").
Flash does handle that correctly, OpenFL doesn't seem to (with this quick-fix it's displayed as described in (1) - without this quick-fix BlendMode.ADD is discarded altogether, which shows up as even more wrong).

OpenFL displays both as shown in the left - without the fix here it doesn't display any of them as BlendMode.ADD.
It would be more correct to first draw all normal children elsewhere, and then draw them on increasingly bigger surfaces, applying the BlendModes as needed, until the top level, which would then be the final "surface" that is displayed. I probably explained it badly, but I hope it's good enough for folk to understand what I mean.

Thank you! That's a really good catch on __blendMode instead of __worldBlendMode, I've applied that fix to the develop branch.
Well, the difference is we would need to render to an intermediate object first in order to apply a blend mode to an entire group of objects. This occurs when you do cacheAsBitmap = true on an object. We (perhaps?) can do something similar with the LAYER mode, but its definitely a performance hit. The only other alternative would be if we somehow batched the draws into one call and removed overlapping pixels, but I don't know how practical it would be to try

Yeah, I've skimmed through the code and noticed cacheAsBitmap = true is somewhat more along the lines of what I was expecting to see. I can definitely live with setting that to true when needed - especially because usually the difference would be too subtle to justify a major performance hit.
For correctness' sake, you'd only need to do it in certain situations anyway (multiple blend modes - e.g. multiply and addition - as you go deeper, or more than one object in a different blend mode than what you deviated from NORMAL with, if they overlap). You wouldn't have to do it if there's just one object (it gets the blend mode that you set, this would cover a Bitmap within a MovieClip that's set to ADD).
Removing overlapping pixels sounds like opening another can of worms, seeing that objects might be arbitrarily complex (with alpha values and all that).
There still seems to be an issue with multiple objects (only some seem to get BlendMode.ADD, some stay at normal), but that could be something about the MovieClip too. I'll report back once I isolate this more.

Seems to be working fine. I'll let you know if I run into anything else.


feat(table): 3715-Resize-DataTable-Column

#135
Closes #
Summary
Resize data table columns
Change List (commits, features, bugs, etc)
src/components/DataTable/_data-table.scss
src/components/Table/TableHead/TableHead.jsx
Acceptance Test (how to verify the PR)

tests here

My Carbon PR has been merged, although the release candidate for v10.9.0 has already been released, so I would expect the change to be in v10.9.1, probably in early January.

@davidicus discussed approach (https://codesandbox.io/s/nk731pvyr4) is implemented. Please review changes.  we have also added a comment on line 170, need your suggestion on this as well.

@tay1orjones  @davidicus How come the branches are not deployed?  I'd like to actually interact with this before formally approving it.  What needs to happen to get branches deployed?

@tay1orjones @davidicus How come the branches are not deployed? I'd like to actually interact with this before formally approving it. What needs to happen to get branches deployed?

@stuckless this is draft branch created for early code review before finalizing and this PR change is dependent on Carbon change which is done by Taylor (add ref for ), before this change merged into IOT we can't test and deliver our changes.  So Taylor suggested to add Carbon file (TableHeader.js)  in IOT with ref changes, so that we will not blocked, also he suggested to add this file in IOT with one defect for refactoring the same latar.
We also identified more changes in TableHeader.js and did locally and committed in this branch for early review and this additional change need to be push in Carbon (Requested David for this ).
We also need to check latest IOT branch have updated Taylor carbon change or not.

When clicking on the resize edge, which gives me the resize mouse pointer, it also triggers a change in the sorting for that column.

@stuckless

@tay1orjones @davidicus How come the branches are not deployed? I'd like to actually interact with this before formally approving it. What needs to happen to get branches deployed?

There is currently a reference to a file that  is not present that is breaking this build. @sunilkotiyaibm you can just copy that small object that TableHeader.js is referencing and place in the TableHeader.js file. This will allow for us to view this in the deploy preview as well as let us merge this in if we decide to not wait on the Carbon PR.
There are some issues still in the implementation that would have to be addressed before we could merge as well, like resizing causing a change in the sort.

There are some misalignments happening with the placement of resize bar as seen below. This discrepancy in placement is only shown when you happen to hover over the misplaced handle. For the header it is on it seems as if you can not resize the cell.

@davidicus we are getting (yarn jest -u) unit test failure, It seems this is because of carbon TableHeader.js file and not getting any clue to fix this. Please suggest on this, we are not able to commit in new branch.
FAIL  src/components/StorybookSnapshots.test.js (85.374s)
● Storybook Snapshot tests and console checks › Storyshots › Watson IoT|Dashboard › basic dashboard
Failed: "Warning: Failed prop type: Invalid prop `sortDirection` of value `` supplied to `TableHead__StyledCustomTableHeader`, expected one of [\"NONE\",\"DESC\",\"ASC\"].
    in TableHead__StyledCustomTableHeader (created by TableHead)

There are some misalignments happening with the placement of resize bar as seen below. This discrepancy in placement is only shown when you happen to hover over the misplaced handle. For the header it is on it seems as if you can not resize the cell.

@davidicus we have fixed this issue locally.

When clicking on the resize edge, which gives me the resize mouse pointer, it also triggers a change in the sorting for that column.

@davidicus we have fixed this sorting issue locally.


Why not using GitHub Releases?

Hello @Koenkk,
i recently bought a "SONOFF Zigbee 3.0 USB Dongle Plus" and flashed the "20210708" firmware.
To possibly get back to the pre-flashed firmware, i wanted to download the "20210120" firmware and then i see that you are not using the GitHub Releases Feature on this project.
Why you not using it? Yes, older firmware versions can downloaded by search in the Git History but using the GitHub Releases Feature is easier to use.
It would be good if you could use this feature and make the older versions available later on.

Good idea, will do this for new releases!

Why only(?) for new releases?

For older releases, you can download them like the method you described.


Content - Screenreader component

Summary: Documentation of component guidance in EN for the Screenreader component on the Design System website.
Including use cases, how to use guidance, accessibility guidelines and more.
Acceptance Criteria:

[x] Component Kickoff
[x] Component review
[x] Sync with Dev and Design
[x] Research and consulting other design libraries
[x] Component ID (name, definition, example image
[x] Use case (when to use guidance & related components)
[x] How to use guidance
[x] Accessibility guidelines
[x] Inclusive language
[ ] Descriptive text for images
[ ] Translation & Localization
[ ] Bilingual review – content design
[ ] Ensure consistency: ordering, terminology, high level voice/tone/style
[ ] Final review

Draft document

Did first pass of content. Added some suggestions and questions.

Did initial review of screenreader documentation
Follow up with @ethanWallace booked for 7-Feb-2023

Bringing the name to content critique this afternoon to help decide if it should be written: screen reader only, screenreader only, screen reader-only, or screenreader-only – Right now it's the only English component with more than 2 words in the name (besides theme and topic menu: we had no control over the name)

Rewrote the first guidance section and added some things

Updated the definition
There's a section in the code and accessibility area on how the component can help read the right language I asked @ethanWallace to look at

The preview image and anatomy (if we decide to have one) could benefit from some visual design attention

@EliseKa Ready for translation

Here's the translation for the screenreader-only component.

@adorayi @SmartMouthWords I started working on adding the guidance for the screenreader-only component. We are currently still missing these design/content/translation pieces before the guidance can be published:

Preview image + alt text
French translation for component preview: “Text only seen by assistive technologies”
Matching Figma component that we can link to
Anatomy
Anatomy image + alt text
The current translation doc uses “Structure” as the heading for the anatomy section. We normally add the name of the component to the heading as well which would be “Screenreader-only anatomy” in this case. We need “Screenreader-only anatomy” translated.

Here is the PR for adding the guidance

Idea for what the preview image could look like:

@SmartMouthWords  to review the list, what's missing (alt text for anatomy, preview image text)

@SmartMouthWords updated the list - let me know if I missed something and we already got some translations back :)


python3Packages.cocotb: fix build

Description of changes
I removed the test as it currently fails on master and is removed upstream in the as-yet-unreleased next version. See https://github.com/cocotb/cocotb/commit/425e1edb8e7133f4a891f2f87552aa2748cd8d2c (https://github.com/cocotb/cocotb/pull/3455).
The test that fails looks like this:
Traceback (most recent call last):
  File "/build/source/tests/test_cases/test_cocotb/test_deprecated.py", line 39, in test_unicode_handle_assignment_deprecated
    dut.stream_in_string.value = "Bad idea"
    ^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/yvcizx3fwkm044jpw9sfpnb0kx0g2bfl-python3.11-cocotb-1.8.1/lib/python3.11/site-packages/cocotb/handle.py", line 370, in __getattr__
    raise AttributeError(f"{self._name} contains no object named {name}")
AttributeError: sample_module contains no object named stream_in_string

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/build/source/tests/test_cases/test_cocotb/test_deprecated.py", line 38, in test_unicode_handle_assignment_deprecated
    with pytest.warns(DeprecationWarning, match=".*bytes.*"):
  File "/nix/store/5ipi1f14ji1nrvqnf8h8fqvr0zny183d-python3.11-pytest-8.0.2/lib/python3.11/site-packages/_pytest/recwarn.py", line 332, in __exit__
    fail(
  File "/nix/store/5ipi1f14ji1nrvqnf8h8fqvr0zny183d-python3.11-pytest-8.0.2/lib/python3.11/site-packages/_pytest/outcomes.py", line 188, in fail
    raise Failed(msg=reason, pytrace=pytrace)
Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>,) were emitted.
 Emitted warnings: [].

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@ofborg build python311Packages.cocotb python311Packages.cocotb.passthru.tests


Better solution for rolling updates of container cluster

This is our version of https://github.com/hashicorp/terraform/issues/1552.
The better solution here may be container instances, when and if available, at which point we're not managing a group of instances at all.

I feel like we've gotten by with native ECS, EKS, etc. behavior here. Please do reopen with more details on what specifically we need to do here, if that's not adequate.
/cc @lukehoban @pgavlin


Fixing package path in tflite test

Issue #3425

@tqchen @kevinthesun Please add reviewers. Thanks!

Currently TVM docker image uses tensorflow 1.13.1 and it can work fine with tvm.contrib.lite module
tensorflow 1.14 was released 6 days ago and it does not have lite under tvm.contrib
We should also change tensorflow version to 1.14 in tflite schema (both in tests and in tutorial) ubuntu_install_tflite.sh and from_tflite.py

@apivovarov The new commit should suffix for both tf.contrib.lite and tf.lite

@apivovarov The new commit should suffice for both tf.contrib.lite and tf.lite

Thanks, @wangshangsam @apivovarov , this PR is now merged


Provide a input component of type of CRON

This should allow to entrer a CRON pattern that could be validated using a regexp

Use a KTextField with a pattern, see https://github.com/MediaMath/lambda-cron/blob/master/lambda_cron/schema.json


Got two questions

Is the data some how encrypted (it doesnt seem so and if it is there are no custom encryption keys?)
Is there some sort of verification if a stub is real so no one can fabricate fake entries and flood your panel

No (other than SSL encryption if you use https) since that would cost a lot of performance, especially for those with over 100 000 miners. And there isn't really any private data anyways that you can't otherwise retrieve through sniffing the traffic.
No that wouldn't really be possible to do, you can never really truly verify a client since they can always just forge it (if they have your miner then they can just sniff the traffic to replicate it no matter what verification you have).

Ur absolutely right about i never thought about it in that way
Ur absolutely right here too but there could be some sort of a password type thing that could compare the pass from the miner and the pass from the panel and deny any miner that has a different one but that would be pretty much useless since u could extract the config (or sniff data like u said) containing that pass and just using it (could also effect performance and could cause problems with remote config)

Sorry for the Issues flood

No it's good, they are reasonable questions.


[qpg] Added test event delegate for fault injection

Change overview
This PR

adds GenericFaultTestEventTriggerDelegate to inject faults for SVE testing(i.e. DGGEN-2.2) to lighting app of qpg platform.
adds fault and device lifetime related updated in ConfigurationManager and DiagnosticDataProvider implementation for qpg platform
adds device lifetime counters to storage (QPGConfig) for qpg platform

@nikita-s-wrk - need an issue on this one, linter will complain without it.

Accepted for 1.0: mostly platform change. 2 files added to core, but they seem to be in a sane location and only added for qpg at this time (but wondering if others will start needing those too)

@nikita-s-wrk - this seems to overlap with #22695 which includes tests and fixes some spec compilance.


Trending section breaks if longer tip amount

As the currency is replaced with its symbol the long amount is not breaking the line in Trendings anymore. #465


orbiton: 2.62.7 -> 2.63.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/xyproto/orbiton/releases.
meta.description for orbiton is: Config-free text editor and IDE limited to VT100
meta.homepage for orbiton is: https://github.com/xyproto/orbiton
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.63.1 with grep in /nix/store/2j3rfw77zk69j8fi5as9d56gmmsr3nca-orbiton-2.63.1
found 2.63.1 in filename of file in /nix/store/2j3rfw77zk69j8fi5as9d56gmmsr3nca-orbiton-2.63.1

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
orbiton

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2j3rfw77zk69j8fi5as9d56gmmsr3nca-orbiton-2.63.1 \
  --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 orbiton https://github.com/r-ryantm/nixpkgs/archive/6609ac2b2f1e0fa494e0593d1620d2ef4feaee82.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/2j3rfw77zk69j8fi5as9d56gmmsr3nca-orbiton-2.63.1
ls -la /nix/store/2j3rfw77zk69j8fi5as9d56gmmsr3nca-orbiton-2.63.1/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

1 package built:

orbiton

Maintainer pings
cc @sikmir for testing.

Result of nixpkgs-review pr 249448 run on x86_64-darwin 1

1 package built:

orbiton


[21.05] Backport request for patchelf 0.13

Describe the bug
I'm currently cross-compiling software for PowerPC64 using nixpkgs' nixos-21.05 branch for stability reason. Currently patchelf fails to shrink the rpath of executable and libraries for ppc64, but that was fixed with NixOS/patchelf#269. Since this makes program and libraries unusable without setting the proper $LD_LIBRARY_PATH, I thought it would be acceptable to request a backport for the 21.05 branch.
Steps To Reproduce
Steps to reproduce the behavior:

Using this flake:

{
  description = "A very basic flake";

  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-21.05";

  outputs = { self, nixpkgs }: {
    defaultPackage.x86_64-linux =
      let
        pkgs = import nixpkgs {
          localSystem.config = "x86_64-linux";
          crossSystem = {
            config = "powerpc64-unknown-linux-gnueabihf";
            gcc = {
              cpu = "e6500";
            };
          };
          config.allowUnsupportedSystem = true;
        };
      in pkgs.hello;
  };
}

Compile with nix build -L Warning: this builds gcc
Observe empty rpath with readelf -d ./result/bin/hello.

Expected behavior
The rpath of binaries is properly set for all architectures.
Notify maintainers
@edolstra
Metadata

system: "x86_64-linux"
host os: Linux 5.10.70, NixOS, 21.05.20211019.8fe3b97 (Okapi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.4pre20211006_53e4794
channels(root): "nixos-21.05.3532.aff647e2704"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

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

Look like the backport happened (above). Closing.


Target minimal TFMs

:shipit: because I assume that as long as these compile, the TFMs don't matter at all.

Looks like you removed some of the imports. Will that work with CoreCLR packages that do not have netstandard?

@muratg - yeah all of those were shared src projects, so they weren't compiling to begin with. @davidfowl had a suggestion for us to create an additional project here that verified here if you could actually build it in the netstandard1.0 tfm. I'll work on that as part of this change.

I think we don't need the project I suggested in my earlier comment. This should be good as is.

:shipit:


Colab does not work

It shows this error in last cell. Also installing basicsr does not work.
/usr/local/lib/python3.10/dist-packages/torchvision/transforms/functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be removed in 0.17. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional.
warnings.warn(
Traceback (most recent call last):
File "/content/Lip_Wise_GFPGAN/launch.py", line 7, in
import infer
File "/content/Lip_Wise_GFPGAN/infer.py", line 19, in
import file_check
File "/content/Lip_Wise_GFPGAN/file_check.py", line 6, in
import archs
File "/content/Lip_Wise_GFPGAN/archs/init.py", line 16, in
_arch_modules = [importlib.import_module(f'basicsr.archs.{file_name}') for file_name in arch_filenames]
File "/content/Lip_Wise_GFPGAN/archs/init.py", line 16, in
_arch_modules = [importlib.import_module(f'basicsr.archs.{file_name}') for file_name in arch_filenames]
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named 'basicsr.archs.vqgan_arch'

Whoops! My mistake - I linked the older version. Please use this updated link instead. 😅


Fix typo

I think v-if in this context should be v-for.

There are some same pull requests, so I'll close this.


pointSize styling doesn't work for gltf using EXT_mesh_features and EXT_structural_metadata

What happened?
pointSize styling doesn't work for gltf using EXT_mesh_features and EXT_structural_metadata
Reproduction steps

...
Sandcastle example
No response
Environment
Browser:
CesiumJS Version: 1.124
Operating System:

This was also posted in https://github.com/CesiumGS/3d-tiles/issues/784
There currently is no dedicated Sandcastle to reproduce that specific issue. Purely based on the description, it might be a duplicate of https://github.com/CesiumGS/cesium/issues/11758 , which in turn, is only a special case of the 🔴-entries of   https://github.com/CesiumGS/cesium/issues/10480


FancyZones Setting for automatically filling zones

Summary: FancyZones autofilling
Idea-Feature / Feature request
When enabled, new windows (that are not ignored) snap to the next empty fancy zone.  This would allow users to quick populate layouts with high zone counts.

Hi @tLJack
your proposal fits well in a tile-oriented WM https://github.com/microsoft/PowerToys/issues/2694
Implementing it for the current FZ paradigm would be an half-baked feature.
Closing as duplicate of https://github.com/microsoft/PowerToys/issues/2694
Thanks.


Add support for Julia 1.4.0

New version came out a while ago.

Thanks :)
It is nice to see how easy it is to add a new version.

There is actually a hosted JSON file somewhere now that has all the versions that exist listed, so in theory we could even change this code so that it just looks at that file and uses the list from that file... But right now just adding these new versions here is a lot less work :)


[ALLUXIO-2220] Support multiple workers in test cluster

https://alluxio.atlassian.net/browse/ALLUXIO-2220
Overview:

Change LocalAlluxioClusterResource to use a Map<PropertyKey, String> for configuration instead of Lists of keys and values.
Configure test cluster worker memory size and buffer size the same way as any other configuration properties.
Replace WorkerIdRegistry with a per-worker AtomicReference<Long>.
Dependency inject Alluxio workers into REST service handlers.
Use builder pattern for constructing LocalAlluxioClusterResources.
Add integration test which uses multiple workers.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/11311/Failed Tests: 1org.alluxio:alluxio-tests: 1alluxio.shell.command.PinCommandTest.setPin
Test FAILed.

Merged build finished. Test FAILed.

Merged build finished. Test PASSed.

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

Thanks for the review @calvinjia. I've addressed all comments, PTAL

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

Merged build finished. Test PASSed.

LGTM


📎 Remove unused dependencies

Description
Boshen created cargo-shear to remove unused dependencies, and he used in our repository as a test.
Does anyone want to use it and commit the changes?
https://twitter.com/boshen_c/status/1770106165923586395

can I work on this?

@Kenzo-Wada all yours!

@ematipico
Thank You!!


Update ?

Hey ! Thanks for the implementation ! Very nice work. However, I had some troubles in Unity when exporting,  in particular with the hierarchy. I wrote some further lines as a patch here.
Thanks !

Hi, what kind of troubles you have? I don't like idea of mixing def and org bones in hierarchy. And prefer to export deform bones only

@AlexLemminG I think it does not show the "Prepare rig for unity" button for 2.8.1. Would it be a easy fix if I want to use it?


[76] Fix package filename (master)

Missed this in #75

I think we're good to go now.  please #.

#'d


Document "write wrong digits" noise

Add description of "write wrong digits" noise type

Description

Category:  documentation
JIRA issue:

Testing

Built docs locally

@zmbc It would be good to get your review on this to make sure we're doing things consistently for the noise functions.


Spotify seems to sometimes not find song despite identically artist and track name

Despite the song being on spotify the API call returns an empty tracks array. This causes #5
Example:

Song: https://www.last.fm/music/Tom+Rosenthal/_/Don't+You+Know+How+Busy+And+Important+I+Am%3F
Track name from lastfm: "Don't You Know How Busy And Important I Am?" - identically with spotify
Artist name from lastfm: "Tom Rosenthal" - also identically with spotify
Result:

Object { tracks: {…} }

tracks: Object { href: "https://api.spotify.com/v1/search?query=track%3ADon%27t+You+…&locale=de%2Cen-US%3Bq%3D0.7%2Cen%3Bq%3D0.3&offset=0&limit=5", limit: 5, offset: 0, … }

href: "https://api.spotify.com/v1/search?query=track%3ADon%27t+You+…&locale=de%2Cen-US%3Bq%3D0.7%2Cen%3Bq%3D0.3&offset=0&limit=5"

items: Array []

length: 0

<prototype>: Array []

limit: 5

next: null

offset: 0

previous: null

total: 0

<prototype>: Object { … }

<prototype>: Object { … }
CreatePlaylist.svelte:79:20

More tracks:
Eskimo Callboy - Hypa Hypa
Queen - Don't Stop Me Now - Remastered 2011
Enter Shikari - { The Dreamer’s Hotel }
3OH!3 - Don't Trust Me

Enter Shikari - { The Dreamer’s Hotel } still does not work after apostrophe fix, maybe removing {} is still needed


Ability to nest a form field inside the label of a checkbox or radio button

Results of a conversation on this issue follow below:
Following up a conversation on Slack, I would like to request the ability to design nested controls as such:

At CloudHealth, we have a lot of form controls following this format, often having to select an option and provide 1 or 2 settings for that option. We are currently converting our platform to Clarity and encountering a lot of those patterns. Some definitely need rethinking the page/form, but in many cases it makes sense UX wise.
I was hoping that the current components would let us do something like this, but each attempt had one small thing preventing it. I’ve been trying all sorts of combinations using helper components such as CdsInputGroup and CdsControl but so far haven’t been able to make the input even just show up at all.
In a nutshell, to produce the mock above, that third row cannot be a CdsControl because that will only let me use 1 control (vs. 2: checkbox + input), and it cannot be a CdsInputGroup (which lets me have more than 1 control) because the CdsCheckboxGroup only fills slots with cds-control elements while the CdsInputGroup is a cds-control-group).
Would you be open to consider this in Clarity Core?
Originally posted by @astorije in https://github.com/vmware/clarity/discussions/5879
===
Of interest here is that the primary reason this is not viable right now is that the checkbox group orientation is being forced on the input inside the label. It's hard to gauge the difficulty of preventing the group from doing that. But that is the reason this won't work today.

Here is a rough workaround, you can specify the slot on the input and use margins to align it. Its not a great solution but would work until we make a supported API https://stackblitz.com/edit/typescript-1puhwe?file=index.html

This should be easier to implement as a patten once i get https://github.com/vmware/clarity/issues/6053 merged. Have an example from a11y we can reference


linux file handling

For locking using fcntl, refer to https://github.com/hyunsik-yoon/study/issues/148#issuecomment-1501189095

int fd 류의 file handling

open()
read() - Reads data from a file.
write() - Writes data to a file.
lseek() - Changes the current read/write position in a file.
close() - Closes an opened file.
fcntl() - Changes properties of an opened file, such as locking or non-blocking mode.
mmap() - Maps the contents of a file into memory, allowing for efficient read/write operations.

FILE * 류의 file handling

fopen()
fgetc() and fgets() for reading from a file.
fputc() and fputs() for writing to a file.
fprintf() and fscanf() for formatted input/output operations.
fread() and fwrite() for reading and writing data in blocks.
fseek() and ftell() for positioning within a file.
fclose() for closing a file.


Add please config.json documentation. So what 'platforms' are?

Can we add simple docs for config.json and to readme and website
and comments in config sample?
What the format of accessories and platforms?
Currently I don't understand what 'platforms' are?
Plugins are not have any docs usually, too :(

okay...
https://github.com/nfarina/homebridge#writing-plugins


[type: refactor] refactor pom

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #4132 (e3dd3a0) into master (1f0febf) will decrease coverage by 0.66%.
The diff coverage is 52.38%.

@@             Coverage Diff              @@
##             master    #4132      +/-   ##
============================================
- Coverage     70.56%   69.89%   -0.67%
+ Complexity     6954     6892      -62
============================================
  Files           944      944
  Lines         25957    25961       +4
  Branches       2333     2335       +2
============================================
- Hits          18316    18146     -170
- Misses         6227     6389     +162
- Partials       1414     1426      +12

Impacted Files
Coverage Δ

...admin/listener/zookeeper/HttpServiceDiscovery.java
12.90% <0.00%> (-77.42%)
:arrow_down:

...he/shenyu/plugin/base/RpcParamTransformPlugin.java
84.21% <ø> (ø)

...apache/shenyu/plugin/base/cache/MetaDataCache.java
0.00% <ø> (ø)

...in/base/condition/judge/ExcludePredicateJudge.java
50.00% <ø> (ø)

...ugin/base/condition/judge/MatchPredicateJudge.java
100.00% <ø> (ø)

...ase/condition/judge/PathPatternPredicateJudge.java
50.00% <ø> (ø)

...e/shenyu/plugin/base/utils/HttpParamConverter.java
83.33% <ø> (ø)

...pache/shenyu/plugin/base/utils/PathMatchUtils.java
83.33% <ø> (ø)

...lugin/param/mapping/strategy/FormDataOperator.java
11.32% <0.00%> (-0.45%)
:arrow_down:

...rg/apache/shenyu/plugin/rewrite/RewritePlugin.java
66.66% <ø> (-5.56%)
:arrow_down:

... and 53 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


size_of_scalar test fails in main branch

Describe the bug
size_of_scalar test fails in the main branch.
assert_eq!(std::mem::size_of::<ScalarValue>(), 48);

the result is 64. I am not sure which should be the case.
To Reproduce
No response
Expected behavior
No response
Additional context
No response

This doesn't happen for me. How can we reproduce is?
https://github.com/apache/arrow-datafusion/blob/01d7dbaf392b4a217e1a27c96bbcd1126b763828/datafusion/common/src/scalar.rs#L4637-L4646
Maybe it is related to architecture?

This doesn't happen for me. How can we reproduce it?
https://github.com/apache/arrow-datafusion/blob/01d7dbaf392b4a217e1a27c96bbcd1126b763828/datafusion/common/src/scalar.rs#L4637-L4646
Maybe it is related to architecture?

It seems so, also in CI there is no problem. I use Macbook M1-Ventura 13.3.1

I will do so, thanks @alamb .


[coverity] Fix memleak and use-after-free issues in service_model* APIs

Fix use-after-free of GError.
Add ml_option_destroy to fix memleak

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #267. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.

https://github.com/nnstreamer/api/pull/268 handle the coverity issue, closing this PR.


[BUG] The volume needs at least 6 minutes to automatically recover after a host failure

Describe the bug (🐛 if you encounter this issue)
Deploy an application in a cluster consisting of three nodes and run it. And I forced shut down the node running the application and deleted the pod.
At this point, the Longhorn volume is in an attached and unknown state. While recreating the Pod in Kubernetes, you may need to wait for the Longhorn volume to recover to a Healthy or Degraded state, which could take more than 6 minutes.
To Reproduce
Steps to reproduce the behavior:

Create a deployment application with one replica.
Force shutdown of the node where the container is running.
Delete the pod when the node is not ready.
The pod is still in creating state until the volume is healthy or degraded, this takes more than 6 minutes.

Expected behavior
Except to use less time to restore the volume state.
Log or Support bundle
longhorn-support-bundle_0654c6f1-8452-4cbf-becc-531c7a01703a_2023-06-07T03-17-55Z.zip
Environment

Longhorn version: v1.4.2
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): Harvester iso
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: RKE2 v1.24.11+rke2r1

Number of management node in the cluster: 3
Number of worker node in the cluster:

Node config

OS type and version: SUSE Linux Enterprise Micro for Rancher 5.3
CPU per node: 16c
Memory per node: 24Gi
Disk type(e.g. SSD/NVMe): NVME
Network bandwidth between the nodes:

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal):
Number of Longhorn volumes in the cluster:

Additional context
After investigation, we found that Kubernetes Controller-Manager must wait 6 minutes to delete the unavailable node VolumeAttachment and create a new node VolumeAttachment.
Only after CSI detects the new VolumeAttachment will it request the longhorn Volume, fix the status, and remount it to the node where the Pod is located.
https://github.com/kubernetes/kubernetes/blob/da1f52034eb3c405de1ca2dc0e1a6163e8a48f4f/pkg/controller/volume/attachdetach/reconciler/reconciler.go#L216-L293
workaround
Delete VolumeAttachment before recreating Pod, and it can restore running within 1 minute.
cc @guangbochen

https://github.com/longhorn/longhorn/issues/4384
cc @PhanLe1010


How use ng-repeat into carousel-item before item rendered

<ui-carousel
   slides="steps"
   slides-to-show="1"
   slides-to-scroll="1"
   autoplay="false"
   autoplay-speed="2000"
   on-after-change="singleAfterWelcome(currentSlide)"
   dots="false">
       <carousel-item>

                      {{ item.collection_category}}

                         {{category.title}}

   </carousel-item>
</ui-carousel>

Ng-repeat is not working this way into <carousel-item> tag:

    {{i}}

got the same issue :(

+1

pre processing is solution i think

+1

@Assdi how can i do this?

pre-processing in controller I did e.g if u want to do this
`
{{i}}
`
then make a string of this in controller like this
`var str='';
array=[1,2,3,4];
array.foreach(function(ele){
str+=' '+ele;
});`
And this push this str into slides object which is step in above case
@stoque

+1


fix head show incorrectly issue

if the root view contains an EditView, when we hide keyboard, the recyclerview scroll automatically while the head do not move

Library deprecated. No new development will be taking place.


Refactor tracing to work as how the service expects it to work.

Hello this corrects issues with the tracing plugin and makes the traces show in the invocation information.
This break compatibility but tracing should be better overall.

Actually one more thing needs to be done real quick.

Okay this should be good now.


Liquid fuel production to EU oil store is used as negative emission option if C-storage is too low

Add restriction that the EU oil store must be equal to the EU oil usage summed up over the whole year

Went through plus/minus signs for co2 flows etc.
0fb8b3c86f554384eafe9a5398dfa7f54a2285e2
f3e988ceaa601a88f4674e67f527c4e14cf64ebe


[DOCS] Create multiple sidebars struture

Fixes #398

Description

This pull request creates separate sidebars for each conda-store project and one for community docs:
https://github.com/conda-incubator/conda-store/assets/33131404/c0cdaf24-9262-4076-a521-b0fb39cf1651
Pull request checklist

[x] Did you test this change locally?
[x] Did you update the documentation (if required)?
[ ] Did you add/update relevant tests for this change (if required)?

Additional information

I've opened https://github.com/conda-incubator/conda-store/issues/561 to track the docs pages to create :)


Fix logLevel check in chart

Q
A

Bug fix?
[x]

New feature?
[]

API breaks?
[]

Deprecations?
[]

Related tickets
fixes #X, partially #Y, mentioned in #Z

License
Apache 2.0

Checked with e2e tests https://github.com/AKamyshnikova/casskop/actions/runs/9226953689


Consider adding Spring Boot 2 support

Relates to https://github.com/spring-projects/spring-boot/issues/13510
We are reviewing our community starters list and a quick look here suggests that this starter doesn’t yet support Spring Boot 2.
Can you please let us know if/when you plan to support Spring Boot 2?
Thanks!

Hi Stephane,
The update has been completed, version 2.0.0 has been released with Spring Boot 2 support.

Sweet, thanks!


AddressLine1 picks different address

When I select the correct address from input, the field AddressLine1 picks another address. How to stop this?

Hi @javkhlant! Look at this ticket #69. It must help you.


It doesn't compile anymore: ptr Seq is not a concrete type

I confirm the issue with nim-0.10.2.
Compilation fails with the following error:
$HOME/.nimble/pkgs/opencv-0.1.0/opencv/core.nim(1183, 33) Error: ')' expected

so it won't work with latest version?

Compiling tests/camera.nim works perfectly fine for me on 0.12.1


crateInvoice dosen't exit

call to undefined method Greenter\Xml\Builder\InvoiceBuilder::crateInvoice()
my head use Greenter\Xml\Builder\InvoiceBuilder;

sorry, that function dosn't exist, is an example.
You need to create a new Invoice and fill its properties.
Full Example


Detections/SigninLogs/AuthenticationAttemptFromNewCountry.yaml False Positives

Describe the bug
The analytic rule "Authentication Attempt From New Country" is producing false positives when the location details are not present. There appears to be null handling but it is not catching these instances.
To Reproduce
Steps to reproduce the behavior:

Install Authentication Attempt From New Country
Click on Edit Rule
Go To set rule logic
Go to View query results
Results populate with empty location details

Expected behavior
Only attempts from another country are displayed
Desktop (please complete the following information):

OS: Windows 10
Browser Chrome
Version 123.0.6312.86

Hi @jwhitehillCGI, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates by 08-04-2024. Thanks!

Hi @jwhitehillCGI, We need details from your end on below query's :-

Could you please confirm which run

Hi @jwhitehillCGI, We need more context about this issue from your end:

Could you please share the result (false positive) screenshot with us which you are having for null locations and if possible, please share the result data with us in CSV format (you can share the data to this mail id's: -<EMAIL_ADDRESS>/ v-rusraut@microsoft.com), so we can repro the same.
We run the same query in our workspace which work fine, without any false result.
Based on the initial analysis added check in rule, Please run the below query in workspace and let us know if still same issue persist.

let CombinedSignInLogs = union isfuzzy=True AADNonInteractiveUserSignInLogs, SigninLogs;
  // Combine AADNonInteractiveUserSignInLogs and SigninLogs into a single table
  // Fetch Azure IP address ranges data from a JSON file hosted on GitHub
  let AzureRanges = externaldata(changeNumber: string, cloud: string, values: dynamic)
  ["https://raw.githubusercontent.com/microsoft/mstic/master/PublicFeeds/MSFTIPRanges/ServiceTags_Public.json"] with(format='multijson')
  // Load Azure IP address ranges from the JSON file hosted on GitHub
  | mv-expand values
  // Expand the values column into separate rows
  | extend Name = values.name, AddressPrefixes = tostring(values.properties.addressPrefixes);
  // Create additional columns for the name and address prefixes
  // Identify known locations to be excluded from analysis
  let ExcludedKnownLocations = CombinedSignInLogs
  // Filter the combined logs based on the specified time range
  | where TimeGenerated between (ago(14d)..ago(1d))
  // Filter by specific ResultType
  | where ResultType == 0
  // Summarize the logs by location
  | summarize by Location;
  // Find sign-in locations matching specific criteria
  let MatchedLocations = materialize(CombinedSignInLogs
  // Filter the combined logs based on the specified time range
  | where TimeGenerated > ago(1d)
  // Exclude specific ResultTypes
  | where ResultType !in (50126, 50053, 50074, 70044)
  // Exclude known locations
  | where Location !in (ExcludedKnownLocations));
  // Match IP addresses of matched locations with Azure IP address ranges
  let MatchedIPs = MatchedLocations
  // Use the 'ipv4_lookup' function to match IP addresses with Azure IP address ranges
  | evaluate ipv4_lookup(AzureRanges, IPAddress, AddressPrefixes)
  // Project only the IPAddress column
  | project IPAddress;
  // Exclude IP addresses that are already matched with Azure IP address ranges
  let MaxSetSize = 5; // Set the maximum size limit for make_set
  let ExcludedIPs = MatchedLocations
  // Filter out IP addresses that are already matched
  | where not (IPAddress in (MatchedIPs))
  // Exclude empty or null Location values
  | where isnotempty(Location)
  // Handle dynamic and string column values for LocationDetails and DeviceDetail
  | extend LocationDetails_dynamic = column_ifexists("LocationDetails_dynamic", "")
  | extend DeviceDetail_dynamic = column_ifexists("DeviceDetail_dynamic", "")
  | extend LocationDetails = iif(isnotempty(LocationDetails_dynamic), LocationDetails_dynamic, parse_json(LocationDetails_string))
  | extend DeviceDetail = iif(isnotempty(DeviceDetail_dynamic), DeviceDetail_dynamic, parse_json(DeviceDetail_string))
  // Extract location details (city and state)
  | extend City = tostring(LocationDetails.city)
  | extend State = tostring(LocationDetails.state)
  // Added check
  | where isnotempty(City) and isnotempty(State)
  | extend Place = strcat(City, " - ", State)
  | extend DeviceId = tostring(DeviceDetail.deviceId)
  | extend Result = strcat(tostring(ResultType), " - ", ResultDescription)
  // Summarize the data based on UserPrincipalName, Location, and Category
  | summarize FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated),
  make_set(Result, MaxSetSize), make_set(IPAddress, MaxSetSize),
  make_set(UserAgent, MaxSetSize), make_set(Place, MaxSetSize),
  make_set(DeviceId, MaxSetSize) by UserPrincipalName, Location, Category
  // Extract the username prefix and suffix from UserPrincipalName
  | extend Name = tostring(split(UserPrincipalName,'@',0)[0]), UPNSuffix = tostring(split(UserPrincipalName,'@',1)[0]);
  ExcludedIPs // Output the final result set
  | extend IP = set_IPAddress[0]

Thanks!

Hi @jwhitehillCGI, Gentle Reminder: We are waiting for your response on this issue. If you still need to keep this issue active, please respond to it in the next 2 days. If we don't receive a response by 15-04-2024 date, we will be closing this issue.
Thanks!

Hi @jwhitehillCGI, since we have not received a response in the last 5 days, we are closing your issue as per our standard operating procedures. If you still need support for this issue, feel free to re-open at any time. Thank you for your co-operation.


Correcting definition of AlignedByteOffset

It's the offset from the start of the vertex not the offset between each element.

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

Looks good, thank you!


Raise exception if a playbook fails execution - 2

A user can supress the exception by setting ignore_errors
Fixed tests where the playbook was failing during execution
Added tests for ignore_errors

Replaces #123

@benthomasson Please review

Waiting till we resolve https://issues.redhat.com/browse/AAP-5126


is can support NSLayoutConstraint identifier?

We already have issue #27 to discuss this. It is on the list, but not high priority.


【Flutter】-3.3.10版本集成失败

Launching lib/main.dart on HEY W09 in debug mode...
Running Gradle task 'assembleDebug'...
../../../../../.pub-cache/hosted/pub.flutter-io.cn/dokit-0.8.2-nullsafety.10/lib/engine/dokit_http.dart:26:7: Error: The non-abstract class 'DoKitHttpClient' is missing implementations for these members:

HttpClient.connectionFactory=
HttpClient.keyLog=
Try to either
provide an implementation,
inherit an implementation from a superclass or mixin,
mark the class as abstract, or
provide a 'noSuchMethod' implementation.

class DoKitHttpClient implements HttpClient {
^^^^^^^^^^^^^^^
org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:1430:12: Context: 'HttpClient.connectionFactory=' is defined here.
void set connectionFactory(
^^^^^^^^^^^^^^^^^
org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:1580:12: Context: 'HttpClient.keyLog=' is defined here.
void set keyLog(Function(String line)? callback);
^^^^^^
../../../../../.pub-cache/hosted/pub.flutter-io.cn/dokit-0.8.2-nullsafety.10/lib/kit/apm/crash_kit.dart:156:28: Error: The method 'FlatButton' isn't defined for the class 'LogPageState'.

'LogPageState' is from 'package:dokit/kit/apm/crash_kit.dart' ('../../../../../.pub-cache/hosted/pub.flutter-io.cn/dokit-0.8.2-nullsafety.10/lib/kit/apm/crash_kit.dart').
Try correcting the name to the name of an existing method, or defining a method named 'FlatButton'.
child: FlatButton(
^^^^^^^^^^
../../../../../.pub-cache/hosted/pub.flutter-io.cn/dokit-0.8.2-nullsafety.10/lib/kit/apm/crash_kit.dart:176:28: Error: The method 'FlatButton' isn't defined for the class 'LogPageState'.
'LogPageState' is from 'package:dokit/kit/apm/crash_kit.dart' ('../../../../../.pub-cache/hosted/pub.flutter-io.cn/dokit-0.8.2-nullsafety.10/lib/kit/apm/crash_kit.dart').
Try correcting the name to the name of an existing method, or defining a method named 'FlatButton'.
child: FlatButton(
^^^^^^^^^^

FAILURE: Build failed with an exception.

Where:
Script '/Users/sn/fvm/versions/3.3.10/packages/flutter_tools/gradle/flutter.gradle' line: 1159

What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/Users/sn/fvm/versions/3.3.10/bin/flutter'' finished with non-zero exit value 1

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 18s
Exception: Gradle task assembleDebug failed with exit code 1

same problem


%filename% no longer working

The %filename% option doesn't seem to be working properly anymore.  It seems to name files to their md5 instead of to the name starting with _ that you'd otherwise get when simply right clicking and saving an image directly from danbooru.
It was working properly for me just last week, so the problem probably started occurring some time after that.

As an example I get "c96761e51bac109f745e2bc3f3b5bc45" when I'd expect to get "__hamakaze_kantai_collection_drawn_by_10eki_tenchou__c96761e51bac109f745e2bc3f3b5bc45"

Same here, can't figure it out.

Duplicate of #1239, moving to there.


Excellent Topic Coverage

This entry is concise, well laid out, and very clear.

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

ID: 8121f526-cfe4-091d-d031-2cdc274cd8ee
Version Independent ID: 76a389f6-b568-3568-6483-6df440f96f0c
Content: Access Modifiers - C# Programming Guide
Content Source: docs/csharp/programming-guide/classes-and-structs/access-modifiers.md
Product: dotnet-csharp
Technology: csharp-fundamentals
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

@JohnP-Identiv Thank you for this positive feedback!

public:   no restriction | any assembly
internal: no restriction | current assembly
protected internal: no restriction | current assembly OR derived class in another assembly
private:  current class | current assembly
private protected: current & derived class | current assembly
protected: current & derived class | any assembly


adding the option to include callback handlers in tools

This will make it easier/doable to see and track the output of each tool. Currently the output is not shown to the user unless printed inside the tool.

@Jgmedina95 can we close this? I dont think its relevant anymore

closing


Update link to tutorial

In the infer() function docstring in base.py, we link to the flexible interface. Make sure this link is correct before release.

This needs to become a relative link if mkdocs can actually lead to it or get the http:// so that it becomes clickable on the API docs. See http://www.mackelab.org/sbi/reference/#sbi.inference.base.infer


how to do large scale multi-task multi-label classification?

Hi, I'm wondering if there are any handy ways to do large scale multi-task multi-label classification using multi-layer-perceptron?
My X has ~2000 features and my Y has ~1000 targets(tasks). Each target takes 3 possible labels(-1, 0, 1). I have looked into the graph model. It seems I need to manually type:
graph.add_output(name='output1')
graph.add_output(name='output2')
....
graph.add_output(name='output1000')
~1000 times. And to specify softmax as loss, I may also need to type something like
graph.compile(optimizer='sgd', loss={'output1':'softmax', 'output2':'softmax', ..., 'output1000':'softmax'}). Note that, each softmax output itself corresponding to a Nx3 matrix in my three-label case.
This is fine for small number of targets(<10?). But I'm wondering if there are cleaner ways to do it with 1000 targets?
Thanks so much!

This is fine for small number of targets(<10?). But I'm wondering if there are cleaner ways to do it with 1000 targets?

You could do the reverse --3 tasks with 1000 labels each, and use binary_crossentropy for each task (since the label probabilities are independent).
Alternatively, use a single task with a 3000-dimensional output and write your own loss function that does softmax by groups of 3 vectors.
Even simpler: use a single task with a 3000-dimensional output and use binary_crossentropy as loss.

That's a great idea. Thanks!

@yil8 Do you share your code? Or Do you give me example how to implement  your idear by graph model. Thanks.

@alyato I actually gave up doing multi-task multi-label classification and ended up doing multi-task 1-vs-all binary classification instead.

@yil8 , I find some guys also use the keras to do . https://github.com/fchollet/keras/issues/741
And there are some questions i can't understand.
1.how to load the multi-label dataset.
2.Do you give me one simple example to run
Thanks.

@alyato the issue link is broken.
So assuming you are doing 3 labels classification.  Basically, what you need to do is a transformation from
      X             y

[1, 2, 3]             1
[4, 5, 6]            2
[7, 8, 9]            3
......
to
   X             y

[1, 2, 3]          [1, 0, 0]
[4, 5, 6]         [0, 1, 0]
[7, 8, 9]         [0, 0, 1]
......
Then you do multi-task binary classification

@yil8  [https://github.com/fchollet/keras/issues/741]
My dataset is that one image have multi-label.
y has three label [0,1,2], one image can has labels[3,1],or [1,2]
x y
[1,2,3] 3,1
[4,5,6] 1,2
Then I need  tranform them to
x y
[1,2,3] [1,0,1]
[4,5,6] [1,1,0]
Is it right? Thanks

Yeah, I think this works. You basically have one bit for each label indicating whether it's on or off

@alyato Hi, I'm glad to talk to you. I see you're doing multi-label classification. Now I also doing this subject, It's just that I'm dealing with text. I want to ask you, did you succeed? Can you tell me what layers and parameters you used the neural network? if you agree, could you show me your code？Thx!

@CreativePao Im not doing multi-label now and using the code by suraj-deshmukh.
The link is  https://suraj-deshmukh.github.io/Multi-Label-Image-Classification/. You can check it. Thanks.


Log level no longer sending as custom dimension

I have a .NET Framework 4.8 project that is reading in settings from the app.config. It's using the TraceTelemetryConverter. I had some queries written in Application Insights that I just realized were broken because the log level is no longer coming across.
What is the best way to send log level? The documentation seems to indicate this is possible by subclassing TraceTelemetryConverter, but how do I use the subclass with the ReadFrom.AppSettings() method? I tried just replacing the serilog:write-to:ApplicationInsights.telemetryConverter value in the app.config with the subclass (including the namespace) but got the following exception on app launch:

Hi! 👋 Thanks for getting in touch, and sorry we were unable to respond to your request. We're in the process of bringing new maintainers onto this project, and need to close stale tickets so that we can identify which items are still important to users of the sink.
If this issue still affects you:

Please consider whether it's a question that can be asked on Stack Overflow; if so, the serilog tag will get your question in front of many more people who can help you
Please consider whether you can research or investigate the issue and propose a solution for other users to benefit from
Feel free to comment here, letting us know it's still a problem

Thanks again!


Cherry-pick PR #7174 into release-1.1: [mempool] return accepted for submitting same transaction in mempool

This cherry-pick was triggerd by a request on #7174
Please review the diff to ensure there are not any unexpected changes.

Motivation
See #7169
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Unit test
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/diem/diem/developers.libra.org, and link to your PR here.)

cc @xli

This PR may have modified JSON-RPC server code.
Breaking changes policy:

Chaning JSON-RPC method signatures or removing/modifying fields
in the response in /V1 will not be accepted.
Adding fields is ok.
Adding a new JSON-RPC method is ok.

Please ensure you have also done the following to update the docs:

Update json-rpc/API-CHANGELOG.md.
Add/update type/method documentation under json-rpc/docs.

This PR may have modified JSON-RPC server code.
Breaking changes policy:

Chaning JSON-RPC method signatures or removing/modifying fields
in the response in /V1 will not be accepted.
Adding fields is ok.
Adding a new JSON-RPC method is ok.

Please ensure you have also done the following to update the docs:

Update json-rpc/API-CHANGELOG.md.
Add/update type/method documentation under json-rpc/docs.


Defect: Fails to build on EL7

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information.

[x] I am reporting a bug others will be able to reproduce and not asking a question or requesting a new feature.

System information including:

OpenCoarrays Version: 2.9.2
Fortran Compiler: GNU Fortran (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
C compiler used for building lib: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Installation method: cmake
All flags & options passed to the installer
Output of uname -a: Linux barry.cora.nwra.com 3.10.0-1160.15.2.el7.x86_64 #1 SMP Tue Feb 2 08:13:55 CST 2021 x86_64 x86_64 x86_64 GNU/Linux
MPI library being used: mpich 3.0.4, openmpi 1.10.7
Machine architecture and number of physical cores: x86_64 4 core
Version of CMake: 3.17.5 - rpm

To help us debug your issue please explain:
What you were trying to do (and why)
Build package for EL7
What happened (include command output, screenshots, logs, etc.)
/usr/bin/cmake3 -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON .. -DCAF_ENABLE_FAILED_IMAGES=FALSE
-- ------------------------------------------------------------------------------- --

    _/_/
  _/    _/  _/_/_/      _/_/    _/_/_/
 _/    _/  _/    _/  _/_/_/_/  _/    _/
_/    _/  _/    _/  _/        _/    _/
 _/_/    _/_/_/      _/_/_/  _/    _/
        _/
       _/

    _/_/_/
  _/          _/_/      _/_/_/  _/  _/_/  _/  _/_/    _/_/_/  _/    _/    _/_/_/
 _/        _/    _/  _/    _/  _/_/      _/_/      _/    _/  _/    _/  _/_/
_/        _/    _/  _/    _/  _/        _/        _/    _/  _/    _/      _/_/
 _/_/_/    _/_/      _/_/_/  _/        _/          _/_/_/    _/_/_/  _/_/_/
                                                                _/
                                                           _/_/
      OpenCoarrays
      """"""""""""
      Build Type: Release
      Version: 2.9.2

-- ------------------------------------------------------------------------------ --
-- Running with CMake from: /usr/bin/cmake3
-- Current source dir (for OpenCoarrays): /export/home/orion/fedora/OpenCoarrays/OpenCoarrays-2.9.2
-- The C compiler identification is GNU 4.8.5
-- The Fortran compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/lib64/ccache/cc
-- Check for working C compiler: /usr/lib64/ccache/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran - works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 - yes
-- Building OpenCoarrays version: 2.9.2
-- Building for target architecture: x86_64
-- Disabling optimization flags due to GCC < 5.4 bug
-- Performing Test Check_Simple_Coarray_Fortran_Source_Compiles
-- Performing Test Check_Simple_Coarray_Fortran_Source_Compiles - Failed
-- Found MPI_C: /usr/lib64/mpich/lib/libmpich.so (found version "3.0")
-- Found MPI_Fortran: /usr/lib64/mpich/lib/libmpichf90.so (found version "3.0")
-- Found MPI: TRUE (found version "3.0")
-- MPI runtime and compile time environments appear to be consistent
-- Performing Test MPI_C_COMPILES
-- Performing Test MPI_C_COMPILES - Success
-- Performing Test MPI_Fortran_MODULE_COMPILES
-- Performing Test MPI_Fortran_MODULE_COMPILES - Success
-- Performing Test MPI_Fortran_INCLUDE_COMPILES
-- Performing Test MPI_Fortran_INCLUDE_COMPILES - Success
-- Looking for alloca.h
-- Looking for alloca.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for SIGKILL
-- Looking for SIGKILL - found
-- Looking for include files mpi.h, mpi-ext.h
-- Looking for include files mpi.h, mpi-ext.h - not found
-- Looking for MPIX_ERR_PROC_FAILED
-- Looking for MPIX_ERR_PROC_FAILED - not found
-- ${HAVE_MPIX_ERR_PROC_FAILED} =
-- Note: Failed Images not supported by the current MPI implementation! (Needs MPIX experimental features--as of MPI3)
-- Looking for include file mpi.h
-- Looking for include file mpi.h - found
-- Looking for I_MPI_VERSION
-- Looking for I_MPI_VERSION - not found
-- Performing Test HAVE_ERROR_STOP_IN_PURE
-- Performing Test HAVE_ERROR_STOP_IN_PURE - Failed
-- Performing Test HAVE_VARIABLE_STOP_CODE
-- Performing Test HAVE_VARIABLE_STOP_CODE - Failed
-- Installing: /export/home/orion/fedora/OpenCoarrays/OpenCoarrays-2.9.2/mpich/src/tests/unit/extensions/test-co_sum-extension.sh
-- Installing: /export/home/orion/fedora/OpenCoarrays/OpenCoarrays-2.9.2/mpich/src/tests/unit/extensions/test-co_broadcast-extension.sh
-- Installing: /export/home/orion/fedora/OpenCoarrays/OpenCoarrays-2.9.2/mpich/src/tests/unit/extensions/test-co_min-extension.sh
-- Installing: /export/home/orion/fedora/OpenCoarrays/OpenCoarrays-2.9.2/mpich/src/tests/unit/extensions/test-co_max-extension.sh
-- Installing: /export/home/orion/fedora/OpenCoarrays/OpenCoarrays-2.9.2/mpich/src/tests/unit/extensions/test-co_reduce-extension.sh
-- Configuring done
-- Generating done

make[2]: Entering directory `/export/home/orion/fedora/OpenCoarrays/OpenCoarrays-2.9.2/mpich'
[ 25%] Building Fortran object src/mpi/CMakeFiles/opencoarrays_mod.dir/__/extensions/opencoarrays.F90.o
cd /export/home/orion/fedora/OpenCoarrays/OpenCoarrays-2.9.2/mpich/src/mpi && /usr/bin/gfortran -DCOMPILER_SUPPORTS_CAF_INTRINSICS -DHAVE_MPI -DMPI_WORKING_MODULE -DPREFIX_NAME=_caf_extensions_ -I/usr/include/mpich-x86_64 -I/export/home/orion/fedora/OpenCoarrays/OpenCoarrays-2.9.2/mpich/include/OpenCoarrays-2.9.2_GNU-4.8.5 -I/export/home/orion/fedora/OpenCoarrays/OpenCoarrays-2.9.2/src  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -I/usr/lib64/gfortran/modules -fno-working-directory -fdebug-prefix-map=/export/home/orion/fedora/OpenCoarrays/OpenCoarrays-2.9.2=. -O0 -O0 -J../../include/OpenCoarrays-2.9.2_GNU-4.8.5 -fPIC   -fexceptions -fcoarray=lib -c /export/home/orion/fedora/OpenCoarrays/OpenCoarrays-2.9.2/src/extensions/opencoarrays.F90 -o CMakeFiles/opencoarrays_mod.dir/__/extensions/opencoarrays.F90.o
/export/home/orion/fedora/OpenCoarrays/OpenCoarrays-2.9.2/src/extensions/opencoarrays.F90:763.2:

  function this_image()  result(image_num)
  1
Warning: 'this_image' declared at (1) may shadow the intrinsic of the same name.  In order to call the intrinsic, explicit INTRINSIC declarations may be required.
/export/home/orion/fedora/OpenCoarrays/OpenCoarrays-2.9.2/src/extensions/opencoarrays.F90:775.2:

  function num_images()  result(num_images_)
  1
Warning: 'num_images' declared at (1) may shadow the intrinsic of the same name.  In order to call the intrinsic, explicit INTRINSIC declarations may be required.
/export/home/orion/fedora/OpenCoarrays/OpenCoarrays-2.9.2/src/extensions/opencoarrays.F90:476.35:

    a_descriptor%base_addr = c_loc(a) ! data
                                   1
Error: Assumed-rank argument requires an explicit interface at (1)
/export/home/orion/fedora/OpenCoarrays/OpenCoarrays-2.9.2/src/extensions/opencoarrays.F90:459.35:

    a_descriptor%base_addr = c_loc(a) ! data
                                   1
Error: Parameter 'a' to 'c_loc' at (1) must be a scalar
/export/home/orion/fedora/OpenCoarrays/OpenCoarrays-2.9.2/src/extensions/opencoarrays.F90:442.35:

    a_descriptor%base_addr = c_loc(a) ! data
                                   1
Error: Assumed-rank argument requires an explicit interface at (1)
make[2]: *** [src/mpi/CMakeFiles/opencoarrays_mod.dir/__/extensions/opencoarrays.F90.o] Error 1

What you expected to happen
Successful build
Step-by-step reproduction instructions to reproduce the error/bug

@opoplawski thanks for this report.  I wrote most of the installer so I can address this.  I hope to have time to look at it by tomorrow. I also wrote the offending file, which aims to provide some minimal coarray support for users of compilers other than gfortran 5.0 or later.  I doubt there is anyone using that file so the simplest approach is to disable the building of it.  That will be my first approach investigating the cause of the error in detail.

Thanks.  I'll also note that I had to add -std=gnu99  (c99 probably would have been okay) to get past some earlier failures as well.  Turns out this isn't a priority for me anymore, but it might be nice to be able to revive the OpenCoarrays package in Fedora.


Rpg-Hud Broken Display issue.

I cant say i'm 100% sure what is causing this to happen, i'm using RPG-HUD in  my custom modded pack that is currently for private use only. However, the pack itself contains 138 mods, including RPG-HUD and other mods child mods. Thus making it a medium sized pack. I'm not sure why, but this display issue is constant and i cant seem to figure out whats doing it? i tried disabling EVERY event i could to see if something was overriding it, but alas, nothing. As you can see in the top left (i'm using the modern layout) the health bar is like, phasing into the hunger? and i've no idea what is causing this to happen. I'f you're wondering why the compass looks weird its because i'm using the true font mod.

This issue is known. it's caused by mods like tinkers' or scaling health. Go to settings -> Health -> prevent event. If this doesn't fix it let me know. because it did for my tests.

I do apologise if this is a known bug, i searched through majority of issues on here, albeit not many. And i also apologise that this was a duplicate, i couldn't find a similar bug anywhere. unfortunately changing this setting did not fix it for me, i was aware of this setting and it was one of the methods i tried, however, as mentioned, upon "preventing event" for every available ones (even ones that would have no effect such as 'horse jump bar') this issue still persisted. I will try removing tinkers from the pack and will let you know if different results emerge.
P.S, thank you so much for the insanely quick reply, that was way quicker than i imagined.

Thank you so much for the quick reply, i was very eager to get this fixed because i really wanted it in the modpack. Turns out i had the wrong setting enabled so instead of having prevent event i had prevent render enabled. Again, thank you so much for the quick reply.


Move FileInputPlugin and FileOutputPlugin to embulk-spi, and Transactional and TransactionalFile* to embulk-api

Thanks!


Setting TeachingTip.PreferredPlacement crashes the WinUI desktop application

Describe the bug

Setting TeachingTip.PreferredPlacement crashes the WinUI desktop application
Steps to reproduce the bug

Steps to reproduce the behavior:

Create a page in step 2 and run the application

<Page
    x:Class="App11.Views.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Style="{StaticResource PageStyle}">

    <Grid x:Name="ContentArea" Margin="{StaticResource MediumLeftRightMargin}">
        <Grid Background="{ThemeResource SystemControlPageBackgroundChromeLowBrush}">
            <!--
                The SystemControlPageBackgroundChromeLowBrush background represents where you should place your content.
                Place your content here.
            -->
            <TeachingTip IsOpen="True" CornerRadius="8"
                         Title="Saving automatically" PreferredPlacement="BottomRight">
                <ListView ItemsSource="{x:Bind ViewModel.List}"/>
            </TeachingTip>

        </Grid>
    </Grid>
</Page>

Expected behavior

Teaching tip should be displayed at correct location
Screenshots

Version Info

NuGet package version:

[WinUI 3 - Windows App SDK 0.8: 0.8.0] If you're seeing your issue in older previews of WinUI 3, please try this release.

Windows app type:

UWP
Win32

Yes

Windows version
Saw the problem?

Insider Build (xxxxx)

October 2020 Update (19042)

May 2020 Update (19041)

November 2019 Update (18363)
Yes

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Xbox

Surface Hub

IoT

Additional context

@harvinders do you get this issue when you set a target for the teaching tip?  What about if you have it initially closed and then open it with a button?

@StephenLPeters

do you get this issue when you set a target for the teaching tip?

Yes

What about if you have it initially closed and then open it with a button?

No, if I set IsOpen later, it shows up without issue


Issue compiling tensorflow with SYCL

System information
Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu):14.04.3-->Trusty
TensorFlow installed from (source or binary):Source
TensorFlow version (use command below):1.0 (Steps-> Downloaded tensorflow from https://github.com/benoitsteiner/tensorflow-opencl, ./configure - to configure project)
Bazel version (if compiling from source):0.5.4
CUDA/cuDNN version:NA
OPENCL Version:
Number of platforms:	1
Platform Profile:	FULL_PROFILE
Platform Version:	OpenCL 2.0 AMD-APP (1800.11)
Platform Name:	AMD Accelerated Parallel Processing
Platform Vendor:	Advanced Micro Devices, Inc.
Platform Extensions:	cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
GPU model and memory:
Platform Name:	AMD Accelerated Parallel Processing
Number of devices:	2
Device Type:	CL_DEVICE_TYPE_GPU
Board name:	AMD Radeon (TM) R5 M335
Memory:	4096M
Exact command to reproduce:
run the python script -- ipython keras_code.py
** G++/GCC version**:
g++-4.8
I have compiled CPP programs, they work fine.
ComputeCPP: 0.3.4
-- ** Python**: I am using Anaconda distribution Python for 2.7.2. (Anaconda - 2.4.3)
Describe the problem:
I have tried installing as per the steps given in :
https://www.codeplay.com/portal/03-30-17-setting-up-tensorflow-with-opencl-using-sycl
I have cloned the following git Repo:
git clone https://github.com/benoitsteiner/tensorflow-opencl.git
Everything works fine till the compile step: I use the following command:
bazel build --local_resources 2048,.5,1.0 -c opt --config=sycl //tensorflow/tools/pip_package:build_pip_package
================
Error
ERROR: /home/sayantan/Downloads/tensorflow-opencl/tensorflow/core/kernels/BUILD:2512:1: C++ compilation of rule '//tensorflow/core/kernels:softmax_op' failed (Exit 1).
In file included from tensorflow/core/kernels/softmax_op.cc:20:
In file included from ./tensorflow/core/kernels/softmax_op.h:23:
In file included from ./third_party/eigen3/unsupported/Eigen/CXX11/Tensor:4:
In file included from external/eigen_archive/unsupported/Eigen/CXX11/Tensor:14:
In file included from external/eigen_archive/Eigen/Core:299:
In file included from external/local_config_sycl/crosstool/../sycl/include/SYCL/sycl.hpp:20:
In file included from external/local_config_sycl/crosstool/../sycl/include/SYCL/sycl_interface.h:54:
external/local_config_sycl/crosstool/../sycl/include/SYCL/multi_pointer.h:342:3: error: multiple overloads of 'global_ptr' instantiate to the same signature 'void (pointer_t)' (aka 'void (attribute((address_space(1))) float *)')
global_ptr(pointer_t ptr) : Base(ptr) {}
^
external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorSyclExprConstructor.h:42:74: note: in instantiation of template class 'cl::sycl::global_ptr<attribute((address_space(1))) float>' requested here
EvalToLHSConstructor(const utility::tuple::Tuple<Params...> &t) : expr(ConvertToActualTypeSycl(typename Eigen::internal::remove_all::type, utility::tuple::get(t))) {}
^
external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h:31:88: note: expanded from macro 'ConvertToActualTypeSycl'
#define ConvertToActualTypeSycl(Scalar, buf_acc) reinterpret_cast<typename cl::sycl::global_ptr::pointer_t>((&(*buf_acc.get_pointer())))
^
external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorSyclExprConstructor.h:226:1: note: in instantiation of member function 'Eigen::TensorSycl::internal::EvalToLHSConstructor<attribute((address_space(1))) float *, 0, cl::sycl::accessor<unsigned char, 1, cl::sycl::access::mode::write, cl::sycl::access::target::global_buffer, cl::sycl::codeplay::access::placeholder::false_t>, cl::sycl::accessor<unsigned char, 1, cl::sycl::access::mode::read, cl::sycl::access::target::global_buffer, cl::sycl::codeplay::access::placeholder::false_t> >::EvalToLHSConstructor' requested here
EVALTO(const)
^
external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorSyclExprConstructor.h:223:41: note: expanded from macro 'EVALTO'
: nestedExpression(funcD.xprExpr, t), buffer(t), expr(buffer.expr, nestedExpression.expr) {}
^
external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorSyclExprConstructor.h:506:10: note: in instantiation of function template specialization 'Eigen::TensorSycl::internal::ExprConstructor<const Eigen::TensorEvalToOp<const Eigen::TensorReductionOp<Eigen::internal::MaxReducer, const Eigen::IndexList<Eigen::type2index<1>>, const Eigen::TensorMap<Eigen::Tensor<const float, 2, 1, long>, 16, MakeGlobalPointer>, MakeGlobalPointer>, MakeGlobalPointer>, const Eigen::TensorEvalToOp<const Eigen::TensorSycl::internal::PlaceHolder<const Eigen::TensorReductionOp<Eigen::internal::MaxReducer, const Eigen::IndexList<Eigen::type2index<1>>, const Eigen::TensorMap<Eigen::Tensor<const float, 2, 1, long>, 16, MakePointer>, MakePointer>, 1>, MakePointer>, cl::sycl::accessor<unsigned char, 1, cl::sycl::access::mode::write, cl::sycl::access::target::global_buffer, cl::sycl::codeplay::access::placeholder::false_t>, cl::sycl::accessor<unsigned char, 1, cl::sycl::access::mode::read, cl::sycl::access::target::global_buffer, cl::sycl::codeplay::access::placeholder::false_t> >::ExprConstructor<Eigen::TensorSycl::internal::FunctorExtractor<Eigen::TensorEvaluator<const Eigen::TensorEvalToOp<const Eigen::TensorReductionOp<Eigen::internal::MaxReducer, const Eigen::IndexList<Eigen::type2index<1>>, const Eigen::TensorMap<Eigen::Tensor<const float, 2, 1, long>, 16, MakePointer>, MakePointer>, MakePointer>, const Eigen::SyclDevice> > >' requested here
return ExprConstructor<OrigExpr, IndexExpr, Params...>(funcD, t);
.....
2 errors generated.
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 3715.231s, Critical Path: 167.06s
Can you please help?
Thanks and regards
Sayantan Raha

Hi @rahasayantan
Thanks for the report. That issue is already solved in Eigen (https://bitbucket.org/eigen/eigen/commits/2f4e408134e6bf7257f3526ece63a20dda03173d).  TensorFlow upstream needs to bump used Eigen version to cover that.
https://github.com/lukeiwanski/tensorflow/tree/dev/amd_gpu should compile fine.
I am in process of creating pull request for that.. however testing takes a while.
Hope that helps

I cloned from the repo you mentioned above. and changed brance to AMD_GPU.
When I compile, i get the following error.
INFO: Found 1 target...
ERROR: /home/sayantan/Downloads/tensorflow/tensorflow/contrib/memory_stats/BUILD:17:1: C++ compilation of rule '//tensorflow/contrib/memory_stats:python/ops/_memory_stats_ops.so' failed (Exit 1).
tensorflow/contrib/memory_stats/kernels/memory_stats_ops.cc:62:63: error: unknown type name 'MaxBytesInUseOp'; did you mean 'BytesInUseOp'?
Name("BytesInUse").Device(DEVICE_SYCL).HostMemory("out"), MaxBytesInUseOp);
^~~~~~~~~~~~~~~
BytesInUseOp
./tensorflow/core/framework/op_kernel.h:1209:68: note: expanded from macro 'REGISTER_KERNEL_BUILDER'
REGISTER_KERNEL_BUILDER_UNIQ_HELPER(COUNTER, kernel_builder, VA_ARGS)
^
./tensorflow/core/framework/op_kernel.h:1212:53: note: expanded from macro 'REGISTER_KERNEL_BUILDER_UNIQ_HELPER'
REGISTER_KERNEL_BUILDER_UNIQ(ctr, kernel_builder, VA_ARGS)
^
./tensorflow/core/framework/op_kernel.h:1225:24: note: expanded from macro 'REGISTER_KERNEL_BUILDER_UNIQ'
return new VA_ARGS(context);
^
tensorflow/contrib/memory_stats/kernels/memory_stats_ops.cc:44:7: note: 'BytesInUseOp' declared here
class BytesInUseOp : public MemoryStatsOp {
^
1 error generated.
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Thanks and regards
Sayantan

Is the same happening on: https://github.com/lukeiwanski/tensorflow/commit/facc653661127d73d73b1eed8de7dd26bd740e1e ?

I am getting the following error.. I guess I am missing some dependencies.. can you please help..
INFO: Found 1 target...
ERROR: /home/sayantan/Downloads/tensorflow/tensorflow/python/BUILD:4458:1: undeclared inclusion(s) in rule '//tensorflow/python:framework/fast_tensor_util.so':
this rule is missing dependency declarations for the following files included by 'tensorflow/python/framework/fast_tensor_util.cpp':
'/home/sayantan/anaconda2/include/python2.7/Python.h'
'/home/sayantan/anaconda2/include/python2.7/patchlevel.h'
'/home/sayantan/anaconda2/include/python2.7/pyconfig.h'
'/home/sayantan/anaconda2/include/python2.7/pymacconfig.h'
'/home/sayantan/anaconda2/include/python2.7/pyport.h'
'/home/sayantan/anaconda2/include/python2.7/pymath.h'
'/home/sayantan/anaconda2/include/python2.7/pymem.h'
'/home/sayantan/anaconda2/include/python2.7/object.h'
'/home/sayantan/anaconda2/include/python2.7/objimpl.h'
'/home/sayantan/anaconda2/include/python2.7/pydebug.h'
'/home/sayantan/anaconda2/include/python2.7/unicodeobject.h'
'/home/sayantan/anaconda2/include/python2.7/intobject.h'
'/home/sayantan/anaconda2/include/python2.7/boolobject.h'
'/home/sayantan/anaconda2/include/python2.7/longobject.h'
'/home/sayantan/anaconda2/include/python2.7/floatobject.h'
'/home/sayantan/anaconda2/include/python2.7/complexobject.h'
'/home/sayantan/anaconda2/include/python2.7/rangeobject.h'
'/home/sayantan/anaconda2/include/python2.7/stringobject.h'
'/home/sayantan/anaconda2/include/python2.7/memoryobject.h'
'/home/sayantan/anaconda2/include/python2.7/bufferobject.h'
'/home/sayantan/anaconda2/include/python2.7/bytesobject.h'
'/home/sayantan/anaconda2/include/python2.7/bytearrayobject.h'
'/home/sayantan/anaconda2/include/python2.7/tupleobject.h'
'/home/sayantan/anaconda2/include/python2.7/listobject.h'
'/home/sayantan/anaconda2/include/python2.7/dictobject.h'
'/home/sayantan/anaconda2/include/python2.7/enumobject.h'
'/home/sayantan/anaconda2/include/python2.7/setobject.h'
'/home/sayantan/anaconda2/include/python2.7/methodobject.h'
'/home/sayantan/anaconda2/include/python2.7/moduleobject.h'
'/home/sayantan/anaconda2/include/python2.7/funcobject.h'
'/home/sayantan/anaconda2/include/python2.7/classobject.h'
'/home/sayantan/anaconda2/include/python2.7/fileobject.h'
'/home/sayantan/anaconda2/include/python2.7/cobject.h'
'/home/sayantan/anaconda2/include/python2.7/pycapsule.h'
'/home/sayantan/anaconda2/include/python2.7/traceback.h'
'/home/sayantan/anaconda2/include/python2.7/sliceobject.h'
'/home/sayantan/anaconda2/include/python2.7/cellobject.h'
'/home/sayantan/anaconda2/include/python2.7/iterobject.h'
'/home/sayantan/anaconda2/include/python2.7/genobject.h'
'/home/sayantan/anaconda2/include/python2.7/descrobject.h'
'/home/sayantan/anaconda2/include/python2.7/warnings.h'
'/home/sayantan/anaconda2/include/python2.7/weakrefobject.h'
'/home/sayantan/anaconda2/include/python2.7/codecs.h'
'/home/sayantan/anaconda2/include/python2.7/pyerrors.h'
'/home/sayantan/anaconda2/include/python2.7/pystate.h'
'/home/sayantan/anaconda2/include/python2.7/pyarena.h'
'/home/sayantan/anaconda2/include/python2.7/modsupport.h'
'/home/sayantan/anaconda2/include/python2.7/pythonrun.h'
'/home/sayantan/anaconda2/include/python2.7/ceval.h'
'/home/sayantan/anaconda2/include/python2.7/sysmodule.h'
'/home/sayantan/anaconda2/include/python2.7/intrcheck.h'
'/home/sayantan/anaconda2/include/python2.7/import.h'
'/home/sayantan/anaconda2/include/python2.7/abstract.h'
'/home/sayantan/anaconda2/include/python2.7/compile.h'
'/home/sayantan/anaconda2/include/python2.7/code.h'
'/home/sayantan/anaconda2/include/python2.7/eval.h'
'/home/sayantan/anaconda2/include/python2.7/pyctype.h'
'/home/sayantan/anaconda2/include/python2.7/pystrtod.h'
'/home/sayantan/anaconda2/include/python2.7/pystrcmp.h'
'/home/sayantan/anaconda2/include/python2.7/dtoa.h'
'/home/sayantan/anaconda2/include/python2.7/pyfpe.h'
'/home/sayantan/anaconda2/include/python2.7/longintrepr.h'
'/home/sayantan/anaconda2/include/python2.7/frameobject.h'
'/home/sayantan/anaconda2/include/python2.7/compile.h'
'/home/sayantan/anaconda2/include/python2.7/traceback.h'.
In file included from /home/sayantan/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1809:0,
from /home/sayantan/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18,
from /home/sayantan/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from bazel-out/local_linux-opt/genfiles/tensorflow/python/framework/fast_tensor_util.cpp:531:
/home/sayantan/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by "
^
cc1plus: warning: unrecognized command line option "-Wno-unused-command-line-argument"
cc1plus: warning: unrecognized command line option "-Wno-unused-const-variable"
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.

It seems like environment set ups issue.. did you run ./configure ?
Similarly looking issue here: https://github.com/tensorflow/tensorflow/issues/4851

@lukeiwanski thanks, worked for me


How can I generate a json feed of my posts?

Hi! I have a blog-type website, and I want to generate json feed of the activity stream of my latest posts. I want to be able to go to /feed/posts/, and see my latest posts in a json format.
I've been reading the docs, but it is still unclear. I don't understand how can I generate a feed for a specific model, and then point a specific url to it.
Ideally, I would just create a view where I take the list of activities, convert them into a json format, and then return this json.
Can you give me an example of how it's done?

use django rest framework for json response


Problem in image_batch array

Hello @Nikolai10
I changed the batch_size = 32
Then I got the following error, when training the model.

Could you help me to resolve it?
Thanks..

Hello @HananAbdulla,
I am unable to reproduce the error; please have a look at https://colab.research.google.com/drive/1-JxJsYbAM9W69nTxSKTp-gR3ofwv5SjM?usp=sharing.
I noticed that in the demo version, the default batch size is 32 as well.
Please make sure that the data preprocessing works as expected.


chore: bdd-spring-1574345174 to 0.0.1

chore: Promote bdd-spring-1574345174 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Post-mortem first set of alerts

How many have attempted to sign up?
How many have succeeded?

What are some reasons for failures to sign up?

How many received emails?
How many opened emails?

Also, create an Analytics report for this kind of thing

There are 75 verified accounts and 64 unverified accounts.
One of the unverified accounts has been receiving emails and clicking links (possibly because I manually verified it...)
23 have clicked links according to our database; 28 according to analytics (this could be the same people using different browsers)
21 have not received any emails, according to our database (and none have clicked links, either).
Our database shows a number who have clicked links but not opened emails -- this will be due to email client settings not tracking opens.

Looks like they didn't all get sent:
(.venv)hello@openprescribing-with-volumn:/webapps/openprescribing/openprescribing$ python manage.py send_monthly_alerts --settings=openprescribing.settings.production
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_from_command_line(sys.argv)
  File "/webapps/openprescribing/.venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
    utility.execute()
  File "/webapps/openprescribing/.venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 345, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/webapps/openprescribing/.venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 348, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/webapps/openprescribing/.venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 399, in execute
    output = self.handle(*args, **options)
  File "/webapps/openprescribing/openprescribing/frontend/management/commands/send_monthly_alerts.py", line 94, in handle
    search_bookmark)
  File "/webapps/openprescribing/openprescribing/frontend/views/bookmark_utils.py", line 494, in make_search_email
    '#results .tab-pane.active'
  File "/webapps/openprescribing/openprescribing/frontend/views/bookmark_utils.py", line 299, in attach_image
    result = subprocess.check_output(cmd, shell=True)
  File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '/usr/local/bin/phantomjs /webapps/openprescribing/openprescribing/frontend/management/commands/grab_chart.js "https://openprescribing.net/analyse/#org=practice&orgIds=11X&numIds=4.10.2&denom=total_list_size&selectedTab=summary&source=pageload" /tmp/tmp3LOJEl.png "#results .tab-pane.active" 800x600 500' returned non-zero exit status 1

I've analysed the mailgun logs and a total of 54 monthly updates (not including EMB DataLab people) were sent, so I need to review the error above and work out which recipients still need sending.


Calculator

Project requirements
To help you concentrate on how to work with React events, we have developed the math logic you need to make the Calculator component work. You can use the files calculate.js and operate.js.
Create a new directory called logic inside your project
Copy the files calculate.js and operate.js into your logic/ directory
Install big.js using NPM
Analyze the files calculate.js and operate.js, be sure you understand what they do
Import calculate.js in your Calculator.js component
Implement click event handlers using the math logic from calculate.js and operate.js in your React component
The goal is to make all calculator buttons work according to their functionality e.g. the - button should subtract a given value
Test your app in the browser. The Calculator should be able to perform math operations.

Status: Invalid 🔴
Hi @BezzB 🙋♀,
While you made a great effort in this project, I can't review your code.
Invalid Code Review Request
You have submitted a project that has a README that is not professional. Here is a key point to consider when documenting your README.

The License suggestion should be removed. ✖

[OPTIONAL] It would be best if you added a URL to your GitHub page in order for users to be able to find your GitHub profile. Also, consider removing the extra bullet point to make your README more presentable.

[OPTIONAL] It would be best if you removed the extra bullet point to make your README more presentable.

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers 🥂  and Happy coding!!! 👯
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Remember to tag me @KDlamini  in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


TestWatchWithRequireLeader:  no leader watch response error

Failing on my master branch of hash 6fb99a858598cf001f545e1253fea004f1e0510b,
--- FAIL: TestWatchWithRequireLeader (0.83s)
	watch_test.go:705: expected etcdserver: no leader watch response error, got {Header:{ClusterId:18381416177925296045 MemberId:4790720937027098385 Revision:2 RaftTerm:2} Events:[0xc423b9c1c0] CompactRevision:0 Canceled:false Created:false closeErr:<nil>}
FAIL
exit status 1

This is happening because the proxy is polling for leader loss. A WithRequireLeader stream can come in, establish a watcher since leaderc won't close until the next leader loss error, receive an event, and then close out on leader loss once the poll cycle completes. The leadership logic will need more thought.

Fixed by #7314 and #7345