Is it possible to use the live watch to monitor rtos

Is it possible to use the live watch method to monitor rtos？

Yes and no. It takes more than a second each time we query for an RTOS because we do it with many GDB transactions. This is why we print how long it took for the last query so you know how expensive it is.
But maybe update once a second or two perhaps You may have to disable certain things like looking for stack peaks which makes it even less useful.
You should use a professional/commercial tool that can monitor events either via instrumentation or via the trace port. They have proprietary HW, FW and SW to do all of that.

We can bypass gdb and do raw reads and reconstruct data structures in our extension. We can probably gin 70% runtime. It will be very error prone and we have to do it for so many RTOSes.
If I think it will give me an order-of-magnitude performance, I would do that. But I don't think I will get that. The RTOS data structures are scattered all over your memory

Maybe something like RTT trace（a professional/commercial tool） is better instead of live watch, if live watch is so slow

Cortex-Debug RTT is just as fast as others. If you use a good HW probe like JLink. Cortex-Debug already supports RTT and sometimes better than even JLink if you use it with OpenOCD. You can even graph with it.
You are confusing live-watch with rtos-views. RTOS views are super expensive. We are talking of looking at dozens of variables are data structures. Live-watch only looks at what you ask.

I personally use Segger SystemView when i want a detailed Live View of the RTOS.
You only need to keep in mind that i does influence the runtime (also depending on the granularity you do use trace for tracing).

Yes, Segger, IAR, Lauterbach, uVision and even Percepio. Percepio is the odd one in this bunch because it requires instrumentation, but can run over RTT.

In fact, I tried Percepio, the only problem is that I can't use a debugger such as jlink at the same time as cortex debug


Set Accessibility Label for iOS Unrecognized

Description
React Native application for iOS has accessibility values naturally on text views for application, despite having no settings for this in app. These default to whatever the text view contains.
Android application has no accessibility values for anything (as expected).
Adding a accessible flag and a label in code in pages for an item provides an accessibility label for Android, but makes no changes to presumably "default" labels on iOS.
Accessibility labels/IDs are verified via both Appium (iOS/Android) and the Accessibility Inspector (iOS).
Reproduction Steps and Sample Code
Setting the below on a text element
accessible={true} accessibilityLabel={'User\'s Name'}

Android's "accessibility ID" from Appium: "User's Name"
iOS's "accessibility ID" from Appium: TASSL TESTER (inner text view content)
iOS's "accessibility value" from Accessibility Inspector: TASSL TESTER

No label listed

Additional Information

React Native version: 0.39.2
Platform: iOS
Development Operating System: MacOS
Dev tools: Xcode 8.0, iOS 10, iPhone 7, Appium 1.0.0, Accessibility Inspector 5.0

@mwalla210 Just a thought - Try putting the accessibility tags on a <View>  tag that wraps your text element. The <Text> element in iOS may just be funky, and not like the accessibility tags.

Does your actual code look like this:
<TextInput multiline={true} accessible={true} accessibilityLabel={'User\'s Name'} />

?
Could you please provide more full/complete fragment of your code?

Yes, that is what I've attempted. That's what the code looked like. This has occurred for both <View> items and a variety of others.
My current workaround is using accessible={true} accessibilityLabel={'User\'s Name'} testID={'User\'s Name'} which does set the "accessibility ID" according to Appium & the "Title" value for the Accessibility Inspector (on Mac).

Yeah... My actual question was (should be): Do you experience this problem with many regular <View> or only with some specific views, such as multiline <TextInput>?

Many regular views. I don't actually think I've attempted with any multiline s.

So, your actual concern is: accessibility* just do NOT work on iOS at all? (Or sometimes?)
Could you please provide minimal project or fragment of code which can illustrate the problem?
Could you also please test your code on latest version (or even better on master) of RN?

Going back to replicate this issue, I am unable to do so and will assume the problem was negligence on my part. Thanks for your assistance.

I see a similar issue with <Text> on iOS: the actual label of the text always overrides the testID and accessibilityLabel. So I have no way of retrieving a <Text> by accessibilityId.
The repro is very simple: Just edit the default app produced by react-native init and edit index.ios.js. Find the "Welcome to React Native" text. Change it to:
<Text testID={'welcome'} accessibilityLabel={'welcome'}>Welcome to React Native!</Text>

Expected: The Accessibility Inspector should say the Label is  welcome.
Actual: The Accessibility Inspector says the Label is Welcome to React Native!.
Is this by design? If so, then what is the recommended way of locating a <Text/> in end-to-end tests?
Note: - with the same set of properties on Android the contentDescription is welcome which is what I expect.

@curioustechizen No, I believe this is not intentional and wrong. Seems the problem was introduced in e9db0338d27b2d4c11505262d53dc5d26a41fade.
Do you mind create another issue (With something like "accessibilityLabel does not work for " in title) and assign it to me?
Thank you!

@shergin Opened #14123 . I think I don't have the rights to assign it to you though.


403 - Forbidden resource - while pulling build

I am trying simple quick docker compose installation and simple java code to try out VRT with java. Though I am giving all correct inputs as api key token, project id, branch name  I am getting 405 forbidden resource error while visualRegressionTracker.start(); call
Installation:
IVR installed with default docker compose command.
sdk-java version: 5.2.1
Java code:
VisualRegressionTrackerConfig config = new VisualRegressionTrackerConfig(
                // apiUrl - URL where backend is running
                "http://localhost:4200",
                // project - Project name or ID
                "9502d386-eb40-4841-a79a-0eb2ae160cd8",
                // apiKey - User apiKey
                "XXXXXXXXXXXXXXXXXXXXX",
                // branch - Current git branch
                "qa",
                // ciBuildId - id of the build in CI system
                "commit_sha",
                // enableSoftAssert - Log errors instead of exceptions
                false,
                // httpTimeoutInSeconds - define http socket timeout in seconds (default 10s)
                15
        );

        VisualRegressionTracker visualRegressionTracker = new VisualRegressionTracker(config);
        visualRegressionTracker.start();

Exception:
Exception in thread "main" io.visual_regression_tracker.sdk_java.TestRunException: {"path":"/builds","name":"ForbiddenException","message":"You do not have permission to perform this operation.","exception":{"response":{"message":"Forbidden resource","error":"Forbidden","statusCode":403},"status":403,"options":{},"message":"Forbidden resource","name":"ForbiddenException"},"stack":"ForbiddenException: Forbidden resource\n    at canActivateFn (/node_modules/@nestjs/core/router/router-execution-context.js:136:23)\n    at async /node_modules/@nestjs/core/router/router-execution-context.js:42:31\n    at async /node_modules/@nestjs/core/router/router-proxy.js:9:17"}
	at io.visual_regression_tracker.sdk_java.VisualRegressionTracker.handleResponse(VisualRegressionTracker.java:172)
	at io.visual_regression_tracker.sdk_java.VisualRegressionTracker.start(VisualRegressionTracker.java:54)

I tried http://localhost:4200/api (swagger API interface) I observed it needs bearer token. I was unsure on how to get bearer token (could not find documentation) so I took it from Authorization header after browser login. with this bearer token Swagger api works fine.
As per my understanding we do not need bearer token to be given in java code as we only need backend api token. Please give us some information here. If i need to give bearer token in java code , how to I generate it and how I am suppose to pass it? Any example/ docs would be appreciated.

@vikasthange make sure you are using API key of user with at least Editor permission
you could grant permissions with Admin role
default user is first admin by default


Temporarily disable tests that access public Google cloud storage buckets

Until #47 is fixed

Not needed since #54 fixes the issue.


docs.rs claims that bevy_state 0.14.0 (+ 0.14.0-rc.4) depends on a yanked dependency

Bevy version
0.14.0
What you did
Went to https://docs.rs/crate/bevy_state/0.14.0 to try to view the documentation for bevy_state.
What went wrong
The documentation cannot be built because bevy_state 0.14.0 depends on a yanked dependency.
Additional information
Build log:
Build #1281410
# pre-build errors
the crate depends on yanked dependencies

Stack backtrace:
0: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
1: docs_rs::docbuilder::rustwide_builder::RustwideBuilder::build_package
2: prometheus::histogram::Histogram::observe_closure_duration
3: docs_rs::build_queue::BuildQueue::build_next_queue_package
4: docs_rs::utils::queue_builder::queue_builder
5: cratesfyi::CommandLine::handle_args
6: cratesfyi::main
7: std::sys_common::backtrace::__rust_begin_short_backtrace
8: std::rt::lang_start::{{closure}}
9: std::rt::lang_start_internal
10: main
11: __libc_start_main
at /build/glibc-uZu3wS/glibc-2.27/csu/../csu/libc-start.c:310
12: _start

No additional information is provided by docs.rs, so I have no additional information to report here except for a screenshot of the page:

Updated title to reflect that this is came from docs.rs. I tried checking if I could replicate it, but I'm getting permission denied errors from pkg-config under WSL and I don't have a native Linux install to test with.

Same with bevy_asset: https://docs.rs/crate/bevy_asset/0.14.0

fixed in docs.rs after a rebuild: https://github.com/rust-lang/docs.rs/issues/2556


TOTP based multi-factor authentication

Feature request
Is your feature request related to a problem? Please describe.
There is currently no built-in solution for providing TOTP based multi-factor authentication to the user if they want to. Currently only email is an auth option that can be considered a multi-factor authentication.
Describe the solution you'd like
Authelia might be worth a look
Describe alternatives you've considered
One can always implement their own solution.
Additional context
I was looking for solutions for 2fa and found Authelia. But unlike gotrue, it doesn't support OAuth Providers yet (it's on their roadmap). As for gotrue, Netlify has added support for 2fa to their (gotrue based) Identity service but no info when (or if) that would be added to gotrue itself.

closing as duplicate of https://github.com/supabase/gotrue/issues/14


Will not work against an Octoprint instance on port 80

Seems that when you set the octoprint API port to port 80, the Touch screen becomes unresponsive.  This is just a symptom.  The real issue seems to be related to the connection creation on port 80. Other ports seem to work fine such as the default 5000 for an octoprint install.

Might actually be an issue with the API calls going through haproxy.  Seems that any port used that goes through HAP will cause this issue.

I verified that this issue is related to comms through the Haproxy.  So the good new is that this is not that big an issue. To work with this, you need to use the standard port on Octoprint 5000.  It may on some setups require that you change the Ip that the Otoprint service is hosted on to be <IP_ADDRESS> so that both haproxy can do its thing and the Pendant can access the API on port 5000 directly.


stream_settings: Convert name to pills.

Description:
In the create stream UI and in stream , user/bot names have been transformed from plain links to pills. Additionally, names are now displayed as pills in Members tables for both new and existing groups in /#groups.
Handling of long names has been addressed to ensure reasonable presentation, especially on narrow screens. Long names are now appropriately abbreviated with "..." when necessary.
To display  avatar of user src key is added in respective files.
Fixes:  #25724
Screenshots and screen captures:
Input pills:

Dark Input Pill
Light Input Pill

Stream settings:

Dark Create stream Preview
Light Create Stream Preview

Dark Stream Preview
Light Stream Preview

Group settings:

Dark Create user group Preview
Light Create User group Preview

Dark User group Preview
Light User group Preview

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[ ] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

Please provide feedback on my PR.

Thanks! Something seems to be off with the styling here -- there's a double border around each pill, and the hover behavior doesn't look right. Please take a look at https://github.com/zulip/zulip/pull/24308 for reference.

We should also limit pill width more -- this does not look great.

Please be sure to post updated screenshots of your changes, including hover behavior. It is much easier to review screenshots than videos.

Thanks @alya for feedback. I have made changes according to your feedback kindly review it :)

Thanks! I'm still not sure these look quite right, but maybe it would be helpful for @sahil839 to take a look at this point. I think the names are being abbreviated a bit too aggressively now.

i have made all the changes except that last one ( whether to use user_pill.append_user approach or not ) i once decided i will push the changes to github.

Can you check what the user experience feels like when loading this page with a few thousand users? Use manage.py populate_db --help to see how to create thousands of users in a development environment.
(We might want to exclude the avatars from the pills if it is really slow... or decide to abandon the project entirely)

@timabbott  Apologies for late response due to my exams.  I have tested it for 1500 and 2000 users
After conducting thorough testing with 2000 users, this is what I feel.

When testing with avatars enabled and simulating slow 3G with disabled cache, the user experience was not as optimal as expected. Users reported delays in loading avatars, requiring them to wait for 2-3 seconds avatar to load before being able to scroll further. This resulted in a less-than-ideal browsing experience.

To address this issue, I conducted a second round of testing where avatars were disabled, and only pills were displayed. With the same network conditions (slow 3G and disabled cache), the browsing experience improved significantly. Users were able to scroll smoothly without any delays or waiting time, leading to a faster and more seamless interaction with the platform.

with avatar:
https://github.com/zulip/zulip/assets/73663475/ded278b4-8f5d-4931-afbd-41b1150b2932
without avatar:
https://github.com/zulip/zulip/assets/73663475/5f31137b-315b-4806-866a-5666432c2400

I think it might be fine to include avatars if scrolling itself works, but you don't see the avatar until the file loads. Are you saying that you literally cannot scroll further until the avatars load, or something else?

Are you saying that you literally cannot scroll further until the avatars load, or something else?

No, Initially, it takes around 6-7 seconds for the first few user pill's avatars to load, but gradually, as I continue scrolling, it reduces to 2-3 seconds. However, regardless of whether the avatars load or not, I can scroll smoothly without any issues.

OK I think that's good enough that we can try testing on chat.zulip.org and see how we feel about it there.

Including in today's chat.zulip.org deployment.

So I've tested this and it works about as well as one could hope. I am still not sure about the trade-offs here; just typing alex filter and scrolling through all the matching users on chat.zulip.org does fetch 2 MB worth of avatars (it's a few hundred users)... But the experience is not particularly bad seeing pills without the avatar.
@alya can you play with this on chat.zulip.org and specify if you think this is a net improvement?

I haven't been seeing loading delays on my wifi, at least.

@timabbott  Just wanted to gently remind you about the pending PR review.

Thanks for the ping; I think we decided we're happy with the UX of this during the chat.zulip.org testing, and I've tagged it for integration review.

@sujalshah-bit overall this looks reasonable; posted one comment near the top on whether we can use the shared input_pill.hbs template; it may be the answer is no, but in that case we should make a new shared user_display_only_pill.hbs at least for the two places that you have.
Further, can you apply the same change to "group settings" in an added commit for this PR? Those two panels should work consistently.

@timabbott I've added a comment above explaining why I opted for an alternative method of passing parameters in the user_display_only_pill template instead of the input_pill. Additionally, I have made it more generic, I've included the following lines:
{{~#if should_add_guest_user_indicator}} <i>({{t 'guest'}})</i>{{~/if~}}
{{~#if deactivated}} ({{t 'deactivated'}}){{~/if~}}
{{~#if has_status~}}
{{~> status_emoji status_emoji_info~}}

These lines contribute to making the template more generic and adaptable.

@sujalshah-bit Are you planning to address the other part of @timabbott 's comment?

Further, can you apply the same change to "group settings" in an added commit for this PR? Those two panels should work consistently.

thanks for all the feedbacks, I would love to work on that follow-up issue.

This seems plausible but I'm confused about whether this implements what we decided: https://chat.zulip.org/#narrow/stream/101-design/topic/right.20panel.20reload.20in.20stream.20settings/near/1754222

I didn't understand your point properly can you explain a bit more?
regarding the right panel bug fix you mentioned in the CZO I wasn't aware of this conversation, would you like me to incorporate that into the this PR? Or is there something else you had in mind?

Oh, I posted that comment on the wrong PR, sorry for the confusion. Let me try to merge this one.

Merged, thanks @sujalshah-bit!


Reconsider turning control flow expressions (return, break, continue) into statements

ATM return, break, and continue are expressions, same like in Rust. This allows them to be used in arbitrary expressions leading to code constructs like the following to be perfectly valid:
let _ = [break, continue];
let _ = (return, return);
return return break;
return 1 + return 2;

It also allows code like the following, that can be seen as useful:
fn f() -> u64 {
    let a = Some(1);
    if a.is_some() || return 2 {
        <some code>
    }
    1
}

However, arguably it can be easily turned into more readable form:
fn f() -> u64 {
    let a = Some(1);
    if a.is_some() {
        <some code>
    } else {
        return 2;
    }
    1
}

Additional argument for having them as expressions is keeping the language "orthogonal". We can return early from any expression with revert for example or end a loop with break/continue anywhere in an expression.
The question is, is it beneficial for Sway to have control flow elements as expressions, and if we want to stay at this design. Note that current design is a deliberate decision made in #2561.
Related to #5282.
Related to #5414.

This relies on all statements being either declarations or expressions, and in particular on control flow statements being expressions that return ().

This is also how I see it. I don't see how we can have return as a statement and keep the expression-first design in which blocks, ifs, matches, etc. are expressions.
E.g. as long as block is an expression (and we want to keep it as such) programmers will always be able to write the nonsensical examples shown above by simply wrapping control flow statements in blocks and thus having controls flow potentially embedded in any expression. E.g.:
let _ = [{ return 1; },  { return 1; }];

Therefore I am also for staying at the current design and making sure we generate expected code and dead code warnings in such cases.

With #5562 we will introduce the proper bottom type and have divergence properly treated on the type system level. Also, we are staying at break, continue, and return being expressions.


fix: items not updated when itemCount changed

fix: items not updated when itemCount changed

Pull Request Test Coverage Report for Build 909432163

0 of 7 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.05%) to 5.774%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/useVirtual.ts
0
7
0.0%

Totals

Change from base Build 909226466:
0.05%

Covered Lines:
17

Relevant Lines:
258

💛  - Coveralls


Add-on not working

I just tried this add-on on my android TV box and it does not open at all so is the something major wrong at the moment?

I havent worked on this addon in quite a while, But if you need a alternative until Mathsgrinds fixes it, You can checkout my Addon Sylvr (Google it 👍 )

Hi reni, the problem was caused by Irish TV, it seems their website is down and thus the programme crashed when trying to scrape the page for the url. That has been fixed now, the update will be online shortly. Thanks for the heads up.
Stephen.

I just did an update this morning and someone else who noted the problem said it is fixed. So, I'll close this.


Register Julia Package

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/39306
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.1 -m "<description of version>" 4ca4d7eb8c6980fd4919c3539a0e57a4d6d567d9
git push origin v0.1.1

Also, note the warning: This looks like a new registration that registers version 0.1.1.
Ideally, you should register an initial release with 0.0.1, 0.1.0 or 1.0.0 version numbers
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

@JuliaRegistrator register

Registration pull request updated: JuliaRegistries/General/39306
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.1 -m "<description of version>" a747f256fc91657f00aba66b19eb96d49aad32bc
git push origin v0.1.1

Also, note the warning: This looks like a new registration that registers version 0.1.1.
Ideally, you should register an initial release with 0.0.1, 0.1.0 or 1.0.0 version numbers
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.


Set empty REPO_MIRROR_URLS for macos

Context
This is a follow-up of https://github.com/gradle/gradle/pull/10824#discussion_r326988751 discussion.

Thanks @wolfs !


[BUG]:

How are you running AnythingLLM?
Docker (local)
What happened?
The API endpoint /api/v1/document/raw-text cannot save titles containing Chinese characters.

docker image: mintplexlabs/anythingllm:latest (cb62a3c82ff0c66739e71c7eddb8be4abad6d4e76146c7c778dc2c2d8194582e)
Are there known steps to reproduce?
1, create a API  KEY
2,  send post  request to endpoint /api/v1/document/raw-text with curl
curl --location 'localhost:3001/api/v1/document/raw-text' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer PZT2TS9-AF2MPFR-JZ637WK-40HV8WP' \
--data '{
  "textContent": "测试中文内容.",
  "metadata": {
    "title": "测试中文内容.txt",
    "etc": "测试中文内容",
    "docAuthor":"测试中文内容",
    "docSource":"测试中文内容",
    "description":"测试中文内容"
  }
}'

https://github.com/Mintplex-Labs/anything-llm/issues/2474


Publish EASEY Design System to Github Pages

Need a static site that the easey design system storybook can be publish to Github pages

completed via other tickets


Add maxWriteReplicationIndex and syncUntil in Database

Database::maxWriteReplicationIndex can be used by the client to keep track of the lowest replication index that guarantees seeing all the writes done by this client. Database::syncUntil can be then used to sync the embedded replica at least to the replication index given by the client.
That way a client can:
Do a bunch of operations on one embedded replica
Fetch the max write replication index I
Run syncUntil with a given replication index I on a different embedded replica and be sure that they see all the operations they've done on the first embedded replica.

Should we also bump version in package.json?

done


Copy balance directives is limited to 751 lines?

Is there a limit on the number of lines for the "copy balance directives" in the Statistics page? I'm seeing 751 lines, but the remaining don't make it through. This used to work before.
One more weird thing: the "Click to copy" in the tooltip hows up for several accounts, but does not show up for accounts towards the bottom of the table that have the same status (eg: yellow, and no-gray).

One more weird thing: the "Click to copy" in the tooltip hows up for several accounts, but does not show up for accounts towards the bottom of the table that have the same status (eg:  yellow, and no-gray).

I'm not able to reproduce this issue reliably. I'll try a few more times, and if I can't reproduce it in the next few days, I'll close this out.

The issue is definitely appears frequently (80% of the time). Mentioning it in case you see it while using it.

This seems to be due to a limitation on the title attribute of DOM-elements, where we copy this text from:
http://stackoverflow.com/a/29869137
I will move it to a data- attribute, where there should be no limit:
http://stackoverflow.com/a/26898881

@redstreet Can you try if b2ffc5e fixes the length-limitation-issue?

I keep getting npm errors for any git package it tries to install when I run make build-js. It doesn't seem related to changes, it happens on older commits which installed fine earlier. So it's not directly related to this thread, but since I don't know much about npm, I thought I'd ask if this makes any sense to you?
npm ERR! git clone git://github.com/github:globegitter/chartist-plugin-tooltip Cloning into bare repository '/home/user/.npm/_git-remotes/git-github-com-github-globegitter-chartist-plugin-tooltip-ac5c9df5'...
npm ERR! git clone git://github.com/github:globegitter/chartist-plugin-tooltip fatal: remote error:
npm ERR! git clone git://github.com/github:globegitter/chartist-plugin-tooltip   github:globegitter/chartist-plugin-tooltip is not a valid repository name

Are you running an old version of npm by chance?

Are you running an old version of npm by chance?

Yes, that was the problem, thanks!
However, b2ffc5e doesn't seem to solve the issue. If there's anything I can do to help debug, do let me know.

I'm seeing 751 lines, but the remaining don't make it through.

So you have more than 751 accounts, is that correct?

I believe it's fewer accounts, but the total number of balance directive lines exceeds 751 because of multiple commodities in in some accounts.

Is this something that happens in all browsers? Can you provide a beancount file to reproduce the problem?

The same thing happens on Chrome and IE11, both under Windows. 805 lines are being copied currently.
I'll try to provide a beancount file, but this might be difficult as I'd have to reproduce the problem from the example file. It might be a while before I can get around to it. Though it would be nice to get to the bottom of this, this is not a big deal. Thanks for looking into it!

@redstreet Any chance for a test-file? 😇

Sure, I'll look tonight or tomorrow to see if I can produce a test file.

So I'm unable to produce a test file easily. The issue doesn't occur when the number of balance directives is less than 700, and still occurs when it is 1100 in version 0.2.6. However, I tried a test file with 1100 commodity lots in the same account, and that works fine (all 1100 lines are copied). So something else is causing the issue to occur, and I don't know what that is.
Since this is a pain to reproduce, you could either simply close this, and I'll reopen it if I figure out a test case I can share, or if you come up with automated tests for uptodate indication that might make it easier to reproduce. Thanks for keeping this open so far!

OK, thanks @redstreet! I'll close this for now, but please report back if this persists and you can come up with a test/testfile.


solaar: TypeError: Argument 1 does not allow None as a value

Describe the bug
Solaar crashes with the following error:
Traceback (most recent call last):
  File "/nix/store/48hgb7x5q46xi0vgyach2p8cqirr7c3n-solaar-1.0.2/lib/python3.8/site-packages/solaar/ui/__init__.py", line 143, in <lambda>
    application.connect('startup', lambda app, startup_hook:_startup(app,startup_hook,use_tray,show_window), startup_hook)
  File "/nix/store/48hgb7x5q46xi0vgyach2p8cqirr7c3n-solaar-1.0.2/lib/python3.8/site-packages/solaar/ui/__init__.py", line 101, in _startup
    window.init(show_window, use_tray)
  File "/nix/store/48hgb7x5q46xi0vgyach2p8cqirr7c3n-solaar-1.0.2/lib/python3.8/site-packages/solaar/ui/window.py", line 744, in init
    Gtk.Window.set_default_icon_from_file(_icons.icon_file(NAME.lower()))
TypeError: Argument 0 does not allow None as a value
Traceback (most recent call last):
  File "/nix/store/48hgb7x5q46xi0vgyach2p8cqirr7c3n-solaar-1.0.2/lib/python3.8/site-packages/solaar/ui/__init__.py", line 112, in _activate
    app.add_window(window._window)
TypeError: Argument 1 does not allow None as a value

Notify maintainers
@spinus @ysndr

@suhr thanks for report, I can reproduce it. I'll try to find some time to investigate, it looks like it cannot find an icon?

@suhr can you elaborate how you run this?
I was able to reproduce the issue with nix-shell --pure, but when I install in the system with nix-env -iA it works. It's something with xdg and icons discovery and I wasn't able to fix this, probably some specific XDG variable or desktop environment variable must be set to properly discover icons.

Yes, it seems like it was indeed the problem with icons. Installing KDE fixes the issue even without using it.

The wiki has a small section on this: https://nixos.wiki/wiki/Development_environment_with_nix-shell#Icons_not_working
But on a side note @spinus. The package is out of date 😄

@legendofmiracles thanks. Locally I updated to latest version and it didn't change much.
If I have a sec I'll try debug little more.

Same error, here's the output i get when running solaar --window=show
(.solaar-wrapped:56467): Gtk-WARNING **: 12:56:34.032: Could not find the icon 'solaar-init-ltr'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
	http://icon-theme.freedesktop.org/releases

(.solaar-wrapped:56467): Gtk-WARNING **: 12:56:34.041: Found an icon but could not load it. Most likely gdk-pixbuf does not provide SVG support.
Traceback (most recent call last):
  File "/nix/store/mwjwlr3bdqcbggxmqqgnp7x25sqqznjm-solaar-1.0.2/lib/python3.8/site-packages/solaar/ui/__init__.py", line 143, in <lambda>
    application.connect('startup', lambda app, startup_hook:_startup(app,startup_hook,use_tray,show_window), startup_hook)
  File "/nix/store/mwjwlr3bdqcbggxmqqgnp7x25sqqznjm-solaar-1.0.2/lib/python3.8/site-packages/solaar/ui/__init__.py", line 101, in _startup
    window.init(show_window, use_tray)
  File "/nix/store/mwjwlr3bdqcbggxmqqgnp7x25sqqznjm-solaar-1.0.2/lib/python3.8/site-packages/solaar/ui/window.py", line 744, in init
    Gtk.Window.set_default_icon_from_file(_icons.icon_file(NAME.lower()))
TypeError: Argument 0 does not allow None as a value
Traceback (most recent call last):
  File "/nix/store/mwjwlr3bdqcbggxmqqgnp7x25sqqznjm-solaar-1.0.2/lib/python3.8/site-packages/solaar/ui/__init__.py", line 112, in _activate
    app.add_window(window._window)
TypeError: Argument 1 does not allow None as a value

I'm running i3 as my desktop environment
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.32, NixOS, 21.05pre287001.39e6bf76474 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.10`
 - channels(root): `"nixos-21.05pre287001.39e6bf76474"`
 - channels(aszen): `"nixos-21.05pre283256.b2f2d04f01b"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

same problem with solaar + i3.
@spinus how you investigation progress?
solaar:116186): Gtk-WARNING **: 20:12:05.764: Found an icon but could not load it. Most likely gdk-pixbuf does not provide SVG support.
Traceback (most recent call last):
  File "/nix/store/r9brgyp5q586i9wb4hn9a9ryk9yza53h-solaar-1.0.6/lib/python3.9/site-packages/solaar/ui/__init__.py", line 159, in <lambda>
    application.connect('startup', lambda app, startup_hook: _startup(app, startup_hook, use_tray, show_window), startup_hook)
  File "/nix/store/r9brgyp5q586i9wb4hn9a9ryk9yza53h-solaar-1.0.6/lib/python3.9/site-packages/solaar/ui/__init__.py", line 117, in _startup
    window.init(show_window, use_tray)
  File "/nix/store/r9brgyp5q586i9wb4hn9a9ryk9yza53h-solaar-1.0.6/lib/python3.9/site-packages/solaar/ui/window.py", line 832, in init
    Gtk.Window.set_default_icon_from_file(_icons.icon_file(NAME.lower()))
TypeError: Argument 0 does not allow None as a value
Traceback (most recent call last):
  File "/nix/store/r9brgyp5q586i9wb4hn9a9ryk9yza53h-solaar-1.0.6/lib/python3.9/site-packages/solaar/ui/__init__.py", line 128, in _activate
    app.add_window(window._window)
TypeError: Argument 1 does not allow None as a value

- system: "x86_64-linux"
- multi-user?: yes
- version: nix-env (Nix) 2.3.15
- channels(root): "nixos-21.11pre309670.253aecf69ed"
- channels(jules): ""
- nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos


How to document types? (Unions and Intersection Types)

Search Terms
type, export type, types, interface, interfaces, union type, intersection type, unions
Problem
Can't document union types
It is not possible to document the individual values of union types, so I have to adjust the description to manually list them:
/**
 * Represents the camera device position.
 *
 * * `"back"`: Indicates that the device is physically located on the back of the system hardware
 * * `"front"`: Indicates that the device is physically located on the front of the system hardware
 *
 * #### iOS only
 * * `"unspecified"`: Indicates that the device's position relative to the system hardware is unspecified
 *
 * #### Android only
 * * `"external"`: The camera device is an external camera, and has no fixed facing relative to the device's screen. (Android only)
 */
export type CameraPosition = 'front' | 'back' | 'unspecified' | 'external';

Is there a better solution for this so I can correctly document each union (front, back, ...) with TypeDoc checking if I missed anything and even allowing me to link to it?
No "types" category in output
Documenting an interface is easy;
/**
 * document Point here
 */
export interface Point {
  /**
   * document x here
   */
  x: number;
  /**
   * document x here
   */
  y: number;
}

But if I make Point a type instead of an interface;
/**
 * document Point here
 */
export type Point = ReadOnly<{
  /**
   * document x here
   */
  x: number;
  /**
   * document x here
   */
  y: number;
}>;

...TypeDoc does not place Point under a "types" section in the output but rather "ignores" it so you can only find it under "Modules".
You can see this in action at VisionCamera documentation, where there is an "Interfaces" section on the left but no "Types" (or "Unions" or whatever) section. Instead, CameraPosition can only be found under "Modules" > "CameraPosition".
Suggested Solution
Add a "Types" output category just like "Interfaces", and allow individual union types to be documented.

Can't document union types

This is the "union enums" request - https://github.com/microsoft/tsdoc/issues/164. I plan to get around to this eventually, but haven't gotten to it yet... there's another change I want to make to how type aliases are resolved in 0.21, so this will probably happen then.

No "types" category in output

This looks like a problem with your theme to me. The default theme includes a "Type Aliases" section. https://typedoc.org/api/modules.html


It is not working for mobile view

Hi All,
I want to use for my website. But it is not working on mobile. How to fix it

hey @onyxnl which browser are you using ? I tried on google chrome (latest) and it's ok

Hi @bernard-ng ,
I tried safari and chrome on mobile(both ios version and andriod). camera is not open.

Did you allow the access to the camera ?

Yes. I already allowed. Camera is open on other scan reader project.
To be secure, could u share camera access location?
On Thu, Aug 8, 2019 at 4:22 PM bernard ng<EMAIL_ADDRESS>wrote:

Did you allow the access to the camera ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/schmich/instascan/issues/221?email_source=notifications&email_token=ADZKRXRZGFZVI5WT5ECP4ELQDPJUHA5CNFSM4IJSBN2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD323QYY#issuecomment-519420003,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADZKRXV3ENFLWELDW5PIXDLQDPJUHANCNFSM4IJSBN2A
.


wouldn't download

Subject : downloading show
Traceback (most recent call last):
File "main.py", line 11, in
File "main.py", line 65, in Main
File "Lifter.py", line 43, in init
File "Lifter.py", line 140, in download_show
IndexError: list index out of range
[15808] Failed to execute script main
Command Line Arguments You Gave : C:\Users\HP\Downloads>wco-dl-64.exe -i "https://www.wcostream.com/anime/shaun-the-sheep" -epr 8 -v
Verbose Log Link : https://pastebin.com/Yw9gsMKU
Long Explanation : i was trying to download this show it got to episode 7 then failed so i tried getting episode 8 on its own but it failed
Error Log.log

similarly i got thiss issue on a different show:
[wco-dl] - Downloading Victor And Valentino-Season 1-Episode 18
Traceback (most recent call last):
File "site-packages\urllib3\connectionpool.py", line 665, in urlopen
File "site-packages\urllib3\connectionpool.py", line 376, in _make_request
File "site-packages\urllib3\connectionpool.py", line 994, in validate_conn
File "site-packages\urllib3\connection.py", line 386, in connect
File "site-packages\urllib3\util\ssl.py", line 370, in ssl_wrap_socket
File "ssl.py", line 500, in wrap_socket
File "ssl.py", line 1040, in _create
File "ssl.py", line 1309, in do_handshake
OSError: [Errno 0] Error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages\requests\adapters.py", line 439, in send
File "site-packages\urllib3\connectionpool.py", line 719, in urlopen
File "site-packages\urllib3\util\retry.py", line 400, in increment
File "site-packages\urllib3\packages\six.py", line 734, in reraise
File "site-packages\urllib3\connectionpool.py", line 665, in urlopen
File "site-packages\urllib3\connectionpool.py", line 376, in _make_request
File "site-packages\urllib3\connectionpool.py", line 994, in validate_conn
File "site-packages\urllib3\connection.py", line 386, in connect
File "site-packages\urllib3\util\ssl.py", line 370, in ssl_wrap_socket
File "ssl.py", line 500, in wrap_socket
File "ssl.py", line 1040, in _create
File "ssl.py", line 1309, in do_handshake
urllib3.exceptions.ProtocolError: ('Connection aborted.', OSError(0, 'Error'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main.py", line 11, in
File "main.py", line 65, in Main
File "Lifter.py", line 43, in init
File "Lifter.py", line 158, in download_show
File "Downloader.py", line 29, in init
File "site-packages\requests\sessions.py", line 546, in get
File "site-packages\cfscrape_init_.py", line 120, in request
File "site-packages\requests\sessions.py", line 533, in request
File "site-packages\requests\sessions.py", line 646, in send
File "site-packages\requests\adapters.py", line 498, in send
requests.exceptions.ConnectionError: ('Connection aborted.', OSError(0, 'Error'))
[12928] Failed to execute script main

thanks for that ill see if i can replicate the other one


Refactor account mutations

I want to merge this change because resolve #4480

Screenshots

Pull Request Checklist

[ ] Privileged views and APIs are guarded by proper permission checks.
[ ] All visible strings are translated with proper context.
[ ] All data-formatting is locale-aware (dates, numbers, and so on).
[ ] Database queries are optimized and the number of queries is constant.
[ ] Database migration files are up to date.
[ ] The changes are tested.
[ ] The code is documented (docstrings, project documentation).
[ ] GraphQL schema and type definitions are up to date.
[ ] Changes are mentioned in the changelog.

Here is the report for e96e9e51d3fbf049ee2308f465a5b9005950cbb1 (mirumee/saleor @ 4480/refactor_account_mutations)
Base comparison is 82531e12ac3a2fedb5c6aa80c81365d6a8b1538a.
No differences were found. (click me)

# api.benchmark checkout
  test name                           	left count 	right count	duplicate count
  ------------------------------------	-----------	-----------	---------------
  add billing address to checkout     	         34	         34	             20
  add shipping to checkout            	          7	          7	              0
  checkout payment charge             	         14	         14	              0
  complete checkout                   	          6	          6	              0
  create checkout                     	         41	         41	             20

# api.benchmark homepage
  test name                           	left count 	right count	duplicate count
  ------------------------------------	-----------	-----------	---------------
  retrieve main menu                  	          5	          5	              0
  retrieve product list               	          4	          4	              0
  retrieve secondary menu             	          5	          5	              0
  retrieve shop                       	          2	          2	              0

# api.benchmark product
  test name                           	left count 	right count	duplicate count
  ------------------------------------	-----------	-----------	---------------
  product details                     	         13	         13	              3

# api.benchmark variant
  test name                           	left count 	right count	duplicate count
  ------------------------------------	-----------	-----------	---------------
  retrieve variant list               	          9	          9	              2

Codecov Report

Merging #4510 into master will increase coverage by 0.08%.
The diff coverage is 99.25%.

@@            Coverage Diff             @@
##           master    #4510      +/-   ##
==========================================
+ Coverage   90.64%   90.72%   +0.08%
==========================================
  Files         297      301       +4
  Lines       17437    17604     +167
  Branches     1748     1753       +5
==========================================
+ Hits        15805    15972     +167
  Misses       1121     1121
  Partials      511      511

Impacted Files
Coverage Δ

saleor/graphql/account/mutations/staff.py
97.13% <100%> (ø)

...leor/graphql/account/mutations/deprecated_staff.py
100% <100%> (ø)

...or/graphql/account/mutations/deprecated_account.py
100% <100%> (ø)

saleor/graphql/account/mutations/account.py
100% <100%> (ø)

saleor/graphql/account/schema.py
100% <100%> (ø)
:arrow_up:

saleor/graphql/account/mutations/base.py
96.62% <96.62%> (ø)

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 7b3de41...044bf71. Read the comment docs.

Codecov Report

Merging #4510 into master will increase coverage by 0.08%.
The diff coverage is 99.25%.

@@            Coverage Diff             @@
##           master    #4510      +/-   ##
==========================================
+ Coverage   90.64%   90.72%   +0.08%
==========================================
  Files         297      301       +4
  Lines       17437    17604     +167
  Branches     1748     1753       +5
==========================================
+ Hits        15805    15972     +167
  Misses       1121     1121
  Partials      511      511

Impacted Files
Coverage Δ

saleor/graphql/account/mutations/staff.py
97.13% <100%> (ø)

...leor/graphql/account/mutations/deprecated_staff.py
100% <100%> (ø)

...or/graphql/account/mutations/deprecated_account.py
100% <100%> (ø)

saleor/graphql/account/mutations/account.py
100% <100%> (ø)

saleor/graphql/account/schema.py
100% <100%> (ø)
:arrow_up:

saleor/graphql/account/mutations/base.py
96.62% <96.62%> (ø)

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 7b3de41...044bf71. Read the comment docs.


win32: use GetDiskFreeSpaceEx() to get disk size

popen() is still used to get the drive letter of the disk where the root directory is installed on. The command cygpath is also available in MSYS2.
Output for me is Disk: 31G / 194G (16%) [C:\]

Merged; thanks.


Disable the fail fast (closes: #40)

@oSoMoN it should help us :)

@oSoMoN it should help us :)

Indeed it does. LGTM!


fix conformance section format in ODBC API reference functions

Fixed formatting of Conformance section for SQLCancelHandle and SQLCompleteAsync API reference to match formatting of other function API references.

@mversic : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@David-Engel, you can only sign off in the main PR conversation, not in review comments.

#sign-off


GraphClassWithShortestPathMethod

I have made the required changes. pls check it.

Good job

hey pradeep i dont know why but in hactoberfest profile, your repo is
considered as ineligible repo. can you pls check it.?
[image: image.png]
On Sun, Oct 4, 2020 at 10:39 AM Pradeep Suthar<EMAIL_ADDRESS>wrote:

Merged #3 https://github.com/metoop/Graph-Algorithm/pull/3 into main.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/metoop/Graph-Algorithm/pull/3#event-3837218427, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALNJSBQW6FEV6C4KP3XH6MLSI77RLANCNFSM4SDIJ6NA
.

this might be because I also participated in the same feast.

sorry for that.

Ohh it doesn't matter, begginers never mind 😅
On Sun, 4 Oct, 2020, 10:52 am Pradeep Suthar<EMAIL_ADDRESS>wrote:

sorry for that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/metoop/Graph-Algorithm/pull/3#issuecomment-703204738,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALNJSBXZZKMD3I6TVWEYDBLSJABBTANCNFSM4SDIJ6NA
.

@solanki2899  hay check it should be valid for hacktoberfest


radicle-httpd: 0.11.0 -> 0.12.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/radicle-httpd/versions.
meta.description for radicle-httpd is: Radicle JSON HTTP API Daemon
meta.homepage for radicle-httpd is: https://radicle.xyz
Updates performed

Rust version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.12.1 with grep in /nix/store/c3bz1y513fvk03zrl8jpq6kbcnrb2ic1-radicle-httpd-0.12.1
found 0.12.1 in filename of file in /nix/store/c3bz1y513fvk03zrl8jpq6kbcnrb2ic1-radicle-httpd-0.12.1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

radicle-httpd

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/c3bz1y513fvk03zrl8jpq6kbcnrb2ic1-radicle-httpd-0.12.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A radicle-httpd https://github.com/r-ryantm/nixpkgs/archive/3496e9252f06f019677dcb4ed336ca25d2984087.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/3496e9252f06f019677dcb4ed336ca25d2984087#radicle-httpd

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/c3bz1y513fvk03zrl8jpq6kbcnrb2ic1-radicle-httpd-0.12.1
ls -la /nix/store/c3bz1y513fvk03zrl8jpq6kbcnrb2ic1-radicle-httpd-0.12.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

radicle-httpd

Maintainer pings
cc @gador @lorenzleutgeb for testing.

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

1 package built:

radicle-httpd


Add section "Organizations & Research Infrastructures"

Suggestion: add this section to gather information about DH organizations, centers, labs, clouds, spaces, streams...
This pull request also includes the following organizations: CLARIN, DARIAH, CHAIN, CHCI, ADHO, ACH, centerNet, Digital Humanities Now, and GO::DH.

I like the idea very much. It would definitely be a useful resource.
Any other comments, or good to merge?


Chrome 124: WebSQL flag on desktop expired

Chrome 124 on desktop removed WebSQL entirely (list of sources).

Thanks!


ca-download volume prevents harbor-core from starting with LetsEncrypt

Expected behavior and actual behavior:
When deploying Harbor Operator minimal stack to grab ingress certs from LetsEncrypt the harbor-core deployment fails to mount the ca-download volume and will not deploy.
  Warning   FailedMount              pod/harborcluster-harbor-harbor-core-7586d7d988-9tbx2                       MountVolume.SetUp failed for volume "ca-download" : secret "public-certificate" not found
This secret does exist, but the only way to proceed is to edit this deployment and remove this mount.

Steps to reproduce the problem:
Deploy the minimal_stack_fs.yaml sample, but modify the Certificate of Ingress
    name: <letsencrypt-issuer>
    kind: ClusterIssuer

Deploy the manifest
Ingress is never created
Harbor core is stuck and erroring for failed volume for ca-download mentioned above.
Remove the volume from the deployment
harbor core becomes ready
ingress gets created by harbor-operator.

According to https://github.com/cert-manager/cert-manager/issues/1571 ca.crt is optional and consumers should not break if it's not present. Looking at the amount of references though, it seems to me it causes a lot of trouble.

Try using the same name for the secret as the certificate name.

@nayrnet , can u please provide your minimal_stack_fs.yaml file please? i want to implement the same.


Instructions for armv6 (Raspberry Pi 1 / Zero)

I could not find much information about how to cross compile Rust for armv6 in order to run on a Raspberry Pi 1 / Zero, so I wrote my own tutorial (in form of a Dockerfile): https://github.com/tiziano88/rust-raspberry-pi/blob/master/Dockerfile . The trick is really just to not use the gcc-arm-linux-gnueabihf package from Ubuntu, because that is tied to armv7. Would you like to somehow merge our instructions? I am happy to send you a PR for your readme adding a section on armv6 if you agree. Thanks for all the work on this!

@theronic Yes, you only need to change the linker for the resulting binary to work.
Something like this in .cargo/config:
# default target
target = "arm-unknown-linux-gnueabihf"

[target.arm-unknown-linux-gnueabihf]
linker = "/foo/raspberrypi-tools/arm-bcm2708/arm-rpi-4.9.3-linux-gnueabihf/bin/arm-linux-gnueabihf-cc"

I'm currently using official compiler build for manual cross compilation from x86_64 Linux to ARMv6 (for Pi Zero).

Here's an example of the above that just worked for me, but done entirely from the command line rather than a config file:
rustup target add arm-unknown-linux-gnueabi
git clone https://github.com/raspberrypi/tools $HOME/rpi_tools
RUSTFLAGS="-C linker=$HOME/rpi_tools/arm-bcm2708/arm-rpi-4.9.3-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc" cargo build --target arm-unknown-linux-gnueabihf --tests


Add benchmarking for rm

Add benchmarking script and guide for rm, mostly copied from ls benchmarking guide. Tested rm using jwalk instead of walkdir, and saw a slight performance regression, if any change.

Only check failing is spelling due to "samply" and "flamegraphs". Is there a way to add words to a spelling ignore dictionary?

You can add a HTML comment, see for example https://raw.githubusercontent.com/uutils/coreutils/main/CONTRIBUTING.md

Oh cakebaker was just a bit quicker than me 😄
I think we could also add these words to the list here: https://github.com/uutils/coreutils/blob/main/.vscode/cspell.dictionaries/shell.wordlist.txt#L79 We might need them in other files too.

Thank you both! Just added those, hopefully will fix the next run

Looks like the style and lint changes are failing due to files that aren't changed. This could be related to the release of Rust 1.72 which introduced some new clippy warnings. Would it be fine to merge these changes as they're unrelated?

thanks


kind of curious why uid & gui 1001

hello @neilkuan thanks a lot for the awesome project. I am kind of curious about the EFS uid and gui. I tried to find out why to use them and have not find any reference.
I am also facing issues of chown changes in EFS so kind of curious if they are related.
Thanks in advance for the insights 😄

I have referred to several articles and GitHub repositories to reach my conclusion:
Article: "How to Construct ECS Service with EFS Volume" by Ahmad Reza (Link: https://ahmadreza.com/2023/02/how-to-construct-ecs-service-with-efs-volume/)
GitHub Repository: "Fargate with EFS" by Miztiik (Link: https://github.com/miztiik/fargate-with-efs)
GitHub Repository: "Example CDK Docker ES EFS" by awesome-cdk (Link: https://github.com/awesome-cdk/example-cdk-docker-es-efs)

thanks for sharing 😃
I went through the weekend fighting a bit around this, so it is great to have some references.
In my case, actually 1001 did not work, I could actually run budibase, but I was unable to connect my email service or save connections to MS SQL Databases. Have you encountered anything similar?
What was happening is it was not possible to do the chmod to give the user ownership of the budibase files after creating the resources. I change to 1000 and manage to get it working.

Hi everyone,
I wanted to share a solution that worked perfectly for me when encountering this issue. I made a few small adjustments, specifically, I set the user as '0' in the code, as shown below:
createAcl: {
  ownerGid: '0',
  ownerUid: '0',
  permissions: '0755',
},
posixUser: {
  uid: '0',
  gid: '0',
},

With these settings, everything worked smoothly.


Give example on how to handle gradient accumulation with cross-entropy

What does this PR do?
Following the recent highlights on how gradient accumulation with the cross-entropy loss is usually off, it could be great to have it mentioned in the doc. I've thus added some code and explanation of it in the gradient accumulation page.
cc @SunMarc and @muellerzr, let me know what you think of it or if I can make this any clearer!

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

any updates?

Hi, I have a question. transformers has already shifted source and target. Why do you need to shift them here?

Could you detail a bit your point ?

Could you detail a bit your point ?

I mean you shift input_ids and labels here, but transformers has shifted them [here].(https://github.com/huggingface/transformers/blob/d5aebc64653d09660818109f2fac55b5e1031023/src/transformers/loss/loss_utils.py#L38)


Docker build errors

Trying to use make to get a docker version of this running, and I ran into a couple of problems:

imageTag isn't defined anywhere; defining it as imageTag=latest at the start of the makefile was a work around, but I assume that it should generally be added to environmental variables instead
getting a 100 error from apt-get(?) inside of docker:

E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true'
E: Sub-process returned an error code
The command '/bin/sh -c apt-get update && apt-get install -qq -y     libgdal-dev     libudunits2-dev &&     rm -rf /var/cache/apt &&     apt-get clean' returned a non-zero code: 100
make: *** [Makefile:72: build_dashboard] Error 100

which appears to not be the problem described in the readme

getting a 100 error from apt-get(?) inside of docker

Do you have an old version of docker? Might try updating to Docker >= 20.10.9 as a first step.


Display issues seemingly caused by ESLint and Prettier

Information
VIM version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Feb  6 2018 14:35:36)
macOS version

Operating System: macOS High Sierra 10.13.3
:ALEInfo
 Current Filetype: javascript
Available Linters: ['eslint', 'flow', 'jscs', 'jshint', 'standard', 'xo']
  Enabled Linters: ['eslint', 'flow']
 Linter Variables:

let g:ale_javascript_eslint_executable = 'eslint'
let g:ale_javascript_eslint_options = ''
let g:ale_javascript_eslint_suppress_eslintignore = 0
let g:ale_javascript_eslint_suppress_missing_config = 0
let g:ale_javascript_eslint_use_global = 0
let g:ale_javascript_flow_executable = 'flow'
let g:ale_javascript_flow_use_global = 0
let g:ale_javascript_flow_use_home_config = 0
 Global Variables:

let g:ale_cache_executable_check_failures = 0
let g:ale_change_sign_column_color = 0
let g:ale_command_wrapper = ''
let g:ale_completion_delay = 100
let g:ale_completion_enabled = 1
let g:ale_completion_max_suggestions = 50
let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = 'Error'
let g:ale_echo_msg_format = '%linter% says %s'
let g:ale_echo_msg_info_str = 'Info'
let g:ale_echo_msg_warning_str = 'Warning'
let g:ale_enabled = 1
let g:ale_fix_on_save = 1
let g:ale_fixers = {'typescript': ['prettier'], 'javascript': ['prettier']}
let g:ale_history_enabled = 1
let g:ale_history_log_output = 1
let g:ale_keep_list_window_open = 0
let g:ale_lint_delay = 200
let g:ale_lint_on_enter = 1
let g:ale_lint_on_filetype_changed = 1
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_changed = 'never'
let g:ale_lint_on_insert_leave = 0
let g:ale_linter_aliases = {}
let g:ale_linters = {'javascript': ['eslint', 'flow']}
let g:ale_linters_explicit = 0
let g:ale_list_window_size = 10
let g:ale_loclist_msg_format = '%linter% says %s'
let g:ale_max_buffer_history_size = 20
let g:ale_max_signs = -1
let g:ale_maximum_file_size = 0
let g:ale_open_list = 0
let g:ale_pattern_options = {}
let g:ale_pattern_options_enabled = 0
let g:ale_set_balloons = 0
let g:ale_set_highlights = 1
let g:ale_set_loclist = 1
let g:ale_set_quickfix = 0
let g:ale_set_signs = 1
let g:ale_sign_column_always = 1
let g:ale_sign_error = '🚨'
let g:ale_sign_info = '⚠'
let g:ale_sign_offset = 1000000
let g:ale_sign_style_error = '🚨'
let g:ale_sign_style_warning = '⚠'
let g:ale_sign_warning = '⚠'
let g:ale_statusline_format = ['🚨 %d', '⚠ %d', '']
let g:ale_type_map = {}
let g:ale_warn_about_trailing_blank_lines = 1
let g:ale_warn_about_trailing_whitespace = 1
  Command History:

(started) ['sh', '-c', '''/Users/devanbeitel/Envy/course-client/node_modules/eslint/bin/eslint.js'' -f unix --stdin --stdin-filename ''/Users/devanbeitel/Envy/course-client/tests/pages/downloads-page.js'' < ''/var/folders/j6/mn7w4w9971j14pw5j0l99svh0000gn/T/vwQvWtw/13/downloads-page.js''']
(finished - exit code 1) ['/bin/bash', '-c', '''/Users/devanbeitel/Envy/course-client/node_modules/eslint/bin/eslint.js'' -f unix --stdin --stdin-filename ''/Users/devanbeitel/Envy/course-client/tests/pages/downloads-page.js'' < ''/var/folders/j6/mn7w4w9971j14pw5j0l99svh0000gn/T/vwQvWtw/14/downloads-page.js''']

<<<OUTPUT STARTS>>>
/Users/[redacted]/[redacted]/course-client/tests/pages/downloads-page.js:1:10: 'attribute' is defined but never used. [Error/no-unused-vars]
/Users/[redacted]/[redacted]/course-client/tests/pages/downloads-page.js:1:41: 'isVisible' is defined but never used. [Error/no-unused-vars]
/Users/[redacted]/[redacted]/course-client/tests/pages/downloads-page.js:1:52: 'text' is defined but never used. [Error/no-unused-vars]

3 problems
<<<OUTPUT ENDS>>>

What went wrong
I've been trying to debug why I am seeing duplicate characters, seemingly missing characters, etc. When I refresh the file or copy a line, the issues aren't actually in the code, so I believe my problem has something to do with displaying.
Reproducing the bug
Steps for repeating the bug:

Edit a file.

2a. Sometimes after leaving insert mode, the issue happens.
2b. Sometimes after saving the file (with :wq for instance) the issue happens.
I'm can't pin down the exact steps to reproduce every time, but I am using Prettier for formatting on save, ESLint for listing on save (as you can tell from the ALE settings above). I also have git-gutter installed.
Below is an image of what I encounter regularly:

Notice how the 'i' in import is not displayed, there are two a's in attribute, and two t's in text (which now looks like txt).

Arg. After doing :ALEInfoToClipboard, which refreshed the editor display, it now looks like it is correct. I will close, for now, and reopen when I can upload a new screenshot displaying the issue.
Sorry!

Reopened with corrected screenshot.

I don't think I can help you much with this. Try using different themes, or another version of Vim.

Hrmm okay. My other computer (with the same exact dotfiles, general setup, etc) doesn't seem to have the issue. Nonetheless, thanks for responding!


bad handling when multiple errors are emitted

The module works great with one try{} catch block per stream.
Having multiple try {} catch and multiple emitted errors gives strange results.
The following example produces and endless "error 3" loop.
Expected output: (errors may appear at different positions because of async nature of streams)
1
error A
2
error B
error C
3

actual output:
error C
error C
error C
...

var JSONStream = require('json-stream')
const aw = require('awaitify-stream')
var stream = JSONStream()
let reader = aw.createReader(stream)
buggy()
async function buggy () {
  let chunk = 0
  while (chunk != null) {
    try {
      chunk = await reader.readAsync()
      console.log(chunk)
    } catch (e) {
      console.log('error', e)
    }
  }
}

stream.write('1\n')
stream.emit('error', 'A')
stream.write('2\n')
stream.emit('error', 'B')
stream.emit('error', 'C')
stream.write('3\n')
stream.end()

simple fix in code:
let errors=[]
...
on("error", ... errors.push(err)
in asyncRead()
let error=errors.shift()


Virtual foreign keys lost when reopen project

I found the same issue as #6854 but I can not reopen it.
os: macOS 10.15.4
DBeaver: <IP_ADDRESS>011291229
database: postgresql
steps: open one table -> click Virtual -> add one Virtual foreign key -> close the table tab -> right click the project and click refresh -> reopen the table, then the vfk lost, but found Virtual references
close DBeaver and reopen it will have the same issue.
data of file .dbeaver/data-sources.json is correct, it seems that it is not read correctly when opening the project.

Thank you for the report.

Fixed

verified


tables rendering fails while getting PDF

What happens: printing the final PDF, the table header seems to be repeated over all the table randomly (see attached pic).
When it happens: My code renders fine on the "edit" mode, fine on the "print" mode (clicking on 'get PDF') but the issue appears on the printing preview windows to actually print or save the PDF. If I save the PDF the issue remains.
Note: I'm using Chrome on a Mac. It seems happening if you have a two-column section, then a
 , followed by a table in a two-column section (see brew code below). Do you see the same problem? Is there a way to fix it?

Additional Details
Brew code to reproduce : Click to expand

# Character Name

**Concept:** Character Concept

Some text here for the description of the character to be. Some text here for the description of the character to be

### ~~ :: ~~ :: ~~ :: ~~
### Charisma:  +2  ;  Parry:  5  ;  Pace:  6”  ;  Robustness:  5

##### Cookie Tastiness
| Tastiness | Cookie Type |
|:----:|:-------------|
| -5  | Raisin |
| 8th  | Chocolate Chip |
| 11th | 2 or lower |
| 14th | 3 or lower |
| 17th | 4 or lower |
| 8th  | Chocolate Chip |
| 11th | 2 or lower |
| 14th | 3 or lower |
| 17th | 4 or lower |

Weird bug. Good isolation of the cause though.

Thank you,
I can add some more info if you like (maybe it helps to find the cause):
It seems like the biggest is the first two-column section , the biggest is the distances between the doubled header in the table. Maybe the distance between the fake header depends on the height of the first two-column section (and it is weird)

Solution:
Add this bit of CSS to the code:

.phb table thead { display: table-row-group;}

From w3 schools: "...when printing a large table that spans multiple pages, the [thead and tfoot] elements can enable the table header and footer to be printed at the top and bottom of each page."  It looks like the column-span: all is somehow causing subsequent tables to confuse chrome's PDF printer about where the top of a new page is. display: table-row-group will force it to print just like any other table row, only once per page.

WOW! Thanks a lot @calculuschild !
I tested it and it fixes the bug perfectly! Amazing!
@calculuschild Don't you think this line of code should be added by default to avoid similar issues? Or it's better not to because it could cause some other issues?

I would recommend it be added to the codebase, yeah. There might need to be some testing to make sure it didn't mess anything else up, but I'm pretty sure it wouldn't.
My real question though is why the column-span: all is causing the PDF printer to get confused in the first place. Might be a bug in Chrome's PDF rendering backend (and they do have lots of bugs), or something else in the Homebrewery making it weird. I did a test on my local machine with some unstyled html, but the printing bug doesn't show up until I apply the Homebrewery css styles to it.  It didn't seem to be anything within the thead sections that was causing the problem (deleting them changed how the headers looked but they still printed all over the table).

Hey,
I've got the same problem, but I'm kind of weak on css/markdown/html, don't know how to implement the css change! Where do I throw that in?
Thanks!

I have noticed that it seems like the dupe headers show at a fixed y value, and if the table starts below that value, they don't show. Also, it only happens waaaaay later in the doc, like 30+ pages in. Might be why this is more of an edge case?

@Jamezila
You can just add that line of code inside the "style" tag at the beginning of your document.
Here there is an example where I define the style of my pages as an A4 (210x296.8cm) and then I apply this trick to all the table objects from my document:

This was fixed a long while ago. Closing.


confirmation - updated summary

What would you like to be added:
https://www.figma.com/proto/SDIpZciuxJlUf4xf8yheiY/Mobile-Light-Wallet?node-id=809%3A21805&viewport=241%2C48%2C0.7&scaling=scale-down&starting-point-node-id=809%3A21869&show-proto-sidebar=1

Why is this needed:

Since we are still pending on #554 , i won't be adding the "Conversion required" for now

@jtlntno-cake Also pending UI for "Remove Liquidity" screen now

Test cases here: https://github.com/DeFiCh/wallet/issues/1021#issuecomment-946402952


Relationships mirroring

Public overridable Object's extension for relationship mirroring to be able.
Example:
extension Product {
  override func rrc_mapObjectToMirror() -> Product {
    let clone = super.rrc_mapObjectToMirror() as! Product
    clone.category = self.category?.rrc_mapObjectToMirror() as? Category
    return clone
  }
}

Hi @bronenos,
Thanks for this PR.
Could you move the method to ObjectExtension.swift ?
Also if you can rename it to something like getMirror, would be great.
I think that with this change the current getMirror top level function makes no sense, so probably its implementation should be now inside the Object Extension method

Okay, done

Hi @bronenos , merging it right now, I'll fix the tests Travis is complaining about


 components with  elements as children don't have good responsiveness

Bug Report
What is the current behavior?
If you reduce your screen to under just 1270px, you will see many pages like /code_schools or /team that use the  component have text that gets scrunched up. It actually overflows at multiple view widths.
What is the expected behavior?
Children elements under the  component should not go beyond it's potential header lines in width. I have an idea of how to implement this (posted as a comment)
What steps did you take to get this behavior?
Simply go the routes, reduce your view width, and observe
Additional Info
Operating System
MacOS 10.12.5
Browser
All 3 major browsers, plus Chrome and Safari on iPhones
Screenshots

I believe that we should remove the className prop from the  component. It's used on about 5 pages, but it's usage almost always utilizes CSS incorrectly, or it doubles-down on CSS that already exists in section.css. Once we remove that property, we can go from
{children}

to
<div className={styles.content}>
  {children}
</div>

and add .content { width: 85%; } to section.css
I was planning on working in some of my infamous scope-bleed to try and correct the issue on my next PR, but I didn't feel comfortable trying to handle the implementation within the  component. Is there a way for me to see a modal and test what I'm doing?

Reopening this issue to make a few more fixes and kill old references.


Move transformer classes out of flava.py into modules/layers/transformer.py

Summary:
Simplify flava.py by refactoring transformer classes out into their own file for a more modular design.
Test plan:
Added regression test for TransformerEncoder, and also ensured flava tests still pass, so I ran the whole test suite pytest -vv

Codecov Report

Merging #42 (8667f3f) into main (054ee8f) will increase coverage by 0.29%.
The diff coverage is 97.31%.

@@            Coverage Diff             @@
##             main      #42      +/-   ##
==========================================
+ Coverage   87.82%   88.12%   +0.29%
==========================================
  Files          29       30       +1
  Lines        1437     1448      +11
==========================================
+ Hits         1262     1276      +14
+ Misses        175      172       -3

Impacted Files
Coverage Δ

torchmultimodal/models/flava.py
86.21% <93.75%> (-2.20%)
:arrow_down:

torchmultimodal/modules/layers/transformer.py
97.74% <97.74%> (ø)

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 054ee8f...8667f3f. Read the comment docs.


Show instructions or link for triggering evaluations in stage

When clicking on a service and stage without any evaluation the panel below the timeline is empty.
There should be a hint here, that evaluations results will be shown here and how to trigger an evaluation.

Very good idea @laneli!
However, we don`t need to inform the user about triggering a sequence, because this is already available:

Nevertheless, we need to tell the user that an evaluation task was not part of the sequence:


cowsql: 1.15.3 -> 1.15.4

Description of changes
https://github.com/cowsql/cowsql/releases/tag/v1.15.4

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] Fits CONTRIBUTING.md.

@ofborg test incus


[Bug] Some low-resolution devices cannot render big images

Describe the Bug
In current versions of cornerstone I've found that in some cases some phones are presenting a behavior that the viewport, instead of showing the image instance, are just showing a white square.

My investigation leads towards to a resolution problem since the image has a big resolution (4280x3520) and the phone that is rendering the page has a resolution of 720x1600
This is the following message from WebGL

A possible solution for this that I have found is to transform the image instance into a low-resolution version, for example a 2140x1760 version of the same image.
Steps to Reproduce

Have a low-resolution phone, for example a moto g9 play (720x1600)
Load a simple cornerstone example in the phone
Load an image instance with a resolution bigger than 4000x2000
At this point, you are going to see a white screen rendered

The current behavior
Currently, rendering big images on some devices is resulting in white screens.
WebGL is sharing a message that it cannot render out of range images.

The expected behavior
The expected behavior is to render the image instance correctly, since in previous versions of cornerstone (2.3.0) this was working.
Devices tested
Moto G9 play
Samsung Galaxy S23 Ultra
Samsung Galaxy A52
OS
Android 12
Node version
18.16.0
Browser
Google Chrome mobile 117.0.5938.61
Bug DICOM file
01.dcm.zip

useCPURendering: true this works but makes the text on the dicom unreadable.

Can you check the latest cornerstone 3D? It might have solved the issue.

By setting useNorm16Texture: true & preferSizeOverAccuracy: true, the issue was resolved at Samsung Galaxy S23 Ultra

Can you guys try again latest? since we upgraded vtk.js

@sedghi I tested it and it keeps happening.
also tested it in https://viewer-dev.ohif.org/viewer?StudyInstanceUIDs=2.16.840.1.114362.1.11972228.22789312658.616067305.306.2 and it keeps happening.
tested in 2 Android (13 & 14) (Snapdragon 732G Octa-core & Snapdragon 7S gen2)


Updated logic for joining consensus

Changes include:

New states: WaitingForObserving, WaitingForReady
Observation no longer means that we follow consensus logic locally
Facilitators are copied from the previous consensus to the next
Withdrawing from consensus can happen at any stage
All consensus states (including not synchronized states yet) can be locked
ConsensusInfoRoutes extracted from ConsensusRoutes

@TheMMaciek feel free to add comments after the merge.


Fixed "Getting Started" docs typo - changed "outer" to "inner"

I'm a django-newbie going through the tutorial, and I noticed a small typo. Under The development server, the docs say to "Change into the outer mysite directory", when it should be saying "Change into the inner mysite directory". Figured I'd go ahead and make a PR.

Nevermind, I misread.


External volumes docs

This should not appear on the site until 1.7 GAs (currently slated for Monday, 5/16).

Does this look OK to you too, @branden ?

lgtm

👍

docs say that relative-paths are allowed for mesos container, but actually a "no-slashes" rule is enforced by Marathon when using MESOS containers. For example, when using MESOS containers the path "foo" is acceptable, but "foo/bar" is not.


Added visibility keywords to DB_driver methods

How well tested is this? We've had a few people just paste in some keywords which gets broken when a method that looks protected is actually used publicly.

  I'm pretty sure most of these protected methods are also overridden by every driver.

https://github.com/EllisLab/CodeIgniter/pull/971

@narfbg Ideally, this class would be abstract since a lot of the methods are overriden by driver classes. (But that's a lot of refactoring to do). And I think that pull request complements this one, since that does not set all the visibility declarations.

@timw4mail It sure does, I just wanted to draw some attention to my pull request so we can get it merged in shortly after this.
I also agree on switching this to abstract - nothing will be broken by it.

OK, should all be working fine now, that /_?protect_identifiers()/ issue is the only one that functionally matters.
_has_operator() is only used by CI_DB_active_record and _cache_init() is only used in this class. Both aren't overriden anywhere, so it's fine to make them protected.
@philsturgeon I say go for it. :)

Not everyone have much time, to dive into #971, and get every details of whats going on. I admire, @narfbg effort on that pull, and @timw4mail on this pull. But i still think, that the big part need to resolve first, is unit-testing branch. The fact that we did not have a bullet-proof way, that underlying every linew that we merged into the framework codebase, nearly terrifying.
Its okay to said : this will work, this will broke thing, and so on, as long as we could show the other, that fact.

@toopay While I agree that unit tests will help us to filter out erroneus code from pull requests, we can't just block all contributions until it's ready.

Agree with @toopay on the unit tests. Do you guys know someone whom I could get in touch with who's actively working on the unit testing branch? It's something I'm really interested in contributing to.

@narfbg Agree. Some code, like adding a ; in the documentation, clearly not the intention of having unit-testing branch. But, some of them, huge enough altering the original (the stable) code. This mean i dont want any change? NO. I want to see the core support HMVC, on #357. I want to have clear abstraction, with proper PHP 5 syntax on Database package, like yours in #971, in my application. But do somebody willing to have hard time, finding what wrong with their production-application since they upgrade to the latest develop branch? NO!
@tiyowan you could just jump out into unit-test branch, i believe @pkriete and @gaker was in charge on that, but anyone who have production-app, should be worrying about these too. At #1055, i try to proposed the urgency of having a distributed build platform, to integrated with the existed unit-test branch.

@toopay Yes, a distributed build platform would really help out the CI team. My curiosity about CI's test coverage is what brought me here initially. Let us see what develops over time.

@tiyowan Here's something that you should read first:
https://github.com/EllisLab/CodeIgniter/blob/feature/unit-tests/tests/README.md
I'm not really familiar with who's done what on the unit tests, but unfortunately Greg Aker is no longer available to help with CI, so it's probably a good idea to skip that suggestion if you really need to get in touch with somebody.
Basically - you can take the lead and just submit stuff that you think can improve it. I don't think that there's somebody really commited to it at the moment, but it will be reviewed and if something looks wrong - somebody will comment on it, just like on this pull request.
@toopay The develop branch is for development - nobody should use it in a production environment as it's never guaranteed to be stable. Of course, we try to keep it good and everybody wants to improve on that - it's the reason unit testing is planned and it's also why massive changes like mine take a lot of time to review. It just shouldn't be assumed to be stable for production use without testing personally.
Anyway, since you've mentioned #1055 - should move that discussion there, this is not the right place for it.

... and this one goes in. Nothing it can really break:

narf@studio:~/github/CodeIgniter$ grep -ril '>_cache_init(' system/
system/database/DB_driver.php
narf@studio:~/github/CodeIgniter$ grep -ril '>_has_operator(' system/
system/database/DB_active_rec.php
system/database/DB_driver.php


Add missing content-type and data property for error responses

According to GraphQL over HTTP spec, even if there is errors, we should still return data: null, and content-type should be application/json.
https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#status-codes

@ardatan Type-check is failing at https://github.com/dotansimha/graphql-yoga/runs/5690023102?check_suite_focus=true#step:7:60

@klippx You're right because it should be null according to the spec as well. Fixed both issues! Thanks for your feedback!


Question on recent alterations of peak picking.

Hi Alan,
I got the error below:
Error using SpectralPeakDetection/process
Too many input arguments.
Error in f_saving_peaks_details (line 24)
[ ~, ~, peakDetails ] = peakPicking.process(totalSpectrum_mzvalues, totalSpectrum_intensities); % peak pick total spectrum
Could you help?
Thanks,
Teresa

Hi Teresa,
The new process function takes a SpectralData instance and returns an array of Peak instances.
You should be able to change your line to:
peaks = peakPicking.process(SpectralData(totalSpectrum_mzvalues, totalSpectrum_intensities));
The peaks array then has fields for the peak centroid, min and max spectral channels etc. You can get these as a vector for example:
centroids = [peaks.centroid];
Hope that helps!
Alan

From: Teresa Murta<EMAIL_ADDRESS>Sent: Friday, 31 July 2020 18:56
To: AlanRace/SpectralAnalysis
Cc: Alan Race; Assign
Subject: [AlanRace/SpectralAnalysis] Question on recent alterations of peak picking. (#31)
Hi Alan,
I got the error below:
Error using SpectralPeakDetection/process
Too many input arguments.
Error in f_saving_peaks_details (line 24)
[ ~, ~, peakDetails ] = peakPicking.process(totalSpectrum_mzvalues, totalSpectrum_intensities); % peak pick total spectrum
Could you help?
Thanks,
Teresa
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi Teresa,
The new process function takes a SpectralData instance and returns an array of Peak instances.
You should be able to change your line to:
peaks = peakPicking.process(SpectralData(totalSpectrum_mzvalues, totalSpectrum_intensities));
The peaks array then has fields for the peak centroid, min and max spectral channels etc. You can get these as a vector for example:
centroids = [peaks.centroid];
Hope that helps!
Alan

Hi Alan,
Thank you very much, issue solved!
Teresa
From: Alan Race<EMAIL_ADDRESS>Sent: 01 August 2020 09:49
To: AlanRace/SpectralAnalysis<EMAIL_ADDRESS>Cc: Teresa Murta<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: [EXTERNAL] Re: [AlanRace/SpectralAnalysis] Question on recent alterations of peak picking. (#31)
CAUTION: This email originated from outside of NPL. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hi Teresa,
The new process function takes a SpectralData instance and returns an array of Peak instances.
You should be able to change your line to:
peaks = peakPicking.process(SpectralData(totalSpectrum_mzvalues, totalSpectrum_intensities));
The peaks array then has fields for the peak centroid, min and max spectral channels etc. You can get these as a vector for example:
centroids = [peaks.centroid];
Hope that helps!
Alan
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/AlanRace/SpectralAnalysis/issues/31#issuecomment-667497442, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJCQ7MAP5HEG5GSTIYYQTP3R6PJGRANCNFSM4PQR5QHQ.
Visit the NPL websitehttps://www.npl.co.uk/ and find out how our cutting-edge measurement science has a positive impact in the real world.

[http://resource.npl.co.uk/images/npl-logo.jpg]http://www.npl.co.uk/?utm_source=Email Footer&utm_medium=email&utm_campaign=Homepage         Keep in touchhttp://www.npl.co.uk/contact [http://resource.npl.co.uk/images/twitter.jpg] http://www.twitter.com/npl  [http://resource.npl.co.uk/images/facebook.jpg] http://www.facebook.com/npldigital  [http://resource.npl.co.uk/images/youtube.jpg] http://www.youtube.com/npldigital

NPL Privacy Policyhttp://www.npl.co.uk/privacy-policy/
If you have received this message in error, please notify us and remove it from your system.
NPL Management Ltd cannot guarantee that the e-mail or any attachments are free from viruses.
NPL Management Ltd is a company registered in England and Wales, number: 2937881
Registered office: National Physical Laboratory | Hampton Road | Teddington, Middlesex | UK | TW11 0LW


pull request for e2e test at 01/18/2017 02:15:08

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[iOS] - Subtitles in Picture in Picture mode

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Im not able to see the subtitles (.vtt) when in Picture in Picture mode, I also noticied that this happen in the demos of bitmovin.. is there any chance to enable captions on PiP?
Expected Behavior
Continuing seeing the subtitles when in PiP
Steps To Reproduce
No response
What platform(s) are you experiencing the issue on?

[ ] Android
[ ] Android TV / Fire TV
[X] iOS
[ ] tvOS

Player React Native SDK version
0.6.0
Device / Environment

Device - iPhone 12 Prop
TestFlight

Stream URL (Optional)
No response
Additional information / Code snippets / Screenshots
No response

Hi @MateoParodi ,
Thanks for raising this issue. The feature you described (subtitles in PiP) is not currently available in either our native iOS SDK or the React Native SDK. While this feature isn’t something currently on our roadmap, we’ll be monitoring further interest for this issue and we’ll let you know here when there is any movement.
Regards,
Balint

Hi @MateoParodi,
This feature suggestion is not currently on the roadmap and has not been suggested by other customers today.
We recommend raising this suggestion in our Community; other customers can then also vote on this suggestion.
As an open source project we also welcome contributions, details of how to raise feature suggestions and contribute can be found here:
https://developer.bitmovin.com/playback/docs/react-native-introduction#not-seeing-the-features-youre-looking-for
Many thanks
James


⚠ Samsung has degraded performance

In 01635fc, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3267 ms

Resolved: Samsung performance has improved in 57124e7.


As an author, I want to know if I have friend requests.

If I need to list my friend request, is that mean I need find all friend requests whose to_profile would be me?

@Raymundo1 具体参考google doc里的friend request API
GET /friendrequest

Close in favor #88


chore(avm-simulator): add U128 overflow tests to AVM simulator

Please read contributing guidelines and remove this line.

#6281  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @dbanks12 and the rest of your teammates on  Graphite


RobertaUseLabelWord求解为啥，还有用bash时会出现下面的问题

Traceback (most recent call last):
File "main.py", line 152, in
main()
File "main.py", line 61, in main
parser = _setup_parser()
File "main.py", line 42, in _setup_parser
model_class = _import_class(f"models.{temp_args.model_class}")
File "main.py", line 16, in import_class
class = getattr(module, class_name)
AttributeError: module 'models' has no attribute 'RobertaUseLabelWord'
scripts/pretrain_fb15k-237-image.sh: line 2: --model_name_or_path: command not found
scripts/pretrain_fb15k-237-image.sh: line 3: --accumulate_grad_batches: command not found
scripts/pretrain_fb15k-237-image.sh: line 4: --model_class: command not found
scripts/pretrain_fb15k-237-image.sh: line 5: --batch_size: command not found
scripts/pretrain_fb15k-237-image.sh: line 6: --pretrain: command not found
scripts/pretrain_fb15k-237-image.sh: line 7: --bce: command not found
scripts/pretrain_fb15k-237-image.sh: line 8: --check_val_every_n_epoch: command not found
scripts/pretrain_fb15k-237-image.sh: line 9: --overwrite_cache: command not found
scripts/pretrain_fb15k-237-image.sh: line 10: --data_dir: command not found
scripts/pretrain_fb15k-237-image.sh: line 11: --task_name: command not found
scripts/pretrain_fb15k-237-image.sh: line 12: --eval_batch_size: command not found
scripts/pretrain_fb15k-237-image.sh: line 13: --max_seq_length: command not found
scripts/pretrain_fb15k-237-image.sh: line 14: --lr: command not found

应该是bash的路径问题吧


Atom 1.13 Shadow DOM removal

Starting from Atom version 1.13, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary.
This means the :host and ::shadow pseudo-selectors and the /deep/ combinator selector should be completely removed.
To prevent breakage with existing style sheets, Atom will automatically upgrade selectors for versions less or equal to 1.12.
Currently Atom 1.13 is in the beta chanel (1.13.0.beta6).
This issue prepares the package for the incoming breaking changes when Atom 1.13 reaches the stable channel. It will me merged as soon as the official Atom theme One Dark Syntax updates the Atom engine requirement to >=1.13.
The flight manual provides the great migration guide "Removing Shadow DOM styles" for package authors to prepare their packages for this breaking change.
There are also reference pull requests for the Atom Core theme packages One Dark Syntax and One Dark UI.
The associated improvement/ghi-#49-atom-1.13-shadow-dom-removal branch will be merged as soon as the versions of the official themes "One Dark UI" and "One Dark Syntax" are bumped to <=1.13 in their package.json files to keep compability as long as lower versions are supported.
Tasks

[x] Remove all :host and ::shadow pseudo-selectors
[x] Remove all /deep/ combinator selectors

Known issues/bugs

[x] Bright text color in active text fields broken through the selector removements
[x] Bright text field border on hover

🚢 Shipped in apm package release version 🏷 0.10.0.


NTR: birth attendant role

For new term requests, please provide the following information:
Preferred term label
birth attendant role
Synonyms
skilled birth attendant role
Textual definition
A health care provider role that is realized in maintaining the health of women and newborns during pregnancy, birth, and postpartum.
Suggested parent term
health care provider role
Attribution
0000-0001-6595-0902

Proposed definition on 4/5 OMRSE meeting: A health care provider role that is realized in maintaining the health of a human being during their pregnancy and both them and the neonate during labor, delivery, and postpartum.


Documentation for Lookups?

Can someone point me to the documentation for "Lookups"? I want to create the following "types" and "apply" them to specific columns:
A Lookup that displays multiple columns from a "Lookup Table" and stores the "ID" from the selected Row in the "LookupTableID" (foreign Key) column of the "Parent" table (Row).
A Lookup that displays "Unique" values from another table and whatever value is chosen is stored (the same "text" that was chosen) in a specific column.
Thank you!

Actually, I think I figured this one out.. definitely the second one, by looking at the Northwind Customer Edit Page (specifically, the City and Country fields).


Crash when I connect to chromecast

My uwp app crash when i try connect to chromecast.
I select device and try to connect then ( Uri and friendlyName is correct).
Error message : (CoreCLR: CoreCLR_UWP_Domain) : Chargé 'Anonymously Hosted DynamicMethods Assembly'.
thanks
PS, sorry for my english :(

Can you try again with 0.1.6 nuget package?


Prepare publish of com.gradleup.shadow

Plugin id from com.github.johnrengelman.shadow to com.gradleup.shadow.
Support publishing to MavenCentral and with snapshots support.
Add release workflows.

It's here https://oss.sonatype.org/content/repositories/snapshots/com/gradleup/shadow/.

Tried id("com.gradleup.shadow") version "8.3.0-SNAPSHOT", but received the following error:
* What went wrong:
Plugin [id: 'com.gradleup.shadow', version: '8.3.0-SNAPSHOT'] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Included Builds (None of the included builds contain this plugin)
- Plugin Repositories (could not resolve plugin artifact 'com.gradleup.shadow:com.gradleup.shadow.gradle.plugin:8.3.0-SNAPSHOT')
  Searched in the following repositories:
    MavenRepo
    Gradle Central Plugin Repository

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

@breandan See ff01bdee93d23bab376c041b89ec936d61fb9ac5.


missing helpful information for Windows 7

The information in this URL I'm adding was critical to making pre-provisioning work with Windows 7 and a WinPE 10 environment.  It should be incorporated into this article somehow.   Otherwise a black screen (for Windows 7) occurs at restart (after Install phase concludes) indicating that the drive cannot be unlocked.
https://blogs.technet.microsoft.com/system_center_configuration_manager_operating_system_deployment_support_blog/2016/03/30/windows-versions-prior-windows-10-build-1511-fail-to-start-after-setup-windows-and-configuration-manager-step-when-pre-provision-bitlocker-is-used-with-windows-pe-10-0-586-0-1511/

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

ID: e11e1beb-b1ed-8a2d-f3d9-810e777fe594
Version Independent ID: e4f95ae3-0ac2-37b6-ba5e-d1ff67855109
Content: How to Enable BitLocker by Using MBAM as Part of a Windows Deployment
Content Source: mdop/mbam-v25/how-to-enable-bitlocker-by-using-mbam-as-part-of-a-windows-deploymentmbam-25.md
Service: unspecified
GitHub Login: @jamiejdt
Microsoft Alias: jamiet

This is live now: https://docs.microsoft.com/en-us/microsoft-desktop-optimization-pack/mbam-v25/how-to-enable-bitlocker-by-using-mbam-as-part-of-a-windows-deploymentmbam-25


Improvements

A few improvements following industry standards

The Symfony standard for YAML indentation is 4 spaces. (4 spaces for everything actually)


Create E2E test suite

this pr:

Adds an external service definition to allow us to reach the client port from outside the cluster. required for the e2e tests to dial the cluster to verify its health.
An e2e test which will

Start a Kind cluster
Deploy CRDs to this cluster
Build the operator image & load it to the kind cluster
Deploy the operator
Deploy the custom resources in example/cluster.yaml
Wait for an etcd cluster to come up

this pr does not:

Add the step to CI (coming soon)
Add any in-depth testing, just a broad health check

run this yourself with
go test ./internal/test/e2e --kind --repo-root=$(pwd) -v

see #7

@JamesLaverack @munnerz i've pushed a commit here which consistently uses config/ for all resources. there's a couple fixes bundled which popped up during tests. PTAL

It's quite frustrating that the logged progress messages (via t.Log) only show up at the end of the test run.
Others have asked for a -test.streamlogs flag but it hasn't been implemented yet: https://github.com/golang/go/issues/24929
Consider using logging those messages with logr too.

Ignore my comment (above) about the tests failing. I'd forgotten that this branch hasn't got a EtcdCluster controller which creates peers, so it was never going to pass.
I merged in #27 branch and then encountered a bug in that branch.
It'd be nice if this E2E would grab the logs from the operator in case of test failures, but that can be a future improvement.

I also notice that the test leaves behind  internal/test/e2e/.kube/ containing various cache files.
It'd be nice if it didn't do this,
Perhaps you need to pass through the $HOME variable when you run kubectl so that it uses the standard ~/.kube directory.

@wallrj thanks for the review. i've set the homedir in the kubectl helpers & that seems to avoid building the cache inside the repo. on logs, my strategy has been to include high level checkpoints in the test's logs, which will allow people to dig in to the more specific logs of the failing component. agree that streaming logs would be a nice feature