logger has no connection to download missing packages.

Operating System Version: Windows 10
Deploying via (VirtualBox/VMWare/AWS/Azure/ESXi): VMWare
Vagrant Version (if applicable):

Description of the issue:
While building the logger host, I'm running into the following error message that causes the build to stop:
Console output:
PS D:\DetectionLab\DetectionLab\Vagrant> vagrant up logger
Bringing machine 'logger' up with 'vmware_desktop' provider...
==> logger: Checking if box 'bento/ubuntu-20.04' version '202112.19.0' is up to date...
==> logger: Verifying vmnet devices are healthy...
==> logger: Preparing network adapters...
WARNING: The VMX file for this box contains a setting that is automatically overwritten by Vagrant
WARNING: when started. Vagrant will stop overwriting this setting in an upcoming release which may
WARNING: prevent proper networking setup. Below is the detected VMX setting:
WARNING:
WARNING:   ethernet0.pcislotnumber = "32"
WARNING:
WARNING: If networking fails to properly configure, it may require this VMX setting. It can be manually
WARNING: applied via the Vagrantfile:
WARNING:
WARNING:   Vagrant.configure(2) do |config|
WARNING:     config.vm.provider :vmware_desktop do |vmware|
WARNING:       vmware.vmx["ethernet0.pcislotnumber"] = "32"
WARNING:     end
WARNING:   end
WARNING:
WARNING: For more information: https://www.vagrantup.com/docs/vmware/boxes.html#vmx-allowlisting
WARNING: The VMX file for this box contains a setting that is automatically overwritten by Vagrant
WARNING: when started. Vagrant will stop overwriting this setting in an upcoming release which may
WARNING: prevent proper networking setup. Below is the detected VMX setting:
WARNING:
WARNING:   ethernet1.pcislotnumber = "33"
WARNING:
WARNING: If networking fails to properly configure, it may require this VMX setting. It can be manually
WARNING: applied via the Vagrantfile:
WARNING:
WARNING:   Vagrant.configure(2) do |config|
WARNING:     config.vm.provider :vmware_desktop do |vmware|
WARNING:       vmware.vmx["ethernet1.pcislotnumber"] = "33"
WARNING:     end
WARNING:   end
WARNING:
WARNING: For more information: https://www.vagrantup.com/docs/vmware/boxes.html#vmx-allowlisting
==> logger: Starting the VMware VM...
==> logger: Waiting for the VM to receive an address...
==> logger: Forwarding ports...
    logger: -- 22 => 2222
==> logger: Waiting for machine to boot. This may take a few minutes...
    logger: SSH address: <IP_ADDRESS>:2222
    logger: SSH username: vagrant
    logger: SSH auth method: private key
    logger: Warning: Connection reset. Retrying...
    logger: Warning: Connection aborted. Retrying...
    logger: Warning: Connection reset. Retrying...
    logger: Warning: Connection aborted. Retrying...
    logger: Warning: Remote connection disconnect. Retrying...
    logger: Warning: Connection reset. Retrying...
    logger: Warning: Connection aborted. Retrying...
    logger: Warning: Remote connection disconnect. Retrying...
    logger: Warning: Connection reset. Retrying...
    logger: Warning: Connection aborted. Retrying...
    logger: Warning: Connection reset. Retrying...
    logger: Warning: Connection aborted. Retrying...
    logger: Warning: Connection reset. Retrying...
    logger: Warning: Remote connection disconnect. Retrying...
    logger: Warning: Connection aborted. Retrying...
    logger: Warning: Connection reset. Retrying...
    logger: Warning: Connection aborted. Retrying...
    logger: Warning: Connection reset. Retrying...
    logger: Warning: Connection aborted. Retrying...
    logger: Warning: Connection reset. Retrying...
    logger: Warning: Connection aborted. Retrying...
    logger: Warning: Connection reset. Retrying...
    logger: Warning: Connection aborted. Retrying...
    logger: Warning: Connection reset. Retrying...
    logger: Warning: Connection aborted. Retrying...
==> logger: Machine booted and ready!
==> logger: Setting hostname...
==> logger: Configuring network adapters within the VM...
==> logger: Waiting for HGFS to become available...
==> logger: Enabling and configuring shared folders...
    logger: -- D:/DetectionLab/DetectionLab/Vagrant: /vagrant
==> logger: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> logger: flag to force provisioning. Provisioners marked to run always will still run.
PS D:\DetectionLab\DetectionLab\Vagrant>

Since the box has no connection, it cannot download js and other packages.
I tried running these manually and the commands still failed.
I then tried pinging bbc.co.uk and <IP_ADDRESS> but both failed, indicating an issue with networking.
-->
Tried a fresh install from master and this is the error I get
PS D:\DetectionLab\DetectionLab\DetectionLab\Vagrant> vagrant up --provider vmware_desktop
Bringing machine 'logger' up with 'vmware_desktop' provider...
Bringing machine 'dc' up with 'vmware_desktop' provider...
Bringing machine 'wef' up with 'vmware_desktop' provider...
Bringing machine 'win10' up with 'vmware_desktop' provider...
==> logger: Cloning VMware VM: 'bento/ubuntu-20.04'. This can take some time...
==> logger: Checking if box 'bento/ubuntu-20.04' version '202112.19.0' is up to date...
==> logger: Verifying vmnet devices are healthy...
==> logger: Preparing network adapters...
==> logger: Starting the VMware VM...
==> logger: Waiting for the VM to receive an address...
==> logger: Forwarding ports...
    logger: -- 22 => 2222
==> logger: Waiting for machine to boot. This may take a few minutes...
    logger: SSH address: <IP_ADDRESS>:2222
    logger: SSH username: vagrant
    logger: SSH auth method: private key
    logger: Warning: Connection reset. Retrying...
    logger: Warning: Remote connection disconnect. Retrying...
    logger: Warning: Connection aborted. Retrying...
    logger:
    logger: Vagrant insecure key detected. Vagrant will automatically replace
    logger: this with a newly generated keypair for better security.
    logger:
    logger: Inserting generated public key within guest...
    logger: Removing insecure key from the guest if it's present...
    logger: Key inserted! Disconnecting and reconnecting using new SSH key...
==> logger: Machine booted and ready!
==> logger: Setting hostname...
==> logger: Configuring network adapters within the VM...
==> logger: Waiting for HGFS to become available...
==> logger: Enabling and configuring shared folders...
    logger: -- D:/DetectionLab/DetectionLab/DetectionLab/Vagrant: /vagrant
==> logger: Running provisioner: shell...
    logger: Running: c:/temp/vagrant-shell20220914-8616-1qejouy.sh
    logger: Removed /etc/systemd/system/multi-user.target.wants/systemd-resolved.service.
    logger: Removed /etc/systemd/system/dbus-org.freedesktop.resolve1.service.
    logger: Unable to locate logger_variables.sh
    logger: [10:16:04]: Adding apt repositories...
    logger: Cannot add PPA: 'ppa:~apt-fast/ubuntu/stable'.
    logger: ERROR: '~apt-fast' user or team does not exist.
    logger: Cannot add PPA: 'ppa:~rmescandon/ubuntu/yq'.
    logger: ERROR: '~rmescandon' user or team does not exist.
    logger: Cannot add PPA: 'ppa:~oisf/ubuntu/suricata-stable'.
    logger: ERROR: '~oisf' user or team does not exist.
    logger: [10:18:18]: Running apt-get clean...
    logger: [10:18:18]: Running apt-get update...
    logger: W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/focal/InRelease  Temporary failure resolving 'us.archive.ubuntu.com'
    logger: W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease  Temporary failure resolving 'us.archive.ubuntu.com'
    logger: W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease  Temporary failure resolving 'us.archive.ubuntu.com'
    logger: W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/focal-security/InRelease  Temporary failure resolving 'us.archive.ubuntu.com'
    logger: W: Some index files failed to download. They have been ignored, or old ones used instead.
    logger: [10:21:17]: Installing apt-fast...
    logger: E: Unable to locate package apt-fast
    logger: [10:21:17]: Using apt-fast to install packages...
    logger: /tmp/vagrant-shell: line 51: apt-fast: command not found
    logger: [10:21:17]: Updating the MOTD...
    logger: [10:21:17]: [TEST] Validating that jq is correctly installed...
    logger: dpkg-query: no path found matching pattern *jq*
    logger: [-] jq was not found.  They have been ignored, or old ones used instead.
    logger: Reading package lists...
    logger: Building dependency tree...
    logger: Reading state information...
    logger: The following additional packages will be installed:
    logger:   libjq1 libonig5
    logger: The following NEW packages will be installed:
    logger:   jq libjq1 libonig5
    logger: 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
    logger: Need to get 313 kB of archives.
    logger: After this operation, 1,062 kB of additional disk space will be used.
    logger: Err:1 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libonig5 amd64 6.9.4-1
    logger:   Temporary failure resolving 'us.archive.ubuntu.com'
    logger: Err:2 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 libjq1 amd64 1.6-1ubuntu<IP_ADDRESS>
    logger:   Temporary failure resolving 'us.archive.ubuntu.com'
    logger: Err:3 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 jq amd64 1.6-1ubuntu<IP_ADDRESS>
    logger:   Temporary failure resolving 'us.archive.ubuntu.com'
    logger: E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/libo/libonig/libonig5_6.9.4-1_amd64.deb  Temporary failure resolving 'us.archive.ubuntu.com'
    logger: E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/j/jq/libjq1_1.6-1ubuntu<IP_ADDRESS>_amd64.deb  Temporary failure resolving 'us.archive.ubuntu.com'
    logger: E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/j/jq/jq_1.6-1ubuntu<IP_ADDRESS>_amd64.deb  Temporary failure resolving 'us.archive.ubuntu.com'
    logger: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    logger: [X] Unable to install jq even after a retry. Exiting.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

Screenshots:
Since this seems like a networking issue, here is the network card setup:

Is anyone else having this issue? I only have vmware as a provider, so theirs no possibility of confliction with another provider like virtual box

Does anyone know of a solution?

In VMware, if you go to Edit > Virtual Network Editor, this is what my window looks like:

Maybe see if something there looks off?

That's really weird. Are any of your VMs able to connect to the internet?

Closing due to inactivity


[6.x] Remove unnecessary computations and function calls

This PR removes unnecessary computations and function calls. We don't need to go full circle to get that path.

It is not currently broken.


Cc compare spectra

Created "compare_utils.py" for spectra comparison and alignment:
https://github.com/AI-multimodal/Lightshow/blob/cc-compare-spectra/lightshow/postprocess/compare_utils.py
Jupyter notebook:
https://github.com/AI-multimodal/Lightshow/blob/cc-compare-spectra/notebooks/compare_spectra.ipynb

I think the code looks good but we need to improve the documentation here a bit more. Docs should follow the NumPy style. @chuntian236, do you want to do this here or should we just open an issue and do it later?

Let me try to do this here. I might forget everything if I decide to do it later.


Snakemake API

Hi @johanneskoester et. al.  I've really been enjoying the new dataclass approach to the Python API for snakemake.  I've been successfully running some basic versions of my pipeline locally on my Mac, and I'm about to transition to an HPC environment.  My only holdup now is figuring out the 'executor_settings' that are defined in the dagAPI.
I know there isn't a lot of support for this but I have a few strategies that I'm thinking about implementing to make it work.

Import executor settings from one of the plugins.  In my case it would be the cluster-sync plugin executlor settings and in the near future the slurm plugin's executor settings.

This is much less desirable, but I thought I could also use a configfile that applies those executor plugin settings.

Do you have any advice for using the general API along with the API from one of the executor plugins?
Thanks 🙏🏼

Just looping back around to this question:

Do you have any advice for using the general API along with the API from one of the executor plugins?

😃

Glad it's not just me!

To be honest: I do not understand the question. Perhaps, if either of you, can elaborate your aim?
The SLURM executor plugin has no "API" designed to be imported by a user (it is, of course, possible to do just that, if the plugin is in your environment - if this is your starting point, I would be curious to learn what you want to achieve). Then again, your goal might be something entirely different.

Well there are two parts to the question..

using the official snakemake python modules to run a workflow - https://snakemake-api.readthedocs.io/en/stable/api_reference/snakemake_api.html
using the executor plugins along with the python API..

The question is how do you do it?  The documentation is there, but very lacking for the first point.  And non-existing for the second point?

As a workaround, I've essentially reverse engineered the main function in the cli module:  https://github.com/snakemake/snakemake/blob/19a2ab76b475c5d7728624618bec75a7f1411e8b/snakemake/cli.py#L2168-L2177
 def run_snakemake_command(self, sys_exit=True):
        """This method is used to run snakemake cli commands using python.  It is a wrapper
        around the args_to_api and get_argument_parser functions in the snakemake.cli module, which are used to parse
        the command line arguments into various snakemake dataclasses (e.g. snakemake.settings).
        """

        try:
            logging.setup_logger()
            parser = self.argument_parser
            args = self.set_cli_args()
            success = args_to_api(args, parser)
        except Exception as e:
            print_exception(e)
            if sys_exit:
                sys.exit(1)
        if sys_exit:
            sys.exit(0 if success else 1)

And actually if you're interested @standage @cmeesters I can probably publish my code in a public repository pending approval.  It's pretty simple for the most part.

Perhaps, if either of you, can elaborate your aim?

My aim, as articulated in #2792, is to understand how to launch a Snakemake workflow from Python. I was able to do the following with Snakemake version <= 7, but the Snakemake version 8 documentation doesn't make it clear how to do this or something like it.
from snakemake import snakemake
snakemake("workflow.smk", config=cfg)

Indeed, the API docs don't really explain this yet. However, it should hopefully be pretty straightforward when looking at how the api is used here: https://github.com/snakemake/snakemake/blob/main/snakemake/cli.py#L1864
In short: you get the executor settings by loading the plugin by name and retrieving the settings:
executor_plugin = ExecutorPluginRegistry().get_plugin("slurm")
# manually pass args to the respective class of the plugin:
executor_settings = executor_plugin.settings_cls(...)
# or infer from CLI args:
executor_settings = executor_plugin.get_settings(args)

Note that it indeed was a bit more complex before when one would have wanted to use one of the builtin executors like local or dryrun. I am working on fixing this here: https://github.com/snakemake/snakemake/pull/3114
@standage the basic idea of how snakemake is called now is described here:
https://snakemake-api.readthedocs.io/en/stable/api_reference/snakemake_api.html

I keep this open in order to highlight the fact that we should extend the api docs in this regard.

@johanneskoester  thanks for the info.  And better API docs would certainly be helpful on my end 👍

I have the related issue that the API example does not work for the recommended Snakemake8 project structure as the config file is searched for in project/Workflow/scripts and not project/configs by default.
This can be fixed passing the config settings explictly
config_settings = sm_api.ConfigSettings(configfiles=cfg_paths)
but it's not documented and the 'recommended project structure' should really be supported


[Bug]Meta data of Dynamic Battery Storage error

Background

Operating System: win10
CKAN Version: 1.28.0
KSP Version: 1.8.1

Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
Problem
Describe the bug
the same as adriaans's
https://forum.kerbalspaceprogram.com/index.php?/topic/186207-110x-dynamic-battery-storage-electricalthermal-planning-and-timewarp-compensation-sept-1/page/6/
According to the mod's author, the Dynamic Battery Storage <IP_ADDRESS> does not support ksp1.8.1, but CKAN shows it does.

This mod's metadata is 100% author-controlled. Try submitting a PR to fix the version file here:

https://github.com/ChrisAdderley/DynamicBatteryStorage/blob/master/GameData/DynamicBatteryStorage/Versioning/DynamicBatteryStorage.version

According to the mod's author, the Dynamic Battery Storage <IP_ADDRESS> does not support ksp1.8.1

Also note that the above is not correct:

The possible conflict is specifically with Kopernicus. If you install DBS on KSP 1.8.1 without installing Kopernicus, this would not apply.


Find a way to reenable the cherry-picker process

It's removed in https://github.com/envoyproxy/gateway/pull/3831, because it hardly ever worked.
We need find a way to enable it, so that it could reduce the effort for cherrypicking and releasing minor patch.

Hi @zirain I saw the previous attempt to enable cherry-picker workflow using carloscastrojumo/github-cherry-pick-action but I think we can also use Xealth-cherry-picker it has a good documentation to follow.

the one you shared looks like not in active maintain.

@zirain can you please share any reference or what you are thinking as the way to achieve cherry-picker workflow? Do I have to do something as previous attempt?

Once the action work very well, maybe wen write a simple tools which can search the PR with target label(e.g. cherrypick/release-v0.4), and try to cherry pick those to target branch one by one, so that it will be a great help of release manager.

@zirain I have searched a lot about the cherry-picker recently used by organisations, I got this cherry-picker in github marketplace https://github.com/sorenlouv/backport , we can integrate this one.

Assign to me for now so no one else can waste their time


Missing function in Java binding

Hi guys,
I am updating my Java library JPAD in order to import CPACS files using TiGL v3.
When I try the current Java binding provided by TiglNativeInterface.java I get a runtime error saying:
Error looking up function 'tiglExportMeshedFuselageVTKSimpleByUID': Impossible to find the specified procedure.
It looks like tiglExportMeshedFuselageVTKSimpleByUID is not defined in TiglNativeInterface.java. In fact, this function is only available in the Fortran binding in tigl/bindings/fortran/tigl_fortran.cpp.
I think that adding a new function tiglExportMeshedFuselageVTKSimpleByUID in tigl/src/api/tigl.cpp declared as TIGL_COMMON_EXPORT and declaring a new public static native int tiglExportMeshedFuselageVTKSimpleByUID in tigl/bindings/java/src/de/dlr/sc/tigl3/TiglNativeInterface.java will address the problem.

Hi Agostino,
nice to hear from you.
The java bindings are unfortunately not created automatically and we might forget to adapt it to api changes sometimes. We'll fix this.
Please note, that there are now also new unified export functions, which you could use as well:

tiglExportComponent
tiglExportConfiguration
tiglSetExportOptions

Depending on the file name ending, the appropriate exporter is used.

Hi Martin,
thank you for your prompt reply. I solved my issue: I was compiling with tigl3 but I was using tigl2 at runtime. I proved to myself that tigl3 java binding actually works by creating a separate project for testing your tigl/examples/java_demo/JavaDemo.java and it works as expected.
And it works correctly in my bigger Java project as well.
I think you can close this issue.


Just curious  .. What is the reason for pattern in this memory graph ?

Internal Elastic search + AWS redis service
24 hour JVM graph of conductor server ..
I found this pattern in the 24 hour memory graph . Any specific  reason  for this pattern ? Just curious ..

Note : please close this issue if inappropriate ..

Hey @kchaturanga, While someone from community who has actually tested this might best answer this question, I don't see anything abnormal with it, apparently GC kicks in every once a while to cleanup stale workflow related objects.
I'm closing this as there isn't much activity, but please feel free to reopen if this topic needs more review.


Re-organize main bundle and add doc comments

This PR creates a new cnab module and exports the fields from the bundle structs.
All relevant comments (defined with //) are changed to documentation comments (defined with ///) that are now visible with cargo doc --open, see photo below.

I'm going to merge this so that I can start working on it as well.


[docs] Migrate Radio demos to emotion

[x] I have followed (at least) the PR section of the contributing guide.

The following demos of the Radio component were migrated:

[x] Error radio
[x] Customized radio
[x] useRadioGroup

Related to #16947

@oliviertassinari  Is it correct to do this for styles that make sense? Is there another way?
const StyledFormControlLabel = styled((props: StyledFormControlLabelProps) => (
  <FormControlLabel {...props} />
))(({ theme, checked }) => ({
  '.MuiFormControlLabel-label': checked && {
    color: theme.palette.secondary.main,
  },
}));

This failed for timeout. Run again CI please.

I have used the fix of the checkbox PR and applied it here. We are good :)

@oliviertassinari I could not replicate it here, my day was full. Thanks for the help!


Make egui_glow painter to work on web

I made PR #852 but this way affect many points.
These my works

eliminate glutin dependency from painter
port PostProcess for sRGB correct color for web from egui_web painter
eliminate VAO by emulating VAO
add feature flag painter_only to reuse glow painter
implement egui_web::Painter trait for wrapped glow painter
share GLSL ES and GLSL shader
Current tested platforms
OpenGL 4.6 (Ryzen 5 5500U with AMD proprietary windows driver) (not tested but coded to work 2.0 or above)
WebGL2 (firefox android , MS edge)
WebGL1+sRGB (WebGL2 disabled firefox)
WebGL1 (servo nightly build)

I monitored by Spector.js and found glow painter 's draw call is half of egui_web.
which means lower CPU usage,lower power consumption,higher frame rate.

glow painter 132
webgl2 painter  269

merging upstream change
Now i post some good photo

.

Thanks @t18b219k - great work!

Sorry I didn't have much feedback for it - busy with exams, I won't be able to contribute much for a bit.


README advice on GitHub API limits?

Say I wanted to embed 100 GH sources into an arbitrary page using github-embed, am I going to encounter problems as a concurrently in logged in GH user?

Same Q but as a not-logged-in guest to GH?

Good question. Deserves an answer.

@paul-hammant @DevinWalker per https://developer.github.com/v3/#rate-limiting

For unauthenticated requests, the rate limit allows for up to 60 requests per hour.

But if an API request fails, the library makes simple Fetch request to githubusercontent (see the code). It works because they send header Access-Control-Allow-Origin: *. Theoretically, one day they can change the header but since they didn't do it last few years, I can say the limit is infinite. To test that, open the demo page, open Network tab at developer tools and reload the page many times. Nth (I suppose 31th) time API requests will fail but the fallback bypasses that and the widget is rendered correctly.
Sorry for late reply.

Great thanks for the thorough response! I'm probably going to implement this on our site in the coming week.


Update vortexdm.json

Closes #XXXX

Relates to #XXXX

[ ] I have read the Contributing Guide.

/verify


Softbody's rotation isn't accessible

Godot version
3.4.2.stable
System information
WIndows 10,GLES 3
Issue description
I've created a softbody with a sphere (from blender)  as a child node of KinematicBody

when I start the program, everything's fine and as expected!

but when I make my ball jump, the softbody is rotating

I can't lock the rotation, neither can I see which node is actually rotating.. all transforms in the editor (remote) are at standard values

Steps to reproduce
attached project
worlds/world1.tscn - run
space to jump
Minimal reproduction project
Kurt2.zip

I don't think SoftBodies are designed to be axis-locked. In general, SoftBodies are the opposite of predictable behavior anyway.

I don't think SoftBodies are designed to be axis-locked. In general, SoftBodies are the opposite of predictable behavior anyway.

So softbodies are pure eye-candy in Godot?

So softbodies are pure eye-candy in Godot?

Given the number of SoftBody issues currently present, it is better not to rely on them for anything gameplay-related right now.

So softbodies are pure eye-candy in Godot?

Given the number of SoftBody issues currently present, I think it's better not to rely on them for anything gameplay-related right now.
If you need visual-only deformation effects, consider using a RigidBody/KinematicBody and premade animations or even non-uniform scale changes with an AnimationPlayer.

Ok, thanks! Yeah I think I'll stick with blender animations... Thanks to the team for awesome work all the years!


E2E prompt disappears whenever the focus is lost

That makes it hard to e.g. compose longer e-mails, adding text from additional websites, following links from the decrypted text. looking for the recipient's exact e-mail address etc.
One idea to fix this is to create a pop-out icon. When clicked, prompt would be reopened (with preserved contents) in a popup window (of chrome-extension:// origin) that would persist until it's manually closed.
Content from the window should be transferred back only to the original website origin.

Fixed with popout functionality in ecb55271801a02fba450a90fbe63cbf5fbbdd8bf


element>element css selector on styles

Hey, thank you in advance for your work.
I was working for a couple of months with AdminLTE and AngularJS. I use to create AngularJS directives wrapping AdminLTE components and the styles for components use to use element>element css selector, which AngularJS directives breaks the style when you use replace: false. Why is the point of this? Why not to use .class .anotherClass selector?
Example code:

The selector for style is .timeline>li>.fa and my HTML after componentize the icon could be:

         <my-happy-icon class="bg-blue">enevelope</my-happy-icon>

Which will be transclude to:

         <my-happy-icon>

        </my-happy-icon>

So, the selectors is not getting it and I have to re-write the selector to .timeline li .fa.

Hello,
The > selector is used to pick first level elements only. Unfortunately, we might have use that in components that don't necessarily need it. We apologize for the inconvenience but it would very time consuming to track down and fix every selector at this point. We are hoping for much better CSS and JS in AdminLTE v3.
Thanks!


Add support for gzipped files

Blat and bowtie2 appear to support gzipped files, this should be trivial to implement.

Some alternative strategies for storing fastq data (e.g. http://mark.howison.org/Howison-TCCB-2012.pdf) may prove useful.


In Camera Plugin there is no option for setting 1:1 aspect ration even if we set then image stretches.

In Camera Plugin there is no option for setting 1:1 aspect ration even if we set then image stretches, Is there any way to change camera aspect ration to 1:1 with no streatches please provide way to change aspect ration.

possibly related to

https://github.com/flutter/flutter/issues/45665

possibly related to

[camera] Allow custom resolution and aspect ratio #45665

Nooooo , I want to set camera preview to 1:1 aspect ration i tried every thing Transform.Scale, Aspect Ration Widget and many more option but noting work , ### Please provide solution to set 1:1 aspect ration without stretching camera preview.

Please provide solution to set 1:1 aspect ratio without stretching camera preview.

I see only 3 options:

stretch
crop
custom aspect ratio

@mobileapp-infinity
Please check this issue and see if helps in your case. Also check the issues mentioned here for your reference and confirm if follow-up in them would help for better tracking.

@mobileapp-infinity Please check this issue and see if helps in your case. Also check the issues mentioned here for your reference and confirm if follow-up in them would help for better tracking.

No that not helped in my case, when can i expect that camera plugin provide aspect ration option like 1:1,4:3 etc.. and this stretch issue solved ?

The above linked issues are open and have been prioritized. They will be fixed per Flutter team's issue fix policy.
For your issue, can you provide a complete minimal code sample along with platform you are seeing this behavior (android, iOS) with flutter doctor -v ?

The above linked issues are open and have been prioritized. They will be fixed per Flutter team's issue fix policy. For your issue, can you provide a complete minimal code sample along with platform you are seeing this behavior (android, iOS) with flutter doctor -v ?

Yes sure, I have tried below option on Android Platform please check,

SizedBox(
height: Get.width,
width: Get.width,
child: cameraController!.buildPreview(),
)

SizedBox(
height: Get.width,
width: Get.width,
child: Transform.scale(
scaleY: 1.7, //for fixing stretching issue
child: cameraController!.buildPreview(),
),
)

SizedOverflowBox(
size: Size(Get.width, Get.width), // aspect is 1:1
alignment: Alignment.center,
child: cameraController!.buildPreview(),
)

SizedBox(
height: Get.width,
width: Get.width,
child: AspectRatio(
aspectRatio: 1,
child: cameraController!.buildPreview(),
),
)
and many more option but not working,
flutter doctor -v as below
Flutter (Channel stable, 3.3.7, on Microsoft Windows [Version 10.0.18363.1556], locale en-US)
• Flutter version 3.3.7 on channel stable at D:\flutter_sdk
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision e99c9c7cd9 (4 weeks ago), 2022-11-01 16:59:00 -0700
• Engine revision 857bd6b74c
• Dart version 2.18.4
• DevTools version 2.15.0
Checking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at D:\android_sdk
• Platform android-33, build-tools 30.0.3
• ANDROID_HOME = D:\android_sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[X] Visual Studio - develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default
components
[√] Android Studio (version 2021.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
[√] VS Code (version 1.73.1)
• VS Code at C:\Users\Lenovo\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.52.0
[√] Connected device (4 available)
• M2101K6P (mobile) •  android-arm64  • Android 12 (API 31)
• Windows (desktop) • windows  • windows-x64    • Microsoft Windows [Version 10.0.18363.1556]
• Chrome (web)      • chrome   • web-javascript • Google Chrome 107.0.5304.122
• Edge (web)        • edge     • web-javascript • Microsoft Edge 107.0.1418.26
[!] HTTP Host Availability
X HTTP host "https://cocoapods.org/" is not reachable. Reason: Failed to connect to host in 10
seconds
! Doctor found issues in 2 categories.

I believe implementing this https://github.com/flutter/flutter/issues/45665 should be able to resolve your case as well, as the original issue talks about the proposal to allow custom resolution and aspect ratio, so I suggest you to follow-up in that issue for further updates.
Closing this in favor of linked issue. If you disagree, write in comments and I'll reopen it.


[Auto-update][PT Settings] Updated general page in the Settings

Summary of the Pull Request
What is this about:
UI for the different states of the auto-update.
Currently, the UpdateState.json is read on the settings startup and corresponding text is shown.
Up to date:

New version is available to download:

New version is already downloaded:

Error:

Auto-update is disabled:

What is include in the PR:
How does someone test / validate:
Quality Checklist

[ ] Linked issue: #xxx
[ ] Communication: I've discussed this with core contributors in the issue.
[ ] Tests: Added/updated and all pass
[ ] Installer: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Docs: Added/ updated
[ ] Binaries: Any new files are added to WXS / YML

[ ] No new binaries
[ ] YML for signing for new binaries
[ ] WXS for installer for new binaries

Contributor License Agreement (CLA)
A CLA must be signed. If not, go over here and sign the CLA.

We will make some polishing to the actual text later on, but for now this is very good.


⚠ ClamAV has degraded performance

In fb259cd, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 53 ms

Resolved: ClamAV performance has improved in 2383752.


Fresh install Kernel Panic on Raspi 4B 8gb

Umbrel 4 fresh download nothing else connected - getting an issue with resize.sh error -117

3.14 works fine for resizing the fs.

Can you provide details on the storage device? HDD/SSD? Was it formatted before and if so, to which fs type? Can it be read on another device (for example your laptop)?

That error is related to the SD card, can you show the full error though?


Multi line code doesn't work

Hi,
I'm a newbie and I tried to understand the syntax of Elm.
Env:
Version: Elm REPL 0.4.2 (Elm Platform 0.15.1)
OS: OSX mavericks
zshell
node/0.12.1
In the guide the example
> over9000 powerLevel = \
|   if powerLevel > 9000 then "It's over 9000!!!" else "meh"
<function>

this example leads to
## ERRORS in repl-temp-000.elm #################################################

-- SYNTAX PROBLEM -------------------------------------------- repl-temp-000.elm

I ran into something unexpected when parsing your code!

3|   over9000 powerLevel =
                         ^
I am looking for one of the following things:

    end of input
    whitespace

I have no idea what the reason can be.
Let me know, if I missend any thing that can help you.
thx

You need to add whitespace on the following line for this to work, so first type: over9000 powerLevel = \, then press enter, then   if powerLevel > 9000 then... - note you shouldn't type the |

Thank you..

@nabilallam, are things working? If not, what did you type into the REPL exactly?

Sorry, forgot to close it.

Guys , you should make a note about this space at the beginning of 2nd line, it is really hard to spot this one , I ran into it today and the message is complaining about the line before stating that "end of input" or "whitespace" is expected

Noting here that after the | you MUST manually space over four spaces for indentation.

@illepic one space after the | worked for me , I dont think you need four


fix ArrayWidget so it stores numbers to formData when needed

Attempts to fix #295

Great patch, thank you! r+ with comments addressed

Sorry for the late bit of review ;)

No worries, yours is much better.
Side note: is there a way to run a specific test? The full test suite takes several minutes to run and sometimes I just want to check if a change I made causes a specific test to fail.

is there a way to run a specific test?

Yeah, you can use it.only() to only run a single test. Combined with npm run tdd which will rerun the test everytime the source file changes, that's really useful to work on some implementation.

The full test suite takes several minutes to run

Wow, several minutes? Doesn't sound good :/

I'm landing this, great work, thanks!

Released in v0.38.1.


test-bot failing with brew doctor errors and leftover kegs

Starting today, all the test bot runs for the main Homebrew are failing with brew doctor errors, complaining about missing dependencies and /usr/local/sbin not being on the path. Reruns are not fixing it
#50546 and Homebrew/homebrew-science#3476 ("Jenkins (bot.brew.sh) fails sporadically") looks related; it's failing on brew doctor calling out missing dependencies there too.
The brew doctor errors in the build logs look like this.
Error Message

failed: brew doctor

Stacktrace

        Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Homebrew's sbin was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting the PATH for example like so
    echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.bash_profile

Warning: Some installed formula are missing dependencies.
You should `brew install` the missing dependencies:

    brew install epstool erlang fftw fontconfig freetype gd ghostscript gl2ps gmp gnuplot graphicsmagick arpack glpk hdf5 octave qhull qrupdate suite-sparse421 veclibfort imagemagick jpeg libpng libtiff libtool little-cms2 lua pcre plotutils pstoedit pyqt qscintilla2 qt sip szip tbb unixodbc wxmac xz

Run `brew missing` for more details.

The first failed PR from this set of failures was #50620.
The Jenkins build history says:
Failed	Homebrew Pull Requests » mavericks #44050	10 hr	broken since this build
Homebrew Core Pull Requests » el_capitan #2	11 hr	broken since this build
Failed	Homebrew Core Pull Requests » yosemite #2	11 hr	broken since this build

Diagnosis
The doctor warnings for missing dependencies, stuff in sbin, and so on only get triggered if there are formulae installed. And there shouldn't be, at the start of a test run. But there are, plenty of them.
elcapitanvm:Cellar brew$ date
Sun Apr  3 04:33:11 BST 2016
elcapitanvm:Cellar brew$ brew ls
cairo			fontforge		libarchive		pango
codequery		freetype		libevent		pixman
confuse			fwup			libffi			pkg-config
...

Looks like keg installations from a previous test-bot run are getting left over.
Work
51e4e6490bda0d981afd1787a6392ab588b0601c was an attempt to fix this using git clean. Didn't work; reverted in e13ff6294a0bbc28fc98d6f797b1b56ce93ecd67. Martin thinks the issue was that the git command is executed in the context of the tap the current job operates on, never for Homebrew/homebrew itself.
There's existing cleanup code at https://github.com/Homebrew/homebrew/blob/e13ff6294a0bbc28fc98d6f797b1b56ce93ecd67/Library/Homebrew/cmd/test-bot.rb#L633-L645 which already runs git clean -ffdx. It's probably not addressing this because it's run inside the job's tap and not core $HOMEBREW_PREFIX.

The cleanup code should be put in https://github.com/Homebrew/homebrew/blob/master/Library/Homebrew/cmd/test-bot.rb#L633-L645

It seems like the issue is that --cleanup only affects the repo it's currently under - which would often be the main Homebrew repo for core PRs. But it should really clean up both the repo for the target tap (which gets clean formula code), and the main Homebrew prefix repo (which blows away all the kegs in the Cellar).
That could explain why the failure for homebrew-science in #50546 is sporadic: if there are leftover kegs on the machine, the test-bot --cleanup run on the tap PR wouldn't clean them up. But the next test run for a core PR would. But now after core/formula separation, core formula PRs are only ending up cleaning the homebrew/core tap, and not HOMEBREW_PREFIX. Does that make sense?
Is the intent of --cleanup to always clean up HOMEBREW_PREFIX and remove installed formulae? If so, seems like we could fix this by just doing all the git cleanup work on both @repository and HOMEBREW_PREFIX.

I have a theory: the test-bot sequence does install on the dependent formulae it finds using brew uses. And it later calls uninstall on them. But it does not call uninstall on their dependencies which were installed implicitly as a result of the brew install $(brew uses foo). That leaves those kegs installed after the test-bot run unless cleanup was performed on the main HOMEBREW_PREFIX repo, which results in uninstalling all formulae.
And if some of those indirectly-installed dependencies themselves have dependencies on some of the formula that brew uninstall unchanged_depdencies removed, they now have broken dependencies, and will show up in the next brew doctor run. Or if any of the indirectly-installed dependencies install anything to sbin, then you'll get that other brew doctor warning.
Do we always want to uninstall all formulae after a brew test-bot run? Maybe we could just do brew uninstall $(brew ls) in cleanup_before and cleanup_after as a quick fix.

I think that's the tested formula's own dependencies will be left over on the machine after the test-bot run, too. But there's no chance of them getting their dependencies broken because they won't depend on the tested formula its dependents, because that would cause a dependency cycle, which brew doesn't allow. So they'd only be a problem if they put stuff in sbin.

I'm thinking we still need to cleanup tap files as well. So avoiding cross-tap jobs interference. So how about below commands run in Jenkins config similar to our travis config.
git -C "$(brew --repo)" reset --hard origin/master
git -C "$(brew --repo)" clean -qxdff

Yeah, the git reset/git clean is better.
Wouldn't it make more sense to do those in cleanup_before and cleanup_after inside test-bot, though, so people running it interactively get similar results, and we rely less on the Jenkins configuration?

Yes you are right.

I put in a fix in 1e92c7f4316a2e37d8ec03b73c8e4e3d2b24a18f which will do the git clean on the core repo as well as the tap being tested.
Some of its work is redundant: since the taps are under the core repo, a single git clean -xdff on the core should take care of all the taps too, I think. And some of the code could be refactored. But I wanted to make the minimal changes to get it working now.
Reopening until this is actually tested. (It got auto-closed when I pushed the commit.)

That didn't work. It did: git clean -ffdx in the core repo in both of the cleanup_* methods. That broke the Homebrew installation because it blew away the taps under Library/Taps.
==> Updated Formulae
cassandra
+ brew test-bot --ci-pr
["--ci-pr", "--cleanup", "--junit", "--local"]
HEAD is now at 1e92c7f test-bot: have --cleanup clean core repo as well as tested tap
Already on 'master'
Removing Cellar/
...
Removing Library/Taps/
...
==> git reset --hard
Error: No such file or directory - /usr/local/Library/Taps/homebrew/homebrew-core
==> FAILED
/usr/local/Library/Homebrew/extend/pathname.rb:328:in `chdir': No such file or directory - /usr/local/Library/Taps/homebrew/homebrew-core (Errno::ENOENT)
	from /usr/local/Library/Homebrew/extend/pathname.rb:328:in `cd'
	from /usr/local/Library/Homebrew/cmd/test-bot.rb:155:in `block in run'
	from /usr/local/Library/Homebrew/cmd/test-bot.rb:150:in `fork'
	from /usr/local/Library/Homebrew/cmd/test-bot.rb:150:in `run'
	from /usr/local/Library/Homebrew/cmd/test-bot.rb:687:in `test'
	from /usr/local/Library/Homebrew/cmd/test-bot.rb:665:in `cleanup_after'
	from /usr/local/Library/Homebrew/cmd/test-bot.rb:741:in `ensure in run'
	from /usr/local/Library/Homebrew/cmd/test-bot.rb:741:in `run'
	from /usr/local/Library/Homebrew/cmd/test-bot.rb:910:in `test_bot'
	from /usr/local/Library/brew.rb:84:in `<main>'
Build step 'Execute shell' marked build as failure
...

It needs to be done with either a single `-f` or to  `--exclude /Library/Taps`. I put in another commit 235d819edf77fb3fe08714c3cf3489d5de08fc96 to do it the `--exclude /Library/Taps` way, keeping the extra `-f` in case there are other git-controlled droppings around.

Testing this now.

Here's the Jenkins run with that change. Yosemite and El Capitan succeeded. Mavericks failed, but with an error in brew test fasd, which looks like an actual issue with that PR, not this brew doctor stuff.
I think this might be fixed. Going to requeue a couple additional runs, including alternating between different taps, to see if it's really working.

Reopening. (Adding the commit to homebrew/brew triggered the auto-closing. Might have to watch out for that if we're keeping them in parallel.)

Okay, I think this is fixed now. Incoming test jobs are running okay, and we've seen some from multiple taps.

Many thanks for figuring this out! :bow: Yesterday night I was obviously too tired to get this right …


Difficulty displaying bounding boxes

Hi, I'm having a little difficulty in the demo notebook in trying to obtain and display the corresponding bounding box notations.
When I try to display image_with_highlight where:
image_with_highlight = ImageHighlightBboxDataset.highlight_region(
image, [{'left': targets[0, 0], 'top': targets[0, 1], 'width': targets[0, 2], 'height': targets[0, 3]}])
The image does not contain the bbox highlights.
Is there a way to obtain the top bboxes from the image currently?
Thanks!

Hi @adrielkuek ! Thanks for your interest in our work!
That part of the demo is meant to take as input from the user via jupyter_innotater. When you run the demo, are you able to see the bounding box user input interface spawned by:
targets = np.zeros((1, 4)) # Initialise bounding boxes as x,y = 0,0, width,height = 0,0
Innotater( ImageInnotation([image_path]), BoundingBoxInnotation(targets) )

?
Also, can you print what your targets array contains? It defaults to all zeros and is meant to be over-written by jupyter_innotater
https://github.com/ideonate/jupyter-innotater

Thanks @jmhessel for the response! I seem to be having difficulty in getting juypter_innotater widget to work. I've done the pip install correctly and ran the relevant code. The output of targets after running the line: Innotater( ImageInnotation([image_path]), BoundingBoxInnotation(targets) ) is:

Interesting!
A quick answer is you can just modify targets with x,y,width,height as you desire, but that's cumbersome (which is why I added the interface). Could you possibly send me a screenshot of the annotator not working, e.g., with an error message? Hard to fix because it's working as-is on my end (though, if I recall correctly, I did have to do something extra when I was installing jupyter lab to enable extensions)...
If you're operating at a very small scale, we are hosting the versions of the files with the bounding boxes pre-rendered given the instance id, but, as the readme specifies, if you're planning to use the whole image corpus, it's much better to download from the original sources.
https://storage.googleapis.com/ai2-jack-public/sherlock_mturk/images_with_bboxes/55cd11d9d977d83744ecbdbaabb770ee.jpg
Jack

When you run jupyterlab, is there an error message related to nodejs that appears in the console?

When you run jupyterlab, is there an error message related to nodejs that appears in the console?

No, there is no error message relating to  on console when running in juypter notebook. The widget simply just doesn't appear. I suspect there needs to be some other extensions that is required for it to work. I've tested with a separate workspace using just purely juypter_innotater with the sample code given in repo:
<from jupyter_innotater import *
import numpy as np, os
images = os.listdir('./foods/')
targets = np.zeros((len(images), 4)) # Initialise bounding boxes as x,y = 0,0, width,height = 0,0
Innotater( ImageInnotation(images, path='./foods'), BoundingBoxInnotation(targets) )>
This doesn't fire up the widget as well. At this juncture, I'm not sure what other dependencies I may be missing out.

Interesting!
A quick answer is you can just modify targets with x,y,width,height as you desire, but that's cumbersome (which is why I added the interface). Could you possibly send me a screenshot of the annotator not working, e.g., with an error message? Hard to fix because it's working as-is on my end (though, if I recall correctly, I did have to do something extra when I was installing jupyter lab to enable extensions)...
If you're operating at a very small scale, we are hosting the versions of the files with the bounding boxes pre-rendered given the instance id, but, as the readme specifies, if you're planning to use the whole image corpus, it's much better to download from the original sources.
https://storage.googleapis.com/ai2-jack-public/sherlock_mturk/images_with_bboxes/55cd11d9d977d83744ecbdbaabb770ee.jpg
Jack

Ah I understand. So with my current code run, as the innotater is not working, the targets that I'm sending into the model is effectively the whole image (No bounding box). But interestingly, it is still able to perform abductive reasoning on the image with some reference to some of the objects that are present within. I suspect that this probably CLIP's inherent visual semantic understanding on the image.
One other way that I'm thinking, as mentioned in the README, is to use an object detector (Faster RCNN or YOLO) to auto extract the bboxes before converting them into the targets format. Would this work as well?
Adriel

Just a separate comment @jmhessel. The current CLIP pretrained model is based on the sherlock corpus which I believe are from VCR and VG datasets. I see in the demo notebook, that we are using the val_split dataset for the clue-inference pairs to perform reasoning over. Just curious, should I have an out of domain dataset that I would like to test on, would it be possible to just generate a set of clue-inference pairs that have closer semantics to my target dataset, but still retaining the use of the original CLIP pretrained model. This is assuming that my OOD dataset do not largely differ from the VG+VCR domains which was originally trained on. Or would I be required to re-train CLIP from scratch using similar annotated examples on my target OOD dataset following the training code README?

Ah I understand. So with my current code run, as the innotater is not working, the targets that I'm sending into the model is effectively the whole image (No bounding box). But interestingly, it is still able to perform abductive reasoning on the image with some reference to some of the objects that are present within. I suspect that this probably CLIP's inherent visual semantic understanding on the image.

That's correct! Just following up --- is there an error message in your console nodejs? You had mentioned nothing comes up in the notebook, but I vaguely recall seeing a warning in the console that I needed to resolve before the annotator showed up.

The current CLIP pretrained model is based on the sherlock corpus which I believe are from VCR and VG datasets. I see that in the demo notebook, we are using the val_split source for the clue-inference pairs to perform reasoning over. Just curious, should I have an out of domain dataset that I would like to test on, would it be possible to just generate a set of clue-inference pairs that have closer semantics to my target dataset, but still retaining the use of the original CLIP pretrained model.

This is a good question! Perhaps we should break this off into a separate issue, but: I take it your new dataset is potentially over a different set of images? You could try it zero-shot (CLIP is surprisingly resilient in my experience); you could fine-tune the pre-trained Sherlock-CLIP models on your new corpus if it's big enough to support it; or you could start from the original CLIP weights, and fit both your data and the sherlock data from scratch. check out https://github.com/allenai/sherlock/tree/main/training_code for our the code we used to fine-tune from CLIP --> Sherlock-CLIP!

One other way that I'm thinking, as mentioned in the README, is to use an object detector (Faster RCNN or YOLO) to auto extract the bboxes before converting them into the targets format. Would this work as well?

You can do this, yep! We released the bounding boxes for all of the images from FasterRCNN with ResNeXt-101 backbone: see the note in the readme

I am going to close this for now, but feel free to re-open. I think this is an install issue related to jupyter notebook. I believe there's an error message that displays in the terminal that provides a hint (I remember having to install nodejs and I believe the error relates to that).

Thanks @jmhessel for the follow up and assistance. I must apologise for my delayed response due to heavy work commitments. Regarding the nodejs issue, unfortunately, I couldn't get that error msg for the hint to try to debug jupyter_innotator. I've switched to using a generic object detector to extract bboxes to fit into the model. So this works for me! Thank you so much for your help!


Generate dates for the current year

Front-end OpenFisca post

For example: the property name for the income should be [ new Date().getFullYear() ], not 2018. That will allow the software to update on its own over time, making use of the most recent definitions in OpenFisca without needing to update the frontend.
The year should be the current year, according to https://github.com/ServiceInnovationLab/openfisca-aotearoa/blob/feature/rates_rebate/openfisca_aotearoa/variables/ratesrebates.py#L62-L63

replaces #108


Sound doesn't trigger

Hello,
We are using the last version of the mod,
It has been installed with r2modman however when facing the giant (which is terrifying gg ) no sound comes up from his mouth.
Maybe he doesn't really make any noise, maybe it's a bug, I just wanted to report it to you.
Nice mod by the way very scary !

Thanks for sharing this! I fixed the audio issue and the update will be pushed in a little bit.


Problem using Ol.Geometry library to draw 2d line between two nodes using Angular/JS

I am trying to draw a line between two features (drawn as overlay). I have two coordinates that follows the Web Mercular projection.
I've read that i can use the Geometry library to draw lines between two objects, but whatever i do i get errors related to the Geometry library.
Imports:
import OlMap from 'ol/Map';
import Overlay from 'ol/Overlay.js';
import VectorLayer from 'ol/layer/Vector.js';
import Geometry from 'ol/geom/Geometry';
import OlFeature from 'ol/Feature';
import * as OlProj from 'ol/proj'

function that used the Geometry library:
 public drawNodeRelationLine() {

        //Fetching node coordinates
        let centerOfNode = OlProj.fromLonLat([this.node.longitude, this.node.latitude]);

        //Fetching node-information-container coordinates
        let webMercatorCoordinates = this.mapRef.getCoordinateFromPixel([this.nodeInfoContainer.nativeElement.getBoundingClientRect().x, this.nodeInfoContainer.nativeElement.getBoundingClientRect().y]);

        console.log("WebMercatorCoordinates:", centerOfNode);
        console.log("centerOfNodeContainer:", webMercatorCoordinates);

        var start_point = Geometry.Point(centerOfNode[0], centerOfNode[1]);
        var end_point = Geometry.Point(webMercatorCoordinates[0], webMercatorCoordinates[1]);

        //Creating line:
        let line = OlFeature.Vector(Geometry.LineString([start_point, end_point]));

        //vector layer containing features
        this.vectorLayer.getSource().addFeatures(line);
    }

The following browser errors i get is the following:
ol_geom_Geometry__WEBPACK_IMPORTED_MODULE_5__.default.Point is not a function
I guessed this had to do with Geometry not being declared as 'new', but following this article below i read that 'There is no constructor since Version 5.0.0', meaning this should work?
https://github.com/openlayers/openlayers/issues/9046
Anyways, would appriciate some help on this, thanks alot.

There is some OpenLayers 2 syntax in your code.  LineStrings should now be constructed directly from coordinates:
    limport LineString from 'ol/geom/LineString';

    let line = new OlFeature(new LineString([centerOfNode, webMercatorCoordinates]));

The removal of the Sphere constructor doesn't affect any other constructors

@mike-000
Thanks, i switched out 'Geometry ' and imported 'Point' and 'LineString' directly from'ol/geom/LineString'; which solves my problem,


Fix missing character range in validator

According to OAuth2 RFC Spec, we are missing a character range in UNICODECHARNOCRLF (%x80-D7FF).
This leads to passwords using unicode symbols like €£ being wrongly considered invalid.

@kurayama what do you think about adding an integration test for the validator (is.js) instead?


(documentation): Document HTTP Methods

Hi all,
I added documentation for the HTTP Methods, as mentioned in #768
I also optimized the static images, via Imgbot, which optionally may be cherry-picked past.
Let me know if there is any feedback, concerns, or comments.
Thanks!

Imgbot optimization
*Total -- 1,260.84kb -> 1,021.16kb (19.01%)
/www/static/home-og.png -- 23.32kb -> 10.37kb (55.51%)
/www/static/showcase/optimem2x.jpg -- 177.82kb -> 128.77kb (27.58%)
/www/static/showcase/imasparql-dd2x.jpg -- 52.76kb -> 38.95kb (26.18%)
/tests/fixture/static/image.png -- 16.82kb -> 12.48kb (25.77%)
/www/static/showcase/videopoker-academy2x.jpg -- 69.50kb -> 52.97kb (23.78%)
/www/static/showcase/ycrm2x.jpg -- 197.07kb -> 150.97kb (23.39%)
/www/static/showcase/ycrm1x.jpg -- 80.94kb -> 64.87kb (19.86%)
/www/static/showcase/videopoker-academy1x.jpg -- 24.71kb -> 19.94kb (19.29%)
/www/static/showcase/imasparql-dd1x.jpg -- 21.48kb -> 17.58kb (18.16%)
/www/static/showcase/optimem1x.jpg -- 76.59kb -> 63.64kb (16.91%)
/www/static/showcase/balello2x.jpg -- 147.97kb -> 123.00kb (16.87%)
/www/static/showcase/hn2x.jpg -- 104.61kb -> 89.08kb (14.84%)
/www/static/showcase/balello1x.jpg -- 68.58kb -> 58.85kb (14.19%)
/www/static/showcase/hn1x.jpg -- 41.43kb -> 36.26kb (12.49%)
/www/static/showcase/adam-portfolio2x.jpg -- 90.00kb -> 86.69kb (3.67%)
/www/static/showcase/adam-portfolio1x.jpg -- 36.95kb -> 36.43kb (1.43%)
/www/static/showcase/fresh-strapi1x.jpg -- 30.32kb -> 30.31kb (0.03%)
Signed-off-by: ImgBotApp<EMAIL_ADDRESS>

Can I propose an optional addition (in a line or two) about how the handlers for form submissions can only be GET/POST methods. It's possibly out of scope for this, but it tripped me up for a while. And other frameworks do indeed support PUT/PATCH/DELETE for form post handling (through a bit of framework magic). But not Fresh... (would be nice though!)

@marvinhagemeister, can this be closed? The primary purpose was to document http requests. If we want to do the secondary thing (imagebot optimizations) then I think we need a new PR.

Yeah I think doing image optimizations is best done in a separate PR. Reviewing and merging PRs which do one thing at a time is much easier.


Explore quick links followup

          @Jarsen136 will you tackle mobile on this one? if yes, clicking on the quick links when using mobile won't close the modal (canary is working properly)

Originally posted by @prury in https://github.com/kodadot/nft-gallery/issues/6989#issuecomment-1695558194
Changed my mind, ahp and ahk looks bad. Lets put the kusamahub etc there but style the beta tag differently. Space between them 16px.

figma here: https://www.figma.com/file/JXNtryaNYhY0XJNArzvPQx/Handoff?type=design&node-id=1287%3A18959&mode=design&t=2KWtprPqfstWkfBj-1
space between the top part items is 32px

Changed my mind, ahp and ahk looks bad. Lets put the kusamahub etc there but style the beta tag differently. Space between them 16px.

much better imho


save authorization and assigned event across restarts

when i update the plugin etc, rooms should stay connected

yeah this is something I plan to add - probably next week or so. Its also been annoying for me when the bot restarts during testing

auth is now being persisted. not the event -> room mappings tho

cool! reauthenticating is the most tedious part. now the mappings should not be much harder :)
personally i like to store data that belongs to the room directly in the room state. obviously that isn't an option for secrets such as the auth token.
have you looked into the DB api? https://docs.mau.fi/maubot/dev/database/index.html that might make it fairly easy to scale the required storage flexibly.

the auth is (essentially) global so that shouldnt be needed per-room. although it may need some changes if this is going to be used in an environment with multiple orgs hosting events with the same bot isntance
Room state defintely sounds like a useful place to store the room->event mapping - I didnt know that was a thing you could do (am relatively new to the inner workings of matrix)


Tab titles don't include  | Prisma

Tab titles don't show  | Prisma, but I think they should. If I favorite a Prisma docs page, I'd like to be able to find it easily by typing prisma into my browser's address bar, as opposed to trying to remember the specific title of the page I favorited.


fix(mssql): week time grain should respect datefirst setting

SUMMARY
In MS SQL Server specifying SET DATEFIRST has no effect on DATEDIFF. DATEDIFF always uses Sunday as the first day of the week to ensure the function operates in a deterministic way. This is not desirable for locales where weeks start on Monday. To get the first day of a calendar week for the current locale use DATEPART which does respect the DATEFIRST setting.
TEST PLAN

Create a test table in SQL Server (any version).

SELECT cast(d AS DATE) d, n
INTO p1w_test
FROM (VALUES
     ('2020-08-01',  1), ('2020-08-02',  2), ('2020-08-03',  3), ('2020-08-04',  4), ('2020-08-05',  5), ('2020-08-06',  6)
    ,('2020-08-07',  7), ('2020-08-08',  8), ('2020-08-09',  9), ('2020-08-10', 10), ('2020-08-11', 11), ('2020-08-12', 12)
    ,('2020-08-13', 13), ('2020-08-14', 14), ('2020-08-15', 15), ('2020-08-16', 16), ('2020-08-17', 17), ('2020-08-18', 18)
    ,('2020-08-19', 19), ('2020-08-20', 20), ('2020-08-21', 21), ('2020-08-22', 22), ('2020-08-23', 23), ('2020-08-24', 24)
) T(d, n)
;

Add p1w_test table as a source in Superset.
Explore the table, set "Time Column" to "d", "Time Grain" to "week". For the query pick SUM(n).
For North American locales (@@datefirst == 7) the resulting table should be

2020-07-26   1
2020-08-02  35
2020-08-09  84
2020-08-16 133
2020-08-23  47

For European locales (@@datefirst == 1) the resulting table should be

2020-07-27   3
2020-08-03  42
2020-08-10  91
2020-08-17 140
2020-08-24  24

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #10811 (a7e72a0) into master (1d76c59) will decrease coverage by 11.09%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master   #10811       +/-   ##
===========================================
- Coverage   65.40%   54.30%   -11.10%
===========================================
  Files         802      420      -382
  Lines       37817    14796    -23021
  Branches     3557     3812      +255
===========================================
- Hits        24733     8035    -16698
+ Misses      12978     6761     -6217
+ Partials      106        0      -106

Flag
Coverage Δ

cypress
54.30% <ø> (-1.53%)
:arrow_down:

javascript
?

python
?

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

Impacted Files
Coverage Δ

...uperset-frontend/src/dashboard/util/dnd-reorder.js
0.00% <0.00%> (-100.00%)
:arrow_down:

...rset-frontend/src/dashboard/util/getEmptyLayout.js
0.00% <0.00%> (-100.00%)
:arrow_down:

...et-frontend/src/components/Menu/LanguagePicker.tsx
0.00% <0.00%> (-100.00%)
:arrow_down:

...dashboard/components/resizable/ResizableHandle.jsx
0.00% <0.00%> (-100.00%)
:arrow_down:

.../src/dashboard/util/getFilterScopeFromNodesTree.js
0.00% <0.00%> (-93.48%)
:arrow_down:

...components/AdhocFilterEditPopoverSqlTabContent.jsx
7.14% <0.00%> (-92.86%)
:arrow_down:

...ponents/Select/WindowedSelect/WindowedMenuList.tsx
3.70% <0.00%> (-89.40%)
:arrow_down:

...src/dashboard/components/gridComponents/Header.jsx
10.52% <0.00%> (-86.85%)
:arrow_down:

...rc/dashboard/components/gridComponents/Divider.jsx
13.33% <0.00%> (-86.67%)
:arrow_down:

...ontend/src/dashboard/util/getDashboardFilterKey.ts
14.28% <0.00%> (-85.72%)
:arrow_down:

... and 785 more

Continue to review full report at Codecov.

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

Is there anything else I need to do to have my PR accepted?

@binome74 this looks good, but the tests have expired. Can you close and then just reopen this PR to retrigger all the test runs?

@binome74 I'm terribly sorry this PR got overlooked. I rebased it, fixed the conflict and will merge once CI passes. Thanks again so much for the contribution, looking forward to getting this in!


[BugFix] Fix parameter configuration issues when create db

When we use the Iceberg Hive Catalog, this piece of code causes many of our parameters to fail and result in errors.
For instance, in the convertToDatabase method of the class HiveCatalog, many meta parameters are used but cannot be passed through.
Database convertToDatabase(Namespace namespace, Map<String, String> meta) {   .......   meta.forEach(         (key, value) -> {           if (key.equals("comment")) {             database.setDescription(value);           } else if (key.equals("location")) {             database.setLocationUri(value);           } else if (key.equals(HMS_DB_OWNER)) {             database.setOwnerName(value);           } else if (key.equals(HMS_DB_OWNER_TYPE) && value != null) {             database.setOwnerType(PrincipalType.valueOf(value));           } else {             if (value != null) {               parameter.put(key, value);             }           }         }); }
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch
[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

@linfey90 Besides db location, what other properties do you need?

@linfey90 Besides db location, what other properties do you need?

For example, the owner name will be switched based on the upper-level user。


[main] generate typedoc

felt like the error message in the docs css file could be ignored

felt like the error message in the docs css file could be ignored

The documentation path it wrong, as these should be getting generated and dropped into the docs/webSdk folder, but they are in the docs/extensions


ORC-1553: Row grouping reads should be skipped when the statistics are written without any values for the SArg column

What changes were proposed in this pull request?
This PR aims to fix an issue where the column statistics were incorrectly evaluated in scenarios where no values were written, resulting in the inability to skip row groups.
Why are the changes needed?
The fix improves the evaluation logic of statistics, enabling the skipping of row groups that don't need to be read, thus enhancing performance.
How was this patch tested?
Unit tests have been added to validate the changes.

@neopaf Can you test if this pr works for your data?

cc @dongjoon-hyun @wgtmac

Do you still have concerns, @wgtmac ?

Let me merge this to be considered as a part of Apache ORC 1.9.x and 2.0.0. We can revert this if there is any issues during the release cycles~


Fixed a display bug occurring in Chrome

To reproduce open a sample page on chrome and scroll.
The UI won't update until you manually trigger a rerender.
Applying this fixed solved the problem.

I was actually surprised that I did get away without backface-visibility problems with this.
Anyway I tried reproduce this and could not see the issue, can you explain further and help me out with this?
That being said I will quite surely merge your PR, so it's just a matter of myself seeing this issue live. Thanks for the contribution.

I will provide one soon, thanks for merging. One bonus question: Why is the original project not in bower? This way it could be included here in the bower.json and the fix would have been done in the main project where it would belong.

I went for including it as a git submodule rather than a Bower dep as I was developing the css at the same time from both repos (mfb and ng-mfb) and submodules are the best way - at least for me - to have a two way data flow and keep everything is sync.
I could both pull changes from mfb to here and push from here to the mfb repo, instead of changing the css in the upstream repo and pull from here every time I needed I tweak.
In that sense my suggestion in the readme to edit the CSS code in the original repo is just for practical reasons for me and to keep Issues here only related to Angular, but any code implemented here can be easily transferred from here to Mfb with a simple push.
Now that the code is much more stable it probably makes sense to move it out to Bower, though.

I had the same problem developing the PR (using my original project as base). I found bower link was a really nice solution, behaves like you described the git submodules. just FYI ;)

I assume this PR can be closed?

Closed 1,5 years later due to inactivity


Send: When scanning a Wraith QR Code, only half the address is populated

Describe the bug
On the Send screen, when scanning a Wraith QR Code the app only populates half the address into the Recipient Address (it assumes a normal length non-wraith xvg address?)
To Reproduce
Steps to reproduce the behavior:

Go to the Send screen
Scan a Wraith QR Code (eg from QT Wallet)
Address populated is incomplete.

Expected behavior
Full length wraith address should be populated
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):

Device: iPad Mini
OS: iOS 12.1.1

Additional context
I'm assuming I am actually able to currently send to Wraith Addresses?

Fixed


Dioxus CLI create should generate mobile glue

Specific Demand
Our tooling today doesn't know how to generate the right glue for mobile, so users are really confused when they try to build for mobile and we don't give them a good onramp.
We should include mobile templates and some default glue code into the dioxus-mobile crate.
We should also be a bit more opinionated about the defaults for mobile so things like logging, panic handling, viewport manipulation, etc. are not hoops to jump through. Most folks just want to cargo run and get a simulator running based on their project configuration.
Implement Suggestion
Right now users have to use cargo mobile. This project is somewhat inactive and has been forked by the Tauri folks into Tauri mobile. I think we can just reuse that library in the CLI to allow generation of Dioxus mobile projects.

Hope it is not too much to ask, but deploying to web and mobile from a single codebase (even if an intermediate step like building an iOS / Android app is involved and one might need to adjust some generated gluecode) would be super awesome!
The Quasar framework offers just that (Javascript/Typescript framework based on Vue.js, can quite easily be deployed as single page application as well as a mobile application).

@jkelleyrtp Currently the documentation for mobile https://dioxuslabs.com/learn/0.5/reference/mobile does it even work? I tried for ios and end up running into  failed to run custom build command for objc_exception v0.1.2 . Do we have more step by step guide?

We now generate glue for iOS (very little required!) and have some minimal support for android.


Replaces hashtags with appropriate encoding characters for google 72

Google 72 broke the app from loading in certificates that have hashtags in them. https://www.chromestatus.com/features/5656049583390720

This ticket documents the affected issue for other apps as well: https://bugs.chromium.org/p/chromium/issues/detail?id=929083
Apparently, as of 3 hours ago, they plan on releasing a new version of chrome 72 to "resolve" the problem when loading in through the webview, by replacing # with %23 theirselves, but per spec, we should be encoding the entire html anyways (https://developer.android.com/reference/android/webkit/WebView#loadData(java.lang.String, java.lang.String, java.lang.String))

part of pr #34


Spark demo

Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)
[ ] Code refactor (Modify the code structure, format the code, etc...)
[ ] Optimization. Including functional usability improvements and performance improvements.
[ ] Dependency. Such as changes related to third-party components.
[ ] Other.

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have created an issue on (Fix #ISSUE) and described the bug/feature there in detail
[ ] Compiling and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If these changes need document changes, I have updated the document
[ ] Any dependent changes have been merged

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

This demo includes reading hdfs files and writing doris through streaming load、 reading kafka message queues and writing doris through streaming load  and reading doris tables through spark doris connector to build  DataFrame dataset.


Multitap Functionality

Hi,
First, I love keyd. Thank you.
I was wondering if there's any chance of implementing something like Tap Dance in keyd.
I read through the man page and didn't see anything about multitaps, but would love to be proven wrong. I imagine I could cobble something together with a bunch of different layers and timeouts, but I thought I would check here first.

You can often implement something like tap-dance by juggling oneshots or oneshotms. For example:
[main]
. = oneshotm(tap1, .)

[tap1]
. = oneshotm(tap2, macro(backspace :))

[tap2]
. = macro(backspace …)

Would that cover your use case?
I think dedicated functionality has been discussed before (I will pull up the issues later). There may be a case to be made for them again, because the above method does have some drawbacks imo (especially with the abolishment of layer types in 2.3.0).


Add Quick Action of resupplying all storehouses

Resupply all storehouses with __ $FISH/__$WHEAT

add into quick actions

add blocks into a 'food' section in empire


Can you provide an official release for 3.4.2?

Right now, the latest release is 3.2.3.

+1

Yes without any problem, but i can't do this before monday because I don't have any computer right now.

It's done !
3.4.2 was done on npm, but I totally forgot about GitHub.
Mybad :)

It's done !
3.4.2 was done on npm, but I totally forgot about GitHub.
Mybad :)

No problem.
It is mainly for other colleagues if they want to verified that we are allowed to use it or not.


Updating the statuscodes docs to include the #

I was having issues deducing the numeric code return in the header grpc-status for a grpc-web proxy. Adding the numeric codes here for easier access.

Please sign the CLA

Contributor hasn't signed the CLA, closing.


The plugin is not gitolite friendly

Hi, thanks for awesome plugin!
Unfortunately, it's impossible to use it with default gitolite installation.
Gitolite url: gitolite@my.awesome.site:repo is not parsed correctly because of username gitolite@:
caddy[7380]: 2016/04/12 08:08:38 invalid git url gitolite@4sli.ru:reponame

I think it caused by this code (git@ username is hardcoded)
When url is replaced with<EMAIL_ADDRESS>then error is disappeared.
But it's still impossible to clone repo, because there are no git user on the server.

I think this is related to https://github.com/abiosoft/caddy-git/issues/30.
As this is coming up now, I should have time during the weekend to make the urls more flexible.

Oh, sorry, I was sure #30 is for non-standard port. I think we could close this one.

This is supported now. You can build from source or wait for it to arrive on caddysever.com.

Great job, thanks a lot!


cmd/objdump: TestDisasmExtld fails with "no runtime.symtab symbol found" on AIX

On the aix-ppc64 builder:
--- FAIL: TestDisasmExtld (2.79s)
    objdump_test.go:157: Running [/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/bin/go build -o /ramdisk8GB/workdir-host-aix-ppc64-osuosl/tmp/TestObjDump382551457/hello-b8671a8435298d43c67d864e10c70b6b.exe -ldflags=-linkmode=external fmthello.go]
    objdump_test.go:210: Running [/ramdisk8GB/workdir-host-aix-ppc64-osuosl/tmp/TestObjDump382551457/testobjdump.exe -s main.main /ramdisk8GB/workdir-host-aix-ppc64-osuosl/tmp/TestObjDump382551457/hello-b8671a8435298d43c67d864e10c70b6b.exe]
    objdump_test.go:214: objdump "fmthello.exe": exit status 1
        objdump: disassemble /ramdisk8GB/workdir-host-aix-ppc64-osuosl/tmp/TestObjDump382551457/hello-b8671a8435298d43c67d864e10c70b6b.exe: no runtime.symtab symbol found
FAIL
FAIL	cmd/objdump	4.421s

(Source: https://build.golang.org/log/ba1d49d26254c0260ab1e229800f45ad6768ee55.)
This looks related to #40972, CL 262779, and CL 263137.
CC @cherrymui @Helflym.

Thanks. In CL 263137 I refactored the skipping logic. The old code skips TestDisasmExtld  for PPC64, with a comment that it doesn't support external linking. I replaced it with MustHaveCGO (which covers external linking). But on AIX/PPC64, which does support cgo and external linking, the test needs to be skipped for a different reason. I'll update.


Discussion: Is it better to remove OS from the cache key?

Description:
This PR is for discussion about the RUNNER_OS in the cache key.
I found an opinion at Twitter: it's needless because Java's package are portable, and I agree with it.
In my understanding, the Maven repository provides no feature to serve different files to different OSs.
I prepared necessary changes to hold discussion with you. How do you think about this change?
It may make the build efficient in some case, especially when we run builds on multiple OSs in serial.
Related issue:

#213
#215

Check list:

[x] Mark if documentation changes are required; This PR requires updates in the change from #215
[x] Mark if tests were added or updated to cover the changes.

This PR is stale for months, and there is no more discussions on this topic so I will close this PR. Thanks all for your help! :)


fix(elements|ino-fab): ensure creation of tooltip after fab loaded

Closes #155
Proposed Changes

Wait for ino-fab to finish loading
Create and append ino-tooltip element afterward

Did you ensure that the documentation remains the same as before? I thought the dynamic rendering changed the mermaid dependency graph.

You are right, I forgot to commit the mermaid graph changes.


[TRIVIAL] Adds fragment test data, implements #1090

Overview
Fixes #1090
Pull request checklist

[ ] I have read the contributing guide.
[ ] I have agreed to the Contributor License Agreement.
[ ] I have updated the documentation.
[ ] I have resolved any merge conflicts.
[ ] I have included tests that cover my changes.
[ ] All new and existing tests pass.

Code review checklist
This is the checklist that the reviewer will follow while reviewing your pull request. You do not need to do anything with this checklist, but be aware of what the reviewer will be looking for.

[ ] Ensure that any changes to external docs have been included in this pull request.
[ ] If the changes require that minor/major versions need to be updated, tag the PR appropriately.
[ ] Ensure the new code is properly commented and follows Idiomatic Go.
[ ] Check that tests have been written and that they cover the new functionality.
[ ] Run tests and ensure they pass.
[ ] Build and run the code, performing any applicable integration testing.

@travisturner I've added a comment about how to create the sample fragment.


Policy changes on every plan

Description
Every time I plan with this module, the policy block has pending changes. I apply them, and then the next plan, still has changes pending.
I've tried removing the policy and creating it again. Still, pending changes.

[ x] ✋ I have searched the open/closed issues and my issue is not listed.

Versions

Module version [Required]: 1.6.0

Terraform version: v1.7.3

Provider version(s): + provider registry.terraform.io/hashicorp/aws v5.38.0

Reproduction Code [Required]

module "gsal_proxy" {
  source = "terraform-aws-modules/ecr/aws"
  version = "1.6.0"

  repository_name = "gs/al-proxy"

  repository_read_write_access_arns = var.read_write_arns
  repository_read_access_arns       = var.read_only_arns
  create_lifecycle_policy           = false
}

vars:
  "read_only_arns": [
    "arn:aws-us-gov:iam::xxx:role/prd-1-20231005055232381500000001",
    "arn:aws-us-gov:sts::xxx:assumed-role/prd-1-20231005055232381500000001/i-zzz",
    "arn:aws-us-gov:sts::xxx:assumed-role/prd-1-20231206195128453200000003/i-zzz",
    "arn:aws-us-gov:sts::xxx:assumed-role/test-1-20231015185902248100000003/i-zzz",
    "arn:aws-us-gov:iam::xxx:role/dev-01-1-20230526030206003600000002",
    "arn:aws-us-gov:sts::xxx:assumed-role/stg-01-1-20231102031159343200000001/i-zzz",
    "arn:aws-us-gov:iam::xxx:assumed-role/stg-01-1-20231122212759304500000001/i-zzz"
  ],
  "read_write_arns": [
    "arn:aws-us-gov:iam::xxx:role/gitlab_runner_role"
  ]

Expected behavior
After applying this, a plan results in 0 changes detected.
Actual behavior
After applying, a subsequent plan results in changes It seems like it just wants to re-order them, removing and adding the same entries:
 # module.gsal.proxy.aws_ecr_repository_policy.this[0] will be updated in-place
  ~ resource "aws_ecr_repository_policy" "this" {
        id          = "gs/al-proxy"
      ~ policy      = jsonencode(
          ~ {
              ~ Statement = [
                  ~ {
                      ~ Principal = {
                          ~ AWS = [
                              - "arn:aws-us-gov:iam::xxx:role/dev-01-1-20230526030206003600000002",
                              + "arn:aws-us-gov:sts::xxx:assumed-role/test-01-test-1-20231015185902248100000003/i-zzz",
                              + "arn:aws-us-gov:sts::xxx:assumed-role/prd-1-20231005055232381500000001/i-zzz",
                              + "arn:aws-us-gov:sts::xxx:assumed-role/prd-1-20231206195128453200000003/i-zzz",
                                "arn:aws-us-gov:sts::xxx:assumed-role/stg-01-1-20231102031159343200000001/i-zzz",
                                "arn:aws-us-gov:iam::xxx:role/prd-1-20231005055232381500000001",
                              - "arn:aws-us-gov:sts::xxx:assumed-role/prd-1-20231206195128453200000003/i-zzz",
                              - "arn:aws-us-gov:sts::xxx:assumed-role/prd-1-20231005055232381500000001/i-zzz",
                              + "arn:aws-us-gov:iam::xxx:role/dev-01-20230526030206003600000002",
                                "arn:aws-us-gov:iam::xxx:role/gitlab_runner_role",
                              - "arn:aws-us-gov:sts::xxx:assumed-role/test-01-test-1-20231015185902248100000003/i-zzz",
                              - "arn:aws-us-gov:sts::xxx:assumed-role/stg-01-1-20231122212759304500000001/i-zzz",
                              + "arn:aws-us-gov:iam::xxx:assumed-role/stg-01-1-20231122212759304500000001/i-zzz",
                            ]
                        }
                        # (3 unchanged attributes hidden)
                    },
                    {
                        Action    = [
                            "ecr:UploadLayerPart",
                            "ecr:PutImage",
                            "ecr:InitiateLayerUpload",
                            "ecr:CompleteLayerUpload",
                        ]
                        Effect    = "Allow"
                        Principal = {
                            AWS = "arn:aws-us-gov:iam::xxx:role/gitlab_runner_role"
                        }
                        Sid       = "ReadWrite"
                    },
                ]
                # (1 unchanged attribute hidden)
            }
        )
        # (2 unchanged attributes hidden)
    }

Plan: 0 to add, 2 to change, 0 to destroy.

This looks like an issue in the Terraform AWS provider - https://github.com/hashicorp/terraform-provider-aws/issues/22274 . I am unsure why it was closed and whether it was fixed. Please follow up in that repository since there is nothing we can do in this module.

Thanks @antonbabenko -- sorry for the incorrect issue here


Cannot have Touchables within renderItem

Describe the bug
With version 2.2.0 -- I cannot have a nested Touchable within my renderItem prop, since there is a wrapper TapGestureHandler that is always present on the child.
However, it looks like you have already fixed this on master (forked to confirm). Do you have a timetable for releasing the new version?
Thanks! This is a great library @computerjazz.

Thanks for testing out the changes!
I'd like to get a few more people to test before I release, but I haven't run into any issues so far, so likely soon.
Closing as this issue is thoroughly discussed in #120


116 add message handler for resource update messages

Closes #116

One comment first: We don't increase the version in every branch if we don't want to release it. Then we have 1000 SNAPSHOT versions in the dev and only every 10th one is released. The query parameter and ResourceUpdate are now treated as one feature (4.1.0-SNAPSHOT) because the merges were crossing, but normally I would see related commits as one feature as a unique version number that we release afterwards.


Required strings are nullable

Hello,
when marking string type attributes as "required", they are "nullable":
[Required]
public string Category { get; set; }

[Required]
public string Id { get; set; }

How am I able to avoid this?
Thank you in advance,
Daniel

Which version of SB. This should be resolved from as of v5.1.0

We just updated from 5.0.0 to 5.1.0 before.

You're correct this isn't working 5.1.0 and it should be - bumping up the priority to get it fixed ASAP

Fixed by 032ff572e46734cefdbbd487ffb2634c8cedb1fd

Until 5.2.0 comes out, I've made a document filter to work around this.
https://github.com/TimothyByrd/swashbuckle_stuff


Updated the timing of rollout to match reality

Two changes in this PR:

Updated the timing in the tables
Moved the more common case (Devices not yet in use) to the top

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks


Curious if there's a way to use GGUF models?

This is a really great project, and I've had a lot of fun playing with this using schnell on my m1. I'm curious about other flux-derived models, in particular, Shuttle 3 Diffusion. Is there a way that quantized GGUF models can be converted to run a little faster on Apple Silicon using the mflux library?

Thank you! Currently, the only supported models and formats are the diffusers version of flux schnell and dev or the ones saved from this project. But we have an open PR from @anthonywu which I'm planing on including in the next release, and it looks like that one works with shuttle-3-diffusion among others. As for GGUF format support, that would be a nice feature to support, but probably something that won't be prioritised for a while.


Connect to SQLite3

In v7 of the program, functionality to create the SQLite3 Database, Open a connection, add DataFrames as an individual Table, and Close the connection are added.


Detecting Issues in a Text Dataset with Datalab

What does this PR do?
This notebook is about detecting issues in a text dataset using Data-centric AI using Opensource package Cleanlab. It uses Datalab object from Cleanlab package.
List of out comes from the notebook:

Compute out-of-sample predicted probabilities for a sample dataset using cross-validation.

Use Datalab to identify issues such as noisy labels, outliers, (near) duplicates, and other types of problems

View the issue summaries and other information about our sample dataset

@MKhalusova appreciate your review.

Awesome tutorial, @ aravindputrevu!
I left some comments. My main feedback:

let's include the informative outputs (where you print things out, where you show the reports, etc.)
consider adding an alternative way of loading data - the same dataset is available on Hugging Face Hub, and this can be a great option for larger datasets.
At the end of the tutorial, it would be cool to show how to integrate the results back into the dataset.

Also, please add yourself as an author, right after the main title, like this: Authored by: Your Name  Feel free to use either your Hugging Face profile, or GitHub profile, it's up to you which one to link.

@MKhalusova Thanks for the review, I will be working on the comments.

@MKhalusova I have fixed the review comments, and responded on the other questions. Please let me know.

A few finishing touches, and the notebook will be good to merge!

@MKhalusova Made requested changes and corrected, few other items. Please review.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

I fixed some missing columns, and we can merge now. Will share the new recipe tomorrow!


fix: plugins document index

What this PR does / why we need it:
This PR fix plugins documentation index docs/plugins/fluentbit/index.md
Which issue(s) this PR fixes:

Fixes #
Does this PR introduced a user-facing change?

None

Additional documentation, usage docs, etc.:

@sakateka Thank you!