Synctera

https://synctera.com
https://www.linkedin.com/company/synctera
https://twitter.com/synctera
Careers - https://synctera.com/careers#grnhse_app

Added in https://github.com/jplock/awesome-fintech/commit/b94c01d01c96d2063ea319e07ed5cb421ab4da7c


Fix Model Error on Blender 2.79b Mac

Traceback (most recent call last):
File "/Users/kazari/Library/Application Support/Blender/2.79/scripts/addons/cats-blender-plugin-master/tools/armature.py", line 327, in execute
if math.isnan(uv.data[vert].uv.y):
File "/Users/kazari/Library/Application Support/Blender/2.79/scripts/addons/cats-blender-plugin-master/tools/translate.py", line 409, in update_dictionary
google_input.append(name)
File "/Users/kazari/Library/Application Support/Blender/2.79/scripts/addons/cats-blender-plugin-master/googletrans/client.py", line 134, in translate
result = []
File "/Users/kazari/Library/Application Support/Blender/2.79/scripts/addons/cats-blender-plugin-master/googletrans/client.py", line 142, in translate
File "/Users/kazari/Library/Application Support/Blender/2.79/scripts/addons/cats-blender-plugin-master/googletrans/client.py", line 60, in _translate
token = self.token_acquirer.do(text)
File "/Users/kazari/Library/Application Support/Blender/2.79/scripts/addons/cats-blender-plugin-master/googletrans/gtoken.py", line 188, in do
File "/Users/kazari/Library/Application Support/Blender/2.79/scripts/addons/cats-blender-plugin-master/googletrans/gtoken.py", line 67, in _update
self.tkk = newtkk.group(1)
AttributeError: 'NoneType' object has no attribute 'group'
location: :-1
Same as Issues 63 but I am running the latest version. This only happenes with some models

Oh, this really happens? Looking at the code this should be impossible. But I will implement something in the dev version of cats which I can use to find the cause of this error. Please join the cats discord so I can get back to you faster: https://discord.gg/f8yZGnv

I just added a button to the development version of cats: https://i.imgur.com/Ioc5dyN.png
Please update to the development version with the build-in updater, press this button and send me the file in your cats addon folder > resources > "google-response.txt"

Fixed. If you have the same error again, please let me know


Bump go version from 1.16.15 to 1.17.11 in github/workflows

Signed-off-by: Cosmin Tupangiu<EMAIL_ADDRESS>

https://project-flotta.io/documentation/v0_1_0/dev/installation.html#device-installation

Thanks. That's putting me in trouble. I've bumped the version of the operator because of the commit which adds the models for the host devices but the new version bumps also the k8s dependencies version. :)
Any ideas :)?

Thanks. That's putting me in trouble. I've bumped the version of the operator because of the commit which adds the models for the host devices but the new version bumps also the k8s dependencies version. :)
Any ideas :)?

So, for me two things:

Keep operator 1.16 compatible regarding apis/ and pkg, I think that was compatible.
Or move apis/ and pkg directories to another sub-project.

I prefer the first one, but that it's a decision that needs to be taken at flotta-core meeting.

no more relevant. we keep 1.16


Add machines if specified in bundle

just deploying machines with placement specs in them will not create the machines, we need to add them first.
NOTE - the author of a spell should verify that the bundle is correct using 'juju deploy bundle.yaml' first, since there are some cases where an incorrect bundle could just hang forever with no error message when deployed piece by piece in this way.
Specifically, when an application has a placement spec with a machine ID number that won't exist, like "1" for a bundle with only one machine. The single machine will be named "0".

@mikemccracken just double checking this didn't need an updated sync from bundle placer


Lyw unit tests

unit tests for:
check_dm_actarm_arm
check_dm_age_missing
check_dm_dthfl_dthdtc
check_dm_usubjid_ae_usubjid
check_ds_ae_discon
check_ds_dsdecod_death
check_ds_dsdecod_dsstdtc
check_ds_dsscat
check_ds_dsterm_death_due_to

@laywang142 Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


Add support for BMP581

This Pullrequest add support for BMP581 Temperature/Pressure Sensor.
I started where @talhaHavadar stopped in #51849 and fixed the open issues that where left in this pull request. I also added altitude interpolation from a lookup table, because libc minimal doesn't come with pow() that is needed by the altitude calculation  that was already implemented by @talhaHavadar.
The Commits must be squashed before merge, just left them as multiple commits for easier review.

Thank you very much for the effort @MeisterBob, I wasnt able to find time to finalize it

@MaureenHelm I addressed the remaining issues and rebased onto main.

@teburd would you please reapprove


DataFilter CompositeFilterDescriptor.LogicalFilterOperator is not reflecting the value from rendering

In order to build a query manually, I need to parse the Filters object and translate to different query language for specific data source. (Ex: Ealsticsearch index).
However, the Filters object is NOT reflecting the value I chose in the browser like the screenshots below.
Value I chose in the browser at runtime:

When I inspect the LogicalFilterOperator value on debugging:

Happy coding and regards,
Kyle

Adding more info,

Client side WebAssembly (WASM)
Microsoft Edge browser : Version 123.0.2420.81 (Official build) (64-bit) on Windows 10

Works normally on our demos, make sure you are using the latest version:

Thank you for the response.
Yes it works on demo and DataFilter is bound with dataset. However, if I just want to get and parse CompositeFilterDescriptor, it doesn't reflect the value I chose. I am using ver 4.31.1.

Works normally on our demos, make sure you are using the latest version:

Thank you for the response.
Yes it works on demo and DataFilter is bound with dataset. However, if I just want to get and parse CompositeFilterDescriptor, it doesn't reflect the value I chose. I am using ver 4.31.1.


FIX resolution does fall back logically (missing 480p defaults to 1080p)

use case:
I choose a resolution of 480p.
but the video only has 720p and 1080p available
Expected
defaults to 720p (next available step down, then up from 480p)
Actual
defaults to resolution[0] (probably), which in youtube might even be 4K

this might only affect gtk-youtube-viewer/

it seems atleast the resolution section of the options in ~/.config/youtube-dl/config are overridden by youtube-viewer

it seems atleast the resolution section of the options in ~/.config/youtube-dl/config are overridden by youtube-viewer.
could we add an option named "default" or "config" to the Resolution list, so (gtk-)youtube-viewer would not override it?

Can you include a video link for testing? Thanks!

https://www.youtube.com/watch?v=b5bBuEN2o2Q
it seems this video did have 360p available, so I updated the defaulting behaviour:
should default to next available step down, then up from 480p:
out of a selection of [720p, 1080p] defaults to 720p
out of a selection of [360p, 720p, 1080p] defaults to 360p

since this is somewhat of an edge case, I think implementing a Resolution="config" option for ppl like me is enough

It is possible to pass the YouTube URL directly to mpv, which uses youtube-dl under the hood (below is an example for playing videos at resolution <= 480p):
 video_player_selected => "mpv_native",
 video_players         => {
                   mpv_native => {
                                  arg => "--really-quiet --ytdl-format='bestvideo[height<=480]+bestaudio/best' --force-media-title=*TITLE* *URL*",
                                  cmd => "mpv",
                                  fs  => "--fullscreen",
                                  srt => "--sub-file=*SUB*",
                                 },
                  },

Since youtube-viewer has its own mechanism for selecting the resolution of videos (youtube-dl is only used for certain types of videos to extract the video URLs, but not in selecting the resolution), it doesn't really make sense to parse the configuration file of youtube-dl.
But I will try to fix the code to select the nearest available resolution, when the selected resolution is not available.


BTParallel parameters num_successes_required and num_failures_required have swapped documentation

Godot version
4.3
LimboAI version
1.2.2
LimboAI variant
GDExtension / AssetLib
Issue description
In the BTParallel class:
The documentation for num_failures_required says:
if the specified number of child tasks return SUCCESS, BTParallel will also return SUCCESS.

The documentation for num_successes_required says:
if the specified number of child tasks return FAILURE, BTParallel will also return FAILURE.

This is opposite both in practice and with the variable names
How to reproduce

Download the plugin
Go to the documentation for the BTParallel class

This is already fixed in the master.

Great, thank you!


Error using MediaSourceConfig in WindowsAppSDK

The following errors occurred when I used MediaSourceConfig in today's test
The type initializer for 'WinRT.ActivationFactory`1' threw an exception.
code：
MediaSourceConfig Config = new MediaSourceConfig();
Config.FFmpegOptions.Add("referer", "https://www.bilibili.com");
Config.FFmpegOptions.Add("User-Agent", "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36");
var value2 = await FFmpegInteropX.FFmpegMediaSource.CreateFromUriAsync(item.BaseUrl, Config) ;
var mediaSource = value2.CreateMediaPlaybackItem();
NowMediaPlayer.Source = mediaSource;

This error occurred when initializing Config. Is there a solution?

For this to work with WinRT, you need to add the CsWinRT Nuget package, and you must run it as a "Packaged" app. If you want to run unpackaged, you need to add VCRTForwarders.140 as well.
Oh and you must add FFmpegInteropX as Nuget package. If you add it as project reference, the dll is not moved to the correct location, which also leads to ActivationFactory exceptions.

I executed as you did. MediaSource has no problem, but after calling CreateFromUriAsync
Error HRESULT E_ FAIL has been returned from a call to a COM component.
I don't know what to do next.

Can you provide a repo sample?

App2.zip
This is an instance, which contains an API interface library. Here it is BIlibiliAccount, which is still the problem above. I can only use the Microsoft Dash configuration file now.

I'm not sure if it's my Nuget package reference error

Frankly, I have not yet run the sample, but I think this is a normal error, because the URL you are passing is not a valid stream. Try copying the URL and pasting it in one of our CS or CPP sample apps. The samples (except WinUI sample) have ffmpeg logging enabled and will show output messages starting with "FFmpeg" in the debug output window. Then you will see what the error reason is. Alternatively, you can try to open an URL with ffplay (which is usually part of public ffmpeg builds). If gives detailed log output. If an URL cannot be played with ffplay, you cannot play it thorugh our lib.
It looks like you are trying to manually play DASH substreams, which is a really difficult task. I have some experience with that. In the DASH format, every stream is divided into separate substreams (multiple video and audio streams with different bitrate), and each of these substreams is again split into thousands of segments, each only few seconds long. The segments cannot be played individually, because they do not contain any stream info / header data. The header data is contained in an initialization segment, which must be prepended to the segments when you try to decode the stream.
The central part of a DASH stream is the MDP file, which defines the streams, the init segments, the segment sizes, a base url and a template from which to generate the segment file names (usually containing the segment number or timestamp). If you can find the path to the MDP header, you can open that with FFmpegInteropX and it should allow playback, including all substreams. But trying this manually is very difficult. You'd need to find out the segment name template (I do not see that in the API model). You have to find out the init segment url and connect init segment and content segments as one stream (I am not even sure if that is currently possible from our lib). You have to play both the video and audio stream in sync. You will need to support seeking.
Instead of trying to do this manually, I'd recommend you try to find out how to get the path of the MDP file for a video. I am pretty sure there is one. If this Bidi system has a website for video playback, you could open the broswer developer tools (F12), open the network tab and select "media". Then open the same movie you try to play via API, and look at which URLs are opened. You should hopefully see the MDP file and then lots of m4a segments being opened during playback. Maybe you can find a way to reconstruct the MDP path from a movie ID and/or some of the data you get from the REST API.
What could make things worse is if the system requires some sort of authorization. It might be that you'd need to set certain auth headers or cookies to allow playback. Just saying, because when I open the URL which is at the bottom of the MainPage.cs, I get an error 403 (not allowed). So there can be additional roadblocks.

Yes, he has a security chain and needs to specify the referer as the homepage of his website. I'm trying to use the mpd file


Generating python files results in an __init__.py at the root of the gen directory

With a simple file structure that looks like this:
.
└── foo.proto

If I run:
 docker run -v `pwd`:/defs namely/protoc-all:1.9 -f foo.proto -l python

I get the following output:
.
├── foo.proto
└── gen
    ├── __init__.py          <- this is unexpected, I think
    └── pb_python
        ├── __init__.py
        ├── foo_pb2.py
        └── foo_pb2_grpc.py

It's an empty file. Haven't done much digging yet, just wanted to get the ticket open first.
cat gen/__init__.py
# nothin'

I leave this one to @mdkess
On Thu, Apr 19, 2018 at 3:55 PM Ben Limmer<EMAIL_ADDRESS>wrote:

With a simple file structure that looks like this:
.└── foo.proto
If I run:
docker run -v pwd:/defs namely/protoc-all:1.9 -f foo.proto -l python
I get the following output:
.├── foo.proto└── gen    ├── init.py          <- this is unexpected, I think    └── pb_python        ├── init.py        ├── foo_pb2.py        └── foo_pb2_grpc.py
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/namely/docker-protoc/issues/62, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFkGvLQ2Il4YPlmU4Y_UONvI9p11RvSks5tqOuzgaJpZM4TcZuj
.

It also seems to place it in every other folder too:
/src/main/gen$ find . -name __init__.py
./pb_python/__init__.py
./__init__.py
./pb-ruby/company_pb/<logical_grouping>/__init__.py
./pb-ruby/company_pb/<logical_grouping>/__init__.py
./pb-ruby/company_pb/<logical_grouping>/__init__.py
./pb-ruby/__init__.py
./pb-java/company_pb/<logical_grouping>/__init__.py
./pb-java/company_pb/<logical_grouping>/__init__.py
./pb-java/company_pb/<logical_grouping>/__init__.py
./pb-java/__init__.py
./pb-node/company_pb/<logical_grouping>/__init__.py
./pb-node/company_pb/<logical_grouping>/__init__.py
./pb-node/company_pb/<logical_grouping>/__init__.py
./pb-node/__init__.py

It has to be in every parent directory for python to be able to import it, so it's correct that it is in the gen/ directory. However it shouldn't be in the other directories (i.e. pb-node, pb-java), I'll fix that.


Test CI on Windows

Hello @xitox97!

The language 'php' is currently unsupported on the Windows Build Environment.

😿


Video Controls in RTCMulticonnection

Hi Muaz Khan,
I'm trying to build custom controls for the video call, I need the following controls: call volume (for the audio of the people I'm connected to), disable the microphone and disable the video, but I'm not having success.
1 For the cases of disabling the microphone and video, I can execute with mute and unmute successfully, but I am also using the recordrtc and when recording I am getting in the video only the non-mutated stream, for example: I'm getting only one audio track.
But when I merge the files I need to indicate the streams used for each file, which is usually video and audio, but when it has only one stream, the server will give error because of the lack of one of the streams, so for this first case I would like to know if I can keep the flow when trying to mutate and just replace the audio stream with a mute track and video over a black screen.
The images below show how the stream gets muted audio or video

2 The case of the volume of the call, I tried to use the volume attribute of the video components, but it does not change, I also tried with the AudioContext, however I just managed to make it work for the microphone, for the remote connections it leaves the audio without sound
The code below is the one used with the audio context, in the onstream method
           var context = new window.AudioContext();             var microphone = context.createMediaStreamSource(event.stream);             gainFilter = context.createGain();             var destination = context.createMediaStreamDestination();             var outputStream = destination.stream;             microphone.connect(gainFilter);             gainFilter.connect(destination);             var filteredTrack = outputStream.getAudioTracks()[0];             event.stream.addTrack(filteredTrack);             var originalTrack = event.stream.getAudioTracks()[0];             event.stream.removeTrack(originalTrack);
Can you get an idea of what would help me in these cases?
Thank you.
You do a great job.
Congratulations.

Hi @muaz-khan  ,
You can help me with my question, I need this control of the audio and video streams, but I also need the call recording without loss of the coding properties of both.
Thank you.


Issue 83 axelar claim #83

https://github.com/spearbit-audits/LiFi/issues/83#issuecomment-1247808189

https://github.com/spearbit-audits/LiFi/issues/83#issuecomment-1248031400


WIP: protonmail-bridge: 1.2.3-1 -> 1.3.3-1

Updating protonmail bridge.
Current error is that a .desktop file is missing.
Uncertain what it is, but starting the PR, if anyone is more familiar.

Motivation for this change
Things done

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

[ ] 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.

Proton have released the source for the bridge now at https://github.com/ProtonMail/proton-bridge, so it might be more maintainable to switch to building from source now? Also, the released version is up to 1.4.5-1 now (they move quickly!)

As discussed in #97991 we should work on a limited cli version. I'm looking into this as soon as I've some free time :sweat_smile:

Hey, just so you guys know and aren't expecting, I haven't been using Nix enough recently to make time to figure the rest of this out.
Just letting you all know in the event someone is thinking of fixing this but doesn't cause I made the request.
Sorry.

Let's close this in favor of https://github.com/NixOS/nixpkgs/pull/103037


Refactoring summarize method

Refactoring summarize method in Smmry class.

Coverage remained the same at 100.0% when pulling 4b56dfe939e24eb757b8368d6746f5ab15daf02f on cleanup into 33660fe514160553ac6021069e754ad8532846ad on master.

Coverage remained the same at 100.0% when pulling a96710b7afcb7f89ade43d93ef452b88d55e3f77 on cleanup into 33660fe514160553ac6021069e754ad8532846ad on master.


[RFC]: Tensor Initialization on Different Devices

Describe the feature
Currently, Colossal-AI requires at least PyTorch 1.8 at this is the lowest version which provides holistic communication operations. However, PyTorch 1.8 does not support directly initialize tensors on GPUs.
import torch
import torch.nn as nn

# allowed
layer = nn.Linear(128, 128)

# NOT allowed
layer = nn.Linear(128, 128, device=torch.cuda.current_device())

The current implementation forces the tensor-parallel layers to be initialized on GPUs by default. This is because that for TP layers, we may want them to initialize to different values on different ranks. This is achieved by forking into a different CUDA RNG states. One example is like below:
with seed(ParallelMode.TENSOR)：
      layer = colossalai.nn.Linear(128, 128) # layer is created on GPUs

For the sake of API consistency, we should initialize the TP layers on CPUs by default if no device is given. This brings two benefits:

colossalai.nn behaves the same as torch.nn as tensors are initialized on CPU by default. TP layers will only be initialized on GPUs when device='cuda'.
This reduces the possibility of CUDA OOM when running pipeline partitioning. When partition the model into pipeline stages, one strategy is to count the number of parameters per layer and split accordingly. If all layers are initialized on GPUs, large models may lead to OOM straight.

The problem of CPU intialization is that we can't initialize them differently on different ranks. This is because we currently control the initialization with CUDA RNG, but not CPU RNG. One solution is to add CPU seeds to the seed manager as well.

I recommand use an init context to solve the problem rather than change the colossal.nn function.
ZeRO init context provides an arg as target_device to designate the device to init parameter tensors.
I suggest such a context is not only be used for ZeRO but should be used for all parallel strategies, including TP.

I recommend using an init context to solve the problem rather than changing the colossal.nn functionality. ZeRO init context provides an arg as target_device to designate the device to init parameter tensors. I suggest such a context is not only be used for ZeRO but should be used for all parallel strategies, including TP.

I think a context will be good, but I wonder it can achieve the desired randomicity. For examples, a tensor is initialized under both with seed(ParallelMode.TENSOR) and with ZeroInitContext(), will they be initialized to different parameters if device is cpu.

We have updated a lot. This issue was closed due to inactivity. Thanks.
https://github.com/hpcaitech/ColossalAI/discussions/3124


Unlike Elasticsearch, can the number of shards be changed in Elassandra as in Cassandra?

Sorry for a silly a question. I'm aware, the number_of_shards is a fixed value in Elasticsearch as this can not be changed after creating the index. Whereas the new nodes (shard or partition node) can be added to the Cassandra ring. From the notes, I guess the Elassandra uses the Cassandra config for the keyspace storage layer and it's partitioner type etc. Just to confirm, does Elassandra inherits the number of shards (config) from Cassandra or Elasticsearch? In other words, can the number of shards be changed for Elassandra index later stage after creating it?

@vroyer Ignore my question above. I found the answer for my query about changing the Shards, from your documentation at: https://media.readthedocs.org/pdf/elassandra/latest/elassandra.pdf
Excerpt from your document that helped me: "Unlike Elasticsearch, sharding depends on the number of nodes in the datacenter, and number of replica is defined by your keyspace Replication Factor . Elasticsearch numberOfShards is just an information about number of nodes.
• When adding a new elasticassandra node, the cassandra boostrap process gets some token ranges from the existing ring and pull the corresponding data. Pulled data are automatically indexed and each node update its routing table to distribute search requests according to the ring topology." .....
Thanks,
Diwakar


WiFi disable

Sometimes when respringing, the wifi on/off toggle is unavailable (grayed out)

reboot and re-jailbreak.


Rollup.runFromTrigger() in FFLIB Trigger Handler

If I am using the FFLIB Tigger Handler Framework, where do I add the one line of code(Rollup.runFromTrigger()), do I need to add it to each trigger context specific method (onAfterInsert, onAfterUpdate, etc.) or is there some way I can just write it once for all the methods?
Thanks.

@kechetino I've submitted https://github.com/apex-enterprise-patterns/fflib-apex-common/pull/491 to aid with this. However, I'm converting this to a discussion as it's not an issue with Apex Rollup.


controller for rendering only?

This may be documented and I've not found; or maybe possible and undocumented. If neither maybe a use case to [not] consider building.
As an admin rolling out applicationset, I would like to experiment with creating templates and see what would Applications would be generated. Is there a way to run the controller from CLI with args that could take an input file(s) and render output? I'd be curious to know what names it generates (and their length!). Bonus if it does whatever validations and reports errors.

@jgwest  - It's not so much about creating the templates, but rather seeing what the template output looks like when it renders.


updated pa11y ci

sorry, didn't realise @branfosj  had already made a PR for this, just thought it was in the django template in GitLab. closing this PR and merging his.


[WIP] Bareflank

@krystian-hebel pretty cool, but have you got readme or documentation about what it is and how to use that?

@pietrushnic not yet, it still requires USB drive with Bareflank anyway. This is more like a backup of local repository in case I mess up again :smiley:
Still, if you want to try, this code is compatible with UEFI Loader scripts for building, but some dummy target_binary.efi needs to be given.


I did some sorting.

Description
I did some sorting which was necessary.
.
Type of change
Choosing one or more options from the following as per the nature of your Pull request.

NOTE: These boxes can be checked using [X]

[ ] Bug fix (non-breaking change which fixes an issue)

[X] New feature (non-breaking change which adds functionality)

[X] Documentation Update

Checklist:
Please tick all the boxes that are fulfilled by your Pull Request.

[X] I have named my files and folder, according to this project's guidelines.
[X] My code follows the style guidelines of this project.
[X] My Pull Request has a descriptive title. (not a vague title like Update index.md)
[X] I have commented on my code, particularly in hard-to-understand areas.
[X] I have created a helpful and easy to understand README.md, according to the given README_TEMPLATE.
[] I have included a requirements.txt file (if external libraries are required.)
[] My changes do not produce any warnings.
[] I have added a working sample/screenshot of the script.

Ok I will see it after some time.
On Sun, 4 Oct, 2020, 3:50 pm Tushar Nankani<EMAIL_ADDRESS>wrote:

@tusharnankani requested changes on this pull request.
Which issue are you referring to? @rishu1722
https://github.com/rishu1722
If the issue is not mentioned, create it here
https://github.com/Python-World/Python_and_the_Web/issues/new!
Also, the PR description doesn't match the code!
Please follow the guidelines
https://github.com/Python-World/Python_and_the_Web#how-to-contribute!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Python-World/Python_and_the_Web/pull/327#pullrequestreview-501609644,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARHUXVSJWTNR2OMIECM3KD3SJBD75ANCNFSM4SDSXFYQ
.

Closing this, for now, please follow the guidelines and create a proper PR


Fix links being displayed as a single line

Previously, the links of a person was not properly formatted and would display as a single line:

Let's fix the formatting so that each link is appended and shown in a separate new line:

Codecov Report
Base: 44.72% // Head: 44.72% // No change to project coverage :thumbsup:

Coverage data is based on head (8b3a130) compared to base (2a3b6e2).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #212   +/-   ##
=========================================
  Coverage     44.72%   44.72%
  Complexity      657      657
=========================================
  Files           142      142
  Lines          3405     3405
  Branches        398      398
=========================================
  Hits           1523     1523
  Misses         1749     1749
  Partials        133      133

Impacted Files
Coverage Δ

...main/java/seedu/clinkedin/model/person/Person.java
54.23% <0.00%> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


type 'Timestamp' is not a subtype of type 'String' in type cast

I want to fetch meetings from Firestore and map them into the following Meeting model:
part 'meeting.g.dart';

@JsonSerializable(explicitToJson: true)
class Meeting {
  String id;
  DateTime date;

  Meeting(this.id, this.date);

  factory Meeting.fromJson(Map<String, dynamic> json) {

    return _$MeetingFromJson(json);
  }

  Map<String, dynamic> toJson() => _$MeetingToJson(this);
}

The documents are fetched from Firestore and then fromJson is called on the iterable, but an exception is thrown:
type 'Timestamp' is not a subtype of type 'String' in type cast
When I go into generated meeting.g.dart, it's this line which causes the error
json['date'] == null ? null : DateTime.parse(json['date'] as String)
To workaround the issue, I've tried changing from DateTime to Timestamp (Firestore's type) in the model, but then the following build error is shown:
Error running JsonSerializableGenerator
Could not generate `fromJson` code for `date`.
None of the provided `TypeHelper` instances support the defined type.

Is there a known solution for this issue? It seems common scenario for people to want to map Firestore's Timestamp into DateTime

See the example here https://github.com/dart-lang/json_serializable/blob/master/example/lib/example.dart
You can use custom converter functions!


[Design Change] Display cloud provider name under logo on home page.

Current Design:
Currently the home page has four cloud provider logos.

The cloud providers are not immediately identifiable since the logo does not have the name of the company.
The logos and the source images are of different sizes. The alignment of the logos in side the source image is not consistent.
The Azure logo is still the old one.
The IBM Object storage logo is not legible since the size is small.

Recommended Changes:

Keep only the icons of the cloud provider logos and not the name of the company.  Display the cloud provider name as a different element under the cloud.
Unify the size of the cloud provider logos and make them square. Align them to the center of the image.
Update the logo to the latest.
Crop the name of the company from the logo and display the name below the cloud.

Please review.
I can raise the PR if the changes are approved.

@leonwanghui @xing-yang Please review.

I think it should be ok


Improve README (packages)

Add honeycomb-health-middleware and honeycomb-info-middleware to packages

Coverage remained the same at 100.0% when pulling 300eeed739b034b748444137851331eb658bddd8 on readme into 854145209f43ab5b04fa55529e41b8b46497d3e8 on master.


Add failing test to attribute filtering

@probablyup some of your changes in validAttrs.js broke the filtering for invalid props.

@probablyup I've had to revert your regexp change, I couldn't figure out how to make that work :cry: I'm going to publish this as a hotfix, it'd be awesome if you could try again in another PR!

This was published in v2.3.2 as a hotfix, feel free to merge until @probablyup has time to figure out why the regexp would return true for all strings!

I wasn’t aware that we don’t have tests for this 🤯 well now we do have a small one


Fix cancellation webhook bug

Context
A merchant discovered the error log during WC maintenance.
CRITICAL Uncaught Error: Call to a member function uuid() on null in /home/kusanagi/de300fb99ec8ad9cd9b44e25/DocumentRoot/wp-content/plugins/komoju-japanese-payments/includes/class-wc-gateway-komoju-ipn-handler.php:256

The specific line of code causing issues was $transaction_id == $webhookEvent->uuid() since $webhookEvent wasn't passed to the is_order_cancellable function. This PR updates the is_order_cancellable method to properly receive $webhookEvent so we don't call uuid on a nil variable.
Fixes: https://app.asana.com/0/1203431131393579/1206550902062204/f
Testing
Probably ok to just check the code on this one. If you want to test it, you can:

Setup a local env to test the Komoju WooCommerce plugin (see https://www.notion.so/WooCommerce-Testing-Demo-9bbada14ee314a379e141f8d512dde4f).
Buy an item on your WooCommerce shop. Paying with konbini is probably easiest.
Cancel the payment in the Komoju admin panel (triggers is_order_cancellable in the same way as an expiring payment does).
Ensure there's no issues with the webhook response by checking the Payment webhook responses in the Komoju admin panel.

@Resonious can you help us review this PR, please?


MNT: Add C++ compiler 'run' requirement for fcc

The fcc script requires the existence of a C and C++ compiler, so add gxx for Linux and clangxx for macOS to ensure these exist.
Bump build number.

Checklist

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

@conda-forge-admin, please rerender

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/meta.yaml) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-webservice.
I tried to rerender for you, but it looks like there was nothing to do.
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12190168923. Examine the logs at this URL for more detail.


Added fromPairs alternative

@ndugger What do you think of showing solutions with Stage 3 proposals?

It is in stage 3. Here is the link.


DCA: document Excel spreadsheet config and download option

Related to #414 - document how the feature is configured and used.
AC:

feature configuration  documentation on schema hub
feature usage documentation in generic user-facing data ingress docs

Starting a DCA deployment documentation page on schemahub
And updated the README on the schematic-rest-api-branch.

@afwillia thanks for starting the docs. I was trying to leave comments on schemahub, alas internet doesn't yet work well in-flight :)
You mentioned in the schemahub page, the docs are WIP; definitely would need a bit more detail and styling. Similarly in the github readme. You can drop in description of the other env variables as well, for completion?


Fix the issue of parallel workers not executing always

Fixes #3010

In this PR, we are waiting till the worker executor finishes it's tasks before calling the Runtime exit method.


Add --user root to application build

Add the flag to allow building the application under the /workdir/$workflow_id/$application_id/target
Otherwise, the build fails due to a lack of permission to write to that folder.

merging just to enable the build of jira listener successfully. can revisit if this solution is problematic.


Update s3, sqs to 2.15.67

Updates

software.amazon.awssdk:s3
software.amazon.awssdk:sqs

from 2.15.66 to 2.15.67.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

labels: library-update, semver-patch

Superseded by #53.

Superseded by #53.


Macro error

Hello,
I'm new to the OCTAVA tool. I tried to process some of our data, but I've encountered a "Macro Error" when clicking "Skeletonize". The Macro Error shows: "xxx.tif" is not valid choice for "redirect" in line 1100 (called from line 307). I am wondering how I can fix this problem?
If you need the pictures, I can send you through email.
I install the OCTAVA tool with the installer exe file, so I believe all the environments are configured correctly, right?
Look forward to your reply.
Thanks.

Ok. Problem solve. The software cannot handle the filename that has space in it.


Handle theme changes in QuickInfo margin

Fix #989.
Note to self: one needs to specify the assembly name so that associated types can be found.

I don't like the light bevel in the dark theme

In the Light and Blue it's ok

I set the border color to be the same as the background one. Hope it's fine.

Great job, thanks!


add "preview = yes" to config at preview time

I want to know it is now preview mode in the input plugin.
for example, such an implementation would you like?
or other better way?

I think better idea is to add an API to org.embulk.spi.Exec (ExecSession). Exec class is an interface to provide runtime environment information.

oh, thank you for teaching me!


You can only connect via ssh command and not web shell

It's very strange, I can only connect by typing the ssh command, if I open the web url, there is only a screen that looks like it's stuck.
However, after I successfully connect via local ssh, the stuck page opened on the web url becomes normal and I can enter commands through the page normally.
I don't know much about tmate
Is this a bug? Or is it because I don't know the exact procedure of tmate?

press ctrl+c that helps to me

on website

This is not caused by this github action and most likely by tmate.io itself.


[ListItemIcon] icon should not shrink fixes #7915

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

Closes #7915

@gulderov Thanks :)


Support RGB or hex code text color formatting instead of fixed value

Platform
What platform is your issue or question related to? (Delete other platforms).

Microsoft Teams
.NET HTML
.NET WPF
Android
iOS
JavaScript
UWP

Author or host
Author and host both
If you're an author, who are you sending cards to?
Version of SDK
1.1
Issue
Support RGB or hex code text color formatting instead of fixed value
Explain your issue. If you just have a question, please post on StackOverflow instead.

@vishrutshukla this goes against one of the guiding principles of Adaptive Cards, namely that it is up to the host application to impose its own actual colors. There is very little chance that we'd move to an explicit color model.


libRTC for tvOS

Hello !!!
It is possible add scripts for building libRTC for Apple TV (tvOS)?
Because I can't link iOS lib in an apple tv app (
Thanks!

No answer...!!!

ahhhhrrr.... Anybody? I really do not want to waist my time creating script for tvOS :) I mean, seriously, somebody must have compiled webRTC for tvOS it by now!

This isn't possible at the time and will not be done by the maintainers of this repo.
As a side note, in general, getting WebRTC working on tvOS is better suited for discuss-webrtc.
@ArikYa, could you please close this issue and mark as wontfix?


unifi-protect-backup: add aiolimiter

Description of changes
Fix build (https://hydra.nixos.org/build/246494309)

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

it builds on 23.11 without this, but fails to start, so lets backport this


[BUG]readme cookiecutter install command is outdated

Description
running this:
cookiecutter gh:Microsoft/AMLDistCC
causes this error:
"The repository https://github.com/Microsoft/AMLDistCC.git could not be found, have you made a typo?"
update readme to cookiecutter gh:Microsoft/DistributedDeepLearning
In which platform does it happen?
ubuntu 18
How do we replicate the issue?
Expected behavior (i.e. solution)

Other Comments

Fixes in #10


Manual triggered 'ALEComplete' overwrites user's 'completeopt' setting permanently.

Hello ALE team,
I have started using ALE completion via LSP servers, tsserver and solargraph, but only by manual triggering via the following settings:
let g:ale_completion_enabled = 0
imap <C-Space> <Plug>(ale_complete)

In this case Control-Space will trigger an LSP completion. At the same time I set my own completeopt to just menu.
Triggering :ALEComplete via Control-Space will successfully complete (nice), but at the same time it will overwrite completeopt to menu,menuone,noselect,noinsert even once the completion has finished (not nice).
As with live completion, I believe manual triggered completion should not permanently overwrite a user's personal completeopt setting. That ALEComplete-modified completeopt then changes my preferred completion behaviour for standard Control-n / Control-p keyword completion.
When doing manual triggered LSP completion I don't see why menu,menuone,noselect,noinsert is needed at all. For live completion, yes absolutely, but for manual triggering via :ALEComplete maybe don't overwrite completeopt at all?
If that proves too difficult, then :ALEComplete function should record a user's completeopt setting, change it to menu,menuone,noselect,noinsert temporarily, do the LSP completion, then restore the user's original completeopt setting
Thanks for an excellent plugin.

Now manual completion doesn't change the setting.

Just updated. Yes, the issue is now fixed.
Many thanks.


[1.12.2] Doesn't Work With The Latest Forge Version

So I updated my forge version to <IP_ADDRESS>02 and it seems that the network cannot input power.

I played around with the network options and nothing fixed it.

I haven't encountered any issues on the latest forge, just check...
You have flux points/flux storage to receive the power?
The energy cells are on output as in that picture the energy cell is not.

Flux Points input power, you are using a Flux Plug. Flux Plugs only input power into Flux Networks Energy Storage Devices.
So it would go like this. Energy Producing Item -> Flux Plug, Then you need a Flux Controller & a Flux Storage Device, then Flux Point -> Item Receiving Power


Use a single defaultWatcher per cluster

Avoid multiple runs doing the same thing
Please provide a description of this PR:

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
82e69f2a8feaa9bdf515417fbf8051909a5ac316
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

I read the default watcher carefully, and find that it maybe better to just remove the queue from it since it is only reading a revision. And keep instantiating it in each leader election call

The work it does is trivial, definitely. Do you know if k8s recommends/uses queues always, or only for non-trivial tasks?
I do still think its better to not instantiate multiple times per call though. That would cause multiple handlers on the informer still, which in theory could fall out of sync and cause weird behavior. It should work fine but doesn't seem ideal.

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
b46fc1747155d5d6c8093bde0ea15dce8b22ce0c
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test unit-tests_istio

integ-ipv6-k8s-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-ipv6-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test unit-tests_istio

integ-ipv6-k8s-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-distroless-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test unit-tests_istio

integ-ipv6-k8s-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-distroless-k8s-tests_istio

integ-pilot-istiodremote-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-pilot-istiodremote-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test unit-tests_istio

integ-ipv6-k8s-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-distroless-k8s-tests_istio

integ-pilot-istiodremote-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-pilot-istiodremote-tests_istio

integ-pilot-istiodremote-multicluster-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-pilot-istiodremote-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test unit-tests_istio

integ-ipv6-k8s-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-distroless-k8s-tests_istio

integ-pilot-istiodremote-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-pilot-istiodremote-tests_istio

integ-pilot-istiodremote-multicluster-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-pilot-istiodremote-multicluster-tests_istio

integ-operator-controller-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-operator-controller-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test unit-tests_istio

integ-ipv6-k8s-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-distroless-k8s-tests_istio

integ-pilot-istiodremote-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-pilot-istiodremote-tests_istio

integ-pilot-istiodremote-multicluster-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-pilot-istiodremote-multicluster-tests_istio

integ-operator-controller-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-operator-controller-tests_istio

integ-pilot-multicluster-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-pilot-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-distroless-k8s-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-distroless-k8s-tests_istio

integ-pilot-istiodremote-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-pilot-istiodremote-tests_istio

integ-pilot-istiodremote-multicluster-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-pilot-istiodremote-multicluster-tests_istio

integ-operator-controller-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-operator-controller-tests_istio

integ-pilot-multicluster-tests_istio
81e32e7a89c8ff1bb7d475c32141597ee93c1ec9
link
true
/test integ-pilot-multicluster-tests_istio

unit-tests_istio
880ce1788eb96c820759b7dc8a41f0d3c01d426e
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

I think we need to create it only if we are going to Run it. Creating the queue launches a goroutine and starts filling up the queue. if we never run it, the queue will grow unbounded

closing since its harder than expected


How to access subviews of the UIEmptyStateView?

I would like to ask the question as above. Given I have set the image is AlwaysTemplate.

The image view is just a regular UIImageView as well as UIImage.
It's inside the UIViewController+UIEmptyState.swift file, which is an extension on the UIViewController class.
Here an emptyStateView property is set and has a type of UIView.
So to access the members of the UIEmptyStateView, such as the UIImageView you're looking for, you just need to cast to a UIEmptyStateView.
Example:
(self.emptyStateView as? UIEmptyStateView)?.imageView.tintColor = UIColor.blue

great thanks mate . I have used your framework and got positive feedbacks about user experience.

Awesome to hear!


[#5302][Slack Adapter] Skill not answering messages to Virtual Assistant/Root Bot connected to Slack

Addresses # 5302
Description

This PR adds the missing service URL in the activities interpreted from slack events, causing the replies from a skill to throw a 500 error when received in the host.
Note: This change by itself is not enough to use a skill in slack, while this fixes the communication issue with the message sent from the skill to the host, then the host fails to send the message to slack if the adapter injected in the skill controller doesn't implement the slack adapter.
Specific Changes

Added the slack service URL to a const variable and used when creating the activity from an event in the SlackHelper class.
Testing

In the image below you can see the message received in the host from the skill is responded OK.

Promoted


How the representative points can be learned?

Dear Zhanght,
Thank you for sharing your excellent codes.
I read the RPT paper.  I'm curious about the how the representative points can be learned that indicates the object boundaries and semantically prominent regions.
According to my understanding from the paper, the training steps for the points are like below:

model estimates the positions of the points.
sudo box is obtained from points using min/max operations
overlap with ground-truth bbox is computed.
overlap-related loss is computed so model can learn from this loss.

Because there is only bbox overlap loss based on min/max operation, I guess the points could be  moved to the bbox boundaries rather than object boundaries or semantically prominent positions.
I don't know how the points can be  moved to the object boundaries and  semantically prominent positions without other loss.
Could you please explain about it?
Thanks in advance.

hello, our idea comes from reppoints(RepPoints: Point Set Representation for Object Detection)(https://arxiv.org/abs/1904.11490), probably you can refer to it.
I admit that the output points often don't actually look like they are key points. And i also draw the output of reppoints, it also cannot represent the key points.
In order to make better use of the information of key points， we update the RPT to RPT++, but the paper is under review， we will publish the paper later.

Thank you for kind replay.

@zhanght021 Is the paper on axriv?(I refer to RPT++)
thank you very much


tracking of release cadence

Waiting to hear if there's an online calendar already available or if I'd need to roll my own release cadence tracking.

According to an old reply of Steve Klabnik, this seems to be the official Rust release calendar.
It does mention when the releases happen, but now what the release numbers are. It may be a good idea to ask whoever maintains this calendar to add this information.

Thanks! In the detailed view it looks like it was created by<EMAIL_ADDRESS>@aturon -- Is it possible to update the Rust release Google Calendar with version number information so I can track the release cadence on the dashboard?

from irc:
 steveklabnik: do the releases happen on weekends too?
 dikaiosune: it's always a thursday

Here's the calendar https://calendar.google.com/calendar/embed?src=mozilla.com_ts4qudb88i0tbjef8rche4a6v4%40group.calendar.google.com&ctz=America/Los_Angeles
But since it's a repeating event it can probably be hardcoded into the dashboard and we can just drop the gcal.

A note for future reference: since my understand of JavaScript is...limited...I'm not sure why this is happening but I only get the correct results if I hardcode the starting dates as one day after they actually occurred. I'll keep an eye on it to see if there are any issues, but it seems to be working fine for now.


Dark Mode Issue

Not a major problem, but if you use Dark Mode in Mojave, you can't see some of the text on the splash page. In Light Mode it works just fine.

The version just uploaded have full support for Dark Mode. If you find any issues using that version please open a new issue here.


Fix reset for trail highlighting

In certain scenarios, a trail may stay highlighted when another is highlighted. I think this is related to highlighting when clicking on trail geometry.

This should be fixed now. Closing for now.


Beatmap writer

Added a whole lot of stuff here!

Made Write(path) use the BeatmapWriter class and write to file.
Changed most arrays into Lists where it made most sense.
Proper formatting of each object.

TODO:

Add other modes' objects to HitObject writing.
Add proper type implementation for HitObjects

Should be a proper bitmap, (I'm not really sure how to pull that off)

Bit 0 (1): circle.
Bit 1 (2): slider.
Bit 2 (4): new combo.
Bit 3 (8): spinner.
Bits 4-6 (16, 32, 64) form a 3-bit number (0-7) that chooses how many combo colours to skip.
Bit 7 (128) is for an osu!mania hold note.

What did you meant by "Add proper type implementation for HitObjects"?

Regarding the color skip. We have ComboOffset property in StandardHitObject and CatchHitObject classes, which is color skip itself. I already added it to the PR.

Looked at what you've done, seems to work but I'm sure we could clean this up

Yeah, i agree. My code is kinda messy, especially events section.

Made the code a bit prettier by creating local extension methods so we can just write .Format() to the end to use the proper format of the value

Not sure about inheriting standard objects. Maybe we can just make base classes like HitObject class for circle, slider, spinner and inherit them instead?

I think that would be better actually, would simplify writing to files.

I've encountered a problem when I want to inherit both the StandardHitObject and Slider classes inside the StandardSlider class. I thought about deleting classes such as StandardHitObject, TaikoHitObject, etc. But because of that, the user will no longer be able to check to which ruleset this object belongs. So right now I'm not very sure what I should do.

Misclicked, sorry.

Its unlikely you'll ever see a use case of the individual objects, plus the mode property already tells you what kind of object it will be represented as

My suggestion is to make a base class for all of the objects, just "HitObject" which includes X, Y, start time, object type (that weird bitmap), hitsound, and extras. I'm gonna try to write out some sort of chart to make it simpler

Take a peek at my branch, attempting to rewrite them as needed.

Looks good so far, good work.

Quite lost on the decoder portion of the code, gonna need help there.

Okay, then I'll commit your changes and try to deal with the decoder.

Okay, everything seems to be updated.

By the way, shouldn't TaikoHit, CatchFruit and ManiaHit classes inherit Circle class and not HitObject?

you're correct here, fix that lol

Everything seems to be working in the writing portion for beatmaps, can't find any case of it failing yet.

The IsBig property of TaikoHits should be determined by the hitsound of the object

I've noticed a flaw where we can't have multiple HitSounds on objects like we should be able to. I've only got a getter for IsBig written because we can't add another HitSound on top (unless I'm just oblivious to it).
I believe HitSoundType might need to be a class with bools representing whether each type of HitSound is enabled
Another note, Color should be determined by hitsound as well, which runs into the issue yet again

Enums can have multiple values. So, for example, you can add some item to an existing enum using the += operator: HitSound += (int)HitSoundType.Whistle I'm bad at explaining, so maybe this article will help you better. And, as far as I know, osu! can't have more than one HitSound per HitObject.

It certainly can have multiple hitsounds, especially since thats the only way you could map taiko

Tested on all rulesets and everything seems to be working as it should.

The real question, is it ready to merge?

Pretty much, i'd say. Just waiting for your confirmation.


TextView: TextChanged event doesn't fire when user types

It only gets sent when Text is set, and Text is never set internally by the control.
The fix needs to be carefully considered because TextView is often used to hold very large amounts of text. For example, blindly setting Text internally will cause the entire contents to get copied at least once every time a user types something.
Perhaps the best way to address this is to add another event, ContentsChanged which is not tied to the Text property?

Perhaps it is ideal and with location information (Col and (Row or Line)).


Update README Azure badge to rust-lang2 org

@gnzlbg: no appropriate reviewer found, use r? to override

@pietroalbini  azure doesn't run when checking PRs, even though the yml has a pr = ["master"]. Is that incorrect ?

That seems correct... I don't have much time to investigate it though.

@bors: r+

:pushpin: Commit e7865a15a33498c92469b32d58e431a9d43f1220 has been approved by gnzlbg

:hourglass: Testing commit e7865a15a33498c92469b32d58e431a9d43f1220 with merge ecdbc20e1c2efd57c3d378516a26ef114a3c0c25...

:sunny: Test successful - checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, status-azure
Approved by: gnzlbg
Pushing ecdbc20e1c2efd57c3d378516a26ef114a3c0c25 to master...


File Tree Alternative Plugin support

Is the bug present when using the default Obsidian theme?
No
Is the bug present when snippets and plugins are disabled?
Yes
Minimal theme version
6.2.0
Describe the bug
Only the Minimal theme has this problem, Obsidian default theme and other themes don't have this problem, please see the picture below.
this is the Minimal theme

This is the Obsidian default theme

This is the Things theme

This is the Blue Topaz theme

Debug info
none

I am not planning to add support for File Tree Alternative, but open to PRs


Ignore PLIC spurious interrupts in RISC-V supervisor mode

This PR is a workaround for a currently-unexplained spurious interrupt that occurs during the initial IPC exchanges that take place between the SCPU, OCPU and the MIPI RX complexes as they are put into "tight loop" mode. The workaround is active only if RISC-V supervisor mode is enabled (i.e. MMU support) and simply ignores spurious interrupts (only 0, not beyond the configured PLIC_IRQS).

There is a play-by-play in #dev-borg @brudley

Out of curiousity, do you have any idea of the frequenecy of these spurious ints?

I want to make it clear - this is not a general "spurious interrupt" problem. I have run stress tests of both the SCPU and the OCPU running in supervisor mode (with the MMU enabled) and generated IPC stress along with ping floods, etc.
The as-of-yet-unexplained issue is specific to the IPC messages that are exchanged (ironically, while the system is pretty idle).
That said, the issue (exhibited as the OCPU throwing a "spurious interrupt" exception) occurs once out of approximately 25 resets of the system while the sensors are initialized and MIPI RX is told via IPC to go into its "tight loop" mode.


No push for outlook account

Expected behavior
Get a push notification if a new mail arrives in the inbox
Actual behavior
Nothing.
Steps to reproduce

Set up an outlook.com account as imap
Set up push and checked the foldersetup
Set renew push connection every 6minutes
Send an email from another account to my outlook.com account
Wait but nothing happens
With the gmail account push works fine with same settings.

Environment
K-9 Mail version: latest 5.010
Android version: 6.0.0
Account type (IMAP, POP3, WebDAV/Exchange): imap

outlook.com doesn't support PUSH over IMAP.


more tests needed

@rultor release, tag is 0.6.7

@rultor release, tag is 0.6.7

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.6.7

@yegor256 Done! FYI, the full log is here (took me 10min)


pinch-zoom within scrollable container

When you have a pinch-zoom element within a scrollable container, you can get some unexpected behavior. If you zoom in and then drag down you'll be restricted vertically prior to getting to the bottom of the image. That's because pinch-zoom prevents default on swipe so the image wont scroll down within its container.


It seems no way to create new windows, is there any alternative?

I want to create a music software that normally displays a small window, and when the expand button is pressed, a new translucent window can be opened to display the lyrics, and the size and position can be changed by dragging the mouse.
The initial idea was to create 2 Windows, but Flet doesn't seem to support multiple Windows, is there any way to implement my idea?
Thank you!

what you could do, as i do myself is to use the same windows to show multiple page in the same windows like a native web app by using ft.UserControl to create multiple reusable widget's or just try creating multiple instance of ft.app() with threading

What do you think of this? Made by a community member.

This is not yet possible.
We will have a look at it once Flutter officially supports it.


Long Service Account Names Block Pod Launch

Expected Behavior
A service account name longer than 63 characters will prevent Calico from assigning the pod an IP address. We would like Calico to be able to launch pods in such situations.
Current Behavior
Currently, service accounts with names longer than 63 characters will block the launching of pods. This is the case in the AWS EMR on EKS service. The service account name is generated by EMR on EKS so we do not have direct control on the specification of the name. This blocks us from using Calico with EMR on EKS.
Possible Solution
If a user submits a long service account name then Calico can then skip adding it as a label, or can provide a feature that allows the user to indicate that they do not want to use service accounts in network policy filters.
Steps to Reproduce (for bugs)
These instructions assume AWS access.

Create an EKS cluster.
Delete the AWS VPC CNI and install the Calico CNI.
Create an IAM role for pod authentication using these instructions:
https://aws.amazon.com/blogs/opensource/introducing-fine-grained-iam-roles-service-accounts/
Create an EMR virtual cluster with the newly created EKS cluster.

Your Environment

Calico v3.15.1
Kubernetes 1.18
Amazon Linux 2: 4.14.214-160.339.amzn2.x86_64

While I think the issue should be addressed in the code to avoid such cases in the future, to unblock for now you can apply the workaround of using a predefined role name for the service account as specified in the referenced blog post, I attached the relevant snippet below.
As you can see in the snippet below the role name can provided by the user to be shorter (replace the actual permissions to what is needed for EMR). It is surely more commands to run compared to eksctl approach.
$ ISSUER_HOSTPATH=$(echo $ISSUER_URL | cut -f 3- -d'/')
$ ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)
$ PROVIDER_ARN="arn:aws:iam::$ACCOUNT_ID:oidc-provider/$ISSUER_HOSTPATH"
$ cat > irp-trust-policy.json << EOF
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": {
        "Federated": "$PROVIDER_ARN"
      },
      "Action": "sts:AssumeRoleWithWebIdentity",
      "Condition": {
        "StringEquals": {
          "${ISSUER_HOSTPATH}:sub": "system:serviceaccount:default:my-serviceaccount"
        }
      }
    }
  ]
}
EOF
$ ROLE_NAME=s3-reader
$ aws iam create-role \
          --role-name $ROLE_NAME
          --assume-role-policy-document file://irp-trust-policy.json
$ aws iam update-assume-role-policy \
          --role-name $ROLE_NAME \
          --policy-document file://irp-trust-policy.json
$ aws iam attach-role-policy \
          --role-name $ROLE_NAME \
          --policy-arn arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess
$ S3_ROLE_ARN=$(aws iam get-role \
                        --role-name $ROLE_NAME \
                        --query Role.Arn --output text)

# STEP 2: create Kubernetes service account and annotate it with the IAM role:
$ kubectl create sa my-serviceaccount
$ kubectl annotate sa my-serviceaccount eks.amazonaws.com/role-arn=$S3_ROLE_ARN

Thanks. We actually do this for non-Spark jobs, but for Spark jobs we use the new AWS service “EMR on EKS.” EMR on EKS generates the service account name based upon an IAM role that it is tied to. We can insure that the resulting name generated by EMR on EKS is below the 63 character limit by limiting the size of the IAM role name, so we have temporary work around in place.
Thanks for the reply,
Conrad
From: Mikhail Shapirov @.>
Reply-To: projectcalico/calico @.>
Date: Tuesday, April 20, 2021 at 8:58 AM
To: projectcalico/calico @.>
Cc: "Conrad Mukai (cmukai)" @.>, Author @.***>
Subject: Re: [projectcalico/calico] Long Service Account Names Block Pod Launch (#4529)
While I think the issue should be addressed in the code to avoid such cases in the future, to unblock for now you can apply the workaround of using a predefined role name for the service account as specified in the referenced blog posthttps://aws.amazon.com/blogs/opensource/introducing-fine-grained-iam-roles-service-accounts/, I attached the relevant snippet below.
As you can see in the snippet below the role name can provided by the user to be shorter (replace the actual permissions to what is needed for EMR). It is surely more commands to run compared to eksctl approach.
$ ISSUER_HOSTPATH=$(echo $ISSUER_URL | cut -f 3- -d'/')
$ ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)
$ PROVIDER_ARN="arn:aws:iam::$ACCOUNT_ID:oidc-provider/$ISSUER_HOSTPATH"
$ cat > irp-trust-policy.json << EOF
{
"Version": "2012-10-17",
"Statement": [
{

  "Effect": "Allow",

  "Principal": {

    "Federated": "$PROVIDER_ARN"

  },

  "Action": "sts:AssumeRoleWithWebIdentity",

  "Condition": {

    "StringEquals": {

      "${ISSUER_HOSTPATH}:sub": "system:serviceaccount:default:my-serviceaccount"

    }

  }

}

]
}
EOF
$ ROLE_NAME=s3-reader
$ aws iam create-role \
      --role-name $ROLE_NAME

      --assume-role-policy-document file://irp-trust-policy.json

$ aws iam update-assume-role-policy \
      --role-name $ROLE_NAME \

      --policy-document file://irp-trust-policy.json

$ aws iam attach-role-policy \
      --role-name $ROLE_NAME \

      --policy-arn arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess

$ S3_ROLE_ARN=$(aws iam get-role \
                    --role-name $ROLE_NAME \

                    --query Role.Arn --output text)

STEP 2: create Kubernetes service account and annotate it with the IAM role:
$ kubectl create sa my-serviceaccount
$ kubectl annotate sa my-serviceaccount eks.amazonaws.com/role-arn=$S3_ROLE_ARN
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/projectcalico/calico/issues/4529#issuecomment-823398687, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHJDSZTRPBLTHZAZH2NLVR3TJWP7XANCNFSM423RFWCA.


makecode and jacdac not working together

Repro

load jacdac extension
connect micro:bit and download empty program
See the following in log:

pxtapp.js:1

 Failed to execute 'postMessage' on 'DOMWindow':
The target origin provided ('https://microsoft.github.io')
does not match the recipient window's origin
('https://makecode.microbit.org').

After the above, then keep getting these messages:

Collect roles failed
eventsource.ts:199

       JacdacError: no ACK for MS18/3[3]: 0x83 sz=12: 6abc472303208e92aa010000
    at Object.errCb (device.ts:1058:31)
    at resend (device.ts:1006:25)

Does this happen when you reload the simulator?

yes

Does Jacdac work when using https://microsoft.github.io/jacdac-docs/dashboard/ ?

Yes. This is the program: https://makecode.microbit.org/_axXJKYKMHF53

This program contains jacdac.start(), which fixes the problem.

We should probably add a block for starting Jacdac to help bootstrap things. The Jacdac blocks don't have any meaningful event for bootstrapping.

OK. will leave this issue open.


s2cloudless with sentinel L2A data

My question is: can I prepare the L2A level data by S2L2AWCSInput and then add cloud data via AddCloudMaskTask?
Thanks a lot!

Hi @buwuyou,
technically you could do that but you wouldn't get good cloud masks. AddCloudMaskTask in the background calls s2cloudless package for calculating cloud masks and that package uses a machine learning model for it. Because the machine learning model was trained on L1C data it cannot perform well on L2A data.

aha, do we expect an updated s2cloudless built on L2A data in the next several quarters?

No, unfortunately we won't have time to repeat the ML process for L2A any time in the near future.
But if you would be interested to train a ML model for detecting clouds from L2A data yourself, this blog post describes how we did it.

Still, many thanks for the valuable answers!

I am not sure it makes sense to train s2cloudless on L2A as L2A contains scene classification data, which are of reasonable quality (much better than what L1C data provides). It is therefore not certain that s2cloudless would be much better than that...
https://forum.sentinel-hub.com/t/l2a-scene-classification-for-sentinel-2/51

Thanks for the additional information! Can I conclude that s2 data can be prepared via two ways as 1) S2 L1C + s2cloudless; 2) S2 L2A + sen2cor? You may recommend the latter?

S2 L2A = S1L1C  + sen2Cor.
S2 L2A includes atmospheric correction, which goes beyond cloud classification...  In general L2A data should be of better quality (where available - since December 2018 globally, before only Europe). But there are some who might disagree and prefer to work with L1C.
Note that L2A data processed by ESA are available via Sentinel Hub as well.

@buwuyou Yes, this is what we also do. We use L2A data and for cloud masking it we combine sen2cor's scene classification (SCL) with s2cloudless' cloud mask. The latter is obtained on L1C data at 160m resolution (it's fast) and upscaled to 10m resolution.

@azupanc Could you give me an example of how the latter option you stated would look like?

@azupanc Could you give me an example of how the latter option you stated would look like?

@Arraystud This is now very easy to do, thanks to the cloud masking service.
In eo-learn use the SentinelHubInputTask for downloading the data, where you specify the L2A data source. If you check the available data bands in the documentation, you can see that you can download CLM and SCL simultaneously and merge them in some later processing step.
add_data_task = SentinelHubInputTask(
    data_source = DataSource.SENTINEL2_L2A,
    bands_feature=(FeatureType.DATA, 'BANDS'),
    time_difference = timedelta(hours=2),
    resolution=10,
    additional_data = [
        (FeatureType.MASK, 'CLM'),
        (FeatureType.MASK, 'SCL'),
        (FeatureType.DATA, 'CLP'),
        (FeatureType.MASK, 'dataMask'),
    ]
)

The output is then:
EOPatch(
  data: {
    BANDS: numpy.ndarray(shape=(73, 321, 534, 12), dtype=float32)
    CLP: numpy.ndarray(shape=(73, 321, 534, 1), dtype=uint8)
    NDVI: numpy.ndarray(shape=(73, 321, 534, 1), dtype=float32)
  }
  mask: {
    CLM: numpy.ndarray(shape=(73, 321, 534, 1), dtype=uint8)
    SCL: numpy.ndarray(shape=(73, 321, 534, 1), dtype=uint8)
    VALID_DATA: numpy.ndarray(shape=(73, 321, 534, 1), dtype=bool)
    dataMask: numpy.ndarray(shape=(73, 321, 534, 1), dtype=uint8)
  }
  meta_info: {
    maxcc: 1.0
    service_type: 'processing'
    size_x: 534
    size_y: 321
    time_difference: datetime.timedelta(seconds=7200)
    time_interval: ('2019-01-01T00:00:00', '2019-12-31T23:59:59')
  }
  bbox: BBox(((-116.07124, 33.55431), (-116.01335, 33.58277)), crs=CRS('4326'))
  timestamp: [datetime.datetime(2019, 1, 1, 18, 34, 53), ..., datetime.datetime(2019, 12, 27, 18, 34, 54)], length=73
)

Thank you. And the combination of these two masks is done how? I can't find it on the documentation page.

Thank you. And the combination of these two masks is done how? I can't find it on the documentation page.

It's just something we used in our projects, so it's not something that we put into the docs. However, you could do the following:

Download eopatch with the above function
In python do the following

# mask of valid CLM values (0 = no cloud, 1 = cloud, 2 = no data)
valid_clm = eop.mask['CLM'] == 0

# mask of valid SCL values (4 = vegetation, 5 = baresoil, 6 = water)
valid_scl = (eop.mask['SCL'] == 4) | (eop.mask['SCL'] == 5) | (eop.mask['SCL'] == 6)

# merge valid masks together (i.e. only where both are valid)
valid_mask = valid_clm  & valid_scl

# add new mask to eopatch
eop.mask['VALID_MASK'] = valid_mask

I didn't run this code, probably should work :)


Prune Branches

I see 73 branches.  Is it time to start pruning?

Definitely, yes. I believe we even had another issue for that already in place but didn't act upon in yet. Feel free to lead the way and start 😉

Closing in favor of #470.


FileWriter Atomic Rename Improvement

After running this for a while, I realised that StandardCopyOption.REPLACE_EXISTING will not use atomic moves even if they are possible. The StandardCopyOption.ATOMIC_MOVE will throw an exception if the underlying OS doesn't support atomic moves.
The renameTo function will do an atomic move if possible, and fall back to non-atomic if not possible.

Some unused imports need to be cleaned up.

I think this is good to go now. @gehel

@luismfonseca Thanks!


form_action should only allow github on login

Currently form_action only allows 'self' and GitHub.  But we only need GitHub form actions if someone logs in via GitHub.  Change the code so that only the login page allows form actions to point to GitHub.

We would also need to allow it on projects/new since that page renders (not redirects to) login if the user is not logged in.

Very awesome! Excellent!


Handling very large sstables

I am attempting to run aegisthus against a Priam backup containing some very large sstables (~200GB in size). Being that these files are snappy compressed (in addition to the Cassandra snappy compression) and we are using Cassandra 1.2 I'm currently using the code on the coursera fork.  I'm running into problems with this as it takes a very long time (3+ hours) to handle these very large files. Aegisthus appears to expect sstables which haven't been double compressed by Priam, and doesn't appear to split the files if the -CompressionInfo.db files are available.
Questions:

Do you guys use Aegisthus with similarly large sstables?
Do you get any splitting on sstables that have the internal Cassandra snappy data? (i.e. -CompressionInfo.db files are available)

This would still be a nice enhancement.  I am closing the issue and adding a reference to this in the Enhancements section of the README.


Go 1.21

Go 1.21
Notably, replaces golang.org/x/exp/slog for log/slog
A later PR would introduce any changes the new maps and slices std lib pkgs enable.

@DavidLarsKetch also, looks like Go 1.21.1 was just released 🙌  https://go.dev/doc/devel/release#go1.21.1


Minor fix for virtio/vhost/rpmsg subsystem

Summary

pci/ivshmem: Skip unregistering ivshmem driver
rpmsg/ivshmem: Skip unregistering ivshmem driver
pci/ivshmem: Check drv isn't NULL before calling remove
driver/vhost: Check driver isn't NULL before calling remove
driver/virtio: Check driver isn't NULL before calling remove
driver/vhost: vhost_register_device should set priv before inovking probe
driver/vhost: Check driver is NULL before calling probe
driver/vhost: Call metal_init in vhost_register_drivers

Impact
minor bug fix
Testing
internal

[Experimental Bot, please feedback here]
The PR summary is missing some key information to determine if it fully meets NuttX requirements.  Here's a breakdown:
What's Good:

Clear Change Descriptions: Each bullet point succinctly describes the code change.
Impact Section:  While terse, "minor bug fix" gives a general idea.
Testing Performed:  "internal" suggests testing happened, though more detail is ideal.

What Needs Improvement:

Summary - Why:  The PR lacks an explanation of why these changes are necessary. What problems did the previous code cause? What specific bugs are being fixed?
Impact - Specificity: "minor bug fix" is vague. Be explicit about:

Functionality: Does this fix crashes, data corruption, performance issues, etc.?
Affected Components: Which drivers or subsystems are directly impacted?
User Impact: Even if internal, will any users notice a difference (e.g., increased stability)?

Testing - Transparency: "internal" is not informative enough for a public PR.  At minimum, provide:

Host OS/Compiler:  e.g., "Linux, GCC 12.2"
Target Architecture: e.g., "sim:qemu-arm" or specific boards
Test Description: Briefly state what was tested, not just logs. Did the code used to crash? Is some functionality now working?

In Conclusion:
The PR is off to a good start, but lacks the necessary detail for thorough review.  Expanding on the "Why" and providing more specific impact/testing information will greatly improve it.


ENT-7423: Added implementation of iptables custom promise append command

Testing of the module was done as follows:
iptables -S INPUT
#-P INPUT ACCEPT

By commenting out the other test bundles except cfengine_com_accepted bundle:
cf-agent -KI test.cf
#R: --- cfengine_com_accepted ---
#    info: Appending rule '-A INPUT -s <IP_ADDRESS>/32 -m comment --comment "CF3:priority:-1" -j ACCEPT' on table 'filter'
iptables -S INPUT
#-P INPUT ACCEPT
#-A INPUT -s <IP_ADDRESS>/32 -m comment --comment "CF3:priority:-1" -j ACCEPT

While keeping the previous bundle active and uncommenting the telnet_dropped bundle:
cf-agent -KI test.cf
#R: --- cfengine_com_accepted ---
#R: --- telnet_dropped ---
#    info: Appending rule '-A INPUT -p tcp -m tcp --dport 23 -m comment --comment "CF3:priority:-1" -j DROP' on table 'filter'
iptables -S INPUT
#-P INPUT ACCEPT
#-A INPUT -s <IP_ADDRESS>/32 -m comment --comment "CF3:priority:-1" -j ACCEPT
#-A INPUT -p tcp -m tcp --dport 23 -m comment --comment "CF3:priority:-1" -j DROP

Closing this as stale, but we might get back to it later.


Bump NodeJS to version 16

Description
NodeJS 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
This PR updates NodeJS to version 16.
Related Issue(s)
Fixes gh-29
Checklist

[ ] This PR includes a documentation change
[X ] This PR does not need a documentation change

[ ] This PR includes test changes
[X ] This PR's changes are already tested

[X ] This change is not user-facing
[ ] This change is a patch change
[ ] This change is a minor change
[ ] This change is a major (breaking) change

Changes made
Update NodeJS version used by the action from 12 to 16.

Duplicate of https://github.com/redhat-actions/podman-login/pull/28


feat: Add inputMode prop to TextInput component

Summary
This adds the inputMode prop to the TextInput component as requested on https://github.com/facebook/react-native/issues/34424, mapping web inputMode types to equivalent keyboardType values.  This PR also updates RNTester TextInputExample in order to facilitate the manual QA.
Caveats
This only adds support to text, decimal, numeric, tel, search, email, and url types.
inputMode="none"
Currently mapped to default keyboard type.
The main problem with this input mode is that it's not supported natively neither on Android or iOS. Android TextView does accept none as android:inputType but that makes the text not editable, which wouldn't really solve our problem. UITextInput on iOS on the other hand doesn't even have something similar to avoid displaying the virtual keyboard.
If we really want to add the support for inputMode="none" one interesting approach we could take is to do something similar to what WebKit has done (https://github.com/WebKit/WebKit/commit/3b5f0c8ecf9de23f79524ed02e290837ab8334cd). In order to achieve this behavior, they had to return a UIView with a bounds of CGRectZero as the inputView of the WKContentView when inputmode=none is present.
I guess the real question here should be, do we really want to add this? Or perhaps should we just map inputMode="none" to keyboardType="default"
Android docs: https://developer.android.com/reference/android/widget/TextView#attr_android:inputType
iOS docs: https://developer.apple.com/documentation/uikit/uikeyboardtype?language=objc
inputMode="search" on Android
Currently mapped to default keyboard type.
Android TextView does not offers any options like UIKeyboardTypeWebSearch on iOS to be used  as search with android:inputType and that's probably the reason why keyboardType="web-search" is iOS only. I checked how this is handled on the browser on my Android device and it seems that Chrome just uses the default keyboard, maybe we should do the same?
Open questions

What should be done about inputMode="none"? Add it and map it to default keyboard type.
Which keyboard should we show on Android when inputMode="search"? Use the default keyboard the same way Chrome does

Changelog
[General] [Added] - Add inputMode prop to TextInput component
Test Plan

Open the RNTester app and navigate to the TextInput page
Test the TextInput component through the Input modes section

https://user-images.githubusercontent.com/11707729/185691224-3042e828-a008-4bd0-bb3d-010a6a18dfd5.mov

'none' => 'default' (or noop) sounds right.

Which keyboard should we show on Android when inputMode="search"?

Doing the same thing as Chrome seems reasonable. So inputMode="search" should display the default keyboard.

@cipolleschi I've just rebased this now that CI has been fixed

@necolas @cipolleschi any thoughts on why this didn't get labeled as merged?

Apparently inputMode=none could be mapped to showSoftInputOnFocus
See https://github.com/necolas/react-native-web/issues/2421

Apparently inputMode=none could be mapped to showSoftInputOnFocus
See necolas/react-native-web#2421

Sounds good to me, gonna open a follow-up PR updating this

Apparently inputMode=none could be mapped to showSoftInputOnFocus
See necolas/react-native-web#2421

Sounds good to me, gonna open a follow-up PR updating this

Here it goes @necolas  https://github.com/facebook/react-native/pull/35228


To field required, unable to use only BCC

Any way to send an email only using CC or BCC?  Sometimes this is helpful when organizations want to send a blast email without exposing the entire list of recipients.
The current workaround is to add one to address in the "to" line, but it causes some privacy issues and poor user experience.

Hi @TrevHeath ! Thanks for raising this; we have this on our planning and expect to work on this before the summer.
Have a great day.


Chall5: Make it autograder ready

Description:

Does not break anything both locally while running test and on autograder also works nicely 🙌

Wondering if we should change the ID (9 => 5)
We'd need to do it in the Autograder + the SRE repo.
It's an internal thing... but I might sleep better haha
What do you think?

Wondering if we should change the ID (9 => 5)
We'd need to do it in the Autograder + the SRE repo.
It's an internal thing... but I might sleep better haha
What do you think?

+1 for change the ID (9 => 5) and +100 for Carlo's better sleep 😂, We should def do it if it doesn't have lot of side effects 🙌

See
https://github.com/BuidlGuidl/SpeedRunEthereum/pull/198
https://github.com/austintgriffith/speedrun-grader/pull/9/commits/bb459dffcc2129b28988c0cfd4e0811bd1e40886


Feat/add footer and img shortcode

hope it'll be better than before

https://gohugo.io/content-management/shortcodes/
https://en.wikipedia.org/wiki/Impressum


Invalid EventLogging XML generated on logout

Some events from <TypeID>AuthenticationResourceImpl</TypeId> are missing a <User> element
The <Description> element in the <Outcome> element reports:
Cannot invoke "java.security.Principal.getName()" because the return value of "javax.servlet.http.HttpServlet.getUserPrincipal()" is null

Fixed


docs: re-word and simplify, add quick starts where applicable

Starting with this, I'll leave the deploy directory for another PR.
Changes

Simplify and re-word the docs.
Add quick starts for runnable crates.
Add some clarifying comments for complicated sections like config resolvers.

Nice first pass trims, thanks Marko! I'd probably tackle the SSOT goal with the config first and then back to docs?


Automatic server restart not working?

Describe the Bug
I've been running your image for quite a long time now, so I was thrilled to finally update it to 1.0!
Launched a new fresh server after waiting for the issues around #260 to be fixed, and everything went smoothely
Only thing is, the server announced (in-game) its daily restart, but after the cooldown, nothing happened
I feel that is not the wanted behavior, right?
Your Docker Compose File
services:
  satisfactory-multi-v1:
    image: wolveix/satisfactory-server:latest
    container_name: satisfactory-multi-v1
    hostname: satisfactory-multi-v1
    restart: unless-stopped
    ports:
      - 7777:7777/tcp
      - 7777:7777/udp
    volumes:
      - /opt/docker/satisfactory-multi-v1/data/config:/config
    environment:
      - MAXPLAYERS=6
      - PGID=1000
      - PUID=1000
      - ROOTLESS=false
      - STEAMBETA=false
    healthcheck:
      test: bash /healthcheck.sh
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 120s
    deploy:
      resources:
        reservations:
          memory: 4G
        limits:
          memory: 12G
networks: {}

Debug Output
Had no output at that time, will try to catch news logs with debug option on
System Specs (please complete the following information):
OS: Debian 12 - 6.1.106-3 (2024-08-26)
CPU: AMD Ryzen 9 5900HX
RAM: 20GB
HDD: 46GB/197GB (24% used)
Logs
Don't have the logs when it happened, could attach when I'll be able to replicate

Hey @iwa, that's strange! I haven't had the time to play the game myself yet due to playing with others...this could be an issue with the container, I'm not sure for certain!
Logs would certainly be appreciated :)

will def try to catch you some logs today, wanted to at least open the issue to report it and maybe see if other people had the same issue!

Hey thanks for the great work on this gamecontainer!

will def try to catch you some logs today, wanted to at least open the issue to report it and maybe see if other people had the same issue!

The pod was running up to 24h and went crash looping since then, so i think its restarting just "fine" and the crashloop is caused by an update to the dedicated server happened in the meantime.
Before Crash
NAME                   READY   STATUS    RESTARTS   AGE   IP            NODE      NOMINATED NODE   READINESS GATES
satisfactory-nerds-0   1/1     Running   0          23h   <IP_ADDRESS>   worker1   <none>           <none>

After 24h passed:
NAME                   READY   STATUS             RESTARTS      AGE    IP           NODE      NOMINATED NODE   READINESS GATES
satisfactory-nerds-0   0/1     CrashLoopBackOff   4 (12s ago)   115s   <IP_ADDRESS>   worker2   <none>           <none>

If the following should fit into another issue please let me know!
Logs:
===== Satisfactory Server 1.8.1 =====
https://github.com/wolveix/satisfactory-server

ERROR: Your CPU model is configured as "QEMU Virtual CPU version 2.5+", which will cause Satisfactory to crash.
If you have control over your hypervisor (ESXi, Proxmox, etc.), you should be able to easily change this.
Otherwise contact your host/administrator for assistance.

It wasn't complaining yesterday when i started the container. As it always pulls the latest container image on startup and also updates the gameserver inside i'm not quit sure whats the reason but is this coming from some kind of check inside the container?
Switched to cpu model "host" in Proxmox and its running again, but is there some kind of option to supress this check? It sure runs fine with qemu and using a fixed model prevents the VMs from HA migration.
Thanks!

@Cardes okay, so that confirms that it restarts fine :) @iwa, please feel free to re-open if you continue to experience the issue! Please make sure you're running the latest version (it'll show 1.8.1 at the top of the container log).
@Cardes yep, that's by design. Basically, it's a known issue with Satisfactory and certain hypervisors that your CPU model being something generic under QEMU or Common KVM processor etc. breaks a LOT within Satisfactory. Now, this may not be the case for you as your hypervisor may still provide the required information that Unreal Engine is looking for.
I think having a toggle for this is fine :) I've just implemented it, and will create 1.8.2 from it. Thank you!

might be an issue with the 1.7 then, will try with the 1.8!

confirmed it has been working correctly since 1.8!
thanks again


⚠ Secret Website 3 has degraded performance

In 223adfd, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 3142 ms

Resolved: Secret Website 3 performance has improved in 1fbe152.


Fix and allow inference on CPU.

This pull requests allows to run inference on CPU( GPU keeps working fine).
If the model is set to CPU/GPU, it'll detect it properly and do the necessary conversions.
It fixes this issue:
https://github.com/IDEA-Research/MaskDINO/issues/67

If there are any questions of anything, please do ask. This doesn't break anything and is respectful of the original detectron2 code styling.