Hydration error with shared env vars on the client

I'm not sure if this is expected behavior, but I was hoping someone could provide guidance.
I have an env var SHARED that comes from the build system (ie. SHARED="pizza" npm run build).
However, when I try to render env.SHARED in a page component, the server reads it correctly but the value is undefined on the client, causing a hydration error.
What's the best way to render a shared environment variable? If this isn't a T3 Env issue, does anyone have a good resource to understand this behavior better?
Thank you!
Reproduction here: https://github.com/claudiorivera/t3-env-shared

We don't have a shared option in t3-env, however, if you wanted to share an env on both client-side and server-side, you will have to prefix the env with NEXT_PUBLIC_ (for NextJS).


Implement Rage Mode Into the Cooking / Chopping process

Description
Task: Rage mode task
Feature: Upgrades / Station Updates
This feature will implement rage mode into the cooking process. This will enable faster cook and chopping times whilst it is activated and go back to the normal times whilst rage mode is inactive. This feature will help to implement more functionality with stations and items, allowing for a more dynamic and changing kitchen process.
Dependencies
No current dependencies as this is a standalone task which can be implemented now.
Milestones
List of steps that need to be completed for this task.

[ ] Add event listeners to items (Sep. 26)
[ ] Allow for rage mode to trigger the changes(Sep. 26)
[ ] Create an algorithm for how cooking times are changed (Sep. 26)

Completion Deadline: Sep. 28
Member

Callan Vragalis @silagarv

Merged


Permission bug?

There’re 3 bots in my asf.
A bot is owner.
B bot is used for commands control.
C bot is master.
If use A bot send !alist Cbot appid to b that b bot will respond but if I use c bot to send the same command the bot never respond. I view the debug log but I have no idea about it.

Is the C bot set as master of itself? Because if not then it's working as intended, other ASF commands won't work too.

Is the C bot set as master of itself? Because if not then it's working as intended, other ASF commands won't work too.

I have set this, and other asf commands such as !level cbot will respond me.
I extracted the log and edit the bots name. I hope its useful to you!
A: https://drive.google.com/file/d/183DbIe2JUBIwC6rKBiLMOEFXhbekg6Hd/view?usp=sharing
C: https://drive.google.com/file/d/1UFEyHCQQN57eF2xODsSl4u_LdSEGknnj/view?usp=sharing

Please don't post publicly logs in debug mode (why do you even enabled it?). I removed links from your comment for security. What would really help me to reproduce issue is configs of your bots, of course remove loging and passwords first (and any other sensitive information that may be present there, like parental pin code, etc).

Got it!
This is bots' config: Google Drive

Fixed in <IP_ADDRESS>, thank you for report! 👍


Update PyPi package

Can you please update the pypi package? Anyone will pip the app will get the old version.
it's from 2014, please check here

Will do!

@EmadMokhtar: It's now published, https://pypi.python.org/pypi/django-simple-blog/0.2.0

The pypi package does not contain the migrations folder.

@JHei: Hmm, I see. I can look into that tomorrow.

@JHei: Fixed in https://github.com/drager/django-simple-blog/commit/9c2ef7148054805b8603e6e3bdae2cc302d27610 - https://pypi.python.org/pypi/django-simple-blog/0.2.1


chore(renovate): update actions only monthly, pin docker digest

:tada: This PR is included in version 1.19.7 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


sd-image: Fix Raspberry Pi 4 image builder

Motivation for this change
These changes address the issues outlined in #73487.
They allow for rebuilds of system configuration to persist on the
Raspberry Pi 4. Without these changes, SD images generated from this
expression won't write their boot configs correctly, and thus the Pi
will just reboot to the installer configuration.
Along with this, also create /var/empty to allow for sshd to
start up correctly.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs 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/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@samueldr On my Raspberry PI, when I change boot.loader.raspberryPi.firmwareConfig and run nixos-rebuild switch the config.txt on the /dev/sda1 partition does not get changed at all. Is this what this pull request tries to solve?
Shouldn't the content of /dev/sda1 be replaced on every nixos-rebuild switch?
I stumbled upon this while trying to bring a RPI Kisok to work using NixOS and also requested for help here: https://discourse.nixos.org/t/raspberry-pi-3-official-touch-screen-not-working/5735/5?u=vancoding

I think this just the installer image, so it won't affect running systems (i.e. nixos-rebuild switch). I also think that your suggestion about replacing the firmware partition on configuration change (though mine is on /dev/mmcblk0p1) is reasonable but not related to this PR. I'll hopefully get around to implementing that soon...

@kwohlfahrt Ah, okay.
Yeah, having the same configuration for image generation and updating is what I'm trying to achieve.
I want to manage many Raspberry PIs, which should have all the same configuration (which gets updated from time to time). And adding an additional Raspberry PI should be as easy as taking this configuration and generating an image for it.
But that's OT, sorry.

If you can reproduce your issues, can you validate that, with #90119 in the commit you are using to build the image, the installer image works as expected?
It should now:

Mount the boot partition correctly
Use a less confusing label for the boot partition

The build of the image stopped working, but I didn’t get my Raspberri Pi 4
Model B (armv7l) to accept ssh (I don’t have a mini-HDMI cable here so I
can’t attach a monitor).
I decided to just use raspian and try to nixos-infect the system instead,
because I have no idea how to debug this.
On Sun, Jun 21, 2020 at 4:53 AM Samuel Dionne-Riel<EMAIL_ADDRESS>wrote:

If you can reproduce your issues, can you validate that, with #90119
https://github.com/NixOS/nixpkgs/pull/90119 in the commit you are using
to build the image, the installer image works as expected?
It should now:

Mount the boot partition correctly
Use a less confusing label for the boot partition

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/78090#issuecomment-647070987, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYB5ZSZ5SRUIZZCRKXJEOTRXVYZPANCNFSM4KJBLNWQ
.

s/stopped working/stopped failing/
I don’t know if the system boots at all or if the sshd crashes or if my
config is just plain wrong.
On Mon, Jun 22, 2020 at 7:40 PM Philip Patsch<EMAIL_ADDRESS>wrote:

The build of the image stopped working, but I didn’t get my Raspberri Pi 4
Model B (armv7l) to accept ssh (I don’t have a mini-HDMI cable here so I
can’t attach a monitor).
I decided to just use raspian and try to nixos-infect the system instead,
because I have no idea how to debug this.
On Sun, Jun 21, 2020 at 4:53 AM Samuel Dionne-Riel <
<EMAIL_ADDRESS>wrote:

If you can reproduce your issues, can you validate that, with #90119
https://github.com/NixOS/nixpkgs/pull/90119 in the commit you are
using to build the image, the installer image works as expected?
It should now:

Mount the boot partition correctly
Use a less confusing label for the boot partition

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/78090#issuecomment-647070987, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYB5ZSZ5SRUIZZCRKXJEOTRXVYZPANCNFSM4KJBLNWQ
.

Note that as with all images using the installer profile, the SSHD will not start by default. Furthermore, it would require additional credentials on the device. This is all assuming you are not using a custom build.
Now, what I understand from this discussion is that this is a first-boot only issue, and is not specific to the raspberry pi. Re-doing and fixing the hack here is not a solution, it needs to be done for all sd images.
BUT, note that we just added a patch that changes something with how the images are built, and it's possible it also fixes that issue with starting sshd since it may now have enough space on the partition during boot for this to work.
The proper solution is the one from @danbst
                systemd.tmpfiles.rules = [
                    "d /var/empty - - - -"
                ];

Which I think would be appropriate to add to the generic sd-image expressions, at worst it's a no-op, at best here it'll fix that specific issue.
I do not have a setup with a reproduction of the issue, so I'm not in the best situation to validate that issue.

The build of the image stopped working, but I didn’t get my Raspberri Pi 4
Model B (armv7l) to accept ssh (I don’t have a mini-HDMI cable here so I
can’t attach a monitor).

The Raspberry Pi 4 Model B is an aarch64 device, but since you said "(armv7l)" I am assuming this comes from raspios (née Raspbian) which is running on 32 bit. I don't know that you can successfully infect a 32 bit ARM system with an aarch64 NixOS system.

The Raspberry Pi 4 Model B is an aarch64 device, but since you said "(armv7l)" I am assuming this comes from raspios (née Raspbian) which is running on 32 bit.

Ah, I was super confused by that. So uname shows armv7l  if it’s running on a 32bit system, which raspios is, but the system itself is 64 bit.
I think I’m gonna try again with the /var/empty fix, I only used the PR that was merged into master last week.

I don't know that you can successfully infect a 32 bit ARM system with an aarch64 NixOS system.

I wonder, nixos-infect should not require running any 64bit executables before reboot, and after reboot it has a 64bit kernel … though the question is whether the boot partition stuff is set up correctly by nixos-infect anyway, and if it’s not I would be in the same situation as with the SD image.
Thank you for the help!

Feel free to reopen if it's still relevant.


Add !uqfinal

Port from js version, or alternatively just start from scratch following a similar setup to !whatsdue/!ecp/!pastexams
api docs (ty @gricey) at https://apidocs.uqfinal.com/
known bug atm is that sem2 2018 subjects haven't been loaded and will return status code 500

Apparently gricey has added sem2 🎉

Apparently gricey has added sem2 🎉


system: handle persistent / important notifications more prominently in the header

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Is your feature request related to a problem? Please describe.
Since the new dashboard we do not have a way to show a banner for live media boot or bootup progress messages. These two have been converted to the notifications on the development version, but they lack a better visibility and are odd because you can clear them but they will not actually clear.
Describe the solution you like
Integrate something for those persistent notifications into the header to make them more prominent outside the scope of one-time notifications to be dismissed. This would also leave the opportunity to finally do #7284
Describe alternatives you considered
N/A
Additional context
N/A

See https://github.com/opnsense/core/commit/1fc5a6335e9e3f8a5e957fbfdc2e9876dcd4736f
Due to theming concerns, persistent notifications are injected into the main page instead


Cannot add Milestone to project with existing Milestone [7]

Describe the Bug:
Adding a milestone to a project with a completed milestone throws the following error:
Cannot return null for non-nullable field ReportingRequirement.reportingRequirementIndex.        reportingRequirementIndex.
Probability (how likely the bug is to happen, scored from 1-5): 4
(For example, probability of 5 is something like "it happens to all users every time they log in."
Probability of 1 "only happens to certain users when a really specific and unlikely path is followed.")
Effect (how bad the bug is when it does happen, scored from 1-5): 3/4
(For example, effect of 5 is "the entire app crashes and makes it unusable for all users" or "the bug causes the wrong data to be saved, with critical information (e.g. payment) being affected."
Effect of 1 is "It makes some styling look a little bit weird.")
Steps to reproduce the behaviour:

Start a project revision for a project with an existing milestone.
Try to add a milestone to the project.

Screenshots:

Additional information:

OS: [e.g. iOS]
Browser: [e.g. chrome, safari]
Version: [e.g. 22]
Additional context

Thank you @BCerki ! I can now add multiple milestone reports to a project if there was a pre-existing report.


Make NpzFile API compatible with numpy.lib.npyio.NpzFile

Description
Currently, NpzFile returned from cupy.load does not implement Mapping protocol (e.g., get(), items(), etc. are missing). It would be better to support these methods.
CuPy: https://github.com/cupy/cupy/blob/v13.3.0/cupy/_io/npz.py#L11-L29
NumPy: https://numpy.org/devdocs/reference/generated/numpy.lib.npyio.NpzFile.html
Also it looks NumPy 2.0 made the class documented. We should follow that as well.
Additional Information
I noticed this when porting llama3.np for CuPy. If this is implemented, llama3.np will run on CuPy just by rewriting import numpy as np to import cupy as np.

Hi,
Currently, numpy NpzFile inherits from collections.abc.Mapping, but cupy NpzFile inherits from object. If cupy NpzFile were to inherit from collections.abc.Mapping and implement the required methods which include __iter__ and __len__, this problem would be completely resolved.
Thus, I believe there are two potential solutions for this issue. One option is to implement the methods you've mentioned (get(),items(), etc.). The second option is to have NpzFile inherit from collections.abc.Mapping.
Which solution do you think would be better for this issue?

I think the latter is the better choice.

Okay. I've already implemented it. Give it me a day to send a pull request


Entanglement issue #3

Added a class Entanglement. Extended little the class Qubit, fixed few bugs.

Great job.


Thread running at QOS_CLASS_USER_INTERACTIVE waiting on a lower QoS thread running at QOS_CLASS_DEFAULT. Investigate ways to avoid priority inversions(Xcode 14)

(NSRunLoop *)runLoop;
{
dispatch_group_wait(_waitGroup, DISPATCH_TIME_FOREVER);
return _runLoop;
}

Thread running at QOS_CLASS_USER_INTERACTIVE waiting on a lower QoS thread running at QOS_CLASS_DEFAULT. Investigate ways to avoid priority inversions(Xcode14)

Hi @SaurabhSharmaMobulous ,
Did you solve this problem? I have the same problem


Don’t set IgnoreMarks flag if the font has no GDEF table

https://github.com/googlei18n/noto-fonts/issues/984
Alternatively, always make sure a GDEF table is generated.

Duplicate. My browser crashed while submitting https://github.com/googlei18n/ufo2ft/issues/184 and I thought it didn’t make it.


hal: nxp: ARRAY_SIZE collision

Describe the bug
It looks like hal_nxp (mcux-sdk code) defines its own ARRAY_SIZE in a public scope, thus polluting the namespace. While it doesn't re-define if already defined, it is still problematic if included before zephyr/sys/util.h, and we should not rely on include order. In some situations, one can observe now:
In file included from ../../../../../../../include/zephyr/devicetree.h:21,
                 from ../../../../../../../include/zephyr/device.h:12,
                 from ../../../../../../../include/zephyr/drivers/usb/usb_dc.h:20,
                 from /__w/zephyr/zephyr/drivers/usb/device/usb_dc_mcux.c:12:
../../../../../../../include/zephyr/sys/util.h:108: error: "ARRAY_SIZE" redefined [-Werror]
  108 | #define ARRAY_SIZE(array) \
      |
In file included from ../../../../../../../soc/arm/nxp_lpc/lpc55xxx/soc.h:19,
                 from /__w/zephyr/zephyr/drivers/usb/device/usb_dc_mcux.c:10:
/__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/drivers/common/fsl_common.h:236: note: this is the location of the previous definition
  236 | #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
      |
cc1: all warnings being treated as errors
[168/181] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj
ninja: build stopped: subcommand failed.

To Reproduce
west build -b lpcxpresso55s69_cpu0 samples/subsys/usb/hid -p

Expected behavior
HAL respects Zephyr ARRAY_SIZE. There are multiple ways to solve this:

Avoid namespace pollution, e.g. use FSL_ARRAY_SIZE
Do not expose such method in a "common" public header (possible if only used internally)
HAL uses Zephyr version when being compiled for Zephyr instead, e.g.

#ifdef __ZEPHYR__
#include <zephyr/sys/util.h>
#else
#define ARRAY_SIZE(x) ...
#endif

Impact
Build warnings, CI failures.
Logs and console output
See above.
Environment (please complete the following information):

OS: Linux
Toolchain Zephyr SDK 0.15.0
Commit SHA or Version used 6755999bb3f6b760347a57502715c40cf8881636

Additional context
https://github.com/zephyrproject-rtos/zephyr/actions/runs/3272340917/jobs/5383270655

It turns out we have yet another one:
/__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/drivers/iuart/fsl_uart.c
In file included from /__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/drivers/common/./fsl_common.h:222,
                 from /__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/drivers/iuart/fsl_uart.h:12,
                 from /__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/drivers/iuart/fsl_uart.c:9:
/__w/zephyr/zephyr/include/zephyr/sys/util.h:512: error: "KB" redefined [-Werror]
  512 | #define KB(x) (((size_t)x) << 10)
      |
In file included from /__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/CMSIS/Core_A/Include/core_ca53.h:157,
                 from /__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/devices/MIMX8MM6/./MIMX8MM6_ca53.h:265,
                 from /__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/devices/MIMX8MM6/./fsl_device_registers.h:21,
                 from /__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/drivers/common/./fsl_common.h:22:
/__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/CMSIS/Core_A/Include/mmu_armv8a.h:45: note: this is the location of the previous definition
   45 | #define KB(x)                  ((x) << 10)

One could argue that Zephyr should consider namespace protection as well.
While I agree that we shouldn't rely on include order the reason we have to is because for some reason the Zephyr project decided not to protect these generic definitions with "#ifndef" type of constructs like the NXP SDK does. So when we create our NXP shim drivers we ensure the order of includes to protect against this problem.
The logistics of actually changing this in our HAL is much more problematic due to how the NXP HAL is sourced. It isn't clear to me why we can't just put the name space collision check in the Zephyr code?

I understand you don't like ordering include files and you have a concern that the definition doesn't align if you happen to do the wrong order. So this problem is going to continue to happen since Zephyr doesn't protect this commonly defined macro.
If we are that concerned that a common macro is not going to be defined correctly by these included modules then we should make a change to the Zephyr definition. Either of these would work (one seems less annoying):

change the name of the Zephyr macro to include some sort of zephyr identifier: Z_ARRAY_SIZE() for example
use #UNDEF ARRAY_SIZE in the zephyr include to force the definition to the Zephyr version.

See the following as a separate example
#44730
Also, quick search of the tree finds the following:
\bootloader\mcuboot\boot\boot_serial\src\zcbor_common.h:#333
\modules\audio\sof\tools\fuzzer\fuzzer.h:#33
\modules\hal\espressif\components\bt\esp_ble_mesh\mesh_common\include\mesh_util.h:#59
\modules\hal\espressif\components\wpa_supplicant\src\utils\common.h:#443
\modules\hal\telink\tlsr9\ble\common\utility.h:#104
\modules\lib\chre\chpp\include\chpp\macros.h:#28
\modules\lib\loramac-node\src\boards\mcu\sam121\hal\utils\include\utils.h:#65
\modules\lib\zcbor\include\zcbor_common.h:#74
\modules\tee\tf-a\trusted-firmware-a\include\lib\utils_def.h:#14
\modules\tee\tf-m\trusted-firmware-m\secure_fw\include\array.h:#15 (a number of different files in TF-M define this)
Every time we include a new module or HAL with this particular approach we have to confirm that this new module isn't trying to define ARRAY_SIZE and if it does then we have to change the module code instead of changing things once in the Zephyr code base.

Again, in this particular case with ARRAY_SIZE, I think it is arguable that the issue should be fixed on the Zephyr side and not on the modules we include.
Where there are collisions between modules/libraries we can fix that but in most all of those cases, the modules have the #ifndef framing around the define.

Note: see full discussion in https://discord.com/channels/720317445772017664/1014241011989487716/1032623375228608522


Hello, if I don't have the file "master_updated. csv", how can I reproduce your experiment? Can you give me this file? Otherwise, the code won't run.

Hello, if I don't have the file "master_updated. csv", how can I reproduce your experiment? Can you give me this file? Otherwise, the code won't run.

hello, Have you solved your problem?


Migrate tests to use testCompile

Codecov Report

Merging #47 into master will increase coverage by 1.81%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master      #47      +/-   ##
============================================
+ Coverage     93.63%   95.45%   +1.81%
  Complexity       54       54
============================================
  Files            20       20
  Lines           110      110
  Branches         14       14
============================================
+ Hits            103      105       +2
+ Misses            2        0       -2
  Partials          5        5

Impacted Files
Coverage Δ
Complexity Δ

.../shiraji/yaemoji/domain/EmojiCompletionProvider.kt
84% <0%> (+8%)
5% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


WebMock does not support matching body for multipart/form-data

ArgumentError: WebMock does not support matching body for multipart/form-data requests yet :(

:(
Is there an open issue for this?

No there isn't.
The is not easy to fix (that's why it hasn't been fixed yet :). Direct body matching won't work as body parts boundaries change on each requested. The only way to handle that would be to split parts and match each of them.
If someone has any idea how to deal with it, a pull request is always welcome.

Out of curiosity, what used to happen, did it just ignore the body? I ask as we had a bunch of passing tests and after updating to webmock 2.x I started getting this error and the tests started failing, so I'm curious what the proper way to emulate the previous behavior is (I'm guessing just removing the body match).

@chadcf matching multipart body was never supported and never worked.
The error messages were unclear so the assertion has been added to 2.x recently,
which raises an error on an attempt to match multipart body.
I'm surprised that it used to work for you before. How have you been matching the body?

yes I was pretty surprised too!
I just updated the app from 1.18 to 2.1.0 and these stubs which used to work started throwing the error:
  stub_request(:post, url)
  .with(headers: { "Content-Type" => %r[multipart/form-data] })
  .with(body: %r[#{Regexp.escape attachment_data.read}])

I see. Yes, regexp would have worked before as it doesn't care about boundaries.
Perhaps the error should be raised only if trying to match body against hash.

You can use the block form:
stub_request(:post, "http://example.com").
      with(:headers => { "Content-Type" => %r|\Amultipart/form-data| }) { |request| request.body =~ /body/ }

Works for me under 2.3.2.

@sshaw it works only because most likely your http client creates part boundary strings which are the same for every request, therefore the generated body is always the same.
This can't be assumed though as various clients will generate different boundary strings and these strings can be different across requests.

It only works because I'm using a regex and not trying to match an entire part, just contents. Boundary string is not relevant .

Right, that works too :)
You can use regexp to match body without a block. Webmock supports body to
be declared as regexp.
On Tue, 3 Jan 2017 at 17:41, Skye Shaw<EMAIL_ADDRESS>wrote:

It only works because I'm using a regex and not trying to match an entire
part, just contents. Boundary string is not relevant .
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bblimke/webmock/issues/623#issuecomment-270159252,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAA8u-d6mTJADEsG450FShU3yJjycmnOks5rOnpIgaJpZM4Io8QD
.

You can use regexp to match body without a block. Webmock supports body to
be declared as regexp.

Not for multipart/for-data (hence this issue). It results in: ArgumentError: WebMock does not support matching body for multipart/form-data requests yet
Using 2.3.2.
😿

With 3.0.1 and 2.3.2 I notice that when trying to follow one of the examples above if I try test with
    stub_request(:post, 'http://mockserver.com/api/v2/')
      .with(body: %r[.*],
            headers: default_headers('Authorization' => 'Basic ZblahC5jb236cGFzcblah=',
                                     'Content-Length' => '258',
                                     'Content-Type' => 'multipart/form-data; boundary=-----------RubyMultipartPost')) do |request|
      boundry = Regexp.quote(request.headers['Content-Type'][/ boundary=(.+)/, 1])
      request.body == %r{
      start
      -------------#{boundary}\r\nContent-Disposition: form-data; name=\"file\"; filename=\"test_file\"\r\nContent-Length: 38\r\nContent-Type: image/jpeg\r\nContent-Transfer-Encoding: binary\r\n\r\nPellentesque dapibus suscipit ligula.\n\r\n-------------#{boundary}--\r\n\r\n
      end
      }x
    end.to_return(status: 200, body: '', headers: {})

I get
     ArgumentError:
       WebMock does not support matching body for multipart/form-data requests yet :(
     # /Users/rsim/.gem/ruby/2.2.3/gems/webmock-2.3.2/lib/webmock/request_pattern.rb:263:in `assert_non_multipart_body'
     # /Users/rsim/.gem/ruby/2.2.3/gems/webmock-2.3.2/lib/webmock/request_pattern.rb:231:in `matches?'
     # /Users/rsim/.gem/ruby/2.2.3/gems/webmock-2.3.2/lib/webmock/request_pattern.rb:34:in `matches?'
     # /Users/rsim/.gem/ruby/2.2.3/gems/webmock-2.3.2/lib/webmock/stub_registry.rb:58:in `block in request_stub_for'
     # /Users/rsim/.gem/ruby/2.2.3/gems/webmock-2.3.2/lib/webmock/stub_registry.rb:57:in `each'
     # /Users/rsim/.gem/ruby/2.2.3/gems/webmock-2.3.2/lib/webmock/stub_registry.rb:57:in `detect'
     # /Users/rsim/.gem/ruby/2.2.3/gems/webmock-2.3.2/lib/webmock/stub_registry.rb:57:in `request_stub_for'
     # /Users/rsim/.gem/ruby/2.2.3/gems/webmock-2.3.2/lib/webmock/stub_registry.rb:50:in `response_for_request'
     # /Users/rsim/.gem/ruby/2.2.3/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/net_http.rb:79:in `request'

And if i omit the body section from the with, then i get WebMock::NetConnectNotAllowedError where it shows that there is a mock endpoint is registered but it dosen't match the multipart one.  The only difference I can see is the body doesn't exist for the stub.

@russell it's because of this part .with(body: %r[.*], please remove body: %r[.*] completely.
It's not necessary since you are matching body inside the block anyway.

I also upgraded to 3.0.1 recently, and tests began to fail with this error too. My test was to ensure that two files were sent, like so:
expect(a_request(:post, "https://domain.com/").
  with(:body => (a_string_matching(/Content-Disposition: form-data;.+ filename="result1.tap"/).
             and a_string_matching(/Content-Disposition: form-data;.+ filename="result2.tap"/)),
       :headers => {'Content-Type' => 'multipart/form-data; boundary=-----------RubyMultipartPost'})
  ).to have_been_made

I had to rewrite it like this to prevent raising the exception
expect(a_request(:post, "https://domain.com/").
  with { |req|
    expect(req.body).to match(/Content-Disposition: form-data;.+ filename="result1.tap"/).
                    and match(/Content-Disposition: form-data;.+ filename="result2.tap"/)
    expect(req.headers).to include('Content-Type' => 'multipart/form-data; boundary=-----------RubyMultipartPost')
  }).to have_been_made

also getting this when upgrading to ruby and upgrading this lib.

:headers => { "Content-Type" => %r|\Amultipart/form-data| }) { |request| request.body =~ /some-part-of-body/ }

You can use the block form:
stub_request(:post, "http://example.com").
      with(:headers => { "Content-Type" => %r|\Amultipart/form-data| }) { |request| request.body =~ /some-part-of-body/ }

Works for me under 2.3.2.

What if you want to use to_return?
stub_request(:post, "https://upload.box.com/api/2.0/files/content").
         with(:headers => { "Content-Type" => %r|\Amultipart/form-data| }) { |request| request.body =~ /PDF/ }.
             to_return(:status => 200, :body => {message: 'file uploaded'}.to_json, :headers => {})

I get  ArgumentError:        invalid byte sequence in UTF-8

What if you want to use to_return? ...
I get  ArgumentError: invalid byte sequence in UTF-8

Likely has nothing to do with to_return but rather request.body is binary and not encoded in UTF-8.

I realise this is old, but I have solved this in an almost nice way with the following, using this gem https://github.com/danabr/multipart-parser
require "multipart_parser/reader"

MultipartPart = Struct.new(:filename, :name, :content_type, :data)

def parse_multipart_request(request)
  boundary = MultipartParser::Reader.extract_boundary_value(request.headers["Content-Type"])
  r = MultipartParser::Reader.new(boundary)

  parts = []

  r.on_part do |p|
    part = MultipartPart.new(
      p.filename,
      p.name,
      p.mime,
      ""
    )

    p.on_data do |data|
      part.data += data
    end

    parts << part
  end

  r.write(request.body)

  parts
end

stub_request(
        :post,
        "/my-endpoint"
      ) do |request|
        parts = parse_multipart_request(request)

        parts.length == 1 &&
          parts.first.name == "image" &&
          parts.first.filename == "cat.jpg" &&
          parts.first.content_type == "image/jpeg" &&
          parts.first.data == cat_jpg_data
      end.to_return(body: "OK", status: 200)

I do not handle any errors from multipart-parser, but I guess if your code is generating an error, this will blow up or return incorrect data at some point, making the test fail, so good enough for me right now.

As a workaround, I'm using this:
headers = { 'Content-Type' => /multipart\/form-data/ }

match_multipart_body = ->(request) do
  request.body.force_encoding('BINARY')
  request.body =~ /Content-Type: image\/jpeg/
end

stub_request(:post, '/my-endpoint').
  with(headers: headers, &match_multipart_body).
  to_return(status: 200, body: successful_response)

As a workaround, I'm using this:
headers = { 'Content-Type' => /multipart\/form-data/ }

match_multipart_body = ->(request) do
  request.body.force_encoding('BINARY')
  request.body =~ /Content-Type: image\/jpeg/
end

stub_request(:post, '/my-endpoint').
  with(headers: headers, &match_multipart_body).
  to_return(status: 200, body: successful_response)

What is the idea behind request.body.force_encoding('BINARY') in the lambda? Just ensuring it doesn't raise an exception?

I think my solutions is quite good so I want to share it
stub_request(:post, "https://skd.apps.tt02.altinn.no/skd/formueinntekt-skattemelding-v2/instances")
      .with(:headers => { "Content-Type" => %r|\Amultipart/form-data| }) { |request|
        boundary = request.headers["Content-Type"].match(/boundary=(.*)/)[1]

        model1_part = <<~PART.strip
          --#{boundary}
          Content-Disposition: form-data; name="model1"
          Content-Type: application/xml

          <xml> ... </xml>
          --#{boundary}
        PART
        json_part = <<~PART.strip
          --#{boundary}
          Content-Disposition: form-data; name="instance"
          Content-Type: application\/json

          {"instanceOwner":{"personNumber":"12345678910"},"appId":"skd\/formueinntekt-skattemelding-v2","dataValues":{"inntektsaar":2022}}
          --#{boundary}
        PART

        std_new_line_body = request.body.gsub("\r\n", "\n")
        std_new_line_body.include?(model1_part) && std_new_line_body.include?(json_part)
      }
      .to_return(status: 200, body: "{}")

    described_class.call(
      app:,
      instance_owner: {person_number: "12345678910"},
      values: {"inntektsaar" => 2022},
      parts: {
        model1: HTTP::FormData::Part.new("<xml> ... </xml>", content_type: 'application/xml')
      }
    )


ERROR: for application  argument of type 'NoneType' is not iterable

I have an error described in https://github.com/docker/compose/issues/3451
Here is what I was trying to do:
$ docker-compose up -d nginx mysql redis workspace
Starting laradock_data_1
Starting laradock_application_1

ERROR: for application  argument of type 'NoneType' is not iterable

ERROR: for data  argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "compose/cli/main.py", line 57, in main
  File "compose/cli/main.py", line 108, in perform_command
  File "compose/cli/main.py", line 728, in up
  File "compose/project.py", line 395, in up
  File "compose/parallel.py", line 60, in parallel_execute
TypeError: argument of type 'NoneType' is not iterable
docker-compose returned -1

Any suggestions?

I wasn't able to reproduce that
However try doing these steps:

Pull the latest version: git pull origin master now it's 2.2.1
2 . Remove the workspace images and any <none> images with docker rmi {container-id}
3 . Rebuild the containers docker-compose build --no-cache nginx mysql redis (note there's no need to run the workspace now, it will automatically run)
4 . Try again..

I just had to update docker-engine to the latest version which is unsupported in Fedora 21. So I had to upgrade my Fedora to version 23, and that led me to almost ten hours of struggle with unsupported video card drivers. But now it's working.
Just one last question since I don't want to create another issue:
I did everything as described in manual, and installed the project in workspace container, but when I visit http://localhost I see nginx welcome page.
I prefer not to use docker-machine, so shouldn't it work with just localhost?
Or what is causing the problem?
Thanks.

@M0on75e1l I think your error is discussed here #46 and was solved by mattythebatty check it and let me know if it fixes yours.

@Mahmoudz almost.
After that I also had to do composer install and php artisan key:generate in the root of my project in workspace container.
Now it works.
One note. Consider updating manual here:
The Nginx Log file is stored in the logs/nginx directory.
That's not the truth by default and can be confusing.

@M0on75e1l done


add GradeProgressView

Are there any mistakes? why  i need add more commits by pushing to the master branch on niniloveyou/awesome-android-ui.   Could you give me some advice ? thank you.


Add JSON parameters for babyagi websocket

I am trying to integrate the babyagi websocket socket that I have deployed on jcloud. It would be great to have an example and/or walkthrough integration of the WebSocket (e.g. required parameters to pass) to integrate on the client side.

Added here - https://github.com/jina-ai/langchain-serve#debug-babyagi-playground-requestresponse-for-external-integration


Pip install fails

Installing dsntnn with pip throws this error:

Could not find a version that satisfies the requirement dsntnn (from versions: )
No matching distribution found for dsntnn

My pip3 version: 10.0.1
Python version: 3.5.2
Os: Mac OS X 10.13.5 High Sierra

Oops, I forgot to actually upload the release to PyPI. It should work now: https://pypi.org/project/dsntnn/


certificate provisioning fixed

@PLangowski could you rebase on top of uefi-sb-release and recheck if it still works?

@PLangowski could you rebase on top of uefi-sb-release and recheck if it still works?

@PLangowski as you can see there are some conflicts now

@TomaszAIR I have rebased this branch on branch uefi-sb-release as you asked. Note that after rebase some errors appeared:
[ ERROR ] Error in file '/home/dklimuk/Projects/RazorSecure/open-source-firmware-validation/dasharo-security/secure-boot.robot' on line 12: Resource file '../sonoff-rest-api/sonoff-api.robot' does not exist.
[ ERROR ] Error in file '/home/dklimuk/Projects/RazorSecure/open-source-firmware-validation/dasharo-security/secure-boot.robot' on line 13: Resource file '../rtectrl-rest-api/rtectrl.robot' does not exist.
[ ERROR ] Error in file '/home/dklimuk/Projects/RazorSecure/open-source-firmware-validation/keywords.robot' on line 3: Resource file 'pikvm-rest-api/pikvm_comm.robot' does not exist.

It is caused by including non existing files bby @macpijan  in commits 726f17ccb327e and a5551f91ae3f1 and are out of the scope of this PR.

@TomaszAIR I have rebased this branch on branch uefi-sb-release as you asked. Note that after rebase some errors appeared:
[ ERROR ] Error in file '/home/dklimuk/Projects/RazorSecure/open-source-firmware-validation/dasharo-security/secure-boot.robot' on line 12: Resource file '../sonoff-rest-api/sonoff-api.robot' does not exist.
[ ERROR ] Error in file '/home/dklimuk/Projects/RazorSecure/open-source-firmware-validation/dasharo-security/secure-boot.robot' on line 13: Resource file '../rtectrl-rest-api/rtectrl.robot' does not exist.
[ ERROR ] Error in file '/home/dklimuk/Projects/RazorSecure/open-source-firmware-validation/keywords.robot' on line 3: Resource file 'pikvm-rest-api/pikvm_comm.robot' does not exist.

It is caused by including non existing files bby @macpijan in commits 726f17c and a5551f9 and are out of the scope of this PR.

I rebased this PR and squashed some commits so the history looks better. I do not get those problems with pre-commit installed. Latest commit.
λ git ci -m "dasharo-security: secure-boot: tests Automatic Cert Provisioning using DTS"
check for added large files..............................................Passed
check for merge conflicts................................................Passed
check for broken symlinks............................(no files to check)Skipped
detect private key.......................................................Passed
fix end of files.........................................................Passed
trim trailing whitespace.................................................Passed
mixed line ending........................................................Passed
codespell................................................................Passed
markdownlint.........................................(no files to check)Skipped
markdownlint-fix.....................................(no files to check)Skipped
ShellCheck v0.9.0....................................(no files to check)Skipped
isort (python).......................................(no files to check)Skipped
black................................................(no files to check)Skipped
robotidy.................................................................Passed
robocop..................................................................Passed
Conform..................................................................Passed
[cert-provisioning-2 7befb68aa786] dasharo-security: secure-boot: tests Automatic Cert Provisioning using DTS

@DaniilKl I reworked some of keywords (e.g. this with mokutil as we run it in DTS so we can assume that mokutil is ready to use.

Tests passed on QEMU
λ robot -b file.txt -L TRACE -v rte_ip:<IP_ADDRESS> -v snipeit:no -v config:qemu -t "SBO013*" dasharo-security/secure-boot.robot
==============================================================================
Secure-Boot
==============================================================================
SBO013.001 Check automatic certificate provisioning :: This test v... | PASS |
------------------------------------------------------------------------------
SBO013.002 Check automatic certificate provisioning KEK certificat... | PASS |
------------------------------------------------------------------------------
Secure-Boot                                                           | PASS |
2 tests, 2 passed, 0 failed
==============================================================================

Merging


Errors found in the object_oriented_programming_advanced.ipynb notebook

Typo in Music Streaming Service exercise: Class User should have attribute username and not name

In the "Banking system" exercise, clarify which kind of interest we want to compute. In the tests we are computing a "simple" interest, while someone might attempt to calculate a "compound" interest. We have to make it clear.

In "Store Inventory" exercise, solution with 'pop("type")' method does not pass the tests even though it outputs the correct result.
Code example that works but fails the tests:
computers = [
{
"type": "PC",
"name": "pc_1",
"price": 1500,
"quantity": 1,
"expansion_slots": 2
},
{
"type": "Laptop",
"name": "laptop_1",
"price": 1200,
"quantity": 4,
"battery_life": 6
}
]
class Computer:
def init(self,name,price,quantity):
self.name = name
self.price = price
self.quantity = quantity
def __str__(self):
    return f"Computer with name '{self.name}', price {self.price} CHF and quantity {self.quantity}."

class PC(Computer):
def init(self,name,price,quantity,expansion_slots):
super().init(name,price,quantity)
self.expansion_slots = expansion_slots
def __str__(self):
    return super().__str__() + f" This PC has {self.expansion_slots} expansion slots."

class Laptop(Computer):
def init(self,name,price,quantity,battery_life):
super().init(name,price,quantity)
self.battery_life = battery_life
def __str__(self):
    return super().__str__() + f" This laptop has a battery life of {self.battery_life} hours."

inventory = []
for computer in computers:
if computer["type"] == "Computer":
computer.pop("type")
inventory.append(Computer(**computer))
elif computer["type"] == "PC":
computer.pop("type")
inventory.append(PC(**computer))
elif computer["type"] == "Laptop":
computer.pop("type")
inventory.append(Laptop(**computer))
sol = []
for it in inventory:
sol.append(str(it))
print(sol)

In the first exercise, it is not possible to use the define decorator to define Mother and Father classes:
from attrs import define

@define
class Mother:
    eye_color_mother: str

@define
class Father:
    eye_color_father: str

class Child(Mother, Father):
    def __init__(self, eye_color_mother: str, eye_color_father: str):
        Mother.__init__(self, eye_color_mother)
        Father.__init__(self, eye_color_father)
        self.eye_color = self.set_eye_color()

    def set_eye_color(self):
        if self.eye_color_mother == self.eye_color_father:
            return self.eye_color_mother
        return "brown"

An attempt to create a class results in the following error:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[2], line 9
      5 @define
      6 class Father:
      7     eye_color_father: str
----> 9 class Child(Mother, Father):
     10     def __init__(self, eye_color_mother: str, eye_color_father: str):
     11         Mother.__init__(self, eye_color_mother)

TypeError: multiple bases have instance lay-out conflict

Replacing the @define decorator with dataclass fixes the issue. But it is still not clear why define is not working.


ng --version errors without node_modules dir

Versions
debian jesse FROM node:latest

$ node --version
v10.1.0
$ npm --version
5.6.0
success Installed "<EMAIL_ADDRESS>with binaries

Repro steps
Using GitLab CI:
image: davidkassa/yarn-angular-cli-firebase-tools:latest
before_script:
 - node --version
 - npm --version
 - ng --version

Observed behavior
$ ng --version
ENOENT: no such file or directory, scandir '/builds/davidkassa/shot-club-web/node_modules'
Error: ENOENT: no such file or directory, scandir '/builds/davidkassa/shot-club-web/node_modules'
    at Object.fs.readdirSync (fs.js:875:3)
    at VersionCommand.run (/usr/local/share/.config/yarn/global/node_modules/@angular/cli/commands/version.js:48:19)
    at /usr/local/share/.config/yarn/global/node_modules/@angular/cli/models/command-runner.js:278:30
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/share/.config/yarn/global/node_modules/@angular/cli/models/command-runner.js:4:58)
ERROR: Job failed: exit code 1

Desired behavior
I would expect version information to be given even if there is not a node_modules/ directory present
Mention any other details that might be useful (optional)

I am getting that same error:
ENOENT: no such file or directory, scandir '/Users/david/repos/halo/frontend/node_modules'
Error: ENOENT: no such file or directory, scandir '/Users/david/repos/halo/frontend/node_modules'
    at Object.fs.readdirSync (fs.js:904:18)
    at VersionCommand.run (/Users/david/.config/yarn/global/node_modules/@angular/cli/commands/version.js:48:19)
    at /Users/david/.config/yarn/global/node_modules/@angular/cli/models/command-runner.js:278:30
    at Generator.next (<anonymous>)
    at fulfilled (/Users/david/.config/yarn/global/node_modules/@angular/cli/models/command-runner.js:4:58)
    at <anonymous>

only think cause I can think of is of mixing both npm and yarn to install/uninstall packages?
I have been unsuccessfully trying to upgrade from angular 5 to angular 6. Now I am trying to do a fallback. Nothing is working

I am getting this error on my WIndows dev box when calling ng --version or ng version...

I have the same problem, but the error message is different.  In my case, @angular/cli was installed globally with yarn instead of npm. This command is run from VSCode terminal window. Is this a powershell compatibility issue?
PS C:\Users\mlang> ng --version
At C:\Users\mlang\AppData\Local\Yarn\bin\ng.ps1:5 char:13
+     *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
+             ~
Unexpected token ')' in expression or statement.
At C:\Users\mlang\AppData\Local\Yarn\bin\ng.ps1:8 char:3
+ if [ -x "$basedir/pwsh" ]; then
+   ~
Missing '(' after 'if' in if statement.
At C:\Users\mlang\AppData\Local\Yarn\bin\ng.ps1:8 char:5
+ if [ -x "$basedir/pwsh" ]; then
+     ~
Missing type name after '['.
At C:\Users\mlang\AppData\Local\Yarn\bin\ng.ps1:9 char:20
+ ... asedir/pwsh"  "$basedir/../Data/global/node_modules/.bin/ng.ps1" "$@"
+                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unexpected token '"$basedir/../Data/global/node_modules/.bin/ng.ps1"' in expression or statement.
At C:\Users\mlang\AppData\Local\Yarn\bin\ng.ps1:9 char:71
+ ... asedir/pwsh"  "$basedir/../Data/global/node_modules/.bin/ng.ps1" "$@"
+                                                                      ~~~~
Unexpected token '"$@"' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParseException
    + FullyQualifiedErrorId : UnexpectedToken

It does work from within cygwin or the windows command prompt
C:\WINDOWS\system32>ng --version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 7.3.1
Node: 10.15.0
OS: win32 x64
Angular:
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.13.1
@angular-devkit/core         7.3.1
@angular-devkit/schematics   <error>
@schematics/angular          <error>
@schematics/update           <error>
rxjs                         6.3.3

Should this be reported in a separate bug report, related to powershell compatibility?

I had the same issue and solved it by changing to the root directory [cd ~/] and then running ng --version

This happens in yarn 2 plug-n-play set ups as well, because there's no longer a node_modules folder in projects using yarn 2.

Thanks for reporting this issue. This issue is now obsolete due to changes in the recent releases. Please update to the most recent Angular CLI version.
If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.


Editor Dark themes do not appear

I just updated to version 0.4.0, and while the dark themes are available for the IDE itself, only the light themes appear in the editor appearance settings. This is awful.

Can confirm this behavior, the dark editor themes aren't available to select.

Can confirm this behavior, No editor themes are available to select.

Unfortunately I cannot reproduce this issue on my computer, can you all describe your environment (OS, IDE version, etc) and which themes appear in the dropdown ?

Unfortunately I cannot reproduce this issue on my computer, can you all describe your environment (OS, IDE version, etc) and which themes appear in the dropdown ?

Behaviour

NO themes appearing in the dropdown

Environment

Intellij IDEA 2020.1.2
macOS Catalina
MacBook Pro 13" 2019

Same here, Intellij 2020 Ubuntu 18.04

Same here with Intellij IDEA Ultimate 2018 on MacOS Mojave.

Restarting IntelliJ helps.


Cannot upload file to blob storage using Azurite

Which service(blob, file, queue, table) does this issue concern?
blob
Which version of the Azurite was used?
serene_lamport
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
DockerHub
What's the Node.js version?
What problem was encountered?
When I try to upload something to the blob storage, I get:
"Microsoft.Azure.Storage.StorageException: An error occurred while sending the request.
 ---> System.Net.Http.HttpRequestException: An error occurred while sending the request.
 ---> System.IO.IOException: The response ended prematurely.
   at async ValueTask System.Net.Http.HttpConnection.FillAsync(bool async)
   at async ValueTask<ArraySegment<byte>> System.Net.Http.HttpConnection.ReadNextResponseHeaderLineAsync(bool async, bool foldedHeadersAllowed)
   at TResult System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<TResult>+ConfiguredValueTaskAwaiter.GetResult()
   at async Task<HttpResponseMessage> System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, bool async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at async Task<HttpResponseMessage> System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, bool async, CancellationToken cancellationToken)
   at async ValueTask<HttpResponseMessage> System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, bool async, bool doRequestAuth, CancellationToken cancellationToken)
   at async ValueTask<HttpResponseMessage> System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, bool async, CancellationToken cancellationToken)
   at async ValueTask<HttpResponseMessage> System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, bool async, CancellationToken cancellationToken)
   at async ValueTask<HttpResponseMessage> System.Net.Http.HttpClient.SendAsyncCore(HttpRequestMessage request, HttpCompletionOption completionOption, bool async, bool emitTelemetryStartStop, CancellationToken cancellationToken)
   at async Task<T> Microsoft.Azure.Storage.Core.Executor.Executor.ExecuteAsync<T>(RESTCommand<T> cmd, IRetryPolicy policy, OperationContext operationContext, CancellationToken token)
   --- End of inner exception stack trace ---
   at async Task<T> Microsoft.Azure.Storage.Core.Executor.Executor.ExecuteAsync<T>(RESTCommand<T> cmd, IRetryPolicy policy, OperationContext operationContext, CancellationToken token)
   at async Task Microsoft.Azure.Storage.Blob.CloudBlobContainer.CreateAsync(BlobContainerPublicAccessType accessType, BlobContainerEncryptionScopeOptions encryptionScopeOptions, BlobRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
   at async Task<bool> Microsoft.Azure.Storage.Blob.CloudBlobContainer.CreateIfNotExistsAsync(BlobContainerPublicAccessType accessType, BlobContainerEncryptionScopeOptions encryptionScopeOptions, BlobRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
   at async Task<CloudBlockBlob> Volt.BlobStorage.BlobStorageService.CreateReference(string blobContainer, string filename)
   at async Task<string> Volt.BlobStorage.BlobStorageService.Upload(string blobContainer, string filename, byte[] contents)
   at async Task<Project> Volt.Jumpball.Project.Services.ProjectService.CreateProject(NewProjectRequest newProjectRequest) in C:/projects/jumpball/Project/Volt.Jumpball.Project/Services/ProjectService.cs:line 26
   at async Task<string> Volt.Jumpball.Project.Controllers.ProjectController.CreateProject(NewProjectRequest newProjectRequest) in C:/projects/jumpball/Project/Volt.Jumpball.Project/Controllers/ProjectController.cs:line 24
   at object lambda_method356(Closure, object)
   at async ValueTask<IActionResult> Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor+AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, object controller, object[] arguments)
   at TResult System.Runtime.CompilerServices.ValueTaskAwaiter<TResult>.GetResult()
   at async Task Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()+Awaited(?)
   at async Task Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()+Awaited(?)
   at void Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Task Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
   at async Task Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()+Awaited(?)
   at async Task Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeNextResourceFilter()+Awaited(?)
   at void Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Task Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
   at async Task Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()+Awaited(?)
   at async Task Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeAsync()+Logged(?)
   at async Task Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke(HttpContext httpContext)+AwaitRequestTask(?)
   at async void Volt.Web.Hosting.DefaultStartup.Configure(IApplicationBuilder app, IHostApplicationLifetime appLifetime, IConfiguration configuration)+(?) => { }
   at async Task Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.Invoke(HttpContext context)+Awaited(?)
Request Information
RequestID:
RequestDate:
StatusMessage:
ErrorCode:
"

Steps to reproduce the issue?

Setup w/ the following connection string as suggested:
 "blobStorageOptions:uri": "DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://<IP_ADDRESS>:10000/devstoreaccount1;"

Attempt to upload file to blob storage

Have you found a mitigation/solution?
no, but it looks like it's failing when this is called:         await cloudBlobContainer.CreateIfNotExistsAsync();

@bamancio-futura I don't know if you fixed it, but I had the same problem and the problem was a missing --tableHost <IP_ADDRESS> (same for blob and queue) and since it was running in a docker, the default config <IP_ADDRESS> was rejecting connection from other ip


re-publish when new peers joining the topic

ended up drafting this alternative https://github.com/textileio/go-libp2p-pubsub-rpc/pull/9 . This feels simpler from caller perspective and does pass your added tests. lmk how you think @sanderpick

@merlinran this is awesome. definitely a better and cleaner approach. I'll jump to the comments on the other PR, but looking like we can ditch that in favor of this


can’t get it on ps5

help me

got it to work on my ios but when i activate it, it's not on my ps5 and i tried doing it through the website and it says the file data is not supported by ps5

That isn't a structura bug or a Minecraft bug. That is an intended feature
of the PS5.
You can put it on a server, realm, or local world on a different device,
force pack download and it will work just fine.
This is not a bug. This is how sony wants it to be
On Sun, Mar 26, 2023, 7:12 PM BigScar1017 @.***> wrote:

got it to work on my ios but when i activate it, it's not on my ps5 and i
tried doing it through the website and it says the file data is not
supported by ps5
—
Reply to this email directly, view it on GitHub
https://github.com/RavinMaddHatter/Bedrock-Chunk-Boarders-Pack/issues/17#issuecomment-1484374571,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBUC5CPBC22YCJ2JWTSRKLW6DZPPANCNFSM6AAAAAAWISAI4Q
.
You are receiving this because you are subscribed to this thread.Message
ID: <RavinMaddHatter/Bedrock-Chunk-Boarders-Pack/issues/17/1484374571@
github.com>


Update config.py example API typo

This commit updates the example comment code for keras config API.
These changes align the examples to the exported API.

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

Project coverage is 62.49%. Comparing base (c1a00e6) to head (6654b63).

:exclamation:  There is a different number of reports uploaded between BASE (c1a00e6) and HEAD (6654b63). Click for more details.
HEAD has 6 uploads less than BASE

Flag
BASE (c1a00e6)
HEAD (6654b63)

keras
4
1

keras-numpy
1
0

keras-tensorflow
1
0

keras-jax
1
0

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #20068       +/-   ##
===========================================
- Coverage   79.29%   62.49%   -16.80%
===========================================
  Files         501      501
  Lines       46951    46951
  Branches     8654     8654
===========================================
- Hits        37231    29344     -7887
- Misses       7971    15959     +7988
+ Partials     1749     1648      -101

Flag
Coverage Δ

keras
62.49% <ø> (-16.66%)
:arrow_down:

keras-jax
?

keras-numpy
?

keras-tensorflow
?

keras-torch
62.49% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Thanks for the PR -- at this time keras.config is the preferred import path for these symbols (while keras.backend is also available, for backwards compatibility).


What features would you like to see in FastMoE v0.2?

Open for suggestions and discussions

expose gate score & idx to users
fp16 backward time inspection
support zero optimizer
model load / save

Could you write an example for stylegan2-ada, https://github.com/NVlabs/stylegan2-ada-pytorch

Could you write an example for stylegan2-ada, https://github.com/NVlabs/stylegan2-ada-pytorch

Could you be more clear? According to the stylegan2-ada paper (https://arxiv.org/pdf/2006.06676.pdf), its main contribution is "an adaptive discriminator augmentation mechanism" which "does not require changes to loss functions or network architectures".  If I understand correctly, the augmentation mechanism is orthogonal to the choice of detailed model architectures, e.g., whether to use MoE or not.

@laekov We should also change the API of MoELinear to accept bias. I.e., from MOELinear.apply(input, weight, expert_count) to MOELinear.apply(input, weight, bias, expert_count), where bias could be None.

Where to download the parameters？

Where to download the parameters？

FastMoE is a system for training MoE models. We do not have any product model yet.

Can MoE be applied to CNN kind network?

Yes. You can use any CNN layer as the expert.


Add Queryset-level delete

Fixes #10
implement Queryset-level delete
I want to reuse build_select_expression, but it seems to no way to change the expression's select column.
The return value of delete method is worth discussing.
Please review

Does this change make it possible to explicitly delete all rows in the table? Django provides .all().delete() for this case and while it's rare, it is useful in some situations.

Does this change make it possible to explicitly delete all rows in the table? Django provides .all().delete() for this case and while it's rare, it is useful in some situations.

Sorry, we can't.  We need to refactor the QuerySet's method all to implement it.

This is way too old, and I think #111 is simpler, so I'll close this for now.


New Flare Setup with peviewer and processdump failing to install

Recently tried to setup a new FLARE system and the above 2 packages failed to install even though the URL to the applications were correct.

@dwizel , can you run another test to see if you still have this issue?


Remove ReportMetrics.jl dep

report_invalidations was moved into SnoopCompile, so this PR removes our dependency ReportMetrics (which will hopefully just get deprecated as we implement those supported features in upstream packages).

bors r+


Make Module Validation take effect only when the SPI is in the module

It should go without saying that you can't add a provides clause if the class isn't part of the module.
This can happen when you write a META-INF/services file that contains an entry for a class not in the module.

@rbygrave please review and deploy when you get time


Added test with timeouts for creating the client

Issue link
This Pull Request is linked to issue (URL): [REPLACE ME]
Checklist
Before submitting the PR make sure the following are checked:

[ ] This Pull Request is related to one issue.
[ ] Commit message has a detailed description of what changed and why.
[ ] Tests are added or updated.
[ ] CHANGELOG.md and documentation files are updated.
[ ] Destination branch is correct - main or release
[ ] Commits will be squashed upon merging.

No need to review this yet - testing in CI


Custom B2C login templates feedback

Custom B2C templates are missing their source codes. See https://github.com/azure-ad-b2c/html-templates/tree/main/templates. There's a folder named src, but it does not contain the source code; rather, it contains some fonts and images. The html files further up contain the compiled css rules and not the source code for the rules. Says it's generated by gulp, but that does not help.
My main concern is the css rules. There are no explanation for what the different class names mean. For example 'error pageLevel'. Obviously it's an error... at a page level? https://docs.microsoft.com/en-us/azure/active-directory-b2c/customize-ui-with-html?pivots=b2c-user-flow gives no further insight.
Some minor things: The custom login pages uses jQuery, a very old technology. The MFA page contains a button without a submit type, meaning that hitting enter does not work. You have to move your mouse and click the button.

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

ID: 84aabaf3-e7da-3519-995c-72d36c537843
Version Independent ID: b35afa8d-a02c-a77a-6831-2b3f6a6c1a7d
Content: Customize the user interface with HTML templates - Azure AD B2C
Content Source: articles/active-directory-b2c/customize-ui-with-html.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@emilmuller
Thank you for your feedback and patience. We're collecting all the information required to address this issue.


better documentation of absolute vs relative module ids

starting at the examples i got bitten by just using a absolute module id in a router for a app that was actually being renamed
it took a while to figure i need to use ./about instead of about as module id
the matter was worse, because i serve a spa shell at all non-static non-api locations, and all i got was a strange syntaxerror

I fixed up the examples and add some emphasis in the documentation. It will go out with the next doc release today or tomorrow.


Swate template creation

I've extended @Freymaurer's guide on swate templates https://github.com/nfdi4plants/Swate-templates/blob/main/README.md and added it to the knowledge base.

There's room for improvement
Once agreed, I would like to remove this from above readme and from there link to the kb

https://github.com/nfdi4plants/Swate-templates/issues/50
https://github.com/nfdi4plants/teaching_materials/issues/375


autofocus on TextFormField widgets causes keyboard to show and hide rapidly

Following widget causes keyboard to be rapidly shown and hidden. Notice autofocus: true - when set to false the issue is gone. No other widget has autofocus set.
return TextFormField(
      keyboardType: TextInputType.emailAddress,
      autofocus: true,
      // inputFormatters: <TextInputFormatter>[new UpperCaseTextFormatter()],
      maxLength: 40,
      validator: (value) {
        if (value.isEmpty) {
          return "Missing data";
        }
      },
      decoration: InputDecoration(
        hintText<EMAIL_ADDRESS>        labelText: 'Email',
        contentPadding: EdgeInsets.fromLTRB(16.0, 10.0, 2.0, 20.0),
        border: OutlineInputBorder(borderRadius: BorderRadius.circular(0.0)),
      ),
    );

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.5.1, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] Android Studio (version 3.1)
[!] VS Code (version 1.23.1)
[✓] Connected devices (1 available)

Is there at least some workaround this issue until fixed?

@vladaman I just tried it with v1.9.1+hotfix.5 on both android and ios, couldn't reproduce. I think the issue is gone, closing it. Please correct me if I'm wrong.


refactore econews-comments

GreenCity PR
https://github.com/ita-social-projects/GreenCity/issues/7437
As part of the ongoing effort to universalize the handling of comments across the platform,[Epic above ☝] the EcoNewsComment entity, its associated services, repositories, DTOs, and database tables need to be refactored into a more streamlined and unified solution.
Summary Of Changes :fire:

Removed EcoNewsCommentService, EcoNewsCommentRepo, related entities, and DTOs.
Migrated functionality to the universal CommentService, including tagging and notification features.
Transferred all comments from the econews_comment table to the unified comments table, preserving replied ID and adding article_type.
Updated EcoNewsCommentController to work with CommentService, following the structure of HabitCommentController.
Cleaned up unused EcoNewsComment components (entities, services, repos, DTOs, database table).

Issue Link :clipboard:
https://github.com/ita-social-projects/GreenCity/issues/7437
https://github.com/ita-social-projects/GreenCity/issues/7455
PR Checklist Forms
(to be filled out by PR submitter)

[ ] Code is up-to-date with the dev branch.
[ ] You've successfully built and run the tests locally.
[ ] There are new or updated unit tests validating the change.
[ ] JIRA/ Github Issue number & title in PR title (ISSUE-XXXX: Ticket title)
[ ] This template filled (above this section).
[ ] Sonar's report does not contain bugs, vulnerabilities, security issues, code smells ar duplication
[ ] NEED_REVIEW and READY_FOR_REVIEW labels are added.
[ ] All files reviewed before sending to reviewers

@holotsvan Please fix the Sonar issues and increase the new code test coverage at least to 90%


x1233—As ARA (Jasmine), I want the costings of the probe hybridisation Xenium to be changed to "probe costing" to distinguish them from kit costings.

Also: Kit costing—on operational pages it is listed as labware costing; change that to kit costing

@khelwood on the Probe hybri view can you change the costings to Probe costings? the kits costings is correct already

@KatyTudor OK I've updated the probe hybrid view on Stan UAT.


Added the add repository command

Description of changes:
Adds a new set of commands under the add verb. The first of which is add repository (or add repo) command. This will ensure the fork and clone, and then add the repository to the configuration file.
This should greatly reduce the amount of time to set up new repositories locally.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thanks @RedbackThomson! i'll rebase my dev branch on your PR and see if everything works as expected. Your changes might have fixed a very sneaky bug in repository.Manager :)


refactor: sbb-divider migration

Preflight Checklist

[x] I have read the Contributing Guidelines for this project.
[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the pull request tracker for a Pull Request (PR) that matches the one I want to submit, without success.

Issue
This PR Closes #
Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)

See Review Guidelines for more information what is checked during review process.
Changes
Changes in this pull request:

sbb-divider migration

Browsers
I tested the build on the following browsers:

[ ] Firefox Desktop
[ ] Chrome Desktop
[ ] Edge Desktop
[ ] Safari Desktop
[ ] Chrome Mobile
[ ] Safari Mobile

Screen readers
I tested the build on the following browsers:

[ ] JAWS Firefox Desktop
[ ] JAWS Chrome Desktop
[ ] NVDA Firefox Desktop
[ ] NVDA Chrome Desktop
[ ] VoiceOver Safari Desktop
[ ] VoiceOver Chrome Desktop
[ ] VoiceOver Safari Mobile
[ ] Android Accessibility Suite Chrome Mobile

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Does this introduce a breaking change?

[ ] Yes
[x] No

Other information

Codecov Report

:exclamation: No coverage uploaded for pull request base (lit-migration@c22164f). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@               Coverage Diff                @@
##             lit-migration    #2009   +/-   ##
================================================
  Coverage                 ?   84.70%
================================================
  Files                    ?       55
  Lines                    ?     4621
  Branches                 ?      143
================================================
  Hits                     ?     3914
  Misses                   ?      706
  Partials                 ?        1

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


bug: Wrong link in the login page

Describe the bug
Link in the authentication page is giving a 404 page.
To Reproduce
Steps to reproduce the behavior:

Go to https://care.ohc.network/
Click on 'Digital Public Goods' icon
You will reach to the 404 page

Expected behavior
Correct link should be https://www.digitalpublicgoods.net/
https://github.com/user-attachments/assets/64d22f3e-cd02-4264-9ad3-bdd8f04ea1dc
Desktop (please complete the following information):

OS: MacOS
Browser Chrome

@rithviknishad @bodhish  I would like to correct the URL if it gets approved. Please assign it to me.

Thanks for finding that issue out!
Here's the URL: https://www.digitalpublicgoods.net/r/care

Thank you for the correct URL. Will generate a PR soon.


[Codelab Issue] Testing Codelab 5.2, Step 9 - runBlockingTest should be replaced with runBlocking

Codelab 5.2, Step 9
The TaskDetailFragmentTest.kt in the codelab's code is using runBlockingTest. Since the class is under the androidTest package it needs to be replaced with the runBlocking method instead
Versions
Any
Additional information
codelab: advanced-android-kotlin

No, it should not, it is correct to use runBlockingTest.  But for it to work, you should import kotlinx coroutines test in both AndroidTest and Test source set like bellow:
androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutinesVersion"
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutinesVersion"


Remove FAQs from the site

This removes FAQ page and reference to the FAQ page from the service.  Also removes the styles, tests etc.
Delivers on https://www.pivotaltracker.com/story/show/95038030

I put one comment on redundant css, otherwise looks good to me

Cool, I've removed that block.


Uncatchable exception Aws exception: RequestLimitExceeded (503) Unable to parse ExceptionName

Confirm by changing [ ] to [x] below to ensure that it's a bug:

[x] I've gone though Developer Guide and API reference
[x] I've searched for previous similar issues and didn't find any solution

Describe the bug
This was observed on release 1.7.212. Apologies if it's been fixed already since. I have been putting off opening an issue.
We have a service that's using PutObjectAsync to S3 and PutRecordAsync in Kinesis. I'm not sure which of these is triggering the issue. We can get into a condition where it tries to do lots of these across a cluster in a single AZ. I can deal with the error itself. The problem is (and the reason I don't know what's causing it) that when we get rate limited, it crashes the whole process. The error happens in the background worker pool handling the async responses to the calls. And the exception bubbles all the way up, through 100% aws-sdk-cpp code until the process is killed with abort() such that the callback never even sees the response.
terminate called after throwing an instance of 'std::logic_error'
  what():  Aws exception: RequestLimitExceeded (503) Unable to parse ExceptionName: RequestLimitExceeded Message: Request limit exceeded. with address : <IP_ADDRESS>

I would instead expect this error to be catchable in user code by calling the Async callback with an error response rather than crashing the whole process.
Again, apologies if it's been fixed since .212. I found no similar issues when searching
SDK version number
1.7.212
Platform/OS/Hardware/Device
What are you running the sdk on?
Linux / EC2 c5 class instances
To Reproduce (observed behavior)
Steps to reproduce the behavior (please share code)
Use one (or both) of those two calls and get rate limited using purely Async versions.
Expected behavior
Pass the error to the async callback rather than crash the process.
Logs/output
terminate called after throwing an instance of 'std::logic_error'
  what():  Aws exception: RequestLimitExceeded (503) Unable to parse ExceptionName: RequestLimitExceeded Message: Request limit exceeded. with address : <IP_ADDRESS>

Additional context
Just re-iterating that this was last observed on 1.7.212. We are upgrading to 1.7.350 today to see if the issue is resolved but after globbing through issues, I couldn't find other instances of this issue.

Hi @keef-cognitiv ,
Thanks for bringing this up, we're going to be taking a closer look at this see what we can do about this, or figure out if there is a workaround.
In the mean time if you figure out a workaround feel free to comment here, or if you have a solution in mind we also accept PRs

We still saw this happening initially - but we've since upgraded and no longer see this ever. Newer versions of the library do not have the issue at all as far as we can detect. So I am closing.


Update LICENSE

update copyright year

We actually need to upgrade the readme like our other projects.  Closing for now.


server_theme.on_transfer example is randomly crashing

Repeated runs of the example on a machine with sufficient concurrency occasionally results in:
example.server_theme.on_transfer: /home/[...]/intrusive_queue.hpp:44:
example::intrusive_queue<&example::task_base::next>::~intrusive_queue() [Next = &example::task_base::next]:
Assertion `empty()' failed.

There is some race condition I haven't been able to track down. It could be a bug in intrusive_queue, static_thread_pool, or the example itself.
I'm tagging @lucteo and @lewissbaker here, the authors of the questionable bits.

It looks like a bug in the example.
It's calling ex::spawn_detached() which then means it cannot join the work before destroying the static_thread_pool.
The static_thread_pool class requires that the caller ensure that all work scheduled to it has completed before you call the destructor of the static_thread_pool. This is why you're failing the assert in the intrusive_queue destructor, which requires that the queue be empty.
You need to use an async_scope (or similar) to ensure spawned work is joined before you call the destructor of the execution context that the work is running on.


SignaturePad is not working with Xamarin.Forms. <IP_ADDRESS>84

Hi guys,
Could you make SignaturePad compatible with Xamarin.Forms. <IP_ADDRESS>84 ?

Thank you very much!
Best regards, sincerely,
G

+1 from  me on this request. I've tried compiling it myself, but no luck.

I see it is on enhancement right now, but isn't it obvious that it is truly needed, as Xamarin 4 has been launched, and all apps with this component became obsolete?
Thumbs up for upgrade!

@gtsmt Our app is also falling behind now. I have tried to find another signature component but nothing fits.

+1, waiting for upgrade too.

Ok Guys, please keep the general negativity off this forum.  I'm one guy that works on this stuff and this project isn't in my direct needs for my projects at the moment.  I didn't ask xamarin to release 2.0 of forms, nor did I ask you to update to it.  This is marked as an enhancement because a new release of an external component is not a requirement of this component.  The fact that your projects are behind now is not the fault of this project.
You really have 3 choices

wait for me to do it.  I was hoping to spend a little bit of time on this over the xmas holidays.
fork it and make the changes yourself.  The code is super trivial to work with.
fix the code, test it, and provide a PR.

The +1's are not helpful either.  If they continue, I will simply be forced to internalize this project.

I forked this with the intention of updating the nuspec and referenced nugets to the latest versions available and submitting a pull request, but the "Samples" projects won't compile.  There are many types that I can't find, like IUserDialogService. Is it critical that the samples projects actually compile?

IUserDialogService is now IUserDialogs (i think) found in nuget package Acr.UserDialogs.

I'm not sure that's even needed anymore, since you can just reference the UserDialogs.Instance singleton.  Getting some other compiler errors in the samples, like some method App.Resolve() that I think might be part of MvvmCross, but I'm not sure.

I built a small, very simple test harness and have updated the Xamarin.Forms nugets and Xamarin.SignaturePad component references to the latest available. The control works like a champ on Android, but when I run it on an iPhone simulator, I can't see any of the strokes and attempting to interact with the control (like to test "IsEmpty") yields a null reference exception.  Properties like the BackgorundColor and others seem to work, but the prompt text and prompt line don't even appear in the view.

I should add that this behavior on iOS is currently exhibited when embedding the control in XAML. I haven't tried using the "ISignatureService" method yet.

OK, so when I use the ISignatureService and
var result = await signatureService.Result();

I get a similar error on my iOS 9.2 simulator.

NVM. I added in the bootstrapper to my new test project and everything works as expected now.

I just created pull request #137 for this.

I have <IP_ADDRESS>71 version and it is not working on iOS.
I installed the nuget library in my Core and iOS projects...


fix(playground): fix links to resources and values (#398)

Closes #398

This is how it will look:

Cool, thanks @czerwinskilukasz1! 🙌


Only Vedo alarm and not the HUB

HI there,
Great integration. I only have the VEDO alarm system and not the HUB for the other domotica.
Is there a way to switch of the HUB integration? and only use the integration of the alarm Vedo system,?
Many thanks, Reiant

Hi Reiant,
basically, you could use only the VEDO integration
# Comelit Hub/Vedo comelit:   vedo:     host: VEDO IP ADDRESS     port: 80     password: VEDO PASSWORD     scan_interval: 30
However, I know there are issues using only the vedo integration.
I'll figure it out in the following days.

Hi Gicamm,
Many thanks! When I use only the VEDO integration I get the following error in the logs:
Logger: homeassistant.setup
Source: custom_components/comelit/init.py:43
Integration: Comelit Hub/Vedo (documentation)
First occurred: 17:37:03 (1 occurrences)
Last logged: 17:37:03
Error during setup of component comelit
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 235, in _async_setup_component
result = await task
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/comelit/init.py", line 43, in setup
hub_conf = conf["hub"]
KeyError: 'hub'
My configuration file looks like:
Comelit Hub/Vedo
comelit:
vedo:
host: <IP_ADDRESS>
port: 80
password: mypassword
scan_interval: 30

Got it.
Thank you.

Hi Reiant,
please enjoy the fix.
Please let me know if you are experiencing issues.

Hi Gicam,
Again many thanks.
I updated to your last version.
When I insert the configuration in the configuration file home assistant keeps on rebooting:
Verbinding verbroken. Opnieuw aan het verbinden…
Dutch for: connection terminated. Restore the connection (of home assistant).
If I comment out the configuration it doesn't go in the reboot cycle:
Comelit Hub/Vedo
comelit:
vedo:
host: <IP_ADDRESS>
port: 80
password: 147258
scan_interval: 30
Any idea? or help? much appreciated.
Thanks, Reiant.

Please attach your configuration file. Please hide your sensitive data before.
Tnx

Comelit Hub/Vedo
comelit:
vedo:
host: <IP_ADDRESS>
port: 80
password: bypassword
scan_interval: 30

configuration.txt

Can you attach the log?
Thx

Hi Gicamm,
In the logs it doensn't give me errors (when I have the configuration active, but I reboots immediately, so the logs are empty from this perspective). When I comment out the configuration it doesn't reboot.
Regards, Reiant

Hi Reiant,
Unfortunately, I do not understand what is happening.
I cannot reproduce it; without logs, it isn't easy to figure it out.
G


Visual Design for Column/Row Interactions

For more information, see the parent issue:

#885

Here are the designs for review:
https://xd.adobe.com/view/1a9870c7-2510-4248-83a5-b0148e7a6763-4fcb/

The last remaining open question is the "ghost" visual appearance while dragging to reorder columns. But that dev work is not scheduled for a while so we're ok to close this.


Last minute bugfixes

Codecov Report

Merging #315 (71d4c6b) into master (126c958) will decrease coverage by 0.21%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #315      +/-   ##
============================================
- Coverage     84.51%   84.29%   -0.22%
  Complexity     1652     1652
============================================
  Files           143      143
  Lines          4326     4336      +10
  Branches        541      541
============================================
- Hits           3656     3655       -1
- Misses          548      558      +10
- Partials        122      123       +1

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/chopchop/logic/LogicManager.java
73.91% <0.00%> (-2.18%)
13.00 <0.00> (ø)

...op/logic/recommendation/RecommendationManager.java
61.53% <0.00%> (ø)
7.00 <0.00> (ø)

...ain/java/chopchop/model/attributes/ExpiryDate.java
82.60% <0.00%> (-17.40%)
12.00 <0.00> (ø)

...ain/java/chopchop/model/ingredient/Ingredient.java
86.95% <0.00%> (-4.79%)
40.00 <0.00> (ø)

Continue to review full report at Codecov.

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


OrderBy collate LOCALIZED is there any way?

Is there any way to use collate localized in orderBy method? I see that after update to 2.2.0 you have changed completely orderBy logic and simple
.orderBy(true, Province$Table.NAME + " COLLATE LOCALIZED")
doesn't work anymore.

@hipczor just use orderBy(Province$Table.NAME + " COLLATE LOCALIZED ASC")


IDSConnector is removed from the list of connectors after being connected for while

Describe the bug
IDSConnector is removed from the list of connectors after being connected for while.
To Reproduce
Steps to reproduce the behaviour:

Connect with the IDSConnector in a Brocker (https://broker.mobilitydataspace.io/)
It will be listed in connector area (https://broker.mobilitydataspace.io/connector)
Wait a while (1 day)
The resource published is still being listed in resource tab (https://broker.mobilitydataspace.io/resources, i.e see image attached), but the broker not (see image attached)

Expected behaviour
Both, the resource and the connector should be listed.
Screenshots
screenshot_1 -> Broker connected
screenshot_2 -> Console log, confirmation Broker is connected
screenshot_3 -> Broker not being listed anymore
screenshot_4 -> Resource still being listed

Additional context
I am connecting to the broker.mobilitydataspace.io using Broker version 4.3.1 and inbound and outbound models 4.0.0

Dear @edgardmarx,
thanks for the issue.
It looks like in your issue the broker was mentioned a lot, although in some places you certainly mean the Dataspace Connector.
However, we assume for now that the problem is in the broker @International-Data-Spaces-Association/metadata-broker-open-core-maintainers  or in the mobility data space @sebplorenz, since the connector does not unregister on its own and the itself resource is still registered.
Additionally, though, the Configuration Manager, which is responsible for the UI in screenshot 1, has no active status update. So it does not automatically check whether the connector is still registered, but assumes that the connector is still registered when it is registered.
Best regards,
Heinrich

Hello @edgardmarx, we are looking into this bug. Might be that the index is periodically recreated (that feature exists to reduce the risk of synchronization errors) and something goes wrong there.


Phone Number Validation

Phone Number Field Validation done for below pages:

Forgot Password Page
Signin Component

make sure not to forget to use -s for signoff while committing @SamikshaKadam19

working on it


#1887 add s group data for atom or bond without selection

Remove if some items selected and check in the sgroup.ts.
Create two methods: startSelecting and finishSelecting based on the logic from mousedown and mouseup methods in the select.ts .
Use them in the sgroup.ts on mousedown and mouseup.

This way we store selected items in the editor._selection field in the store, similar to how it works when the lasso is used with sgroup and sgroup  data instruments.

@epam-nikolai-iakushchenko can you please set the target branch to release/2.7

Hmm, looks like there are still changes from master here?

easier solution found


write script to pull config from published URL & copy to local file

when deploying a new chain, before running the deploy script, we need to

pull the existing published config to a local file
edit the local file to add & configure a new network

it would be nice to have a convenience script to make step (1) less tedious / manual for the developer

not going to block on this for shipping invocation script


Workspace landing page contains DATASET ATTRIBUTES when cloning a workspace

When a workspace is cloned via ACM, the landing page for the new workspace has a section at the bottom that says:
DATASET ATTRIBUTES
Structured Data Use Limitations
This is not editable and can't be removed. It does not appear when cloning a workspace via the AnVIL site.

AnVIL/Terra appear to be adding additional attributes that are not specified in the body. I've opened a support ticket.

Closed by #255


[Feature request] Desktop notifications

VRCX should display desktop notifications when not in VR, so that desktop users can also use the full potential of VRCX without having to buy a VR headset :P

Added https://github.com/pypy-vrc/VRCX/commit/d32c1f9078198a60b044d417765689664e5d164f

Added https://github.com/pypy-vrc/VRCX/commit/d32c1f9078198a60b044d417765689664e5d164f


Change SequencerCollectorScanner to use GithubActions instead of TravisCI

Changed SequencerCollectorScanner's source to GitHub actions.
Modified @khaes-kth GitHub scanner to also provide an "only passing" filter.

Thanks, it's an important change. Could we add a test case of this new feature?

@monperrus test case added for the new only-passing filter of the Github scanner.

Thanks @javierron


How to change Assembler.Instructions?

It's a IReadOnlyList. I wonder how can I modify the value in it if I'm making an assembly-level optimizer.
Is there any way to easily remove an instruction in it which I might have ignored for there're so many methods in Assembler.

There is no methods currently to remove an instruction on an Assembler. You can make a PR to add a void RemoveInstructionAt(int index) (note that InsertInstructionAt doesn't exist as well)

There is no methods currently to remove an instruction on an Assembler. You can make a PR to add a void RemoveInstructionAt(int index) (note that InsertInstructionAt doesn't exist as well)

Thanks a lot.