Support for extended text descriptions syntax (pro-only)

As seen in the documentation, you can create extended text descriptions by having your text indented relative to the sequence script:
  This is the extended text description

A->: This is regular syntax

Implementing support for this syntax will involve a several challenges:

Getting correct indentation while editing. This is probably the simplest thing to implement support for.
Getting correct indentation if/when a user asks to reflow/reindent a whole document.
Should this blocks have a particular kind of fontification? If so, fontification has to be aware of the current "proper" indentation level of each line.

Implementing full support for this feature is not a priority for several reasons:

Implementing support for 1 is probably doable, but will most likely introduce annoying bugs until 2 is fully supported too.
Implementing support for 3 will require an entire new kind of code-base for fontification and will most likely affect performance too.

CC: @dlasko

Testing out this feature shows that "here be dragons".
Basically anything with a text-indent more than one space is considered a extended text description (ETD), unless recognized as normal WSD-syntax.
While this at first makes it seem easier to fully support, it comes with a few gotchas:

Every character after the initial space is considered part of the ETD.
Consecutive lines without a paragraph break is considered a paragragph.

This means that ETDs indented at the same level as other markup will look funny.
Consider the following script:

title Demo document

opt Indetation and EDT
    alt EDTs gets indented deep

         Bob talks to Alice.
         Alice suggest coffee.

        Bob->Alice: Hey!

    end
end

Which will render like this:

That's obviously no good.
To support this feature properly, wsd-mode will need to pre-process such text-blocks before sending them to the WSD website. An alternate approach to this particular issue is submitting a bug-report to the WSD website itself.

A bug-report has been filed on this particular issue. Work on this issue may resume later based on the outcome.

Bug-report has been received and fixed on the wsd website.
This means a solution can be drafted for wsd-mode.


alover007

Addon Manifest URL
ex. Http://addon.server.com/manifest.json
Addon Description
No response
Language of Content
Arabic (ar-SA)
Choose Labels

[X] anime
[X] asian drama
[ ] bollywood
[X] cartoons
[X] debrid support
[X] http streams
[X] live tv
[X] metadata
[ ] misc
[X] movies
[ ] music
[X] nsfw
[X] podcasts
[ ] radios
[X] subtitles
[X] torrents
[ ] tv shows
[X] video games

i don't know what this is, but it's not an addon, closing it


Resize mouse cursor not showing on Internet Explorer 11

The Resize cursor is not showing on Internet Explorer 11, even in your examples at:
http://www.dreamchain.com/split-pane/
The mouse cursor just disappears.

Fixed in 0.6.1.


Connection Status

I have found this issue:
When I open the Fenix2GSX.exe it does not connect with the sim only the first (MSFS) is green, the oders stay in red and at the Log Messages it says: Exception recived: (Exception 31)
I have followed all the instalation steps.

same here

@peteauau
If you could tell what exactly you mean with "module", then it might BrunchFS too 😃
@BrunchFS
And you run everything (Fenix2GSX, MSFS, Fenix, GSX) under the same User / Elevation? Tried rebooting the Computer (after .NET was installed)?
If you know where the Logs end even looked into them, you could also share them 😉

I  downloaded  the  mobilflight-wasm-module-0.7.0 which  was  the  wrong  one

Oh... thanks for your contributions, did not really know that there is a new Version of the MobiFlight WASM Module.
On the first Glance only a new Command was added, so it should theoretically work - I'll have to investigate that!

Possibly User-Error due to the confusing source-only Release of Version 0.7.0
No Issues seen with 0.7.1 (which is the latest compiled Release)


[SPARK-34253][SQL] Object hash aggregate should not fallback if no more input rows

What changes were proposed in this pull request?

Object hash aggregate will fallback to sort-based aggregation based on number of keys seen so far 0. The default config threshold is 128 (spark.sql.objectHashAggregate.sortBased.fallbackThreshold in 1). There's an edge case we can do better, where we do not fallback if there's no more input rows. Suppose the task only has 128 group-by keys in hash ma, we don't need to fallback in this case, and we can save the extra sort. This is an rare edge case in production, but it can happen.
Why are the changes needed?

To avoid unnecessary sort in query. Save resource.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Add a unit test to verify task fallback or not is challenging. Given the change is pretty minor, besides relying on existing test in ObjectHashAggregateSuite.scala, I manually ran the followed query, and verified in debug mode that the code path for fallback was not executed. And verified the code path for fallback was executed without this change.
withSQLConf(
  SQLConf.USE_OBJECT_HASH_AGG.key -> "true",
  SQLConf.OBJECT_AGG_SORT_BASED_FALLBACK_THRESHOLD.key -> "1") {
  Seq.fill(1)(Tuple1(Array.empty[Int]))
    .toDF("c0")
    .groupBy(lit(1))
    .agg(typed_count($"c0"), max($"c0")).collect()
}

cc @cloud-fan could you help take a look? Thanks.

cc @cloud-fan could you help take a look? Thanks.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134528/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39112/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39112/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134528/

cc @maropu, thanks.

cc @maropu, thanks.

...based on number of keys seen so far 0.

btw, '0' above is just a typo?

...based on number of keys seen so far 0.

btw, '0' above is just a typo?

thanks, merging to master!

thanks, merging to master!

btw, '0' above is just a typo?

@maropu - It was meant to be a link, I was typing [0] to give a reference link. Sorry for confusion.

btw, '0' above is just a typo?

@maropu - It was meant to be a link, I was typing [0] to give a reference link. Sorry for confusion.

Thank you @maropu and @cloud-fan for review!

Thank you @maropu and @cloud-fan for review!


Fix align_module_device, ensure only cpu tensors for get_state_dict_offloaded_model

Background

Previous PR #3204 introduce an unintended behavior change where a module being aligned would also attempt to align parameters belonging to its submodules. This is a problem for functions like get_state_dict_offloaded_model which calls align_module_device on non-leaf modules.

tests/test_modeling_utils.py:808
    state_dict = get_state_dict_offloaded_model(model)
src/accelerate/utils/modeling.py:1532: in get_state_dict_offloaded_model
    with align_module_device(module, "cpu"):
/usr/lib/python3.10/contextlib.py:135: in __enter__
    return next(self.gen)
src/accelerate/utils/modeling.py:1929: in align_module_device
    set_module_tensor_to_device(module, name, execution_device)
ValueError: weight is on the meta device, we need a `value` to put in on cpu.

Purpose

Fix align_module_device bug where the function attempts to align meta tensors belonging to submodule parameters
Fix get_state_dict_offloaded_model(model) behavior to match model.state_dict()
Introduce tests for get_state_dict_offloaded_model

Changes

align_module_device now only aligns parameters directly attached to the parent
Move all tensors in module state dict to cpu before returning, including both parameters and buffers
Add usage tests for get_state_dict_offloaded_model

Testing

Added tests fail without changes, but pass with changes
Use below script to test end-to-end

test_e2e.py
from transformers import AutoModelForCausalLM
from accelerate import cpu_offload
from accelerate.utils.modeling import get_state_dict_offloaded_model

model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-1B-Instruct")
cpu_offload(model)

state_dict = get_state_dict_offloaded_model(model)

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.


Strange bug if add detectionSpeed: DetectionSpeed.noDuplicates then it works only once if user skip or miss it will not detect again

issue is how to do as onDetect provide 3 times call and still not sure how many times it will call so issue is how to pop screen or push as it will call multiple times.
Eager to know any solution

I just add this lines to restart scan
ElevatedButton(
                      onPressed: () async {
                        try {
                          await cameraController.stop();
                          try {
                            await cameraController.start();
                          } catch (e) {
                            debugPrint('Error: $e');
                          }
                        } catch (e) {
                          debugPrint('Error: $e');
                        }
                      },
                      child: Text(
                        'SCAN QR CODE',
                        style: TextStyle(
                          fontSize: 16.sp,
                        ),
                      ),
                    ),


ECR images lag behind

I can see ff89 here
https://hub.docker.com/layers/cypress/browsers/node14.17.0-chrome88-ff89/images/sha256-c0f111b930b08fb7bb1563183c757e1fe3cde4d96e5867ccccebc782cb009a8d?context=explore
but not here
https://gallery.ecr.aws/cypress-io/cypress/browsers
Same for included - there is no 7.5.0 here
https://gallery.ecr.aws/cypress-io/cypress/included
Documentation states that
The Cypress team has published it's Docker Images for running Cypress locally and in CI in the Amazon ECR Public Gallery.

I think this does not represent reality. Either images in ECR should be kept in sync or this should be removed from documentation, since it sends the wrong message, when people expect latest versions available in ECR, but they are not present

@chrisbreiding @flotwig Can you please update the images?

Seems to be some issue with the ECR publishing. I'll get this prioritized.

Would love to see this fixed soon, we're using ECR Public pretty heavily at TableCheck. Thanks for your hard work as always! 😄

Could someone update the images? Thanks a lot! 💙

It'd also be great if you could get 'verified account' status on ECR. I didn't even realize there were official images published to ECR until I stumbled across this thread on GitHub.
Right now cypress-io is nowhere near the top of the search results for "cypress" :|
https://gallery.ecr.aws/?searchTerm=cypress

@flotwig any update on this? :-)

@tmarcinkowski-logitech we are working on getting ECR images updated, and I will update this issue as it progresses.

We have resumed publishing images to ECR and will be backfilling some images that are missing. The latest included/9.5.1 image is there now: https://gallery.ecr.aws/cypress-io/cypress/included as well as our latest base/16.14.0-slim image

@admah Will you be updating the browsers images too? Still says the latest is 7 months old, and browers is the most downloaded of all of them.
https://gallery.ecr.aws/cypress-io/cypress/browsers

@admah Can you please also push the cypress/base 16.14.0 image?

@danielbayerlein I pushed a new slim version of base/16.14.0 a couple of weeks ago as mentioned in my comment above: public.ecr.aws/cypress-io/cypress/base:16.14.0-slim
Does that work or does the old base/16.14.0 image need to also be pushed up?

@danielbayerlein it is supported and on DockerHub, just not currently on ECR. By "old", I just meant it's an image created before the optimizations that we just put in.

@admah Thanks for the explanation. It would be great if the "base/16.14.0" image could also be published on ECR.

Probably needleses to say, but it would be nice if any (or all, guessing it is automatized in away) the browser images with support for node 16: browsers:node16.14.0-slim-chrome99-ff97.

Any update on this?

@h2oearth all new images are publishing to ECR. I’ve published some older ones as well. Do you have a specific one that you’re looking for?

@admah Awsome! Could you please add cypress-io/cypress/base:14.18.2 . Our CI/CD pipelines are blocked without it.! Thx a lot!

@admah any chance to push cypress-io/cypress/base:14.18.2 this week?

Closing this as the ECR pipeline has been restored and images are being published appropriately.


Update EndeavourOS support

Switches the dracut command and also adds command for systems running mkinitcpio.
If mkinitcpio isn't needed, I can revise this to only switch the dracut command.

From my experience using vanilla Arch Linux (no dracut) rebuilding the ramdisk with mkinitcpio is not needed.
Also is dracut-rebuild an EOS specific command/alias?

From my experience using vanilla Arch Linux (no dracut) rebuilding the ramdisk with mkinitcpio is not needed.

Updated.

Also is dracut-rebuild an EOS specific command/alias?

Yes.  It is.  It ensures the initrams are put in the correct locations which varies depending on which bootloader you are using.

https://github.com/bayasdev/envycontrol/issues/170


Auto join jobs feature doesn't work

*Detailed description of the issue:
Auto join jobs feature doesn't work. After experiencing the issue on my live server, I've set up a testing server - new, clean Paper instance with just Jobs, CMILib and LuckPerms installed.
I've enabled AutoJobJoin in the config and given the default rank permission jobs.autojoin.explorer. Then I removed OP from myself, stopped the server, and deleted Jobs' SQLite file and other user cache files from the server. I started the server back and didn't get the Explorer job. This also applies to the other jobs, as I have tested.

Jobs version:
<IP_ADDRESS>
Server Type (Spigot/Paper/etc):
Paper
Server Version (using /ver):
This server is running Paper version git-Paper-307 (MC: 1.19.2) (Implementing API version 1.19.2-R0.1-SNAPSHOT) (Git: 476ef25)

As of testing, there seems to not be an issue with auto join feature. Make sure that player actually has this permission node when timer runs out

After further testing, I think I found where the problem lies.
It's an issue with the max-jobs. Setting it to 0 should disable the maximum amount of jobs a player can join, according to the information in the config.
This hoverer breaks the auto-join feature. When I set this to a positive number, auto-join worked.

Tested on the latest Jobs version - <IP_ADDRESS>.

give it permissions if you want everyone have all jobs
    - jobs.autojoin.farmer
    - jobs.autojoin.digger
    - jobs.autojoin.weaponsmith
    - jobs.autojoin.explorer
    - jobs.autojoin.brewer
    - jobs.autojoin.fisherman
    - jobs.autojoin.woodcutter
    - jobs.autojoin.hunter
    - jobs.autojoin.crafter
    - jobs.autojoin.builder
    - jobs.autojoin.miner
    - jobs.autojoin.enchanter
    - jobs.use
    - jobs.world.world
    - jobs.world.world_nether
    - jobs.world_world_the_end
    - jobs.max.12
    ```

Well if you have set max jobs to a number which will be lower than amount of players jobs, then well, it will do what it should do, simply not auto join job. Don't know if we should consider overriding jobs amount limitations on autojoin. Closing ticket for now.


Control panel not showing controls on initial load for custom plugins

Workaround seems to be to change either the datasource/dataset or the viz type. However, on initial load, the controls are missing. The reason it says "Empty Query?" is because it tries to query the backend because the validator constraints for all the controls are not in play as the controls are not rendered.
How to reproduce the bug

Point to a plugin in Settings -> Plugins
Initiate creating a new chart via Charts -> + Chart
See error

Expected results
Expect control panel to load normally.
Actual results
Control panel missing controls. They reappear only after changing datasource or viz type (does not matter from which to which).
Screenshots
Above.
Environment
(please complete the following information):

browser type and version: Chromium 95
superset version: 1.3.2
python version: 3.7.3
any feature flags active:

FEATURE_FLAGS ={
    "DYNAMIC_PLUGINS": True,
    "ROW_LEVEL_SECURITY": True,
    "VERSIONED_EXPORT": True,
    "THUMBNAILS": True,
    "THUMBNAILS_SQLA_LISTENERS": True,
    "LISTVIEWS_DEFAULT_CARD_VIEW": False,
    "ALERT_REPORTS": True,
}

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Hi Guys,
I've reproduced the issue on 2.0.1,
It seems that the plugin is called before it finished initialisation.
Looking into the code of superset-frontend/./src/explore/components/ExploreViewContainer/index.jsx,
it looks as we try to triggerQuery on a component that did not complete loading,
The following fix works, but needs to be checked for side effects.

*** 387,393 ****
control =>
control.validationErrors && control.validationErrors.length > 0,
);
!     if (!hasError) {
props.actions.triggerQuery(true, props.chart.id);
}
}, []);
--- 390,396 ----
control =>
control.validationErrors && control.validationErrors.length > 0,
);
!     if (!hasError && !isDynamicPluginLoading ) { // If we have a Dynamic plug in, make sure it finished loading
props.actions.triggerQuery(true, props.chart.id);
}
}, []);

Hello @krsnik93 thanks for reporting this. As this issue has been stale for a while I'll be closing it. Feel free to re-open it if you are still experiencing this problem in recent versions of Superset.


Export the Argument type for external usage

I need to make a wrapper function for cn()

@hckhanh Great idea!
Could you change Argument to ClassName before we make it public? I'll gladly merge your PR then.
Cheers!

Hi @alexnault, I changed it to ClassName


Razor Views in class libraries do not have editor context awareness

I have a modular ASP.NET project where some class libraries contain Razor Views that are fed using the EmbeddedFileProvider. Long story short, here's what I am facing in those views:

"ViewData does not exists in the current context". Same goes for @model, etc. Everything compiles and runs fine, mind you.
I found a previous issue here mentioning the Razor Tooling, but I am using VS 2017.
Any ideas? Thanks

Working on fixing this guy now actually. Follow https://github.com/aspnet/Razor/issues/1136 for its completion 😄


Update tutorial links and location

Updated contributor tutorial location to developer tutorials, and fixed some broken links.

Thanks, the link checking GitHub actions is playing crazy at the moment so I'm gonna merge anyways...


Update goreleaser command in test CI and enable --single-target

Replace --rm-dist by --clean in goreleaser command in Test CI as it's deprecated.
Use build command with --single-target for Windows and Mac runners to only build one executable for their platform, keeping Ubuntu runner to build everything for platform coverage

Testing:
Reference GHA job: https://github.com/Techming/pelican/actions/runs/6485485842 See "Run GoReleaser for Non-Ubuntu" or "Run GoReleaser for Ubuntu" step log for details.

Visually confirmed that the deprecated warning sign disappeared with this PR
Visually confirmed that Mac OS and Windows runners will only build one artifact while Ubuntu runner will build all.

LGTM!

Thanks! Will merge it then.


Update generalize.md

I am working as an Azure Cloud Engineer in Microsoft. While reviewing this document, I observed multiple "and" in the Note section. Hence updated it.

Looks good @Ekta-Microsoft. I've made one minor edit. I'll merge shortly.


Arsenal, Logistic, Permission codework finishing

Q
A

Bug fix?
yes

New feature?
no

Needs wipe?
no

Fixed issues
#588

Description:
This PR provides the finished codework on the mentioned modules.
Content:

[x] Arsenal module finishing
[x] Logistic module finishing
[x] Permission module finishing
[x] Cratefiller module finishing
[x] Cratefiller additions

[x] Search bar for weapons
[x] Cratefiller tools display
[x] replace all buttons with a new ListNBox

Successfully tested on:

[x] Local MP
[x] Dedicated MP

Compatibility checked with:

[x] ACE

Hello, what date could be the final version ?, Thanks!

Ready for a final test @KillahPotatoes/kplib-testers !
Especially the permissions need a check in dedicated environment.

Tested it on dedicated environment, should work as expected.


[1.2.0] type for render prop in figma.boolean is incorrectly inferred as {}

Given a figma connect configuration where figma.boolean is returning a function in one branch, e.g.:
import figma from '@figma/code-connect';

import { MyComponent } from './MyComponent.js';

figma.connect(MyComponent, 'https://www.figma.com/', {
  props: {
    render: figma.boolean('has a render prop', {
      true: (props: any) => <span {...props}>a render prop</span>,
      false: undefined,
    }),
  },
  example: (props) => <MyComponent render={props.render} />,
});

The type of props.render is {} which results in a type error:
  Type '{}' is not assignable to type '(props: unknown) => ReactNode'.
    Type '{}' provides no match for the signature '(props: unknown): ReactNode'.

In 1.1.4 the type was correctly inferred so this seems to be a regression.

Hi @tomduncalf-figma any update on this? It's still blocking upgrading past 1.1.4

I see a note in the release notes for 1.2.4:

(from 1.2.3) Fix issue with nesting figma.boolean and getProps

Unfortunately it doesn't seem to fix this issue

Hi @andrew-pledge-io, that fix was for an unrelated issue, however in the upcoming release (1.2.5) this type issue should be fixed. 1.2.5 will be released sometime after the holidays.


Added README chapter regarding authentication

Added README chapter regarding authentication of deployment to Heroku platform with API key as environment variable.

Closing due to plugin being sunset.


archetype access not updated on all systems (Result::unwrap() on an Err value: CannotReadArchetype)

In the example i try to access a component by entity, but it fails as the archetype_access for the system is not updated after the spawning of the entity with (A,C)
use bevy::prelude::*;

fn main() {
    App::build()
        .add_default_plugins()
        .add_startup_system(startup_system.system())
        .add_system(normal_system.system())
        .run();
}

fn startup_system(mut commands: Commands) {
    commands.spawn((B(None),));
}

#[derive(Debug)]
struct A;
struct B(Option<Entity>);
struct C;

fn normal_system(mut commands: Commands, a: Query<&mut A>, mut b: Query<&mut B>) {
    for mut b in &mut b.iter() {
        match b.0 {
            Some(entity) => {
                dbg!(a.get::<A>(entity)).unwrap();
            }
            None => {
                let new = commands.spawn((A, C)).current_entity().unwrap();
                b.0 = Some(new);
            }
        }
    }
}

output
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: CannotReadArchetype', examples/ecs/startup_system.rs:27:42

Something like this fixes it, but im not sure if this is the right solution. (should probably be fixed in parralel_executor). It you could give me some pointers i would love to make a PR.
diff --git a/crates/bevy_ecs/src/system/into_system.rs b/crates/bevy_ecs/src/system/into_system.rs
index 96a4cff4..8cc1e001 100644
--- a/crates/bevy_ecs/src/system/into_system.rs
+++ b/crates/bevy_ecs/src/system/into_system.rs
@@ -4,7 +4,7 @@ use crate::{
     resource::{FetchResource, ResourceQuery, Resources, UnsafeClone},
     system::{ArchetypeAccess, Commands, System, SystemId, ThreadLocalExecution},
 };
-use bevy_hecs::{Fetch, Query as HecsQuery, World};
+use bevy_hecs::{ArchetypesGeneration, Fetch, Query as HecsQuery, World};
 use std::borrow::Cow;

 pub(crate) struct SystemFn<State, F, ThreadLocalF, Init, SetArchetypeAccess>
@@ -25,6 +25,7 @@ where
     pub id: SystemId,
     pub archetype_access: ArchetypeAccess,
     pub set_archetype_access: SetArchetypeAccess,
+    last_archetypes_generation: ArchetypesGeneration,
 }

 impl<State, F, ThreadLocalF, Init, SetArchetypeAccess> System
@@ -58,6 +63,10 @@ where

     #[inline]
     fn run(&mut self, world: &World, resources: &Resources) {
+        if self.last_archetypes_generation != world.archetypes_generation() {
+            self.update_archetype_access(world);
+            self.last_archetypes_generation = world.archetypes_generation();
+        }
         (self.func)(world, resources, &self.archetype_access, &mut self.state);
     }

@@ -120,6 +129,7 @@ macro_rules! impl_into_foreach_system {
                         <($($resource,)*)>::initialize(resources, Some(id));
                     },
                     resource_access: <<($($resource,)*) as ResourceQuery>::Fetch as FetchResource>::access(),
+                    last_archetypes_generation: ArchetypesGeneration(u64::MAX),
                     archetype_access: ArchetypeAccess::default(),
                     set_archetype_access: |world, archetype_access, _state| {
                         archetype_access.clear();
@@ -195,6 +205,7 @@ macro_rules! impl_into_query_system {
                     },
                     resource_access: <<($($resource,)*) as ResourceQuery>::Fetch as FetchResource>::access(),
                     archetype_access: ArchetypeAccess::default(),
+                    last_archetypes_generation: ArchetypesGeneration(u64::MAX),
                     set_archetype_access: |world, archetype_access, state| {
                         archetype_access.clear();
                         let mut i = 0;
@@ -321,6 +332,7 @@ where
             name: core::any::type_name::<F>().into(),
             id: SystemId::new(),
             resource_access: TypeAccess::default(),
+            last_archetypes_generation: ArchetypesGeneration(u64::MAX),
             archetype_access: ArchetypeAccess::default(),
         })
     }

interestingly, if you add an entity with the same group of components in a startup system, it works
fn startup_system(mut commands: Commands) {
    commands.spawn((B(None),))
        .spawn((A, C));
}

@mockersf yea that makes a lot of sense. in  the original code the archtype (A, C) does not exist yet, and after creating the new archetype in the system archetype_access is not updated. But if you add the archetype at the start then it will be set correctly the first time. still a good workaround for the crash


Binaries

Add a /bin/ directory that organizes the following main binaries for interacting with the library.

[ ] bottomup_cnf_to_bdd: takes as input a CNF and outputs a BDD.

[ ] Input argument: CNF file (in JSON format)
[ ] Input argument: order, specifies a variable order:

[ ] default: auto_minfill: use a min-fill heuristic to find the variable ordering
[ ] auto_force: use the FORCE heuristic to find a variable ordering
[ ] manual: provide a manual variable order as a JSON file

[ ] Input argument: strategy, specifies a compilation order (i.e., a tree describing the sequence in which clauses are conjoined together)

[ ] default: dtree, uses the dtree decomposition of the CNF according to the variable order

[ ] Input argument: verbose, show verbose output (timing information, hash table information, etc.)
[ ] Input argument: progress, show a progress bar that gives an estimate of compilation progress (fraction of compiled clauses)

[ ] bottomup_formula_to_bdd: takes as input an arbitrary logical formula and outputs a BDD.

[ ] Input argument: formula file (in JSON format)
[ ] Input argument: ordering

[ ] Default: manual, must provide a manual variable order.
[ ] interaction_minfill: user provides an interaction graph between variables and minfill is run to extract a good variable order

[ ] bottomup_cnf_to_sdd: same as for BDD
[ ] bottomup_formula_to_sdd: same as for BDD
[ ] cnf_to_ddnnf: compiles a d-DNNF from a CNF

[ ] Input: a CNF file
[ ] Input: order, specifies a variable ordering strategy

[ ] Default: static_minfill, follows a static variable ordering based on the minfill heuristic on the graph
[ ] static_manual, user provides a manual static variable ordering

[ ] weighted_model_count: takes as input a compiled circuit and weight file and outputs the resulting weighted model count

[ ] Input: circuit, either a dDNNF, SDD, or BDD
[ ] Input: semiring, choice of semiring under which to perform the computation

[ ] Either f64 or rational for now; more to come later

[ ] Input: weights A JSON file describing the weights (a dictionary mapping literals to weights)

For the progress bar feature, perhaps indicatif is the one to look at!


[Idea] Improve installing apps from web browser by using URL flatpak://

Currently Install button on flathub website is used for downloading .flatpakref file, then we have to open that file and install it on our system.

I think the installation process could be more streamlined if it used a URL with the specified protocol, for example flatpak://, which would open appstore used by the current system (like gnome-software or discovery).

Would need implementation in software and/or discovery first. Also the url would need to embed the remote.

Yes, it would need, but in terms of implementation, this will be rather easy. URL should contain a similar set of data to .flatpakref, and local software stores could easily use these data to show proper app entry.

I'm also a fan of this. This would make the download button more useful. I think the best Idea would be, to just provide the link to the flatpakref e.g. flatpak:RefUrl/https%3A//dl.flathub.org/repo/appstream/org.mozilla.firefox.flatpakref or flatpakref:https%3A//dl.flathub.org/repo/appstream/org.mozilla.firefox.flatpakref. With this, the Software Centers just need to download the Ref and could use existing Code after that, so this should be easy to implement.

Would need implementation in software and/or discovery first.

That's true. For KDE, I can think I should ping @aleixpol, for Gnome, I don't know who to ping.

@pwithnall maybe

I thought the original intention with these files was to have your browser open them in gnome-software/Discovery automatically on download, which would give the desired behaviour?
I don’t know if that’s the default any more (I’ve messed my system around too much to know what’s default and what’s me), but that sounds a lot easier than standardising a new flatpak: URI scheme, implementing support for it in gnome-software and Discover, and making sure they both securely and correctly download the .flatpakref file they’re pointed to.

I thought the original intention with these files was to have your browser open them in gnome-software/Discovery automatically on download, which would give the desired behaviour?

This is the intention, but on most Systems the file is just downloaded and opened by the Browser. The User have to open the file self.

Well could we configure the browser to not do that?

Well could we configure the browser to not do that?

That would mean, that we need to configure dozens of different Browser with different install sources. That is unrealistic. Adding a URL Schema would make way more sense. And it is easy to impelemnt. Here is a example implementation in Bash:
#!/bin/bash

function urldecode() { : "${*//+/ }"; echo -e "${_//%/\\x}"; }

if  [[ $1 != flatpakref:* ]] ;
then
    exit 1
fi

url=$(urldecode "${1:11}")

tempfile=$(mktemp --suffix .flatpakref)

curl $url > $tempfile

xdg-open $tempfile

I'm sure this also can be implemented easy in Discover and Gnome Software and that would save a lot of trouble.

For context, this worked, but stopped working at some point, at least with Firefox

No need for a new protocol, Appstream URIs do exactly this

Oh, I see that it has already been mentioned. My bad!

An easier and faster way to handle this would be to configure Flathub http server to serve flatpakref file with the proper mimetype application/vnd.flatpak.ref. Currently, nginx is sending application/octet-stream.
This would ensure GNOME Software (on GNOME system) would be proposed by the web browser when people try to download flatpak ref files.

An easier and faster way to handle this would be to configure Flathub http server to serve flatpakref file with the proper mimetype application/vnd.flatpak.ref. Currently, nginx is sending application/octet-stream. This would ensure GNOME Software (on GNOME system) would be proposed by the web browser when people try to download flatpak ref files.

Just tried that, doesn't seem to change a thing

Draft implementation available for gnome-software here: https://gitlab.gnome.org/GNOME/gnome-software/-/merge_requests/2089

It's tracked for elementary here https://github.com/elementary/sideload/issues/169


slickSetOption not working with responsive breakpoints

I have a carousel below the fold that inits with autoplay: false. Autoplay is set to true when the carousel is scrolled into view using slickSetOption. This works fine, but when responsive breakpoints are used it only works above the breakpoints.
Seems related to #327, but also setting autoplay for the breakpoints doesn't seem to work (and #327 is closed, so it should be fixed):
var bp = '[{breakpoint: 768, settings: {autoplay: true}}, {breakpoint: 425, settings: {autoplay: true}}]'; $('.slider').slick('slickSetOption', 'responsive', bp, true);
codepen: http://codepen.io/eSaner/pen/MbgVjB
Slick version: 1.6
Should I need to change autoplay separately for the breakpoints? Is my syntax for that wrong?

Your value for responsive option should be an array, not a string (remove quotes around).
var bp = [{breakpoint: 768, settings: {autoplay: true}}, {breakpoint: 425, settings: {autoplay: true}}];

@Djules That worked. Thanks!


[Bug]: Can't communicate with devices since 1.28.0-1

Description of the issue
Last week, I've set up the Zigbee2Mqtt addon in HomeAssistant OS. Everything was working perfectly, until I came back from a weekend off. Everyting that is connected through Z2M isn't working anymore, and I see a lot of errors in the Zigbee2mqtt logs. Auto update in the addon is turned on, and the only thing I can imagine is the update that is installed this weekend that broke my config.
Config:
zigbee_herdsman_debug turned on
Network port 8485
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: "-d -d"
log: false`

port: /dev/ttyACM0
adapter: deconz

test -w /dev/ttyACM0 && echo success || echo failure
success

Addon version
v1.28.0-1
Platform
Home Assistant 2022.9.7
Supervisor 2022.09.1
Operating System 9.0
Frontend 20220907.2 - latest
Logs of the issue (if applicable)
logs z2m.txt

For bugfixing, i tried a few things.

Reinstalling the addon. Didn't solve a thing.
Deleting all the devices and connect them again. That did work thankfully. But, there are still some weird things happening: When rebooting the addon, the 'groups' section is corrupt. I get errors that all some lights can't be added to the group, and the group isn't showing up in Home Assistant at all. Deleting the group and recreate it with the lights solves the problem. But, I really don't want to reboot the addon for this reason... Also, when checking for OTA updates, there are a lot of errors of time-outs.

Similar problem here. After updating to 1.28.0-1 all my ZigBee routers are marked as offline. When I restart the addon they appear again and everything is fine for a few hours, after which they stop working again. I reverted to 1.27.2-1 and the problem was gone. Today I updated to 1.28.0-1 and after 4 hours the routers went offline again (restarting the addon made them come back). I reverted to 1.27.2-1 again and am waiting for a bug fix in 1.28.
My routers are (among others) sonoff zbmini, sonoff basic zb3, tuya ts0002_switch_module and many more.
My coordinator is Sonoff ZBBridge with Tasmota 12.1.1.


Accept a list for default-filename in selectrum-read-file-name

The built-in function accepts a list as well as a string, in which case it picks the first string.
Fixes #17 in transmission.

Thank you, closing this in favour of #401, we want to support a list of default values eventually, see #314, so it's better we pass it along.

Thank you, closing this in favour of #401, we want to support a list of default values eventually, see #314, so it's better we pass it along.


Wrong download location for cask "chainsaw"

I tried to install the cask "chainsaw", but it complains that it cannot download "https://logging.apache.org/chainsaw/webstart/chainsaw.dmg". It seems, that the download location changed.

If you ignore this guide, your issue may be closed without review.

Also note from that document:

If the maintainer was wrong in closing your issue, please do reply stating why! Closing an issue does not mean the conversation is over. If the guides themselves were unclear, help us improve them! Open first an issue or pull request stating what you found confusing and only then your other issue.

https://github.com/caskroom/homebrew-cask/pull/44739


Feature/proxy methods

[x] computed decoration
[x] new decorate mixin
[x] decorateRelation method
[x] deprications

:+1:


Breaking change warning

Is your feature request related to a problem? Please describe.
When creating a Standard Public IP, today by default, customers get a zone-redundant IP (indicated by zones: [] in ARM templates)
We are changing the default to be no-zone (indicated by zones: [] in ARM templates) and zone redundant to be indicated by zones [“1”, “2”, “3”] or a combination of any of the 2 zones.
Describe the solution you'd like
A warning to notify customers of the breaking change
https://docs.microsoft.com/en-us/cli/azure/network/public-ip?view=azure-cli-latest#az-network-public-ip-create
Specifically only applicable when selecting sku = Standard

HI @MyronFanQiu, could you pls help to have a look? thanks.

add to S167.

@anavinahar,
(Also reply the following questions in an email thread in case you miss it)
We are working on this issue this sprint and we have some questions need your clarification,

Is the default behavior changed only when SKU=Standard and not specifying a zone?
I’m confused by “We are changing the default to be no-zone (indicated by zones: [] in ARM templates) and zone redundant to be indicated by zones [“1”, “2”, “3”] or a combination of any of the 2 zones.”, could you help clarify?

Per my understanding, the default is changed to no-zone only?

Is this change transparent to CLI users? If no, how can CLI users know the changes from CLI command response?

If I want to test the behavior change, how can I check the result?

Is this behavior change already released? (I saw the document still uses the old behavior https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-public-ip-address)


Seems the public key used in images/chaos-kernel/Dockerfile is unavailable

Bug Report
What version of Kubernetes are you using?
Not relevant
What did you do?
Following the guide "setup the development environment" until make command
What did you expect to see?
The make command should pass successfully
What did you see instead?
When building docker image with dockfile in images/chaos-kernel/Dockerfile, I get an error:
W: GPG error: https://apt.kitware.com/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 291F9FF6FD385783
E: The repository 'https://apt.kitware.com/ubuntu bionic InRelease' is not signed.

Check the dockerfile, I found this command:
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8611B7A28669BB93
seems like the public key is unavailable.
Try to fix the problem in my local machine by replacing the command in the dockerfile to
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 291F9FF6FD385783
Since I don't have another machine to test if it is a common problem, would it be nice to fix it?

I got the same error, but since I am on Fedora, I add this key using rpm --import instead.

@cwen0 @YangKeao PTAL

I think we should get asc key dynamically with wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | apt-key add -, which is also suggested by kitware website

I think we should get asc key dynamically with wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | apt-key add -, which is also suggested by kitware website

Yep, I think it's the best way！I also tried to find a way to update dynamically yesterday, but I didn't find it_(:з」∠)_  thanks for the link


Catalog add_column documentation error

I believe this should be Add a column in a AWS Glue Catalog table.
https://github.com/awslabs/aws-data-wrangler/blob/2a3afb027a00ce5ee0bd58d64a014c25383bd851/awswrangler/catalog/_add.py#L177-L179

Sorry, didn’t mean for the bug label to be applied.

Hey @lucasasmith , thanks for reporting it!
Fixed in the commit above.


Security aspects for E-Mail Validation

As an admin I want to be sure that people without a validated email address are not allowed to view or manipulate any data.
ACs

[ ] The route to a minutes or a meeting series should not be visible for not-verified users
[ ] Meeting concerned emails (agenda, info- / action-items) should not be sent to not-verified users
[ ] A not-verified user should not be able to view / manipulate series or minutes even if he calls the meteor methods directly

Further aspects
As a admin I would like that all emails send by the system will be send via the same delivery method set in the 4minitz settings. Currently the mails send by the account system (e.g. email to validate the email address) are sent via smtp directly.

We changed the behaviour: A non-verified user simply can not log in.
see imports/config/accounts.js


chore: test PR merging #6585 and #6577

Description
Problem*
Resolves
Summary*
Merges https://github.com/noir-lang/noir/pull/6585 and https://github.com/noir-lang/noir/pull/6577 to see opcode count differences.
Additional Context
Documentation*
Check one:

[ ] No documentation needed.
[ ] Documentation included in this PR.
[ ] [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

[ ] I have tested the changes locally.
[ ] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Curious that opcode & constraint count diffs are the same as in https://github.com/noir-lang/noir/pull/6585, but unlike that PR the opcodes executed is unchanged from master?
Maybe its because the other PR has more commits, and if opcodes executed becomes unchanged then the comment isn't updated?


[Expo SDK 52] App creashes with error "NSInvalidArgumentException  *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil"

Summary
In some way, I think this issue may be related to https://github.com/react-native-maps/react-native-maps/issues/5206 and https://github.com/react-native-maps/react-native-maps/issues/5214
After upgrading to SDK 52, I'm getting an issue when I remove and add new markers.
In my app, I could remove all the code unrelated to this issue, and get this small version of the "Map" component, where I can still reproduce the error. I will add a video in the comments, so you see how to reproduce it (you have to play around with the zoom).
I migrated that code to a Expo Snack, but you won't be able to reproduce it from the snack, because iOS seems to be broken with SDK 52.
Here is the SNACK: https://snack.expo.dev/@brodanoel/react-native-maps-not-working
Reproducible sample code
import { useState } from 'react';
import MapView, { Marker } from 'react-native-maps';

const getZoom = region => Math.round(Math.log(360 / region.longitudeDelta) / Math.LN2);

const initialRegion = {
  latitude: -31.4205589,
  latitudeDelta: 0.5,
  longitude: -64.1734649,
  longitudeDelta: 0.5,
};

const clusters = [
  { coordinate: { latitude: -31.42, longitude: -64.185 }, i: 'aaa' },
  { coordinate: { latitude: -31.439, longitude: -64.128 }, i: 'bbb' },
];

const Map = () => {
  const [pointsToShow, setPointsToShow] = useState([]);

  const onRegionChange = currentRegion => {
    const zoom = getZoom(currentRegion);

    if (zoom >= 12) {
      setPointsToShow([]);
    } else {
      setPointsToShow(clusters);
    }
  };

  return (
    <MapView
      style={{ flex: 1 }}
      provider="google"
      onRegionChangeComplete={onRegionChange}
      initialRegion={initialRegion}
    >
      {pointsToShow.map(point => {
        return <Marker key={point.i} pinColor="red" coordinate={point.coordinate} />;
      })}
    </MapView>
  );
};

export default Map;

Steps to reproduce
You should get the error while zooming in and out. Please wait for the video that I'm gonna add in the comments
Expected result
App not crashing
Actual result
App crashes and get closed
React Native Maps Version
1.18.0 and 1.20.0
What platforms are you seeing the problem on?
iOS (Google Maps)
React Native Version
0.76.2
What version of Expo are you using?
SDK 52 with New Architecture enabled
Device(s)
iPhone 13 mini
Additional information
None

Sentry report:
NSInvalidArgumentException
?
Escalating
Level: Fatal
Unhandled
*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil

Here is the video where you can see how I zoom in and out in order to get the app crash: https://drive.google.com/file/d/1nnXVPYpuev2qR77A6LFPEU1Dv0ZAM3_z/view?usp=sharing

I just updated the description to get an even smaller code to reproduce it.
Still the same way to reproduce it: Zoom in and out a couple of times. Check the video.

I'm also getting this issue - it's been driving me crazy! The only way I was able to get something working was by re-rendering the whole MapView, which led to a poor UX with the map flickering onRegionChange

I'm having similar issues, markers behaving weirdly and app crash on zoom in move around.

+1 on this
Stack from sentry:

Looks like it could be this line that is crashing (i'm not a swift expert so may be wrong):
https://github.com/react-native-maps/react-native-maps/blob/master/ios/AirGoogleMaps/AIRGoogleMap.m#L191

I'm also running to this - It's linked to the onRegionChange callback - removing the callback does avoids the crash

@CamBowes thanks for taking a look.
Could you take a closer look in order to try to understand better the whole problem? I also have no idea about Swift.
I'll take that file and talk with ChatGPT o1 a bit, in order to find a fix

This is what ChatGPT says
Understanding the Root Cause
Subview is nil: The most probable cause is that subview is nil when you attempt to insert it into _reactSubviews. This can happen if one of the child subviews is nil.
Not Calling super Methods: In your insertReactSubview and removeReactSubview methods, you are overriding the methods without calling the superclass implementation. React Native relies on these methods to manage the view hierarchy correctly.
Solution
Call super Methods: Modify your insertReactSubview and removeReactSubview methods to call the superclass implementation. This ensures that React Native's internal mechanisms for managing subviews work correctly.
Remove Manual Management of _reactSubviews: Since React Native already manages subviews internally, you don't need to maintain your own _reactSubviews array.

Explanation
Calling super Methods: By calling [super insertReactSubview:subview atIndex:atIndex];, you ensure that the parent class can perform its necessary operations, such as managing the view hierarchy and state.
Avoiding nil Subviews: Since the superclass method properly handles subviews, it reduces the chances of nil subviews causing errors.
Why This Works
React Native's view management system expects certain behaviors from native components. When you override methods like insertReactSubview and removeReactSubview without calling the superclass implementations, you can inadvertently disrupt the view hierarchy management, leading to unexpected errors like inserting nil objects.

What I wonder is if this is actually the root cause of this whole problem.
Maybe the problems comes before (like... I don't know... some race condition), so then some thing is null when it shouldn't, and then we get this error. Maybe what we have to fix is the previous thing... but without Swift/ObjectiveC knowledge, for me will be really hard

I'll try and raise a PR with a fix, no promises though!

The 2 PR created fixes the crash, but they are not actually fixing the whole problem behind.
I've created a new build with the patch applying the PR #5226 , and there is 1 issue that still exists, which is clearly the actual error in the behind, that we should actually fix.
If you see my video, when I zoom IN, and then zoom OUT again, the app crashes.
After applying the path it doesn't crash BUT the clusters/markers are not shown until you move the map again.
I'm sharing a video here so you can understand what is still happening: https://drive.google.com/file/d/1VGLSqeXKroGzxJCXXUhCkJVKdP9L74Ko/view?usp=sharing

The 2 PR created fixes the crash, but they are not actually fixing the whole problem behind.
I've created a new build with the patch applying the PR #5226 , and there is 1 issue that still exists, which is clearly the actual error in the behind, that we should actually fix.
If you see my video, when I zoom IN, and then zoom OUT again, the app crashes. After applying the path it doesn't crash BUT the clusters/markers are not shown until you move the map again.
I'm sharing a video here so you can understand what is still happening: https://drive.google.com/file/d/1VGLSqeXKroGzxJCXXUhCkJVKdP9L74Ko/view?usp=sharing

Same here

I just disabled newArch and everything works well again. I'm in Expo SDK 52 with with "old" arch.

If you have this patch applied and New Arch DISABLED, you'll see the custom markets blinking super fast in every moment (even without moving the map). So... be careful with that patch

it's been driving me crazy! The only way I was able to get something working was by re-rendering the whole MapView, which led to a poor UX with the map flickering

Im also experiencing this. flickering, re-rendering on any region change. Im also getting crashes when trying to draw out a polyline.
When running npx expo-doctor i get:
Unsupported on New Architecture: @react-native-community/checkbox, react-native-maps

I faced the same issue with similar crashes. After applying this patch (using patch-package), the crashes stopped. However, I encountered a new problem: periodically, when I zoom in or out, my markers disappear and then reappear after another zoom action.

Same thing to me.
If you can, just disable the New Arch until this gets fixed.

can you help me
(NOBRIDGE) ERROR  Warning: TypeError: this.getNativeComponent is not a function (it is undefined)

"react-native-maps": "^1.18.0",

Same here. It happens on fitCoordinates command on my case. If I don't use it, it renders.


How to project iris cube with longitude and latitude onto a equal distance cartesian grid.

Hi:
I have NWP 0.1x0.1(degree) data with longitude and latitude. I want to project this data to a
5kmx5km cartesian grid. So how can I do with iris? Thanks very much.
Dave

Hi @NMC-DAVE, it seems to me like this process has two parts - coarsening the data and flattening it.

In terms of coarsening, how do you want to combine the points in the original data to give the new points? A straight linear interpolation of the nearest points, an average of everything nearby?
What projection do you want to use to flatten your grid?

Hi @wjbenfold :
1）a straight linear interpolation.
2)  Lambert Conformal Conic projection.
Very thanks!

Awesome! Making a couple of assumptions (please correct me if they're wrong), I think you should be able to do the following:

Load your file into Iris with iris.load
Create a cube with the right sort of grid (if you've already got a file with this sort of grid that you can load, ignore this step)
Make a coordinate system (looks like iris.coord_systems.LambertConformal should do it)
Make the coordinates (iris.coords.DimCoord) for your latitude and longitude. Give them your coordinate system as one of the arguments.
Make an iris.cube.Cube with those coordinates and some throwaway data (it can just be an np.zeros array that's the right shape).
Make a regridding scheme with iris.analysis.Linear
Now regrid your original cube to match the one with the right grid (new_cube = original_cube.regrid(blank_cube, scheme))

You should end up with what you're looking for. If any of that doesn't make sense then let me know and I'll go into it in more detail. You might benefit from some bits of the Iris documentation:

https://scitools-iris.readthedocs.io/en/latest/userguide/loading_iris_cubes.html
https://scitools-iris.readthedocs.io/en/latest/userguide/interpolation_and_regridding.html
https://scitools-iris.readthedocs.io/en/latest/generated/api/iris/analysis.html#iris.analysis.Linear
https://scitools-iris.readthedocs.io/en/latest/generated/api/iris/coords.html#iris.coords.DimCoord
https://scitools-iris.readthedocs.io/en/latest/generated/api/iris/cube.html#iris.cube.Cube
https://scitools-iris.readthedocs.io/en/latest/generated/api/iris/cube.html#iris.cube.Cube.regrid

@wjbenfold :
Thanks very much! Finally, I can make it work.
import numpy as np
from cartopy import crs as ccrs
import iris
from iris.coords import DimCoord
from iris.cube import Cube

import iris
cube = iris.load(iris.sample_data_path("E1_north_america.nc"))[0]

# create coordinate system
map_limit = [240, 20, 290, 50]
xy_coord = iris.coord_systems.LambertConformal(
    central_lon=(map_limit[0]+map_limit[2])/2.0,
    central_lat=(map_limit[1]+map_limit[3])/2.0)
proj = xy_coord.as_cartopy_crs()

# construct coordinates
xmin, ymin = proj.transform_point(map_limit[0], map_limit[1], src_crs=ccrs.PlateCarree())
xmax, ymax = proj.transform_point(map_limit[2], map_limit[3], src_crs=ccrs.PlateCarree())
dx = dy = 125*1000.  # constant delta-x & delta-y in meters
xaxis = np.arange(xmin, xmax+1, dx)
yaxis = np.arange(ymin, ymax+1, dy)

# create blank cube
x = DimCoord(xaxis, standard_name='projection_x_coordinate', units='meters', coord_system=xy_coord)
y = DimCoord(yaxis, standard_name='projection_y_coordinate', units='meters', coord_system=xy_coord)
blank_cube = Cube(np.zeros((len(yaxis), len(xaxis)), np.float32),
                  dim_coords_and_dims=[(y, 0), (x, 1)])

new_cube = cube[0,:,:].regrid(blank_cube, iris.analysis.Linear())

Awesome! Making a couple of assumptions (please correct me if they're wrong), I think you should be able to do the following:

Load your file into Iris with iris.load
Create a cube with the right sort of grid (if you've already got a file with this sort of grid that you can load, ignore this step)
Make a coordinate system (looks like iris.coord_systems.LambertConformal should do it)
Make the coordinates (iris.coords.DimCoord) for your latitude and longitude. Give them your coordinate system as one of the arguments.
Make an iris.cube.Cube with those coordinates and some throwaway data (it can just be an np.zeros array that's the right shape).
Make a regridding scheme with iris.analysis.Linear
Now regrid your original cube to match the one with the right grid (new_cube = original_cube.regrid(blank_cube, scheme))

You should end up with what you're looking for. If any of that doesn't make sense then let me know and I'll go into it in more detail. You might benefit from some bits of the Iris documentation:

https://scitools-iris.readthedocs.io/en/latest/userguide/loading_iris_cubes.html
https://scitools-iris.readthedocs.io/en/latest/userguide/interpolation_and_regridding.html
https://scitools-iris.readthedocs.io/en/latest/generated/api/iris/analysis.html#iris.analysis.Linear
https://scitools-iris.readthedocs.io/en/latest/generated/api/iris/coords.html#iris.coords.DimCoord
https://scitools-iris.readthedocs.io/en/latest/generated/api/iris/cube.html#iris.cube.Cube
https://scitools-iris.readthedocs.io/en/latest/generated/api/iris/cube.html#iris.cube.Cube.regrid

Can we help with anything else or are we good to shut this issue @NMC-DAVE


bug: Incompatibility with Apoli phasing power

Simple Fog Control prevents the blindness mode of Apoli's phasing power from applying when inside blocks
https://github.com/apace100/apoli/blob/42288222f4c02b1b60d833afce1e66bc1916ef40/src/main/java/io/github/apace100/apoli/mixin/BackgroundRendererMixin.java#L88

Looking at the code, this is unfortunately expected. I need to modify the default fog, and vanilla doesn't differentiate between in-block or not.
I'm not going to introduce apoli / origins API dependencies.
In future versions I might try to detect if something else has modified the fog before I overwrite it, no promises.
Leaving this open for now.

I think I might have found a solution without introducing new dependencies actually, going to try it and will report back here


Remove unnecessary conversion of byte order for set_mark

As nfq_set_verdict2 coverts byte order of "mark" (unlike
nfq_set_verdict_mark), we have not to do it on our own.
Otherwise, for example, Packet.set_mark(0x1234) results in
0x34120000 on little-endian machines.

Thank you no2a for the pull request. This is exactly what I referred to back in August in this comment
https://github.com/kti/python-netfilterqueue/commit/2960dc340124759644e52e74188423195bce4cb1
I hope it can be merged soon :)

Hi @no2a @jllorente thanks for contributing, my apologies for the delay.


Carthage and macOS

Dahers-MacBook-Pro:Folder daher$ carthage update --platform macOS
Please update to the latest Carthage version: 0.26.2. You currently are on 0.24.0
*** Cloning neo4j-ios
*** Cloning BlueSSLService
*** Cloning Bolt-swift
*** Cloning BlueSocket
*** Cloning PackStream-Swift
*** Checking out PackStream-Swift at "0.8.3"
*** Checking out BlueSSLService at "0.12.64"
*** Checking out BlueSocket at "0.12.76"
*** Checking out Bolt-swift at "0.8.8"
*** Checking out neo4j-ios at "v3.2.0"
*** xcodebuild output can be found in /var/folders/bk/x4pxr74n14bbfy52ng78znnc0000gn/T/carthage-xcodebuild.gMiSDB.log
*** Building scheme "Socket" in BlueSocket.xcworkspace
*** Skipped building BlueSSLService due to the error:
Dependency "BlueSSLService" has no shared framework schemes for any of the platforms: Mac

If you believe this to be an error, please file an issue with the maintainers at https://github.com/IBM-Swift/BlueSSLService/issues/new
*** Building scheme "Theo" in Theo.xcodeproj
Build Failed
	Task failed with exit code 65:
	/usr/bin/xcrun xcodebuild -project /Users/daher/Documents/Folder/Carthage/Checkouts/neo4j-ios/Theo.xcodeproj -scheme Theo -configuration Release -derivedDataPath /Users/daher/Library/Caches/org.carthage.CarthageKit/DerivedData/neo4j-ios/v3.2.0 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build (launched in /Users/daher/Documents/Folder/Carthage/Checkouts/neo4j-ios)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/bk/x4pxr74n14bbfy52ng78znnc0000gn/T/carthage-xcodebuild.gMiSDB.log

Hi Daher, thanks for letting us know. I'll investigate why BlueSSLService isn't building.


Create Index

Description:
to start the project we should have an index with hello world

Add Head configuration for external libraries

Create index and connect with the library


Improvements to *NetworkApiClient ergonomics

Inspired by a bug I introduced in glados, and thoughts about how to make it less likely in the future:
https://github.com/ethereum/glados/pull/335#pullrequestreview-2408660979
The current usage pattern goes something like:
let key = StateContentKey::AccountTrieNode(...);
let response = match StateNetworkApiClient::get_content(transport, key) {
  Ok(response) => response,
  Err(e) => return handle_err(e),
};
let decoded = match StateContentValue::decode(key, response.content) {
  Ok(decoded) => decoded,
  Err(e) => return handle_err(e),
};
if let StateContentValue::TrieNode(trie_node) = decoded {
  // do_something(trie_node)
}

An ideal API probably looks something closer to this (at least as an option):
let key = StateContentKey::AccountTrieNode(...);
let trie_node = match StateNetworkApiClient::get_decoded_content(transport, key) {
  Ok(trie_node) => trie_node, // only a single type can be returned by any key type, so we can skip the enum
  Err(e) => return handle_err(e),
};
// do_something(trie_node)

I don't know the rust magic to make that happen ^ but it should be straightforward to do a middle-ground solution, like:
let key = StateContentKey::AccountTrieNode(...);
let trie_node = match StateNetworkApiClient::get_decoded_content(transport, key) {
  Ok(StateContentValue::TrieNode(trie_node)) => trie_node, // only a single type can be returned by any key type, so we can skip the enum
  Ok(wrong_type) => panic!("Should never get a different value when looking up a trie node. Got: {wrong_type}"),
  Err(e) => return handle_err(e),
};
// do_something(trie_node)

I do see that there could be reasons to keep both get_content and get_decoded_content around in the API. Maybe this is pretty low priority, since it amounts to having to make one less function call. (unless we can get the magic solution working)

At the very least, we can add some docs to EncodedTrieNode that say: if you're trying to decode this by hand after making an RPC request, you're probably doing it wrong, and should be using StateContentValue::decode() instead

Somewhat related to this, we have logic in Census where we do something like this (also for other api calls, like ping, recursive_find_nodes):
match self.subnetwork {
    Subnetwork::History => {
        HistoryNetworkApiClient::find_nodes(&self.client, enr.clone(), distances)
    }
    Subnetwork::State => {
        StateNetworkApiClient::find_nodes(&self.client, enr.clone(), distances)
    }
    Subnetwork::Beacon => {
        BeaconNetworkApiClient::find_nodes(&self.client, enr.clone(), distances)
    }
    _ => unreachable!("find_nodes: unsupported subnetwork: {}", self.subnetwork),
}

The problem is that all of these functions (and many more) have the exact same signature but they belong to different traits.
I think it's possible to use some rust magic and create one trait that can be use to abstract this. In that case, it might be possible to add extra functionality, like the one that you suggested.


Action not publishing release

Using the README action:
name: Build/release

on:
  push:
    branches:
    - master

jobs:
  release:
    runs-on: ${{ matrix.os }}
    timeout-minutes: 20
    strategy:
      matrix:
        os: [macos-10.15, ubuntu-18.04, windows-latest]

    steps:
      - name: Check out Git repository
        uses: actions/checkout@v1

      - name: Install Node.js, NPM and Yarn
        uses<EMAIL_ADDRESS>        with:
          node-version: '>=16.8.0'

      - name: Build/release Electron app
        uses: samuelmeuli/action-electron-builder@v1
        with:
          # GitHub token, automatically provided to the action
          # (No need to define this secret in the repo settings)
          github_token: ${{ secrets.github_token }}

          # If the commit is tagged with a version (e.g. "v1.0.0"),
          # release the app after building
          release: ${{ startsWith(github.ref, 'refs/tags/v') }}

and tagging and pushing, no release is created. Log shows:
 • skipped publishing  file=latest-mac.yml reason=release doesn't exist and not created because "publish" is not "always" and build is not on tag tag=v2.5.4 version=2.5.4

I'm facing the same issue, does anyone how to solve this problem?

We were using a native extension (serialport) which caused the build to fail.
We replaced the requiring package and voilá, it built.

Having this issue too. @ramonbroox, what package did you replace

Having this issue too. @ramonbroox, what package did you replace

One osc-something npm package. Check your package-lock.json for the serialport dependency. Also, any native package that requires compilation might be involved.

i cannot understand what you replaced

Using this fixed this issue for me:
name: Build/Release Electron app
  uses: samuelmeuli/action-electron-builder@v1
  with:
    release: ${{ startsWith(github.ref, 'refs/tags/v') }}
    args: "-c.snap.publish=github"
    github_token: ${{ secrets.github_token }}

I was having the same issue but fixed it by pointing to the latest version of the action (as opposed to v1):
- name: Build/release Electron app
  uses<EMAIL_ADDRESS>

I'm having this difficulty as well - my yaml is set to the following config:
      - name: Build/release Electron app
        uses<EMAIL_ADDRESS>        with:
          github_token: ${{ secrets.github_token }}
          release: true

The build output shows:
$ <omitted>/node_modules/.bin/electron-builder --mac --publish always
  • electron-builder  version=22.11.7 os=20.6.0
  • loaded configuration  file=package.json ("build" field)
  • packaging       platform=darwin arch=x64 electron=13.1.7 appOutDir=dist/mac
  • downloading     url=https://github.com/electron/electron/releases/download/v13.1.7/electron-v13.1.7-darwin-x64.zip size=79 MB parts=6
  • downloaded      url=https://github.com/electron/electron/releases/download/v13.1.7/electron-v13.1.7-darwin-x64.zip duration=1.247s
  • default Electron icon is used  reason=application icon is not set
  • skipped macOS application code signing  reason=cannot find valid "Developer ID Application" identity or custom non-Apple code signing certificate, see https://electron.build/code-signing allIdentities=     0 identities found
                                                Valid identities only
     0 valid identities found
  • building        target=macOS zip arch=x64 file=dist/<omitted>-0.0.1-mac.zip
  • building        target=DMG arch=x64 file=dist/<omitted>-0.0.1.dmg
  • building block map  blockMapFile=dist/<omitted>-0.0.1.dmg.blockmap
  • building embedded block map  file=dist/<omitted>-0.0.1-mac.zip
Done in 114.64s.

The builds run successfully, but there are no releases that are created in the Github repository...the same happens for osx and windows...what am I missing?

@sators it will generate a draft release at releases page, you need to edit this draft and publish it manually. I made an Electron boilerplate with everything configured, you can check it and also check the releasing section, it shows in video this part of the draft release.

Thank you @daltonmenezes  for the swift response and links.  I have looked through all of those and my config seems to match, however, I don't end up with a draft release - my releases page shows There aren’t any releases here. 🤔
Does the action-electron-builder output have any log messages when a release is successfully created?  I was seeing output at the end of the build if it was explicitly not releasing due to a tag not matching...but with release: true set on the action config...I'm not seeing any draft and the action completes successfully...

@sators probably the action is running, but the new tag is not being detected and not triggering the draft release creation. 🤔

@sators here's how I made the release:

Updating the package json version
Performing:git commit -am v1.0.1
git tag v1.0.1
git push
git push --tags

I made automation for this process by creating this CLI helper for the boileplate

@sators aqui está como eu fiz o lançamento:

Atualizando a versão do pacote json
Executar: ```js
git commit -am v1.0.1
git tag v1.0.1
git push
git push --tags

Fiz automação para este processo criando este auxiliar CLI para a boileplate

great job

I'm having this difficulty as well - my yaml is set to the following config:
      - name: Build/release Electron app
        uses<EMAIL_ADDRESS>        with:
          github_token: ${{ secrets.github_token }}
          release: true

The build output shows:
$ <omitted>/node_modules/.bin/electron-builder --mac --publish always
  • electron-builder  version=22.11.7 os=20.6.0
  • loaded configuration  file=package.json ("build" field)
  • packaging       platform=darwin arch=x64 electron=13.1.7 appOutDir=dist/mac
  • downloading     url=https://github.com/electron/electron/releases/download/v13.1.7/electron-v13.1.7-darwin-x64.zip size=79 MB parts=6
  • downloaded      url=https://github.com/electron/electron/releases/download/v13.1.7/electron-v13.1.7-darwin-x64.zip duration=1.247s
  • default Electron icon is used  reason=application icon is not set
  • skipped macOS application code signing  reason=cannot find valid "Developer ID Application" identity or custom non-Apple code signing certificate, see https://electron.build/code-signing allIdentities=     0 identities found
                                                Valid identities only
     0 valid identities found
  • building        target=macOS zip arch=x64 file=dist/<omitted>-0.0.1-mac.zip
  • building        target=DMG arch=x64 file=dist/<omitted>-0.0.1.dmg
  • building block map  blockMapFile=dist/<omitted>-0.0.1.dmg.blockmap
  • building embedded block map  file=dist/<omitted>-0.0.1-mac.zip
Done in 114.64s.

The builds run successfully, but there are no releases that are created in the Github repository...the same happens for osx and windows...what am I missing?

I have the same behavior.
Managed to solve?

I was not pushing tags to the origin - See @daltonmenezes  answer https://github.com/samuelmeuli/action-electron-builder/issues/74#issuecomment-1114266551

Using the README action:
name: Build/release

on:
  push:
    branches:
    - master

jobs:
  release:
    runs-on: ${{ matrix.os }}
    timeout-minutes: 20
    strategy:
      matrix:
        os: [macos-10.15, ubuntu-18.04, windows-latest]

    steps:
      - name: Check out Git repository
        uses: actions/checkout@v1

      - name: Install Node.js, NPM and Yarn
        uses<EMAIL_ADDRESS>        with:
          node-version: '>=16.8.0'

      - name: Build/release Electron app
        uses: samuelmeuli/action-electron-builder@v1
        with:
          # GitHub token, automatically provided to the action
          # (No need to define this secret in the repo settings)
          github_token: ${{ secrets.github_token }}

          # If the commit is tagged with a version (e.g. "v1.0.0"),
          # release the app after building
          release: ${{ startsWith(github.ref, 'refs/tags/v') }}

and tagging and pushing, no release is created. Log shows:
 • skipped publishing  file=latest-mac.yml reason=release doesn't exist and not created because "publish" is not "always" and build is not on tag tag=v2.5.4 version=2.5.4

Anyone who is still having this problem, in my case I solved it by giving write permission.
name: Publish
on:
  push:
    tags: ["*"]

jobs:
  publish:
    if: startsWith(github.ref, 'refs/tags/v')
    runs-on: ${{ matrix.os }}
    permissions:
      contents: write
    ...

pass the args as --publish-always and it will work

pass the args as --publish-always and it will work

Thanks


Make all methods public

Since nbqa is first and foremost a CLI tool and not a library that exposes an official API, IMHO there is no needs to make functions/classes private (prepending _ to the name).
Maybe I'm just missing a point, so always willing to learn 😄

there is no needs to make functions/classes private (prepending _ to the name)

By exposing only necessary methods/classes/constants from a module, we make the developers stick to a design. If you make all the methods public, then the developer discipline goes away. We will start thinking what is the harm in calling this method from this module, its public anyway. Having module private and public entities are very much required for smooth maintenance of this project. That's my thought process.

not sure there's much traction here, I have no strong opinions here - PRs are welcome, but I'll close the issue to reduce the queue

not sure there's much traction here, I have no strong opinions here - PRs are welcome, but I'll close the issue to reduce the queue


FontAwesome not work for Firefox

can not use a css fonts from cdn.

@meownosaurus More info?

Issue too old, closing


[Enhancement]: why not join rancher together

https://github.com/rancher-sandbox/rancher-desktop
I like your microshift idea, and i noticed  rancher developed a very similar things.
I want to share my point.
actually, you can coperation with Rancher indeed.
A full featured docker desktop alternative.
a onestep full stack (OpenShift + Kubernetes) application.
One install, full feature include, you can choice which components to enable or not.
rancher-desktop really good idea.
for now days: there a too many container products. but too small , too dispersion
Why not just provided a real usable product.   like the docker desktop.

Thank you for your suggestion @cnmade. I absolutely agree on the value of collaboration in open source community projects (i.e. Kubernetes in this case) and Rancher and us are collaborating well there. If your comment was instead referring to merging distributions/products from different vendors, that'd be much more difficult ask.
Please note, also, that it is not MicroShift's goal to produce a desktop environment for Kubernetes development, though one could certainly build one on top of it.


[docs] Fixed typo in Storm Compatibility page

SomeType.classs -> SomeType.class

Thanks! Merging this.


Update CommunityTechTree

CTT works with 1.0.5 but hasn't updated the KS page yet, so doing it manually

No force_v necessary, CTT's versioning scheme has remained consistent.


Incomplete section

In the section https://docs.microsoft.com/en-us/azure/load-balancer/concepts-limitations#load-balancer-components the section seems to be incomplete.
It states: "Load-Balancing rules are the ones that tell the Load Balancer what needs to be done when." and it ends there.

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

ID: 0aecd7fa-47dd-4854-caaf-8f037872998a
Version Independent ID: ffb49fcc-378f-7eff-5d67-56296acdf9ac
Content: Components and Limitations - Azure Load Balancer
Content Source: articles/load-balancer/concepts-limitations.md
Service: load-balancer
GitHub Login: @asudbring
Microsoft Alias: allensu

@chadif Thanks for your feedback.
@asudbring  Can you please review the request and update the document accordingly?

Article has been rewritten and that section was changed
#please-close


Character Counter in Javascript

I would like to add a project which counts the character in JavaScript under GSSOC 2021.

Please assign me this issue @ridsuteri @991rajat @Vishal-raj-1

@neha07kumari Already Present named word counter.
There's a PR if he didn't respond in 1 day I could assign it to you Look at it if you are able to work at it let me know
https://github.com/Vishal-raj-1/Awesome-JavaScript-Projects/pull/1119

@neha07kumari This is already been resolved.I'm closing this one.
I'm assigning a new issue to you.


Updated Dragons Descent patch

There was 1 feature I was unable to fix - flight ability. It uses the vanilla system for abilities, however - I was unable to figure out why it doesn't work here. It doesn't cause desyncs, it only makes the pawns not start the ability casting job.
Besides this, everything should work fine now.

Are those loggings spammy? Should I push them to the users?

Oops... I forgot about those. I used those to look where exactly I was getting exception.
Good catch, I've pushed a new commit and removed those.


Cursor change position when I switch tabs.

Cursor change position when I switch tabs.
When I work with first file, cursor located on top of file, when I switch to other tab and move cursor down, and back to first file, cursor change its location to down.

I can reproduce, annoying bug in daily life that introduces "cognitive dissonance".

Video illustrating the problem: on line 2, move to next tab, move one line down there, move back to first tab, and now on line 3. Makes it painful to use tabs in daily life. Would be great if this could be fixed :) .


Protocol / communication issues

Wow - great stuff! I was just looking in recent days for exactly this project, and then it turns up just now! :)
It seems to not entirely work for me, however. I did see a message coming through initially, but with clearly invalid values.
But I am now mostly seeing timeout errors, the status message saying "updating" continuously, and also "Frame contains invalid sequence number".
I have the same communication working well with the python project: https://github.com/githubDante/deye-controller
The python script seems to keep working regardless. So maybe there is some state in the Node-Red node that causes wrong sequence numbers to be sent, etc.?
I am a software developer, and I would love to help, if I can. I don't have much experience with node.js or node-red code, but do you have any ideas on how I could best go about troubleshooting these issues?
My Deye inverter is a 12 kW 3-phase one by the way - not sure if there are differences in this regard.

This node was written for the G3 family of inverters from Deye. You probably have a SUN-12K-SG04LP3 inverter, which is a completely different device. It uses a different set of registers and has many more of them. So basically I don't expect that this node returns useful data for your inverter.
But you said you received frames with invalid sequence numbers which never happens for my inverters. So I checked the Python source and they allow to ignore certain protocol errors. Maybe some firmware versions are buggy. I released a new version 0.0.3 which ignores invalid sequence numbers. Please update your node in node-red and tell me if it reports any other errors after the update. If there are no other errors but the values are wrong then there is a chance that only the registers which are evaluated need to be changed for your inverter.

Thanks. Very helpful. Do you think it would make sense to evolve this project to support multiple models? I'm thinking something like configurable registers and mapping to output object. If that sounds interesting to you, I would love to give it a shot (but I think maybe you should make the overall changes for making register info etc. "pluggable" so the structure of the project is still as intended).
In any case, if an when I get time, I will try to make this work. So it is mostly a matter of whether I should make it in a private clone, just for myself, or perhaps something everybody could use in this project?


Not live reloading

Hey, first of all, awesome work! Thanks for sharing it with the world.
What I'm doing:
after installing the dependencies...

Open the .xcodeproj
Run npm start
Run the app on the emulator
Enable live reloading
Changes to the code are not reflected, I need to cmd+r to see them

Am I missing something?

Looking at Facebook's Live Reload doc it looks like the reload feature works when "changes are made to the JavaScript", which I presume means either the index.ios.js or index.android.js files are saved while the React Packager is running.
The way the Webpack Dev Server works is the two index files are generated as opposed to modified and saved, which may be what's preventing the React Packager from signaling a live reload. Rather than fighting to get it to work consider instead looking at Hot Module Replacement technique being pursued and maintained with the RNWS dependency this kit leverages to generate the index files.


vald processes events even if the operator isn't a validator yet or has registered the proxy

Description/Reasoning
vald broadcasts heartbeats even before the operator is a validator or the proxy has been registered. Initially due to lack of funds, this leads the following error:
backing off (retry in 5s ): rpc error: code = NotFound desc = rpc error: code = NotFound desc = account axelar1... not found: key not found

Perhaps we should check if the proxy has been registered and that the broadcaster has sufficient balance on start-up. Either not allow vald to be started until then or stop vald from processing events until that occurs. For the latter solution, we would have to monitor register proxy/create validator events though.
Current Behaviour
Expected Behaviour
Steps to reproduce (for bugs)
Relevant Logs or Files

This will now fail on simulation of ante handle checks when vald broadcasts the tx to the node #1316


[zh-cn] resync /access-authn-authz/admission-controllers.md

Updated text by following the en version #36018.
content/zh-cn/docs/reference/access-authn-authz/admission-controllers.md

Preview: https://deploy-preview-36070--kubernetes-io-main-staging.netlify.app/zh-cn/docs/reference/access-authn-authz/admission-controllers/

/lgtm
/approve


v0.3.1: Bug fixes and language updates

Bug fixes:

Updates the validator for the api auth node hostname to return true instead of "truthy" array.
Updates the validator for the api auth node hostname to correctly mark certain IP addresses as invalid.

Changes:

Simplifies the regex in the validator for the api auth node hostname to allow for underscores.
Updates language and urls to reflect the name change from Tulip "bot" to "API token"

Tested to my satisfaction :+1:


Is this scenario possible?

Hi,
I just wanted to know if such a setup would be possible and what would be the typical server required for it?
There is one teacher who will be teaching 100 students at one time and needs to see them all. The audio is optional.
All 100 will receive both audio and video of that teacher only. No other video/audio stream to be received by them.
Thanks for any help!

So, first of all, we have no support for making this use case happen automatically, though it is actually something we are working on. We are fairly close to be able to handle it. Would the teacher need to see all 100 students at the same time?
Soon we will have the feature for the moderator to lock a participant to the spotlight for all participants. This will make the teacher able to lock all students views to the teacher.
Soon we will have the necessary userroles to restrict what type of media a participant is allowed to share (audio/video, we allready have the screen sharing permission). This will make you able to restrict students to only sending video.
Because of the locked spotlight, no student would then be able to see any other student, and because of restricted permissions, no student will be able to broadcast audio to any other student.
That said, from a server perspective, one such room would fit within 1 core (modernish CPU) if you have configured things like the example config.

Thank you for your reply.
The teacher wants to keep an eye on all the students. So that would be great.
Looking forward to the new updates.


feat: enable placing islands anywhere

With this PR, we can put island components anywhere instead of under /app/routes or /app/islands. For example, the components placed like the following will be treated as islands.

/app/components/$counter.tsx
/app/components/_counter.island.tsx

In addition, I've added the following changes:

Made it islands directory only ^/islands or specify the path if passing the option.
Corrected importing path of client components in the client.
Simplify some options.
Fixed resolving alias path.

Fixes #159

I was thinking of making it based on @liltechnomancer 's code, but there has been a big difference. So, I can't add @liltechnomancer as a co-author, but your comment was helpful!

Hi @usualoma !
Could you review this one?

Thanks @usualoma !
I've fixed it. I'll merge this right now.


Import fails because of wrong schema

When trying to import data I get the following error message:
 ERROR: ========================================================= (vdv.js:246)
Feb 14 08:02:18 ip-172-31-33-221 realtimebus[30295]: ERROR: ==================== Import failed! ===================== (vdv.js:247)
Feb 14 08:02:18 ip-172-31-33-221 realtimebus[30295]: ERROR: ========================================================= (vdv.js:248)
Feb 14 08:02:18 ip-172-31-33-221 realtimebus[30295]: ERROR: Error: ERROR:  relation "data.rec_path" does not exist
Feb 14 08:02:18 ip-172-31-33-221 realtimebus[30295]:     at module.exports.Client._readError (/home/jenkins/realtimebus-v2/node_modules/pg-native/index.js:80:13)
Feb 14 08:02:18 ip-172-31-33-221 realtimebus[30295]:     at module.exports.Client._read (/home/jenkins/realtimebus-v2/node_modules/pg-native/index.js:121:19)
Feb 14 08:02:18 ip-172-31-33-221 realtimebus[30295]:     at PQ.emit (events.js:321:20)
Feb 14 08:02:18 ip-172-31-33-221 realtimebus[30295]:     at PQ.EventEmitter.emit (domain.js:485:12) {
Feb 14 08:02:18 ip-172-31-33-221 realtimebus[30295]:   severity: 'ERROR',
Feb 14 08:02:18 ip-172-31-33-221 realtimebus[30295]:   sqlState: '42P01',
Feb 14 08:02:18 ip-172-31-33-221 realtimebus[30295]:   messagePrimary: 'relation "data.rec_path" does not exist',
Feb 14 08:02:18 ip-172-31-33-221 realtimebus[30295]:   sourceFile: 'namespace.c',
Feb 14 08:02:18 ip-172-31-33-221 realtimebus[30295]:   sourceLine: '421',
Feb 14 08:02:18 ip-172-31-33-221 realtimebus[30295]:   sourceFunction: 'RangeVarGetRelidExtended'
Feb 14 08:02:18 ip-172-31-33-221 realtimebus[30295]: } (vdv.js:250)

I guess this happens because i didn't do a new installation from scratch but used the current underlying database.
@danielrampanelli Is there a schema migration strategy or do we have to reinstall the project every time we make changes to the schema?

As of now, the schema is correctly constructed (based on incremental changesets) only during a new installation (when using the "tools/setup.sh" script). It is obviously possible to prepare a "migrate" command/script for applying changes to an existing installation, without resorting to a complete bootstrap of the project.

Ok than let's add this a s a future improvement. The import worked correctly

Archiving


Add more tests

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

Comparison is base (fa133bb) 100.00% compared to head (e031ce7) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #573   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           25        25
  Lines         2145      2145
  Branches       276       276
=========================================
  Hits          2145      2145

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


Fix issue 69/onboarding page not centered at large width

I'm waiting for some input from Ray on #69. So this solution might just be a partial one. It does not include any limitation an the content's width. But I think we could merge it anyway and I'll create another PR if necessary.

It appears I branched off incorrectly, sorry. I'm going to create a corrected PR.


[Azs.Fabric.Admin] Regenerate.  New Test.  Recorded Sessions.  Bug Fix.

Had an error in the OpenAPI spec.  Fixed that and regenerated the C#.  Added two new tests and re-recorded all session data.  I have updated the version from 0.1.0 to 0.1.1 since this is just a bug fix.
https://github.com/Azure/azure-rest-api-specs/pull/1720

@deathly809,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@shahabhijeet Fixed the stuff.  I cannot reopen.


Common issues link in issue template

Linking common issues in issue template.
Fix for 912
@blainekasten please review

@ljharb Squashed to single commit


Looping Introduces Black Frames Between Loops

First off, love the idea of this plugin! Thanks for creating it! I'm trying to use several video loops to make my starting soon scene unique every time. I've looped the files back to back in my video editing software and gone through frame by frame - there's zero noticeable gap when looped. However, when using this in OBS, there's a few frames of black that are introduced between the loops, making it very distracting and obvious when a loop occurs.
Any idea what might be causing this or ways to fix it? I've tried using both mp4 and mov file types - both have the same issue.

Test by creating a new Scene Collection. Just add the browser source for the html file.
If it works there then this is an issue that some users have, I haven't been able to figure out why. Might just be too many sources slowing down your OBS.


TreeView - Custom Icons.

Describe the feature in detail (code, mocks, or screenshots encouraged)
Hi, Is there scope for enabling user's to provide custom open/closed icons for the treeview component?
What type of pull request would this be?
Enhancement
Provide relevant links or additional information.
No response

Hey Dan, unfortunately not at the moment. The Tree View was one of the last components introduced in Skeleton v2, which means it lacks some of the maturity of features of other comparable components. I will say we're absolutely open to adding this, but it'll have to come as part of our next major release (v3) as opposed to the current iteration. In fact next week I'm announcing plans to shift our full weight behind v3. It will be best for us to handle it there.
So here's what I'm going to do:

If you absolutely need this right now, I might suggest cloning the component to your project and customizing locally. Skeleton is open source, so it's possible. Though obviously this may not be trivial.
I'm going to link this issue on our pending v3 port of the Tree View component. We're taking into consideration all feature requests at the moment and implementing them there.
I'm going to go ahead and close this issue out, as it'll be essentially folded the other issue (linked below)

Likewise if you can think if any other similar requests, feel free to include them directly in the thread here:

https://github.com/skeletonlabs/skeleton/issues/2358


Update de_DE.lang

Corrected some spelling errors, some wrong translations and a lot of the missing translations. Hope this will help. :)

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Services "registry"

I started formalizing the idea in a wiki page: https://github.com/dandi/dandiarchive/wiki/WiP:-dump-of-thoughts-on-"services-registry"

This is returned by https://dandiarchive.org/server-info

I was not talking about our services, but rather external services which could be used on each file.

@yarikoptic, I'm going to close this issue as non-actionable, but I think it would make sense for you to pull any specific feasible service integrations from the wiki page and file new issues for each of them. That will make the proposed work much easier to track.


JS Enum 'physicalSpecDefinitionFieldType' needs renaming to 'fieldDataType'

waltz-ng/client/common/services/enums.js


Should "kotatsu build client" output index.html too?

Currently kotatsu build client outputs just a bundle and a sourcemap related to it. This is likely just fine if you serve the bundle yourself.
In my case I'm generating a whole app (index.html, app.js, vendor.js) to push into GitHub Pages. Previously I've used html-webpack-plugin to generate the index.html and references to my scripts.
Do you think kotatsu should have this sort of functionality integrated to it or should I handle it on my side?

That's a good question indeed. I'd say that you should handle it on your side because any "production" app is unlikely not to need a custom html file anyway. But let's take some time to think about it.

Yeah, I can handle it. As mentioned in another issue, this is likely something I should deal with it through webpack-presets so I get something nice to maintain.


Figure out how to put files in a specific drive

Hi Gordon,
I got submit.php working but cannot put files in the right folder. Do you wanna work on this?

yes
I made some changes on the new branch submit_effort.  I think this will fix the problem but my local server isn't working right now so I need to fix that before I can test it.

Current progress on main:

Yeah this is where I was too. Need to check server environment next
probably?
On Thu, Jun 29, 2023 at 12:43 AM Parth Parth @.***>
wrote:

Current progress on main:
[image: image]
https://user-images.githubusercontent.com/34807532/249673467-4ed1f4c8-c1b4-401a-8934-1f51b7d86988.png
—
Reply to this email directly, view it on GitHub
https://github.com/thecodingaviator/coasttocow/issues/3#issuecomment-1612422294,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZUYB3I7ZSZTWIGAN5JOIILXNUBWZANCNFSM6AAAAAAZTMQWQU
.
You are receiving this because you were assigned.Message ID:
@.***>

I have an eerie suspicion that composer is not doing its job

composer doesn’t respond exist from ssh so I’d guess that’s the issue
On Thu, Jun 29, 2023 at 12:48 AM Parth Parth @.***>
wrote:

I have an eerie suspicion that composer is not doing its job
—
Reply to this email directly, view it on GitHub
https://github.com/thecodingaviator/coasttocow/issues/3#issuecomment-1612426578,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZUYB3J7Q6AXOAO653QYLJ3XNUCLJANCNFSM6AAAAAAZTMQWQU
.
You are receiving this because you were assigned.Message ID:
@.***>

The vendor folder is there. How did you set composer up?

It was there when I synced there, but if you say in and call composer it
says not found¿ it didn’t get there from GitHub did it?
On Thu, Jun 29, 2023 at 12:52 AM Parth Parth @.***>
wrote:

[image: image]
https://user-images.githubusercontent.com/34807532/249674585-1d735a09-82c2-4c9d-a3c1-05d57805ae96.png
The vendor folder is there. How did you set composer up?
—
Reply to this email directly, view it on GitHub
https://github.com/thecodingaviator/coasttocow/issues/3#issuecomment-1612428685,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZUYB3OFTOCXX6IM64E7663XNUCZJANCNFSM6AAAAAAZTMQWQU
.
You are receiving this because you were assigned.Message ID:
@.***>

I may have put it there without knowing actually


Fix pointless checks

These were a leftover from the time when span still used a signed size type.

This is how LGTM displays the changes: https://lgtm.com/projects/g/tenzir/vast/rev/pr-d58c2575edd32950295d3146d3a4691f36ad9078


Update scodec-core to 1.11.9

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scodec", artifactId = "scodec-core" } ]

labels: library-update, semver-patch

Superseded by #100.


Adding in Requeue All feature for Failed Queues

I'm using django-rq to push through lots of jobs everyday (20k+) and sometimes a bunch of them will fail at once due to unforeseen issues (> 1000 failed jobs).   It is a bit cumbersome right now to requeue everything in 100 job batches using the only admin actions.  Thus, I've added in a "Requeue All" feature / button that only shows up on failed queue, similar to how Empty Queue works across all the queues.  Makes it much easier / faster to requeue a bunch of failed tasks after a problem is resolved.
Just let me know if you have any questions or need additional updates to approve pull request - happy to help.  Django-rq has worked great for our needs!

@lucashowell this is a good feature. Could you please implement an intermediary confirmation screen, similar to all job deletion before the action gets carried through? I don't want people to accidentally requeue all their failed jobs :).

@selwin Yep!  Will do.

@selwin Added that confirmation step - just let me know if there's anything else.  Thanks!

Hi @selwin - just thought I'd check in to see if you wanted me to do anything else to this pull request to get it merged in.
Thanks!


Fennel

[X] I have reviewed CONTRIBUTING.md.
[X] My commits and title use the Conventional Commit format.
[X] I have documented any breaking changes according to SemVer.

Adds basic fennel support. i just used l.DoString(fmt.Sprintf("local fennel = require 'fennel'; fennel.dofile('%s')", confpath)) which honestly isnt great but

you are switching to another lua thingy we can add that whenever and
the library just reads shit from the file and runs dostring anyway

I also moved .hilbishrc to sample_configs/init.lua so that i can also add a init.fnl. Also for now it will just first default lua. fennel is a second class citizen, not sure how integrated you would want it to be. Would also probably want to add some fennel specific stuff to make it easier.
you can totally just deny this if u want

although this would be good for fennel people, i don't really want to distribute fennel itself and this would be better as an outside thing (like delta, promptua)
if you do end up doing that, doc runner-mode has a documented way to make interactive input ran as fennel instead of lua, and some macros could be added