Feature request to schedule tasks

Hi!
This is only an idea and not super refined yet. I just wanted to get it out  to see how you would like it.
Now that Errands has integrated caldav, it will become a routine for me to use it. Whenever I think of something that needs to be done, I will add it to Errands (or to tasks.org on mobile, as I already do).
But in order to actually commit time for the tasks and work on them, I have to schedule them in the calendar.
So what if Errands had a feature where I could see my calendar entries and then drag & drop tasks into the calendar?
The caldav task structure was originally designed for calendar appointments. Basically tasks are appointments without a date set.
What do you think?

Сan you describe in more detail? I don’t really understand what you mean.

Sure.  It's about planning your tasks easily by using a weekly calendar alongside the task list. All you need to do is drag and drop your tasks into the calendar and they will automatically become calendar entries. Ideally (but I don't think this is possible) you can drag the errands tasks directly into Gnome Calendar.
Since you have already integrated Caldav, converting tasks into appointments is technically no longer a big effort. As I said, in caldav tasks are essentially appointments without date and time.

I think I can make a button to open task in default calendar app... Just need to convert it to temporary .ics file and open it in the same time with xdg-open, that could work.

Sounds like a great idea. Could you implement it that way?
I hope I will not be the only person using it. ;)

I've tested this idea. It works :) I'll add this in one of the next updates.

It's not in the latest update, is it?
I couldn't find it in 45.0.4

No, it will probably be in 45.0.6 or 45.1

Added export task as ".ics" file in 45.1., so it can be opened by any calendar app.


Mutlicolor highlight:  The color tray is displayed even when a verse is not selected for highlighting

Issue description: The color tray is displayed even if a verse is not selected for highlighting.
Steps:
Select a few verses and highlight them using the multicolor highlight.
Now move to a different tab /window and navigate back to the  previous chapter
Observation :
The color tray is displayed even if verses are not highlighted.
Expected Result:
The color tray  is to be hidden if the verses are not selected for highlighting.

Re-opening as this issue was seen in VachanGo1.3.0-alpha.2

Selected a verse -> Color displays
Tried switching to a different chapter to test if the color tray would display inappropriately
Result:The color displays only when a verse is selected, as expected.


CB-4787 fix duplicate identity-assertion field in cdp-token topology

FWIW - don't technically need the else statement in there. A default identity-assertion provider is added even if it doesn't exist.

Got it. I'll remove it then.

Done.


Default port and address of 'foxglove_bridge_launch.xml' not met when launching

Description

Version: ROS 2 Humble
Platform: Raspberry Pi 5 (using Ubuntu 22.04) connected to a PC (using Windows)

Steps To Reproduce
1°) On the one hand, by using the command line ros2 launch foxglove_bridge foxglove_bridge_launch.xml in the Ubuntu terminal, the address and the port are properly set judging by the terminal's feedback :
[INFO] [foxglove_bridge-1]: process started with pid [13913]
[foxglove_bridge-1] [INFO] [1721823866.109491784] [foxglove_bridge_component_manager]: Load Library: /opt/ros/humble/lib/libfoxglove_bridge_component.so
[foxglove_bridge-1] [INFO] [1721823866.120097007] [foxglove_bridge_component_manager]: Found class: rclcpp_components::NodeFactoryTemplate<foxglove_bridge::FoxgloveBridge>
[foxglove_bridge-1] [INFO] [1721823866.120203156] [foxglove_bridge_component_manager]: Instantiate class: rclcpp_components::NodeFactoryTemplate<foxglove_bridge::FoxgloveBridge>
[foxglove_bridge-1] [INFO] [1721823866.125399664] [foxglove_bridge]: Starting foxglove_bridge (humble, 0.7.7@) with WebSocket++/0.8.2
[foxglove_bridge-1] [INFO] [1721823866.126065432] [foxglove_bridge]: [WS] Server running without TLS
[foxglove_bridge-1] [INFO] [1721823866.126504308] [foxglove_bridge]: [WS] WebSocket server listening at ws://<IP_ADDRESS>:8765
[foxglove_bridge-1] [INFO] [1721823866.126538567] [foxglove_bridge]: [WS] WebSocket server run loop started

Therefore I can visualize things as expected in Foxglove Studio in the PC.
2°) On the other hand, I created the following launch file, which include the equivalent launch and other ROS2 functions:
from launch import LaunchDescription
from launch.actions import IncludeLaunchDescription, ExecuteProcess
from launch.launch_description_sources import PythonLaunchDescriptionSource
from launch_xml.launch_description_sources import XMLLaunchDescriptionSource
from launch_ros.actions import Node
import os

def generate_launch_description():
    # Include rosbridge websocket [launch file] :
    rosbridge_launch_path = os.path.join(get_package_share_directory('rosbridge_server'),
                                     'launch',
                                     'rosbridge_websocket_launch.xml')
    rosbridge_launch = IncludeLaunchDescription( XMLLaunchDescriptionSource(rosbridge_launch_path) )

    # Include foxglove bridge [launch file] :
    foxglove_bridge_launch_path = os.path.join(get_package_share_directory('foxglove_bridge'),
                                           'launch',
                                           'foxglove_bridge_launch.xml')
    foxglove_bridge_launch = IncludeLaunchDescription( XMLLaunchDescriptionSource(foxglove_bridge_launch_path) )

    # Include xsarm moveit [launch file] :
    xsarm_moveit_launch_path = os.path.join(get_package_share_directory('amlab_xsarm_moveit'),
                                            'launch',
                                            'xsarm_moveit.launch.py')
    xsarm_moveit_launch = IncludeLaunchDescription( PythonLaunchDescriptionSource(xsarm_moveit_launch_path),
        launch_arguments={'robot_model': 'wx250s', 'hardware_type': 'actual'}.items() )

    # Include ros2_service_wrapper.py [executable] :
    ros2_service_wrapper = ExecuteProcess( cmd=[ 'python3',
        os.path.join(get_package_share_directory('amlab_xsarm_moveit'), 'ros2_service_wrapper.py') ],
        output='screen')

    # Launch the whole :
    return LaunchDescription( [rosbridge_launch, foxglove_bridge_launch, xsarm_moveit_launch, ros2_service_wrapper] )

# Function to get packages paths :
def get_package_share_directory(package_name):
    from ament_index_python.packages import get_package_share_directory
    return get_package_share_directory(package_name)

In this way, the default address and port are not met as can be seen in the terminal feedback :
[foxglove_bridge-3] [INFO] [1721824501.660898719] [foxglove_bridge]: [WS] WebSocket server listening at ws://[::1]:9090
It should be ws://<IP_ADDRESS>:8765 instead of ws://[::1]:9090), so of course Foxglove Studio cannot get the data :(
3°) I can solve this by specifying the address and the port as launch arguments in my launch file:
foxglove_bridge_launch = IncludeLaunchDescription( XMLLaunchDescriptionSource(foxglove_bridge_launch_path),
        launch_arguments={'port': '8765', 'address': '<IP_ADDRESS>'}.items() )

By doing so I obtain ws://<IP_ADDRESS>:8765 as expected and Foxglove Studio works.
Expected Behavior
The result obtained at step 3°) should appear at the step 2°), since the port and the address are set by default to "8765" and "<IP_ADDRESS>" in foxglove_bridge_launch.xml, which is the file called by my launch code. What is the reason for this error?

It seems like it picks up the default port of the rosbridge_server, which is 9090
To me this looks like a ROS bug. Both rosbridge_server and foxglove_bridge launch files have a port argument with different default ports and apparently something is going wrong when including both of these launch files.
I assume it correctly uses port 8765 if you do remove rosbridge_server from your launch file? Probably changing the order of the two includes will also affect the assigned ports?

@achim-k, indeed, the default foxglove bridge port is correct when removing the launching of rosbridge_server. It is also correct when foxglove_bridge is launched before rosbridge_launch, that's to say by using
return LaunchDescription([foxglove_bridge_launch, rosbridge_launch, xsarm_moveit_launch, ros2_service_wrapper])
instead of
return LaunchDescription([rosbridge_launch, foxglove_bridge_launch, xsarm_moveit_launch, ros2_service_wrapper]). Thank you for the idea.
... Yet, this behavior looks abnormal and there is probably a ROS bug as you said.

Feel free to open an issue at https://github.com/ros2/launch. I'm going to close this issue here as the cause for this issue is not foxglove_bridge related.


Reduce worker surprise around no workerID input

A major step here would be to have a page at the start or end of each survey that has a worker ID shown that asks for them to confirm, or for them to acknowledge that a particular worker ID will be used for payment, something like the following could appear on the first page, with a "Next page" button at the bottom:

This is a personalized URL for the person who received this notification from Amazon Mechanical Turk. Completing this activity will result in a bonus being sent to worker ID ...

And then perhaps on the thanks page again with something like:

Thank you for completing this activity. We will send the bonus for this work to worker ID ...

These should only appear when:

we are using this system to bonus, and
we there is a worker id.

In addition to this I would like to add a line in the email that says their worker ID.
Something like updating the sentence about personal URLs to say something like this:

These are personal URLs for Worker ID ... and we will use them to know when you have completed the task so that we can bonus you.

@sumants-dev can you take a look at this before the next wave.

Great — thanks


How does the pytorch seed affect the model in eval mode?

Hello,
Thanks for providing the code and the models!
I have a question regarding the model in eval mode. We trained a model on our own custom dataset and then wanted to check how good it is for image retrieval. To do this, we loaded the full final checkpoint, saved from the Training Checkpointer, and created embeddings for our images. We then observed that these embeddings changed after reloading the checkpoint.
We checked the scripts in the eval folder and saw that the seeds are fixed for the evaluation of the model. We then loaded the model and only saved the state dict, as explained here. After reloading the model from the saved file, it appears that the seed is fixed and results in the same embedding. We assumed that the seed was initialized randomly and that this is also stored in the state dict. However, for the checkpoint from the training, the seed is somehow randomly initialized each time the model is loaded.
After a  reload the cosine similarity between embeddings for the same image drops from 1.0 to somewhere between +0.3 and -0.3. So the embeddings are totally different with a different seed.
So I have two questions:

Why is the model still dependent on the seed in eval mode?
Do different seeds influence the performance of the model after training is completed or do all seeds lead to similar results?

Thanks in advance!
Best,
Manuel

This is unexpected, can you show your code ?

I added a custom dataset, which is similar to the Imagenet class:
+from typing import Any, Callable, Optional, Tuple
+from PIL import Image
+from pathlib import Path
+
+
+class Dokiq(ExtendedVisionDataset):
+
+    def __init__(
+        self,
+        *,
+        root: str = '/var/dokiq/dev/data-folder/file-data/thumbnails/medium',
+        transforms: Optional[Callable] = None,
+        transform: Optional[Callable] = None,
+        target_transform: Optional[Callable] = None,
+    ) -> None:
+        super().__init__(root, transforms, transform, target_transform)
+        path = Path(root)
+        self.paths = list(path.glob('**/*.png'))
+
+    def get_image_data(self, index: int) -> bytes:
+        image_path = self.paths[index]
+        image = Image.open(image_path).convert(mode="RGB")
+        return image
+
+    def get_target(self, index: int) -> Any:
+        return 0  # we return zero as we only have one class
+
+    def __getitem__(self, index: int) -> Tuple[Any, Any]:
+        try:
+            image = self.get_image_data(index)
+        except Exception as e:
+            raise RuntimeError(f"can not read image for sample {index}") from e
+        target = self.get_target(index)
+
+        if self.transforms is not None:
+            image, target = self.transforms(image, target)
+
+        return image, target
+
+    def __len__(self) -> int:
+        return len(self.paths)

I also updated the config vitl16_short.yaml to use the custom dataset:
train:
  batch_size_per_gpu: 64
  dataset_path: Dokiq
student:
  block_chunks: 4

I ran this command to train the model: PYTHONPATH=. python dinov2/run/train/train.py  --nodes 1  --gpus 1  --config-file dinov2/configs/train/vitl16_short.yaml --output-dir output_dokiq
to test the model we used this class:
class ImageEncoder(torch.nn.Module):
    checkpoint_path = Path('../output_dokiq/model_final.pth') # this model is from the checkpointer after dino training is finished

    #crop_size = 518
    #patch_size = 14
    default_config = {
        # from vit_large in models.py from the dino repo
        "embed_dim": 1024,
        "depth": 24,
        "num_heads": 16,
        "mlp_ratio": 4,
        "block_fn": partial(NestedTensorBlock, attn_class=MemEffAttention),

        # from hubconf.py in the dino repo
        "patch_size": 16,
        "img_size": 224,
        "ffn_layer": "mlp",
        "block_chunks": 4,
        "init_values": 1.0,
    }
    model_class = DinoVisionTransformer

    _instance: Optional["ImageEncoder"] = None

    preprocess_image = T.Compose([
        T.Lambda(lambda img: img.convert('RGB')),
        T.Resize(224),
        T.CenterCrop(224),
        T.ToTensor(),
        T.Normalize((0.48145466, 0.4578275, 0.40821073), (0.26862954, 0.26130258, 0.27577711))
    ])
    model_class: Type[torch.nn.Module]

    @classmethod
    def get(cls) -> "ImageEncoder":
        if cls._instance is None:
            cls._instance = cls.load_from_checkpoint(
                cls.checkpoint_path,
                config=cls.default_config
            )
            cls._instance.train(mode=False)
        return cls._instance

    def __init__(self, config):
        super().__init__()
        self.model = self.model_class(**config)
        self.model.eval()

    @classmethod
    def load_from_checkpoint(cls, checkpoint_path: Path, config: dict[str, Any]):
        dinov2_utils.fix_random_seeds(42) # without this line we always get different embeddings after each reload
        model = cls(config)
        dinov2_utils.load_pretrained_weights(model.model, str(checkpoint_path), "teacher")
        model.model.eval()
        return model

    def forward(self, x) -> torch.Tensor:
        return self.model.forward(x)

    def encode_images(self, image_batch: list[Image]) -> npt.NDArray[np.float32]:
        with torch.no_grad():
            preprocessed_images = torch.stack([self.preprocess_image(image) for image in image_batch]).cuda()
            image_features = self.forward(preprocessed_images)
            image_features /= image_features.norm(dim=-1, keepdim=True)
        return image_features

    def encode_image(self, image: Image) -> npt.NDArray[np.float32]:
        return self.encode_images([image])[0]

To check the similarity of embeddings, I just run:
model = ImageEncoder.get()
model = model.cuda()
model = model.eval()

embedding = np.load('embedding.npy') # from the same model, but before the reload
img = Image.open("img")
new_embbeding = model.encode_image(img)
np.save('embedding.npy', new_embbeding)
new_embbeding = new_embbeding.T.cpu().numpy()
print(embedding @ new_embbeding)

When I run torch.save(model.model.state_dict(), 'model.pt') the embeddings of the model will stay the same even after reloading the model. (Which I had also expected from using the model saved from the checkpointer)

can you try to use the teacher_checkpoint.pth model from inside the eval/training_*** folder ?

Thank you very much! It looks like that was the problem. Now the embeddings don't change after a reload and I don't have to fix the seeds either.

I'm not sure what's going on; in .eval() mode things should do the same from one run to the other...


i want to change prayer time and add some more city

i want to change prayer time and add some more city
how # ****

Duplicate of https://github.com/mehmetakiftutuncu/Muezzin/issues/3


TEST-#5489: Allow for pytest to print warnings in tests output

What do these changes do?

This will help me since I'm currently working on warnings (removing extras/adding missing ones). On the other hand, this should not complicate much reading CI runs.

[x] first commit message and PR title follow format outlined here

NOTE:  If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

[x] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] signed commit with git commit -s
[x] Resolves #5489
[x] tests added and passing
[x] module layout described at docs/development/architecture.rst is up-to-date

@YarShev could you also take a look?


publish<EMAIL_ADDRESS>

Requested by: @st0012
Quick links:

View changes
View check runs

Assign the accepted label to this issue to approve the release.
Targets

[ ] gem
[ ] registry
[ ] registry
[ ] registry
[ ] registry
[ ] registry
[ ] github

This is for testing the new release workflow.

@st0012 alrighty, that said we have fixed the issue now so we can publish whenver.


Update the circle-ci configuration for circle-ci 2.0

https://github.com/MEDIGO/go-dlm/commit/9fac196c431fc5ea062084ed532713cfb6c44784 Resolves it


Add hspec discover

TL;DR: Adds hspec-discover as a build-tool dependency in package.yaml and the corresponding new cabal file.
The test suite won't build without hspec-discover being installed.  This bit me two ways:

The first time I tried testing the zoo, I didn't have hspec-discover installed and so the tests wouldn't build.

haskell-ci generated travis.yml wasn't working for RandomFu until I added hspec-discover as a build-tool dependency in the test section.

Awesome, thanks! This just works on stack, so it's nice to know my experience isn't universal. I'll make the same change in polysemy.


Similar refs failed build

Added org.wesnoth.Wesnoth to list.
Error:
user@d8n ~/d8n-config (master)> sudo nixos-rebuild switch --flake .
warning: Git tree '/home/user/d8n-config' is dirty
building the system configuration...
warning: Git tree '/home/user/d8n-config' is dirty
updating GRUB 2 menu...
activating the configuration...
setting up /etc...
reloading user units for user...
setting up tmpfiles
the following new units were started: systemd-localed.service
warning: the following units failed: flatpak-managed-install.service

× flatpak-managed-install.service
     Loaded: loaded (/etc/systemd/system/flatpak-managed-install.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Fri 2024-02-02 14:32:47 EST; 97ms ago
TriggeredBy: ● flatpak-managed-install.timer
    Process: 39689 ExecStart=/nix/store/rv2gx05rij8gnr803iqinkg9s979946y-flatpak-managed-install (code=exited, status=1/FAILURE)
   Main PID: 39689 (code=exited, status=1/FAILURE)
         IP: 202.7K in, 21.2K out
        CPU: 2.728s

Feb 02 14:32:44 d8n systemd[1]: Starting flatpak-managed-install.service...
Feb 02 14:32:47 d8n rv2gx05rij8gnr803iqinkg9s979946y-flatpak-managed-install[39862]: Similar refs found for ‘org.wesnoth.Wesnoth’ in remote ‘flathub’ (system):
Feb 02 14:32:47 d8n rv2gx05rij8gnr803iqinkg9s979946y-flatpak-managed-install[39862]:    1) app/org.wesnoth.Wesnoth/x86_64/stable
Feb 02 14:32:47 d8n rv2gx05rij8gnr803iqinkg9s979946y-flatpak-managed-install[39862]:    2) app/org.wesnoth.Wesnoth/x86_64/1.14
Feb 02 14:32:47 d8n rv2gx05rij8gnr803iqinkg9s979946y-flatpak-managed-install[39862]: Which do you want to use (0 to abort)? [0-2]: 0
Feb 02 14:32:47 d8n rv2gx05rij8gnr803iqinkg9s979946y-flatpak-managed-install[39862]: error: No ref chosen to resolve matches for ‘org.wesnoth.Wesnoth’
Feb 02 14:32:47 d8n systemd[1]: flatpak-managed-install.service: Main process exited, code=exited, status=1/FAILURE
```
``

Change org.wesnoth.Wesnoth to org.wesnoth.Wesnoth//<theVersionYouWant> where theVersionYouWant is either stable or 1.14.
@gmodena This issue should probably be converted to one that covers updating docs to either explain this, or link to a resource that does.

Maybe a link to this page that explains how flatpak identifiers are formatted to the docs. Also an example somewhere that uses it.

I'll leave this issue open for future reference and add some pointers to doc; but I think the error message (and @ReedClanton ) was pretty clear :
Feb 02 14:32:47 d8n rv2gx05rij8gnr803iqinkg9s979946y-flatpak-managed-install[39862]: Similar refs found for ‘org.wesnoth.Wesnoth’ in remote ‘flathub’ (system):
Feb 02 14:32:47 d8n rv2gx05rij8gnr803iqinkg9s979946y-flatpak-managed-install[39862]:    1) app/org.wesnoth.Wesnoth/x86_64/stable
Feb 02 14:32:47 d8n rv2gx05rij8gnr803iqinkg9s979946y-flatpak-managed-install[39862]:    2) app/org.wesnoth.Wesnoth/x86_64/1.14
Feb 02 14:32:47 d8n rv2gx05rij8gnr803iqinkg9s979946y-flatpak-managed-install[39862]: Which do you want to use (0 to abort)? [0-2]: 0
Feb 02 14:32:47 d8n rv2gx05rij8gnr803iqinkg9s979946y-flatpak-managed-install[39862]: error: No ref chosen to resolve matches for ‘org.wesnoth.Wesnoth’


python311Packages.jupyter-nbextensions-configurator: remove useless nose dependency

Description of changes
Addresses https://github.com/NixOS/nixpkgs/pull/317578#issuecomment-2153738660.
cc @natsukium
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 317922 run on aarch64-darwin 1

2 packages marked as broken and skipped:

python311Packages.jupyter-contrib-nbextensions
python311Packages.jupyter-contrib-nbextensions.dist

4 packages built:

python311Packages.jupyter-nbextensions-configurator
python311Packages.jupyter-nbextensions-configurator.dist
python312Packages.jupyter-nbextensions-configurator
python312Packages.jupyter-nbextensions-configurator.dist

Result of nixpkgs-review pr 317922 run on x86_64-darwin 1

2 packages marked as broken and skipped:

python311Packages.jupyter-contrib-nbextensions
python311Packages.jupyter-contrib-nbextensions.dist

4 packages built:

python311Packages.jupyter-nbextensions-configurator
python311Packages.jupyter-nbextensions-configurator.dist
python312Packages.jupyter-nbextensions-configurator
python312Packages.jupyter-nbextensions-configurator.dist

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

2 packages marked as broken and skipped:

python311Packages.jupyter-contrib-nbextensions
python311Packages.jupyter-contrib-nbextensions.dist

4 packages built:

python311Packages.jupyter-nbextensions-configurator
python311Packages.jupyter-nbextensions-configurator.dist
python312Packages.jupyter-nbextensions-configurator
python312Packages.jupyter-nbextensions-configurator.dist

Result of nixpkgs-review pr 317922 run on aarch64-linux 1

2 packages marked as broken and skipped:

python311Packages.jupyter-contrib-nbextensions
python311Packages.jupyter-contrib-nbextensions.dist

4 packages built:

python311Packages.jupyter-nbextensions-configurator
python311Packages.jupyter-nbextensions-configurator.dist
python312Packages.jupyter-nbextensions-configurator
python312Packages.jupyter-nbextensions-configurator.dist


python-mwviews does not handle unicode in titles

I'm not sure where the most appropriate place to open this issue is, but I suppose trying both places doesn't hurt.
The report is on Phabricator: https://phabricator.wikimedia.org/T123200

Is this still an issue? For me it seemed to solve all unicode issues by using Python3 instead of Python2.

Phabricator is the appropriate place, we're still swamped with work, though, so I really appreciate your patience.  The work-around as edoderoo suggests is using python 3, because of course python 2 is unholy and evil when it comes to encoding :)


feat: adds neq, lt, lte, gt, and gte filter to stream

What kind of change does this PR introduce?
Feature that adds the `newly supported realtime filters](https://github.com/supabase/walrus/issues/9#issuecomment-1018927685) support for stream method.
The list is

neq
lt
lte
gt
gte

What is the current behavior?
The above filters are not supported in stream method.
What is the new behavior?
The filters above are supported
Fixes https://github.com/supabase-community/supabase-flutter/issues/91

supabase
.from('tables')
.stream(primaryKey: ['id'])
.eq('projectId', projectId)
.gte('datetime', '2022-11-01')
.lt('datetime', t'2022-11-02')
.order('datetime', ascending: true);
Is it possible to apply multi-filters like the above sample??

Hi @JasonChiu-dev
At the moment, because of the limitation on our realtime server, applying multiple filters is not possible. Our team is constantly working on improving its capabilities, so this it might be possible in the long run, but cannot promise anything at the moment.

Thank you for your reply. Hope to see this feature soon.
Jason


add isChildOf method

Add method to check if the node is a direct descendant of a node.
Especially useful for testing

The CI build failed. Please fix the errors and resubmit the PR.


Ẋ outputs in a... strange order

Try it Online!
Compare to Old vyxal, Jelly, and 05AB1E.

It's because of how cartesian product must be taken over infinite lists. It's equivalent to, say, enumerating all possible fractions:

And we can't really make it output in a different way until we fix #670.

Can we then add a digraph that does not support infinite lists?

@Steffan153 That sounds fine to me

@Steffan153 That sounds fine to me, do you want to implement it or should I?

Actually, "Π works fine, so it's not needed.


Scrolling past game area

Clicking (or clicking and holding) the scroll wheel button allows you to scroll past the game area into a blank space. Scrolling by just moving the scroll wheel normally does not have this issue. Seen on Firefox 37.

Related: The left sidebar extends 8 pixels past the bottom of the game area and is partially cut off when viewed normally.
Sort of related: Is there a way to make the right scroll-bar hidden when playing at a resolution high enough that it's disabled anyway? Grayed out scroll-bars are an eyesore.

The blank space below was solved with an overflow:hidden on the ponyboard element.
I actually had the scrollbar on auto on the right, then made it permanent after it started causing problems. I'll try putting it back in.

This was fixed, but you need to do ctrl-F5 if you want the new CSS to show up, otherwise it'll be cached.

Awesome, it all looks great on my end! Thanks.


add golangci check

Describe the solution you'd like
Add golangci check - https://golangci.com/ to the pipeline, which will automatically comment style and code quality issues in new pull requests.

done


Unable to use brew

If I run:
brew update
I'm getting:
-bash: brew: command not found
Then, if I run:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
I'm getting:
It appears Homebrew is already installed. If your intent is to reinstall you
should do the following before running this installer again:
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
The current contents of /usr/local are bin Cellar etc Frameworks Homebrew include lib opt sbin share var

So, then, if I try to uninstall brew in order to reinstall it:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
I'm getting:
Failed to locate Homebrew!
So... what I supposed to do?

It was in vv0.60.0 version, git hash f2c2f85, there is no bin, and was modified in 10 month ago.

Fix with cd /usr/local/Homebrew; git checkout master,
DO NOT brew update now!

Sorry but you have not followed the requested steps on the Troubleshooting page
Please follow (all of) these steps and post the information here so we can help you with your problem.
Thanks!

I did it, but nothing there solved my problem.

@eMdOS Yes but we need the information it instructs you to provide to help you. I'll reopen this when you read it and provide it.

i have the same issue, running 10.11.6 osx, i cant do the troubleshooting because -bash: brew: command not found

Now brew udpate works well, the git hash is 817bc2746e594761911edd78f743a640f089494f

@miomao656 https://github.com/homebrew/install#uninstall-homebrew

i get this message when trying to uninstall Failed to locate Homebrew!

@miomao656 You'll need to delete your files manually or run ln -sf /usr/local/Homebrew/bin/brew /usr/local/bin/brew which may fix your installation.

tnx this command line worked :)

I have this issue, how to fix it? please help me out, Thanks!
dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk
Referenced from: /usr/local/bin/git
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ___strlcpy_chk
Referenced from: /usr/local/bin/git
Expected in: /usr/lib/libSystem.B.dylib


Fix broken links in assignments and README

Some links are broken when they are supposed to be external links but are instead interpreted as relative links. For instance on the most recent homework, the link in the assignment detail (shown below) is interpreted as going to https://ok-server.appspot.com/cs61a.org/hw/hw08, where it should go to http://cs61a.org/hw/hw08 instead.

To fix this, I just added a function to check if a url string starts with http, and if it does, it is already absolute, but if not, http:// is added so that the link becomes absolute. I also made some small changes to fix a broken link in the README with the same relative/absolute problem and specify that the Google App Engine SDK to download is for Python.

Looks good to me. Thanks!

Thanks!

FYI: Was looking at the logs and saw a lot of frontend errors because url was null. I've pushed a quick fix in 1d9dad9923cb1d708d91c3d4105f7af18059c002


[KYUUBI #1732] Reduce spark driver memory configuration to protect fa…

…iling from OOM

Why are the changes needed?

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #1734 (49f88df) into master (d2f10e9) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1734      +/-   ##
============================================
- Coverage     59.53%   59.52%   -0.01%
+ Complexity      234      233       -1
============================================
  Files           268      268
  Lines         13304    13305       +1
  Branches       1688     1688
============================================
  Hits           7920     7920
- Misses         4708     4709       +1
  Partials        676      676

Impacted Files
Coverage Δ

.../apache/kyuubi/server/api/v1/ApiRootResource.scala
92.00% <100.00%> (+0.33%)
:arrow_up:

...in/scala/org/apache/kyuubi/server/api/v1/dto.scala
65.38% <100.00%> (+0.67%)
:arrow_up:

...rg/apache/kyuubi/zookeeper/EmbeddedZookeeper.scala
86.66% <100.00%> (-0.44%)
:arrow_down:

...he/kyuubi/engine/spark/repl/KyuubiSparkILoop.scala
90.16% <0.00%> (-3.28%)
:arrow_down:

...ache/kyuubi/operation/KyuubiOperationManager.scala
95.00% <0.00%> (+2.50%)
:arrow_up:

Continue to review full report at Codecov.

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


Misleading error message on ENOENT

When a given directory does not exist, the tool currently says it was not specified
strace overlay diff --lowerdir=/sysroot
...
readlink("/sysroot", 0x7ffdfc3f36c0, 1023) = -1 ENOENT (No such file or directory)
write(2, "Lower directory not specified.\n", 31Lower directory not specified.
) = 31

Would be nice to print that the directory does not exist instead.
Also, adding a --version flag and tagging releases would be a good idea. This tool is packaged for fedora, but it is impossible to say at what code state.

Version is a good idea. Although I'd prefer to have a proper build system for that (I'm inclined to meson right now).
For the issue with the misleading message, could you please create a PR?

I'll see if I can find the time for a PR. You could also add good-first-issue label.


[BUG] Local React builds take much longer with @frontegg/react package

Describe the bug
Comparing two states of the app development, first one is without @frontegg packages imported nor used in the code, second is with the @frontegg/react added to project and imported in code, with LoginBox used.
The LoginBox is used in an embedded configuration.

App is created in create-react-app,
React is "17.0.2",
@frontegg/react is "5.0.15"

To Reproduce
Steps to reproduce the behavior:

start the local development server
apply any insignificant change to code (e.g. insert a comment or console.log)
observe the amount of time to rebuild/ hot reload the app in the console
Time to reload takes a lot of time (approx. 11+ secs)

Expected behavior
There should be no major increases in reload time with Frontegg, I think that ~1-2 secs extra could be acceptable.
Additional context
In case you need additional info, I'm happy to help

User reported It is working after changing minor package versions \ fresh to the development builds.


[MINOR] Format the code

Multiple PRs will be merged for this issue.
Edit: Focused on version2 branch more

Remove commented code
Re-arrange the imports, like keeping all react related together, all MUI related together.
Add comments where ever needed.
Re-write MUI lines which can be included in single line, example:
Most of our files are written using Option 1, format it in Option 2.

hey @pranshugupta54 can you please assign this to me?

Hi @aryankshl! Thanks for wanting to contribute. To begin, try setting it up on your computer. If you run into any issues or have questions, feel free to join us on Discord. We're here to assist!
You can directly work on this and make PR, we'll take multiple PRs (so not assigning this to individuals)

I wish to contribute. Kindly assign me this.

Hi @saku1331! Thanks for wanting to contribute. To begin, try setting it up on your computer. If you run into any issues or have questions, feel free to join us on Discord. We're here to assist!
You can directly work on this and make PR, we'll take multiple PRs (so not assigning this to individuals)

Hey i am interested in working on this issue

hey @MayurShirodkarOfficial , you can directly work on it

@pranshugupta54, can i work on this?

hey @inbuilt-aura, this is open to all! All good fixes will be merged

@pranshugupta54, there is an issue i am getting. Vite is not recognized, someone deleted vite from client side, so i have to reinstall

@inbuilt-aura, we can discuss on discord

Hey @pranshugupta54, for that give one more chance as there were few issues needs to resolve.Plzz open this issue.

hey @inbuilt-aura, this is still open!
if you're talking about converting to ES6, you can fork the repo again (make sure to uncheck 'main' branch only)

@pranshugupta54, ok let me open new issue for that and will work on version2 this time no mistake.


g.Log() will produce inconsistent results when printing text with special characters multiple times

1. What version of Go and system type/arch are you using?

go1.17.2
2. What version of GoFrame are you using?

v2.2.4
3. Can this issue be re-produced with the latest release?
yes
4. What did you do?

var Test = &struct {
   A string
}{
   A:"",
}
aaa := "aaa\b\b\b\b\b\b"
Test.A = aaa

g.Log().Info(ctx, Test.A, "bbb", aaa)

5. What did you expect to see?
aaa bbb aaa

6. What did you see instead?
bbb aaa

@xiucaiwu That is the characters which you print to the terminal causes the result. Please check the character \b.


ArchaiusAutoConfiguration  configureArchaius defaultURLConfig above envConfig

If the ConfigurableEnvironmentConfiguration ``DynamicURLConfiguration has the same property key and the ConfigurableEnvironmentConfiguration priority is greater than DynamicURLConfiguration, the property value cannot be obtained dynamically.

@zhangxiudong Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@zhangxiudong Thank you for signing the Contributor License Agreement!

Codecov Report

Merging #2020 into master will decrease coverage by 1.05%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2020      +/-   ##
==========================================
- Coverage   76.45%   75.39%   -1.06%
==========================================
  Files         212      209       -3
  Lines        6387     6340      -47
  Branches      794      793       -1
==========================================
- Hits         4883     4780     -103
- Misses       1165     1222      +57
+ Partials      339      338       -1

Impacted Files
Coverage Δ

...ud/netflix/archaius/ArchaiusAutoConfiguration.java
80.76% <100%> (ø)
:arrow_up:

...ing/FeignContentGzipEncodingAutoConfiguration.java
0% <0%> (-100%)
:arrow_down:

...ding/FeignAcceptGzipEncodingAutoConfiguration.java
0% <0%> (-100%)
:arrow_down:

.../feign/encoding/FeignClientEncodingProperties.java
0% <0%> (-66.67%)
:arrow_down:

...netflix/feign/encoding/BaseRequestInterceptor.java
0% <0%> (-50%)
:arrow_down:

...n/encoding/FeignAcceptGzipEncodingInterceptor.java
0% <0%> (-50%)
:arrow_down:

...loud/netflix/hystrix/stream/HystrixStreamTask.java
75.46% <0%> (-19.91%)
:arrow_down:

...loud/netflix/ribbon/DefaultServerIntrospector.java
66.66% <0%> (-16.67%)
:arrow_down:

...lix/eureka/EurekaDiscoveryClientConfiguration.java
73.33% <0%> (-13.34%)
:arrow_down:

...rk/cloud/netflix/feign/FeignAutoConfiguration.java
47.36% <0%> (-10.53%)
:arrow_down:

... and 24 more

Continue to review full report at Codecov.

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

Can you explain the real life use case of why you want this change?

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


[FR] filter selectable entries in order view

Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find a similar feature request

Problem statement
Hi again,
when ordering a part one has to select a fitting a supplier part and purchase order. Neither of both selections are pre-filtered by the selection done before, resulting in an undescriptive error message Form error exists in case a purchase order of a supplier is selected which is not matching the suppliers part supplier.
Suggested solution
It would be nice if after each of the two items is selected, the other one would be filtered to match the selected supplier. So if you use a supplier part, only these purchase orders can be selected, which have the same supplier or if you selected a purchase order to make only the fitting supplier parts available.
Describe alternatives you've considered
A more descriptive error message which actually says that the part does not matches the order would probably a small fast fix. but wont improve usability as much as the automatic filtering.
Examples of other systems
No response
Do you want to develop this?

[ ] I want to develop this.

Should be achievable with the current reactive forms architecture :)

@SchrodingersGat could you reopen this, as it is still not done?


Adds possibility to set headers to zipkin exporter

Which problem is this PR solving?

Fixes #1200

Short description of the changes

It adds possibility to set headers to zipkin exporter

It would be nice if you can update the Usage section in Readme (https://github.com/open-telemetry/opentelemetry-js/blob/master/packages/opentelemetry-exporter-zipkin/README.md) to highlight this new option, otherwise there is no easy way for new users to know about this option.

/cc @astorm


Prevent conflict for older versions

Because of React 0.14 release older versions that are require >=0.12 can make a conflict with other peer dependencies
That's what I have now:
08:08:42 npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>|| ^0.14.0-beta1
08:08:42 npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>08:08:42 npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>

It will not fix my issue but it prevent it in the future versions of React.


Limitations- reports cannot be created from Power BI Desktop

I believe that you must create a report from the Power BI service to use Direct Lake. Creating a report from Power BI desktop creates a live connection to the Power BI dataset/semantic model and does not use Direct Lake.
If this is correct, I believe that this should be noted as a limitation of Direct Lake.

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

ID: b4140ce1-5f43-81b2-36c4-cf90b2a72682
Version Independent ID: b4140ce1-5f43-81b2-36c4-cf90b2a72682
Content: Learn about Direct Lake in Power BI and Microsoft Fabric - Power BI
Content Source: powerbi-docs/enterprise/directlake-overview.md
Service: powerbi
Sub-service: powerbi-premium
GitHub Login: @Minewiskan
Microsoft Alias: owend

Thanks for your comment, @djurecic0. This issue has been assigned to the doc author for review.

Hi @bishalgoswami I'd like to withdraw/delete this comment.

I see that it is possible to create a report, but it will show up as Live Connection in PBI desktop.


Can you run this library with Scastie?

Can you run this library with Scastie?

yes: https://scastie.scala-lang.org/J5TV6nWNScCSC9z8Xmlyug


Dev branch merged into main

Dev branch merged into main , login issue merged

login issues merged into main branch


Add better logic around deserializing headers

Currently when deserializing messages we grab the header value and check if there are any headers to write. This causes an allocation per send that we could easily avoid
https://github.com/aspnet/SignalR/blob/0eb2b96c45964be461394e73b960dd634fca405f/src/Microsoft.AspNetCore.SignalR.Common/Internal/Protocol/HubInvocationMessage.cs#L16

@anurse tsk 😄

I just wanted to leave some low-hanging performance fruit around ;). Boost morale and such XD


2nd Day Testing in Jena

Thank you for being able to implement our requests from last week directly! Everything worked smoother now:). However, new issues have emerged:
1.) Flowering intensity from the previous week is not displayed
2.) The webinterface only asks the first time whether you really want move to another species from the list without any changes in the previous one.
Species A (no changes) -> Move to Species B from the list ("Do you really want to move on without any changes on?" "Yes", Species A is marked as "done" -> Species B (no changes) -> Move to Species C from the list (No questions,, Species B is not marked as "done"
To mark Species B as done you have to go back and click on "Next" ("Do you really want to move on without any changes on?" "Yes", Species B is marked as "done")
I think the "previous" and "next" buttons are not needed anymore as the alphabetical order is not following the order in the garden (and as we heard from other gardens as well the order of the observations differs from time to time anyways). I would prefer, that species are always choosen from the list and everytime you want to move on without any changes you get the question above.

Thank you, Robert. I have checked both issues and fixed second issue about system not asking for "no changes". But, unfortunately, there was a typo in the backend system. So, the flowering-intensity for today and last week are not recorded. If you could edit and reupload those values again, it will be fixed.

Thanks Ibrahim! I edited the observations and now everything seems fine.

Great!


Clean up prelude a bit

cc @sdroege @EPashkin

Only change is to move things? :+1: then

Yes. :)

@GuillaumeGomez Thanks 👍

Then I just merge it. Weird test though...

I not weird, just checks that we add all comments to https://github.com/gtk-rs/lgpl-docs

.. or ignored "rt.rs" in build script


Search, start and End stars don't show up in the UI when link is visited directly

When the link is visited directly with the startStars and endStars and the q or the search query parameters, that should be put in the respective inputs directly. But that does not happen by default
Visit this link  for example

Fixed with 1abad2e9e0fd4597fd6b878b2485e13c55e7479f and 1dc0d4f030830bb8e66ea70adde653323a20b68a


Update PasteHandler for MS Edge

The latest change from IE -> EDGE broke this.

I signed it!
(As Remember The Milk Inc.)

going with this as is until we publish a browser support policy


iOS 15 wont load .glb in viewer

Description
I encountered errors when viewing certain .glb models on iOS15 in modelviewer.
I've used the lazyload poster function, when pressing load 3d model, the browser is refreshing and after the second attempt, the error couldn't load the page appears.
Live Demo
https://ase.virtuallab17.nl/poc/koedijk/index.html?name=paspop&alt=Koedijk | POC
https://ase.virtuallab17.nl/poc/kerstboom/index.html?name=zonderlichtjes&alt=Kerstboom | Lampjes uit
https://ase.virtuallab17.nl/website-cases/index.html?name=panoramadeluxegrey&environment-image=
https://ase.virtuallab17.nl/website-cases/index.html?name=sin-lounge-coda&environment-image=assets/soft-1lowcontrastfront-2backs-small.hdr
This link is the exact same code but only different assets and this works fine: https://ase.virtuallab17.nl/website-cases/index.html?name=coral-green-seat&environment-image=&max-camera-orbit=auto auto auto
Version

model-viewer: v1.9.2

Browser Affected

[x] Chrome, version: 96.0.4664.53
[ ] Edge
[ ] Firefox
[ ] IE
[x] Safari

OS

[ ] Android
[x] iOS 15.1
[ ] Linux
[ ] MacOS
[ ] Windows

AR

[ ] WebXR
[ ] SceneViewer
[ ] QuickLook

I was able to load some all but one of the models on iOS15.1. This is probably related to the texture loading issue on Three.js, the latest Three.js has some fixes and we plan to update soon, in the mean time you might try pinning model-viewer version 1.8.

Thanks for your reply @timmmeh, I tried to pin version 1.8 by adding @1.8.0 in the unpkg URL, but this doesn't seem to fix the problem.
I have used this link now, .
Am I doing something wrong or should I try an older version?

That looks correct, interesting that 1.2.0 works for you. The upgrade coming may help, do you have any error logs from the failures?

The error from console;

Version 1.2.0 also stopped working this morning on iOS15, very strange behavior.

Yeah, we're definitely seeing some problems with iOS 15. I can repro what you describe (the first time it loaded, but texture was wrong, after that refresh it started to crash). This feels like a Safari bug, so it may  take some time to address. Meanwhile, try using smaller models; 11Mb is a lot for any phone to handle well. Also, I see out-of-date stuff  in your MV usage; legacy doesn't exist anymore and we haven't  supported Prismatic for ages. I also saw something about an iframe loader; I've had other reports that Safari doesn't play well  with 3D in iframes, so that's another thing to check.

@elalish Thanks for your feedback! The error also persists in Chrome, it's not just safari. We have different sizes for 3D models in the examples I have included, they are not all that big and I don't think this has anything to do with the error, right?
The problem also appears without using an iframe.
I'll look into the other feedback, thanks!

Hello friends, good morning.
Excuse my ignorance but where do I load the USDZ models?

USDZ is only for iOS Quick Look, so it goes in ios-src. You can also skip it and we'll auto-generate it from the  GLB src.


‘AccessToken’ refers to a value, but is being used as a type here.  Did you mean ‘typeof AccessToken?’

🐛 Bug Report
We're in the process of migrating from the deprecated FBSDK wrapper to this one and are running into a few issues.

When trying to import and store AccessToken in a typed variable, see the following error: ‘AccessToken’ refers to a value, but is being used as a type here.  Did you mean ‘typeof AccessToken?’
If we try to import FBAccessToken directly, see the following runtime error: error: Error: Unable to resolve module react-native-fbsdk-next/types/FBAccessToken from /Users/rpatel/Projects/wwf/wf-react/src/domains/login/LoginStore.ts: react-native-fbsdk-next/types/FBAccessToken could not be found within the project or in these directories: node_modules

What is the proper way to import/reference types like?

AccessToken
SharePhotoContent
LoginResult
ShareContent

To Reproduce

Import AccessToken using import { AccessToken } from 'react-native-fbsdk-next'; and try using AccessToken in something like setFacebookUser(facebookToken?: FBAccessToken): void; and you see the typeof AccessToken error.
Import FBAccessToken using import { FBAccessToken } from 'react-native-fbsdk-next/types/FBAccessToken'; and then run the application, you see the error: Error: Unable to resolve module react-native-fbsdk-next/types/FBAccessToken in Metro.

Expected Behavior
Be able to import and reference the specific types that I listed in the description.
Code Example
AccessToken
import { AccessToken } from 'react-native-fbsdk-next';
...
setFacebookUser(facebookToken?: AccessToken): void;

FBAccessToken
import { FBAccessToken } from 'react-native-fbsdk-next/types/FBAccessToken';
...
setFacebookUser(facebookToken?: FBAccessToken): void;

Environment
System:
    OS: macOS 11.5.2
    CPU: (8) x64 Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
    Memory: 63.30 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 12.22.1 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.12 - /usr/local/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.10.1 - /Users/rpatel/.rbenv/shims/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK:
      API Levels: 10, 15, 16, 17, 19, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 8
      Build Tools: 19.1.0, 21.1.1, 21.1.2, 22.0.1, 23.0.0, 23.0.1, 23.0.2, 23.0.3, 24.0.0, 24.0.1, 24.0.2, 24.0.3, 25.0.0, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 26.0.2, 27.0.0, 27.0.2, 27.0.3, 28.0.3, 29.0.2, 29.0.3, 30.0.2, 30.0.3
      System Images: android-22 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 2020.3 AI-203.7717.56.2031.7621141
    Xcode: 12.5/12E262 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_131 - /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1
    react-native: 0.64.2 => 0.64.2
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Strange.
import {
  LoginManager,
  AccessToken,
  GraphRequest,
  GraphRequestManager,
} from 'react-native-fbsdk-next';

...works for me but then I notice I have a @types/react-native-fbsdk-next/index.d.ts with declare module 'react-native-fbsdk-next'; in it, so of course anything works.
@g-dimitry did the work on the type definitions here, perhaps he may provide some insight or an example?

Sorry for the late reply I'll check it out now

I did some investigation let me explain the issue at hand.
In our FBAccessToken File we define a class named FBAccessToken:
https://github.com/thebergamo/react-native-fbsdk-next/blob/f9ab576285bc1e225ff0d93b448e39b17c1a0ad1/src/FBAccessToken.js#L47
We export the class:
https://github.com/thebergamo/react-native-fbsdk-next/blob/f9ab576285bc1e225ff0d93b448e39b17c1a0ad1/src/FBAccessToken.js#L227
In our root index.js file we export an object containing a getter named "AccessToken" that returns the class "FBAccessToken"
https://github.com/thebergamo/react-native-fbsdk-next/blob/f9ab576285bc1e225ff0d93b448e39b17c1a0ad1/src/index.js#L39-L41
What that means is the real type will always be FBAccessToken and not AccessToken.  That's why this error appears as the real type here should be FBAccessToken and not AccessToken.
For a fast and easy solution, you can use one of the below solutions: (If you are intending to pass an instance of the FBAccessToken class)
import { AccessToken } from 'react-native-fbsdk-next';
...
setFacebookUser(facebookToken?: InstanceType<typeof AccessToken>): void;

OR
import { AccessToken } from 'react-native-fbsdk-next';
import { FBAccessToken } from 'react-native-fbsdk-next/types/FBAccessToken';
...
setFacebookUser(facebookToken?: FBAccessToken): void;

If you're intending to pass the class itself:
import { AccessToken } from 'react-native-fbsdk-next';
...
setFacebookUser(facebookToken?: typeof AccessToken): void;

For future improvement:

Instead of exporting references to the classes, let's export the classes with the same name.
We need to revisit the Typescript migration. I wasn't available before but now I can do it, this will help heavily couple the real code with the types instead of handling both separately.

@g-dimitry fantastic analysis ! thanks for taking the time to fully explain it

Thank you @g-dimitry

@smacgregorZ any time 😄
@mikehardy it's always a pleasure to contribute 😄 If we're still considering the move to typescript please tell me and I can do it.

Hey @g-dimitry I just checked and the only item in the PR queue was one from me that was java-only and well-tested on other modules, so I merged it and kicked off a release
That means that there are zero PRs outstanding that would potentially be perturbed by a codebase-wide change.
If there was ever a time, this seems like a good one. If you want to do a typescript conversion I think that would be fantastic
I would love it if the combo of package.json elements (main, index etc) and build/distribution method (e.g. https://github.com/callstack/react-native-builder-bob or whichever) worked together such that it was fully backwards compatible and could just be a minor version release - that's my ideal scenario. Do you think that's possible?

Thank you @g-dimitry.  We used your first suggestion, InstanceType<typeof AccessToken>, and it's working.

@g-dimitry Actually import { FBAccessToken } from 'react-native-fbsdk-next/types/FBAccessToken'; returns ESLInt error:
Unable to resolve path to module 'react-native-fbsdk-next/types/FBAccessToken'.eslintimport/no-unresolved ( as @rpatel-zynga wrote).
What helps is importing it as a type:
import type { FBAccessToken } from 'react-native-fbsdk-next/types/FBAccessToken';

@g-dimitry's suggestion works for AccessToken but apparently not for others like LoginResult and SharePhotoContent. Isn't it basically a matter of copying what was done in https://npm.im/@types/react-native-fbsdk?

@gustavopch the real idea is to finally finally finish + merge #95 and then move forward on a solid foundation I think - would love someone to pull that fork/branch and carry it to the finish line :pray: :pray:

Either way, anyone interested in this, new beta version is released. Feel free to test it from version 7.0.0-beta.1


Adds initial framework of package

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@84ecebd). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #1   +/-   ##
=======================================
  Coverage        ?   98.54%
=======================================
  Files           ?        8
  Lines           ?      343
  Branches        ?        0
=======================================
  Hits            ?      338
  Misses          ?        5
  Partials        ?        0

Continue to review full report at Codecov.

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


Fix Rocket integration

Rocket's traits have changed in version 0.3.0, this pull request adjusts the existing implementation to be compatible with the latest version of the traits.

@stankec great, thanks for the PR.
The build is failing on Windows on nightly due to ring not compiling.

@stankec also could you add information about the upgrade to CHANGELOG.md?
If you don't get around to it, I'll bolt it on later.

@theduke AppVeyor may be failing due to rust-lang/rust#42422
And I couldn't find the unreleased section in the CHANGELOG.md file, so as to not bork thing up, I'd prefer if you (or anybody that knows what they are doing) to do it.
Sorry for the inconvenience, It's just not clear to me what to do.

I just added it yesterday after your PR. :P

@stankec the example in juniper/examples/rocket-server.rs also needs to be updated.
I need to investigate why this is not built on travis...

@theduke I did update the example. And I run the test suite, everything passed. I'm even running the example on my machine.
Are you referring to the need for a better example?

Haha well you shouldn't review code after 3 hours of sleep. @stankec
Sorry bout that.

FYI, I have just tried to build ring on Appveyor: https://ci.appveyor.com/project/theduke/ring/build/1.0.1
We need to investigate what the problem is, since all builds will fail on windows now.

The tests are failing on Travis too, we're just ignoring failures on nightly: https://travis-ci.org/mhallin/juniper/jobs/258473732
It seems as if Rocket has removed or renamed their testing feature, so our integration tests need to be fixed.
As for the Ring build failure, it seems as if they're not compatible with the GCC toolchain: https://github.com/briansmith/ring and that's why it's failing. We could probably get by with disabling the Rocket integration for Windows+GCC builds.

@stankec as recorded in https://github.com/mhallin/juniper/issues/70, we'd like to pull out rocket and iron integrations into  juniper_rocket and juniper_iron crates.
Would handling the extraction for iron be something you are up to?
If not, I'll do it tomorrow.

Pardons. I’ll be busy tomorrow until the evening. I can do it on monday for
sure.
Does that suite you?
On 29 July 2017 at 20:46:19, theduke<EMAIL_ADDRESS>wrote:

@stankec https://github.com/stankec as recorded in #70
https://github.com/mhallin/juniper/issues/70, we'd like to pull out
rocket and iron integrations into juniper_rocket and juniper_iron crates.
Would handling the extraction for iron be something you are up to?
If not, I'll do it tomorrow.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mhallin/juniper/pull/67#issuecomment-318850551, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABlBsh11ONWodlFcurKaLPxDnTqETq9Mks5sS337gaJpZM4OmWHW
.

The tests are failing on nightly because this change is incomplete and the rocket tests fail. See the The 'testing' feature was removed. section here: https://github.com/SergioBenitez/Rocket/blob/master/CHANGELOG.md#breaking-changes
We need to replace this: https://github.com/mhallin/juniper/pull/67/files#diff-576d7531dece2e01a8a09d86ff09c869L155
Also, :+1: on creating new crates

Hey. This completely slipped my mind. My laptop literally caught fire on Monday morning. I'll get to it in the evening.

@stankec cheers!
I already started with moving the iron integration too.
Since this has a lot of overlap, I will include your commits in my branch and then do a combined merge request if that is fine with you.

That’s fine with me :)
On 3 August 2017 at 14:32:16, theduke<EMAIL_ADDRESS>wrote:

@stankec https://github.com/stankec cheers!
I already started with moving the iron integration too.
Since this has a lot of overlap, I will include your commits in my branch
and then do a combined merge request if that is fine with you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mhallin/juniper/pull/67#issuecomment-319955581, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABlBsopoZhdKfIzieOE0YicxI2bvPgOtks5sUb3QgaJpZM4OmWHW
.

Merged as part of https://github.com/mhallin/juniper/pull/73


ui: improved ui for note editing \n Clickable area for editing notes …

Clickable area for editing notes or creating new notes was only on the text area. Modified it to include the text box.
Fixes: #176

Thank you for this helpful fix @jayantpranjal0, and thank you @Abhijay007 for the review!


Page Contents Beyond H3

Currently the riverscapes template only includes H1-H3 in the "Page Contents" navigation box top left. Please expand to include down to H9 (knowing no one goes that deep). People are using H4 and H5 etc now that we are using fewer but longer pages.

Where do we stand on this? You closed it but it shows as open? Is it fixed? If  so,  I noticed many sites it does not seem to be fixed?

The other issue was in the wrong repo so I moved it here and closed the other one. It is still open


sql::timestamp::timestamp_add_interval_months failing since September 1st

Describe the bug
sql::timestamp::timestamp_add_interval_months uses now() so it not deterministic, and started failing today.
To Reproduce
Run tests
Expected behavior
Should not fail
Additional context
None

duplicate of https://github.com/apache/arrow-datafusion/issues/3321


Environment selector in Variable Explorer doesn't automatically switch

It always tries to preserve the current selection, which is not always the best UX experience. For example, if you had VE open and viewing the global environment, set a breakpoint in some function, and hit the breakpoint, VE will still show globals, not the function's environment. You will need to manually change the active environment in selector. Same thing happens when stepping in.
We should detect the common cases where change of environment is best handled implicitly, like breakpoints and stepping, and switch it in VE accordingly.

Hi, we still see this "static" variable explorer in RTM. Do you have plan to fix this problem ? This is degraded feature from some version in the past.
This drill down feature is the most important among debug experience in VS.


Initial book layout

This PR adds the framework for the Jupyter book we will use to serve the website. I've also added a license note in the README (cc @wildintellect).
The book can be built locally by running jupyter-book build book from the root of this branch. We will serve the public site via github pages.
The locally built homepage should look (in this preliminary moment) like this:

@lillythomas as on overall outline of the content you intend to include I think this is fine, and I think it's important to put up the first draft to work with. Next steps:

[ ] setup the jupyterbook build CI/CD

[ ] revisit the layout of what deserves it's own page and what order to introduce the topics

Minor note, the GRSS logo should be in the about/citation not the the logo of the book itself.

View / edit / reply to this conversation on ReviewNB
wildintellect commented on 2024-04-01T16:13:30Z ----------------------------------------------------------------
Why aren't you using geopandas to read the geojson?

Swapped to use geopandas

Remove book/docs/.ipynb_checkpoints/Open_data_code-checkpoint.ipynb and add .ipynb_checkpoints to .gitignore
Best practices for python https://www.toptal.com/developers/gitignore/api/python
https://www.toptal.com/developers/gitignore can generate good .gitignore files for other languages too.

You can simplify even more:
gdf = gpd.read_file(url)

View entire conversation on ReviewNB

You can simplify even more:
gdf = gpd.read_file(url)
View entire conversation on ReviewNB

Tried that initially. It did not work.

Remove book/docs/.ipynb_checkpoints/Open_data_code-checkpoint.ipynb and add .ipynb_checkpoints to .gitignore

Done.

https://www.toptal.com/developers/gitignore/api/python

what is this?

https://www.toptal.com/developers/gitignore

Can you provide some usage instructions?


Confused

This project seems very interesting but its very hard to understand what repos work together:
I am currently working with:
https://github.com/Hygieia/UI - master
https://github.com/Hygieia/api - master
https://github.com/Hygieia/hygieia-scm-bitbucket-collector - master
The bitbucket collector doesn't seem to work properly
Can you please explain what repos are meant to work together

@jbadeau if bitbucket collector does not seem to work well for you, please create an issue against that repository providing the necessary details for getting the necessary help.

Hopefully this link helps - http://hygieia.github.io/Hygieia/architecture.html

Hi, my issue is not really the collector but where there is a list of what repos work with what repos.
I would Luke to create a helm chart but I do t know what goes with what?


Refactoring clamping utilities (cpp)

Use full templates now. Will lead to refactoring of all classes which were already using clamping functions.

Completed; Tested.
Modified implemented code for classes utils::Coords2D and utils::Size.


Update index.md

Why:

What's being changed:

Check off the following:

[ ] All of the tests are passing.
[ ] I have reviewed my changes in staging.
[ ] For content changes, I have reviewed the localization checklist
[ ] For content changes, I have reviewed the Content style guide for GitHub Docs.

Hi there, thanks for the PR, can you let us know why did you think it should manage-large-files instead of managing-large-files because as long as I know the first one won't work as expected.

Because it sounds good!

@Davekibh Well, this is not how things work here. Each of these placeholders will transfer to the specific permalink which will be later available in GitHub.com, so you can't change them BYO.


When the obj file contains line data, use the line fill mode material.

https://forum.babylonjs.com/t/import-obj-model-to-scene/50911/20

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/15156/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15156/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15156/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15156/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15156/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15156/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15156/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15156/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15156/merge/testResults/webgpuplaywright/index.html

WebGL2 visualization test reporter:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15156/merge/testResults/webgl2playwright/index.html

I think you should also handle the case when a .mtl file is provided.
So, instead of creating a material during mesh parsing/creation, you could do something like this:

flag meshes that should have a line material (with something like mesh._internalMetadata = true)
in OBJFileLoader._parseSolid:

if mtl file provided:

turn the material to "line" if mesh._internalMetadata == true for that mesh (be careful that a material could be used for a line mesh and a non-line mesh at the same time - clone the material if necessary).
reset mesh._internalMetadata to undefined.

loop over all meshes and create a line material for that mesh if mesh._internalMetadata == true (and reset it to undefined)

Now there are two questions, though not directly related to this topic .

The obj loader seems to use the material declared in the previous mesh for mesh with undefined material. Is this expected?

Blender doesn't seem to take into account the material on the curve when exporting the obj.

test file.
Since blender does not specify materials for curves, I edited the materials in this file manually.


Running code . on WSL will try to download an outdated version of VSC

VSCode Version: 1.50.1
OS Version: Windows 10 [Version 10.0.19041.572]

Steps to Reproduce:
Video - https://www.loom.com/share/fa3419a315e84bc2b307db4feb47ad7f

Open VSC
Download Remote - WSL (v0.50.1)
Go to WSL terminal
Type code .
Get the following message:

Updating VS Code Server to version 2af051012b66169dde0c4dfae3f5ef48f787ff69
Removing previous installation...
Installing VS Code Server for x64 (2af051012b66169dde0c4dfae3f5ef48f787ff69)
Downloading: 100%
Unpacking: 100%
Unpacked 2341 files and folders to /home/eliya/.vscode-server/bin/2af051012b66169dde0c4dfae3f5ef48f787ff69.

See release notes of August 2020 update (v1.49 - previous version) and "Disconnected from WSL":

If I try to downgrade the Remote -WSL extension, it will work. If I try to open a folder not by code . it will work as well.

Does this issue occur when all extensions are disabled?: No (and the irony is that I need the Remote - WSL extension installed.

I can confirm that none of the vscodebot suggestions are similar.

In case you want to see a full reproduction -
https://www.loom.com/share/feae4011711f4772b4c5a69b148ef7ab

In the WSL shell, can you do a which code? That will point into the VSCode Windows install that is on the WSL PATH which normally is inherited from the Windows PATH. The server version that is downloaded will match the version of that install.
Is that install still in use and up-to-date?
Maybe you ended up having two VScode installations on your machine (user and global). I suggest to uninstall them both, install only one and check the PATH.

You're correct. I had two installations of VS Code. Once I removed one of the folders, which code has pointed to the other installation path. Thanks!


FIX offline session validation is always false

#110

Lets track this here: #112
It also fixes the tests. Thanks for taking the time to report this ❤ .


Enhancement: Make it possible to delist repositories without admin action.

I could really use an asset management option to either hide or delist an asset from public view for assets I manage.
This wlll need discussion to make sure we don't disrupt users.
Here's the problems I'm trying to solve.

I accidentally register the wrong github repository from the pull down list.

personal fork of another asset, which as been deprecated for a period of time.. I would like to officially delist/hide the fork from bonsai and delete the fork from github entirely.

Concerns:
The download urls for the asset binaries should still work, but the web-ui and api endpoints should go dark.

We should allow collaborators to delete assets.
We should send a notification that the asset has been deleted to the asset owner, and the user who added the asset to the index.

Added a notifier that will email owner, collaborators and all followers.

seems to work, but search is broken on staging right now so I can't fully check to make sure


About Issues with the Star Mark Display in Browser Extensions (Firefox).

Description
I am experiencing issues with the star mark display in the linkding extension for Firefox. The star marks do not appear as expected, which affects the usability of the extension.
Steps to Reproduce

Add "https://linkding.link/backups/#full-backup" to linkding
Open the "https://linkding.link/backups/"
Observe the star marks displayed (or lack thereof).

Expected Behavior
The star marks should be displayed correctly, indicating [describe what the star mark is supposed to signify, e.g., favorites, important items, etc.].
Actual Behavior

The star marks are not displayed at all.

This issue also occurs when I add 'https://linkding.link/backups' to Linkding, as there are no star marks displayed when accessing 'https://linkding.link/backups/#full-backup’.
Environment

Firefox version: 131.0.2
Extension version: 1.12.1
Operating system: Windows 11

I have already posted the issue in the linkding-extension repository. I apologize for posting the issue in the wrong place. Could you please delete the issue here in the linkding repository?


refactor(expr): don't fallback to evaluation by row on error

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
resolve #14027 and replace #14147
This PR introduces a MultiExprError to collect function errors by each row. The NonStrict wrapper can identify this error and return partial results without falling back to evaluation row by row.
Checklist

[x] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[x] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

I have a rough idea (partially inspired by @yuhao-su).

If using Rust ≥ 1.65, a backtrace is captured and printed with the error if the underlying error type does not already provide its own. In order to see backtraces, they must be enabled through the environment variables described in std::backtrace:

According to the doc of anyhow, it seems that they will uses error_generic_member_access feature to acquire the backtrace from its underlying Error. Which means that we can provide a fake Backtrace to misguide anyhow, and then anyhow may giveup to capture a backtrace by themselves.
/// Underlying, real error in the implementation
struct ParseIntError;

struct FakeBacktrace<E: Error>(E);

impl Error for FakeBacktrace {
    fn provide<'a>(&'a self, req: &mut Demand<'a>) {
        // Pseudo code, need more investigation
        req.provide(Backtrace::disabled);
    }
}

anyhow::Error::new(DisableBacktrace(ParseIntError));


[IA-3224] Tab Navigation in Cloud Env Modal

There was an extra, non-visible close button (circled in red in the image below) that was being focused on when a user tried to tab through the modal. I fixed this by changing the tabindex value of the close on the TitleBar component depending on whether the passed in hideCloseButton property. If I did not render the element at all, then the spacing of the arrow on the modal would be affected.

Tested by going through the modal to make sure that the close was not able to be tabbed to if it was not visible and was able to be tabbed to if it was.
I also included a small fix to the Environments page, as I noticed that the total disk price was not being displayed properly on the page.

It would still be nice to figure out the focus when going from one screen to the next in the wizard (I know you already spent some time on it).

It would still be nice to figure out the focus when going from one screen to the next in the wizard (I know you already spent some time on it).

Yeah, the IA team and I discussed making another ticket to try and figure that out in the future, but other work has come up that is more pressing


Carthage Support

I merged the osx/ios libraries into one project with two targets, and added a workspace to contain it and the two example projects. I made the library schemes shared. I followed the pattern that [Alamofire][https://github.com/Alamofire/Alamofire] uses.
If you're not aware of carthage: [Carthage][https://github.com/Carthage/Carthage]
Sorry for the long list of commits, I tried to clean it up but apparently Im terrible with git :)

I made an issue for this too: #28

You did a really fantastic work here! I am analyzing the changes and then I will merge them.
Thank you very much! :)
(I'm sorry the delay in responding. I'm just being able to work on this project for a few hours on weekends.)

awesome!


[DOCUMENTATION] Unable to install ZBM and Alpine on new disk following the official guide

Hello, following the advice given on IRC I'm opening this issue about installing Alpine along with ZBM using the official guide.
I've tried from version 3.16.2 to the latest, 3.18.2 with no success.
This is a one encypted disk only setup, on metal (x86_64 if it matters).
Going step by step with the guide, the part when it always fail is, after installing the distro and chrooting into the new system, the enabling startup services. Everytime I want to setup udev as the device manager, it complains about not having the mdev service added to the sysinit runlevel. But when I do it, it disable the hwdrivers one, previosly added.
In one of my attempts, I was able to only active mdev service, and complete the steps of the guide, but when i tried to export the zpool, I couldnt do it because it was busy the command complained.
https://gitlab.alpinelinux.org/alpine/aports/-/issues/14046
It may be relevant? Ive read the ZBM guide was created before that commit made it to the Alpine 3.16.2 release IIRC.
Thanks in advance.

Presumably this is THE thing that (may) solve this
https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/158
About quieting the rc-update: service mdev is not in the runlevel sysinit alert

If you follow our guide and ignore the mdev message, does the installation work? Your linked "solution" is just "ignore the message [that we don't tell you to act on anyway]".

If you follow our guide and ignore the mdev message, does the installation work? Your linked "solution" is just "ignore the message [that we don't tell you to act on anyway]".

No, because then setting up (e)udev as the dev manager doesn’t work. Thought that maybe that PR permits the script to actually work, but I’m no sure.
I’d also see the existence of the zfs-udev package on Alpine that the guide doesn’t tell to install.
But again, just thinking about possible reasons.

I just stipped the udev stuff from the Alpine guide. Making non-default device management work isn't really within the scope of our ZFS guides.

Um... Ok. Hope it works that way.

It works fine in our Alpine testbed, where we don't fool around with udev at all. Users should customize the installation to their liking, fighting whatever upstream issues there may be.

Unfortunately, without that configuration the installation does still fail.
When I try to create the vfat filesystem with
mkfs.vfat -F32 "$BOOT_DEVICE"
I get
mkfs.vfat: can't open '/dev/sda1': No such file or directory

Under the "Define disk variables" section, note the comment:

Verify your target disk devices with lsblk. /dev/sda, /dev/sdb and /dev/nvme0n1 used below are examples.

Most likely, your disk isn't /dev/sda.


Whether can support Docker 1.12 swarm mode?

Now,calico does not Docker 1.12 swarm mode.Whether can support Docker 1.12 swarm mode in the near future?

Yes, it should be supported in the future, but timing is unclear.  cc @mavenugo

oh no!
@lxpollitt could you hurry up?

as of https://github.com/docker/docker/issues/24569#issuecomment-267044175 1.13 will ship with the network plugins support 😁 it'd be awesome to have calico support!

cc @tomdee

With 1.13 officially out, is there an update on this?

Hey, just noticed the change of milestone to 2.3.0; are there any specific issues that we can link to or that's more of a vague milestone?
Thx!

Would love to see this issue addressed, but I'm not aware of anyone currently working on it.
@liftedkilt @cirocosta This is tentatively in the milestone, but I think this issue needs a champion to drive to completion.

@caseydavenport interesting to know!
I'll take a look at the new plugins API and see whether I can have some work at least started; I hope this gets on the track 😁  I'll let you know.
Thx! 👍

@cirocosta great! Let me know here if you do get started and would like any help.

Is there any news about this topic?
For now, looks like Weave now support V2 plugin support for Docker:
https://www.weave.works/docs/net/latest/install/plugin/plugin-v2/

I end up having 0 time to tackle it, even though now I'm more familiar with the plugin API 😬  sorry for raising the expectation (even though I still plan to implement)

Docker Swarm has a very low quality overlay network, as can be seen by this issue:
https://github.com/moby/moby/issues/32195
I am hoping Calico could fix this issue, when Docker Swarm support arrives! It also seems a bit more performant.

@caseydavenport Is there any news about this?

@Chrislevi
status looks to be documented to https://github.com/projectcalico/libnetwork-plugin
The libnetwork plugin integration is no longer included as a core component in Calico releases, and is not being actively developed or supported by the core Calico team. The latest release of Calico which includes this plugin is the v2.6.x series of releases.
However overlay networking driver have been improved a lot so it is best option with swarm.


[Diagnostics] Try to give correlation ID on failed/cancelled smart create commands

operation ID, correlation ID, etc.

This may be generic to all long running operations, investigation is needed


mnist_with_summaries does not produce node statistics

System information

Windows 7 Enterprise 64
TF 1.1.0 installed from pip
CUDA 8.0/cuDNN 5.1.5
GeForce GTX TITAN X
command: python mnist_with_summaries.py

Describe the problem
In https://www.tensorflow.org/get_started/graph_viz, mnist_with_summaries is given as an illustration of how to use tensorboard to show node statistics. However, it does not produce node statistics on my computer. Everything else is working correctly (the graph is there, summaries as well, the training goes smoothly).
Source code / logs
https://github.com/tensorflow/tensorflow/blob/r1.1/tensorflow/examples/tutorials/mnist/mnist_with_summaries.py

@chihuahua Mind taking a look at this? Could be some type of regression in tf_graph.

I am trying to repro the issue. This is what I see in the graphs tab. I clicked the Memory radio button on the left side and then selected a node. What do you see?

One small nit: Maybe you've tried this, but users have to select a Session run (to see node-specific stats for that run).

Thanks, problem solved.


Always notifying that file needs documentation headers

It's a nice feature that was added that suggests to add documentation for the whole file, however, since it was added, all the files always have a "message" CD1607 that the file needs documentation headers, even if it doesn't, and even if the fix doesn't add any output. I have the setting of "public members only" activated. And there are some partial classes since I'm using the MVVM Community Toolkit.

Fixed in #15


NPM require('vue')

My code is not minified, how come I cannot use the devtools?
I am using this by the way:
window.Vue = require('vue');

require('vue-resource');`

Running browserify on it then.

Make sure you are using 1.0+, and serving the app over HTTP.

I am using 1.0.7, the Devtools tells me it is found. And using HTTP of course. I just don't get any components in the list.

Are you mounting the root component asynchronously?

No, the Vue element is attached to the body itself.

Ah, that's it... for now mount it on a childNode of body. It will be fixed in next version.

Alright!

Fixed in 1.0.5, should be pushed out within an hour.


Balance Claim's handling of duplicates may have been effected by the indexeddb shim

Re-create by importing the same key export file twice.  This use to say N duplicates not imported.  The code is programmed to import new keys but skip and report any duplicates.
The issue showed up around the time that "indexeddbshim": "^2.0.4" shim was added.  More investigation is needed though.  If that is the issue and a github issue and indexeddbshim is out of spec a github issue needs to be created with them..
The logic did not change so this feature should still work...

The version insalled now is "version": "2.0.4"


Bug in Observable.Buffer(windowBoundaries)

Current UniRx implementation does not publish when buffer is empty.
But Rx.NET(and Buffer(timeSpan)) publish

This is bug of UniRx, should fix behaviour.

Fixed.
https://github.com/neuecc/UniRx/commit/cfe2fc47fe49a24ef2a6a4aac12156a85f8869cb

5.2.0 includes this fix.


[PTRun][Settings][Program] Fix 100% CPU load issue

Summary of the Pull Request
What is this about:
Each change in PowerToys Run settings triggers a plugin reload for plugins with the IReload interface. Program plugin has this interface and takes a long time to load, despite having no setting that would necessitate a reload.
What is included in the PR:

Don't reload the Program plugin on every setting change.
Don't save the settings 3 times for each change. Only once is needed.
To fix a UI glitch while reloading settings due to frequent saves, only reload the PTRun Settings if we didn't trigger a save in the last 500 milliseconds.
After searching for a Plugin in Settings, a bug causes it to not trigger saves anymore, fix this.

How does someone test / validate:
Try to trigger the 100% CPU and UI glitch described in the issue and verify it no longer happens, while the settings still propagate.
Quality Checklist

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

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

What is triggering the update of the repository now if Power Toys is runing on background for a long time? (I mean should the user now exit and reopen Power Launcher every x times.) Can't we keep IRelodable tag and do something like limiting based on LastIndexingTime?
(Disabling/enabling the plugin doesn't reload the index if we don't have IRelodable.)

What is triggering the update of the repository now if Power Toys is runing on background for a long time? (I mean should the user now exit and reopen Power Launcher every x times.) Can't we keep IRelodable tag and do something like limiting based on LastIndexingTime?
(Disabling/enabling the plugin doesn't reload the index if we don't have IRelodable.)

Program plugin has its own File Watcher pointed to the paths to watch. to update the program index.
But it might make sense to have it reload if it was enabled. 🤔
Guess we can add an interface for that.

What is triggering the update of the repository now if Power Toys is runing on background for a long time? (I mean should the user now exit and reopen Power Launcher every x times.) Can't we keep IRelodable tag and do something like limiting based on LastIndexingTime?
(Disabling/enabling the plugin doesn't reload the index if we don't have IRelodable.)

Program plugin has its own File Watcher pointed to the paths to watch. to update the program index.
But it might make sense to have it reload if it was enabled. 🤔
Guess we can add an interface for that.

Let's add this in a separate pr/issue.

I will review and test st weekend.

Is the RAM bug gone too?

RAM is not spiking anymore.

But I assume it's not gone.

This one is approved by a core dev, so I'm getting it in to have it ready for a hotfix if needed. Thank you for the review/comments @htcfreek . It can have further changes discussed in the issue if needed.


Working around another Babel-core 6.17.0 transpilation error in iffElse

Only new module changed as old will be deleted soon.
They caused the  wrong 'this' being passed to predicate and hooks.
@daffl says transpile is OK in Babel-core 6.21.0
Added tests to catch any problems in predicate and hooks
Babel-core 16.7.0 transpiles
const check = typeof predicate === 'function' ? predicate(...fnArgs) : !!predicate;
as
var check = typeof predicate === 'function' ? predicate.apply(undefined, fnArgs) : !!predicate;

What should the context be? In strict mode, the context of a function should be undefined when called like this. I'd also try and use the latest versions (clear cache and reinstall) in case it was a bug that has been fixed. I think Babel is around 6.20 now.

I'm mainly asking because we might be fixing a non-issue. E.g. when using arrow functions at the module level scope, the context should always be undefined (which is why I don't like using top level arrow functions).

The containing function is a top-level arrow functions. Thanks!
I have a bunch of PRs I'd like to push in order to avoid merge conflicts. So I suggest we push this PR for its tests and then I'll confirm the issue's with the top-level being an arrow function, as the details are a bit more complicated.

Sounds good. 👍

Sounds good. :shipit: Let us know if that is still in an issue with Babel v6.20.


Prefer-lowest build uses installer version that may not be the lowest that module supports

Prefer-lowest builds install the version of installer that all the other CI runs use, which may not respect the actual dependencies for the module.
This can result in problems we aren't catching when we forget to bump dependencies.
Acceptance criteria

When CI runs include an installer version being added by the matrix, the version of installer used in the prefer-lowest build is the lowest version allowed in the dependencies for that module

PRs

https://github.com/silverstripe/gha-generate-matrix/pull/97
https://github.com/silverstripe/gha-ci/pull/130
https://github.com/silverstripe/gha-ci/pull/131

Example run https://github.com/emteknetnz/silverstripe-elemental/actions/runs/9752302859
Composer bit looks like this running on the 5 branch for the --prefer-lowest build:

All other jobs just use installer 5.x-dev

PR merged and new version tagged.
Reassigning to Steve to double check it works as expected

It's doing what it should


CORS Error

Hi guys,
thanks for creating this library. When using it in my Angular project, and want to try to create an invoice (example code taken from this repo), I am getting an CORS Error, preventing me from creating the invoice in lexoffice. With my local Postman and a generic request, everything is working fine. Can you please advice what to do in this case? In Lexoffice, I don't know a way to configure, which host may access the api.
Thanks and best regards

CORS only applies when you use the api in a browser environment. As this would leak your Lexoffice API key it isn't intended and therefore the Lexoffice API doesn't apply any CORS headers.
The proper solution would be to write a backend which consumes the api and responds to the frontend with the needed data. If another service (e.g. a proxy) handles authorization and you want to use the api on the client side, you could use a CORS proxy.


[CSL-18] So base64url sucks and noone can use it

@gromak
Let's use usual base64 encoding where necessary.

@gromak
Or we can use base16 if we want to avoid slashes.

@georgeee
This concerns only CLI params' format for pos-node, --peer param.
Let's go base16, yes )


ProviderError: max code size exceeded

Getting this error on both AVAX and Aurora networks, when trying to run the tests.
 |  TranchedPool                               ·     24.504  ·               │
 ··············································|·············|················
 |  StakingRewards                             ·     24.549  ·               │

TranchedPool and StakingRewards exceed the smart contract size limit, so they cannot be deployed on neither of these networks. Can we have the contracts reduced in size so they can be deployed on the network?

Full error:
     ERROR processing /Users/constantindogaru/weavik/mono/packages/protocol/deploy/baseDeploy.ts:
ProviderError: max code size exceeded
    at HttpProvider.request (/Users/constantindogaru/weavik/mono/packages/protocol/node_modules/hardhat/src/internal/core/providers/http.ts:74:19)
    at HDWalletProvider.request (/Users/constantindogaru/weavik/mono/packages/protocol/node_modules/hardhat/src/internal/core/providers/accounts.ts:188:34)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)

If you comment allowUnlimitedContractSize: true from hardhat.config.base.ts, you will get a similar error inside the tests:
Error: Transaction reverted: trying to deploy a contract whose code is too large

You are just hiding the problem by using allowUnlimitedContractSize: true. The contract sizes for TranchedPool and StakingRewards should be reduced.


Add capability for logged-in users to flag results for review

Incorrectly-entered results are often a cause of concern, especially at larger competitions where it might be hard to keep track of all issues or even get hold of the data team. If we had a feature whereby users could submit a review request along with a motivation (text description, picture of scorecard, etc), that could help manage these issues.
We could also introduce checks to ensure that subsequent rounds can't be opened before all flags are resolved.
Abuse would be handled through delegate intervention, and disciplinary action if needed.

Abuse would be handled through delegate intervention
You could also have a timeout of 5 or 10 minutes before you can submit another flag. I imagine that would slow down most spammers.

Sounds like a cool feature although I imagine some delegates would much prefer to speak to them in person, so perhaps delegates could have a switch to turn it off for a competition?

The other concern with abuse is people just spuriously reporting results and wasting time.

Sounds like a cool feature although I imagine some delegates would much prefer to speak to them in person, so perhaps delegates could have a switch to turn it off for a competition?

I expect most of these would lead to some kind of in-person conversation - but it can often be difficult to keep track of results changes that need to take place, especially if a comp is busy. We can consider a toggle though.


Update README.md

Typo?
Should it not be consumer instead provider?

Why it does that
Briefly state why the change was necessary.
Further notes
List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.
Linked Issue(s)
Closes # <-- insert Issue number if one exists
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@3rim thanks for the contribution, can you please sign the ECA so we can merge this?

@paullatzelsperger How can I sign the ECA?

@paullatzelsperger Ok i think i signed now the ECA :)


Switch from 0.7.9 to 0.10.0 failed

After switch of
0.7.9 version to 0.10.0
i get the following exception on start
npm info it worked if it ends with ok
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm info prestart<EMAIL_ADDRESS>npm info start<EMAIL_ADDRESS>
><EMAIL_ADDRESS>start /usr/src/ghost
> node index

Migrations: Creating database backup

 ERROR: select count(distinct posts.id) as aggregate from "posts" where "posts"."visibility" = 'public' and "posts"."page" = true and "posts"."status" = 'published' - SQLITE_ERROR: no such column: posts.visibility

 Error: select count(distinct posts.id) as aggregate from "posts" where "posts"."visibility" = 'public' and "posts"."page" = true and "posts"."status" = 'published' - SQLITE_ERROR: no such column: posts.visibility
    at Error (native)

npm info poststart<EMAIL_ADDRESS>npm info ok

What went wrong and how should i upgrade this?

What files are you saving from the old container (any volumes)?  Most likely you'll need to follow similar steps to http://support.ghost.org/how-to-upgrade. This seems relevant:

When upgrading through minor versions, e.g. 0.8.0/0.9.0/0.10.0, there are database migrations to run. It is best to do these one-at-a-time and always use npm start –production afterwards to check the migrations run successfully.

Most likely it will be just a series of docker run -it --rm -v /important/stuff/:/var/lib/ghost/themes/ ghost:version  but may vary on how you are mounting the files and might require deleting some of them.

Applying One after another
0.7.9 --> 0.8.0 --> 0.9.0--> 0.10.0 fixed the problem!
Thank you.

Good to know !

Applying One after another
0.7.9 --> 0.8.0 --> 0.9.0--> 0.10.0 fixed the problem!


Test prefetching

Not included in this PR:

Disable lazy loading for first 4 Result components in Results.tsx
Prefetching first 4 images:

cntrlr.on('afterStore', async ({ controller }: { controller: AbstractController }, next) => {
	// @ts-ignore - store type
	controller.store.results
		.slice(0, 4)
		.map((result: any) => result.mappings.core.imageUrl)
		.forEach((url: any) => {
			console.log('preloading image', url);
			const img = new Image();
			img.src = url;
		});

	await next();
});

Removed the performance.mark markers since they were from testing. However it could be useful to add in the future throughout the code base.