Panics when rendering if fonts are changed after creating renderer (UI rendering failed: BadTexture(TextureId(0)))

I'm trying to add runtime font support to my app:
I managed to get it working relatively well by loading and building all the fonts before initialisation of the imgui, things, but it had several issues:

N^3 complexity (font, weight, size)
Used Masses of memory (I had 600Mb at one point in time with just JetBrains Mono and Fira Code)
Didn't let me change it during runtime, just when the app started
Made me drop down to oversampling of 1 because of the driver/GPU erroring out when I set it higher (like 3)

I've tried restructing it so that it scans a directory, read the fonts, store them and then builds only the selected font whenever something changes, which fixes all the above problems (I can also re-scan during runtime). Unfortunately, whenever i try to make changes to the fonts after the glium::Renderer has been created, it panics whenever I try to render the frame.
Relevant code/logs
Log
The application panicked (crashed).
Message:  UI rendering failed: BadTexture(TextureId(0))
Location: src\program\mod.rs:76

Full log at https://pastebin.com/dz7Bamq6
Code
Occurs during the render phase, when glium::event::Event::RedrawRequested happens

    let _guard = trace_span!(
        target: UI_SPAMMY,
        "render",
        frame = imgui_context.frame_count()
    )
    .entered();

    if let Err(err) = managers.font_manager.rebuild_font_if_needed(&mut imgui_context.fonts()) {
        warn!("font manager was not able to rebuild font: {err}");
    }

    // Create a new imgui frame to render to
    let ui = imgui_context.frame();
    //Build the UI
    {
        // Try to set our custom font
        let maybe_font_token = match managers.font_manager.get_font_id() {
            Err(err) => {
                warn!(
                target: UI_SPAMMY,
                "font manager failed to return font: {err}"
            );
                None
            }
            Ok(font_id) => Some(ui.push_font(*font_id)),
        };

        ui.show_demo_window(&mut false);

        // Create stuff for our newly-created frame
        managers.render_ui_managers_window(&ui);

        if let Some(token) = maybe_font_token {
            token.pop();
        }
    }

    // Start drawing to our OpenGL context (via glium/glutin)
    let gl_window = display.gl_window();
    let mut target = display.draw();
    target.clear_color_srgb(0.0, 0.0, 0.0, 0.0); //Clear background so we don't get any leftovers from previous frames

    // Render our imgui frame now we've written to it
    platform.prepare_render(&ui, gl_window.window());
    let draw_data = ui.render();

    // Copy the imgui rendered frame to our OpenGL surface (so we can see it)
    renderer
        .render(&mut target, draw_data)
        .expect("UI rendering failed");
    target.finish().expect("Failed to swap buffers");

    drop(_guard);
    return Ok(());

The problem happens because I've modified imgui.io().fonts() after the renderer has been created. I've also had it happen when I was initialising imgui:
    trace!("creating [glium] renderer");
    renderer = Renderer::init(&mut imgui_context, &display).expect("failed to create renderer");

    trace!("creating font manager");
    let mut font_manager = FontManager::new()?;
    font_manager.reload_list_from_resources()?;
    // font_manager.rebuild_font_if_needed(&mut imgui_context.fonts())?;

In this code, if FontManager::rebuild_font_if_needed() is commented (not how it's after Renderer::Init()), it works fine.

If we uncomment that line, the error appears:

rebuild_fonts_if_needed is very simple - ot just finds the correct font and builds it:
Note how I'm not clearing the atlas, so the existing fonts should still exist:
        // trace!("clearing builtin fonts");
        // font_atlas.clear();

        let fonts = &mut self.fonts;
        let font_index = &mut self.selected_font_index;

        if fonts.len() == 0 {
            let error = Report::msg("could not rebuild font: not fonts loaded")
                .note("try ensuring that [reload_list_from_resources] has been called, and that it loaded fonts correctly");
            return Err(error);
        }

        // Check our indices are in the correct range
        *font_index = (*font_index).clamp(0usize, fonts.len() - 1usize);
        let base_font = &mut fonts[*font_index];

        let weights = &mut base_font.weights;
        let weight_index = &mut self.selected_weight_index;
        *weight_index = (*weight_index).clamp(0usize, weights.len() - 1usize);
        let weight = &weights[*weight_index];

        let size = &self.selected_size;

        trace!("building font {font_name} ({weight}) @ {size}px", font_name = base_font.name, weight = weight.name);
        trace!(
                    target: event_targets::DATA_DUMP,
                    "font data is {:?}",
                    weight.data
                );

        let full_name = format!(
            "{name} - {weight} ({size}px)",
            name = base_font.name,
            weight = weight.name
        )
            .into();
        let font_id = font_atlas.add_font(&[FontSource::TtfData {
            data: &weight.data,
            config: Some(FontConfig {
                name: full_name,
                ..base_font_config()
            }),
            size_pixels: *size,
        }]);
        // self.current_font = Some(font_id);

        //Not sure what the difference is between RGBA32 and Alpha8 atlases, other than channel count
        trace!("building font atlas");
        // font_atlas.build_rgba32_texture();
        font_atlas.build_alpha8_texture();

I'm not really sure how to fix this, so if anyone could give me some help I would very much appreciate it.

Just did a bit of debugging and it's because one of the DrawCmdParams contains a texture ID that doesn't exist inside the renderer.
draw_data (imgui::ui.render()) -> .draw_lists() -> .commands() -> match DrawCmd::Elements -> texture_id ->   == 0
It seems that the imgui draw list contains a reference to a font/texture that's not available.

Part 3
Figured it out, I just had to reload the font texture after I updated the font atlas, using  renderer.reload_font_texture(imgui_context). Might i suggest adding something to the docs somewhere, as it was pretty tricky to figure this one out (been trying for a few days before posting the issue).
Closing this issue as it's now solved


Added simple shadows sandcastle

For #2594
The simple sandcastle demo for shadows. There are a few places where I access scene directly, which I shouldn't do for a Showcase demo. I can maybe make these accessible through Viewer instead.

Take a screenshot for this for the Sandcastle gallery.

Add a toggle to turn shadows on/off so users can clearly see them.  We'll also want a toggle for soft shadows and any other common shadows setting.  The idea is that users can come to this sample to learn the shadow properties they need to set.
Add an option for terrain and primitives to cast/receive shadows
Change the default view/model/time so that shadows are blatantly obvious.  At least at this time, the shadow on the aircraft is not obvious.

Updated.

When I switch the view from Exton to Half Dome, the aircraft stops animating.  Is that intentional?

When I switch the view from Exton to Half Dome, the aircraft stops animating. Is that intentional?

No... I'll look into that.

Otherwise, this is great.
Let me know when to merge.

Even with a maximumed browser window, I'm getting run in with the standard toolbar:

This should be ready now. I vertically aligned the buttons.


Add individual test results and error logs in report

It would be fantastic to also show individual test results and error logs for failures in the generated Markdown test report!!! 🚀

Resolved via #10 🙌


fetch: smarter peer selection

Motivation
Most of the time, there are some nodes that already joined the P2P
network but didn't complete their initialization yet, and thus
attempts to e.g. fetch blobs to them end up in stream setup errors
(protocol not supported).
Additionally, during initial phases of syncv2 testing, we're going
to have a limited number of nodes supporting sync/2 protocol, and
when choosing peers for syncv2, we must only include these peers.
Description
Add a possibility to select best peers by their supported protocols,
which is used by syncv2.
When doing hash requests, only query peers that support hs/1 and as/1
protocols. This avoids querying peers that didn't finish their
initialization and thus didn't start their fetch servers yet.
Test Plan
Verify how sync works on a node

bors merge

TestPartition_50_50 test hung:
2024-11-21T12:06:09.2924626Z goroutine 288 [semacquire, 58 minutes]:
2024-11-21T12:06:09.2925254Z sync.runtime_Semacquire(0xc002fae048?)
2024-11-21T12:06:09.2925915Z 	/usr/local/go/src/runtime/sema.go:71 +0x25
2024-11-21T12:06:09.2926539Z sync.(*WaitGroup).Wait(0x2c15c60?)
2024-11-21T12:06:09.2927171Z 	/usr/local/go/src/sync/waitgroup.go:118 +0x48
2024-11-21T12:06:09.2927886Z golang.org/x/sync/errgroup.(*Group).Wait(0xc000d92280)
2024-11-21T12:06:09.2928744Z 	/go/pkg/mod/golang.org/x/sync@v0.9.0/errgroup/errgroup.go:56 +0x25
2024-11-21T12:06:09.2930022Z github.com/spacemeshos/go-spacemesh/systest/tests.testPartition(0xc00082a4e0, 0xc00076e500, 0xc000139c00, 0x32, 0x6)
2024-11-21T12:06:09.2931094Z 	/src/systest/tests/partition_test.go:107 +0x64b
2024-11-21T12:06:09.2932209Z github.com/spacemeshos/go-spacemesh/systest/tests.TestPartition_50_50(0xc00082a4e0)
2024-11-21T12:06:09.2933790Z 	/src/systest/tests/partition_test.go:201 +0x11c
2024-11-21T12:06:09.2934875Z testing.tRunner(0xc00082a4e0, 0x317e6b0)
2024-11-21T12:06:09.2935562Z 	/usr/local/go/src/testing/testing.go:1690 +0xf4
2024-11-21T12:06:09.2936237Z created by testing.(*T).Run in goroutine 1
2024-11-21T12:06:09.2936935Z 	/usr/local/go/src/testing/testing.go:1743 +0x390

Trying again

bors merge


Try state in context with useHook

Resolves: #3
Benefits

Less code, no need to spread those states everywhere
Better performance, less rerenders

Goals

100% backward compatibility. It should work with every existing component without any changes. This isn't proved yet but I'll include tests later on.
Should be easy to enable this new feature for existing and upcoming components

Is there anything we need to do to enable this feature for components?
Yes
The PR introduces two new hooks: useStateContextConsumer and useStateContextProvider. To create a context you can use the helper function createStateContext.
useStateContextProvider
This hook should be used by the parent component. For example ComboboxPopover is a component that contains ComboboxOption. In this case, ComboboxPopover is the parent component and it should provide the context.
First, you will need a context:
export const StateContext = createStateContext<
  Partial<unstable_ComboboxState>
>();

Then you need to add the hook to the compose array as the very first value:
compose: [useStateContextProvider(StateContext), useComboboxList, usePopover],

If your component is using useComposeProps too, then you need to add the hook there as well:
useComposeProps(options, { tabIndex, ...htmlProps }) {
  htmlProps = useStateContextProvider(StateContext)(options, htmlProps, true);
  htmlProps = useComboboxList(options, htmlProps, true);
  htmlProps = usePopover(options, htmlProps, true);

  return {
    ...htmlProps,
    tabIndex: tabIndex ?? undefined,
  };
}

useStateContextConsumer
This hook should be used by the child component. For example ComboboxPopover is a component that contains ComboboxOption. In this case, ComboboxOption is the child component and it should consume the context.
You should create a context in your parent component as mentioned above. Then you need to add the hook to the compose array as the very first value:
compose: [
  useStateContextConsumer({
    context: StateContext,
    shouldUpdate: (id, state, nextState) => {
      return (
        state.currentId === null ||
        nextState.currentId === null ||
        id === state.currentId ||
        id === nextState.currentId
      );
    },
    updateDependencies: (state) => [state?.currentId],
  }),
  useComboboxItem,
  useCompositeItem,
]

useStateContextConsumer takes an object with 3 properties:

context the context that you would like to consume, this should be the context that your parent component provides
shouldUpdate a function that returns whether the component should update its state or not. This function gives you 3 parameters: id of the component, state current state of the component and nextState which is the state that we just received from the context. If we return true, then the nextState will be applied to the component.
updateDependencies under the hood, the pubsub system takes some dependencies. According to these dependencies, your component resubscribes to the pubsub system. This makes sure you receive correct values in shouldUpdate.

How to test?

npm run storybook
Open Combobox -> Combobox Non Context Vs Context

Does this PR introduce breaking changes?
Hopefully not!

@EricRibeiro This is an alternative implementation that is not hacking into the createComponent. I would like to avoid that to make it more reusable and robust. This way we can totally decouple the StateContext and all the related components.
And it is using createHook so it's more Reakit-ish way.

@EricRibeiro Just finished this up 😄 Tests are passing. I'll experiment with other components as well. Would like to hear your thoughts about this implementation.

Amazing work @Genichiro00 🚀
I currently don't have time to review Reakit PRs (I work on react native right now and am currently trying to fight off burnout in these trying times, so avoiding out of hours projects) - I've removed myself from the review request - hope you don't mind!


Editorial: clarify definition of [[AsyncEvaluating]] state

Resolves https://github.com/tc39/proposal-top-level-await/issues/160 per the suggestions made there in clarifying the explicit meaning of this state.

It looks like this will no longer be true after https://github.com/tc39/proposal-top-level-await/pull/159/commits/46b80ab261f1b443df7fef8e57da7910108b0868#diff-181371b08d71216599b0acccbaabd03c306da6de142ea6275c2135810999805aL625
I will double check if we need that change tomorrow. Sorry for the delay (otherwise looks good)

I ... need to read this with fresh eyes tomorrow. Sorry about the delay!


docs(guide/Filters): describe your change...

I had a really hard time understanding that if I use a custom filter from a controller or service, I needed to add the string "Filter" to the name of the filter when listing it as a dependency of my controller or service.  I hope, by adding this example of the custom filter, "name", it becomes apparent.
It's weird that a developer could refer to the custom filter by it's name in a view, like
{{user.name}}
 but they have to refer to it by "nameFilter" from a controller or service instead of just "name".
In this example, the error message from angular is really unhelpful when the controller fails to refer to the "name" filter by the string "nameFilter".  The error is, "Error: [$injector:unpr] Unknown provider: nameProvider <- name <- FilterController".

I signed it!
Sent from my iPhone

On May 20, 2015, at 10:32 AM, googlebot<EMAIL_ADDRESS>wrote:
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA).
Please visit https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.
If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
If you signed the CLA as a corporation, please let us know the company's name.
—
Reply to this email directly or view it on GitHub.

FWIW, this explained (clearly imo) in the Filters section of the Developer Guide.

@gkalpak But we are in the filters guide

@Narretz, indeed :) I guess I meant in the "Using filters in controllers, services, and directives" section of the Filter guide, where it says:

You can also use filters in controllers, services, and directives. For this, inject a dependency with the name <filterName>Filter to your controller/service/directive. E.g. using the dependency numberFilter will inject the number filter.

After suddenly struggling with this same issue (despite having been using custom filters within templates for a long time), I'd like to urge you to merge this PR. In my opinion, the 'nameFilter' makes a clearer example of what's happening than the 'filterFilter' example.

I've made a change for this, but  did not include this new example. It doesn't really add anything new and might be confusing actually. It's explained in the first paragraph how to require filters - I've made the style more explicit. I've also added an example of using the filter in the controller in the custom filter example.


kiosk mode not working anymore

After update new Home Assistant 2023.4.0b7 beta release, it is not working anymore.

Please @mesut3000 refer to this issue


Document that users should use -c opt when going into production

If the user just compiles using bazel build //cas it will result in a very slow binary. This is because of the way rust compiles by default and rust is extremely slow in non-optimized binaries.
We can simply update the readme to tell users to use -c opt when building for production.

You mean I've been running the slow version?  I can't imagine it going faster 😆 !

Yes, and I also found that gzip is by far the slowest component taking like 70% of the time.

I did some more testing and found that with gzip disabled here's the results with the following:

Build bazel build --config self_test //... (populate cache)
bazel clean --noasync && bazel build --config self_test //... (repeated 10 times)

All the numbers are the usr time using the time function of the cas binary:
$ bazel build -c opt //cas
19.434

$ bazel build -c opt --@rules_rust//:extra_rustc_flags=--codegen=lto=thin //cas
18.279

$ bazel build -c opt --@rules_rust//:extra_rustc_flags=--codegen=lto=fat //cas
17.134

So enabling fatlto yields ~10% speed boost. It could be higher if you can assume that most of the time data will be downloaded from the CAS instead of uploaded.


Remove permission "SYSTEM_ALERT_WINDOW" for no-op release

Hi, can you remove uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" for no-op release since it is not necessary for release, in AndroidManifest.xml

this permission

Sure! What to open pr?
On Feb 1, 2017 8:43 AM, "Gilianp"<EMAIL_ADDRESS>wrote:

this permission
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/friendlyrobotnyc/TinyDancer/issues/50#issuecomment-276659951,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEUX3EtRaIWTCG5w_KZzrJJIQ6pxL3oHks5rYIv9gaJpZM4LzyCI
.

@Gilianp fixed in current master branch and will go with the 0.1.1 release tomorrow or the next

Oh, thank you! Awesome!


Fixes for restore --overwrite flag

Hi Dylan, Sorry I hadn't got around to testing the new --overwrite flag when this was merged.
The purpose of the flag is to allow more control over timing and table creation, and may be preferred in many circumstances where table schema has been defined by preexisting CLI script and/or cloudformation.
This is now tested and working. Here are some changes to support it.

Just published with 0.6.1


[Smart Wallet] ERC20Paymaster Generic Support

Problem solved
Short description of the bug fixed or feature added
Changes made

[ ] Public API changes: list the public API changes made if any
[ ] Internal API changes: explain the internal logic changes

How to test

[ ] Automated tests: link to unit test file
[ ] Manual tests: step by step instructions on how to test

Contributor NFT
Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.
Address:

PR-Codex overview
The focus of this PR is to implement ERC20 token approval for a paymaster in the Smart Wallet Connector.
Detailed summary

Added erc20PaymasterAddress and erc20TokenAddress to SmartWalletConfig.
Implemented isAccountApproved and approve methods in BaseAccountAPI.
Added ERC20 approval logic in SmartWalletConnector.
Added approving flag to track approval status.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

/release-pr

/release-pr

/release-pr

/release-pr

/release-pr


Background Indexing

It should not be required to build your project for sourcekit-lsp to index it.
While this is acknowledged elsewhere there isn't an issue mentioning it

Tracked in Apple’s issue tracker as rdar://118320444

Do we have any timeline for this feature? 🙏

Just want to share here that I’ve started the implementation of background indexing in https://github.com/apple/sourcekit-lsp/pull/1216. There is still more work do be done, so we don’t have a timeline about when background indexing will ship.

As a side note: I just filed issues for all the tasks that I know still need to be done for background indexing and am tracking them under the Background Indexing label

Status update: Let’s close this: https://github.com/apple/sourcekit-lsp/pull/1416 has a set-up guide that shows how to test background indexing as an experimental feature.

@ahoppen any chance to make it work with Xcode projects as well?


[Bug]: Select behaviour with duplicate values

Describe the bug
I have a use case where users select a state abbreviation and that maps to specific fine print that needs to be used for that state. Many times the states have similar fine print but some have very specific fine print. Users also don't need to know the specific fine print to be using, just the state who's fine print they want to use.
Affected component/components
Select
How to reproduce
Create a select component with multiple keys that have the same value.
Selecting one of those keys selects all of the keys with the same value.
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
"@radix-ui/react-select": "^2.0.0",

Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues

i dont understand it can you explain a little bit

It looks like duplicate of #2010 for me.

But that ticket is closed so I opened a new one since it hasn't been fixed yet.

Sure, as a said in the other issue, I believe the way the radix handle this is right, and is the expected behavior.
I really believe the better way to handle that is on your side, just making the values unique. It not mean that you need to make labels uniques.
Just map duplicated values to unique ones, and after user finish of filling it, map it again to original value that you want.
If it's no clear enough, let me know, so I can create an example of it.


Embed customization

Allow customizing the full embed maybe similar to how BanAnnouncer does it.
I can work on implementing this myself when i've got the time.

#3


Let user specify brand colors without doing a whole Bootstrap SCSS file

I like this. Really, just color pickers for the standard colors would be good:

$light
$dark
$primary
$secondary
$warning
$danger
$info
$success

At MLH we set a few other colors, but I can't remember why at the moment.


adds type safe iteratee-first-data-last array util partition

Coverage remained the same at 27.757% when pulling 7a74e5b86c14b5d0f586b781975e1168fc50f63f on theseyi:array-partition into 1ba61e2fa5ce872bb4c5bc9793824509b1907260 on linkedin:master.

Codecov Report

Merging #1274 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1274   +/-   ##
=======================================
  Coverage   12.44%   12.44%
=======================================
  Files          28       28
  Lines         643      643
  Branches      137      137
=======================================
  Hits           80       80
  Misses        563      563

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 1ba61e2...7a74e5b. Read the comment docs.


v2.0.0

[ ] drop support for IE8
[ ] cut v1.0.0 release for IE8+ support
[ ] cut v2.0.0-alpha for IE9+ support
[ ] upgrade Angular to v1.4.0

[ ] upgrade to jquery 2.0+
[ ] remove restrict: 'A' from directives if they can be used as elements
[ ] remove polyfill from index.html
[ ] remove polyfill copying from concat gulp task
[ ] remove polyfill bower dependencies
[ ] remove polyfills from docs


Fix typo in developer-tools.md

Fix typo in developer-tools.md

Good fix. And would you like to do more improvement in developer-tools.md for Chinese and English version as well? Like,

make all the usages to maven to build/mvn
align Spark version list from English version with Chinese version
@huangzhir

Thanks, merged to master.


(transifex) make a list of modules that invenioRDM - uses

(transifex) make a list of modules that invenioRDM - uses

invenio-access / invenio-access-messages
invenio-accounts / invenio-accounts-messages
invenio-admin / invenio-admin-messages
invenio-app /
invenio-app-rdm / (invenio-app-rdm-messages , invenio-app-rdm-messages-ui)
invenio-assets / invenio-assets-messages
invenio-base / invenio-base-messages
invenio-cache /
invenio-celery / invenio-celery-messages
invenio-communities / invenio-communities-messages
invenio-config /
invenio-db /
invenio-drafts-resources / invenio-drafts-resources-messages
invenio-files-rest / invenio-files-rest-messages
invenio-formatter / invenio-formatter-messages
invenio-i18n / invenio-i18n-messages
invenio-iiif /
invenio-indexer / invenio-indexer-messages
invenio-jsonschemas / invenio-jsonschemas-messages
invenio-logging / invenio-logging-messages
invenio-mail / invenio-mail-messages
invenio-oaiserver / invenio-oaiserver-messages
invenio-oauth2server / invenio-oauth2server-messages
invenio-oauthclient / invenio-oauthclient-messages
invenio-pidstore / invenio-pidstore-messages
invenio-previewer / invenio-previewer-messages
invenio-rdm-records / invenio-rdm-records-messages
invenio-records / invenio-records-messages
invenio-records-files / invenio-records-files-messages
invenio-records-permissions /
invenio-records-resources / invenio_records_resources-messages
invenio-records-rest / invenio-records-rest-messages
invenio-records-ui / invenio-records-ui-messages
invenio-rest / invenio-rest-messages
invenio-saml / invenio-saml-messages
invenio-search / invenio-search-messages
invenio-search-ui / (invenio-search-ui-messages , invenio-search-ui-messages-js)
invenio-theme / invenio-theme-messages
invenio-userprofiles / invenio-userprofiles-messages
invenio-vocabularies / invenio-vocabularies-messages
react-invenio-deposit / react-invenio-deposit-messages
react-invenio-forms /
react-searchkit /
marshmallow-utils / marshmallow-utils-messages
invenio-users-resources / invenio-users-resources-messages
invenio-requests / invenio-requests-messages

I guess this list is outdated.
As well as this one: https://github.com/inveniosoftware/invenio-app-rdm/issues/1664#issuecomment-1140816703
Notes: Some packages are using _ instead of - in transifex
@rekt-hard for the github-workflow an updated list is needed, right? Is this list part of this repo or any other? Could it be?
Maybe for each invenioRDM-release (v10, v11, v12) we can create such a list. Something like, grep through your recent Pipfile.lock for invenio. This will catch most of them, plus the three/four, non-standard ones as react-searchkit, marshmallow-utils where we need to take extra care for.
Let me know if I can help with that.

This was the issue for pulling the latest translations: https://github.com/inveniosoftware/invenio-i18n/issues/124 It includes references to PRs, which should have been all packages at that time.
We might have to check the usage of _  and - in the transifex config in each package with the respective package on transifex to make sure it is correct

I think I have somewhere a list wrt. _/- and I will recheck that.  But on my side this will need to wait until at least end of September.

create a github-action that triggers all packages to push/pull strings to/from transifex.
for each new major release we will need to update the list
for v12 you can orientate on #131


timeout waiting for initial target (until rebooting on CentOS)

Strange behavior on CentOS.
Chrome ver. google-chrome-stable-64.0.3282.167-1.x86_64.rpm
Chrome ver. google-chrome-stable-65.0.3325.146-1.x86_64.rpm
Given a slice of URLs, when iterating over in CentOS it stops and exits after getting through a few urls:
2018/03/13 14:02:58 -> {"method":"Page.loadEventFired","params":{"timestamp":166.822599}}
2018/03/13 14:03:08 context deadline exceeded
2018/03/13 14:03:08 DEBUG: TESTING URL: http://somehost/somepath
2018/03/13 14:03:08 could not perform (attributeModified) operation on node 674 (wait node): context deadline exceeded
2018/03/13 14:03:08 could not get current frame: context deadline exceeded

This error is strange because the timeout is set to 1min
	ctxt, cancel := context.WithTimeout(context.Background(), time.Minute)
	defer cancel()

but for some reason it times out after 10sec. The really strange part comes when I run the program again after this happens, the program fails to get past the first url, and this url was successfully processed in the previous run. However it does timeout after the full minute this time, but this is the continuous behavior until I reboot the box.
2018/03/13 14:10:20 <- {"id":14,"method":"DOM.getDocument","params":{"pierce":true}}
2018/03/13 14:10:20 -> {"id":14,"result":{"root":{"nodeId":20,"backendNodeId":16,"nodeType":9,"nodeName":"#document","localName":"","nodeValue":"","childNodeCount":2,"children":[{"nodeId":21,"parentId":20,"backendNodeId":28,"nodeType":10,"nodeName":"html","localName":"","nodeValue":"","publicId":"","systemId":""},{"nodeId":22,"parentId":20,"backendNodeId":29,"nodeType":1,"nodeName":"HTML","localName":"html","nodeValue":"","childNodeCount":2,"children":[{"nodeId":23,"parentId":22,"backendNodeId":30,"nodeType":1,"nodeName":"HEAD","localName":"head","nodeValue":"","childNodeCount":85,"attributes":[]},{"nodeId":24,"parentId":22,"backendNodeId":31,"nodeType":1,"nodeName":"BODY","localName":"body","nodeValue":"","childNodeCount":6,"attributes":["class","masterOBIEE HTMLBody"]}],"attributes":["dir","ltr","lang","en","style","visibility: visible;"],"frameId":"(14C06541BA0E652057566685EB01EEDE)"}],"documentURL":"http://someurl","baseURL":"http://someurl","xmlVersion":""}}}
2018/03/13 14:11:09 context deadline exceeded

I have tried clearing the /tmp dir, and even reinstalling/updating chrome but it will not run again until a reboot. This loop seems to repeat itself consistently. However this behavior is non existent on MacOS and the context and chromedp work flawlessly.
Any insight or suggestions would be useful. I'm going to try Ubuntu LTS next to see if this behavior or isolated to the version/build of chrome. On Mac I'm using Version 64.0.3282.186 (Official Build) (64-bit)

Very similar behavior on Ubuntu Xenial
2018/03/13 15:07:37 -> {"method":"Page.loadEventFired","params":{"timestamp":235.063494}}
2018/03/13 15:07:37 DEBUG: TESTING URL: http://someurl
2018/03/13 15:07:45 could not perform (childNodeCountUpdated) operation on node 879 (wait node): context deadline exceeded
2018/03/13 15:07:45 could not get current frame: context deadline exceeded

However this instance didn't run at all until a reboot occurred and after that the program doesn't seem to finish just like EL, but does not require a reboot to run again like CentOS 7.2 does.

CentOS 6 fails to run at all it seems
2018/03/13 20:52:36 Initialized...
2018/03/13 20:52:39 timeout waiting for initial target
2018/03/13 20:52:39 Completed Crawl 2018-03-13T20:52:39Z

I suppose this probably has something to do with chrome rather than chromedp, but I'm currently baffled.
CentOS release 6.9 (Final) google-chrome-stable.x86_64        65.0.3325.162-1              installed
here is a code sample
ctxt, cancel := context.WithTimeout(context.Background(), time.Minute)
	defer cancel()

	var options chromedp.Option
	options = chromedp.WithRunnerOptions(
		runner.Flag("headless", true),
		runner.Flag("disable-gpu", true),
		runner.Flag("no-first-run", true),
		runner.Flag("no-default-browser-check", true),
		runner.Flag("no-sandbox", true),
	)

	cdp, err := chromedp.New(ctxt, options, chromedp.WithLog(log.Printf))

So I figured this out by trying to run google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 --no-first-run --no-default-browser-check --no-sandbox http://www.chromestatus.com and troubleshooting the errors that followed... turns out my CentOS install was missing the following packages:

fontconfig
gnu-free-sans-fonts


Consider using node-sass 1.0.3

The current version of node-sass does not compile source-maps correctly, which is a result of a bug in libsass. Would it be beneficial to move to an earlier version of node-sass (which would compile against an earlier version of libsass) in order to have source-maps working properly?
The issue in particular is #113

@laurelnaiad it doesn't seem like test pass on your branch. The branch doesn't work in my project either (maybe because I'm using sourcemaps?)
/Users/aaronjensen/Source/gulp-sass/node_modules/tape/index.js:65
        throw err
              ^
TypeError: Cannot call method 'map' of undefined
    at opts.success (/Users/aaronjensen/Source/gulp-sass/index.js:54:43)
    at options.success (/Users/aaronjensen/Source/gulp-sass/node_modules/node-sass/lib/index.js:169:7)
npm ERR! Test failed.  See above for more details.

I'm not surprised the tests don't pass. I didn't make any effort to "finish the job" because node-sass version 2 is still beta.
That said, I'm using sourcemaps with my unfinished branch successfully (like so https://github.com/marklogic/marklogic-samplestack/blob/develop/browser/dev-tasks/build/buildSteps.js#L88).
I will take a look at the test situation., which may also yield something that doesn't trigger the problem you're having.
I suspect the issue is that node-sass api changed, and I allowed that change to flow throw to gulp-sass' api in the success callback. I did that intentionally because I had to either (a) go against the grain/direction node-sass is heading or (b) let flow. I went with the latter realizing it's a breaking change, and I didn't update the tests.
If we assume that this is the problem you're having, then I suppose now is a good time and this is a reasonable place to discuss which way gulp-sass should go.
You can get glimpses of node-sass' new api in the examples (https://github.com/sass/node-sass#examples) and in a comment made by https://github.com/sass/node-sass/issues/517#issuecomment-68089798
In my branch, the locus of the issue is at https://github.com/laurelnaiad/gulp-sass/blob/ea10b260c3165f1de7a5b151be1a42bde20f9920/index.js#L45
So -- and I'll /cc @dlmanning here-- which way to go? Allow the new node-sass api to flow through to gulp-sass success callback? Or hide it behind a tranformation of those arguments to match what gulp-sass does today?
For what it's worth, I stand by my election to allow the change to propagate, but I don't fundamentally care that much, and am happy enough to go either way. Might as well decide soon, as I think node-sass v2 release is probably imminent. libsass 3.1.0 just went live and I think that's one of the last things that node-sass folks were waiting for...
P.S. I am also curious as to whether, with the changes to node-sass sourcemaps' support, some of the gulp-sass sourcemaps code might be unwound... something tells me that there is now a step that is no longer needed being performed....

Ok, so one difference is that my project is using indented syntax. I had sourceComments: 'normal' and that errors, it also errors if change to indentedSyntax: true.

I think "normal" is the default, hence what I'm using.  indentedSyntax might be a node-sass v2 issue?
My prior comment was a bit under-informed, though. I don't think the API change I was referring to is the source of all of the problems, just one of them.
Most of the failing tests are due to an insignificant change in how node-sass is reporting errors.  However, there is more to the sourceMaps issues than I had realized. I'm playing with it now.

Well, I'm not sure, the error was in gulp-sass. I haven't had a chance to dig into it:
/Users/aaronjensen/Source/schools-program/node_modules/gulp-sass/index.js:54
        obj.map.sources = obj.map.sources.map(function(source) {
                                          ^
TypeError: Cannot call method 'map' of undefined
  at opts.success (/Users/aaronjensen/Source/schools-program/node_modules/gulp-sass/index.js:54:43)
  at options.success (/Users/aaronjensen/Source/schools-program/node_modules/gulp-sass/node_modules/node-sass/lib/index.js:169:7)

That one you mention is a relatively dumb bug of mine. I've got that one under control now.
The larger problem that remains as I toy with thisThe problems seem to center around this section, which has become notorious in my own world:
    if (opts.sourceComments === 'map' || opts.sourceComments === 'normal') {
      opts.sourceMap = opts.sourceMap || '';
      opts.file = file.path;
    } else {
      opts.data = file.contents.toString();
    }

I'm pretty sure the interaction between the gulp-sass and node-sass parameters has changed a bit. I'm monkeying with parameters right now trying to figure out what causes what.
Can anyone explain what value-add there is in the gulp-sourcemaps and vinyl-apply-sourcemaps plugins? If node-sass generates decent sourcemaps on its own (as I believe it does, at least in v2), then what are they doing for us? I ask this innocently, not as a rhetorical question.

Well, I know I use gulp-sourcemaps in order to deal w/ source maps across sass, autoprefixer and concat:
gulp.task('css', ->
  vendor = gulp.src([
    'node_modules/normalize.css/normalize.css'
  ])

  main = gulp.src(['app/assets/css/main.sass'])
    .pipe(plumbing(errorTitle: "Sass Error"))

    .pipe(env.ifDevelopment sourcemaps.init())
    .pipe(sass(indentedSyntax: true))
    .pipe(env.ifDevelopment sourcemaps.write(sourceRoot: '/'))

    .pipe(env.ifDevelopment sourcemaps.init(loadMaps: true))
    .pipe(autoprefixer())
    .pipe(env.ifDevelopment sourcemaps.write(sourceRoot: '/'))

  merge(vendor, main)
    .pipe(env.ifDevelopment sourcemaps.init(loadMaps: true))
    .pipe(concat("main.css"))
    .pipe(env.ifDevelopment sourcemaps.write('./'))

    .pipe(env.ifProduction minify())
    .pipe(env.ifProduction rev())

    .pipe(gulp.dest('public/css'))
    .pipe(filter('**/*.css'))
    .pipe(reload(stream: true))

    .pipe(env.ifProduction rev.manifest(path: 'manifest.json'))
    .pipe(env.ifProduction gulp.dest('public/css'))
)

Gotcha. Thanks.
I'm going to keep hammering on this a bit for a few minutes, It seems like I may be required to enable sourceComments in order to get sourcemaps generated, and I don't think this should really be necessary, so I'm not thrilled with my current situation.
The Steelers are coming on, though, so I need to get to that soon. :)

Yes, that’s how it was before. I don’t know why exactly either, but it was required previously.
Aaron
On Sat, Jan 3, 2015 at 5:08 PM, Daphne Maddox<EMAIL_ADDRESS>wrote:

Gotcha. Thanks.
I'm going to keep hammering on this a bit for a few minutes, It seems like I may be required to enable sourceComments in order to get sourcemaps generated, and I don't think this should really be necessary, so I'm not thrilled with my current situation.
The Steelers are coming on, though, so I need to get to that soon. :)
Reply to this email directly or view it on GitHub:
https://github.com/dlmanning/gulp-sass/issues/147#issuecomment-68616469

Commercial break. I think I'm making progress. I'm converting from a map-stream to an even-stream so I can add the sourcemap file manually. I think this may be part of the key to overcoming the need for sourceComments (I suspect their absence may be incompatible with the vinyl-apply-sourcemaps feature, or something like that).
Nothing certain yet, it's all still a bit murky given the various parameter combinations.

@laurelnaiad Thanks for all the work you're putting into figuring out node-sass 2.0. I haven't looked into it very much yet. If you could put a link to your branch/fork in this thread I'd love to see what you're doing.

Thanks, @dlmanning. My code is in flux atm. I will get it to a reasonably
steady state tonight and push what I have.
On Sat, Jan 3, 2015 at 6:12 PM, David Manning<EMAIL_ADDRESS>wrote:

@laurelnaiad https://github.com/laurelnaiad Thanks for all the work
you're putting into figuring out node-sass 2.0. I haven't looked into it
very much yet. If you could put a link to your branch/fork in this thread
I'd love to see what you're doing.
—
Reply to this email directly or view it on GitHub
https://github.com/dlmanning/gulp-sass/issues/147#issuecomment-68617855.


Cannot share TCPConnector between ClientSession objects

I'm using aiohttp as the basis for a Python 3.5-based load testing framework.  For various reasons (I can get into more detail if you need them), I'd like to limit the number of outbound open connections.
However, I'd like to have a distinct ClientSession object for each "client" in order for them to each have their own cookie jar, among other things.
I tried doing this by sharing a TCPConnector(limit=N) instance as the connector parameter for all my ClientSession instances.  There's nothing in the docs against this, so I thought I would try.
It works fine until one of the ClientSession objects is closed, at which point I get exceptions of this type:
File "...\lib\site-packages\aiohttp\client.py", line 537, in __aenter__
    self._resp = yield from self._coro
  File "...\lib\site-packages\aiohttp\client.py", line 151, in _request
    raise RuntimeError('Session is closed')
RuntimeError: Session is closed

It seems the ClientSession is closing the connector when it cleans up.  I'm guessing this is intended because it's the only clear cleanup point for the TCP connector.
I guess I could wrap the TCPConnector in my own context manager object that ignores the .close() call, but do you think it would be doable to change the API to support my use case?  If not, do you have another approach to recommend?
Thanks!

Yes, session was designed to exclusively own a connector.
If doc doesn't explicitly state this -- documentation patch is welcome.
The design decision was perfectly reasonable at time of ClientSession creation.
But now, after deletion of deprecated TCPConnector(shared_cookies=True) parameter a connector has no session information but connections only.
Thus now is possible to make a fix for sharing connector object between multiple sessions.
Personally I don't have a strong motivation for this patch but can consider a Pull Request.

After rethinking I've decided to close the issue.
The requested functionality is actually rare and can be implemented on top of aiohttp without the core source code changing.
Adding custom reference counting for connectors is not exciting addition.


feature(next-migration):  tastyyy starter

Loom Demo
https://www.loom.com/share/36af07c868dc404da93050c94d46e5e6

@boris-becomes ,  just hold on.  Let me push some commits. thanks

@boris-becomes  you can review now. Look forward to the a fast review like yesterday

Hey @siradji
Here are some things I found that should be fixed:

Footer nav styles missing
/legal page is breaking
Home Hero map, missing show/hide transitions on mobile ( most likely all fade transitions missing )
Home Ambience ( 1st grid item on desktop ) and Home Daily Specials ( last grid item on desktop ) should be smaller in height ( different aspect ratio which is applied by missing CSS )
About Us page, missing images from the bottom section ( image-text, text-image, image-text )

@boris-becomes , apologies stashed commits. Give me a minute

Just a side note, do you experience server crash when you run the project locally?

@siradji I don't. I only couldn't load the /legal page because something is broken around seo title... Do you have a screenshot of an error or something?

Maybe @Bbanez can help with the error?

@siradji I noticed there are still no fade transitions ( mainly for the Home Hero map ). And for the image-text text-image section on the About page, class that is applied on the <ContentManager should be applied on the first element inside that component ( which is a  ), and that will make it 50/50% in size and images will be visible... Can you fix that and I can approve the pull. Thanks!

@boris-becomes , thanks! Fingers crossed this should fix everything - transitions and the about page. Let me know what you think

Thanks @boris-becomes

@boris-becomes , is there a problem> why this isn't in?


Error in reading file!!! Download Content of Manifest

Hello, downloading the content of the following manifest, the following error is generated,
https://manifest.prod.boltdns.net/manifest/v1/dash/live-baseurl/bccenc/4880098471001/754fbb2f-832c-4658-b552-751f6bb7c878/6s/manifest.mpd?fastly_token=NWZmMmUyODFfMWNhYjQ0YzdlYjY1MDdjMjViOWFjNTBiNzYxYzc4NTkwODM0ZDQ1NzIzOGE3OGRmYjdiNmM1MDY4MjU4MWYxNA%3D%3D

Please, can you review the error, or tell me what is happening?
Thank you. A greeting.

You should check the logs and see what they say, I had a similar issue today with Optus because the base url was very different to the MPD url but once I identified the correct base url and used the --baseUrl "URL" command it worked :)
What site are you trying to use? That MPD doesn't download for me so I can't test.

You should check the logs and see what they say, I had a similar issue today with Optus because the base url was very different to the MPD url but once I identified the correct base url and used the --baseUrl "URL" command it worked :)
What site are you trying to use? That MPD doesn't download for me so I can't test.

Hello,
This is the error that is generated in the log. I am trying to download from the Filmin España platform and I have a subscription for it, so I have a username and password to access the service.
00:54:26.438 / (NORMAL) 读取文件信息...
00:54:26.441 / (NORMAL) Error in reading file
00:54:26.497 / (ERROR) DOWN: The remote server returned an error: (403) Forbidden. https://manifest.prod.boltdns.net/manifest/v1/dash/live-baseurl/bccenc/4880098471001/7b0948b3-da9b-4306-922e-25e1dbd958f3/6s/83ae9e61-9786-46fc-ace4-da7de0e41859/3x/segment119.m4f?
00:54:26.497 / (ERROR) DOWN: The remote server returned an error: (403) Forbidden. https://manifest.prod.boltdns.net/manifest/v1/dash/live-baseurl/bccenc/4880098471001/7b0948b3-da9b-4306-922e-25e1dbd958f3/6s/83ae9e61-9786-46fc-ace4-da7de0e41859/3x/segment178.m4f?
00:54:26.498 / (ERROR) DOWN: The remote server returned an error: (403) Forbidden. https://manifest.prod.boltdns.net/manifest/v1/dash/live-baseurl/bccenc/4880098471001/7b0948b3-da9b-4306-922e-25e1dbd958f3/6s/83ae9e61-9786-46fc-ace4-da7de0e41859/3x/segment60.m4f?
From a browser and with this link, I can download the mpd, but when I try to download the video and audio parts with the tool from the mpd itself locally, the same error is generated.
It has a solution?.
Thank you. A greeting.

Hello,
This is the error that is generated in the log. I am trying to download from the Filmin España platform and I have a subscription for it, so I have a username and password to access the service.
00:54:26.438 / (NORMAL) 读取文件信息...
00:54:26.441 / (NORMAL) Error in reading file
00:54:26.497 / (ERROR) DOWN: The remote server returned an error: (403) Forbidden. https://manifest.prod.boltdns.net/manifest/v1/dash/live-baseurl/bccenc/4880098471001/7b0948b3-da9b-4306-922e-25e1dbd958f3/6s/83ae9e61-9786-46fc-ace4-da7de0e41859/3x/segment119.m4f?
00:54:26.497 / (ERROR) DOWN: The remote server returned an error: (403) Forbidden. https://manifest.prod.boltdns.net/manifest/v1/dash/live-baseurl/bccenc/4880098471001/7b0948b3-da9b-4306-922e-25e1dbd958f3/6s/83ae9e61-9786-46fc-ace4-da7de0e41859/3x/segment178.m4f?
00:54:26.498 / (ERROR) DOWN: The remote server returned an error: (403) Forbidden. https://manifest.prod.boltdns.net/manifest/v1/dash/live-baseurl/bccenc/4880098471001/7b0948b3-da9b-4306-922e-25e1dbd958f3/6s/83ae9e61-9786-46fc-ace4-da7de0e41859/3x/segment60.m4f?
From a browser and with this link, I can download the mpd, but when I try to download the video and audio parts with the tool from the mpd itself locally, the same error is generated.
It has a solution?.
Thank you. A greeting.

I can't test without logging in unfortunately, but try opening the console with F12, filtering for mp4 (or m4f or whatever is relevant to this site) and when it finds something copy the url and check if the URL is the same as the manifest url from the logs, if not specify the correct base URL. If you have Discord you can always DM me there if I can help: Placebo#8409

I can't test without logging in unfortunately, but try opening the console with F12, filtering for mp4 (or m4f or whatever is relevant to this site) and when it finds something copy the url and check if the URL is the same as the manifest url from the logs, if not specify the correct base URL. If you have Discord you can always DM me there if I can help: Placebo#8409

Hello, indeed, the links of the m4f files were different from the mpd link, so I had to indicate the --baseUrl parameter and they have been downloaded correctly.
Thanks a lot. A greeting.

Hello, indeed, the links of the m4f files were different from the mpd link, so I had to indicate the --baseUrl parameter and they have been downloaded correctly.
Thanks a lot. A greeting.

Excellent well done for figuring it out! :)

Excellent well done for figuring it out! :)


Update AmazonSearchIndex for US Indices

This pull requests seeks to add enum values to AmazonSearchIndex to support searching all of the supported US search indices. I generated the list by turning the table in the Amazon documentation into a CSV file, extracting the "Search index" column, and sorting it. I then merged it with the existing enum by hand.
Relevant documentation: https://docs.aws.amazon.com/AWSECommerceService/latest/DG/LocaleUS.html
To test it, I published the nuget package to a local repository on disk and used it in my project.
Please advise if any edits are appropriate.
This PR partially resolves issue #74. The remaining part of that issue is a little confusing because from what I have seen, the browse node API uses long which has a max value of: 9,223,372,036,854,775,807
Source:
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/long

Thank for the update

Thanks!


Previous No longer maintained note had extra content

Previous No longer maintained note had extra content for some reason.

@csmoore - could you review and merge?  Thanks!


No DOID nodes connected with treats edges?

It's possible I'm misunderstanding some recent changes to KG2 or the biolink model here but when I run the following query in the KG 2.6.7 neo4j:
match (n:`biolink:Disease`)-[r:`biolink:treats`]-(m) where n.id starts with 'DOID' return distinct n.id limit 50

I get (no changes, no records)
Why don't we have any doid nodes connected by treats edges?

It looks like there's a limited number of predicates on edges that link to a DOID node. This is from KG2.7.0's Neo4j:
match (n)-[r]-(m) where n.id starts with 'DOID' return r.predicate, r.relation, r.provided_by, count(distinct r) order by count(distinct r) desc

r.predicate
r.relation
r.provided_by
count(distinct r)

"biolink:gene_associated_with_condition"
"JensenLab:associated_with"
["JensenLab:"]
718330

"biolink:same_as"
"MONDO:equivalentTo"
["OBO:mondo.owl"]
18000

"biolink:close_match"
"oboFormat:xref"
["OBO:mondo.owl"]
15118

"biolink:related_to"
"REACT:linked_to_disease"
["identifiers_org_registry:reactome"]
14991

"biolink:subclass_of"
"rdfs:subClassOf"
["OBO:doid.owl"]
13421

"biolink:close_match"
"oboFormat:xref"
["EFO:efo.owl"]
5207

"biolink:contributes_to"
"IDO:0000664"
["OBO:doid.owl"]
2351

"biolink:close_match"
"oboFormat:xref"
["OBO:doid.owl"]
1239

"biolink:has_phenotype"
"OBO:doid#has_symptom"
["OBO:doid.owl"]
848

"biolink:located_in"
"RO:0001025"
["OBO:doid.owl"]
628

"biolink:derives_from"
"OBO:doid#derives_from"
["OBO:doid.owl"]
373

"biolink:causes"
"RO:0004019"
["OBO:doid.owl"]
253

"biolink:subclass_of"
"rdfs:subClassOf"
["OBO:doid.owl", "OBO:genepio.owl"]
241

"biolink:has_phenotype"
"RO:0002200"
["OBO:doid.owl"]
183

"biolink:contributes_to"
"RO:0003304"
["OBO:doid.owl"]
181

"biolink:causes"
"RO:0001022"
["OBO:doid.owl"]
124

"biolink:related_to"
"RO:0002451"
["OBO:doid.owl"]
74

"biolink:close_match"
"oboFormat:xref"
["umls_source:HPO"]
33

"biolink:subclass_of"
"rdfs:subClassOf"
["OBO:genepio.owl"]
19

"biolink:subclass_of"
"rdfs:subClassOf"
["EFO:efo.owl"]
16

"biolink:coexists_with"
"SO:has_origin"
["OBO:doid.owl"]
3

"biolink:has_participant"
"RO:has_participant"
["EFO:efo.owl"]
2

"biolink:coexists_with"
"RO:0002220"
["OBO:doid.owl"]
2

"biolink:located_in"
"EFO:0000784"
["EFO:efo.owl"]
1

"biolink:related_to"
"IAO:0000136"
["EFO:efo.owl"]
1

"biolink:related_to"
"OBI:0001927"
["OBO:genepio.owl"]
1

Filtering out those not from DOID:

r.predicate
r.relation
r.provided_by
count(distinct r)

"biolink:subclass_of"
"rdfs:subClassOf"
["OBO:doid.owl"]
13421

"biolink:contributes_to"
"IDO:0000664"
["OBO:doid.owl"]
2351

"biolink:close_match"
"oboFormat:xref"
["OBO:doid.owl"]
1239

"biolink:has_phenotype"
"OBO:doid#has_symptom"
["OBO:doid.owl"]
848

"biolink:located_in"
"RO:0001025"
["OBO:doid.owl"]
628

"biolink:derives_from"
"OBO:doid#derives_from"
["OBO:doid.owl"]
373

"biolink:causes"
"RO:0004019"
["OBO:doid.owl"]
253

"biolink:subclass_of"
"rdfs:subClassOf"
["OBO:doid.owl", "OBO:genepio.owl"]
241

"biolink:has_phenotype"
"RO:0002200"
["OBO:doid.owl"]
183

"biolink:contributes_to"
"RO:0003304"
["OBO:doid.owl"]
181

"biolink:causes"
"RO:0001022"
["OBO:doid.owl"]
124

"biolink:related_to"
"RO:0002451"
["OBO:doid.owl"]
74

"biolink:coexists_with"
"SO:has_origin"
["OBO:doid.owl"]
3

"biolink:coexists_with"
"RO:0002220"
["OBO:doid.owl"]
2

As to why we don't have DOID biolink:treats edges, I'm still looking into that.

Below are the relation IRIs present in DOID:

http://purl.obolibrary.org/obo/IDO_0000664
http://purl.obolibrary.org/obo/RO_0002220
http://purl.obolibrary.org/obo/doid#complicated_by
http://purl.obolibrary.org/obo/doid#composed_of
http://purl.obolibrary.org/obo/doid#derives_from
http://purl.obolibrary.org/obo/doid#has_symptom
http://purl.obolibrary.org/obo/doid#inheres_in
http://purl.obolibrary.org/obo/doid#is_a
http://purl.obolibrary.org/obo/doid#occurs_with
http://purl.obolibrary.org/obo/doid#part_of
http://purl.obolibrary.org/obo/doid#realized_by
http://purl.obolibrary.org/obo/doid#realized_by_supression_with
http://purl.obolibrary.org/obo/doid#results_in
http://purl.obolibrary.org/obo/doid#results_in_formation_of


Test failure for test_ssl_new due to expired certificates

This had me scratching my head for a long time: we build openssl 1.1.1k daily for three different architectures, x86, aarch64 and darwin, and on June 1, 2022, they all started to fail, with a test failure for test_ssl_new.
I know you'd like me to provide configuration details, etc., and I'll be happy to provide them if still necessary after the following analysis, which I think points to the root cause:

Since the failure was identical across all three platforms, and absolutely nothing in the build had changed on our side in ages, I started to suspect something to do with the date, and sure enough, setting the clock back to any time such that the test finished running before June 1 2022 00:00:00 UTC resulted in passing tests/build.
After learning about and using the verbosity flag for test runs, I isolated the failure to the sub-test using test/ssl-tests/12-ct.conf.  The error was significant: ... SSL routines:ssl3_read_bytes:sslv3 alert certificate expired.
I then discovered that 12-ct.conf.in has six tests, out of which four use canned (test) certificates.  When I commented out these four (and adjusted the checked-in 12-ct.conf accordingly), the entire suite started passing.
This led me to believe that that the certs in question for these four tests, test/certs/embeddedSCTs1.pem and test/certs/embeddedSCTs1_issuer.pem, are probably set to expire after June 1 2022 00:00:00 UTC.
To verify, I tried the following:

$ openssl x509 -text < embeddedSCTs1.pem | grep 2022
            Not After : Jun  1 00:00:00 2022 GMT
$ openssl x509 -text < embeddedSCTs1_issuer.pem | grep 2022
            Not After : Jun  1 00:00:00 2022 GMT

Now, I can't be 100% certain that the expired certs are indeed what are causing the test failures, but it certainly looks that way.  If this is indeed the case, can we have valid replacement certs for these, so that the tests/builds pass?  Thank you.

Guess that this is fixed by #18446 and is a duplicate of #15179

I'll keep this open for now so we do not get more duplicates.

Thanks for the fast response.

Guessing that this is fixed by #18446 and is a duplicate of #15179

Yes, the fix works fine ... thanks for the very quick turnaround!

I have downloaded branch 1.1.1 with the merged fix and unfortunately run into more tests failures with the test summary below.

    "../test/recipes/80-test_cmsapi.t ................... ok",
    "../test/recipes/80-test_ct.t ....................... ",
    "Dubious, test returned 1 (wstat 256, 0x100)",
    "Failed 1/1 subtests ",
    "../test/recipes/80-test_dane.t ..................... ok",

    "../test/recipes/90-test_secmem.t ................... ok",
    "../test/recipes/90-test_shlibload.t ................ ",
    "Dubious, test returned 9 (wstat 2304, 0x900)",
    "Failed 9/10 subtests ",
    "../test/recipes/90-test_srp.t ...................... ok",

    "",
    "Test Summary Report",
    "-------------------",
    "../test/recipes/80-test_ct.t                     (Wstat: 256 Tests: 1 Failed: 1)",
    "  Failed test:  1",
    "  Non-zero exit status: 1",
    "../test/recipes/90-test_shlibload.t              (Wstat: 2304 Tests: 10 Failed: 9)",
    "  Failed tests:  1-9",
    "  Non-zero exit status: 9",
    "Files=158, Tests=2643, 71 wallclock secs ( 1.02 usr  0.12 sys + 61.67 cusr  8.46 csys = 71.27 CPU)",
    "Result: FAIL",
    "make[1]: Leaving directory '/u02/openssl/src'"

Release date for 3.0.4/1.1.1p has been set as 21st June 2022.

@t8m has this been resolved and can this issue be closed?

Yeah, now that there were releases where the certificates are renewed, I think we can close this.


Update plugin to latest Gradle standards

@REPLicated I was looking for a simple solution (before I build one myself) that scans a classpath for duplicates. Yours is exactly what I was looking for. I think something like this should be used by much more projects.
I found a few things to update to make it follow latest Gradle standards and make it compatible with the new Configuration Cache feature. Would you be interested in integrating this and release a new version?
Background
I am doing a series of videos about the Classpath and related concepts in Gradle (first part here) and need something like this there soon. And I maintain a GitHub project where I show how latest Gradle features may be used to get rid of dependency chaos - there I would also like to add this plugin (or something similar).
About the changes in this PR:

Current Gradle version is now 7.5.1
Minimal supported version is now 6.6
The Task can now be cached (if Build Cache is active)
The Task is now compatible with the Configuration Cache

Note: 6.6+ is needed tow write tasks as abstract classes with abstract getters.
The build now uses the Kotlin DSL so that the embedded-kotlin plugin can be used to compile/run against the Kotlin version embedded in Gradle (this is not supported in Groovy DSL right now).

Thank you @REPLicated for integrating this and releasing a new version!

@REPLicated just want to let you know that I show the plugin in the video in case you ever want to use that: https://youtu.be/KocTqF0hO_8


Add semver check

Adding an analysis tool that checks and maybe also corrects immediately whether the version number of the dependencies in the packages.json is fixed.

:tada: This issue has been resolved in version 4.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Feature - Sample data is now generated with relevant Interview Slots

Feature - Sample data is now generated with relevant Interview Slots
Key Summary

Now, whenever Sample Data is needed, it will be generated with Interview Slots that are relevant to the actual LocalDateTime.now() of the local machine.

Other Things to Note

This will not affect the normal operation of the application.
Similar to before, the generation of Sample Data is only triggered if an existing internapplymemory.json is not detected in the data folder.

Changes Made to the Code
No new classes were created.
Existing classes that were modified:
1. SampleDataUtil.java

SampleDataUtil#getSampleApplications() will now identify the actual local date time at the time of execution using LocalDateTime.now(). The Interview Slots of the Sample Applications are then generated using that local date time after it has been formatted correctly.

Feedback that I would like
If you can test the feature for me that would be great.
Also, let me know if you think we should have this update or not.
Ready for review @joszx @laughingkid-sg @yongler @tanyutao544 (anyone will do)
Implements #129

Codecov Report

Merging #130 (238da35) into master (1f8048b) will decrease coverage by 0.25%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #130      +/-   ##
============================================
- Coverage     67.57%   67.32%   -0.26%
  Complexity      450      450
============================================
  Files            83       83
  Lines          1573     1579       +6
  Branches        176      176
============================================
  Hits           1063     1063
- Misses          448      454       +6
  Partials         62       62

Impacted Files
Coverage Δ

.../java/seedu/address/model/util/SampleDataUtil.java
15.00% <0.00%> (-6.43%)
:arrow_down:

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 1f8048b...238da35. Read the comment docs.

Please do not merge this PR yet
Additional changes to be made

The Sample Applications generated can still be more cohesive to serve as better examples in specific use cases of of our software.

These changes will be made ASAP


Fixed.

Fixed.

Fixed my mistake.

how did you fix it

ImGui::SliderFloat(XorStr("Slider Name"), C::Getstd::vector(Vars.vecValues), nIndex, 0.f, 1.f, "%.1f");

Yeah, i did it like this and its working but i have next problem with my aimbot, in other base this working fine but in this its get that result: https://www.unknowncheats.me/forum/counterstrike-global-offensive/431037-aimbot-aim-target.html


Revert "Add apache alias"

Reverts highlightjs/highlight.js#1751
The change is unnecessary since the file name works as the main language name. Aliases only hold additional names.
/cc @ldct

ack! sorry for that!

There's a lot of these undocumented gotchas, unfortunately…


Issue converting into yolov4-416.tflite

I am having an issue converting TF model into TF lite.
Running this command works perfectly: # Save tf model for tflite converting
python save_model.py --weights ./data/yolov4.weights --output ./checkpoints/yolov4-416 --input_size 416 --model yolov4 --framework tflite
but when I attempt to run
python convert_tflite.py --weights ./checkpoints/yolov4-416 --output ./checkpoints/yolov4-416.tflite
I am met with an error
pi@raspberrypi:~/tensorflow-yolov4-tflite $ python convert_tflite.py --weights ./checkpoints/yolov4-416 --output ./checkpoints/yolov4-416.tflite
2020-10-30 10:52:33.151754: I tensorflow/core/grappler/devices.cc:78] Number of eligible GPUs (core count >= 8, compute capability >= 0.0): 0 (Note: TensorFlow was not compiled with CUDA or ROCm support)
2020-10-30 10:52:33.152102: I tensorflow/core/grappler/clusters/single_machine.cc:356] Starting new session
2020-10-30 10:52:34.898127: I tensorflow/core/grappler/optimizers/meta_optimizer.cc:816] Optimization results for grappler item: graph_to_optimize
2020-10-30 10:52:34.898261: I tensorflow/core/grappler/optimizers/meta_optimizer.cc:818]   function_optimizer: Graph size after: 2777 nodes (2232), 2811 edges (2265), time = 356.29ms.
2020-10-30 10:52:34.898333: I tensorflow/core/grappler/optimizers/meta_optimizer.cc:818]   function_optimizer: function_optimizer did nothing. time = 4.518ms.
Traceback (most recent call last):
File "convert_tflite.py", line 76, in
app.run(main)
File "/usr/local/lib/python3.7/dist-packages/absl/app.py", line 303, in run
_run_main(main, args)
File "/usr/local/lib/python3.7/dist-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
File "convert_tflite.py", line 71, in main
save_tflite()
File "convert_tflite.py", line 45, in save_tflite
tflite_model = converter.convert()
File "/usr/local/lib/python3.7/dist-packages/tensorflow/lite/python/lite.py", line 1076, in convert
return super(TFLiteConverterV2, self).convert()
File "/usr/local/lib/python3.7/dist-packages/tensorflow/lite/python/lite.py", line 878, in convert
self._funcs[0], lower_control_flow=False))
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/convert_to_constants.py", line 1109, in convert_variables_to_constants_v2_as_graph
converted_input_indices)
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/convert_to_constants.py", line 1001, in _construct_concrete_function
new_output_names)
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/wrap_function.py", line 650, in function_from_graph_def
wrapped_import = wrap_function(_imports_graph_def, [])
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/wrap_function.py", line 628, in wrap_function
collections={}),
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/func_graph.py", line 986, in func_graph_from_py_func
func_outputs = python_func(*func_args, **func_kwargs)
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/wrap_function.py", line 87, in call
return self.call_with_variable_creator_scope(self._fn)(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/wrap_function.py", line 93, in wrapped
return fn(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/wrap_function.py", line 648, in _imports_graph_def
importer.import_graph_def(graph_def, name="")
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/importer.py", line 405, in import_graph_def
producer_op_list=producer_op_list)
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/importer.py", line 494, in _import_graph_def_internal
with c_api_util.tf_buffer(graph_def.SerializeToString()) as serialized:
File "/usr/local/lib/python3.7/dist-packages/google/protobuf/internal/python_message.py", line 1097, in SerializeToString
return self.SerializePartialToString(**kwargs)
File "/usr/local/lib/python3.7/dist-packages/google/protobuf/internal/python_message.py", line 1106, in SerializePartialToString
self._InternalSerialize(out.write, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/google/protobuf/internal/python_message.py", line 1126, in InternalSerialize
field_descriptor._encoder(write_bytes, field_value, deterministic)
File "/usr/local/lib/python3.7/dist-packages/google/protobuf/internal/encoder.py", line 763, in EncodeRepeatedField
element._InternalSerialize(write, deterministic)
File "/usr/local/lib/python3.7/dist-packages/google/protobuf/internal/python_message.py", line 1126, in InternalSerialize
field_descriptor._encoder(write_bytes, field_value, deterministic)
File "/usr/local/lib/python3.7/dist-packages/google/protobuf/internal/encoder.py", line 828, in EncodeField
encode_message(write, entry_msg, deterministic)
File "/usr/local/lib/python3.7/dist-packages/google/protobuf/internal/encoder.py", line 769, in EncodeField
return value._InternalSerialize(write, deterministic)
File "/usr/local/lib/python3.7/dist-packages/google/protobuf/internal/python_message.py", line 1123, in InternalSerialize
write_bytes, self.value, deterministic)
File "/usr/local/lib/python3.7/dist-packages/google/protobuf/internal/encoder.py", line 769, in EncodeField
return value._InternalSerialize(write, deterministic)
File "/usr/local/lib/python3.7/dist-packages/google/protobuf/internal/python_message.py", line 1126, in InternalSerialize
field_descriptor._encoder(write_bytes, field_value, deterministic)
File "/usr/local/lib/python3.7/dist-packages/google/protobuf/internal/encoder.py", line 769, in EncodeField
return value._InternalSerialize(write, deterministic)
File "/usr/local/lib/python3.7/dist-packages/google/protobuf/internal/python_message.py", line 1126, in InternalSerialize
field_descriptor._encoder(write_bytes, field_value, deterministic)
File "/usr/local/lib/python3.7/dist-packages/google/protobuf/internal/encoder.py", line 727, in EncodeField
return write(value)
MemoryError
I am trying to convert it on Raspberry Pi 4 , 4GB
And I am following a video guide on : https://youtu.be/iPwepy-SVCQ?t=973
Thank you

that is the same error i got..... any help

I am having the same issue as well, did anyone find out any way out of it?


E2EE group voice call

End to end encrypted group voice call could be implemented in both Android and iOS Mixin Messenger apps.
For performance and security consideration, we should use an SFU and TURN to proxy the traffic, while still ensure full E2EE.
WebRTC library has the feature called insertable streams https://www.chromestatus.com/feature/6321945865879552 to make this happen.

@crossle please add more info, maybe we don't need to use the insertable streams, because I remember there is more mature interfaces, e.g. FrameEncryptorInterface?

Insertable streams only for browser, native app should use FrameEncryptorInterface.

https://webrtc.googlesource.com/src/+/master/api/rtp_transceiver_interface.h
We should use only one PeerConnection for the group voice call, each participant has a transceiver, and according to the transceiver interface, we can set a FrameEncryptorInterface for each transceiver.
Every device has a sender key for e2ee chat messages, we can use this key in the FrameEncryptorInterface. And since we could decrypt the signal messages with sender key, we are sure that we have the sender key in advance of the transceiver.

https://github.com/MixinNetwork/ios-app/commit/cc689e97fe00f1850797ec44009fd9b14a154a47


thunderbird*: 102.1.2 -> 102.2.0

https://www.thunderbird.net/en-US/thunderbird/102.2.0/releasenotes/
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Now I finished the build.  They both start up for me, at least.


Help with best practice using router param and router routes

I currently have a few router routes
router.route('/invite/token/:inviteToken')
    .get(function (req, res) {
      res.status(200).json(req.invite);
    });

router.route('/invite/:inviteId')
    .get(function (req, res) {
      res.status(200).json(req.invite);
    });

And the following simple router params:
router.param('inviteToken', function (req, res, next, inviteToken) {
  console.log('inviteToken');
  // populate req.invite
  next();
});

router.param('inviteId', function (req, res, next, inviteId) {
  console.log('inviteId');
  // populate req.invite
  next();
});

However when I try to fetch an invite by token the inviteId param handler is always triggered first with the literal value "token". Is there an issue with the way I've set up the routes and params?

It should only be triggered if your path is GET /invite/token. If you think you definitely have more on your URL after /token, then that's weird. Can you post the exact version of Express you are using, and combine those those code snips into a complete file I can run? It's possible there may be some issue with how you are combining things, yes.

I can confirm the issue was on my end. I created a stripped down version of my issue and it ran just as expected. The problem was in one of my own middleware helpers. Appreciate the help.


Error  is coming

Class 'Nahid\Talk\TalkServiceProvider' not found. pls help me

please give me proper error message with screenshot

i have implement the chat functionality in project but when i send message to another user than message will not show but when we reload the page the message will show correct. so i want to slove this problem pls help me.

My guess is that the error message is below because I have it too on L5.5, PHP 7.1:
    "message": "Call to undefined method Vinkla\\Pusher\\Facades\\Pusher::trigger()",
    "exception": "Symfony\\Component\\Debug\\Exception\\FatalThrowableError",
    "file": "C:\\xampp\\htdocs\\opt\\vendor\\nahid\\talk\\src\\Live\\Webcast.php",
    "line": 50,

Ok ,found the problem. In Broadcast.php you should use:
use Pusher\Pusher;

instead of
use Pusher;

Thats it. And also make sure you use the right Cluster in your config.


bibutils: 6.5 -> 6.6

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/bibutils/versions.
These checks were done:

built on NixOS
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/bib2xml passed the binary check.
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/biblatex2xml passed the binary check.
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/copac2xml passed the binary check.
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/ebi2xml passed the binary check.
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/end2xml passed the binary check.
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/endx2xml passed the binary check.
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/isi2xml passed the binary check.
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/med2xml passed the binary check.
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/nbib2xml passed the binary check.
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/ris2xml passed the binary check.
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/wordbib2xml passed the binary check.
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/xml2ads passed the binary check.
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/xml2bib passed the binary check.
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/xml2end passed the binary check.
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/xml2isi passed the binary check.
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/xml2nbib passed the binary check.
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/xml2ris passed the binary check.
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/xml2wordbib passed the binary check.
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/bibdiff passed the binary check.
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/modsclean passed the binary check.
20 of 20 passed binary check by having a zero exit code.
0 of 20 passed binary check by having the new version present in output.
found 6.6 with grep in /nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6
directory tree listing: https://gist.github.com/3a779d6dd9bb4b17e28c713a106492c9
du listing: https://gist.github.com/e1caec4eaf587621af829c3ac70b5e05

meta.description for bibutils is: '"Bibliography format interconversion"'.
cc @garrison for testing.
This build is cached with Cachix. To use the cache follow these instructions:
One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 255e92a2fa1b2ee6803c8b137bfce6c50eef608f && nix-shell --pure -I nixpkgs=. -p bibutils

Success on aarch64-linux (full log)
Attempted: bibutils
Partial log (click to expand)
shrinking /nix/store/g109xjx6cfniic37w1j1ixcik46fcrr2-bibutils-6.6/bin/ebi2xml
shrinking /nix/store/g109xjx6cfniic37w1j1ixcik46fcrr2-bibutils-6.6/bin/copac2xml
shrinking /nix/store/g109xjx6cfniic37w1j1ixcik46fcrr2-bibutils-6.6/bin/biblatex2xml
shrinking /nix/store/g109xjx6cfniic37w1j1ixcik46fcrr2-bibutils-6.6/bin/bib2xml
shrinking /nix/store/g109xjx6cfniic37w1j1ixcik46fcrr2-bibutils-6.6/lib/libbibutils.so.6.6
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/g109xjx6cfniic37w1j1ixcik46fcrr2-bibutils-6.6/lib  /nix/store/g109xjx6cfniic37w1j1ixcik46fcrr2-bibutils-6.6/bin
patching script interpreter paths in /nix/store/g109xjx6cfniic37w1j1ixcik46fcrr2-bibutils-6.6
checking for references to /build in /nix/store/g109xjx6cfniic37w1j1ixcik46fcrr2-bibutils-6.6...
/nix/store/g109xjx6cfniic37w1j1ixcik46fcrr2-bibutils-6.6

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: bibutils
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: bibutils
Partial log (click to expand)
shrinking /nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/med2xml
shrinking /nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/copac2xml
shrinking /nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/xml2isi
shrinking /nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/ebi2xml
shrinking /nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin/nbib2xml
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/lib  /nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6/bin
patching script interpreter paths in /nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6
checking for references to /build in /nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6...
/nix/store/r30wckh6l8mskavjisn9ai663yzgjs8d-bibutils-6.6


tox version consistency check fails

Thanks for developing this package!
I'm experiencing an issue when I do
git clone github.com/karlotness/adrt
cd adrt
pip install .
tox

I get the following error:
checkver: commands[1]> .tox/checkver/bin/python tools/version_consistency.py
Traceback (most recent call last):
  File "/mnt/home/fagocs/adrt/tools/version_consistency.py", line 230, in <module>
    var_version = find_package_version("src/adrt/__init__.py")
  File "/mnt/home/fagocs/adrt/tools/version_consistency.py", line 116, in find_package_version
    ver_str = ast.literal_eval(match.group("ver"))
  File "/mnt/sw/nix/store/yqdbin1s849dd3n2p1hppkiqn6b64c34-python-3.9.12-view/lib/python3.9/ast.py", line 62, in literal_eval
    node_or_string = parse(node_or_string, mode='eval')
  File "/mnt/sw/nix/store/yqdbin1s849dd3n2p1hppkiqn6b64c34-python-3.9.12-view/lib/python3.9/ast.py", line 50, in parse
    return compile(source, filename, mode, flags,
  File "<unknown>", line 1
    "1.0.1.dev"
IndentationError: unexpected indent
checkver: exit 1 (0.41 seconds) /mnt/home/fagocs/adrt> .tox/checkver/bin/python tools/version_consistency.py pid=3443432
checkver: FAIL ✖ in 1.91 seconds

I'm using

Python 3.9.12 (and whatever ast version this comes with)
tox 4.4.5
adrt 1.0.1dev
(numpy 1.24.2)

Thanks for the report, I did manage to reproduce the same issue with Python 3.9.16. I guess I had mostly been running that script on 3.10 and hadn't seen that issue.
I think it should be fixed now on the joss branch, if you're able to give that a try. If the issue is still there, please let me know and I'll dig into it some more.

Thanks, it works now on the joss branch!

Great, glad to hear it. Thanks again for the report!


Don't hardcode target strings

This should help get cargo fuzz working on other systems, such as
aarch64-unknown-linux-gnu, without having to always pass --target

@alexcrichton do you need a new release with this?

Nah not urgent, just got annoyed typing --target so often and figured I'd send a PR


Service 'Disable Hibernation' not being saved

Bug description:
When I enable Disable Hibernation on an specific service (tried on several) the setting is reset to disabled after Ferdi is restarted.

Steps to reproduce:

Open Ferdi
Enable Disable Hibernation for a service
Close Ferdi
Open Ferdi again
The Disable Hibernation for the service is disabled again.

Expected behavior

The setting should be kept after a restart.
Screenshots

Environment:

Operating System: Debian 10, Ubuntu 20.04
Ferdi Version: 5.5.0 (x64)
Server: Ferdi

Duplicate of #715. The bug has now been fixed - this fix will be released with the next version of Ferdi.


Ubuntu 22.04 Problem [libssl]

Hello, amazing project!
I tried locally and got the following error:

For me the default is libssl3, and for security reasons I sticking to it. Do you have some info about? Is something that you saw before? Need some help?
UPDATE: Building locally, runs fine! The executable provided by the install command is probably targeting some old debian, ubuntu (?) with outdated libssl.
Thx!

Yeah will fix this problem. This is problem only exists in 0.1.20 use 0.1.19 until it's fixed.
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/frectonz/sql-studio/releases/download/0.1.19/sql-studio-installer.sh | sh

Fixed in 0.1.21


Define attributes without a selector if the page has an scope defined

Sometimes is handy to create a page or component and be able to define child attributes without setting a selector. For example:
<div class="modal">
  <!-- modal content -->
</div>

let page = PageObject.build({
  modal: component({
    scope: '.modal',

    isVisible: isVisible(),
    isHidden: isHidden(),
    isError: hasClass('error')
  })
});

In this case, the attributes isVisible, isHidden and isError validate properties on the .modal element.
Right now this works but is not officially supported, so we need to create tests and documentations for this behavior.
As an added bonus, this definition can be improved using the new ES6 object literal shorthand assignments:
let page = PageObject.build({
  modal: component({
    scope: '.modal',

    isVisible,
    isHidden,
    isError: hasClass('error')
  })
});

Nice, what is component(..) in this context?

@knownasilya it refers to: https://github.com/san650/ember-cli-page-object/blob/master/DOCUMENTATION.md#component :)

Nice, that's new since previously it was just a POJO, right?

Actually es the other way round, on the first versions of the addon, you had to specify components explicitly. In the latest versions, if you use a POJO, the addon will automatically convert it into a PagehObject object (so the PageObject definition is less bulky).

Good to know. Thanks.


Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash"

This is especially important for distributions like NixOS where /bin/bash doesn't exist, or for MacOS users who've installed a newer version of Bash than the one that comes with their OS.
- What I did
Swapped #!/bin/bash for #!/usr/bin/env bash.
- How I did it
I used grep + sed, then manually verified each change as I added it.
- How to verify it
Run the scripts and make sure bash is still invoked? :smile:
- Description for the changelog

Updated shell script shebangs to use /usr/bin/env bash instead of hard-coding /bin/bash

- A picture of a cute animal (not mandatory but encouraged)

As discussed with @vdemeester over in https://github.com/docker/docker/pull/29864#discussion_r100864359. :+1:
cc @albers

@tianon :heart: for the pic!
I didn't know about /usr/bin/env before.
As far as bash completion is concerned, the hash bang has no effect because the completion scripts get sourced. So :+1: from me.

@tianon : could I see your command use "grep + sed".


drawerImage size

I want to override the drawer image in the navBar.
Expected behaviour
An image gets automatically resized.
Actual behaviour
The image does not render if the image is larger than the default image, which is very small.
When using a small image, the icon is shown correctly.
Steps to reproduce

Use an image of 700x700 pixels.
<Scene key='main' drawerImage={require('../images/menu-icon.png')} />
Drawer image is not rendered

I'm having the same issue

I can't get this reproduced. Can you give me an example of your full root component?

I have the same issue when trying to change the drawerImage

Do it like this:
drawerImage={{uri: 'menu', height: 20, width: 20, resizeMode:'stretch', color: 'white'}}

Probably its not working in my case.


[Proposal] make servicetopology filter work properly when service or nodepool

What type of PR is this?

/kind feature

What this PR does / why we need it:
A new edge node may add to an existed nodepool, or an old edge node may remove from the nodepool. And users may modify the topology configuration in service annotations, like removing openyurt.io/topologyKeys or changing topology configuration from openyurt.io/nodepool to kubernetes.io/hostname.
For the above scenarios, servicetopology filter in yurthub can't work properly when service or nodepool change. So this PR will fix that.
Which issue(s) this PR fixes:

Fixes https://github.com/openyurtio/openyurt/issues/871
Special notes for your reviewer:

/assign @rambohe-ch
Does this PR introduce a user-facing change?

NONE

other Note

@LinFCai Thank you for posting the proposal. would you be able to share this proposal in the community meeting on the next Wednesday?

@LinFCai Thank you for posting the proposal. would you be able to share this proposal in the community meeting on the next Wednesday?

Yes, I would like to share this proposal

/lgtm
/approve


[FEAT] Newsletter Subscription

Description
Implement a feature that allows users to subscribe to the boilersplate's newsletter.
Acceptance Criteria
Subsription Endpoint
User Subscription [POST] /api/v1/newsletter/subscribe

Registration:

Given a request with valid detail (email) when the user subscribes, the system should create an entry of the users email into the newsletter table. On successful, return a 201 created status code.

Email Validation:

When given an invalid email address format, the user system should return a 400 Bad Request status with the appropriate error message.

Unique Email:

If a newsletter subscription already exists for the submitted email, the system should return a 400 bad request error status with an appropriate error message.

Confirmation Email

On successful subcription, the system sends a confirmation email to the provided email address.

Email Personalization

Implement email lookup to get the firstname of subcribers, for a more personalized newsletter email.

Expected Outcome
Request
[POST] /api/v1/newsletter/subscribe
{
  "email"<EMAIL_ADDRESS>}

Successful Response
{
    "statusCode": 201,
    "message": "Subscription successful. Please check your email to confirm your subscription.",
    "subscriber": {
        "email": "String",
        "subscribedAt": "DateTime"
        }
}

Error Response
{
  "message": "Invalid email format",
  "statusCode": 400
}

{
  "message": "Email address already subscribed",
  "statusCode": 400
}

Testing:
Unit Test
* Test for successful subscription with a valid email address
* Test for subscription attempt with an invalid email format
* Test for subscription attempt with an already subscribed email
* Test that a confirmation email is sent on successful subscription

this seems like a duplicate, check that it is not

It's a duplicate. We are already working on it. Issue #82


Hide keyboard on swipe down in BlueBubblesTextField

No content

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @Intellijence in #alpha-testers.

Done. my beta branch

Done. my beta branch


⚠ Bofrost.at has degraded performance

In 59b7d8a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1543 ms

Resolved: Bofrost.at performance has improved in f8b82e2 after 6 minutes.


[Fix #10436] Fix an error for Style/SoleNestedConditional raises exception when inspecting if ... end if ...

Fixes https://github.com/rubocop/rubocop/issues/10436.
This PR fixes an error for Style/SoleNestedConditional when code like the following:
if foo
  do_something
end if bar

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

I updated this PR. Thanks a lot!

Nice! Thank you for the fixing!


bug: padding overflow grid/list icons

System: Android
Browser: Brave

The problem must have been solved in one of the PRs merged this afternoon (I don't know which one) because it's gone now.


References to ICD-10 are failing to validate.

Describe the bug
For ICD-10 coding the url  http://hl7.org/fhir/sid/icd-10 is not recognizing codes and failing validation using the HL7 org validator.
It appears however that http://hl7.org/fhir/sid/icd-10-cm does recognize the codes.  On an intermediate basis switch all ICD-10 lookup to http://hl7.org/fhir/sid/icd-10-cm
To Reproduce
Run the following HL7
MSH|^~\&|PROSLOV|MARKHAM_STOUFFVILE_HOSPITAL|WHIA|IBM_WATSON_IMAGING|20170110064000|security|PPR^PC1^PPR_PC1|MSGPROBLEMLIST100003|P^I|2.6
PID|||1234^^^^MR||DOE^JANE^|||F||||||||||||||||||||||
PV1||I
PRB|AD|20170110074000|K80.00^Cholelithiasis^I10|53956|E1|1|20100907175347|20150907175347|20170310074000||||C^Confirmed^Confirmation Status List|resolved|20170310074000|20170102074000|textual representation of the time when the problem began|1^primary|ME^Medium|0.4|marginal|good|marginal|marginal|highly sensitive|some prb detail|
PRB|AD|20170110074000|N39.0^Urinary Tract Infection^I9|53957|E2|1|20090907175347|20150907175347||||||||||||||||||
PRB|AD|20170110074000|C56.9^Ovarian Cancer^I10|53958|E3|2|20110907175347|20160907175347||||||||||||||||||
NTE|1|P|Problem ADDED

It fails with these ERRORS
"severity" : "error",
"code" : "code-invalid",
"details" : {
"text" : "The code "K80.00" is not valid in the system http://hl7.org/fhir/sid/icd-10; The code provided (http://hl7.org/fhir/sid/icd-10#K80.00) is not valid in the value set 'All codes known to the system' (from http://tx.fhir.org/r4) for 'http://hl7.org/fhir/sid/icd-10#K80.00'"

"severity" : "error",
"code" : "code-invalid",
"details" : {
"text" : "The code "C56.9" is not valid in the system http://hl7.org/fhir/sid/icd-10; The code provided (http://hl7.org/fhir/sid/icd-10#C56.9) is not valid in the value set 'All codes known to the system' (from http://tx.fhir.org/r4) for 'http://hl7.org/fhir/sid/icd-10#C56.9'"

Expected behavior
Output should validate in the HL7 FHIR Validator

This problem has been posted as issue 593 to the Validator at HAPIFHIR.org:

The solution, anticipated to be temporary, is using http://hl7.org/fhir/sid/icd-10-cm as the system.

In Release 1.0.11