[DON'T MERGE BEFORE 2019-05-06] Rename SAP S/4HANA Cloud SDK to SAP Cloud SDK in JS tutorials

On May 6th, we're officially renaming the "SAP S/4HANA Cloud SDK" to "SAP Cloud SDK".
This PR addresses this for the tutorials about the SAP Cloud SDK for JavaScript.
This is done in correspondenence with @karstenmelato .
Please note that there's still a tag products>sap-s-4hana-cloud-sdk that should probably be renamed (which would then have to be reflected in the tutorials, of course).

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Dennis Hempfing seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@thecodester The PR can be merged now, would be awesome if you could take a look!

Are there any name changes to S/4HANA or S/4HANA Cloud, just the SDK?
Also, who is responsible for answering issues raised wrt SAP Cloud SDK?

Name changes apply only to the SDK. I’m not sure whether we have an official contact person for issues regarding the SDK. Typically we distribute them internally depending on the topic/technology.
@karstenmelato can you comment here?


null coealsce / "truthy or"

Usecase:
{{#each {sometag}}}
* [[{{ displayName }}]]
{{/each}}

displayName is frequently undefined, so where it is undefined, i'd like to fall back to name.
As far as I can tell, the easiest way to achieve this today is displayName: displayName : name (if there's something else, let me know, and perhaps this is just an expression-language-page update). This mainly just an unfortunate pattern because it repeats displayName twice each time
What might be nice as an alternative is:

displayName or name which i'm calling "truthy or". Today, this just returns "true", but what i'm suggesting is essentially python/javascript style evalutation of an or by eagerly returning the first truthy value.
coalesce(displayName, name) (or some syntax, like |) as a more explicit way of coalescing than the former option.

EDIT: yes i meant displayName ? displayName : name above

Do you mean displayName ? displayName : name? I have not seen the other syntax

It seems to be that only when your first value exists "true" is returned. So this definitely is a bug/weird behaviour. Imo it should just return v instead of true
const op1Val = evalQueryExpression(
  op1,
  obj,
  variables,
  functionMap,
);
if (op1Val instanceof Promise) {
  return op1Val.then((v) =>
    v ||
    evalQueryExpression(val[2], obj, variables, functionMap)
  );
} else if (op1Val) {
  return true;
} else {
  return evalQueryExpression(val[2], obj, variables, functionMap);
}

Don't forget about the '??' (nullish coalescing) operator as defined here and discussed here.
I'd have to check on its implementation insofar as SB templating goes later when not on mobile but, just thought it worth a mention in this thread.


Question - White icon in android

Hi
I have a question regarding the white icon problem in android -- i am sending messages using firebase console (remote notification).  I wanted to know if it's possible to have different icon for notification then the launcher.  Currently the only way for me to change notification icon that works is to change the launcher icon but i want to keep the launcher icon as it is and have a separate notification icon.  Is this possible to achieve if so how?
Best Regards

pass a custom icon inside notification part of the payload
const payload = {
   data: {},
   notification: {
       icon: 'ic_notification',
       color: 'green',
    }
}

Does that work if you send it though firebase console?  I am sure i already tried that but will try again...will let you know?

no, it does not work though firebase console

I am trying even to send to cURL but looks like the icon its not changing ...

problem seems solved


TODO: Add the ability to build Julia from source

We should add the ability to build Julia from source. The user provides a branch (e.g. master) or a tag (e.g. v1.3.0), and we automatically clone the JuliaLang/julia repository, check out the relevant branch or tag, and build the source code.

I am not sure if this is useful.
I will close this for now. In the future, if it turns out that we do need this feature, we can open a new issue.


Non-overlapping segments reported as overlapping, doesn't account for extended address?

I've found that records that have the same address in different segments are reported as overlapping when parsing a hex file.
A simple example:
:020000025000AC
:10000000A5A9AEFC5FAAB488B8A8860F8BC79C943C
:0200000260009C
:10000000F384980CA450DC26572ECE667CAF34DFE8
:00000001FF

ParseIntelHex() fails to parse this, reporting an overlap on line 4. But these two records are in different segments, with non-overlapping addresses of 0x25000000 and 0x26000000.
(Thanks for making such a handy library, it's working great for my single-segment files! Not sure how to fix this issue.)

Hi.
Thanks for issue report.
At Your example, there are records type (0x02) with 20-bit extended address, which is not supported.
These records was simple ignored without any error so both data records were overlapped.
Take a look at the newest implementation.
Solution is implemented here: https://github.com/marcinbor85/gohex/pull/4
Regards
MB

solved

@marcinbor85 Tested this, the issue is fixed!


egl-wayland: 1.1.7 -> 1.1.9

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 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.

It is okay to target this to master I think.

Just remembered why I put it in staging. It depends on version 1.3.4 of libglvnd to build properly.

Now that https://github.com/NixOS/nixpkgs/pull/143028 is merged, could we get this one merged too please?

This is on my radar, but what of the regressions that @vcunat pointed out? Are we sure they're resolved and that there aren't further regressions?
As part of the work I'm doing on this nvidia stuff, I'm considering adding a level somewhere to make the egl-wayland configuration flexible so the user could override nvidia with a different version of upstream egl-wayland. That might upgrades easier, we could keep a few versions side-by-side even and pick a default, let users opt-in, etc.

Can't test; seems to be mostly hydrid/prime related and I am not on an APU.

Cheese opens but the camera view glitches out, no problems with any other applications mentioned. I don't have hybrid graphics though.

@colemickens, I have been using the version bump for a whole day without issues on NixOS Linux 5.15 (/w nvidia dirivers version 495.44); those issues reported could have been caused by any other factors like nvidia driver versions or toolchain used to compile.
Also, Wayland /w Nvidia is experimental and disabled by default. To use wayland on gdm /w nvidia for example one must set this config:
      displayManager.gdm = {
        enable = true;
        nvidiaWayland = true;
      };

I think this can be safely merged and would be a net gain on experience.

due to the nature of NVIDIA/egl-wayland#40, it is import somebody test this on plasma if you really want to merge before release

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

33 packages marked as broken and skipped:

libsForQt512.kde-cli-tools
libsForQt512.kdeplasma-addons
libsForQt512.khotkeys
libsForQt512.kinfocenter
libsForQt512.kmenuedit
libsForQt512.krohnkite
libsForQt512.kwin
libsForQt512.kwin-dynamic-workspaces
libsForQt512.kwin-tiling
libsForQt512.parachute
libsForQt512.plasma-browser-integration
libsForQt512.plasma-desktop
libsForQt512.plasma-disks
libsForQt512.plasma-workspace
libsForQt512.powerdevil
libsForQt512.systemsettings
libsForQt514.kde-cli-tools
libsForQt514.kdeplasma-addons
libsForQt514.khotkeys
libsForQt514.kinfocenter
libsForQt514.kmenuedit
libsForQt514.krohnkite
libsForQt514.kwin
libsForQt514.kwin-dynamic-workspaces
libsForQt514.kwin-tiling
libsForQt514.parachute
libsForQt514.plasma-browser-integration
libsForQt514.plasma-desktop
libsForQt514.plasma-disks
libsForQt514.plasma-workspace
libsForQt514.powerdevil
libsForQt514.systemsettings
xmonad_log_applet

94 packages built:

adapta-gtk-theme
cage
cagebreak
chrome-gnome-shell
dwl
egl-wayland
fnott
gnome.gdm
gnome.gnome-applets
gnome.gnome-control-center (gnome.gnome_control_center)
gnome.gnome-flashback
gnome.gnome-initial-setup
gnome.gnome-panel
gnome.gnome-session (gnome.gnome_session)
gnome.gnome-shell (gnome.gnome_shell)
gnome.gnome-terminal (gnome.gnome_terminal)
gnome.gnome-tweaks (gnome.gnome-tweak-tool)
gnome.gpaste
gnome.mutter
gnome.mutter338 (pantheon.mutter)
gnome.pomodoro
gnomeExtensions.easyScreenCast
gnomeExtensions.gsconnect
gnomeExtensions.night-theme-switcher
gnomeExtensions.system-monitor
hikari
kdev-php
kdev-python
kdevelop
kdevelop-unwrapped
labwc
libsForQt5.kde-cli-tools (libsForQt515.kde-cli-tools ,plasma5Packages.kde-cli-tools)
libsForQt5.kdeplasma-addons (libsForQt515.kdeplasma-addons ,plasma5Packages.kdeplasma-addons)
libsForQt5.khotkeys (libsForQt515.khotkeys ,plasma5Packages.khotkeys)
libsForQt5.kinfocenter (libsForQt515.kinfocenter ,plasma5Packages.kinfocenter)
libsForQt5.kmenuedit (libsForQt515.kmenuedit ,plasma5Packages.kmenuedit)
libsForQt5.krohnkite (libsForQt515.krohnkite ,plasma5Packages.krohnkite)
libsForQt5.kwin (libsForQt515.kwin ,plasma5Packages.kwin)
libsForQt5.kwin-dynamic-workspaces (libsForQt515.kwin-dynamic-workspaces ,plasma5Packages.kwin-dynamic-workspaces)
libsForQt5.kwin-tiling (libsForQt515.kwin-tiling ,plasma5Packages.kwin-tiling)
libsForQt5.parachute (libsForQt515.parachute ,plasma5Packages.parachute)
libsForQt5.plasma-browser-integration (libsForQt515.plasma-browser-integration ,plasma5Packages.plasma-browser-integration)
libsForQt5.plasma-desktop (libsForQt515.plasma-desktop ,plasma5Packages.plasma-desktop)
libsForQt5.plasma-disks (libsForQt515.plasma-disks ,plasma5Packages.plasma-disks)
libsForQt5.plasma-workspace (libsForQt515.plasma-workspace ,plasma5Packages.plasma-workspace)
libsForQt5.powerdevil (libsForQt515.powerdevil ,plasma5Packages.powerdevil)
libsForQt5.systemsettings (libsForQt515.systemsettings ,plasma5Packages.systemsettings)
monitor
nwg-panel
pantheon.elementary-greeter
pantheon.elementary-gsettings-schemas
pantheon.elementary-session-settings
pantheon.gala
pantheon.switchboard-plug-a11y
pantheon.switchboard-plug-mouse-touchpad
pantheon.switchboard-plug-pantheon-shell
pantheon.switchboard-plug-power
pantheon.switchboard-plug-security-privacy
pantheon.switchboard-with-plugs
pantheon.wingpanel
pantheon.wingpanel-applications-menu
pantheon.wingpanel-indicator-a11y
pantheon.wingpanel-indicator-bluetooth
pantheon.wingpanel-indicator-datetime
pantheon.wingpanel-indicator-keyboard
pantheon.wingpanel-indicator-network
pantheon.wingpanel-indicator-nightlight
pantheon.wingpanel-indicator-notifications
pantheon.wingpanel-indicator-power
pantheon.wingpanel-indicator-session
pantheon.wingpanel-indicator-sound
pantheon.wingpanel-with-indicators
phoc
phosh
qt-video-wlr
river
sway
sway-contrib.grimshot
sway-unwrapped
tinywl
vimix-gtk-themes
wacomtablet
waybar
waybox
wayfire
wayfirePlugins.wayfire (wayfireApplications-unwrapped.wayfire)
wayfirePlugins.wf-shell (wayfireApplications-unwrapped.wayfirePlugins.wf-shell)
wayfireApplications-unwrapped.wcm
wcm
weston
whitesur-gtk-theme
wio
wlroots
xwayland

Haven't tested plasma, will do so this afternoon thanks for the pointer.
Tested with GNOME 40/41

I don't use KDE Plasma but it starts alright and I was able to loging via gdm to KDE Plasma Wayland, take a screenshot, and post this comment.

Please note there is a worrisome comment regarding post 1.1.7 versions:

This will be fixed in upcoming 495 driver. Until then, downgrading to 1.1.7 is the best option.

So you are saying future versions of egl-wayland will need driver version 495 or newer? Where does this leave users of Kepler? It was reported that 470 would be the last version to support that generation of GPU. Will a future version of egl-wayland be fixed to work with the 470 version, or will the driver fix be backported?

https://github.com/NVIDIA/egl-wayland/issues/40#issuecomment-930286036
Seems like 1.1.9 require nvidia 495 or later drivers.

I want to chime in and say that this PR is a huge upgrade. With it, 3D rendering via XWayland -- at least on Gnome -- appears to just work; Steam / Proton included.
Since others may want to follow along at home, here's how to test it. Simply put this in your configuration.nix. It may or may not work with other compositors than Gnome's; I haven't tested that.
 # https://github.com/NixOS/nixpkgs/pull/138180
  environment.variables.GBM_BACKENDS_PATH = "/run/opengl-driver/lib/gbm";
  nixpkgs.overlays = let
    nixpkgs-tars = "https://github.com/NixOS/nixpkgs/archive";
    pr138180 = import (fetchTarball {
      url = "${nixpkgs-tars}/49a2d9ba22d78fc60917fed918c8ebc97ed458ea.tar.gz";
      sha256 = "06frgm7a1j5d4hdxqqcjwr0dcr8a3c38pzb572smmhwfb7k07sxd";
    }) {
      config = config.nixpkgs.config;
      system = config.nixpkgs.system;
    };
  in [(self: super: {
    egl-wayland = pr138180.egl-wayland;
  })];

Well we've already missed the window to include this in the next release, so there is no rush on this. But once it does get merged, and everything appears to work properly, I don't see any problem with backporting it to 21.11. The only outstanding concern is @fabianhjr's comment above about the 495 series now being required, and so not working for older nvidia hardware.
Perhaps we'll have to add some logic to detect if a user is using the legacy driver and stick with 1.1.7 in that case. We may have to maintain more than one version after all.

This doesn't seem to be a big rebuild, so I believe that strictly speaking you have NOT missed the 21.11 window yet.

The only outstanding concern is @fabianhjr's comment above about the 495 series now being required, and so not working for older nvidia hardware.

That was posted as a question and quoted and it is unclear if more recent patch releases of 470 for example can work with egl-wayland. In particular it would be great if someone could test:

470.86 | November 10, 2021
460.91.03 | July 20, 2021

That was posted as a question and quoted and it is unclear if more recent patch releases of 470 for example can work with egl-wayland-1.1.9; In particular it would be great if someone could test:

I don't see a package for 460 in nixpkgs-unstable. However, I tested 470 by setting hardware.nvidia.package = pkgs.linuxPackages.nvidiaPackages.legacy_470.
saya :: ~ » glxinfo
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
  (snip)
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
  (snip)
GLX version: 1.4
GLX extensions:
  (snip)
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 24576 MB
    Total available memory: 24576 MB
    Currently available dedicated video memory: 22932 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 3090/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 470.86
OpenGL core profile shading language version string: 4.60 NVIDIA

eglinfo reports similar results. Steam still works; so do games such as Satisfactory (Vulkan, via Proton), Carrier Command 2 (DirectX, ditto) and Oxygen Not Included (native). Firefox rendering performance is noticably inferior, mostly on Github (d'oh), but you can't have everything. Also, I was able to bring Firefox up to par by force-enabling Webrender.
(That being par for the 490 driver, which is still vastly inferior to Firefox on Windows. Different discussion.)

The GBM_BACKENDS_PATH environment setting from my earlier snippet does not appear to be needed anymore. That was left over from an earlier attempt at getting this working.

Ok, so 1.1.9 does work with legacy drivers (at least as how it is distributed and used in NixOS), works on gnome and plasma, and I think there are no more blockers left. :3

Things that don't work with this patch: Discord stops functioning at all, rendering a black window.
This can be worked around by running it as discord --disable-gpu. I'm unsure if we'd want to do anything about it; it's also supposed to run natively on Wayland now, which would be superior, but I figure out how to test it.

The GBM_BACKENDS_PATH environment setting from my earlier snippet does not appear to be needed anymore. That was left over from an earlier attempt at getting this working.

This is false. It is needed; the setting simply has no effect on applications. It's probably affecting Xwayland.
Without it, GLX doesn't work. So while this PR is still a step in the right direction, it's incomplete on its own.

Regarding that, https://github.com/NixOS/nixpkgs/pull/145319 is on staging-next and could be merge in the following days.
As mentioned, that was used during testing on my end.

I actually using a commit or two beyond 1.1.9 just for fun, and as far as I can tell, Plasma and Gnome are working (and seemingly well after bumping up my refresh rates in their respective settings), but this is just further confirmation of what @fabianhjr has reported. That and we have a test report with the 470 series driver, so I also agree that blockers are resolved.
If there's no objections, I'll merge this in the next day or two, I'd love to have this and #145319 be in nixos-unstable soon to test all end-to-end.

if #145319 is a dependancy for certain applications, we might want to wait on the merge until that hits master

While related, that PR is not a dependency to this one, they're fairly orthogonal changes. It's more just the case that NVidia users really need both for sway to work out-of-box. This PR is still beneficial to non-nvidia users, doesn't rely on mesa's gbm loading, etc.

If there's no objections, I'll merge this in the next day or two, I'd love to have this and #145319 be in nixos-unstable soon to test all end-to-end.

if #145319 is a dependancy for certain applications, we might want to wait on the merge until that hits master

Since the mentioned PR is on staging-next it would currently merge into master just before branch off of 21.11 (which was scheduled for today), wouldn't it be better to merge now to either master or staging-next to ensure both are on 21.11? (This is relatively on the non world-rebuilding side and staging next still has a long queue before merging and the time window for branch off after that merge might be very small)

I was being shy, given the newness of my commit bit, but I agree with your analysis and think we have enough consensus from involved/testing folks. I'll merge it.

Thanks for the PR @abdelq and everyone else that tested and helped along the way. :3


use MIT license

This fixes #393 and #390.
From the short discussion we had it seemed to me that a single MIT License is the best fit. I also put the LICENSE file in each crate subdirectory, which is published to crates.io. Metadata has been updated accordingly.
Thank you four your quick reaction, and keep up your awesome work!

Cherry-picked this diff to the stable branch (v2.3).
Please let me know if this change needs to be released earlier than the next planned release.

Thanks, the next planned release is fine, with me.


WITH TIMEZONE

Please check this statement:
CREATE TABLE country_region (
regionid                       BIGINT
NOT NULL
CONSTRAINT pk_auth_region PRIMARY KEY,
region_name                    VARCHAR(100)
NOT NULL,
creation_date                  TIMESTAMP(0) WITH TIME ZONE
DEFAULT CURRENT_TIMESTAMP(0)
NOT NULL,
last_change_date               TIMESTAMP(0) WITH TIME ZONE
DEFAULT CURRENT_TIMESTAMP(0),
CONSTRAINT region_name_unique UNIQUE ( region_name )
);
Encountered " <K_DATETIMELITERAL> "TIME "" at line 7, column 54.
Was expecting one of:
"ON" ...
"KEY" ...
"NOT" ...
"NULL" ...
"WITH" ...
"WHERE" ...
"USING" ...
"DELETE" ...
"UPDATE" ...
"PRIMARY" ...
"FOREIGN" ...
"CONSTRAINT" ...
"REFERENCES" ...
"CHECK" ...
"ROWS" ...
"COMMIT" ...
"UNIQUE" ...
"CASCADE" ...
<K_TIME_KEY_EXPR> ...
"TABLESPACE" ...

"-" ...

The problem is the precision for the timestamp type. JSqlParser does not support this. So
TIMESTAMP(0) WITH TIME ZONE
is a problem while
TIMESTAMP WITH TIME ZONE
is not.
The DT_ZONE token of JSqlParser should be improved to support this.
Do you want to implement this feature or support it otherwise?

fix not yet deployed to maven repo.


Data Download is too slow.

Hello! Thanks for the awesome project and releasing the models and data !

Is there any other way to download the dataset?
Thanks !

It's to be expected. We are seeking alternative ways to host the dataset. Stay tuned!

Hi @LeeDoYup , please see #19

Thank you for releasing the link !!!


Avoid clobbering already-registered compressors, for safety

My company recently had a production incident caused by this library clobbering already-registered encodings which used the settings found in https://github.com/mostynb/go-grpc-compression/pull/17.  Since the OpenTelemetry collector depends on this library, when our company internally began using the OpenTelemetry collector core libraries and it changed our zstd settings inadvertently.
We think it would be also prudent to avoid clobbering these registrations by checking for an existing encoding by the same name before registering the new one during the init() functions in this package.

I am experimenting with another way of doing this that allows both the current and new behaviour. I'll try to have something ready to compare this to tomorrow.

What do you think of https://github.com/mostynb/go-grpc-compression/pull/19 ?

Closed in favor of #19. Thanks @mostynb!


fix: go back to no arch (never rerendered)

Checklist

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

FYI, all work should be in PRs from forks, and only merged if passing. Always rerender if any big changes.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

noarch packages can't have selectors. If the selectors are necessary, please remove noarch: python.
noarch: python recipes are required to have a lower bound on the python version. Typically this means putting python >=3.6 in both host and run but you should check upstream for the package's Python compatibility.

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

@conda-forge-admin, please rerender


Moving files on S3 from cache to store

I have my application setup and working very nicely with direct to s3 uploads using shrine.
Looking into the delete_uploaded plugin, I notice that it does not support UploadedFile and therefore will not operate on S3 cache to S3 store.
I notice the move_to method on aws-sdk: http://docs.aws.amazon.com/sdkforruby/api/Aws/S3/Object.html#move_to-instance_method
Have you evaluated this at all? I would think that we can get the functionality of delete_upload on s3 to s3 copying if we use this move_to method.
But also, I notice move_to just calls copy_to and then delete, leading me to think that all the copy operations are synchronous an therefore ok to use?
Have you evaluated this at all? If it is possible, do you think this should be part of the delete_uploaded plugin or a separate plugin?

Yeah, I have gave this topic a long thought, it took me a long time to reach a decision, and am sometimes still reevaluating this choice but always arrive to the same conclusion.
The reason why I don't allow deleting UploadedFile in the delete_uploaded plugin is because cached files in general shouldn't be deleted on upload, but rather the cache storage should be cleared periodically in a recurring task. To explain the reason for this, consider the following scenario:
class ImageUploader < Shrine
  def process(io, context)
    if context[:phase] == :store
      tempfile = io.download
      original = io # cached file (instance of Shrine::UploadedFile)
      medium = resize_to_limit(tempfile, 500, 500)
      small = resize_to_limit(tempfile, 300, 300)

      {original: original, medium: medium, small: small}
    end
  end
end

I find this scenario to be very common. If the delete_uploaded plugin would delete Shrine::UploadedFile instances, storing the above hash of versions would first upload the :original cached file (and delete it), and then upload :medium and :small. This means that if you're doing backgrounding, the cached file that was potentially in use (for graceful degradation until the background job finishes) would get deleted before storing finished and the record is updated, which would momentarily result in a broken link on the cached file.
This may not be a big deal in low-traffic applications, but the bottom line is that it would make your app sometimes look broken, and the bug is very subtle (you wouldn't get an error report for it), so I wanted to ensure that it can never happen with Shrine (unless you're using the moving plugin, but it's not intended to be used with versions anyway).
Using move_to would only theoretically make sense adding to the moving plugin, but as you already noticed in the implementation, it copies then deletes (two HTTP requests). Since copying is already done automatically when a cached S3 file is stored to S3, the moving plugin gives you exactly the same behaviour as move_to would give, so there wouldn't be any benefit in using it.
For your case, if you're not doing any processing, and you would want the cached S3 file to be deleted immediately on upload, you can use the moving plugin:
plugin :moving, storages: [:store]

Note that this will add an additional HTTP request (deletion) on storing. Alternatively you can just setup S3 to automatically delete old cached files and not worry about it :)
Note that as per contribution guidelines usage questions should be asked on the Google group, and GitHub issues should only be used for reporting bugs.

Thank you for the very thorough answer. I actually missed that the moving plugin existed, and was intending on writing one if it had not. Glad it does. It is impressive how well thought out this software is!  :+1:


After upgrading to mraa 1.0 node fails to locate libmraa.so.0

Hello,
I just upgraded my Intel Edison to the 3.0 Yocto release, so then upgraded all upgradeable opkg packages to the latest.
Then when trying the example for sensor BISS0001, node complains about a missing libmraa.so.0 file
libmraa.so.0: cannot open shared object file: No such file or directory
Intel XDK - IoT App Daemon v0.0.38 - commands: run, list, debug, status
Upload on board is not from current project - uploading complete project
No NPM modules found.
transferring /var/folders/m9/6wtq5xqx2rqgs46rq03_g_mh0000gn/T/xdk-9708nad0c8g.tar from project to board
x README.md
x icon.png
x main.js
x package.json
x xdk/project-info.json
Upload Complete

ERROR: module.js:356
ERROR:   Module._extensions[extension](this, filename);
   ERROR:                             ^
ERROR: Error: libmraa.so.0: cannot open shared object file: No such file or directory

I was able to solve this problem by creating a symbolic link with that name in /usr/lib pointing to libmraa.so.1 but perhaps this is a issue that needs to be solved
best regards!

We just need a upm release to fix. @propanu?
On 1 May 2016 9:08 a.m., "Ramón Mata"<EMAIL_ADDRESS>wrote:

Hello,
I just upgraded my Intel Edison to the 3.0 Yocto release, so then upgraded
all upgradeable opkg packages to the latest.
Then when trying the example for sensor BISS0001, node complains about a
missing libmraa.so.0 file
libmraa.so.0: cannot open shared object file: No such file or directory
Intel XDK - IoT App Daemon v0.0.38 - commands: run, list, debug, status
Upload on board is not from current project - uploading complete project
No NPM modules found.
transferring /var/folders/m9/6wtq5xqx2rqgs46rq03_g_mh0000gn/T/xdk-9708nad0c8g.tar from project to board
x README.md
x icon.png
x main.js
x package.json
x xdk/project-info.json
Upload Complete
ERROR: module.js:356
ERROR:   Module._extensions[extension](this, filename);
ERROR:                             ^
ERROR: Error: libmraa.so.0: cannot open shared object file: No such file or directory
I was able to solve this problem by creating a symbolic link with that
name in /usr/lib pointing to libmraa.so.1 but perhaps this is a issue
that needs to be solved
best regards!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/intel-iot-devkit/mraa/issues/502

I am having this identical problem. I'm a bit of a linux newbie, can you advise on the actual steps you took at the edison ssh prompt to resolve this?

Try this:
cd /usr/lib
ln -s libmraa.so.1 libmraa.so.0

regards

Thanks @ramonmata. Note that there may be some issues due to the versioning/API change in some sensors though I expect the effects to be very limited.

it's not very clear from the error message, so @arfoll, you think that's mraa Node binding problem or UPM problem, to make sure? In view of your ping for @propanu, I'd assume the latter, but maybe mraa releases are now not done by you?

Mraa releases are done by me, this API change was done on purpose since mraa's API changed slightly with 1.0.0. The next version of UPM will fix this since they will link to libmraa.so.1.

Yes, a UPM update will fix this issue, we're working on it and 0.7.0 will be out soon.

Understood, thanks.

Hi, @Propanu seems like this problem still exists, even after the upm 0.7.0 release.

To elaborate somewhat: the npm package update path is still broken in a similar way to what is descibed in this issue. Trying out the opkg builds seem to indicate they require a new version of Node than is installed by default on Yocto 3.0.

Well I have a distinct result

I have installed the latest Yocto release 3.5 doing the manual install under Linux Mint, (I had some trouble with the GUI in Windows and Linux Mint)
Then went to XDK and uploaded the same program

And works for me!
root@edison:~# uname -ar
Linux edison 3.10.98-poky-edison+ #1 SMP PREEMPT Mon Jun 6 14:32:08 PDT 2016 i686 GNU/Linux

Yocto 3.5 has node 4.4 installed as default, which appears to be the new target version. I also confirm the default install working as expected.

Just to clarify:

IoTDK 3.0 comes with Node.js 0.10 and MRAA + UPM are built against it.
IoTDK 3.5 ships with Node.js 4.4 and MRAA + UPM will work with this newer version instead.

In either case, the latest packages in the intelgalactic repos (both 3.0 and 3.5) will not have this issue anymore. IMO this can be closed.

Let us know if this crops up again!
Seems to be closed. Closing


add the ability of chosing the model

one note: the model have to _256 or _512 at the end of the name to work

Thanks for the feature @rdcdt1


Use of uninitialized warns on 1.36.0

warning: the type `unsafe extern "C" fn() -> !` does not permit being left uninitialized
    --> /home/sfackler/code/rstack/target/debug/build/dw-systest-b765583e4de77b6a/out/all.rs:7830:34
     |
7830 |                   let mut y: U = uninitialized();
     |                                  ^^^^^^^^^^^^^^^
     |                                  |
     |                                  this code causes undefined behavior when executed
     |                                  help: use `MaybeUninit<T>` instead
     |
     = note: Function pointers must be non-null

@sfackler I don't think there is a good and simple way to fix this
cc @ralfj

The code that generates that use of uninitialized tests the "call ABI" of a type. It does this by initializing a value of that type to a byte pattern where each byte contains a different value, and then passing it by value to some C code that test that these bytes did not change value.
On Rust >= 1.36.0 we could just use MaybeUninit for this, and pass the MaybeUninit to C instead. But on Rust before 1.36.0.. I don't think there is anything that we can do.
If the Rust version is old enough, repr(transparent) isn't available, so we can't use any kind of wrapper type to avoid violating the validity invariant, and at some point there must be a transmute or similar from this byte pattern to the actual type, since using the actual type is required in those versions to be able to use the correct "call ABI".

warning: the type unsafe extern "C" fn() -> !

@sfackler - slightly unrelated, but if you are using unsafe extern "C" fn() -> ! in your library FFI as a "return value" (or output argument) of C, you need to make sure that C  guarantees that it never sets it to null, or else that's UB. Using Option<unsafe extern "C" fn() -> !> fixes that issue in your library, but not in ctest tests because creating an uninitialized Option is UB as well.


Attempting to create a link token, I hit missing field error for provided country_codes

Link token generation does not seem to be functional. I get
Error generating link token: "{\n  \"display_message\": null,\n  \"documentation_url\": \"https://plaid.com/docs/#create-link-token\",\n  \"error_code\": \"MISSING_FIELDS\",\n  \"error_message\": \"the following required fields are missing: country_codes\",\n  \"error_type\": \"INVALID_REQUEST\",\n  \"request_id\": \"xj9P096w4aJK2Mk\",\n  \"suggested_action\": null\n}"
when running the following code:
const PLAID_COUNTRY_CODES: [&'static str; 2] = ["US", "CA"];

let res = client
    .link_token_create(LinkTokenCreateRequired {
      client_name: "",
      language: "",
      country_codes: &PLAID_COUNTRY_CODES,
      user: LinkTokenCreateRequestUser {
        client_user_id: bend_user.id.clone(),
        ..Default::default()
      },
    })
    .products(
      PLAID_PRODUCTS
        .iter()
        .map(|p| p.to_string())
        .collect::<Vec<_>>(),
    )
    .webhook("https://api.bend.green/webhook".to_string())
    .send()
    .await;

Note the conspicuously provided country_codes

Thanks for catching this. The vector logic only applies to a dozen or so API methods so I didn't catch this error before.
I'm confirming that the examples/link.rs file runs successfully. That example gives the client a LoggerMiddleware, so we can see the result here:
Request: Request(Request { method: POST, uri: https://sandbox.plaid.com/link/token/create, version: HTTP/1.1, headers: {"user-agent": "httpclient/0.2.0", "content-type": "application/json", "plaid-client-id": "<client id>", "plaid-secret": "<client secret>", "plaid-version": "2020-09-14"}, body: Json(Object {"client_name": String("<your client name>"), "country_codes": Array [String("US"), String("CA")], "language": String("en"), "products": Array [String("auth"), String("transactions")], "user": Object {"address": Null, "client_user_id": String("<your client user id>"), "date_of_birth": Null, "email_address": Null, "email_address_verified_time": Null, "id_number": Null, "legal_name": Null, "name": Null, "phone_number": Null, "phone_number_verified_time": Null, "ssn": Null}}) })
Response to https://sandbox.plaid.com/link/token/create: Ok(Response(Response { status: 200, version: HTTP/1.1, headers: {"server": "nginx", "date": "Fri, 26 Aug 2022 01:38:02 GMT", "content-type": "application/json; charset=utf-8", "content-length": "146", "connection": "keep-alive", "plaid-version": "2020-09-14", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", "x-frame-options": "DENY", "x-xss-protection": "1; mode=block"}, body: Hyper(Body(Streaming)) }))
LinkTokenCreateResponse {
    link_token: "link-sandbox-63e55884-5cef-445c-b5f7-bfb88c473779",
    expiration: "2022-08-26T05:38:02Z",
    request_id: "pXSHDoWUfBO1g28",
}

I also made a small quality of life improvement, so you shouldn't need to do the PLAID_PRODUCTS.iter()... dance anymore. Note you do have to pass a Vec as a reference.
For completeness, I'm pasting the example here:
#[tokio::main]
async fn main() {
    let client = PlaidClient::from_env()
        // Add this middleware to record requests, e.g. for testing.
        // Do not use the middleware in production!
        .with_middleware(httpclient::middleware::LoggerMiddleware::new());
    let item_get = client.link_token_create(LinkTokenCreateRequired {
        client_name: "<your client name>",
        language: "en",
        country_codes: &["US", "CA"],
        user: LinkTokenCreateRequestUser {
            client_user_id: "<your client user id>".to_string(),
            ..Default::default()
        },
    })
        .products(&["auth", "transactions"])
        // any of these options are valid ways to pass them in.
        //.products(vec!["auth", "transactions"])
        //.products(vec!["auth".to_string(), "transactions".to_string()])
        .send()
        .await
        .unwrap();
    println!("{:#?}", item_get);
}


Merge 5.3.1 into expander imprements

Updated expander_improvements with 5.3.1 update, since It was still on 4.4.7


ASR Model

What ML model the Chirp-captioning is using?

Currently, Chirp does not have the ability to transcribe real time speech to display captions. It is possible to extend the caption system to support real time captions, but this functionality has not been implemented yet.


Update: Microsoft.PowerToys version 0.29.3

Removing old versions to reduce clutter
Microsoft Reviewers: Open in CodeFlow

/azp run


opae.io: handle sysfs exceptions

Writing to /sys/bus/pci/drivers/vfio-pci/bind will fail if the
driver enumeration doesn't claim the device.
In recent kernels, eg 5.15, writing the same VID/DID multiple times
to /sys/bus/pci/drivers/vfio-pci/new_id will result in EEXIST. Catch
EEXIST and continue to process the device, else exit on other OSError.
Signed-off-by: Tim Whisonant<EMAIL_ADDRESS>

Coverage increased (+0.03%) to 66.055% when pulling ce798ab2cdaa5c1353a813eb7b46890bf175aa0d on tswhison/opae.io into 221124343c8275243a249eb72d69e0ea2d568d1b on master.


should have validator helper for extensions to validate their associated settings

Currently, the settings are not strictly validated and this could cause confusions to users when something wrong happens.
Learn from:

http://juixe.com/techknow/index.php/2006/07/29/rails-model-validators/
https://guides.rubyonrails.org/active_record_validations.html
https://api.rubyonrails.org/classes/ActiveModel/Validator.html
https://pdabrowski.com/blog/ruby-on-rails/validations/building-custom-validator/

The spec should be done first before implementing.

we can use https://github.com/ruby-json-schema/json-schema

we should work on this extension and use it https://github.com/teracyhq-incubator/teracy-dev-validator If the extension can provide all the functionality, we can use that extension instead of add more code to the kernel


Managing SSL/TLS Protocols and Cipher Suites for AD FS

This is the best guide to eliminating the use of older TLS protocols.
Title should be change to "Managing SSL/TLS Protocols and Cipher Suites" and server as the root of TLS documents. As this applies to a scope of products outside AD FS.

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

ID: 7ae56e74-1346-a822-2800-70db6d365376
Version Independent ID: ccf848e1-5276-1f3f-73e8-036dba9c66a7
Content: Managing SSL/TLS Protocols and Cipher Suites for AD FS
Content Source: WindowsServerDocs/identity/ad-fs/operations/Manage-SSL-Protocols-in-AD-FS.md
Product: windows-server-threshold
GitHub Login: @billmath
Microsoft Alias: billmath

#please-close

The following users don't have valid GitHub IDs, or are not collaborators on this repo: ingridatmicrosoft
gh issue comment 929 -b ingridatmicrosoft


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/79532

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/116937


Add current_tenant_id to WHERE clauses when calling methods on activerecord instance or its associations

Fixes problems when MultiTenant.current_tenant == nil (usually in a rake task or background job when tenant is not)

Say object1 = Model.create(id: 1, tenant_id: 1, ...) & object2 = Model.create(id: 1, tenant_id: 2, ...) and

object2.reload.tenant_id today returns 1
object2.update_columns(...) updates both object1 and object2

When accessing associations or calling methods on an activerecord relations, it fires multi shard queries, even when the tenant info can be inferred
e.g.,class A < ActiveRecord::Base
  multi_tenant :tenant
  has_many :bs
end

class B < ActiveRecord::Base
  multi_tenant :tenant
  belongs_to :a
end

a = A.first
a.bs
# Before: SELECT * FROM bs WHERE a_id = #{a.id}
# Now: SELECT * FROM bs WHERE a_id = #{a.id} AND tenant_id = #{a.tenant_id}

b = B.first
b.a
# Before: SELECT * FROM as WHERE id = #{b.a_id}
# Now: SELECT * FROM as WHERE id = #{b.a_id} AND tenant_id = #{b.tenant_id}

@aamederen @JelteF needing help reviewing this PR

@mintuhouse @serprex I believe this PR introduced a bug when using find_or_create_by when the block is no longer called when the record does not exists.
I am not 100% sure if it's this PR but the new version of this gem broke some tests and seeds we have, where we do something like this
      membership_obj = member.memberships.find_or_create_by!(account: account, product: product) do |membership|
		puts "Called Method"
        membership.start_date = start_date
        membership.state = purchase_status
        membership.subscriber_code = subscriber_code
        membership.offer = offer
      end

the block is never called, so it raises an exception because the validation fails, since offer, start_date etc are all required fields
also we never got the puts after the gem change, on the console the queries for find look OK, its just the block is not called for objects that are not found and rails tries to save the object with just the parameters used on the find_or_create_by!


refactoring log and test enviroment

What would you like to be added?
테스트 환경 세팅 개선
Why is this needed?
Deprecated 함수 제거

Deprecated 함수로는 어떤 게 있나요?


[BUG]: Random failure in the artifact "windows-vsts-build-agent" in Azure DevTestLabs with error "Invalid windows credentials entered" during virtual machine creation

What happened?
Issue reported by our Internal users.
DevReady is our internal tool to create virtual machines to test our builds.
We are using Azure DevTestLabs template to create virtual machines.
Today I have seen two instances of artifact failures during virtual machine creation.
LabName -
/subscriptions/61cf8881-3b74-496e-b6cf-07aa12058f8b/resourceGroups/cfe-dev-lab-rg/providers/Microsoft.DevTestLab/labs/CFE-Dev-Lab
Success Scenario - Virtual Machine Name - v-parrsDR967
Failed Scenario - Virtual Machine Name - v-parrsDR668
I have attached the logs from both of the machines from the location - C:\Packages\Plugins\Microsoft.Compute.CustomScriptExtension\1.10.15\Status
Issue has been observed in 7.status file.
Today Morning I have requested 3 dev ready machines using our internal tool dev ready. In that 2-machine creation was successful and one was failure (machine created but failed in the artifact windows-vsts-build-agent). We are using the same ARM template to create all the Virtual machines. If some issue is there then all the 3 machines should have failed.
Status_Failure.zip
Status_Success.zip
Versions
Azure DevOps version Dev19.M234.1 (AzureDevOps_M234_20240304.1) / Windows 11 Enterprise Version 23h2
Environment type (Please select at least one enviroment where you face this issue)

[X] Self-Hosted
[ ] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
AzureDevOps_M234_20240304.1
Operation system
Windows 11
Version controll system
No response
Relevant log output
[2024-03-06 05:33:42Z INFO CommandSettings] Arg 'windowslogonaccount': 'redmond\autorisy'
[2024-03-06 05:33:42Z INFO WindowsServiceControlManager] LogonAccount after transforming: redmond\autorisy, user: autorisy, domain: redmond
[2024-03-06 05:33:43Z INFO CommandSettings] Arg 'windowslogonpassword': '***'
[2024-03-06 05:33:43Z INFO NativeWindowsServiceHelper] Verify credential for account autorisy.
[2024-03-06 05:33:43Z INFO NativeWindowsServiceHelper] Credential for account 'autorisy' is invalid.
[2024-03-06 05:33:43Z INFO CommandSettings] Flag 'unattended': 'True'
[2024-03-06 05:33:43Z ERR  Agent] System.Security.SecurityException: Invalid windows credentials entered. Try again or ctrl-c to quit
   at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.WindowsServiceControlManager.ConfigureService(AgentSettings settings, CommandSettings command) in D:\a\1\s\src\Agent.Listener\Configuration.Windows\WindowsServiceControlManager.cs:line 105
   at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.ConfigureAsync(CommandSettings command) in D:\a\1\s\src\Agent.Listener\Configuration\ConfigurationManager.cs:line 421
   at Microsoft.VisualStudio.Services.Agent.Listener.Agent.ExecuteCommand(CommandSettings command) in D:\a\1\s\src\Agent.Listener\Agent.cs:line 103
[2024-03-06 05:33:43Z ERR  Terminal] WRITE ERROR: Invalid windows credentials entered. Try again or ctrl-c to quit

Agent_20240306-053331-utc.log

@ParthibanRamasubbhuSekar  thanks for reporting! We are working on more prioritized issues at the moment, but will get back to this one soon.


Readme template links fix

Well this is kind of embarrassing :sweat_smile: Thanks for the fix, LGTM!


Bug - AshUUID will not compile if resource has reference to itself

If you have a resource with a relationship to itself, ash_uuid will fail to compile for that resource.
For example, if I have this resource:
defmodule FeedbackCupcake.Feedbacks.Template do
  use Ash.Resource,
    data_layer: AshPostgres.DataLayer,
    extensions: [ AshUUID]

  attributes do
    uuid_attribute :id
  end

  relationships do
    belongs_to :from_template, FeedbackCupcake.Feedbacks.Template do
      allow_nil? true
      attribute_writable? true
    end
  end

  postgres do
    table "templates"

    repo FeedbackCupcake.Repo
  end
end

Will give the following error:
[sezdocs@fedora feedback_cupcake]$ mix compile
Compiling 5 files (.ex)

== Compilation error in file lib/feedback_cupcake/feedbacks/template.ex ==
** (RuntimeError) Exception in transformer AshUUID.Transformers.BelongsToAttribute on FeedbackCupcake.Feedbacks.Template:

function FeedbackCupcake.Feedbacks.Template.spark_dsl_config/0 is undefined (module FeedbackCupcake.Feedbacks.Template is not available)
    FeedbackCupcake.Feedbacks.Template.spark_dsl_config()
    (ash_uuid 0.2.2) lib/ash_uuid/transformers/belongs_to_attribute.ex:21: anonymous fn/2 in AshUUID.Transformers.BelongsToAttribute.transform/1
    (elixir 1.15.4) lib/enum.ex:4393: Enum.reject_list/2
    (elixir 1.15.4) lib/enum.ex:4396: Enum.reject_list/2
    (ash_uuid 0.2.2) lib/ash_uuid/transformers/belongs_to_attribute.ex:15: AshUUID.Transformers.BelongsToAttribute.transform/1
    (spark 1.1.22) lib/spark/dsl/extension.ex:679: anonymous fn/4 in Spark.Dsl.Extension.run_transformers/4
    (elixir 1.15.4) lib/enum.ex:4830: Enumerable.List.reduce/3
    /run/host/home/sezdocs/projects/feedback_cupcake/lib/feedback_cupcake/feedbacks/template.ex:1: (file)

This issue should be resolved in v0.3.0 just released.
Thanks for the feedback @sezaru let me know if it works as expected 😉


feat: support workspace lints

Motivation

Closes https://github.com/ipetkov/crane/issues/480 - there could probably be a nicer way to handle this, but I went with the simplest approach I could come up with - note that it appears that lints.workspace = true does not support per-crate overrides of the workspace setting at this time, so we don't actually need to merge anything within the crates themselves.
Checklist

[x] added tests to verify new behavior
[ ] added an example template or updated an existing one
[ ] updated docs/API.md (or general documentation) with changes
[x] updated CHANGELOG.md

Thanks for fixing this! I peeked at the cargo sources, looks like it doesn't support inheritance and overrides (you can either inherit the workspace lints, or you have to inherit nothing) so this approach looks good!


WIP: revamp numeric sets

Fixes #46.
This PR is a work in progress, do not merge.

closing in favor of smaller PRs


Please include a Changelog

Kindly add a Changelog to maintain a more transparent history of changes.

@stalinkay yep, we should start logging the versions, thanks for mentioning it

reopening, will take a look at this


LOG4J2-2707: ArrayIndexOutOfBoundsException in UuidUtil, when MAC add…

LOG4J2-2707: ArrayIndexOutOfBoundsException in UuidUtil, when MAC address is longer than 6 bytes
https://issues.apache.org/jira/browse/LOG4J2-2707

You'll need some kind of unit test to show what was broken and is now fixed.

You'll need some kind of unit test to show what was broken and is now fixed.

I'd love to provide one, but I wouldn't know how. To create a unit test for this case, I'd have to be able to mock NetUtils.getMacAddress() and return a longer than six bytes mac address. But that is not possible, because NetUtils is a final Utility class.
I documented in the Jira issue what exactly was broken and will be fixed by this Pull-Request. I hope this will be enough to get this Pull-Request merged.

I will review this in the next few days.

I'd love to provide one, but I wouldn't know how.

Simple: Refactor the static initializer into a package private static method that takes a byte array. Call that byte array from a new test.

I'd love to provide one, but I wouldn't know how.

Simple: Refactor the static initializer into a package private static method that takes a byte array. Call that byte array from a new test.

I refactored and added a unit test. I hope I did it, how you meant it.

Do NOT merge this. I need to review it.


provide convenience method for getCustomerInfo

getting the subscription status by calling getCustomerInfo is the most basic function everybody seems to need to use.
Somehow this is not provided by the PurchasesExtensions class
I thought to just use the Login method instead (since it also returns a CustomerInfo object as a result).
But a RC employee said I should not be calling this method multiple times.
Why is this method not provided? Do you use the same Login - replacement that I was using in your own code as well?
https://community.revenuecat.com/sdks-51/getting-an-expired-entitlement-but-also-item-already-owned-when-trying-to-purchase-2146?postid=6814#post6814

@sjorsmiltenburg As you mentioned correctly, all the methods provided by the extensions project are just convenience methods. Therefore, you could call Purchases.GetCustomerInfo directly.
Contributions, which are adding convenience methods you miss are always welcome. If you need assistance on contributing, feel free to ping me on Gitter.


DK2.0: PIP needs to be 2.0 and name of component needs to change to dronekit

Currently the generated egg is version 1.5 and the module is droneapi.

I think this is the time to change it to dronekit or dronekit-python.
Remove mavproxy dependency (if present) and anything else that is not needed by dronekit

Done.


httpx_auth integration - OAuth2, AWSSigV4, and more

Using httpx_auth in the glue files so that the httpx authentication parameter is used as much as possible. The changes were designed to handle combination authentication methods. It brings support for OAuth2, AWSSigV4, and more.
Any authentication method in the httpx_auth library can be used directly and dynamically. In order to ensure Security Schemes Objects continue to follow the OpenAPI specifications, the type must be set to "http" and the scheme can be set to any of the httpx_auth classes that extend the httpx.Auth class.
Example Spec:
spec = {...}
spec["components"]["securitySchemes"]["sigv4"] = {"type": "http", "scheme": "aws4auth"}

api = OpenAPI("fict.iv", document=spec)
api.authenticate(
    apiKey="asdf1234",
    sigv4={
        "access_id": "my-access-id",
        "secret_key": "my-secret-key",
        "service": "execute-api",
        "region": "us-east-1",
    },
)

Hi,
I'd be more comfortable if httpx-auth was optional and not a hard requirement.
I'll have a look myself and get this merged.
Thanks

That's understandable. In that case, this would probably best be handled by an Authentication plugin of some kind. Although, that may be outside of my development window for the near future.

Could you test https://github.com/commonism/aiopenapi3/tree/Esquire-Media/master ?
My changes https://github.com/commonism/aiopenapi3/commit/81b4f1b928f2a3cace4fc1103d127356920455ef
I'll have to document httpx_auth & https://github.com/Colin-b/httpx_auth/pull/48 somehow additionally.

My apologies, I'm just now seeing your request. Thank you for reviewing, cleaning up, and merging my code. With the issue being close, is there anything you need from me at this point?

No - this is settled.
As I intent to migrate master/HEAD to pydanticv2 I created a new release with the feature for use via pip.


upgrade kustomize 4.5.7

@MichaelSp thank you so much for the PR! It looks good to me!

@MichaelSp
v0.9.2 has been released! thanks for the contribution!
https://github.com/yokawasa/action-setup-kube-tools/releases/tag/v0.9.2
https://github.com/marketplace/actions/setup-kubernetes-tools


spatio-temp function creates off the chart bycatch estimates (BPUE real)

Not sure where the error is, but the function creates very high byctach numbers.

It is the random vessel effect that produces very high bycatch-estimates in the spatio-temp function...its implemented as in the function without spatio-temp, so hard to say why.

Moved vessel-effect inside loop, so that it is applied to the temp file (per day) rather than the complete fishery


Fix typos on Interview 11

Fix column name typo: song_id -> song
Fix links to 'the last one' and 'the same dataset'

Hi @shawlu95 ,
Please kindly take a look when it is convenient for you!


@conda-forge-admin, please add bot automerge

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/markdown-include-feedstock#4.


Clean starter kit

Thanks for creating this repo.  Could you move the todo example outside the starter kit?  Having an example is very useful, but if you want to use this as a starter kit, you have to remove the todo example source code. If the example were in its own folder (or own repo) it would be a lot simpler to get up and running.
Thanks!

Hey, definitely agree with you; I'll clean it up in a little bit.

Awesome! And thanks for the quick response and resolution

Hey let me know what you think of this PR: https://github.com/davezuko/react-redux-starter-kit/pull/22
It removes all Todo components, constants, actions, and the unnecessary about view. It keeps a sample reducer/store so that devTools work and show something meaningful, but it's all pretty barebones.

:+1:
This looks much better from a starter kit perspective.  The only suggestion I'd make is having the Todo example as a separate repo (if you want) because I found your examples useful, not to mention high code quality.
Thanks again!

Awesome, I'll keep the old one as a branch for now and reference it in the README in case people want to take a look. When I get some time I'll consider pulling it into separate repo like you suggested. Thanks for taking a look!

This has been implemented with https://github.com/davezuko/react-redux-starter-kit/commit/82a4ee6c1e32b8f43199e3034493bc696e899489

The todo example was really important for me as I could learn how everything works. For example, I was wondering where to put my todo.jsx or todo-list.jsx as it's not a container nor a view.
An other branch is still very fine as long as you/we can keep the todo example synced and up to date. I hope it won't fall behind.

@ioRekz I'll definitely do my best to keep it updated to reflect any changes to the starter kit. I originally planned on migrating it to another repo, but thinking about it now it almost makes sense to keep it as a branch that way people are free to switch in and out of it while learning playing around with the starter kit.
Do you think that will work OK, or were you more in favor of keeping that in the base starter kit? The example could go either way, either it being in the master and a clean slate being in a branch, or vice versa (as it is currently).

The branch is actually nice, I didn't see that a lot before but that make sense and it's already more useful for me than separate repo. Concerning which branch should be master, I'm not sure. For me the todo example was really useful so I can show my team mates how everything works but I understand the benefit of a minimal starter kit. Time will probably tell what people are looking for.

Yeah we'll just have to wait and see. I'll update the README to make the example branch more prominent and see where that takes us.


Panic if SpinLock locked in interrupt context

Fixes #471.
This involves creating a newtype wrapper around spin::Mutex to check when locking if the number of interrupts being serviced is currently zero.

It looks like maybe I should fiddle with this a bit more if syscall context is not considered irq context. (Is it? It's the only 'interrupt' where interrupts are not disabled.) maybe add an extra thing to the macro?

Indeed, syscalls context isn't interrupt context 😕

Thanks for the feedback, I'll try to get to that today. Fixing syscall context in particular is going to be annoying (but that'll also lay the groundwork for switching back to counter-based SpinLockIRQ, i think.)

LGTM, can get merged after a rebase :)


When setting the last host into maintenance in a cluster, all the VMs transition to STOPPED

ISSUE TYPE

Bug Report
Improvement Request

COMPONENT NAME

API

CLOUDSTACK VERSION

4.14

CONFIGURATION

OS / ENVIRONMENT

SUMMARY

This is not the best behaviour I believe, when  the last host from a cluster is set to maintenance all the vms are being stopped. This causes immediate downtime without any confirmation. At least the admin should be asked to confirm if they want to do that
STEPS TO REPRODUCE

1. have a cluster of hosts, with some vms on a host under test
2. make sure all hosts are wither in maintenance or disabled
3. Set the last host into Maintenance

EXPECTED RESULTS

I would expect host to transition in ErrorInMaintenance state and all VMs left running

ACTUAL RESULTS

All VMs are STOPPED and host is in Maintenance

looks like it's being reported already, closing this one.
#3707


The API name appears incorrectly after creating the API with Chinese letters

Description:
Created a API with API name "电话验证" (Chinese letters).  But API created with name "????".
After API manager 2.0.0 release product allows API creation with any language (for H2 DBs ) without any configurations. [1]
[1] https://medium.com/working-with-wso2-products/how-to-use-non-english-languages-with-wso2-api-manager-851a3124c436
Suggested Labels:
Type/bug
Priority/High
Affected Product Version:
2.6.0
DB:
H2
Steps to reproduce:

Create the API with name "电话验证" and all mandatory values.
Check created API name

I’m closing this issue because it has been inactive for more than two years. Please reopen if you still encounter this issue with the latest version.


Working with attributes

I have the following model structure:
{
  "_id": ObjectId("55ed6d16e7d36a112212abf1"),
  "type": "questions",
  "attributes": {
    "title": "Test title",
    "text": "Test text",
    "updated": ISODate("2015-09-07T10:55:18.360Z"),
    "created": ISODate("2015-09-07T10:55:18.360Z")
 }
}

And model:
use Jenssegers\Mongodb\Model as Eloquent;
class Question extends Eloquent  {
}

Object $question doesn't receive any attributes, except "attributes" method with array inside.
$question = Question::all()->first();
$question->attributes['title'];

How to get and set properties like $question->title?

I think it's probably getting confused with Eloquent's own attributes property.  Can you rename it?  If not, perhaps you could do something like $question->getAttribute('attributes')['title'];


Automatically Detect and Select COM Port

Updated the code to automatically detect and select the first available COM port if present. If no ports are found, the user will be prompted to manually input the COM port. This change enhances user convenience and streamlines the port selection process

Automatic Means non-freedom


"Reference Error: React is not defined" with server side rendering. How to implement in an isomorphic context?

Hi!
This is likely just a configuration issue on my part, but I'm getting the following error message when attempting to use this loader in an isomorphic react app:
error:
/Users/Tom/Code/src/svg/circle.inline.svg:3
React.createElement(
^

ReferenceError: React is not defined
    at Object.<anonymous> (circle.inline.svg:1:1)
    at Module._compile (module.js:413:34)
    at loader (/Users/Tom/Code/node_modules/babel-register/lib/node.js:148:5)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/Tom/Code/node_modules/babel-register/lib/node.js:158:7)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (BlockAdComponent.js:3:1)
    at Module._compile (module.js:413:34)

webpack loader config:
      {
        test: /\.inline.svg$/,
        loader: 'babel!svg-react',
      },

contents of SVG file:
<svg
  version="1.1"
  xmlns="http://www.w3.org/2000/svg"
  x="0px"
  y="0px"
  viewBox="0 0 100 100"
  enable-background="new 0 0 100 100"
>
  <circle
    className="svg-inline-circle"
    cx="50"
    cy="50"
    r="48"
  >
  </circle>
</svg>

simplified example of how the SVG is being imported:
import React from 'react';
import Circle from 'svg/circle.inline.svg';

class BlockComponent extends React.Component {

  render() {
    const { config, swipeArrows } = this.props;
    return (

        <Circle className="block-ad__circle" />

    );
  }
}

export default BlockComponent;

The setup instructions I followed were from this guide (method 2)
Environment is:
Node: 5.5.0
NPM: 2.15.9
Webpack: 1.13.1
React: 0.14.0
svg-react-loader: 0.3.7
Express: 4.14.0
A coworker had this working on his local via a simple webpack-dev-server, however while attempting to implement it into an isomorphic react context (express server backened), I am now getting this error.
If you need any other info from me please feel free to ask. Any help much appreciated.

Any ideas? Think the root issue is it's unclear how to implement this in an isomorphic (server side) environment.

@tconroy can you get a look at the transpiled source of circle.inline.svg and post it here?

@jhamlet sure -- I believe this is it, ripped from the bundle file:
/***/ },
/* 137 */
/***/ function(module, exports, __webpack_require__) {

	'use strict';

	var React = __webpack_require__(11);
	var helpers = __webpack_require__(138)(__webpack_require__(139));

	module.exports = React.createClass({

	    displayName: "CircleInline",

	    getDefaultProps: function getDefaultProps() {
	        return { "version": "1.1", "xmlns": "http://www.w3.org/2000/svg", "x": "0px", "y": "0px", "viewBox": "0 0 100 100", "enableBackground": "new 0 0 100 100" };
	    },
	    componentDidMount: function componentDidMount() {
	        helpers.applyXmlAttributes(this);
	    },
	    render: function render() {
	        var props = this.props;
	        var children = props.children;

	        return React.createElement(
	            'svg',
	            this.props,
	            React.createElement('circle', { className: 'svg-inline-circle', cx: '50', cy: '50', r: '48' }),
	            React.Children.map(children, function (c) {
	                return c;
	            })
	        );
	    }
	});

/***/ },

Interesting. You're getting the error on the React.createElement call... not on the createClass call...
In that same source what is /* 11 */ pointing to (I'm assuming its react).
Are you using React in other places (again, I would assume so)? Are they pulling in the same module number (11)?
Something to try: In your node_modules/svg-react-loader/utility/template.txt can you add a line after var children = props.children' in the render() method:
var React = require('react');

first off -- thank you for your help. hope we can solve this!
/* 11 */ does seem to point to React, and is required extensively throughout the app:
/* 11 */
/***/ function(module, exports) {

	module.exports = require("react");

/***/ },

I've added in an example implementation to my original post (at the end) showing how I'm actually using the SVG inside a component ( pretty basic ).
Adding the React require to template.txt resulted in the same error (ReferenceError: React is not defined).

so some minor clarification / correction on my part:
The error is occurring when I try to run our start-dev NPM command. That command looks like this:
"start-dev": "NODE_ENV=dev APP_API_HOST=http://api.domain.com/ APP_STATS_API_HOST=http://statsapi.domain.com:8080 babel-node ./src/server.js",

Interesting.
Are you pre-compiling with webpack before this step?

Not sure what to say, or where to go from here...
Is it possible you can create a stripped-down version of your project that reproduces this issue? With that I can then do some debug-runs on my end.

Hi @jhamlet -- no, no pre-compiling with webpack prior to this step. I will try and create a stripped down version when I have some time this weekend. Thank you for your help.

@tconroy on another note: I'm getting ready to publish v0.4.0 as latest. You can try it out with npm install svg-react-loader@next and see if the problem goes away (I removed the need for the babel compiler).

@jhamlet good to know, thanks. I'll give it a shot. My guess was this issue was being caused somewhere in the babel transpiration so maybe that'll help.

@tconroy Any progress on this? Did v0.4.0 solve the problem? Did you get the chance to create a smaller sample repo that reproduces the issue?

hi @jhamlet  -- apologies for the delay, been busy and haven't gotten around to this since removing from the project. will keep you posted!

Hi @jhamlet - First off, thank you for your efforts on this loader!
I am getting this same error when running tests with Mocha. My Mocha config is
mocha tools/test-setup.js \"src/**/*.spec.js\" --reporter progress --compilers js:babel-register

It doesn't happen when running the application, just the tests. Version 0.4.0-beta2 didn't fix the issue.
Just wondering if you had had any further thoughts on this issue since August? Thanks very much :)

OK, I worked it out. When testing with Mocha, it's not even using the webpack config. So mocha on it's own just doesn't know how to handle a raw SVG file being imported as it isn't a javascript file. I don't quite understand why it was failing on React.createElement within the SVG as that kind of implies the loader has converted it, but can't find a dependency? Perhaps the error isn't correct?
Either way, I found 2 ways around it. Option 1 is to use mocha-webpack and compile everything with webpack before testing. I didn't go down that path though.
Option 2 is what I have done and is to remove the SVG extension from those that are imported with mocha and use babel-plugin-rewire to overwrite the import statement for the SVG. The whole thing looks like this now:

My mocha command in package.json

"test": "mocha tools/test-setup.js \"src/**/*.spec.js\" --reporter progress"

My test-setup.js file

require('babel-register')({
  plugins: ['babel-plugin-rewire']
})
require.extensions['.svg'] = () => null;

Then in a test file, then do something like...

import ComponentUnderTest from './ComponentUnderTest'
ComponentUnderTest.__Rewire__('SVGImport', () =>
SVGPlaceholder
);

meet this problem,try:
plugins: [
  new webpack.ProvidePlugin({
    "React": "react",
  }),
],

Thanks @onvno!

Hi there. I don't use svg-react-loader but instead svg-sprite-loader. Nevertheless I see that both are bringing the same issues... @tconroy did you manage after all fix your issue. I also use a isomorphic app and I'm getting the same error:
[0]     "stack": [
[0]       "ReferenceError: React is not defined",
[0]       "    at Object.<anonymous> (/front/assets/img/sprite.svg:1:1)",
[0]       "    at Module._compile (module.js:571:32)",
[0]       "    at loader (/node_modules/babel-register/lib/node.js:144:5)",
[0]       "    at Object.require.extensions.(anonymous function) [as .js] (/node_modules/babel-register/lib/node.js:154:7)",
[0]       "    at Module.load (module.js:488:32)",
[0]       "    at tryModuleLoad (module.js:447:12)",
[0]       "    at Function.Module._load (module.js:439:3)",
[0]       "    at Module.require (module.js:498:17)",
[0]       "    at require (internal/module.js:20:19)",

Webpack config:
..
      {
        test: /\.svg$/,
        loader: 'svg-sprite-loader',
        include: path.resolve(__dirname, 'front/assets/img/')
      }
..

jsx-1:
import React from 'react'
import '../../../assets/img/sprite.svg'

const Icon = ({ type, fill, size, padded, id }) => (
  <svg ...>
    <use xlinkHref={`#sprite-${type}`} />
  </svg>
)

export default Icon

jsx-2:
import Icon from '../icon.jsx'

<Icon type='customize' size='--medium' />

Any help would be extremely appreaciated.

Here is reproducible example https://github.com/stereobooster/comparison/tree/aphrodite-ssr
git clone https://github.com/stereobooster/comparison.git
cd comparison/examples
yarn install
cd aphrodite
yarn server

ReferenceError: React is not defined
    at Object.<anonymous> (comparison/examples/shared/assets/reply.svg:1:1)

Also requires babel-node (facepalm)

@onvno Yep, it's working

similar issue with svg-sprite-loader https://github.com/kisenka/svg-sprite-loader/issues/40

meet this problem,try:
plugins: [
  new webpack.ProvidePlugin({
    "React": "react",
  }),
],

excuse me, can you tell me the reason


fix(cli): properly detect XSPEC_HOME

Using $(dirname "$0") is not a safe way to get the location of a running script.
For example, if you run:
cd ~/xspec/bin
./xspec.sh -h

the value of XSPEC_HOME will be .. Not what you want. More reliable to cd && pwd

Thanks for finding and fixing the issue.
Can you refine the line? shellcheck is complaining about missing quotes: https://github.com/xspec/xspec/runs/4239689718?check_suite_focus=true#step:5:15

@mcwayliffe
Thanks for the new commit.
Now I added a regression test 72d0105c45fc5960471acd9a41f4a161a4d7d321 to your branch. Does it look good to you? If so (or if you don't care about the test), I'll merge this pull request.

@AirQuick LGTM :+1:


fix(installer): fix helm repository property value duplications on helm upgrade

fixes: #5248

This PR is obsolete. Closing it.


Make it possible to specify languages in configuration phase

Currently languages are hard coded and we cant edit the list of languages without having to rebuild.
With this change it would be possible to inject the language object at config phase.

@fr6nco could you please explain me why it is needed?

I wanted to inject Slovak language, it seems to me, that it is not possible to set a language via config. Perhaps Im missing something? It seems to me that adding a new language requires a new version release.

okay i will check, thanks

Basically adding this custom language this way - it was not intended, you will loose the possibility to use multi language support. I will look at it in near future and add a possibility to add a custom language.

Not sure it breaks the initial idea, I was able to add 2 languages (EN and SK) with this config:
      NgxCookieConsentModule.forRoot({
        availableLanguages: ['en', 'sk'],
        defaultLanguage: 'sk',
        languages: languages as any,
        showLanguageSwitcher: true,
        showFunctionalCookies: false,
        showOtherTools: false,
        showMarketingCookies: false,
        imprintUrl: {
          en: 'https://www.numeroart.com/contact/',
          sk: 'https://www.numeroart.sk/kontakt/',
        },
        privacyPolicyUrl: {
          en: 'https://www.---.sk/gdpr/',
          sk: 'https://www.---.sk/gdpr/',
        },
      })

whereas the languages is exported as:
export { lang_en } from 'ngx-cookie-consent-tbo';
export { lang_sk } from './sk.language';

(I've forked your repo and published to npm, thus 'ngx-cookie-consent-tbo')
Another thing that did not work was the flag, I had to add the css for the slovak flag.


RESOURCE NOT CREATED AWS::CloudFormation::WaitCondition

Dear all,
I'm new in AWS and I've problem in the creation of a stack. Indeed, I followed the instructions in:
https://aws.amazon.com/it/blogs/compute/deploying-a-burstable-and-event-driven-hpc-cluster-on-aws-using-slurm-part-1/
but, at the end, the stack continued to have the state CREATE_IN_PROGRESS. I checked the resources and the only resources IN_PROGRESS (other resources were created) is:
AWS::CloudFormation::WaitCondition
Any suggestions, please?
Thank you for your time.
Best regards,
Christian

Thank you for trying it out, that is expected, unless it ends in a timeout error the WaitCondition is waiting for a signal from the SLURM headnode that it finished installing the assets, it takes time as we are compiling SLURM.

Ok, thank you for your replay. But I waited more than 20 minutes and it goes in a timeout error. Do you have suggestions, please?
Thank you for your time.
Best regards,
Christian

Reprovision the stack and log into the headnode once its created. If any errors pop up you can see it with journalctl -f  it could also be possible to get a System Log from the EC2 console and errors may show up there. following the journal will be more verbose.
Once you do that paste the end of the log here and we can see what the error is.

Hi,
I'm new in AWS and I don't know how I can log the headnode and launch the command "journalctl -f". Could you provide some indications, please? However, I post in the following line the detail about the failure for AWS::CloudFormation::WaitCondition :
CREATE_FAILED | AWS::CloudFormation::WaitCondition | SlurmManagementEC2WaitCondition | Failed to receive 1 resource signal(s) within the specified duration
Thank your for your time.
Regards,
Christian

During Cloudformation, you will see an entry for the EC2 instance that refers to the SLURM management node. Once its up in your EC2 Console you can connect to it through ssh.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstancesLinux.html

Hi,
If I go in my EC2 console, I see the instance created with Stack. The problem is the instance will stop, after few seconds that it starts (In "Status Check", it is in "Initializing" state when the instance run for short time.) In this way, I can't access to instance with ssh and I don't know why the instance has this problem, nevertheless from Stack the instance creation is ok:

Christian

When an EC2 is created it starts in the initialized state, in a few moments it will reach running state in which you can ssh onto and run the journalctl command. Suggest reading up on the basics of EC2 before attempting to run this cloudformation stack. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html

Dear Amr,
Ok thank you for your information about EC2. However I tried to log onto when it is in running state without success. I used ssh with linux terminal and I didn't receive replay but ssh stays pending.
To check If I have problem with ssh, I used the same key with an instance that I created independently from Stack: I didn't have problem in that case.
Regards,
Christian

In the CF stack it should ask you which key you want to use from the drop down menu, that key should be the same as what you use. Without seeing the error stack can you send me a screenshot of the s3 bucket contents where you are sourcing all the scripts?

Yes, I use the same key. I attached the screenshot of the S3 bucket contents: folder, file and file content

Dear amrragab8080,
any other suggestion, please?
Thank you for your time.
Regards,
Christian

The screenshot is not the expected output of the S3 bucket. In the documentation did you sync the the github directory with a s3 bucket. All the files and assests should be there.


[admin] Publish

Docs Build status updates of commit 15c28d6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/develop/create-addin-commands.md
:white_check_mark:Succeeded
View

docs/images/configured-debug-type-error.jpg
:white_check_mark:Succeeded
View

docs/overview/office-add-in-availability.md
:white_check_mark:Succeeded
View

docs/overview/office-add-ins-community-call.md
:white_check_mark:Succeeded
View

docs/reference/manifest/action.md
:white_check_mark:Succeeded
View

docs/reference/manifest/control-button.md
:white_check_mark:Succeeded
View

docs/reference/manifest/control-menu.md
:white_check_mark:Succeeded
View

docs/reference/manifest/control-mobilebutton.md
:white_check_mark:Succeeded
View

docs/reference/manifest/control.md
:white_check_mark:Succeeded
View

docs/reference/manifest/enabled.md
:white_check_mark:Succeeded
View

docs/reference/manifest/extensionpoint.md
:white_check_mark:Succeeded
View

docs/reference/manifest/icon.md
:white_check_mark:Succeeded
View

docs/reference/manifest/item.md
:white_check_mark:Succeeded
View

docs/reference/manifest/items.md
:white_check_mark:Succeeded
View

docs/reference/manifest/officemenu.md
:white_check_mark:Succeeded
View

docs/reference/manifest/overriddenbyribbonapi.md
:white_check_mark:Succeeded
View

docs/reference/manifest/supertip.md
:white_check_mark:Succeeded
View

docs/reference/requirement-sets/keyboard-shortcuts-requirement-sets.md
:white_check_mark:Succeeded
View

docs/testing/debug-desktop-using-edge-chromium.md
:white_check_mark:Succeeded
View

docs/testing/debug-with-vs-extension.md
:white_check_mark:Succeeded
View

docs/testing/unit-testing.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

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


Minor Converge Import Fix

@gauravr in the hindsight, this is not needed.
If converge is installed import settings simply import converge style settings otherwise user may use settings.py

@gauravr in the hindsight, this is not needed.
If converge is installed import settings simply import converge style settings otherwise user may use settings.py

@shon import settings fails if we have settings folder.


[WIP] Fix Users module for FreeBSD

FreeBSD is not using lastlog, but is using lastlogin.
This patch fix this issue

Found a very interesting bug:
by default, the shell in csh, which is very different from bash and sh. It will make the for loop completely fail.


tour: Channels unnecessarily complicated

Context: https://tour.golang.org/concurrency/2
This section is much harder to grasp than the others, as newcomer. The array slicing and values make it harder to comprehend. Original:
    a := []int{7, 2, 8, -9, 4, 0}
[...]
	go sum(a[:len(a)/2], c)
	go sum(a[len(a)/2:], c)

Using simpler array 1,2,3... and changing the following to reference using hard-coded lengths (or even just two different arrays) would make it much easier to understand the logic and derive what is happening based on the output.
func sum(a []int, c chan int) {
	sum := 0
	for _, v := range a {
		sum += v
	}
	c <- sum // send sum to c
}

func main() {
	a := []int{1, 2, 3, 4, 5, 6}

	c := make(chan int)
	go sum(a[3:], c)
	go sum(a[:3], c)
	x, y := <-c, <-c // receive from c

	fmt.Println(x, y, x+y)
}

The resulting output is then: "15 6 21"
Edit: Being nicer after reading Community Guidelines.

I've submitted a CL that is more of a suggestion at this point than an actual fix. I think that making it clear up front to the reader what the code example is trying to accomplish (compute the sum of a slice in parallel) will make it easier to see what the a[:len(a)/2] stuff means and why it is there.


new synonym for abnormal platelet shape: platelet dysplasia

term label
MP:0003405 abnormal platelet shape

Synonyms
platelet dysplasia

We generally use dysplasia as a synonym for abnormal morphology terms (in this case, abnormal platelet morphology MP:0004720). Dysplasia refers to the abnormal shape and appearance, or morphology, of a cell/tissue/organ.

Added "platelet dysplasia" as a new synonym for abnormal platelet morphology MP:0004720 (NOT as a synonym for abnormal platelet shape MP:0003405).


Errors maybe because of Phyton version

Use Phyton 3.7.0 after a full reinstall of Domoticz. I see this error now.
Used 3.6.4 Phyton before without errors.
2018-08-28 20:58:22.293  Status: (Kodi) Started.
2018-08-28 20:58:22.495  Status: (Kodi) Entering work loop.
2018-08-28 20:58:22.496  Status: (Kodi) Initialized version 2.4.3, author 'dnpwwo'
2018-08-28 20:58:22.507  (Kodi) Update 9:'Screensaver' (Kodi - Status)
2018-08-28 20:58:22.514  (Kodi) Update 10:'10' (Kodi - Source)
2018-08-28 20:58:22.520  (Kodi) Update 2:'100' (Kodi - Volume)
2018-08-28 20:58:22.525  (Kodi) Update 0:'0' (Kodi - Playing)
2018-08-28 20:58:22.576  (Kodi) Connected successfully to: <IP_ADDRESS>:9090
2018-08-28 20:58:22.627  Error: (Kodi) 'onMessage' failed 'AttributeError':''dict' object has no attribute 'decode''.
2018-08-28 20:58:22.627  Error: (Kodi) ----> Line 632 in '/home/pi/domoticz/plugins/Domoticz-Kodi-Plugin/plugin.py'
2018-08-28 20:58:22.627  Error: (Kodi) ----> Line 144 in '/home/pi/domoticz/plugins/Domoticz-Kodi-Plugin/plugin.py'
2018-08-28 20:58:22.627  Error: (Kodi) 'onMessage' failed 'AttributeError':''dict' object has no attribute 'decode''.
2018-08-28 20:58:22.628  Error: (Kodi) ----> Line 632 in '/home/pi/domoticz/plugins/Domoticz-Kodi-Plugin/plugin.py'
2018-08-28 20:58:22.628  Error: (Kodi) ----> Line 144 in '/home/pi/domoticz/plugins/Domoticz-Kodi-Plugin/plugin.py'
2018-08-28 20:58:22.678  Error: (Kodi) 'onMessage' failed 'AttributeError':''dict' object has no attribute 'decode''.
2018-08-28 20:58:22.678  Error: (Kodi) ----> Line 632 in '/home/pi/domoticz/plugins/Domoticz-Kodi-Plugin/plugin.py'
2018-08-28 20:58:22.678  Error: (Kodi) ----> Line 144 in '/home/pi/domoticz/plugins/Domoticz-Kodi-Plugin/plugin.py'

You need to upgrade to the latest version of the plugin which is 2.6.4

Strange. Because I removed the plugin and did a clear git clone.
Will try it tomorrow again

Now i only see this error in logs:
2018-08-29 08:31:09.191  (Kodi) Unhandled exception in onHeartbeat, forcing disconnect.
2018-08-29 08:31:09.194  (Kodi) Device has disconnected

Don't know what i did. But errors are gone now. Thanks for the fast reply and sorry for the comments afterward. Keep up the good work 👍


long operations do not always cancel

In general, it would be nice to be able to cancel all operations cleanly, for instance, while hitting  in the RStudio console (feedback from Nathan). This needs some investigation on what it would take to improve this.

I've experienced that in the IDE, if you're running a long-running piece of code and hit stop, it will kill the whole connection to Spark (very annoying)

I have experienced that when you type stop on one bit of a code (e.g. k-means clustering on 2 columns and 7 mln observations) then it does not stop in the SPARK UI.

Indeed, and that's a big problem in general -- interrupting the R session without interrupting Spark basically places the R connection to Spark in a bad state, and effectively you'll just see a cascade of errors as the connections effectively become out of sync. :/

The current workaround is to manually kill the Spark application from the Spark UI, but we do want to consider improving this.

Killing the job from the Spark UI also loses the connection from sparklyr, which requires a new spark_connect() and can be pretty annoying. Related: https://github.com/rstudio/sparklyr/issues/297

Tracked now by https://github.com/rstudio/sparklyr/issues/948


Fix avatar size, set sidebar refresh 10s

Included change to default (tier 0) forbidden seal avatar size limit, seems like it is supposed to be 150x150?


IE11 cursor moves to the end of the input after deleting

This happens on any mask but even using a config of { mask: false, guide: false, keepCharPositions: true } when you click into the middle of some text in an input and back space it will delete the char and then the cursor jumps to the end.

I am facing a similar issue on IE11 when the cursor keeps jumping to the end of the mask. This is a horrible user experience. I have to look for a replacement to angular2-text-mask now.

I have a similar problem with Safari for mac/iPhone

I was unable to reproduce this issue with the latest version of react-text-mask or angular2-text-mask in the following browsers: Safari (Mac), Chrome (Mac), Firefox (Mac), Chrome (Windows), Edge (Windows) or IE11 (Windows).
If this issue persists, please provide a meaningful example. I'll close this issue until then.

I'm facing the same problem, but in my case the issue happen when i type some word, the cursor goes to end. (Note: Happen only in IE11 with iFrame, the wonderfuls of Internet Explorer)
I made a video to show whats happening: https://youtu.be/NtOO2LdhO68

Same issue here. I'm using using  react-frame-component to mount react component in an iframe. Tested in chrome latest.


[V1.3] Scanning path

Testing XSS in path
refer: https://github.com/hahwul/XSpear/issues/36

I think we should include this in the basic scan.
callback: reflected , selenium


Bug: Emissions Export

Emissions data for daily backstop view 2023 Q1-Q2 was added, but when the user tried to export for those reporting periods there is no data in the exports

Due to non presence of 2023 Q1-Q2 in the emissions evaluation table. Export is returning empty object.
I have made Jason aware of that. As soon as he brings those data to dev environment we should be able to get data for export.

Invalid. System works as expected. 2023 data has not been loaded yet.


Sidemenu present problem.

Hello,
sometime, when i open the menu it open like normally(It push to open menu view controller.) and sometime menu controller is opening it's presenting the menu view controller. I was tried to nil leftsidemenucontroller, but my issue is not solved. I thought navigationcontroller is nil, but i also get the navigation controller.
thanks.

Please follow the README instructions carefully.


union type aliases, proper fixed type support

For union types, added type ${typeName}Type = x :+: y :+: ... :+: CNil into companion object.
Added proper support for fixed types, currently represented as:
@AvroFixed(32) case class SHA256(bytes: WrappedArray.ofByte) extends AnyVal

Associated PR: https://github.com/sksamuel/avro4s/pull/87

@sksamuel what do you think about this?

hey @sksamuel, avro4s 1.6.4 won't work with fixed types unless you merge this

:+1:

Released as 1.0.2

No wait, trying to release 1.0.2 and the tests now fail.


Make ExcelClassMap.Mappings public

Another point of extensibility that I desperately need: to modify the class map from outside. This would allow us to add custom generic extension methods, like make every column optional (which is currently impossible) or automatically add mappers based on property type, etc.
In fact, all currently internal mapping methods should be public and have a non-generic version, but that at least can be circumvented by dynamically invoking the generic versions.
I know I said 'I will do it over the weekend' in another post and never delivered, but if you say you'll merge the PR, I'll do it for real this time as I can't create a workaround for this.

Hey this is interesting but could you clarify which classes you want to be made public?

I'll probably submit a PR, but making the ExcelClassMap.Mappings property public would add a lot of value.

Oh! You mean the property rather than the namespace, my bad!! I can do this myself don't worry I will send in a PR then push to nuget within the next hour

Now exposed as
public class ExcelClassMap
{
    public ExcelPropertyMapCollection Mappings { get; set; }
};

Great!


Recursive tokenization

After misreading the dask documentation  https://docs.dask.org/en/latest/custom-collections.html#deterministic-hashing, I was under the impression that the output of __dask_tokenize__ would be recursively parsed, like it happens for __getstate__ or __reduce__. That's not the case - the output of __dask_tokenize__ is just fed into a str() function so it has to be made explicitly recursive!

xref https://github.com/pydata/sparse/issues/300


Browaeys and Chevrot [work in progress]

Not yet ready to merge
Partial implementation (and tests) of the Browaeys and Chevrot tensor decomposition by symmetry. Thus far this implements the calculation of norms and decomposition, but code to find the axes is not yet written. This needs a rotation function adding too,

Getting there - but we have a bug in axes for stishovite (see the notebook)


GUI checklist

[ ] - checkbox: use parallelisation

[x] select the number of used cores
[ ] dev-input: set-cores\d+

[ ]
[ ] When Analysis has finished, open up a modal

[ ] Open Output-Folder?

Closed as outdated


refactor(scheduler): move scheduler to new create to support workflows in multiple crates

Type of Change

[ ] Bugfix
[ ] New feature
[X] Enhancement
[X] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description

Currently process tracker is tightly coupled with router that make it impossible for other crate/services to write its own workflow within their crates. So moving process tracker to new standalone crate scheduler so that a better interface can be enforced and external services can also use it as a service.
Additional Changes

[ ] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context

Writing individual workflows for external crates is impossible now as it requires all the workflows to be created in the router crate as it is tightly coupled. We are moving all the scheduler related changes to a new crate and exposing scheduler as a service so that external services can use scheduler as a library
This involves changes in three crates mainly

router
storage_models
scheduler

How did you test it?

Checklist

[ ] I formatted the code cargo +nightly fmt --all
[ ] I addressed lints thrown by cargo clippy
[ ] I reviewed submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

At a high level, changes look OK. the diesel model crate seems to have config defaults/validation which is unexpected.


[6.x] Introduce BeforeQueryExecuted event

This is a follow-up of b8ecedacce80ccfe5c2f44c51c35954d836df413 that introduced StatementPrepared event. However, it did not provide an ease way to modify the raw SQL query before it's prepared and executed by the database server. Further more, only SELECT queries trigger this event.
This PR introduces BeforeQueryExecuted event that is provided with a raw SQL query and connection instance. SQL query string is passed as a reference, so it can be modified by whatever binds to this event.
Use? A comment can be prepended to the query to ease debugging of performance issues as these comments will show up in MySQL's SHOW PROCESSLIST and in slow query log.
An example of a modified query:
/* UserQuizResultsApiController.php:96 POST /papi/v2/quiz_results */ insert into `user_quiz_results` (`created_at`, `quiz_answer_id`, `quiz_question_id`, `user_id`) values (?, ?, ?, ?)

We will publish a composer package providing the above SQL commenting feature for Laravel shortly.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Anime auto track does not work.

Hi, i am using Arch linux. Installed kawanime by aur, Wrote my Anilist nickname and clicked register and i authorized it also restarted. When i click my library and chose an anime, auto tracking does not work. (vlc for animu watching.)

Sadly, Anime auto-tracking can be enabled only with the local player for now. There are two reasons for this choice:

If the file is played with an external player, KawAnime has no way to know if you really watched it or missclicked it for any reason. To enable something alike, it would be required to make a custom plugin for each well known player to tell KawAnime that the file was indeed played.
It would be troublesome for people that already have plugins linked to their video player, it could cause problems during the updates.

Now for the solutions you have for this:

Open the file inside the KawAnime's player and close it right afterwards which is troublesome but will enable auto-tracking
Install (or make?) a plugin that allows you to auto-track your anime history with your video player. There are several out there for the most well known video players (e.g. for MacOS: Hachidori)
Obviously you can also edit the entry every time in the according tab but that's not really auto-tracking...

I am sorry this is not available for external players for now. Next release will embed a real MPV player so the in-app player will be much better than it is today.
If you have any other idea on how to tackle this problem, feel free to tell me here or on Discord though!


Add pnpm-lock.yaml and Database.refactorlog

Description:
In https://github.com/zricethezav/gitleaks/pull/1076 package-lock.json was added. Some teams use pnpm so the lock file of pnpm also needs to be excluded (pnpm-lock.yaml)
In https://github.com/zricethezav/gitleaks/pull/990 I've submitted Database.refactorlog. This was done directly in the generated file causing constantly overridden when a new config.toml file was generated
Checklist:

[X] Does your PR pass tests?
[ ] Have you written new tests for your changes? --> Not applicable
[X] Have you lint your code locally prior to submission?

@JoostVoskuil this makes sense, thanks for the PR


Update nf-core-contributors.yaml

Please also add a SVG file - similar to what @MaxUlysse did here

Thank you for your instruction. I added SVG files.

The white version isn't whity unfortunately - can you send one that is white?

@apeltzer I put new image and made new PR https://github.com/nf-core/nf-co.re/pull/522