Unknown source type

Hi ,
We are using html2pdf plugin in our VueJS project , but most of the time I am getting "Unknown source type" error
Code
const element = document.getElementById(elementName);
const footerXAxis = orientationValue === "portrait" ? 150 : 250;
const footerYAxis = orientationValue === "portrait" ? 290 : 200;
const opt = {
margin: [15, 10, 25, 10],
filename: fileName,
image: { type: "jpeg", quality: 1 },
jsPDF: {
unit: "mm",
format: "a4",
orientation: orientationValue
}
};
html2pdf()
.set(opt)
.from(element)
.toPdf()
.get("pdf")
.then(function(pdf) {
let totalPages = pdf.internal.getNumberOfPages();
pdf.setFontSize(11);
for (let i = 1; i <= totalPages; i++) {
pdf.text(header, 10, 10);
pdf.setPage(i);
pdf.text("Page " + i + " of " + totalPages, footerXAxis, footerYAxis);
}
})
.catch(e => {
console.error("PDF Generation Error", e);
Notify.create({
color: "negative",
position: "top",
message: "Exception Occurs while generating PDF file",
icon: "report_problem"
});
})
.save();
Error
PDF Generation Error Error: Unknown source type.
at t. (vendor.ca495071.js:formatted:244814)
at G (vendor.ca495071.js:formatted:244206)
at K (vendor.ca495071.js:formatted:244219)
at W (vendor.ca495071.js:formatted:244200)
at MutationObserver.M (vendor.ca495071.js:formatted:244068)

Is got resolved

Hey there,
@jmriyaz84 do you mind sharing how did it get resolved?

Coding issue , I was passing incorrect source type

Hey, I am just having this same problem. If anyone is still reading this or knows the answer, what do you mean exactly by passing an incorrect source type? I am trying to pass a  and it doesn't work, and I can't seem to find more information on this error so this is the only lead I've found.

@inigopanos
.from(element)= it must be going as null, in my case I was using useRef with initial value as null, so basiaclly it was sending null value all i had to do is set my ref in useEffect so it took the non null value


Fix broken link in AWS document

Description
Fixing a broken link found in the documentation.
Definition of Done
Link works and points to correct location.
Dependencies
None
Impact
None

@climbfuji Added!

Too late... thanks, @ashley314!


Css selector don't always works

Hello
I noticed a tricky behavior using puppeteer
This code page.click('body > div.wrapper > div.page > div.main-container.col1-layout > div > div.col-main > div:nth-child(6) > button.button2.btn-continue.btn-commande') is working fine
But this code don't don't works page.waitForElement('body > div.wrapper > div.page > div.main-container.col1-layout > div > div.col-main > div:nth-child(6) > button.button2.btn-continue.btn-commande', {visible: true})
After some investigation I finally found that the line
const node = document.querySelector(selector);
return null in waitForSelector method but if I change the selector for something simplier like button.button2.btn-continue.btn-commande all is working fine.
I suspect that the problem origin is from the div:nth-child(6) in the css selector

So does document.querySelector('body > div.wrapper > div.page > div.main-container.col1-layout > div > div.col-main > div:nth-child(6) > button.button2.btn-continue.btn-commande') work if you run it in the console on the page?
BTW, waitForElement is not an API function.

@Kalliser you're using a very strict selector, it might fail easily if some movement happens on the page.
I'd suggest using less strict selector to allow for some flexibility.

Sorry my mistake I mean waitForSelector function; I edit my ticket.
@ebidel No it' don't works either in the google chrome console
@aslushnikov Sure but the same selector used in WaitForSelector and Page.click should works in both of them.

In that case, I wouldn't expect it to work. Not sure why there's a
discrepancy with click() though.
On Sun, Nov 12, 2017, 4:14 AM Kalliser<EMAIL_ADDRESS>wrote:

Sorry my mistake I mean waitForSelector function; I edit my ticket.
@ebidel https://github.com/ebidel No it' don't works either in the
google chrome console
@aslushnikov https://github.com/aslushnikov Sure but the same selector
used in WaitForSelector and Page.click should works in both of them.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleChrome/puppeteer/issues/1359#issuecomment-343732916,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOigCA3loH5lQQXdETRQn12DIg_U49Fks5s1uEjgaJpZM4QagbW
.

It could be when the action occurs the pages markup changes in the event which causes the second execution to not work. Since in the markup change it breaks the selector.
Try to make your own selector that is specific to the node and not the entire document structure.

A sample worth thousands words,
page.waitForSelector(selector, {visible:true}).then(() => {
  console.log('then click');
  page.click(selector).then(() => {
    console.log('catch click done');
  });
}).catch((err) => {
  console.log('catch click');
  page.click(selector).then(() => {
    console.log('catch click done');
  });
};

In this sample it will output:
catch click
catch click done

waitForSelector fail to find element but page.click find it. I there is no action on the page before the click.
The problem is not to change my selector (I already do it) but a selector provided by google chrome element inspector don't always works in puppeteer .

@Kalliser yeah, a sample with the exact URL where you experience this would be very helpful. It's hard to judge what's going on unless we can reproduce this locally.


Swipe to open the drawer

How to enable the gesture that instead of clicking the menu button I can swipe to open the drawer? I can slide to close it once opened but not open it when is closed.
That would be a great UX.

panOpenMask just solves your problem

Brilliant, thanks so much!


Drop deprecated hostedZone(not hostedZoneId) in cluster.yaml

closes #287

Codecov Report

Merging #368 into master will decrease coverage by -0.27%.
The diff coverage is 85.71%.

@@            Coverage Diff            @@
##           master    #368      +/-   ##
=========================================
- Coverage   38.97%   38.7%   -0.27%
=========================================
  Files          29      29
  Lines        2299    2276      -23
=========================================
- Hits          896     881      -15
+ Misses       1284    1278       -6
+ Partials      119     117       -2

Impacted Files
Coverage Δ

core/controlplane/cluster/cluster.go
43.03% <0%> (-1.71%)
:x:

core/controlplane/config/config.go
64.71% <100%> (-0.06%)
:x:

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 54eab73...37cc49b. Read the comment docs.


Add support for provision using Beaker

Let's add support for reserving machines from Beaker.
tmt provision --how beaker --image fedora-33

The --image option should probably be consistent with other tmt plugins rather than with the workflow-tomorrow's option --distro.

Will it be a 'proper' loan or hack using reservesys? (the later seems to be more usable for us)
+1 to --image consistency across tmt

I would not insist on the --image consistency, it might be misleading.
I would expect it to be a modular extension (adding the beaker "how") with its own parameters so even the --reserve could be there

Yes, dynamic plugins support having different/additional options for each step implementation. So this is rather about having a consisent --image options across all plugins to make is easier switching between different provision implementations. We can definitely have beaker-specific options added in the new plugin.

once beaker supports images and snapshots reverting (which they consider, AFAIK) it might be misleading event more

ad loan: you have to request loan from the machine owner who then has to grant it, it's not suitable for an automated process.
ad images & snapshots: that will not happen with Beaker in maintenance mode.

I'm taking this, as a MVP:

image will go to beaker distro as is
no hardware support but  beaker specific options:

machine
hostrequire
keyvalue
host-filter
bare
cc
priority
delegate
method
ks-append
ks-meta

only minimal set of packages will be installed on Guest (default install + rsync)
no ks_meta by default (wow disables crb, adds rhts ...)
reserve machine for eg. 4h and extend periodically while tmt run is running (e.g. if tmt is killed machine will expire max 4h to not block the resource)

Note for me:
The core of the job is just (none of them should have additional required packages as opposed to /distribution/reservesys):
<task name="/distribution/check-install" role="None"/>
<reservesys duration="14400" when="always"/>

bkr job-watch is  J:xxx : Waiting -> Reserved when machine is reserved.
bkr watchdog-extend --by XXX <taskspec> (T:xx or R:xx) can extend the watchdog.

Note that @Tiboris is considering to create a PoC of integrating mrack to provide the beaker provision plugin.

Note to myself - mrack is https://github.com/neoave/mrack

Wouldn't it be cheaper to invest more into making Beaker available through Artemis? Artemis already knows how to talk to Beaker, HW requirement support out of the box, the plugin already exists, etc. Sure, some features might be missing, WiP, on the other hand, beaker plugin would start with some blank spaces too (like "no hardware support").
If not - and that's probably the answer to my question... - I'd like to see this beaker plugin not add too much to the already fractured provision plugin landscape, and I'm afraid "no hardware support but beaker specific options" will do exactly that :/ E.g. hostrequire would probably overlap heavily with hostname already defined by tmt (https://tmt.readthedocs.io/en/stable/spec/plans.html#hardware), supporting the same feature under a different name doesn't feel right to me.

Intended uses cases is: As a person with access to Beaker I want run tests on machine obtained from beaker.
What would I need to do to do similar with artemis? Either obtain token to existing instance or deploy on my own instance.
How far is artemis to be available to all people with beaker access (respecting their groups/permissions)
And hardware support - it will quite long time IMO until even possible key/value are finalized. Or do we know how all used possibilities for hostrequire are going to be expressed in hardware? Can I express at least all of host-preset in hardware?
I'm afraid there is a lot of blanks for 'hardware' (we even didn't finish how kickstart should be expressed)

Moving to 1.18 to have time for mrack vs artemis vs own thingy.

The kickstart options are documented at https://beaker-project.org/docs/user-guide/customizing-installation.html
I'd say that tmt shouldn't do any processing/checking and just pass-through to job.xml as-is.

Hi @Tiboris, is this feasible to finish in 1.19? Should we move to next release and gain 1 month for work?

Hi @lukaszachy I am working on adding mrack to fedora i am very close to make it done and then i will continue this effort. I think we can sync next week and see what is the status of package. If there will be no package it would be safer to move the milestone. One way on another i will leave this decision on you.

@Tiboris what about 1.20, is it real, or move to 1.21?

Hi, I hope we can manage to merge the POC i know that the package right now is not available in epel but hopefully it will not be a blocker. At the same time I will have a look if it is doable with epels.


Use ubuntu-22.04 and gcc-11

[x] Forked repo is synced with upstream -> github shows no code delta outside of the desired.
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork
[x] Tests are passing? https://github.com/microsoft/DeepGNN/blob/main/CONTRIBUTING.md#run-tests
[x] Changelog and documentation updated.
[x] PR is labeled using the label menu on the right side.

Previous Behavior
Use ubuntu 20.04, which is not latest despite CI flags.
New Behavior
Test on ubuntu 20.04 and 22.04 and use gcc-11 to compile C++ code. Drop testing against ubuntu 18.04, since it will not be supported after April 2023.
Differences between ubuntu-latest and ubuntu-22.04: https://github.com/actions/runner-images/issues/5490.

Pull main for tf_examples fix.


Redesign the heading

Just need to redesign the heading

is it OK if we add some changes in style of sub-heading too along with heading to make it look good overall ??

is it OK if we add some changes in style of sub-heading too along with heading to make it look good overall ??

yeah, you can work on it &  don't forget to add a screenshot.

Could you assign this issue to me?

Could you assign this issue to me?

Work on it


inline run block

Is your feature request related to a problem? Please describe.
this is my %%= 3%% note

Describe the solution you'd like

inline expression only work on simple javascript expression but not multiple statements
if user really multiple lines statement, they can use the user defined script with templater

Why not stay traditional and, e.g., use the inline code block with an additional identifier, like Dataview does?
What about r= 3 -- r for Run. 😉

it is difficult because dataview doesn't generate markdown at all, all it does it just render the result in the viewing mode. For run to know the previous content so that it can replace it, it must have an ending tag or some other way to keep track of the previous result.

Okay... what about p= <expression> =q? If the user needs to use backticks in the expression, they can be escaped.
I think it would be a visual enhancement to see the inline run block rendered as an inline code block.

Then the p= =q will be visible as markdown.

I rarely encounter use cases that I need to use inline run block.


Rework audio wave channel

Rename the callback for more consistency (#344)
Pass the channel to the callback, helps if you're using more than one channel... and just makes sense
Stop doing << 8 on samples. Now you can use 16-bit samples without reducing the volume 256x
Make the callback optional to allow using a fixed pattern.
wave_callback_arg is now a generic user_data pointer.

Changes for users are...
Old:
channels[0].wave_callback_arg = some_ptr;
channels[0].callback_waveBufferRefresh = &callback;

//...

void callback(void *data) {
  //...
  for(int i = 0; i < 64; i++)
    channels[0].wave_buffer[i] = some_sample;
}

New:
channels[0].user_data = some_ptr;
channels[0].wave_buffer_callback = &callback;

//...

void callback(AudioChannel &channel) {
  auto data = channel->user_data;
  //...
  for(int i = 0; i < 64; i++)
    channel.wave_buffer[i] = some_sample;
}

Also, if you're using 8-bit samples you need to multiply them by 256 now. (If you're using 16-bit samples you can stop dividing your volume by 256).
This will also cause API breakage, but will only affect games that use the WAVE waveform (callback arg will be wrong).

Should we also make some short playback buffer on 32blit hardware instead of generating 1 sample per interupt? Currently a 22k Hz interrupt for sound system is too frequent. A ~50Hz interupt for filling playback DMA call would make the sound playback more accurate and stable.

Should we also make some short playback buffer on 32blit hardware instead of generating 1 sample per interupt? Currently a 22k Hz interrupt for sound system is too frequent. A ~50Hz interupt for filling playback DMA call would make the sound playback more accurate and stable.

@zenodante probably - yes - although we'd need - I guess - to size the wave buffer appropriately (441 samples?) and the output buffer appropriately.
IIRC an earlier build I had a buffer set up with a memory -> peripheral DMA, and would run the audio engine on the DMA-half-complete callback.
My reasoning for switching to a 22050Hz native sample rate with the audio engine invoked on every sample (IIRC) is due to wanting to mirror the capabilities of retro audio engines in the hands of expert composers. IE: you can mash the audio channel settings at high frequencies to create new effects and sounds that the sound system designer may not have anticipated.
That said I'm not sure this is how - for example - the more advanced C64 SID tunes actually worked. Is a 50Hz "Vblank" interrupt equivalent actually... fine?
This then begs the question- how does the end-user control the audio engine. If we're dealing with a sample buffer and a 50Hz update rate then a majority of changes to the engine in update would be moot. You'd almost have to treat audio like a render operation and do it there... maybe that's okay?

@zenodante probably - yes - although we'd need - I guess - to size the wave buffer appropriately (441 samples?) and the output buffer appropriately.
IIRC an earlier build I had a buffer set up with a memory -> peripheral DMA, and would run the audio engine on the DMA-half-complete callback.
My reasoning for switching to a 22050Hz native sample rate with the audio engine invoked on every sample (IIRC) is due to wanting to mirror the capabilities of retro audio engines in the hands of expert composers. IE: you can mash the audio channel settings at high frequencies to create new effects and sounds that the sound system designer may not have anticipated.
That said I'm not sure this is how - for example - the more advanced C64 SID tunes actually worked. Is a 50Hz "Vblank" interrupt equivalent actually... fine?
This then begs the question- how does the end-user control the audio engine. If we're dealing with a sample buffer and a 50Hz update rate then a majority of changes to the engine in update would be moot. You'd almost have to treat audio like a render operation and do it there... maybe that's okay?

Currently you can only really have 100Hz updates anyway. You could try to do precise timing within update, but not really between updates since there's all the input/i2c/usb stuff going on there...
(I guess for more advanced stuff you'd want the game to be able to refill the output buffer directly, instead of using a single WAVE channel and a double-copy.)

Currently you can only really have 100Hz updates anyway. You could try to do precise timing within update, but not really between updates since there's all the input/i2c/usb stuff going on there...
(I guess for more advanced stuff you'd want the game to be able to refill the output buffer directly, instead of using a single WAVE channel and a double-copy.)

@zenodante probably - yes - although we'd need - I guess - to size the wave buffer appropriately (441 samples?) and the output buffer appropriately.
IIRC an earlier build I had a buffer set up with a memory -> peripheral DMA, and would run the audio engine on the DMA-half-complete callback.
My reasoning for switching to a 22050Hz native sample rate with the audio engine invoked on every sample (IIRC) is due to wanting to mirror the capabilities of retro audio engines in the hands of expert composers. IE: you can mash the audio channel settings at high frequencies to create new effects and sounds that the sound system designer may not have anticipated.
That said I'm not sure this is how - for example - the more advanced C64 SID tunes actually worked. Is a 50Hz "Vblank" interrupt equivalent actually... fine?
This then begs the question- how does the end-user control the audio engine. If we're dealing with a sample buffer and a 50Hz update rate then a majority of changes to the engine in update would be moot. You'd almost have to treat audio like a render operation and do it there... maybe that's okay?

If we use the timer event to provide the DMA tick and use double buffer for DMA transfer to DAC, we could set the buffer size to any number you would like. 100 means (22050/100 = 220.5 hz buffer update rate) and we will call the sound generation function 100 times to fill the next buffer in interrupt. As the buffer refreashing is done in the DMA finished interrupt, user would not notice any difference. (Just like Daft Freak mentioned, user could only update the channel statement in less than ~100Hz)
It would reduce the interrupt frequency, increase system performance and make the code more I-cache friendly. (Otherwise the sound signal function would be moved into I-cache 22k times per second and replaced by game code after return back from interrupt)

@zenodante probably - yes - although we'd need - I guess - to size the wave buffer appropriately (441 samples?) and the output buffer appropriately.
IIRC an earlier build I had a buffer set up with a memory -> peripheral DMA, and would run the audio engine on the DMA-half-complete callback.
My reasoning for switching to a 22050Hz native sample rate with the audio engine invoked on every sample (IIRC) is due to wanting to mirror the capabilities of retro audio engines in the hands of expert composers. IE: you can mash the audio channel settings at high frequencies to create new effects and sounds that the sound system designer may not have anticipated.
That said I'm not sure this is how - for example - the more advanced C64 SID tunes actually worked. Is a 50Hz "Vblank" interrupt equivalent actually... fine?
This then begs the question- how does the end-user control the audio engine. If we're dealing with a sample buffer and a 50Hz update rate then a majority of changes to the engine in update would be moot. You'd almost have to treat audio like a render operation and do it there... maybe that's okay?

If we use the timer event to provide the DMA tick and use double buffer for DMA transfer to DAC, we could set the buffer size to any number you would like. 100 means (22050/100 = 220.5 hz buffer update rate) and we will call the sound generation function 100 times to fill the next buffer in interrupt. As the buffer refreashing is done in the DMA finished interrupt, user would not notice any difference. (Just like Daft Freak mentioned, user could only update the channel statement in less than ~100Hz)
It would reduce the interrupt frequency, increase system performance and make the code more I-cache friendly. (Otherwise the sound signal function would be moved into I-cache 22k times per second and replaced by game code after return back from interrupt)

Hmm, you can use the callback on a WAVE channel as as fast-ish timer to mess with audio stuff...
Anyway, using a buffer or not for the output wouldn't really affect this PR as it's just changing the user-visible part. (and SDL already works like that...)

Hmm, you can use the callback on a WAVE channel as as fast-ish timer to mess with audio stuff...
Anyway, using a buffer or not for the output wouldn't really affect this PR as it's just changing the user-visible part. (and SDL already works like that...)

True, getting hung up on a separate issue here- discussion can continue here -> #568

True, getting hung up on a separate issue here- discussion can continue here -> #568


Think about automated deployment

...internally, via docker..
A cron could execute a shell script which does:

shut down running instance and remoive docker image
pull latest main branch
docker pull und docker run

wont do


Issue with leptos_fluent and Islands feature in Leptos

Hello,
I'm trying to implement islands in one of my websites, and I've encountered an issue while using leptos_fluent with the islands feature. I’ve already opened an issue in the main Leptos repo regarding my initial problem, and after resolving it, I ran into this issue with leptos_fluent.
Here’s what I’ve done so far:

Created a new project using cargo leptos new --git leptos-rs/start-axum.
Enabled the islands feature:

In Cargo.toml, added the "experimental-islands" feature to leptos and leptos_axum.
In src/lib.rs, replaced leptos::mount_to_body(App); with leptos::leptos_dom::HydrationCtx::stop_hydrating();.

Added leptos-fluent dependencies in Cargo.toml:

leptos-fluent = { version = "0.1.21", features = ["nightly"] }
fluent-templates = { version = "0.11.0", default-features = false, features = ["macros", "walkdir"] }

In src/app.rs, replaced #[component] with #[island] for the HomePage function.

Ran cargo leptos watch and verified that the site works as expected, with the counter incrementing on button click.

In src/app.rs, added the following translations setup:

static_loader! {
    static TRANSLATIONS = {
        locales: "./locales",
        fallback_language: "en",
    };
}

pub static COMPOUND: &[&Lazy<StaticLoader>] = &[&TRANSLATIONS, &TRANSLATIONS];

And inside the App() function:
let i18n = leptos_fluent! {
    translations: [TRANSLATIONS, TRANSLATIONS] + COMPOUND,
    languages: "./locales/languages.json",
    locales: "./locales",
    sync_html_tag_lang: true,
    sync_html_tag_dir: true,
    cookie_name: "lang",
    cookie_attrs: "SameSite=Strict; Secure; path=/; max-age=600",
    initial_language_from_cookie: true,
    initial_language_from_cookie_to_localstorage: true,
    set_language_to_cookie: true,
    url_param: "lang",
    initial_language_from_url_param: true,
    initial_language_from_url_param_to_localstorage: true,
    initial_language_from_url_param_to_cookie: true,
    set_language_to_url_param: true,
    localstorage_key: "language",
    initial_language_from_localstorage: true,
    initial_language_from_localstorage_to_cookie: true,
    set_language_to_localstorage: true,
    initial_language_from_navigator: true,
    initial_language_from_navigator_to_localstorage: true,
    initial_language_from_accept_language_header: true,
};
provide_context(i18n);

In the HomePage function:

#[island]
fn HomePage() -> impl IntoView {
    let i18n = use_context::<I18n>().expect("to have found the i18n provided in App");
    let (count, set_count) = create_signal(0);
    let on_click = move |_| set_count.update(|count| *count += 1);

    view! {
        <button on:click=on_click>{move_tr!(i18n, "click-me")}" "{count}</button>
    }
}

However, when I visit the website, I get the following error in the browser console, and the button no longer works:
Uncaught (in promise) RuntimeError: unreachable
    at test_islands.wasm.__rust_start_panic (test-islands.wasm:0x1ec288)
    ...

I’ve managed to make it work by replacing, in HomePage,
let i18n = use_context::<I18n>().expect("to have found the i18n provided in App");

with
let i18n = leptos_fluent! {
  translations: [TRANSLATIONS, TRANSLATIONS] + COMPOUND,
  languages: "./locales/languages.json",
  locales: "./locales"
};

However, this creates a new i18n instance, which differs from the one provided in App, making it inconvenient to manage translations consistently. (I can even remove the i18n parameter from the move_tr!, and simply use the leptos_fluent! macro without assigning it to a variable.)
Do you have any suggestions on how to resolve this? I’d be happy to submit a PR with an example of leptos_fluent working alongside islands if we can find a good solution.
Thanks in advance for your help!

Is the expected behaviour. In islands mode, only #[island] contents are interactive. The unreachable error is produced because you're trying to access from the client to a context that was provided in the server, so the context doesn't exists.

However, this creates a new i18n instance, which differs from the one provided in App

This statement is not totally true. Your code creates an instance on the server (inside App) and another instance is shipped to and instanciated in the client (in HomePage). It creates 2 instances on 2 different runs, one in the server and one in the client.
You'll probably end shipping a lot of translations to the client if you use the same ./locales directory. Just use different locales for the translations of each island. Note that this approach that leptos-fluent uses of allowing multiple cheap instances with a macro fits perfectly for the islands mode.
Another thing that I think that you're concerned about is how to define the same arguments for both instances. Well, note that some of the arguments only have sense for the server and others for the client. As examples, sync_html_tag_lang is ignored on server (inside #[component]) and initial_language_from_accept_language_header is ignored on client (inside #[island]). So is an imaginary problem.
Note in your example that you're providing the i18n context, but leptos_fluent! do that internally anyways. These two are equivalent:
leptos_fluent!{ ... };

let i18n = leptos_fluent!{ ... };
provide_context(i18n);

If you want the same instance parameters in all islands, just provide one with leptos_fluent! in a parent island and the context will be available to their children (see Passing Context Between Islands). If you want one i18n instance per island defining a different locales directory and maintaining the same arguments for all other island invocations, wrap the leptos_fluent! call in a macro, something like:
macro_rules! i18n {
    ($translations:expr$(,)?) => {
        leptos_fluent! {
            translations: [$translations],
            // ... rest of your arguments
        }
    };
}

Probably there are bugs or quirks that I'm not aware about because I didn't used this mode so much. Feel free to open a PR with an island example or documentation about that, it would be really useful for other users.

I've submitted a pull request with an islands example. While there are still some areas for improvement, it provides a foundation to build upon.


Send Slack notifications with deployment status after deployment

Currently Github Actions don't support the use-case to run a step after a failed one, we close it.


Build error on NVIDIA Jetson TX2

Was there any solution to:  https://github.com/deeplearning4j/nd4j/issues/2180 ?
I am getting the exact same errors on the TX2.
Version Information
platform information: NVIDIA Jetson TX2, Ubuntu 16.04:
CUDA version: release 9.0 V9.0.252
https://devtalk.nvidia.com/default/topic/1036132/jetson-tx2/deeplearning4j-nd4j/

No, please move the discussion to https://github.com/deeplearning4j/deeplearning4j/issues/3458

Sorry @saudet , didn't see deeplearning4j/deeplearning4j#3458
will test out the solution from 3458 on my TX2, thanks :)


unit test of trajectory follower sometimes fails ramdomly

https://github.com/autowarefoundation/autoware.universe/runs/5283234004?check_suite_focus=true
https://github.com/autowarefoundation/autoware.universe/runs/5284825263?check_suite_focus=true

This is probably fixed in https://github.com/autowarefoundation/autoware.universe/pull/661.
Feel free to re-open the issue if you still see the error.


Rename driver_number to driver_num

In https://github.com/tock/libtock-rs/pull/373, we noticed that this repository is split between using driver_number/DRIVER_NUMBER and driver_num/DRIVER_NUM. We decided to prefer driver_num/DRIVER_NUM for consistency with the main Tock repository.
We should replace all instances of driver_number/DRIVER_NUMBER in this repository with driver_num/DRIVER_NUM.

I think #373 solves this.

#373 replaced DRIVER_ID with DRIVER_NUM, but there's still a mix of DRIVER_NUM and DRIVER_NUMBER.

Looks finished?
$ cd git/libtock-rs
$ git grep driver_number | cat
unittest/src/fake/syscalls/allow_ro_impl_tests.rs:fn too_large_driver_number() {
unittest/src/fake/syscalls/allow_rw_impl_tests.rs:fn too_large_driver_number() {

$ git grep DRIVER_NUMBER | wc -l
       0

Looks finished to me too.


User should be able to provide context class when using async methods

Attempts to fix #239 .
If the Functions class depends on the Context instance, async methods will make it fail with a Null Reference Exception.
As per #238, full adherence to TLP semantics would see callbacks on the Functions class gone, maybe replaced by injected middleware semantics, ASPNET.CORE style.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: ThiagoT1 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

The reason we did not include Context in the async API is that there seemed to be no good use case for contexts in the async world, since the call stack is available after the await.
But yes, I agree it still makes sense to let users provide it because Functions expect the same.

We could merge this so users can switch seamlessly between blocking and async code, then.


V.1.1.1 won't start

I get an "App quit unexpectedly" error.
Process:               KnightTouchBar2000 [3840]
Path:                  /private/var/folders/*/KnightTouchBar2000.app/Contents/MacOS/KnightTouchBar2000
Identifier:            com.AnthonyDaMota.KnightTouchBar2000
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           KnightTouchBar2000 [3840]
User ID:               501
Date/Time:             2018-07-31 22:13:41.431 +0200
OS Version:            Mac OS X 10.13.6 (17G2112)
Report Version:        12
Bridge OS Version:     2.4.1 (15P6613)
Anonymous UUID:        165CDA4F-F2DE-6C20-E2BC-11DF9D097383
Sleep/Wake UUID:       56E62EDD-91E5-45BF-916C-0F5EBFED3968
Time Awake Since Boot: 20000 seconds
Time Since Wake:       1500 seconds
System Integrity Protection: enabled
Notes:                 Translocated Process
Crashed Thread:        0
Exception Type:        EXC_CRASH (Code Signature Invalid)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Termination Reason:    Namespace CODESIGNING, Code 0x1
kernel messages:
VM Regions Near 0 (cr2):
-->
__TEXT<PHONE_NUMBER>25a000-0000000108262000 [   32K] r-x/rwx SM=COW  v []
Thread 0 Crashed:
0   ???                           	0x000000010e80d19c _dyld_start + 0
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x00007ffee79a5a48
r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
rip: 0x000000010e80d19c  rfl: 0x0000000000000200  cr2: 0x0000000000000000
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     0
Binary Images:
0x10825a000 -        0x108261fff +??? (0) <247B3159-36C6-3833-83BC-D5621A8DBD8C> (null)
0x10e80c000 -        0x10e856acf +??? (551.4) <8A72DE9C-A136-3506-AA02-4BA2B82DCAF3> (null)
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 517732
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=464K resident=0K(0%) swapped_out_or_unallocated=464K(100%)
Writable regions: Total=8404K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8404K(100%)
                            VIRTUAL   REGION

REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
STACK GUARD                       56.0M        2
Stack                             8192K        2
__DATA                             236K        4
__LINKEDIT                         132K        3
__TEXT                             332K        3
shared memory                        8K        3
===========                     =======  =======
TOTAL                             64.7M       11
Model: MacBookPro15,1, BootROM 15.16.6613.0.0,0, 6 processors, Intel Core i7, 2,6 GHz, 32 GB, SMC
Graphics: kHW_IntelUHDGraphics630Item, Intel UHD Graphics 630, Built-In
Graphics: kHW_AMDRadeonPro560XItem, Radeon Pro 560X, PCIe
Memory Module: BANK 0/ChannelA-DIMM0, 16 GB, DDR4, 2400 MHz, Micron, 16ATS2G64HZ-2G6B1 16ATS2G64HZ-2G6B1
Memory Module: BANK 2/ChannelB-DIMM0, 16 GB, DDR4, 2400 MHz, Micron, 16ATS2G64HZ-2G6B1 16ATS2G64HZ-2G6B1
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x7BF), wl0: Jun 24 2018 21:16:16 version <IP_ADDRESS>.32.1.55 FWID 01-55577fa3
Bluetooth: Version 6.0.7f10, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.1 Bus
USB Device: iBridge Bus
USB Device: iBridge DFR brightness
USB Device: iBridge Display
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Headset
USB Device: iBridge ALS
USB Device: iBridge FaceTime HD Camera (Built-in)
USB Device: iBridge
Thunderbolt Bus: MacBook Pro, Apple Inc., 28.10
Thunderbolt Bus: MacBook Pro, Apple Inc., 28.10

Yep, I get an issue also:
Path:                  /Applications/KnightTouchBar2000.app/Contents/MacOS/KnightTouchBar2000
Identifier:            com.AnthonyDaMota.KnightTouchBar2000
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           KnightTouchBar2000 [13861]
User ID:               501

Date/Time:             2018-11-02 11:51:10.609 +0100
OS Version:            Mac OS X 10.14.1 (18B75)
Report Version:        12
Bridge OS Version:     3.0 (14Y667)
Anonymous UUID:        369773A5-3F92-A684-DDCE-7E9373D9F083

Sleep/Wake UUID:       378ED95F-7379-42AB-B1B1-D6980CDDC5C4

Time Awake Since Boot: 78000 seconds
Time Since Wake:       2000 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (Code Signature Invalid)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace CODESIGNING, Code 0x1

kernel messages:

VM Regions Near 0 (cr2):
-->
    __TEXT<PHONE_NUMBER>e14000-0000000103e1c000 [   32K] r-x/rwx SM=COW

Thread 0 Crashed:
0                                 	0x0000000109154000 _dyld_start + 0

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x00007ffeebdebb88
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: 0x0000000109154000  rfl: 0x0000000000000200  cr2: 0x0000000000000000

Logical CPU:     0
Error Code:      0x00000000
Trap Number:     0

Binary Images:
       0x103e14000 -        0x103e1bfff + (0) <247B3159-36C6-3833-83BC-D5621A8DBD8C>
       0x109153000 -        0x1091d16a7 + (635.2) <1780094A-8FE2-3EAA-B4A3-C4CF14BC5196>

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 66188
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=728K resident=0K(0%) swapped_out_or_unallocated=728K(100%)
Writable regions: Total=8400K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8400K(100%)

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
STACK GUARD                       56.0M        2
Stack                             8192K        2
__DATA                             240K        4
__LINKEDIT                         188K        3
__TEXT                             540K        3
shared memory                        8K        3
===========                     =======  =======
TOTAL                             65.0M       11

Model: MacBookPro14,3, BootROM <IP_ADDRESS>.0, 4 processors, Intel Core i7, 2.9 GHz, 16 GB, SMC 2.45f0
Graphics: Intel HD Graphics 630, Intel HD Graphics 630, Built-In
Graphics: Radeon Pro 560, Radeon Pro 560, PCIe
Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x173), Broadcom BCM43xx 1.0 (<IP_ADDRESS> AirPortDriverBrcmNIC-1305.2)
Bluetooth: Version 6.0.9f2, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.0 Bus
USB Device: iBridge
Thunderbolt Bus: MacBook Pro, Apple Inc., 39.2
Thunderbolt Bus: MacBook Pro, Apple Inc., 39.2

This happened to me also. Wish I had the time to investigate.

Sorry for the issue guys. I am aware of it.
I think this is due to the fact the app isn't signed and that I don't have any certificate, but I didn't investigate further.
As a fallback, you can still compile it yourselves and it will work nicely.

Hi,
sorry if my question his stupid, but how do you compile the project ? I am totally newbie...
Thanks

I get an "App quit unexpectedly" error.
Process: KnightTouchBar2000 [3840]
Path: /private/var/folders/*/KnightTouchBar2000.app/Contents/MacOS/KnightTouchBar2000
Identifier: com.AnthonyDaMota.KnightTouchBar2000
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: KnightTouchBar2000 [3840]
User ID: 501
Date/Time: 2018-07-31 22:13:41.431 +0200
OS Version: Mac OS X 10.13.6 (17G2112)
Report Version: 12
Bridge OS Version: 2.4.1 (15P6613)
Anonymous UUID: 165CDA4F-F2DE-6C20-E2BC-11DF9D097383
Sleep/Wake UUID: 56E62EDD-91E5-45BF-916C-0F5EBFED3968
Time Awake Since Boot: 20000 seconds
Time Since Wake: 1500 seconds
System Integrity Protection: enabled
Notes: Translocated Process
Crashed Thread: 0
Exception Type: EXC_CRASH (Code Signature Invalid)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace CODESIGNING, Code 0x1
kernel messages:
VM Regions Near 0 (cr2):
-->
__TEXT<PHONE_NUMBER>25a000-0000000108262000 [ 32K] r-x/rwx SM=COW v� []
Thread 0 Crashed:
0 ??? 0x000000010e80d19c _dyld_start + 0
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x00007ffee79a5a48
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
rip: 0x000000010e80d19c rfl: 0x0000000000000200 cr2: 0x0000000000000000
Logical CPU: 0
Error Code: 0x00000000
Trap Number: 0
Binary Images:
0x10825a000 - 0x108261fff +??? (0) <247B3159-36C6-3833-83BC-D5621A8DBD8C> (null)
0x10e80c000 - 0x10e856acf +??? (551.4) <8A72DE9C-A136-3506-AA02-4BA2B82DCAF3> (null)
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 517732
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=464K resident=0K(0%) swapped_out_or_unallocated=464K(100%)
Writable regions: Total=8404K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8404K(100%)
                            VIRTUAL   REGION

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
STACK GUARD 56.0M 2
Stack 8192K 2
__DATA 236K 4
__LINKEDIT 132K 3
__TEXT 332K 3
shared memory 8K 3
=========== ======= =======
TOTAL 64.7M 11
Model: MacBookPro15,1, BootROM 15.16.6613.0.0,0, 6 processors, Intel Core i7, 2,6 GHz, 32 GB, SMC
Graphics: kHW_IntelUHDGraphics630Item, Intel UHD Graphics 630, Built-In
Graphics: kHW_AMDRadeonPro560XItem, Radeon Pro 560X, PCIe
Memory Module: BANK 0/ChannelA-DIMM0, 16 GB, DDR4, 2400 MHz, Micron, 16ATS2G64HZ-2G6B1 16ATS2G64HZ-2G6B1
Memory Module: BANK 2/ChannelB-DIMM0, 16 GB, DDR4, 2400 MHz, Micron, 16ATS2G64HZ-2G6B1 16ATS2G64HZ-2G6B1
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x7BF), wl0: Jun 24 2018 21:16:16 version <IP_ADDRESS>.32.1.55 FWID 01-55577fa3
Bluetooth: Version 6.0.7f10, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.1 Bus
USB Device: iBridge Bus
USB Device: iBridge DFR brightness
USB Device: iBridge Display
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Headset
USB Device: iBridge ALS
USB Device: iBridge FaceTime HD Camera (Built-in)
USB Device: iBridge
Thunderbolt Bus: MacBook Pro, Apple Inc., 28.10
Thunderbolt Bus: MacBook Pro, Apple Inc., 28.10

I get this same error message when I try to run the .app, as well as these errors in Xcode when I try to build and run.

Sorry if this is a lot. I am completely new to Xcode and Swifts workings, so I dont what to do with these errors  here to make it work. Just pointing it out. :)

@Bloumbs You simply need to add your developper account to Xcode so that you can build.
There are no accounts registered with Xcode. Add your developer account to Xcode [...]

@AkdM I don't have an Apple developer account. Im only half a year into programming and haven't tried anything with Swift & Xcode. Do you have plans of possibly fixing the .app so people can use it more easily? Or is there something else I can try to build and run it?

@Bloumbs You simply need to login with your Apple ID under the General settings of the target > Signing. It does not require a paid developer account. Even if I fix the .app, the same error will happen someday. 🙂

@AkdM Signing in like you said got it to build and run. But after that I got this output:  and nothing happened after that. Should I next convert to Swift 4.2 like the error says?  I wanted to ask first before I tried, because all of this is pretty above my head. :)


Can't reproduce the simple regret in the paper

Hi! I really appreciate your work and code. But I run the code with the data provided, I can't reproduce the simple regret value in the paper. I got the regret for OPE around 8 but in the paper, it's much smaller and should be less than 1.
Thank you!

Hi!
Thanks for your interest in our work.
The regret for OPE of around 8 sounds correct to me. In the paper, we normalise the regrets, see section 4.2 in https://arxiv.org/pdf/2106.10251.pdf.
"To make the results comparable across domains, we first compute the gap between the best and the worst performing policy in each environment across all the policies. Then, we normalise the scores in each experiment by dividing them by this gap."
I hope this helps!
Best regards,
Ksenia

Thanks so much!


Label.refs bounding boxes are incorrect when different font sizes are mixed within one line.

Software Versions

Python: 3.6.9
OS: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic
Kivy: 1.11.1 and 2.0.0

Describe the bug
Label.refs bounding boxes are incorrect if different font sizes are mixed within one line of text. The documentation says that the coordinates are relative to the top left corner of the text. But it seems that only the bounding box of the part of the line with the largest font size is calculated correctly, while all others share the same top coordinate (box[1]). The bottom coordinate (box[3]) is calculated correctly relative to top.
Code and Logs and screenshots
from kivy.app import App
from kivy.clock import Clock
from kivy.graphics import Rectangle, Color
from kivy.uix.label import Label

TEXT = 'Lorem [ref=r1]ipsum[/ref] dolor [ref=r2][size=30]sit[/size][/ref] amet, [ref=r3][size=5]consectetur[/size][/ref] adipiscing...'

class MyLabel(Label):
    def show_boxes(self, *_):
        print(self.refs)
        for boxes in self.refs.values():
            for box in boxes:
                x = self.center_x - 0.5 * self.texture_size[0] + box[0]
                y = self.center_y + 0.5 * self.texture_size[1] - box[3]
                w = box[2] - box[0]
                h = box[3] - box[1]
                self.canvas.add(Color(rgba=[0,1,1,.5]))
                self.canvas.add(Rectangle(pos=(x, y),size=(w, h)))

class MyApp(App):
    def build(self):
        self.l = MyLabel(text=TEXT, markup=True)
        Clock.schedule_once(self.l.show_boxes)
        return self.l

MyApp().run()

Also, some experimentation showed that Label.anchors are behaving the same way.

Using that text string in the usage example, displays the same incorrect behavior.

Using that text string in the usage example, displays the same incorrect behavior.


Update branch filter in PR.yml

Update branch filter in PR.yml to match the new default branch in the repo

Mind providing a description?

Mind providing a description?

Thanks!

Thanks!


ash fails to work properly when a new interactive shell (i.e. bash -i ) is created from within an ash session

What steps will reproduce the problem?
1. install and enable ash
2. from within an ash session run "bash -i"

What is the expected output? What do you see instead?

I expected to get a working ash session. Instead every time I run a command I
get "ash::precmd: command not found".

This looks like it's due to the line

[[ -n "${ASH_SESSION_ID}" ]] && return

in /usr/lib/advanced_shell_history/bash, which means that when the
ASH_SESSION_ID variable is inherited across the the bash invocation it causes
the library to drop out and the function definitions to not be available.

Looking at the code and the bash manpage I reckon what would work as a
workaround would be to make only some of the library file conditional on an
existing session, then explicitly check to see if the ash functions existed and
if not, define them.

What version of the product are you using? On what operating system?

This was a fresh subversion checkout of the code running on an Ubuntu Utopic
desktop install.

Please provide any additional information below.

Bash version:
GNU bash, version 4.3.30(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

ash version:
0.7.r .r165

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 18 Feb 2015 at 11:33

Integrated in the github version.


Create a blob from file picked by ImagePicker

React Native version: 0.64.3
Expo SDK: 44
React-native-blob-util version: 0.15.0
I'm trying to use ReactNativeBlobUtil.fetch to get the local video file picked by ImagePicker and then get the blob from the result. I was using React native's default fetch to do that, but facing the dreaded error Network Request Failed on android (see #30176).
Somebody recommended this library as an alternative and I'm trying to integrate this into the project but when I try to do the following function call, it fails with an error.
let uri = file:///data/user/0/com.testing.myproject/cache/ImagePicker/e2f19beb-fa6b-4ee3-9a78-8bf34f41ed9b.mp4
const result = await ReactNativeBlobUtil.fetch('GET', ReactNativeBlobUtil.wrap(uri))

Error:
_stateChange is not a function. (In '_stateChange(info)', '_stateChange' is undefined)
at node_modules/react-native-blob-util/fetch.js:104:23 in fs.stat.then.then$argument_0

Am I doing something fundamentally wrong here? I took a look at the docs and saw that the 2nd argument needs to be http or https, but don't see anything regarding how to specify a local file address (the closest I got was doing a wrap). The following call used to work in React Native's default fetch for small files, but failed for files > 100 MB.
let uri = file:///data/user/0/com.testing.myproject/cache/ImagePicker/e2f19beb-fa6b-4ee3-9a78-8bf34f41ed9b.mp4
const result = await fetch(uri)
const blob = await result.blob()

Any help here would be really appreciated!

Related #633

Hi, I've been using this library and discovered two things:

The fetch will fail on Android if you type any number, everything should be a string in the payload.
ImagePicker appends file:// at the start of the URI, in order for RNBlobUtil.wrap() to work just apply uri.replace("file://", "") and it should work as a multipart/form-data payload

Thanks @burzacoding your comments were very helpful and guided my debugging process well. .replace("file://", "") was necessary but in the end I found that you don't really need to use react-native-blob-util once a file comes from react-native-image-picker or similar if you simply lay out the fields correctly with FormData as you and others have mentioned.


plotjuggler: 3.8.9-1 in 'humble/distribution.yaml' [bloom]

Increasing version of package(s) in repository plotjuggler to 3.8.9-1:

upstream repository: https://github.com/facontidavide/PlotJuggler.git
release repository: https://github.com/ros2-gbp/plotjuggler-release.git
distro file: humble/distribution.yaml
bloom version: 0.11.2
previous version for package: 3.8.8-3

plotjuggler
* fix bug #924 <https://github.com/facontidavide/PlotJuggler/issues/924> (messages with no fields)
* Bugfix: Wrong curvestyle is preselected (#921 <https://github.com/facontidavide/PlotJuggler/issues/921>)
* Contributors: Davide Faconti, Simon Sagmeister

Holding for Humble sync


Codeunit 1105 "Transfer GL Entries to CA" - OnTransferGLtoCA

Can you please add the OnTransferGLtoCA event to TransferGLtoCA procedure in Codeunit "Transfer GL Entries to CA" (1105)?
Actual Code:
procedure TransferGLtoCA()
begin
    ClearAll();

    CostAccMgt.LinkCostTypesToGLAccounts();

    Window.Open(Text001);

    BatchRun := true;
    GetGLEntries();

    Window.Close();
end;

Suggestion:
procedure TransferGLtoCA()
var
    SkipLinkCostTypesToGLAccounts: Boolean;
begin
    ClearAll();

    OnTransferGLtoCA(SkipLinkCostTypesToGLAccounts)
    if not SkipLinkCostTypesToGLAccounts then
        CostAccMgt.LinkCostTypesToGLAccounts();

    Window.Open(Text001);

    BatchRun := true;
    GetGLEntries();

    Window.Close();
end;

[IntegrationEvent(false, false)]
local procedure OnTransferGLtoCA(var SkipLinkCostTypesToGLAccounts: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 52890.


add rev_concat() for immut/list

This PR adds the @list.rev_concat() function (namely List.rev_append from OCaml), making it possible to do the ls.rev().rev_concat(rs) trick in Moonbit.
Also, @list.rev() is now considered as a special case for @list.rev_concat().

Pull Request Test Coverage Report for Build 3250
Details

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
26 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.5%) to 82.633%

Files with Coverage Reduction
New Missed Lines
%

double/double.mbt
4
75.56%

double/exp_nonjs.mbt
22
0.0%

Totals

Change from base Build 3247:
-0.5%

Covered Lines:
4049

Relevant Lines:
4900

💛  - Coveralls


Function distance() added for string similarity search

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
For changelog. Remove if this is non-significant change.
Category (leave one):

New Feature

Short description (up to few sentences):
Trigram distance was added. It is similar to q-gram metrics in R language. I call it distance() function because it is not fair trigram distance :)
Detailed description (optional):
OLD:We compute all the trigrams from needle and haystack, calculate the symmetric difference between these two sets and normalize by dividing to the sum of lengths. The speed is not that great but this metric is known to be one of the fastest.
NEW:
Distance function implementation.
We calculate all the trigrams from left string and count by the index of 16 bits hash of them in the map.
Then calculate all the trigrams from the right string and calculate the trigram distance on the flight by adding and subtracting from the hashmap. Then return the map into the condition of which it was after the left string calculation. If the right string size is big (more than 2**15 bytes), the strings are not similar at all and we return 1.

Comments are in Telegram chat.


App: Compiler path resolution isn't aligned with App

The binariesDirectory option is intended to specify the root directory that contains the compiled classes, see GatlingFiles.
But the CompilerConfiguration interprets it as the working directory for zinc and creates subdirectories: test-classes, cache and zincCache.
As a consequence, when the option is specified, app can't find the compiled classes.
Compiler should resolve binariesDirectory just like App, and create child directories for cache and zincCache.
cc @pdalpra

@pdalpra cache directory used for analysisCacheMap doesn't seem to be ever used?


Create 32-bit Linux build

I get this error...
~/Downloads/WebTorrent-linux-x64$ ./WebTorrent
bash: ./WebTorrent: cannot execute binary file: Exec format error

maybe you also need a 32 bit linux?

You are trying to running a 64 bit program in a 32 bit OS.

@dominictarr Does your processor not support 64-bit? Or did you just pick the 32-bit distribution?
We can make a 32-bit build if necessary.

@feross I can't remember.
following this: https://www.linuxquestions.org/questions/linux-general-1/how-to-check-linux-kernel-is-32-bit-or-64-bit-612352/
> uname -m
i686
> uname -ar
Linux x201 4.2.0-22-generic #27-Ubuntu SMP Thu Dec 17 22:57:22 UTC 2015 i686 i686 i686 GNU/Linux
> getconf LONG_BIT
32

looks like I'm 32 bit

In 64bit platform you will see
uname -m
x86_64

@dominictarr Can you try running npm install webtorrent-desktop -g and then webtorrent-desktop?

@feross yup, npm install worked.

npm install is only the easy way to install if you are a node developer
because os package managers often don't keep their node versions very up to date,
so you probably need to use nvm or something, and that is a pain.

It would not be too difficult to reconfigure the package script to produce both 64 and 32 bit distributions. We did it for friends. If it gets the application to a wider audience and doesn't complicate anything other than packaging I vote we Just Do It

Another user on chat was stuck on 32bit OS, he did not have node installed and I think he gave up trying webtorrent desktop because of this.
A 32bit package makes sense.

@yciabaud Was he a linux user too?

Same issue on a ubuntu 14.04 32 bit version. Can you build a 32 bit version of the WebTorrent Desktop ?
Shell Output:
Desktop WebTorrent: 1: WebTorrent: ELF: not found
WebTorrent: 1: WebTorrent: : not found
WebTorrent: 4: WebTorrent: @!@@@@@00pp@p@@@���� �������'��- �[��[�[��<EMAIL_ADDRESS>�t@B��J,y,S�
"	E��"�F�0$����t
�@8�	  @\��@�P�"4A@���     A��HA&�"Hs�C�5P@K����@�
A "LL�
H�(�$4 ���
��1X��@�i�����H5: not found
WebTorrent: 1: WebTorrent: cannot open @�*@
��@: No such file
WebTorrent: 1: WebTorrent: �B: not found
WebTorrent: 1: WebTorrent: �: not found
WebTorrent: 5: WebTorrent:8�!D�Y �BF
�                                    �xL��1�'CR�	P��
��
��D#(
�@C�1�E#��$
� �	Ȅ�AJ�� H�P8�A��:�
P@��a�@�B@&�% 	�p��
0Bb�D��A8�E$!A: not found
WebTorrent: 6: WebTorrent: �
��: not found
WebTorrent: 19: WebTorrent: Syntax error: ")" unexpected

@feross yes, Linux Ubuntu 14.04 32bit on a 64bit cpu

Okay, I'm okay if we do this now. PR welcome :)

This is completed now, and will be available in the next release v0.4.0.


White screen of death at launch

Bug Description
The version 29 of the app is failing to properly launch on linux. Only a white screen is displayed and the top menu. Version 28 was working fine.
Steps to Reproduce
Steps to reproduce the behavior:
./TNB-Account-Manager-1.0.0-alpha.29-linux.AppImage
I tried resizing, applying zoom and resting it... (some render problems related to nvidia proprietary drivers sometimes causes glitches that can be solved like that, but in this case seems nothing is being rendered at all)

OS and Browser
OS: Arch Linux x86_64, DE: KDE Plasma 5.20.2, CPU: Intel i7-7700HQ (8) @ 3.800GHz, GPU: NVIDIA GeForce GTX 1050 Ti Mobile, GPU: Intel HD Graphics 630, Memory: 15.5 GiB
Shell Output
$ ./TNB-Account-Manager-1.0.0-alpha.29-linux.AppImage
(node:1903634) ExtensionLoadWarning: Warnings loading extension at /home/matheus/.config/TNB Account Manager/extensions/fmkadmapgofadopljbjfkapdkoienihi: Unrecognized manifest key 'browser_action'. Unrecognized manifest key 'minimum_chrome_version'. Unrecognized manifest key 'update_url'. Cannot load extension with file or directory name _metadata. Filenames starting with "_" are reserved for use by the system.
(node:1903634) ExtensionLoadWarning: Warnings loading extension at /home/matheus/.config/TNB Account Manager/extensions/lmhkpmbekcpmknklioeibfkpmmfibljd: Unrecognized manifest key 'commands'. Unrecognized manifest key 'homepage_url'. Unrecognized manifest key 'page_action'. Unrecognized manifest key 'short_name'. Unrecognized manifest key 'update_url'. Permission 'notifications' is unknown or URL pattern is malformed. Permission 'contextMenus' is unknown or URL pattern is malformed. Permission 'tabs' is unknown or URL pattern is malformed. Cannot load extension with file or directory name _metadata. Filenames starting with "_" are reserved for use by the system.
Added Extension: Redux DevTools

This output is exactly the same with version 28 thought so wont probably be of much helpful.
Account Number
72d31b3aa84e4a0cf58dc5527b5a0a54a4499716994a2f7c0507e32b9985156c

The same on mac. But in console, I see an error: "Uncaught Error: Project version could not be inferred. Please specify the projectVersion option."

Same issue on Windows 10 Home v2004 build 19041.630 using version 29 of alpha.

Should be resolved by #484

I can confirm is working now on linux with alpha-30.


feat(#305172): add MobSF security scan on android build staging and prod

GitHub Issue: #
Proposed Changes

[ ] Bug fix
[x] Feature
[ ] Code style update (formatting)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build or CI related changes
[ ] Documentation content changes
[ ] Other, please describe:

Description

add MobSF security scan on android build staging and prod
Impact on version

[ ] Major

The template structure was changed.

[x] Minor

New functionalities were added.

[x] Patch

A bug in behavior was fixed.
Documentation was changed.

PR Checklist
Always applicable
No matter your changes, these checks always apply.

[ ] Your conventional commits are aligned with the Impact on version section.
[x] Updated CHANGELOG.md.

Use the latest Major.Minor.X header if you do a Patch change.
Create a new Major.Minor.X header if you do a Minor or Major change.
If you create a new header, it aligns with the Impact on version section and matches what is generated in the build pipeline.

[ ] Documentation files were updated according with the changes.

Update README.md and src/cli/CLI.md if you made changes to templating.
Update AzurePipelines.md and src/app/README.md if you made changes to pipelines.
Update Diagnostics.md if you made changes to diagnostic tools.
Update Architecture.md and its diagrams if you made architecture decisions or if you introduced new recipes.
...and so forth: Make sure you update the documentation files associated to the recipes you changed. Review the topics by looking at the content of the doc/ folder.

[ ] Images about the template are referenced from the wiki and added as images in this git.
[ ] TODO comments are hints for next steps for users of the template and not planned work.

Contextual
Based on your changes these checks may not apply.

[ ] Automated tests for the changes have been added/updated.
[ ] Tested on all relevant platforms

Other information

Internal Issue (If applicable):

Product Backlog Item 305172: [Dev] [Mobile Security] Integrate MobSF in FlutterApplicationTemplate

@Arieldelossantos Please rebase it on main, I just merged a CI/CD fix.

Should it also be done for iOS? And is this something we want for newer applications when generating from the template? It would also be nice to have some documentation about it, I currently don't know what it does exactly.

yes, i'm working now on the iOS integration i'll probably create the PR tomorrow EOD

@lesterbotello @Soap-141 i've updated the PR with the iOS implementation


Remove EventedFd

Should we remove EventedFd and instead implement Evented on RawFd directly?

In #1014 I've renamed EventedFd to SourceFd, which isn't a very good name.

I opted to not impl it on RawFd because not all fds can work with mio.
I don't love the name either, but I don't have a great option off the top of my head.
Another option would be to conditionally define register_fd, reregister_fd, and deregister_fdonRegistry` (for unix).

I opted to not impl it on RawFd because not all fds can work with mio.

I understand this and agree, but handling RawFds is already unsafe as many system calls don't work with any file descriptor (e.g. accept doesn't work with a fd that is a file (on disk)).

I don't love the name either, but I don't have a great option off the top of my head.

RegisterableFd (not a big fan of it)? I don't really have a better option.

Another option would be to conditionally define register_fd, reregister_fd, and deregister_fd on Registry (for unix).

I would prefer not to add these kind of methods as this could like to special methods for different OSes, e.g. register_handle on Windows etc.

I would prefer not to add these kind of methods as this could like to special methods for different OSes, e.g.

True, but I kind of am assuming that per-OS methods is a given at some level.

RegisterableFd (not a big fan of it)? I don't really have a better option.

Can go w/ that if you wish.

I do prefer a type such as EventedFd over adding three methods per OS. But I'll think about the name a bit more as I don't really like RegisterableFd.

Had some more thoughts about this, creation and usage of a wrapper like EventedFd should probably be unsafe as the caller needs to ensure that file descriptor can actually be registered with epoll/kqueue. And my second though is that I would a matching API on the Windows side if possible, so this will likely need to wait until the rewrite is complete.

I don't think it is unsafe... unsafe should be limited to APIs that could be unsound as per Rust's definition. Worst case scenario with passing in an invalid FD is you get an error.

I've also used unsafe as a way to indicate caller requirements, in this case that would be ensuring the fd can be used in the system calls.

I don't think it should be used like that IMO. That would just be a regular bug. unsafe should be reserved for cases that relate to APIs that incorrect usage would result in unsoundness as defined by the Rust memory model.

An example of an unsafe function that wouldn't be unsound, in regards to memory the memory model, would be FromRawFd::from_raw_fd. If it would be used with an invalid/incorrect fd most system calls on it (e.g. when used with File and it's io::Read impl) would also return errors, but wouldn't cause memory unsoundness.
But I'm ok with keeping it as is, but I would really like a better name then SourceFd.


Adds comments to dosomething_user

I dont think this needs a pull request template.
Fixes #5447

:+1:


Rangebar left pin stuck at beginning until dragged 1/3 of the way to the left.

I have noticed when the rangebar is aligned by component to the left of another view the left hand pin freezes when dragged until a certain distance is reached. It seems to "snap" to a certain index then "snap" back. Here is a video of it https://youtu.be/R0Q7NwYOskg.
As you can see as well clicks also do not work within the non functioning range.
Here is the setup for that video. Its a starter project with the following activity main.

<TextView
    android:text="@string/hello_world"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:id="@+id/textView"/>

<com.appyvet.rangebar.RangeBar
    xmlns:custom="http://schemas.android.com/apk/res-auto"
    android:id="@+id/waveDirectionRangebar"
    android:layout_width="250dp"
    android:layout_height="72dp"
    custom:tickStart="1"
    custom:tickInterval="1"
    custom:tickEnd="17"
    custom:connectingLineColor="#2196F3"
    custom:tickColor="#FFEBEE"
    custom:selectorColor="#FFEBEE"
    custom:pinColor="#F44336"
    custom:pinPadding="10dp"
    custom:rangeBarColor="#F44336"
    custom:pinMaxFont="12dp"
    custom:pinMinFont="12dp"
    android:layout_below="@+id/textView"
    android:layout_toRightOf="@+id/textView"
    android:layout_toEndOf="@+id/textView"/>

I found somewhat of a solution. It is putting the RangeBar inside of a LinearLayout and Aligning the linear layout to the textview. Then having the RangeBar match the width of the parent. Is this intended functionality? Though it works I believe the RangeBar should be able to be resized and aligned to other components without a problem.

I've experienced same issue. Even the demo app has it if to set tickMax to 100 and tickInterval to 0.1. Does anybody have ideas how to resolve it?

Fixed that issue for myself by setting explicit left and right padding to 0 for the rangebar and wrapping it with the frame layout. Looks like the problem appears in the onActionMove method when comparing componentLeft (componentLeft contains invalid value) and the event x.

Hm, my fix doesn't work for the right pin in the Android 5.1

Same issue over here, occurs when there is another view to the left of the RangeBar within the same ViewGroup. Some debugging reveals that getLeft() returns the distance to the left edge of the parent, while the MotionEvent's getX() method returns the distance to the left edge of the view (so that will be negative if the pointer is left of the view but still in the parent).
That means we'd simply need to change lines 1324 and 1325 in RangeBar.java to the following:
final int componentLeft = getPaddingLeft();
final int componentRight = getWidth() - getPaddingRight();

I'm sorry I'm not creating a pull request but I don't think it's worth it here, besides I don't have the time to test it properly.


[BUG]

Describe the bug
Uploading a JSON file from Resume-Rx creates an empty resume; same as selecting to start from scratch
Product Flavor

[x ] Managed (https://rxresu.me)
[ ] Self Hosted

To Reproduce

Open the App
Click on import from external sources
use any of the JSON options (Import from Reactive or Import from JSON)
Creates an empty resume

Expected behavior
I expect that the JSON would be read into the system and when I open the resume it creates, it would be populated with my data appropriately
Screenshots

Can you share a sample of the JSON you are trying to import? It only works if it is of a specific format.

Can you share a sample of the JSON you are trying to import? It only works if it is of a specific format.

Amruth, simply create a brand new resume, go to the settings and "load sample data", export Alexis Jones resume to json, and import it back into rxresu.me. I am having the same issue and am unable to recover my resume at this time:

Not trying to hijack this thread, but I am having the same exact problem. I was using an old version of Reactive Resume  -- I believe it was version 1. Did a lot of work there and exported all the resume versions I worked on as JSON files.
I just upgraded to the newest version 3.7.2 and when I import any of the JSON files I simply get a blank page. I tried importing from both buttons under the "Import From Reactive Resume" section and also tried using the import button from the "Import From JSON Resume" section as well. Neither works.
Here is one of my JSON file export files.


The baseline of 3D-ResNet-18 on Mini-Kinetics-200 trained from scratch

Hi Jinwoo,
Thanks for your work. One thing I want to know is, it seems the top-1 acc. of 3D-ResNet-18 on Mini-Kinetics-200 is not reported in the paper (or the reference paper). Could you kindly provide the information? And it is much better that you could share the .pth pretrained model of this.
Regards,

The top-1 accuracy of 3D-ResNet-18 on Mini-Kinetics-200 is 56.32%. Hope this helps.


OpenZipkin/Cassandra StorageType to turn On/off Hostname verification #3427

I think to get this across the finish line, it might be faster to redo it. Reason is that the cassandra property is SSL_HOSTNAME_VALIDATION and so that means our property should be CASSANDRA_SSL_HOSTNAME_VALIDATION for env and sslHostnameValidation for the field. using different names can cause confusion. Most of the work not done here is adding the spring yaml plumbing to propagate this setting, as well update the zipkin-server README section for cassandra.

reopened in https://github.com/openzipkin/zipkin/pull/3701 as I was unable to alter the branch under this PR.

https://github.com/openzipkin/zipkin/releases/tag/3.0.5 includes this


Mirror Window not launching with S9+

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: Windows 10
scrcpy version: 1.16
installation method: Windows release
device model: Samsung Galaxy S9+
Android version: 10

Describe the bug
It worked fine a few days ago, i recently installed a new update on my phone and since then, i can launch the the terminal version of scrcpy and it recognizes the phone but wont launch the second window that actually mirrors the screen.
thats it.
`INFO: scrcpy 1.16 <https://github.com/Genymobile/scrcpy>
C:\adb\scrcpy-server: 1 file pushed, 0 skipped. 30.6 MB/s (33622 bytes in 0.001s)
[server] INFO: Device: samsung SM-G965F (Android 10)`

An encoder problem on the tablet probably.
Does it work with scrcpy -m 800?
Does screenrecord work:
adb shell screenrecord /sdcard/file.mp4
adb pull /sdcard/file.mp4

?

Hey, thank you.
Screenrecord works.
Your first command isn't working.

Hmm... Does some older version of scrcpy work? (for example v1.5, v1.9, v1.13)

Output of 1.5
`* daemon not running; starting now at tcp:5037

daemon started successfully
scrcpy-server.jar: 1 file pushed.`
and then nothing happens, waited a good minute.

Output of 1.9
`* daemon not running; starting now at tcp:5037

daemon started successfully
C:\adb\scrcpy-server.jar: 1 file pushed. 4.0 MB/s (22470 bytes in 0.005s)
INFO: Initial texture: 1080x2216`
and then, nothing happens, also waited for 1+ minute. after 2 minutes or so it actually starts working. were the older releases slower? Because with the newer release it basically opened the mirrorwindow instantly. Got a fresh windows installation so i should have clustered it up yet.

1.13
`INFO: scrcpy 1.13 https://github.com/Genymobile/scrcpy

daemon not running; starting now at tcp:5037
daemon started successfully
C:\adb\scrcpy-server: 1 file pushed. 5.1 MB/s (27694 bytes in 0.005s)
[server] INFO: Device: samsung SM-G965F (Android 10)
`
Basically what happens with the latest release.

Wow, that's weird.
So we have to find were it is blocked on the device.
Are you comfortable with adding logs and building the app/server?
As a first step, you could just execute scrcpy -Vdebug (but I think it will not help a lot).
(when it is "blocked", what happens if you press Enter in the terminal? I already had think kind of issues with Windows terminal in general)

You mean the catlog? Checked that out before and it added literally nothing (wich is weird since it should add that it started scrcpy, no? Never build the app/server myself, i check it out tho, if its not too complicated i give it a try.
The command  scrcpy -Vdebug prints out:
INFO: scrcpy 1.16 <https://github.com/Genymobile/scrcpy>
DEBUG: Using server (portable): C:\adb\scrcpy-server
C:\adb\scrcpy-server: 1 file pushed, 0 skipped. 33.1 MB/s (33622 bytes in 0.001s)
DEBUG: Screensaver enabled
[server] INFO: Device: samsung SM-G965F (Android 10)
DEBUG: Starting stream thread
DEBUG: Starting controller thread

Is it supposed to do more? I keep the console open for now.
It just jumps to the next line when i press Enter, nothing else.

You mean the catlog?

(logcat)

Checked that out before and it added literally nothing (wich is weird since it should add that it started scrcpy)

Oh, so the output of adb logcat is stuck, whatever you do on your phone?
This kind of problem (independant of scrcpy) has already been observed (I can't find the issue anymore), and it "prevented" scrcpy to work.

i check it out tho, if its not too complicated i give it a try.

OK, let me know :+1:
The goal would be to find on which Java line the server is blocked.

Hey, seems to be working normally today. Apparently multiple windows machines had problems yesterday, from machine being super slow to drivers and programs not starting at all, after installing a little update today everything, including scrcpy, seems to be working normally again.
Thanks for your help!


Migrate samples for Maps and Network

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


fix: remove unnecessary gradle-semantic-release-plugin

:tada: This PR is included in version 1.19.13 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[DEP] Remove dill dependency

Currently, pythainlp.tag.perceptron is the only submodule that uses dill.
dill is an extended version of pickle.
Looks like we currently use a very basic functionality of of serialization that the standard pickle may able to handle and there's no need for dill.
https://github.com/PyThaiNLP/pythainlp/blob/d2b67e00a85c42212b668cb535dcfaaf010663e9/pythainlp/tag/perceptron.py#L19
Propose to investigate more and see if we can move from dill to pickle and reduce the number of mandatory dependencies by one.

NLTK is used code from A Good Part-of-Speech Tagger in about 200 Lines of Python https://explosion.ai/blog/part-of-speech-pos-tagger-in-python
NLTK https://www.nltk.org/_modules/nltk/tag/perceptron.html


Adds typings for es6-collections and es6-shim libraries

Adds typings for the following projects:

es6-collections
es6-shim

es6-collections/es6-collections.d.ts
check list

[ ] is collect naming convention?

https://www.npmjs.com/package/es6-collections
http://bower.io/search/?q=es6-collections
others?

[X] has a test file? (es6-collections/es6-collections-tests.ts or others)
[ ] pass the Travic-CI test?

es6-shim/es6-shim.d.ts
check list

[ ] is collect naming convention?

https://www.npmjs.com/package/es6-shim
http://bower.io/search/?q=es6-shim
others?

[X] has a test file? (es6-shim/es6-shim-tests.ts or others)
[ ] pass the Travic-CI test?

@rbuckton it merged. thanks!


Add ENS_GEOM and update ENS_SCENE

ENS_GEOM class added
ENS_SCENE interface updated
Python 3.9

@mariostieriansys I updated the export script in EnSight.  Pending PR for that.  Once this is in, I have a PR lined up for pyensight.


docs: Document poetry install

Description

Document how and when poetry dependency manager is activated.
Motivation and Context

Fixes #436
Fixes #311
Breaking Changes

No.
How Has This Been Tested?

[ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects

[ ] I have executed pre-commit run -a on my pull request

This PR is included in version 4.16.0 :tada:


feat(event-error): add support for error cause

Current dependencies on/for this PR:

main

PR #73   👈

This comment was auto-generated by Graphite.


Offer sane defaults regarding what's trusted with skops

As recently discussed here:
We can offer sane defaults regarding what's trusted with skops, and if we want to, we can offer a migration from an older version of sklearn to a new one, which is what I worked on already.
We can start running a bunch of tests with usual pipelines using sklearn and other third party library estimators, to see what comes up that needs to be trusted. That list then needs to be maintained across library versions, and you need to manually check those libraries to make sure trusting them doesn't open paths to exploits.

Backlog check


81+7083668274

What article on docs.github.com is affected?

What part(s) of the article would you like to see updated?

Additional information

hanabi6251


Remove Simulatable and restyle simulation_group.dart

Fixes https://github.com/flutter/flutter/issues/2083

lgtm


Information regarding escaping characters

Document doesn´t specify that escaping characters like " etc is not supported for the contents of csv files.

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

ID: a31d0e4e-6b37-3add-bad0-ca3d5187bcdd
Version Independent ID: fc385e01-4e82-8e3a-2f4f-289c34b4a20e
Content: Microsoft Purview Data Map supported data sources and file types - Microsoft Purview
Content Source: articles/purview/microsoft-purview-connector-overview.md
Service: purview
Sub-service: purview-data-map
GitHub Login: @linda33wj
Microsoft Alias: jingwang

@OscarMedinaMS
Thanks for your feedback! We will investigate and update as appropriate.

@OscarMedinaMS
I've delegated this to @linda33wj , a content author, to review and share their valuable insights.

@OscarMedinaMS - Can you give me a little more information?
Are you getting an error during the scanning process because of data with a " ?

Without further details I can't currently provide more information. I'm going to close this for now, but if you have any additional information, please reach out again. Thank you!

#please-close


Duplicating frames

For some reason if I upload any count of frames (4, 8, 9), the on the grid I see duplications and don't see one of the frames. For example, I upload 4 frames: 1.png, 2.png, 3.png, 4.png. After generation grid of 2x2, the 2 first images on it are duplicates. Such as 2.png, 2.png, 3.png, 4.png. But I don't see the 1st image. I tested out with different image sizes, different images at all, different names, upload locations etc
Thanks!

Now it works. Thanks!


no codes for sigma-0 or sigma-2 (or any other sigma surface)

only sigma-1 codes available at present

sigma-0 and sigma-1 added in commit https://github.com/ggebbie/IsopycnalSurfaces.jl/commit/2a955b8aaba6059c0f5cc1803632df36a624b7d4 .
sigma-3 and sigma-4 still not included, but will close this issue.


openssl-1.1.1 memory usage

I just upgraded openssl version from 1.0.2 to 1.1.1 to support TLS1.3. But I found 1.1.1 will consume more memory than 1.0.2.
In my application, It will increase about 40KB+  for each SSL connection.
So,

Do we have some official test result to compare the memory usage between differrent version?

Do we have some tools to do the test?

Do we have some mothod to reduce the memory usage?

I really want to know the exact memory usage for a pure SSL connection.
Thanks

Unfortunately we don't have such an official test. It is known that that the memory usage has increased, but fixing that is a non-trivial task.

Marking as inactive, will be closed at the end of 3.4 dev barring further input


feat(design): added custom injectors to DaffModal

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Fixes: https://github.com/graycoreio/daffodil/issues/938
What is the new behavior?
Does this PR introduce a breaking change?
[x]Yes
[ ] No

Currents breaks the Modal implementation in demo and any other potential use.
Other information

For issue #938

Closing as stale.


Improve Test coverage

Fixes #, if available:
Description of changes:
Improve Test coverage from 19% to 40%
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

created https://github.com/opendistro-for-elasticsearch/performance-analyzer/issues/253 to track missing license headers for new files.


Sessions changes: DO NOT MERGE

closes #124
Changes from these PRs:

[x] 1 min TTL: https://github.ibm.com/ibm-q-software/ws-qiskit-runtime-api/issues/247#issuecomment-63518888 and https://github.ibm.com/IBM-Q-Software/ws-multi-channel-scheduler/issues/142 (request from @mriedem - instead of documenting this change, just tell users to look up the TTL from the session)
[x] Get session details: https://github.ibm.com/IBM-Q-Software/sw-api-iqp/pull/418 (see https://api-dev.quantum-computing.ibm.com/runtime/api#/sessions/GetSessionDetailsController_getSessionDetails)
[x] Limit max TTL per plan: https://github.ibm.com/ibm-q-software/cl-quantum-premium/issues/221
[x] Accepting jobs flag: https://github.ibm.com/IBM-Q-Software/requirements-and-priorities/issues/207
[x] The UI is also changing: https://github.ibm.com/IBM-Q-Software/sw-iqx-web/issues/4787

FYI - @jyu00 and @mriedem

[x] Need to clearly state that these changes are for qiskit-ibm-runtime version >= 0.13.0

No longer in scope:

[ ] Extended sessions: https://github.ibm.com/ibm-q-software/cl-quantum-premium/issues/222 and https://github.ibm.com/IBM-Q-Software/requirements-and-priorities/issues/232

This epic should contain all of the Sessions changes: https://github.ibm.com/IBM-Q-Software/requirements-and-priorities/issues/158

I think we can take this opportunity to restructure the page a bit, so topics related to how session works are grouped together. For example:

I'm totally on board with that.  Do you want me to get rid of the session details section?

I'm totally on board with that. Do you want me to get rid of the session details section? I see that it's mentioned in the summary, so I'm going to put the summary after the session details section

Session details section is still needed, since that's how people find out about the TTLs. I was debating if we should move everything code related to Run jobs in a session and keep this page as concept only. What do you think?

Summary

...

A session stays active until

Its maximum timeout value is reached. In this case all queued jobs are cancelled, but running jobs would finish.
Its interactive timeout value is reached. In this case the session is deactivated but can be resumed when the next job starts running.
The session is closed or cancelled by the user

It seems like there's a 4th way a session is closed:  The context manager is exited and all session jobs are finished.
Right?  Because it will be ended immediately after the jobs are done without the session reaching the max timeout value or reaching the interactive timeout value.

Summary

...

A session stays active until

Its maximum timeout value is reached. In this case all queued jobs are cancelled, but running jobs would finish.
Its interactive timeout value is reached. In this case the session is deactivated but can be resumed when the next job starts running.
The session is closed or cancelled by the user

It seems like there's a 4th way a session is closed: The context manager is exited and all session jobs are finished.

It's the same as calling session.closed(). We can change the wording to say something like
The session is closed or cancelled. This can be done using the corresponding methods or upon exiting a session context.

Session details section is still needed, since that's how people find out about the TTLs. I was debating if we should move everything code related to Run jobs in a session and keep this page as concept only. What do you think?

I think that makes sense - I can rearrange.

"Session maximum execution time" in max-execution-time can just go away.

In that section we tell them how to change the maximum execution time though.  Don't we still want that?   I could delete the Defaults section if we really don't want to tell them (https://docs.quantum-computing.ibm.com/run/max-execution-time#defaults)


Nuevos Test Unitarios

Codecov Report
Patch coverage: 15.15% and project coverage change: +15.91 :tada:

Comparison is base (41a8313) 6.41% compared to head (cf87ac5) 22.33%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@              Coverage Diff              @@
##             master      #24       +/-   ##
=============================================
+ Coverage      6.41%   22.33%   +15.91%
- Complexity       16       38       +22
=============================================
  Files            38       38
  Lines           405      394       -11
  Branches         19       18        -1
=============================================
+ Hits             26       88       +62
+ Misses          378      302       -76
- Partials          1        4        +3

Impacted Files
Coverage Δ

...du/fiuba/algo3/modelo/Creador/CreadorEnemigos.java
0.00% <0.00%> (ø)

.../java/edu/fiuba/algo3/modelo/Enemigos/Hormiga.java
0.00% <ø> (ø)

.../algo3/modelo/Excepciones/PasarelaInexistente.java
0.00% <0.00%> (ø)

...ain/java/edu/fiuba/algo3/modelo/juego/Jugando.java
0.00% <0.00%> (ø)

...java/edu/fiuba/algo3/modelo/lectorJSON/Camino.java
0.00% <0.00%> (ø)

...java/edu/fiuba/algo3/modelo/miscelanea/Tienda.java
0.00% <0.00%> (ø)

...ain/java/edu/fiuba/algo3/modelo/parcelas/Meta.java
0.00% <0.00%> (ø)

...java/edu/fiuba/algo3/modelo/parcelas/Pasarela.java
33.33% <12.50%> (+2.08%)
:arrow_up:

...n/java/edu/fiuba/algo3/modelo/parcelas/Normal.java
33.33% <33.33%> (ø)

.../java/edu/fiuba/algo3/modelo/Enemigos/Enemigo.java
81.81% <50.00%> (+81.81%)
:arrow_up:

... and 1 more

... and 5 files with indirect coverage changes

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


Install task does app customization to include work types

Overview
newspaper_works needs an install task/generator to provide customization to a consuming Rails application, with success determined by ability of app configuration to allow Hyrax to run and create work types through the web interface.
Deliverables

Assessment, via manual modification to newsapp_experiments of what constitutes minimally sufficient configuration.
Install generator modifies app's config/initializers/hyrax.rb to inject curation_concern registration.
Install generator modified app's routes, as needed.
Some way to test with RSpec #2, #3, TBD?  The goal is not as much to manually verify that this generator would modify an app like newsapp_experiments (though we should verify that too), but that there is some automated test to verify this.

Re deliverable number 4 above, there is likely a standard Rails practice for testing install generators for engines, I will look into this.

We are punting on specs, so I am closing this as completed.


chore/ci: update rustc and clippy versions

r? @Fraser999
(maidsafe_highfive has picked a reviewer for you, use r? to override)


Correction for raw affiliation CHU Rennes- Univ Rennes- INSERM- CIC1414- Institut NUMECAN Nutrition Metabolisms and Cancer-, Department of Gastroenterology , Rennes, France

Correction needed for raw affiliation CHU Rennes- Univ Rennes- INSERM- CIC1414- Institut NUMECAN Nutrition Metabolisms and Cancer-, Department of Gastroenterology , Rennes, France
raw_affiliation_name: CHU Rennes- Univ Rennes- INSERM- CIC1414- Institut NUMECAN Nutrition Metabolisms and Cancer-, Department of Gastroenterology , Rennes, France
new_rors: 05qec5a53;02vjkv261;015m7wh34;02baj6743
previous_rors: 05qec5a53;02vjkv261;015m7wh34
works_examples: W4318539338
contact: 258b62a69b913526fd7eae05fe0b3964:b15da0c591ba12efde02636ffe6ef4c8 @ univ-rennes.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


No module named 'diamond_miner.generator'

I am trying to get your sample code from the documentation up and running but my computer is running into issues finding diamond_miner.generator, diamond_miner.rounds.mda, and pycaracal. I am running on Linux, I have python 3.8, and I have run pip install diamond-miner. What other steps need to be taken in order to get this code to run?

I think this is the link for the documentation:
https://dioptra-io.github.io/diamond-miner/workflow.html

Hi,
Thanks for your feedback, the documentation was indeed not up-to-date.
It should be OK now. Let me know if this works for you!


Record and store perception data from the simulation on LGSVL

Is there any way in which I can record the data from the perception module if the simulation is ran on  LG SVL simulator? I want to record the dimension of the bounding boxes created around the vehicles in the simulation and the velocity of vehicles detected in the perception.
System information

OS Platform and Distribution (e.g., Linux Ubuntu 20.04):
Apollo installed from (source):
Apollo version (6.0):

You can use cyber_recorder to record the published messages in to a file. Then you can parse the file and this will do what you want

Can you please guide me how to use cyber_recorder?

You can refer to the command prompt by
cyber_recorder -h


Newly created 3bot account, refusing to log in on uhuru.

Created the new account kekekek.3bot
Try to login.

I keep being redirected instead of logging in, tried in same browser with a different account and it does work, it's purely the new account that doesn't work.

Created another account kenk.3bot, same issue. Stuck on validating v1.3 for now.

@ken-de-moor fixed issue. Will be pushed on staging