Compile error with refactored routes

Describe the bug
Trying to refactor some <Route>s out into a transparent component, as shown in the book.
Hitting compilation errors:

the trait RenderHtml is not implemented for View<NestedRoute<Signal<String>, (), (), ...>>
no method named children found for struct RoutePropsBuilder in the current scope

mentioned on discord
Leptos Dependencies
[workspace.dependencies]
leptos = { version = "0.7.0-rc1", features = ["ssr", "hydrate", "nightly"] }
leptos_meta = { version = "0.7.0-rc1" }
leptos_router = { version = "0.7.0-rc1", features = ["nightly"] }
leptos_axum = { version = "0.7.0-rc1" }

To Reproduce

start with example of  https://book.leptos.dev/router/17_nested_routing.html#refactoring-route-definitions
make minimal porting changes for 0.7 (hopefully!)
cargo build

Expected behavior
Should compile.
Screenshots
Actual code (test.rs)
use leptos::prelude::*;
use leptos_router::components::*;

#[component]
fn App() -> impl IntoView {
  view! {
    <Router>
      <Routes fallback=|| "Page not found.".into_view()>
        <Route path="/contacts" view=|| "contact list".into_view()>
          <ContactInfoRoutes/>
          <Route path="" view=|| view! {
            <p>"Select a contact to view more info."</p>
          }/>
        </Route>
      </Routes>
    </Router>
  }
}

#[component(transparent)]
fn ContactInfoRoutes() -> impl IntoView {
  view! {
    <Route path=":id" view=|| "anon".into_view()>
      <Route path="" view=|| "anon".into_view()/>
      <Route path="address" view=|| "anon".into_view()/>
      <Route path="messages" view=|| "anon".into_view()/>
    </Route>
  }
}

Errors:
error[E0599]: no method named `children` found for struct `RoutePropsBuilder` in the current scope
  --> app/src/test.rs:6:3
   |
6  |     view! {
   |  ___^
7  | |     <Router>
8  | |       <Routes fallback=|| "Page not found.".into_view()>
9  | |         <Route path="/contacts" view=|| "contact list".into_view()>
...  |
16 | |     </Router>
17 | |   }
   | |___^ method not found in `RoutePropsBuilder<&str, {closure@test.rs:9:38}, (..., ..., ...)>`
   |
   = note: the full type name has been written to '/home/bobhy/src/rustgui/db1/target/debug/deps/app-27b6d6e01d81c903.long-type-7858237838013196093.txt'
   = note: consider using `--verbose` to print the full type name to the console
   = note: this error originates in the macro `view` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named `children` found for struct `RoutePropsBuilder` in the current scope
  --> app/src/test.rs:22:3
   |
22 |     view! {
   |  ___^
23 | |     <Route path=":id" view=|| "anon".into_view()>
24 | |       <Route path="" view=|| "anon".into_view()/>
25 | |       <Route path="address" view=|| "anon".into_view()/>
26 | |       <Route path="messages" view=|| "anon".into_view()/>
27 | |     </Route>
28 | |   }
   | |___^ method not found in `RoutePropsBuilder<&str, {closure@test.rs:23:28}, (..., ..., ...)>`
   |
   = note: the full type name has been written to '/home/bobhy/src/rustgui/db1/target/debug/deps/app-27b6d6e01d81c903.long-type-5811023363139442564.txt'
   = note: consider using `--verbose` to print the full type name to the console
   = note: this error originates in the macro `view` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `leptos::prelude::View<NestedRoute<_, (), (), _>>: leptos::IntoView` is not satisfied
  --> app/src/test.rs:21:27
   |
21 | fn ContactInfoRoutes() -> impl IntoView {
   |                           ^^^^^^^^^^^^^ the trait `RenderHtml` is not implemented for `leptos::prelude::View<NestedRoute<_, (), (), _>>`
   |
   = help: the trait `RenderHtml` is implemented for `leptos::prelude::View<T>`
   = note: required for `leptos::prelude::View<NestedRoute<_, (), (), _>>` to implement `leptos::IntoView`

Some errors have detailed explanations: E0277, E0599.
For more information about an error, try `rustc --explain E0277`.

Additional context
Add any other context about the problem here.

Yeah, this isn't a Github issue, that's a valid error message. The way Router works and how to define paths has changed dramatically in 0.7:
For example, see below:
https://github.com/leptos-rs/leptos/blob/1c26261fd71a027e7ed46676eb147ba814ebca38/examples/hackernews_axum/src/lib.rs#L39


[Dropdown] Open menu's right border too wide

As you can see here, its right border is too far right.

            foo
            <select class="ui fluid search selection dropdown">
              <option value="">select test</option>
              <option value="test">Test</option>
              <option value="test2">Test2</option>
              <option value="test3">Test3</option>
            </select>

          bar

and
$('.ui.dropdown').dropdown();

is the code I use.

Hi @NicoAiko, I couldn’t reproduce it in a JSFiddle. Could you please provide a test case as per our contributing guidelines? You can fork this JSFiddle.

I can't reproduce it. It seems like it only affects my code...
It's a very strange behaviour. I tried to bring in the whole basic HTML structure but even that didn't help.
I'll try something else though.

Same for me.

Hi @JamesJGoodwin, can you reproduce it in a JSFiddle?

@NicoAiko @JamesJGoodwin inspect the dropdown and try to look for transform property

At a guess, this is something to do with the width being a calc value:
width: calc(100% + 2px);

Can you check nothing else is targeting your code in devtools as well as if this is handled correctly?


Can't open a save file from Story Of Seasons Trio Of Town due to DLC download requirement.

As the title, I couldn't open my save file from this game. Does this support DLC?

I even tried redownload the DLC from Start menu but it just didn't work.

From the README DLC support is not added yet.

Thank you!


White Screen.

Is there an existing issue for this?

[X] I have searched the existing issues.

Is this issue related to iced?

[X] My hardware is compatible and my graphics drivers are up-to-date.

What happened?
I have wrote the following file
use iced::{
    canvas::{Cache, Cursor, Geometry, Path},
    executor, time,
    widget::canvas::{
        event::{self, Event},
        Program,
    },
    Application, Color, Command, Element, Point, Rectangle, Settings, Subscription, Canvas,
};

struct Example;

#[derive(Debug)]
enum Message {}

#[derive(Debug)]
struct ProgramCanvas {
    cache: Cache,
}

impl Application for Example {
    type Executor = executor::Default;
    type Message = Message;
    type Flags = bool;

    fn new(_flags: Self::Flags) -> (Example, Command<Self::Message>) {
        (Example, Command::none())
    }

	fn title(&self) -> String {
		String::from("Title")
	}

	fn update(&mut self ,_: Self::Message) -> Command<Self::Message> {
		Command::none()
	}

    fn view(&mut self) -> Element<Self::Message> {
        use iced::{Container, Length};
        Canvas::new(ProgramCanvas::new())
        .width(Length::Fill)
        .height(Length::Fill)
        .into()
    }
}

impl ProgramCanvas {
    fn new() -> Self {
        Self {
            cache: Cache::new(),
        }
    }
}

impl Program<Message> for ProgramCanvas {
    fn draw(&self, bounds: Rectangle, _cursor: Cursor) -> Vec<Geometry> {
        let chip_view = self.cache.draw(bounds.size(), |frame| {
            let space = Path::rectangle(Point::ORIGIN, frame.size());
            frame.fill(&space, Color::BLACK);
            log::info!("DRAWING");
            frame.translate(frame.center() - Point::ORIGIN);
        });
        vec![chip_view]
    }
}

pub fn main() -> iced::Result {
    Example::run(Settings {
        id: Some(String::from("Some")),
        window: iced::window::Settings {
            size: (64 * 15, 32 * 15),
            min_size: Some((64 * 15, 32 * 15)),
            max_size: Some((64 * 15, 32 * 15)),
            resizable: false,
            ..iced::window::Settings::default()
        },
        flags: false,
        default_font: None,
        default_text_size: 20,
        text_multithreading: false,
        antialiasing: true,
        exit_on_close_request: true,
        try_opengles_first: false,
    })
}

with the following Cargo.toml
[package]
name = "example"
version = "0.1.0"
edition = "2021"

[dependencies]
rand = "0.8.4"
iced = { version = "~0.4" , features = ["canvas", "tokio"] }
iced_native = "~0.4"
rodio = "0.15.0"
log = "0.4.16"
env_logger = "0.9.0"
builder-pattern = "0.4.2"
byteorder = "1.4.3"

And I am only getting a white screen.
What is the expected behavior?
A black screen
Version
master
Operative System
Linux
Do you have any log output?
No response

Does any of the Canvas examples work for you (e.g. clock, solar_system,game_of_life...)?
Is this the simplest example possible? Are the unrelated dependencies necessary to reproduce the issue? What about the canvas::Cache?
Does disabling antialiasing help in any way?

@hecrj  The Cargo.toml can be reduced to
[package]
name = "example"
version = "0.1.0"
edition = "2021"

[dependencies]
iced = { version = "~0.4" , features = ["canvas", "tokio"] }
iced_native = "~0.4"
log = "0.4.16"
env_logger = "0.9.0"
``

The disabling  of anti-aliasing does in fact solve the problem.
The enabling to the feature glow does in fact also solve the problem.
And the mixing of two also solve the problem.

@hecrj
On Arch Linux I have solved this problem before when using iced.
Adding the "glow" feature to each iced project while using Arch Linux and likely other Linux distros solves the problem and everything works properly.
Close issue

I was seeing the same issue (although solar_system was black instead of white).  Adding feature "glow" fixed it for me.  Running Ubuntu 22.04.

I checked out iced for the first time today. I also had the issue that every Canvas was just white. Activating "glow" feature makes it work. Also running ubuntu 22.04.

@hecrj
Close issue
No,
It does not fix the problem, it just switches to OpenGL.

Having same problem on Arch. Glow works as others mentioned

I’m having reports of what is likely the same issue: https://github.com/greatest-ape/OctaSine/issues/136#issuecomment-1428668787

At 0.10 without glow, is there a solution other than disabling antialiasing?


IGNITE-10715 Remove boilerplate of settings 'TcpDiscoveryVmIpFinder' in tests

https://github.com/apache/ignite/commit/7868e6679be2fee4b35986124af8815777f47f35


Pullsync test fails on infra tests

Summary
Every execution of infra tests fail with pullsync. Error logs from the last run
Steps to reproduce
Ping me if you want to test it on infra-tests env
Expected behavior
All tests should pass
Actual behavior
Test fail with Error: pull sync log

As pull sync logic will change because of the push sync changes, we should not spend time on fixing this check as it is. This should be fixed alongside the changes to syncing strategies changes. We should prioritize improvements to syncing strategies.

Hi @janos , I'm not so sure about your comment here. As far as my understanding goes there are currently no planned change in the pull sync strategy (only #818).
Could you help me to assign this issue a priority in the bugs board?

@Eknir if we are not gonna change the syncing strategy, this is a high priority issue.

After fixing pushsync and retrieval test fails we are back to pullsync fails.
Last run logs

@vandot i think that the last change to the pull sync tests should do the trick. have you seen any failures after we tagged the last version?

@acud pullsync still fails but now we have a new typo of error
Upload node 0. Chunk: 1. Chunk does not have any designated replicators.

2020-11-22 03:10:27
Error: pull sync

2020-11-22 03:10:27
Upload node 0. Chunk: 1. Chunk does not have any designated replicators.

2020-11-22 03:10:27
Upload node 0. Chunk: 1. Closest: 15 64f5a7f3833d4a0574d34d5c7cb56f0405775f282722de3ce1f51a9c35bffd05

2020-11-22 03:10:27
Uploaded chunk 60f9e68a6e9c8226fa905a8c5cd8c18632774d2f2f2446dd7af5211fc4318308

2020-11-22 03:10:27
Chunk replication factor 5

2020-11-22 03:10:21
Chunk should be on 3 nodes. 3 within depth

2020-11-22 03:10:21
Upload node 0. Chunk: 0. Closest: 5 51fc2de2afd0eefb7f0e0da76355f202970105f08fb9eb29ca4e6d7fa7b5e5a6

2020-11-22 03:10:21
Uploaded chunk 5d36c82314d7af8979ae6d37021376e62e22a71db3de708628f482a65ede1391

2020-11-22 03:10:21
Seed:<PHONE_NUMBER>030364356

2020-11-22 03:10:20
*** PULLSYNC ***

Logs from last run

Again same error -> logs
Upload node 0. Chunk: 0. Chunk does not have any designated replicators.
Error: pull sync

Again same errot -> logs
Upload node 1. Chunk: 2. Chunk does not have any designated replicators.
Error: pull sync

closing this, as pull sync tests are now disabled


Wrong Collection->shift() fix was made (Attempt #2)

Laravel Version
11.34.2
PHP Version
8.3.3
Database Driver & Version
No response
Description
(This is the follow-up issue to https://github.com/laravel/framework/issues/53761)
Dear Laravel-Team,
I develop on my own system with framework version 10.45.1. But I encountered some error on my external production system (framework version 10.48.23), which was not happening on my developer system.
This issue is still persistent in the current version of the Laravel Framework (11.34.2). So it doesn't matter whether I encounter it in version 10. The error is still out there and it's ok if you fix it in the current version, as long as you just fix it. Would be great if you could also fix it in version 10 where it was produced, but if this is against your policies, then we have to check whether we can update to version 11.
By tracing down the error, I found the reason by a wrong fix you made to the "src\Illuminate\Collections\Collection.php".
Came from this PR: https://github.com/laravel/framework/pull/51841
Regarding this original issue: https://github.com/laravel/framework/issues/51840
Since the first implementation of multi shift (and multi pop (!! important later on)) in 2021-07-21 from "Ed Grosvenor", it was always the case that if you request more than 1 item to be shifted, that you will always get a collection as the result. Even if no items are returned. Then you got an empty collection but not null. If you request a single item to be shifted, only then you got null if the collection was empty.
This changed in 2024-06-03 by "Faissal Wahabali" during his commit:
* [10.x] Fix collection shift less than one item (#51686)
* fix collection shift less than 1
* throw exception earlier
* Update Collection.php
---------
Co-authored-by: Taylor Otwell<EMAIL_ADDRESS>
(8154eb6e4b9673f332e2c26daf7730e409d443cc)
Here the function workflow changed conceptionally. Besides some new error handling the function now returns an empty collection as a shift-result if the collection is empty. That's correct for a multi-shift, but wrong for a single-shift operation. So here happened the real error.
But on 2024-06-19 "Tonko Mulder" "miss-fixed" this during his commit:
* [10.x] fix handle `shift()` on an empty collection (#51841)
* add test for collection shift on a empty collection
* fix collection shift when dealing with an empty collection
* place the `isEmpty()` check before the count check
* update naming and assert the actual values

(16472d1bce7b7619b3dceadbc2349053855397e6)
He changed the behaviour mostly back, so that there will be always null returned, if the collection is empty. That's wrong for a multi-shift, but correct for a single-shift operation. So the original error is still open and not fixed. There were only new bugs introduced.
Besides that shift-function stuff, there is still the pop-function left. Which is the counterpart to shift and still works the old (correct) way. So if you use pop, you will get null as a result if the collection is empty if it is a single-pop operation. And you will always get a collection as a result if it is a multi-pop. So pop is working fine but different from shift now.
So even if you say, that the new shift-behaviour is correct (which I doubt), then pop would be wrong.
So please revoke your previous fix and make a new one. Here are the test cases that I would expect to be correct (considering your version-flow (We are working since several years with Laravel and started way back with version 8/9))
collect()->shift(); // should be null
collect()->pop(); // should be null

collect()->shift(3); // should be an empty collection [] <--------- Is null at the moment (which is wrong in my opinion)
collect()->pop(3); // should be an empty collection []

collect()->shift(0); // should be an empty collection []
collect()->pop(0); // should be an empty collection []

$c = collect(['a', 'b']);
$c->shift(); // should be 'a'
$c->shift(); // should be 'b'
$c->shift(); // should be null

$c = collect(['a', 'b']);
$c->pop(); // should be 'b'
$c->pop(); // should be 'a'
$c->pop(); // should be null

collect(['a', 'b'])->shift(3); // should be the collection ['a', 'b']
collect(['a', 'b'])->pop(3); // should be the collection ['a', 'b']

collect()->shift(-1); // should be an exception
collect()->pop(-1); // should be an exception

Kind regards
Steps To Reproduce
collect()->shift(3); // should be an empty collection [] <--------- Is null at the moment (which is wrong in my opinion)

collect()->shift(3); should return null. This is the current behavior and we are not planning to change this.

Dear Laravel-Team,
I'm a bit upset about your response.
I'm totally fine in general with the statement that "collect()->shift(3); should return null". (Even if it is wrong)
But what I don't understand is why you don't read and understand my ticket. This makes me a bit angry, because it feels highly disrespectful for the Laravel community. I try to do my best to support you in improving your software that everyone of us uses. And it feels a bit odd that it seems like you don't care about what the community is responding. And this was my second attempt already.
As I already mentioned in my ticket (which you should know if you would have read it) is, that if shift is correct, then pop is wrong. But you don't even respond to that point, you just closed the ticket:

Also your screenshot in your answer makes no sense, because you are not testing what I was talking about. You are testing the single-shift operation compared to array_shift. I never said that this is the problem! I am talking about the MULTI-shift operation. This is implemented differently. And it worked differently for over 3 years now. But there was a wrong fix which crushed the behaviour. I explained everything about it in my ticket. PLEASE read my ticket. I explained this stuff already.
I would also like if another Laravel-developer could take a look on this ticket. I can't trust crynobone's opinion here anymore if he don't read my ticket.
Here is my third attempt now: https://github.com/laravel/framework/issues/53780
Kind regards


support hasTag() and getTag() in the validator

Description of changes
Support .hasTag() and .getTag() (RFC 82) in the validator.
Issue #, if available
RFC 82
Checklist for requesting a review
The change in this PR is (choose one, and delete the other options):

[x] A backwards-compatible change requiring a minor version bump to cedar-policy (e.g., addition of a new API).

I confirm that this PR (choose one, and delete the other options):

[x] Updates the "Unreleased" section of the CHANGELOG with a description of my change (required for major/minor version bumps).

I confirm that cedar-spec (choose one, and delete the other options):

[x] Requires updates, and I have made / will make these updates myself. (Please include in your description a timeline or link to the relevant PR in cedar-spec, and how you have tested that your updates are correct.)

Merging per the above comment.


Spead types may only be created from object types

Version 2.2.1
let p = {} as any as object;
const z = { ...p } // works fine
const fn = <T extends object>(t: T) => {
	return { ...t } // Error: Spread types may only be created from object types.
}

Should this be erroring?

Tracked by https://github.com/Microsoft/TypeScript/issues/10727, fixed by https://github.com/Microsoft/TypeScript/pull/13288

@mhegazy I still get this error on TS online playground and VS Code with TS 2.4.2

@zheeeng #13288 is not yet merged and #10727 is still open.  Commenting on issues closed as duplicate helps no one.


Can't see/attach Companion profile to warlock Demon

Describe the issue
Today after the Prepatch I can't see or Attach profile of my Shivarra or any other Demon,
Expected behaviour
TRP says that profile is attached to demon, yet when I hover my cursor over it, nothing shows up, like I look at NPC/Player without profile in TRP3
Issue checklist
Please select any applicable options from the below list.

You can replace the "[ ]" with "[x]" for each option below to tick it.

[X] The issue occurs with the latest version of the addon.
[X] The issue occurs with Total RP 3 as the only enabled addon.
[X] The issue occurs only with other addon(s) enabled (please provide a list).
TRP3, Extended, LUI3, KUI media, Battleground targets.

Steps to reproduce
Give us a list of steps to reproduce the issue with.

Go to '...'
Click on 'Demon of a warlock.'
Scroll down to '....'
See error

Additional files
I can see my profile or profiles of other players, yet demon profile is broken,

Issue was traced to colorblind mode on Discord and resolved in #649 (and #647 implicitly).


Console input now focuses on :activate

(Small one) - Saves you from having to click the input box every time the console is opened. (Also, the Source engine does this)
P.S I looked at Platimeter and it seems that everything is written in Lua, NodeJS or AngularJS which are (no joke) my favorite things.  How can I get involved?

Hey, sorry for the late response on this! I'm super busy with work. Add me on Steam and we'll chat it up. I'm sure there's something you'll find that you'll enjoy.
Merge approved and marking for upstream merge to vertex-adventure.

https://steamcommunity.com/id/andrewmcwatters


multi scale training perform badly when training from scratch

I tried the multi scale training methods and found that the performance is much worse than the train.py when training from scratch.
How about your experiment?

I haven't run the experiments until the full convergence; @arslan-chaudhry might provide more information on this one.

I have run the train_msc.py script for 20k iterations and reported the results here: https://github.com/DrSleep/tensorflow-deeplab-resnet/issues/18. Can you please share the details of your experiment - initialization model, hyper parameters etc? Also, did you use random-scale and random-mirror options? If it helps, I can share my trained model somewhere?

this is my training code
CUDA_VISIBLE_DEVICES=5 python train_msc.py --random-scale --random-mirror --is-training --restore-from ../../tensorflow-deeplab-resnet3/deeplab_resnet_init.ckpt
I use the default parameter in your code.

Try running the training without --is-training flag. Original paper is not changing the batchnorm statistics.

@arslan-chaudhry Hi, I read from here that you got 76.5% on val and 76.78% on test. Could you share the detail of your experiments? what are the hyperparameters you used?
Because I tried training without msc, batch size 10, lr 2.5e-4, num_steps 20K, random_scale, random_crop, without is_training flag, the best iou I got is 75.3%.
Training with msc, batch size 1, grad_update_every 10, lr 2.5e-4, num_steps 20K, random_scale, random_crop, without is_training flag, the best iou I got is 75.1%.
(training set is about 10K images, validation set is about 1500 images, 'void' is also correctly ignored. restore-from deeplab_resnet_init.ckpt)
Did I miss something?

Did you try 'random-mirror' as well?
Also which evaluation script are you using? I calculated IOU with evaluate_msc.py checked in the master branch.

@arslan-chaudhry Sorry... I made a mistake. I used random-scale and random-mirror (random-crop is set by default). And I used evaluate.py.
After changing to evaluate_msc.py, I get 76.5% too and I notice in the article, they got 76.35%. Excellent! Thanks for your help.

Hi @holyseven  and @arslan-chaudhry: Thanks for your result. I also got 76.3% in validation set (SegmentationClassAug) using python train_msc.py --random-mirror --random-scale. I have three questions:

To achieve 76.78% on testset, do you merge train and val sets as training set and re-train again with deeplab_resnet_init.ckpt
Why is the validation result of multiple-scale (76%) lower than single-scale (86%)?
When you submit the result to PASCAL evaluation server, do you results that provided by inference.py or another script in testing set?

Thanks so much

I got 84% val accuracy by evaluate_msc.py training with train_msc.py. Is it rational?


Untrusted?

Are you able to get untrusted for the triggerbot? I have been using this and the other cheats this is based off on for sometime. But, have never used the triggerbot except for in community servers.

I'm pretty sure you can get untrusted on any server...
It won't untrust you.

Afaik, untrusted ban is a ban from server side anti-cheat.
You shouldn't get untrusted using this hacks.
However, you could get an overwatch ban which is a community ban.

@MrWhiteGoat I'm pretty sure you can only get untrusted bans on official Valve servers (deathmatch, casual, competitive, etc)

@Arvife Oh didn't knew that.

Yeah untrusted bans are only on Deathmatch/casual/competitive/etc. This is mostly for triggerbots under around 25ms response and invaild angles ( bad spin bots and bad aimbots ) and unclamped angles ( very bad aimbots ) Just didn't know if untrusted bans work on linux.

Close issue plz


bump version number

v0.12.19

For repository owners only:
Please remember to apply all applicable tags to your pull request.
Tags: FEATURE, BREAKING, BUG, PERF, DEV, DOC, SECURITY
For more info see: https://github.com/tensorflow/tfjs/blob/master/DEVELOPMENT.md

This change is

Thanks, @annxingyuan Are we doing a patch release or minor release?


User guide for Gaffer2

The user guide is now located in the wiki. Additional simple examples have been added on branch G14-user-guide and should be merged into develop shortly.

Merged into develop. Further examples should be completed against new issues.


Can not download MM-Math and DynaMath dataset from the default links

DynaMath: https://opencompass.openxlab.space/utils/VLMEval/DynaMath.tsv
MM-Math: https://opencompass.openxlab.space/utils/VLMEval/MM-Math.tsv
Hello, the links are not working for downloading. Could you please update them?

The links have been fixed now.


Support index alias update on an existing index using opensearch_index

Description
Support index alias update on an existing index using opensearch_index.
Issues Resolved
https://github.com/opensearch-project/terraform-provider-opensearch/issues/85 and part of https://github.com/opensearch-project/terraform-provider-opensearch/issues/190
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Adding @peterzhuamazon @rblcoder @getsaurabh02.

Eagerly waiting for this PR to get merged as this PR seems to fix the non deletion of existing index when aliases is updated or  new alias added to an existing index.
@phillbaker @rblcoder @jackson-theisen @peterzhuamazon

Sure @anuborah doing some final checks on the PR, once done I will ask the maintainers to review and merge.
Thank you
@getsaurabh02


Support for navigation references in model-level query filters

I would like to be able to use navigation references in model-level query filters.  This limitation is called out in the ef core / what's new documentation.
I can probably best describe my use case by extending the tenant sample shown in that documentation.
Unlike the referenced sample, I do not have reference to the TenantId foreign key at the time of context creation, therefore I can not reference it in the HasQueryFilter method.
At the time of context creation, I do have reference to another unique property of a tenant: TenantName .  (e.g.: "tenant.onmicrosoft.com")
Here is an example of the model:
public class Tenant
{
    public Guid Id { get; set; }
    public string Name { get; set; }
    public List<Blog> Blogs { get; set; }
}

public class Blog
{
    public Guid Id { get; set; }
    public string Name { get; set; }
    public Tenant Tenant { get; set; }
    public Guid TenantId { get; set; }
    ...
}

In OnModelCreating, I can filter the Tenant entity on a private property _tenantName:
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
    modelBuilder.Entity<Tenant>().Property(t => t.Name).IsRequired();
    modelBuilder.Entity<Tenant>().HasAlternateKey(t => t.Name);
    modelBuilder.Entity<Tenant>().HasQueryFilter(t => t.Name == _tenantName);
    ...
}

I need to filter a number of other entities by Tenant, and those entities only directly reference the Tenant via a foreign key: TenantId.  I'd like to be able use the navigation reference "b.Tenant.Name" in the following manner:
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
    ...
    modelBuilder.Entity<Blog>().HasQueryFilter(b => b.Tenant.Name == _tenantName);
    ...
}

I think this is important because the value of a filter applied in OnModelCreating is to not have to remember to filter anywhere else.  As it is implemented currently, I still need to pay attention anytime I interact with something other than the Tenant model.

duplicate of #8881


AttributedString

Can I use this package in a non SwiftUI project to get an AttributedString to use in a UILabel or UITextView?

Nope sorry. Its designed specifically for SwiftUI. However you could use ’s Swift-Markdown directly to generate an NSAttributedString from Markdown. Styling would be trickier to implement but its totally possible. Good luck!


ACNA-474 - Support for additional properties on get, added expiration

Description
change get return interface from:
get(key) => value to get(key) => { value, expiration}
this has the following benefits:

allow users to know when key-value pair expires
allows us to add additional get features in the future without breaking interface after 1.0

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Codecov Report

Merging #5 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master     #5   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           5      5
  Lines          93     97    +4
  Branches       17     19    +2
=====================================
+ Hits           93     97    +4

Impacted Files
Coverage Δ

lib/StateStore.js
100% <ø> (ø)
:arrow_up:

lib/impl/CosmosStateStore.js
100% <100%> (ø)
: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 53dfa54...83a5706. Read the comment docs.


pkgx reads .nvmrc and can't parse lts/iron or ^20.0.0

$ dev
× unexpected error invalid semver range: @lts/iron

Here's the situation, we have lts/iron in .nvmrc. I tried adding .node-version and pkgx: to package.json but I still get the error. Then I tried changing .nvmrc to ^20.0.0 and I get the following error:
$ dev
× unexpected error invalid semver range: @^20.0.0

Next try gave:
$ dev
× unexpected error invalid semver range: @>20.0.0 <21.0.0

There's no mention of .nvmrc in the dev docs. Also, the error message that this is an invalid semver range is a little misleading (I think). It seems that it only accepts exact versions rather than ranges. Or maybe I misunderstood something.
It would be great if there was a clear precedence to pkgx files. I also tried adding pkgx.yml but that generates errors if both .nvmrc and pkgx.yml don't have the same version.
Edit: It seems like a bug that pkgx parses .nvmrc looking for a semver range, given that nvm itself supports other version specifiers. It seems like a separate bug that ^20.0.0 is flagged as an invalid semver range.

@jhheider Thanks for the quick follow up. What will happen with this patch if a .nvmrc file contains lts/iron?
My expectation would be that pkgx ignores third party files which it can't parse, but that's not what I observed. When it couldn't make sense of lts/iron it seemed to break my ability to automatically make the correct node version available.
I realise there's a few different topics in this issue, if it would be helpful for me to split them into separate issues just let me know, happy to do that. And thanks for pkgx, it's really awesome, I'm looking forward to making it our go-to tool to get new developers setup on our environment.

I'm not sure how nvm does the resolution internally. The lts releases all have official names, which is where the format comes from. It's described in this section of the nvm docs. You can see the node version code names here. I would guess that lts/iron is equivalent to ^20.0.0 in that it's the latest release in the 20.* line.
Let me know if I can do anything else to help out.

I think supporting nodejs release code names is probably too moving a target to be wise, but ignoring them should be ok.


Clickable "you" when being invited

When another user invites the current user to a channel, the following statement is being shown to the current user:

astorije invited you to #astorije

However, you is clickable, while it should not.
Looks like this in practice:

Marking as priority as this is a regression, to make sure we do not ship this by accident.


Readd posix_spawn{_file_actions_t,attr_t} on Android

Fixes: https://github.com/rust-lang/libc/issues/3709
Fixes: https://github.com/rust-lang/libc/issues/3608
Fixes: https://github.com/rust-lang/libc/issues/3677
[resolved conflict, update commit message - Trevor]
(apply https://github.com/rust-lang/libc/pull/3690 to main)
(cherry picked from commit b2b2fd71f4cb866c2d3e4579a50a70aa460aab8e)

This re-adds https://github.com/rust-lang/libc/pull/3710 as a cherry pick.


Large loss of accuracy between flashattention and native

I am trying to implement flashAttention in local, which is similar to https://github.com/zhuzilin/ring-flash-attention/issues/24.
But I have found that there is a significant discrepancy between the attention computation using the flashAttention interface and the native attention computation. Could you please explain why this is the case? This error is unacceptable for inference.
This issue has been troubling me for a long time. I am looking forward to your reply.
`
      def _flashAttention_forward(self,
                                  x: torch.Tensor,
                                  start_pos: int,
                                  freqs_cis: torch.Tensor,
                                  mask: Optional[torch.Tensor],
                                  softmax_scale=None,
                                  dropout_p=0,
                                  causal=True,
                                  window_size=(-1, -1),
                                  alibi_slopes=None,
                                  deterministic=False,
          ):
              bsz, seqlen, _ = x.shape
              xq, xk, xv = self.wq(x), self.wk(x), self.wv(x)
              xq = xq.view(bsz, seqlen, self.n_local_heads, self.head_dim)
              xk = xk.view(bsz, seqlen, self.n_local_kv_heads, self.head_dim)
              xv = xv.view(bsz, seqlen, self.n_local_kv_heads, self.head_dim)

              xq, xk = apply_rotary_emb(xq, xk, freqs_cis=freqs_cis)
              self.cache_k[:bsz, start_pos : start_pos + seqlen] = xk
              self.cache_v[:bsz, start_pos : start_pos + seqlen] = xv

              keys = self.cache_k[:bsz, : start_pos + seqlen]
              values = self.cache_v[:bsz, : start_pos + seqlen]

              keys = repeat_kv(
                  keys, self.n_rep )  # (bs, cache_len + seqlen, n_local_heads, head_dim)
              values = repeat_kv(
                  values, self.n_rep )  # (bs, cache_len + seqlen, n_local_heads, head_dim)

              xq = xq.transpose(1, 2)  # (bs, n_local_heads, seqlen, head_dim)
              keys = keys.transpose(1, 2)  # (bs, n_local_heads, cache_len + seqlen, head_dim)
              values = values.transpose(
                  1, 2
              )  # (bs, n_local_heads, cache_len + seqlen, head_dim)
              scores = torch.matmul(xq, keys.transpose(2, 3)) / math.sqrt(self.head_dim)
              if mask is not None:
                  scores = scores + mask  # (bs, n_local_heads, seqlen, cache_len + seqlen)
              scores = F.softmax(scores.float(), dim=-1).type_as(xq)
              # print(f"scores shape: {scores.shape}, values shape: {values.shape}")
              native_output = torch.matmul(scores, values)  # (bs, n_local_heads, seqlen, head_dim)

              if softmax_scale is None:
                  softmax_scale = xq.shape[-1] ** (-0.5)
              flash_attn_output, _, _,_ = _flash_attn_forward(
                                      xq,
                                      keys,
                                      values,
                                      dropout_p=dropout_p,
                                      softmax_scale=softmax_scale,
                                      causal=True,
                                      window_size_left=-1,
                                      window_size_right=-1,
                                      softcap=0.0,
                                      alibi_slopes=alibi_slopes,
                                      return_softmax=True and dropout_p > 0,)

              flash_attn_varlen_output = flash_attn_varlen_func(
                  q=xq.reshape(-1, self.n_local_heads, self.head_dim),
                  k=keys.reshape(-1, self.n_local_heads, self.head_dim),
                  v=values.reshape(-1, self.n_local_heads, self.head_dim),
                  cu_seqlens_q=torch.tensor([0, seqlen], dtype=torch.int32),
                  cu_seqlens_k=torch.tensor([0, seqlen], dtype=torch.int32),
                  max_seqlen_q=4096,
                  max_seqlen_k=4096,
                  softmax_scale=softmax_scale,
                  causal=True,
                  window_size=window_size,
                  alibi_slopes=alibi_slopes,
                  softcap=0.0,
              )   # total, nheads, headdim

              native_output = native_output.transpose(1, 2).contiguous().view(bsz, seqlen, -1)
              flash_attn_output = flash_attn_output.transpose(1, 2).contiguous().view(bsz, seqlen, -1)
              flash_attn_varlen_output = flash_attn_varlen_output.contiguous().view(bsz, seqlen, -1)

              print("[flash_attn_output, native_output] diff max: ", (flash_attn_output - native_output).abs().max().item())
              print("[flash_attn_output, native_output] diff mean: ", (flash_attn_output - native_output).abs().mean().item())

              print("[flash_attn_varlen_output, native_output] diff max: ", (flash_attn_varlen_output - native_output).abs().max().item())
              print("[flash_attn_varlen_output, native_output] diff mean: ", (flash_attn_varlen_output - native_output).abs().mean().item())

              return self.wo(output)

`
The print result is:
[flash_attn_output, native_output] diff max: 0.294921875
[flash_attn_output, native_output] diff mean: 0.01226806640625
[flash_attn_varlen_output, native_output] diff max: 0.326171875
[flash_attn_varlen_output, native_output] diff mean: 0.0130615234375

+1 even i have noticed this and cannot swap FA-2 with FA-3 for inference only

@fanfanaaaa is this issue solved? Did you check if not providing mask give you the correct result?


🍒 Cherry pick PR #16922 to staging 🍒

🍒 Cherry pick https://github.com/Expensify/App/pull/16922 to staging 🍒

🚀 Cherry-picked to staging by https://github.com/OSBotify in version: 1.2.94-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/thienlnam in version: 1.2.94-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


parsing bug on infix operator

Hi,
When trying to define an infix operator let (<*>) = apply I get a syntax error, using reason with bucklescript.
going from ocaml to reason seems to have a bug where the * is escaped: https://reasonml.github.io/reason-tools/popup.html#bW9kdWxlIEFwcGxpY2F0aXZlX2luZml4OiB7CiAgbGV0ICg8Kj4pOiB0ICgnYSA9PiAnYikgPT4gdCAnYSA9PiB0ICdiOwogIGxldCAoIDwqICk6IHQgJ2EgPT4gdCB1bml0ID0+IHQgJ2E7CiAgbGV0ICggKj4gKTogdCB1bml0ID0+IHQgJ2EgPT4gdCAnYTsKfTsKCg==
and from reason to ocaml is a syntax error: https://reasonml.github.io/reason-tools/popup.html#ICBtb2R1bGUgQXBwbGljYXRpdmVfaW5maXggOiBzaWcKICAgIHZhbCAoIDwqPiApIDogKCdhIC0+ICdiKSB0IC0+ICdhIHQgLT4gJ2IgdAogICAgdmFsICggPCogICkgOiAnYSB0IC0+IHVuaXQgdCAtPiAnYSB0CiAgICB2YWwgKCAgKj4gKSA6IHVuaXQgdCAtPiAnYSB0IC0+ICdhIHQKICBlbmQ=

Fixed in master

awesome, thank you 😄


chore: update angular2 version to 2.0.0-beta.14

Fixes #405

We need to follow these versions exactly, as they are the official (and tested against) ones: https://github.com/angular/angular/blob/master/package.json#L34-L38

rxjs": "5.0.0-beta.5" has the typings broken, though. See https://github.com/angular/angular/pull/7919

Thanks @filipesilva & @ericmdantas I updated, so only updating the angular2 version.

This has been merged


no highlighting in preview

I feel like I must be doing something basic wrong
I'm adding a block to a markdown file using fencing
def square (x):
    return x * x

When I preview the code its not highlighted, looking at the source its all classed up, but no css files are being loaded. Am I missing something silly?

Please post your settings so I can better help.

Also post platform and sublime version.

This has been open 8 days with no response.  I will close this issue after 14 days.

apologies for delay, reinstalled and worked second time.


Remove assert statements from main code and replace with raise error

This simple PR replaces assert statements used in main code and replaces them with raise statements. The test logic is reversed to do this.
I left the assert statements in the test files as it seem appropriate there.

Is this ready to merge?

I removed the old code. Looks good to me and tested and it runs fine. Can you double check that it works before merging?

Works...merging...


[ALGORITHM] Routing Algorithm to Include Real-Time Traffic Data

Proposed Improvement
Include real-time traffic data using APIs like Google Maps Traffic or TomTom Traffic API to ensure optimal route selection.
Implementation Details

Integrate with a real-time traffic data provider.
Modify the routing algorithm to factor in current traffic conditions.
Validate results with test cases and real-world scenarios.

I SOLVED THAT ISSUE

but in my Hacktober fest it show it 2 pr in review why??


refactor: Pass object to addParam in iNetwork functions

Part of #182

Running only the inetwork functional tests
$ ./node_modules/mocha/bin/mocha --timeout 3s test/functional/ToolkitFunctional.js

  Toolkit Functional Tests
    getTCPIPAttr
      ✓ retrieves TCP/IP Attributes using idb transport (264ms)
      ✓ retrieves TCP/IP Attributes using rest transport (99ms)
      ✓ retrieves TCP/IP Attributes using ssh transport (724ms)
      ✓ retrieves TCP/IP Attributes using odbc transport (182ms)
    getNetInterfaceData
      ✓ retrieves IPv4 network interface info using idb transport (142ms)
      ✓ retrieves IPv4 network interface info using rest transport (124ms)
      ✓ retrieves IPv4 network interface info using ssh transport (701ms)
      ✓ retrieves IPv4 network interface info using odbc transport (145ms)

  8 passing (2s)


Updated Opera to 35.0.2066.82

Thank you for the contribution. It was merged directly as 1b2b425385495200f58c723a7ac4ff9e1e6ca1a8 to keep commit history cleaner. Your contribution is still credited to you.


Missing steps for ARM Templates / Bicep

This document is not complete as is missing steps on how to do this with ARM Templates / Bicep
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6e8201d1-3ff4-a4e2-fb55-7f707d19e5cc
Version Independent ID: b261aaec-02b5-648d-89fe-907d96da539a
Content: Create an Azure AMD-based confidential VM with ARM template (preview)
Content Source: articles/confidential-computing/quick-create-confidential-vm-arm-amd.md
Service: virtual-machines
Sub-service: workloads
GitHub Login: @RunCai
Microsoft Alias: RunCai

@kilasuit
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@RunCai
Can you please check and add your comments on this doc update request as applicable.

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. The requested updates have not been made since the creation of this issue, and the timeline for resolution may vary based on resourcing, so we've created an internal work item to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary. #please-close


Screen Selection and Global Take

On my system Screen Selection with Global Take is not working. I use two linked Ascender 3204, a two Output Widescreen, five Singlescreen Destinations and a Confidence Output.
All other Commands are working fine!
Can't figure out where the Problem is...
I'm doing the Selection and then the Global Take on one Button.

Quite old issue, usually issues with Global Take used to be user errors.
I'll close this issue due to age soon unless @loechri doesn't say he still has the problem.


Refactorize Autocomplete

Currently only the autocomplete for the methods works, but I think it is necessary to do it also for the parameters.

Working on this  here https://github.com/CityOfZion/neo-sharp/compare/development...shargon:autocomplete-args?expand=1

Done


How about a subcommand to vendor packages?

Occasionally I want to vendor packages, so with a requirements.txt based workflow, I would have executed  pip download -r requirements.txt -d vendor. As far as I can tell, pipenv doesn't have an subcommand to do this. It would be great to have such an option.
Also, in addition it would be cool to choose whether to vendor development packages, or whether to not vendor them.

Not just for download I'm using install to manually include the package source code in my project.
pip install -r vendor.txt -t vendor/  --upgrade

It will be great pipenv support these features.

no, this is not trivial in python

Do I understand this correctly? pip download of pinned sdists is non-trivial? I wouldn't have thought so, but then, I am not very familiar with pip/setuptools internals.

it's more about import styles, absolute vs relative.

Ok.
I found that I can use to solve the issue I had when I opened this ticket.  Maybe useful for people who stumble over this issue when googling for something similar.
% pipenv lock -r > foo.txt
% pip download -d vendor -r foo.txt


Chat UI/UX Server + HTML (support Llama 2 7B Chat models and tune run.c to Chat UI/UX)

This PR have tuned run.c (chat_server.c) that is converted it into web socket  that can be used with html i.e chat.html to interact with the model in website. I will be incorporating more functionality such as:

Creating Setting Fields that can change parameters such as max_length, temperature etc.
For Chat I will be incorporating history of chat and how it will be passed to the model.

This will be nice, especially once we have the Chat models loading and working.

This will be nice, especially once we have the Chat models loading and working.

Can you give me directions on what to work on? Should I work on int4/8 quantization. Then come back to this.


increase retries on sqlite connection

Hopefully fixes/improves : #1309

It seems to other issue with the delayed alert in persisted XSS is also acting up now...


It would be great if Hunyuan3d-1 is supported

The  Tencent's new Hunyuan3d-1 model is more accurate. I hope the author can add support。

Did just that, give a try my friend 👍

I am trying use nodes in my workflow, but how do I change the maximum number of mesh faces in hunyuan3d-1 node?

Hi @xiongwenxin123 sorry for the late responds
I'll expose this parameter in next release soon, along with new TRELLIS model.
Cheers 👍


Recovering a removed monitor fails

Distro: Arch Linux
Hyprland Version: AUR (-git | commit 670d6ce8f476cbdced7aa62e7d8c16a48bccf0d5)
Config:
monitor=HDMI-A-3,1920x1080@60,0x0,1,mirror,eDP-1
monitor=,preferred,auto,1

Log: hyprland.log
Steps to reproduce

Use the config I used
Start hyprland with external monitor connected
Disconnect monitor cable
Reconnect monitor cable

Expected outcome
Mirror the screen after reconnecting
Noted outcome
After reconnecting the external monitor (HDMI-A-3) it stays black and the windows on the integrated one (eDP-1) go invisible...

Check with recent commits.

@vaxerski k so I tested both 0ffaa8d and 5530cf6 with the same results.
It improved a lot but the part of the bug that causes the windows to go invisible still is there....but it happens less often. While I did the testing I got it like 4-5 on average after disconnecting and connecting the cable. Atleast when it happens im able to disconnect and reconnect the cable and everything is normal again....not like in previous versions where I had to kill the Hyprland process.
I tried figure it out the cause but I can't find anything abnormal inside the logs imo...
I'm not 100% sure but I got a feeling that it happens when switching very quickly from a workspace with a XWayland window to another workspace with a native Wayland application

the windows don't disappear for me, the monitor just switches to a different workspace.  I just see my wallpaper and when I'm switching workspaces I can see the current focused window title on my waybar.
And the screen output on the second monitor is frozen

super odd. That was fixed for me with recent commits.

make sure you updated by verifying the hash with hyprctl version

@vaxerski

alr. Odd.

@vaxerski idk if this helps but here's a part of the log (I enabled time logging). The frame on the second monitor stopped at 17:26:54
hyprland.log

Nothing out of the ordinary. Possibly a driver bug?

Can't even see any logs related to connecting / disconnecting mons

Nothing out of the ordinary. Possibly a driver bug?

I also thought about that....
Sometimes I get layersurface messages inside the logs right when the frame freezes idk if it's related... one of them was this one https://github.com/hyprwm/Hyprland/blob/31aa357c17ab670041695da3d8ba8586063bf5a6/src/events/Layers.cpp#L29
I also tried turning off blur completly

So I tried using the same installation but on other hardware (same iGPU) no problems at all.... imma close this issue for now

welcome to another episode of "your system is haunted"

I have nearly the same issue, when i shutdown my only monitor, and i turn it on after the night all the window have disappeared but programs are still running.., log:
[LOG] Applying monitor rule for DP-1
[LOG] Setting preferred mode for DP-1
[LOG] Pending output DP-1 does not accept VRR.
[LOG] Monitor DP-1 -> destroyed all render data
[LOG] LayerSurface 5768e7f0 arranged: x: 0 y: 0 w: 2560 h: 32 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 574ea950 arranged: x: 0 y: 0 w: 2560 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor DP-1 layers arranged: reserved: 0.000000 32.000000 0.000000 0.000000
[LOG] LayerSurface 5768e7f0 arranged: x: 0 y: 0 w: 2560 h: 32 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 574ea950 arranged: x: 0 y: 0 w: 2560 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor DP-1 layers arranged: reserved: 0.000000 32.000000 0.000000 0.000000
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Allocated texture for BGTex
[LOG] Background created for monitor DP-1
[LOG] Shaders initialized successfully.
[LOG] Framebuffer created, status 36053
[ERR] Committing TextInput on no IME!
[ERR] Committing TextInput on no IME!
[ERR] Committing TextInput on no IME!
[ERR] Committing TextInput on no IME!
[ERR] Committing TextInput on no IME!
[ERR] Committing TextInput on no IME!
[ERR] Committing TextInput on no IME!
[ERR] Committing TextInput on no IME!
[ERR] Committing TextInput on no IME!
[ERR] Committing TextInput on no IME!
[ERR] Committing TextInput on no IME!
[ERR] Committing TextInput on no IME!
[ERR] Committing TextInput on no IME!
[LOG] Hyprland received signal 15


Converting JSBoolean to bool fails in dart2js

Consider this simple snippet:
import 'dart:js_interop';

void main() {
  print(globalContext.equals(globalContext).toDart);
}

As .equals is declared to return a JSBoolean, it needs to be converted to Dart with toDart.  dart2js seems to disagree on that though, and pretends equals returns a bool directly:
> ~/bin/dart-sdk/dev/bin/dart compile js tool/repro.dart
tool/repro.dart:4:45:
Error: The getter 'toDart' isn't defined for the class 'bool'.
  print(globalContext.equals(globalContext).toDart);
                                            ^^^^^^
Error: Compilation failed.

Happens on 3.3.0 stable and I've also tested this on 3.4.0-160.0.dev. Casting to bool works, but all the documentation very strongly discourages that.

cc @srujzs
I can repro locally, but oddly it doesn't cause an issue in dartpad, not sure why.
What's strange is that the public API is declared to return JSBoolean in dart:js_interop, but to return a bool on the patch-files (both js_shared and wasm).

(thanks @simolus3 for the nice short repro, BTW)

Thanks for filing!
Yeah, it looks like the patch files use bool (and the API was meant to return bools in the first place) but the publicly-visible API uses JSBoolean. The tests in https://dart-review.googlesource.com/c/sdk/+/341140 must have sidestepped this issue on all the web compilers. I'm guessing the usage of identical in package:expect might have made this unintentionally work on dart2wasm, but not sure. This affects several other relational operators too like lessThan.
I'll upload a change. Not sure if this would be considered a breaking change, but we can discuss in the CL.

I can repro locally, but oddly it doesn't cause an issue in dartpad, not sure why.

I'm seeing a separate error in dartpad in the console:
Uncaught TypeError: Cannot read properties of null (reading 'postMessage')

So there may be something else affecting dartpad.


Swagger not showing types of filters

Hi! I started using this library and it works great. Excellent job @arthurio !
I just realized that with the latest version of Pydantic V2 the new behavior of optional fields breaks the types of the query params in the swagger documentation.
If you set your query params as "Optional" or with the notation query_param: Type | None it won't show the type on the swagger docs.
I've tried this by running the example https://github.com/arthurio/fastapi-filter/blob/main/examples/fastapi_filter_sqlalchemy.py, you'll see the only param that shows the type the only one that it's not optional: age__gte: int = Field(Query(description="this is a nice description")). If you change this param to be optional (age__gte: Optional[int] = Field(Query(description="this is a nice description"))) the type disappears
Without Optional:

With Optional:

Do you know a workaround or a possible fix to this?

It seems it's a FastAPI issue that happens when using Pydantic V2. They already know about this: https://github.com/pydantic/pydantic/issues/6647 and it seems the workaround is to use SkipJsonSchema from pydantic


HUDI-168 Ensure getFileStatus calls for files getting written happens after close() is called

@vinothchandar @n3nash : Grepped the code base and verified no other similar pattern exists

@n3nash @vinothchandar :  Please review and merge


Error TypeScript def getTileX

An error in the TypeScript defs

in phaser.comments.d.ts 29577:
getTileX(layer: Phaser.TilemapLayer|Phaser.TilemapLayerGL, x: number): number;
in phaser.js line 98574::
Phaser.TilemapLayer.prototype.getTileX = function (x) {
// var tileWidth = this.tileWidth * this.scale.x;
return Math.floor(this._fixX(x) / this._mc.tileWidth);

};
same happens for getTileY.

I've fixed the wrong typescript definitions and will provide a pull request, when pr #84 is merged into the repo, to prevent merge issues.


fix(filter-tag): fixed bug in safari

Исправлен баг в сафари (появлялась обводка при взаимодействии с тэгом)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 81.52%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
6799

Relevant Lines:
7640

💛  - Coveralls


Verbatim environments

We need to capture verbatim environments so that we don't process their arguments (including Markdown and colon processing). In particular:

\begin{verbatim}...\end{verbatim}
\begin{comment}...\end{comment}
\begin{python}...\end{python} here
\verb|...| and maybe \verb: version
\url{...}, \href{...}{...} (first argument only) and related commands; also \url: etc. versions

We'll also eventually want a way to add to this list, both globally for packages via some kind of type definition file, and locally within a document via a manual override.

Weak disagree on \url and \href. I want to be able to define a command like \oeis{000027} that becomes \href{https://oeis.org/A000027}{A000027}. You can't easily do this on coauthor because the parser has special treatment for \href.

Instead of having a fixed list of verbatim environments, we could have verbatim syntax that you can use with any environment, e.g.
```\verbatim
* This is not a list
* This is **not bold**
```

Yeah, I was thinking of the following for avoiding all Texlish magic and writing raw LaTeX:
>>tex
  * This is not a list
  * This is **not bold**

I don't understand your point about \url/\href. We don't want to add emphasis to URLs.

I want to be able to use the texlish equivalent of #1 inside \href. I agree that emphasis is not useful.

Ah, got it. Currently, we don't have our own notation for defining macros. Using TeX's #1 will work just fine. But I agree, when/if we define our own notation, it should work inside \url and \href, but not \verb/verbatim. Fun!

But what if I want to generate python code dynamically? :zany_face:

Then don't use verbatim 🙂 It wouldn't work in LaTeX either.


Compile.bat not working

i downloaded the files and now compile.bat is not working. hande-stealer.pyw is also not working

help me with this pls


Warning users only if deprecated keys are present

#749 I have added a check to the whole else statement! As it only runs if deprecated keys are present in the raw_dict.

/packit build

@shreyaspapi reached out today to let me know that he won't be able to continue work on this for 1-2 days.

Working on it

/packit build


Local links to use <<anchor,text>> format

Right now when a hyperlink to a local anchor gets processed, it looks something like this:
#heading=h.cughuow97z4o[local link]

This seems to just be a direct copy, but I bet that ID is getting carried with the element being linked to, and we can grab that and use it to form proper local xref. We don't actually use a lot of local links, but these can be a little hard to convert since that hash string doesn't actually appear elsewhere in the converted, so it's not clear just what that local link lined up with.
<<anchor-to-heading-id-or-explicit-anchor,local link>>

http://stackoverflow.com/a/12244248
I think we can only support this feature if the document has a TOC :unamused:

That's really interesting... but it's a fine workaround, right? If you have a lot of internal links, you could add a TOC before converting. I would find that useful.

That's really interesting... but it's a fine workaround, right? If you have a lot of internal links, you could add a TOC before converting. I would find that useful.

Yes with this workaround I think it will be possible to resolve "link ids" (ie. #heading=h.cughuow97z4o) to their corresponding headings titles. So I may be able to create proper local xrefs.
However it's not possible to create a Table Of Contents. So basically if a TOC is not already present in the document we can't do nothing.

So we can detect the presence of a toc, and we can detect internal
hyperlinks. If a doc has internal links but no toc, we can echo to the ui
that adding a toc will enable those links.
I'm happy to take a swipe at this one if you want. I just haven't looked at
the DOM or seen what we're working with yet, so can't tell if I'll be in
over my head wrestling with this stuff.
On Jul 23, 2016 16:40, "Guillaume Grossetie"<EMAIL_ADDRESS>wrote:

That's really interesting... but it's a fine workaround, right? If you
have a lot of internal links, you could add a TOC before converting. I
would find that useful.
Yes with this workaround I think it will be possible to resolve "link ids"
(ie. #heading=h.cughuow97z4o) to their corresponding headings titles. So
I may be able to create proper local xrefs.
However it's not possible to create a Table Of Contents. So basically if a
TOC is not already present in the document we can't do nothing.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Mogztter/asciidoc-googledocs-addon/issues/21#issuecomment-234739035,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNKMXGUbxkihXqXtcRrG8MVv716oHoOks5qYnxagaJpZM4JR-O6
.

I'm happy to take a swipe at this one if you want. I just haven't looked at
the DOM or seen what we're working with yet, so can't tell if I'll be in
over my head wrestling with this stuff.

Sure!
The entry point is the document body : Code.gs#L49
Then we iterate on children : Code.gs#L50
Each child is an Element: https://developers.google.com/apps-script/reference/document/element
An Element can be a TableOfContents: https://developers.google.com/apps-script/reference/document/table-of-contents
The Google Apps Scripts documentation is pretty clear and you should find all the information there. When in doubt you can use a Logger to debug: https://developers.google.com/apps-script/reference/base/logger
Let me know if you need help :wink:

Very cool; thanks for the cheat sheet.
On Sat, Jul 23, 2016 at 6:21 PM, Guillaume Grossetie <
<EMAIL_ADDRESS>wrote:

I'm happy to take a swipe at this one if you want. I just haven't looked at
the DOM or seen what we're working with yet, so can't tell if I'll be in
over my head wrestling with this stuff.
Sure!
The entry point is the document body
https://developers.google.com/apps-script/reference/document/document#getBody()
: Code.gs#L49
https://github.com/Mogztter/asciidoc-googledocs-addon/blob/master/app/Code.gs#L49
Then we iterate on children
https://developers.google.com/apps-script/reference/document/body#getChild(Integer)
: Code.gs#L50
https://github.com/Mogztter/asciidoc-googledocs-addon/blob/master/app/Code.gs#L50
Each child is an Element:
https://developers.google.com/apps-script/reference/document/element
An Element can be a TableOfContents:
https://developers.google.com/apps-script/reference/document/table-of-contents
The Google Apps Scripts documentation is pretty clear and you should find
all the information there. When in doubt you can use a Logger to debug:
https://developers.google.com/apps-script/reference/base/logger
Let me know if you need help 😉
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Mogztter/asciidoc-googledocs-addon/issues/21#issuecomment-234743916,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNKMVRupt9Il7D1VDyXAAs_M3KWoOp1ks5qYpP1gaJpZM4JR-O6
.


Implement let and const in generators.

At the moment, the block binding transformer wraps loop bodies into functions. This is a problem if loop bodies do contain yield expressions.
Following an idea of @arv, this patch turns those generated functions into generator functions if needed and lets the outer code yield from them.
Fixes #1379.

That turned out simpler than I expected.

LGTM


Fix training of discriminator in GANs

This small PR fixes the training of the discriminator(s) in the conditional GAN and the cycle GAN by generating fake samples from the update generator(s).
I'm not sure about the generation of the notebook (the diff is large because the main branch has the notebook with all the cells being run, while my notebook is obviously not run. I know that it's the CI that runs the notebooks, but does it update the notebooks with its own PR?).

Hi @johannfaouzi ,

[...] I know that it's the CI that runs the notebooks, but does it update the notebooks with its own PR?).

No, the CI doesn't update the notebooks (but we can arrange this to do it automatically during the CI).
In the meanwhile, could you rebase your PR with the current main branch. I updated the CI script because I changed some days ago the label for the agent running the CI.
Thx!

I updated the CI script. It builds now automatically the notebooks from the sources.


babelify peer dependency

This package is making a lot of trouble with Panoptes-Front-End because the version of babelify that it specifies as a peer dependency is more than one major version out of date. Can we either change the peer dependency to be less precise, or, preferably, move babelify under its dependency tree for the time being?

We've removed the peer dependencies in #42


Broken point cloud classification Sandcastle

Go to:
https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=3D Tiles Point Cloud Classification.html
Observe the lack of classification, and the error in the Sandcastle console:
A 3D tile failed to load: https://cesiumjs.org/Cesium/Apps/SampleData/Cesium3DTiles/Classification/PointCloud/content.geom
Error: Invalid tile content.

Same issue in 1.55, works in 1.54.

Marking this next-release since it's a regression

The good news is that there's nothing wrong with the CesiumJS library! If you launch a local server and replace the URL in the hosted Sandcastle with your local one:
var classificationTileset = new Cesium.Cesium3DTileset({
    url: 'http://localhost:8080/Apps/SampleData/Cesium3DTiles/Classification/PointCloud/tileset.json',
    //url: '../../../../Apps/SampleData/Cesium3DTiles/Classification/PointCloud/tileset.json',
    classificationType: Cesium.ClassificationType.CESIUM_3D_TILE
});

It works fine. It almost looks like something changed in how CesiumJS is serving this file?
Here's the HTTP response for content.geom for the working request, served from local server:
geomX`H{"BOXES_LENGTH":3,"BOXES":{"byteOffset":0},"CYLINDERS_LENGTH":3,"CYLINDERS":{"byteOffset":228}} à@à@@???JàxA¯g¿®A?à@à@@???VàxAÀg¿$w\A?à@à@A???hàxAÙg¿¨Í¥A?@@@??? Açá?s£RA?@ÍÌ¬@???¥A/÷ÉÀ×5<@?33S@A???Ï_A¿iÀrB@?àwPY^¾7è÷V^àwPY^8xPY^xPY^Íw(÷V^xPY^hxPY^@xPY^Ò7ÒPY^@xPY^xPY^pxPY^Ú7°ÒPY^pxPY^ÈxPY^ xPY^â7èÓPY{"id":["towerBottom1","towerTop1","roof1","roof2","tower3","tower4"]}

And for the broken one, from Cesiumjs.org:

KOÍÏed```f`HÒS<  ZÉÉ?Â58ÞÇÕÏ=ÄCÉÊX" dUTYêVZ¢deP«£äéãéçâ¢.®ÃÈÈ¢¶Vá7°=À-æõ Âq}úÚýòë!b0³flVÐ¬@³TÊcÐÌp$Õ¬ Y7f8»¦hÉnZ 6Ïñ¹ôCûâÅApsÎYC²9K§8ê?yàº©
X¯±q0f Ù_çãg;îÏd8PÄì6fDÆûØáÏ÷0&nQ¡AjAXÊ?Äå@õPõ0ñ4õPþ%¨ù |ø4õPþ-¨ú
Põ0ñhê@ù`î¿Y¢dT_Zä_Rk¨¤áäØEùùi0Ú&gc(ÅÖ*((\ÂJQX

Here are the response headers for the working one:
Accept-Ranges: bytes
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
Access-Control-Allow-Origin: *
Cache-Control: public, max-age=0
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 358
Content-Type: application/octet-stream
Date: Wed, 10 Apr 2019 13:12:36 GMT
ETag: W/"166-1694b2cbdac"
Last-Modified: Tue, 05 Mar 2019 00:06:57 GMT
X-Powered-By: Express

And for the broken one:
age: 1263
cache-control: public, max-age=1800
content-length: 358
content-type: application/octet-stream
date: Sun, 31 Mar 2019 23:37:56 GMT
etag: "d111ac7284a6d401f842cc82d133b92f"
last-modified: Thu, 21 Mar 2019 19:50:36 GMT
server: AmazonS3
status: 200
via: 1.1 1ed704145e031b363677b35b95885a81.cloudfront.net (CloudFront)
x-amz-cf-id: Qi4sKxohE0ZinQY1_oAfdCZavi9kyr5eyKZ4ZOGG9qXDnkGFHlz9zg==
x-amz-id-2: oGmCWzDnel6tvCUeABnGwhwZ2ZMzcHIPW+0LduETXhfrpNaLGsITNa6FxbRQ78SVOKhdDK9AsWo=
x-amz-request-id: 8CFDD38241FAEE00
x-cache: Hit from cloudfront

My best guess is that for some reason S3 isn't setting Content-Encoding: gzip ?

Yes, this definitely looks like a Content-Encoding issue, @ggetz did something change in the deploy script recently?


Automated Package Upgrade

:tada: This PR is included in version 13.0.122 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix output bug

Codecov Report

Merging #95 (6ca5876) into main (5c688c7) will not change coverage.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##               main      #95   +/-   ##
=========================================
  Coverage     29.24%   29.24%
  Complexity      146      146
=========================================
  Files            73       73
  Lines          1043     1043
  Branches         62       62
=========================================
  Hits            305      305
  Misses          722      722
  Partials         16       16

Flag
Coverage Δ

unittests
29.24% <0.00%> (ø)

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

Impacted Files
Coverage Δ

...ava/com/github/shoothzj/dev/transfer/Transfer.java
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Improve error message for luisrecognizer.recognize

Calling luisrecognize.recognize with a subscription key not assigned to the LUIS application throws the following -
Ask: can we improve the error here to say something like invalid key or something to that effect?
FWIW, testing this scenario in API test console gives a more meaningful error
"401 This application cannot be accessed with the current subscription"
(node:4540) UnhandledPromiseRejectionWarning: Error
warning.js:18
at client.pipeline (c:\repos\BotBuilder-Samples\javascript_nodejs\50.contoso-cafe-bot\node_modules\azure-cognitiveservices-luis-runtime\lib\operations\prediction.js:179:19)
at retryCallback (c:\repos\BotBuilder-Samples\javascript_nodejs\50.contoso-cafe-bot\node_modules\ms-rest\lib\filters\systemErrorRetryPolicyFilter.js:89:9)
at retryCallback (c:\repos\BotBuilder-Samples\javascript_nodejs\50.contoso-cafe-bot\node_modules\ms-rest\lib\filters\exponentialRetryPolicyFilter.js:140:9)
at c:\repos\BotBuilder-Samples\javascript_nodejs\50.contoso-cafe-bot\node_modules\ms-rest\lib\filters\rpRegistrationFilter.js:59:14
at handleRedirect (c:\repos\BotBuilder-Samples\javascript_nodejs\50.contoso-cafe-bot\node_modules\ms-rest\lib\filters\redirectFilter.js:39:9)
at c:\repos\BotBuilder-Samples\javascript_nodejs\50.contoso-cafe-bot\node_modules\ms-rest\lib\filters\formDataFilter.js:23:14
at Request.defaultRequest [as _callback] (c:\repos\BotBuilder-Samples\javascript_nodejs\50.contoso-cafe-bot\node_modules\ms-rest\lib\requestPipeline.js:125:16)
at Request.self.callback (c:\repos\BotBuilder-Samples\javascript_nodejs\50.contoso-cafe-bot\node_modules\ms-rest\node_modules\request\request.js:185:22)
at emitTwo (events.js:126:13)
at Request.emit (events.js:214:7)
(node:4540) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
warning.js:18
(node:4540) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

We want to do both C# and Node, in both LUIS and QnA

For what it's worth, it looks like this specific error text comes from LUIS, not from within our codebase.  We will likely need to catch the error, rewrite it, and re-emit it.

I'm going to be working on this very shortly, but on further investigation, the LUIS SDK doesn't bubble up an error message, just a status code. I'm going to work on a PR that maps the status codes to helpful error messages based on this page: https://westus.dev.cognitive.microsoft.com/docs/services/5819c76f40a6350ce09de1ac/operations/5819c77140a63516d81aee78
(scroll down to "Response Body")

fix merged

Also related: #463, which includes a fix so that errors without response.statusCode don't blow the method up.


various fixes/improvements to CI workflow

Allow to mute all logging irrespective of Node env and other settings that would affect Logger verbosity, via API_LOGGING_MUTE_ALL envvar

e.g. docker-compose run -e API_LOGGING_MUTE_ALL=true api yarn test:e2e

Backport (manually for now) today's updates to seed-geoapi-with-test-data Makefile recipe to local and ci e2e recipes

Missing:

[ ] ability to run only specific test suites when running the full local CI pipeline (make test-e2e-api <pattern>)
[ ] make --watch work
[ ] run unit tests in CI

the logging.muteAll setting should be set at the application level and used verbatim in the constructor of each service rather than reading the relevant envvar via AppConfig in each constructor,

I would say it would be best to not re-define this setting each time in every single service but at the whole application level - at least as our long-term goal.
Looks great for now! ✅

the logging.muteAll setting should be set at the application level and used verbatim in the constructor of each service rather than reading the relevant envvar via AppConfig in each constructor,

I would say it would be best to not re-define this setting each time in every single service but at the whole application level - at least as our long-term goal.

yep, that's the intention. I did run out of ideas on how to do this without explicitly passing it in each service's constructor, but at the very least the setting should be read once via AppConfig.get() and then reused. Suggestions on how to pass this to the base class without fiddling with the constructors are welcome 😃

the logging.muteAll setting should be set at the application level and used verbatim in the constructor of each service rather than reading the relevant envvar via AppConfig in each constructor,

I would say it would be best to not re-define this setting each time in every single service but at the whole application level - at least as our long-term goal.

yep, that's the intention. I did run out of ideas on how to do this without explicitly passing it in each service's constructor, but at the very least the setting should be read once via AppConfig.get() and then reused. Suggestions on how to pass this to the base class without fiddling with the constructors are welcome 😃

How about using custom Logger?
app.useLogger(app.get(MyLogger));

Then we could inject config once within MyLogger implementation.

yep, that's the intention. I did run out of ideas on how to do this without explicitly passing it in each service's constructor, but at the very least the setting should be read once via AppConfig.get() and then reused. Suggestions on how to pass this to the base class without fiddling with the constructors are welcome smiley

How about using custom Logger?
app.useLogger(app.get(MyLogger));

Then we could inject config once within MyLogger implementation.

Sounds good. I am actually tempted to just remove all logging output from nestjs-base-service and call it a day 😱
Ok, to avoid keeping things moving too long, I'll merge this PR and then address the missing bits including this logging setup in a separate PR (or more)


[Feature Request] Support for git-annex with encrypted-git

https://git-annex.branchable.com/
Git-Annex support would combine git and file sync in a pretty neat way.

Would it be alright if I [necrobumped] this?


venv plugin: allow output override when calling ops directly

Right now operations build, sync and copy will always use the configured value for output
In order for better workflow when operating as part of a plugin chain it would be nice to allow overriding that value directly in the call.

Not needed after all, can just call execute (which is needed anyhow because it sets the operations up) - might still be nice to have for other reasons, but don't see a use case at this point. closing.


Create publicação “2023-12-28-tetet”

Automatically generated by Decap CMS

👷 Deploy Preview for driveclean-teste processing.

Name
Link

🔨 Latest commit
88027fddc509393042152a28f4f7bf61afb61aa1

🔍 Latest deploy log
https://app.netlify.com/sites/driveclean-teste/deploys/658d72a96122250008f5d62f


Have data frames handled appropriately by parallize

Shivaram,
The issues we discussed concerning a data frame returning returning the value of TRUE when it is an argument to is.list().

as.list() on a data frame converts it by columns. Does it make more sense to convert a data frame by rows?

You have a point about this. One thing that complicates the situation is that parallelize currently creates a RDD, and a row based approach is really more appropriate for a SchemaRDD. We actually have in the works a write.SchemaRDD function that writes an R data frame to a SchemaRDD (each row is a Row RDD). The function has a numSlices option which partitions the SchemaRDD by rows.
Currently, when parallelize is used with a data frame, the return value from is.list() is TRUE, so the function attempts to directly parallelize the data frame, which results in the rows being sliced, but not in the expected way, and the functions frequently issues a warning. The current intended behavior of the function is to turn everything that isn’t a vector or a list into a list, which for a data frame handles things by columns. Because of how is.list() handles data frames, the function doesn’t produce the anticipated behavior. My proposed “fix” does, but whether that is really the desired behavior is another matter.
I’m going to hold-off on cleaning up my pull request until there is an agreement on the desired behavior. A related point is that currently if an R matrix is given as an argument to parallelize, as.list converts it into a list that consists of a set of single data elements, and since it there is no meta data conveyed, there isn’t really a clean way to reconstruct the original matrix once it is in Spark.
From: sun-rui<EMAIL_ADDRESS>Sent: Monday, February 02, 2015 12:47 AM
To: amplab-extras/SparkR-pkg
Cc: dputler
Subject: Re: [SparkR-pkg] Have data frames handled appropriately by parallize (#150)
as.list() on a data frame converts it by columns. Does it make more sense to convert a data frame by rows?
—
Reply to this email directly or view it on GitHub https://github.com/amplab-extras/SparkR-pkg/pull/150#issuecomment-72422857 .  https://github.com/notifications/beacon/AIGvMt9r3mT9pPMJWK4G-m8jD-dJu2z2ks5nnzD6gaJpZM4DaK_g.gif

Hmm this is an interesting question -- Here is my take on it

In the long run we should of course make parallelize create a SchemaRDD / DataFrame as Dan suggested.
In the meanwhile, we could try and special case the data.frame and matrix cases to work more reasonably. For example, we could split the data.frame row-wise such that every partition is itself a data.frame and one can run lapplyPartition on it. I think we can do this if we call split with nrow(coll) instead of length(coll) in the same function. And we could of course try something like this for matrices.

However, I am not sure the benefits from doing this will be more than the possible confusion it causes users. Because if we expect lapply to work on RDDs as it works locally, then I think as.list is the best we can do ?

The short term version is how plyrmr does it as well. For data frames use
split.data.frame and for matrices, surprisingly, split.data.frame.
split.matrix does something else. But I concur with Shivaram that adding
this behavior to lapply, which means list-apply, is not a great idea.
lapply is used all the time to iterate over the columns, e.g.
lapply(mtcars, class). Unfortunately, there isn't really an apply family
function for data frames, that's why plyr and dplyr are so popular, besides
other reasons. The apply function can run on data.frames, but it will
return a matrix.
On Mon, Feb 2, 2015 at 2:16 PM, Shivaram Venkataraman <
<EMAIL_ADDRESS>wrote:

Hmm this is an interesting question -- Here is my take on it

In the long run we should of course make parallelize create a
SchemaRDD / DataFrame as Dan suggested.
In the meanwhile, we could try and special case the data.frame and
matrix cases to work more reasonably. For example, we could split the
data.frame row-wise such that every partition is itself a data.frame and
one can run lapplyPartition on it. I think we can do this if we call
split with nrow(coll) instead of length(coll) in the same function.
And we could of course try something like this for matrices.

However, I am not sure the benefits from doing this will be more than the
possible confusion it causes users. Because if we expect lapply to work
on RDDs as it works locally, then I think as.list is the best we can do ?
—
Reply to this email directly or view it on GitHub
https://github.com/amplab-extras/SparkR-pkg/pull/150#issuecomment-72550099
.

If the goal is to parallelize things so that when lapply is called against them, the behavior matches traditional R, then everything that is not either a vector or a list should be coerced to being a list before they are parallelized to make their behavior consistent with traditional R.
Replicating plyrmr functionality seems very worthwhile, but seems like a slightly different issue.
My two cents.
From: Antonio Piccolboni<EMAIL_ADDRESS>Sent: Monday, February 02, 2015 2:35 PM
To: amplab-extras/SparkR-pkg
Cc: dputler
Subject: Re: [SparkR-pkg] Have data frames handled appropriately by parallize (#150)
The short term version is how plyrmr does it as well. For data frames use
split.data.frame and for matrices, surprisingly, split.data.frame.
split.matrix does something else. But I concur with Shivaram that adding
this behavior to lapply, which means list-apply, is not a great idea.
lapply is used all the time to iterate over the columns, e.g.
lapply(mtcars, class). Unfortunately, there isn't really an apply family
function for data frames, that's why plyr and dplyr are so popular, besides
other reasons. The apply function can run on data.frames, but it will
return a matrix.
On Mon, Feb 2, 2015 at 2:16 PM, Shivaram Venkataraman <
<EMAIL_ADDRESS><EMAIL_ADDRESS>> wrote:

Hmm this is an interesting question -- Here is my take on it

In the long run we should of course make parallelize create a
SchemaRDD / DataFrame as Dan suggested.
In the meanwhile, we could try and special case the data.frame and
matrix cases to work more reasonably. For example, we could split the
data.frame row-wise such that every partition is itself a data.frame and
one can run lapplyPartition on it. I think we can do this if we call
split with nrow(coll) instead of length(coll) in the same function.
And we could of course try something like this for matrices.

However, I am not sure the benefits from doing this will be more than the
possible confusion it causes users. Because if we expect lapply to work
on RDDs as it works locally, then I think as.list is the best we can do ?
—
Reply to this email directly or view it on GitHub
https://github.com/amplab-extras/SparkR-pkg/pull/150#issuecomment-72550099
.

—
Reply to this email directly or view it on GitHub https://github.com/amplab-extras/SparkR-pkg/pull/150#issuecomment-72553187 .  https://github.com/notifications/beacon/AIGvMpF3e5tEJakhwxp_dT0KEyKoehWwks5nn_MhgaJpZM4DaK_g.gif

Replicating plyrmr seems a very bad idea, I hope I didn't even remotely
suggest it. It works on top of sparkR and can share contexts and data. I
don't see the point in copying it, just install and load.
On Mon, Feb 2, 2015 at 2:52 PM, dputler<EMAIL_ADDRESS>wrote:

If the goal is to parallelize things so that when lapply is called against
them, the behavior matches traditional R, then everything that is not
either a vector or a list should be coerced to being a list before they are
parallelized to make their behavior consistent with traditional R.
Replicating plyrmr functionality seems very worthwhile, but seems like a
slightly different issue.
My two cents.
From: Antonio Piccolboni<EMAIL_ADDRESS>Sent: Monday, February 02, 2015 2:35 PM
To: amplab-extras/SparkR-pkg
Cc: dputler
Subject: Re: [SparkR-pkg] Have data frames handled appropriately by
parallize (#150)
The short term version is how plyrmr does it as well. For data frames use
split.data.frame and for matrices, surprisingly, split.data.frame.
split.matrix does something else. But I concur with Shivaram that adding
this behavior to lapply, which means list-apply, is not a great idea.
lapply is used all the time to iterate over the columns, e.g.
lapply(mtcars, class). Unfortunately, there isn't really an apply family
function for data frames, that's why plyr and dplyr are so popular,
besides
other reasons. The apply function can run on data.frames, but it will
return a matrix.
On Mon, Feb 2, 2015 at 2:16 PM, Shivaram Venkataraman <
<EMAIL_ADDRESS><EMAIL_ADDRESS>> wrote:

Hmm this is an interesting question -- Here is my take on it

In the long run we should of course make parallelize create a
SchemaRDD / DataFrame as Dan suggested.
In the meanwhile, we could try and special case the data.frame and
matrix cases to work more reasonably. For example, we could split the
data.frame row-wise such that every partition is itself a data.frame and
one can run lapplyPartition on it. I think we can do this if we call
split with nrow(coll) instead of length(coll) in the same function.
And we could of course try something like this for matrices.

However, I am not sure the benefits from doing this will be more than
the
possible confusion it causes users. Because if we expect lapply to work
on RDDs as it works locally, then I think as.list is the best we can do
?
—
Reply to this email directly or view it on GitHub
<
https://github.com/amplab-extras/SparkR-pkg/pull/150#issuecomment-72550099>

.

—
Reply to this email directly or view it on GitHub <
https://github.com/amplab-extras/SparkR-pkg/pull/150#issuecomment-72553187>
. <
https://github.com/notifications/beacon/AIGvMpF3e5tEJakhwxp_dT0KEyKoehWwks5nn_MhgaJpZM4DaK_g.gif>
—
Reply to this email directly or view it on GitHub
https://github.com/amplab-extras/SparkR-pkg/pull/150#issuecomment-72556084
.

Yeah I don't mind the coercing everything to a list as a short-term solution. We could also print a warning if we detect a data-frame saying that NOTE: DataFrames will be get parallelized by columns or something like that.

I can do that.
One R factoid that can be used here is that is.list() returns TRUE for a list and a data frame, it turns out that is.vector() returns TRUE for a list, but FALSE for a data frame. So, the actual test just needs to be based on a call to is.vector().
From: Shivaram Venkataraman<EMAIL_ADDRESS>Sent: Monday, February 02, 2015 3:27 PM
To: amplab-extras/SparkR-pkg
Cc: dputler
Subject: Re: [SparkR-pkg] Have data frames handled appropriately by parallize (#150)
Yeah I don't mind the coercing everything to a list as a short-term solution. We could also print a warning if we detect a data-frame saying that NOTE: DataFrames will be get parallelized by columns or something like that.
—
Reply to this email directly or view it on GitHub https://github.com/amplab-extras/SparkR-pkg/pull/150#issuecomment-72561141 .  https://github.com/notifications/beacon/AIGvMvTHNfo2pvkmuiZQDrGBXSG5ra64ks5nn_9cgaJpZM4DaK_g.gif

I wouldn't be so sure

test = structure(list(data = 1), att = 1)
is.vector(test)
[1] FALSE
is.list(test)
[1] TRUE

On Mon, Feb 2, 2015 at 4:08 PM, dputler<EMAIL_ADDRESS>wrote:

I can do that.
One R factoid that can be used here is that is.list() returns TRUE for a
list and a data frame, it turns out that is.vector() returns TRUE for a
list, but FALSE for a data frame. So, the actual test just needs to be
based on a call to is.vector().
From: Shivaram Venkataraman<EMAIL_ADDRESS>Sent: Monday, February 02, 2015 3:27 PM
To: amplab-extras/SparkR-pkg
Cc: dputler
Subject: Re: [SparkR-pkg] Have data frames handled appropriately by
parallize (#150)
Yeah I don't mind the coercing everything to a list as a short-term
solution. We could also print a warning if we detect a data-frame saying
that NOTE: DataFrames will be get parallelized by columns or something like
that.
—
Reply to this email directly or view it on GitHub <
https://github.com/amplab-extras/SparkR-pkg/pull/150#issuecomment-72561141>
. <
https://github.com/notifications/beacon/AIGvMvTHNfo2pvkmuiZQDrGBXSG5ra64ks5nn_9cgaJpZM4DaK_g.gif>
—
Reply to this email directly or view it on GitHub
https://github.com/amplab-extras/SparkR-pkg/pull/150#issuecomment-72566257
.

Thanks, it would appear that the addition of the attribute causes a reversal in the behavior of is.vector(), which I didn’t anticipate.
From: Antonio Piccolboni<EMAIL_ADDRESS>Sent: Monday, February 02, 2015 4:13 PM
To: amplab-extras/SparkR-pkg
Cc: dputler
Subject: Re: [SparkR-pkg] Have data frames handled appropriately by parallize (#150)
I wouldn't be so sure

test = structure(list(data = 1), att = 1)
is.vector(test)
[1] FALSE
is.list(test)
[1] TRUE

On Mon, Feb 2, 2015 at 4:08 PM, dputler<EMAIL_ADDRESS><EMAIL_ADDRESS>> wrote:

I can do that.
One R factoid that can be used here is that is.list() returns TRUE for a
list and a data frame, it turns out that is.vector() returns TRUE for a
list, but FALSE for a data frame. So, the actual test just needs to be
based on a call to is.vector().
From: Shivaram Venkataraman<EMAIL_ADDRESS>Sent: Monday, February 02, 2015 3:27 PM
To: amplab-extras/SparkR-pkg
Cc: dputler
Subject: Re: [SparkR-pkg] Have data frames handled appropriately by
parallize (#150)
Yeah I don't mind the coercing everything to a list as a short-term
solution. We could also print a warning if we detect a data-frame saying
that NOTE: DataFrames will be get parallelized by columns or something like
that.
—
Reply to this email directly or view it on GitHub <
https://github.com/amplab-extras/SparkR-pkg/pull/150#issuecomment-72561141>
. <
https://github.com/notifications/beacon/AIGvMvTHNfo2pvkmuiZQDrGBXSG5ra64ks5nn_9cgaJpZM4DaK_g.gif>
—
Reply to this email directly or view it on GitHub
https://github.com/amplab-extras/SparkR-pkg/pull/150#issuecomment-72566257
.

—
Reply to this email directly or view it on GitHub https://github.com/amplab-extras/SparkR-pkg/pull/150#issuecomment-72566794 .  https://github.com/notifications/beacon/AIGvMmIYRF31n_Re2AXLUnY2Atr8Qxzmks5noAoJgaJpZM4DaK_g.gif


Rename media panel to files panel

@halatmit
Please read the doc for details. If this change is a go, a new commit will be made so that the doc will not stay in master branch.

@E-Hon Please use this panel for comments instead of a pdf document.
Note that this may affect internationalisation; it can't be just simply changed in English.

Also note that there are lots of existing videos and tutorials that would
be affected by this change.
And "files" is rather nondescriptive and could be confusing.  You ought to
post this as a suggestion to powerusers and app-inventor-dev and
see what people say.
== Hal Abelson
<EMAIL_ADDRESS>Prof. of Comp. Sci. and Eng.
MIT Dept. of Elec. Eng. and Comp. Sci.
MIT Media Lab, Second Class Faculty
On Mon, Apr 6, 2015 at 6:34 AM, Jos<EMAIL_ADDRESS>wrote:

@E-Hon https://github.com/E-Hon Please use this panel for comments
instead of a pdf document.
Note that this may affect internationalisation; it can't be just simply
changed in English.
—
Reply to this email directly or view it on GitHub
https://github.com/mit-cml/appinventor-sources/pull/351#issuecomment-90009520
.

Thank you for your submission. However given the comments from Hal above, we feel that the disruption caused is not justified by the potential benefit. I'm going to close this pull request.

I see. I will put this aside for now. Thanks.
On Mon, Apr 6, 2015 at 10:29 PM, Jeffrey Schiller<EMAIL_ADDRESS>wrote:

Closed #351 https://github.com/mit-cml/appinventor-sources/pull/351.
—
Reply to this email directly or view it on GitHub
https://github.com/mit-cml/appinventor-sources/pull/351#event-274170283.


ZWEL0047E not documented

Description

Pages to Update

https://docs.zowe.org/stable/troubleshoot/launcher/launcher-error-codes
Screenshots

Expected behavior

Additional context

@jackjia-ibm @ojcelis Hi Jack, Oj, I wonder if you could help provide more details about this message ZWEL0047E. It's not documented in the launcher doc https://docs.zowe.org/stable/troubleshoot/launcher/launcher-error-codes yet. Thanks!


Enable Ruff rules

By default, only a few rules are enabled, much fewer than was enabled before Ruff was added. Perhaps we want to enable some more? E.g.:

isort (I)
flake8-annotations (ANN)
pydocstyle (D)

@KennethEnevoldsen Perhaps we want to enable all rules that were enabled before adding ruff?
I've explicated the defaults in #260 as well.

I think those rules are great, feel free to just add them


[doc] Diagram (image) now mentions velero

Please, look at this issue #1876

Awesome, thanks @keramiozsoy!