PARTNERS - Add testimonials according to ZIAs layout

3 final quotes will be provided here until tomorrow noon:
https://docs.google.com/document/d/1xja7ifeQbE5edZaFCZGmCMVPJAXdynfRMDlbhlcSJ4Y/edit

[ ] please also change this text:
Together we build the new Internet
-> Welcome to the growing ecosystem around ThreeFold

testimonials added

[ ] please make sure the vertical distance between lines is respected. Does not work with the big distance before "SKALE LABS" etc.

[ ] Please implement the logos for SKALE, PRESEARCH and DIGIBYTE accordingly.

[ ] change PRESEARCH text to:

Threefolds distributed infrastructure offering peer-to-peer storage and compute resources paid with cryptocurrency is exactly what the project needs to fulfil our roadmap and decentralize the platform.

[ ] one final thing to make it perfect:
Please make quotation marks around the quotes and change the font to italic


Upgrade rustls version to "0.21.8" please

Upgrade rustls version to "0.21.8" please, it seems to support arm windwos.

The version listed in reqwest's dependencies is a minimum. You can use the newer version yourself just running cargo update -p rustls.


Add upcoming events to home page

It would be great if we had the next upcoming event on the homepage.

Done. They are rendered as "cards" on the home page. The event markdown file contains yml fields which now also specify an "expiration_data" for the event. All upcoming events (events that are not expired/over) will be rendered on the home page.


Dynamic Evaluation of Mandatory/Optional flag

We'll need to support evaluation of whether a field should be Mandatory or Optional at runtime based on the current form state.
IDEA

Develop a new type of annotation class or ValidationRule with access to current form state at the time of validation.
Then develop a new type of field annotation with reference to Rule implementation

Feature requested by Issue  https://github.com/NaingAungLuu/form-conductor/issues/34

All developments deployed


credentials: retry calls on failures

Add a retry mechanism for the session
created in get_session() and use that
inside the Credentials object.
The Retry class from urllib3 respects
the Retry-After header, so that should
hopefully avoid these types of failures
in the future:
HTTPError: 503 Server Error: Service Unavailable for url: https://identity.dataspace.copernicus.eu/auth/realms/CDSE/.well-known/openid-configuration
which I saw raised inside __openid_configuration().

This had some light testing (224 downloaded products) without anything obvious failing. Worst case is that I did something wrong with the configuration and this does nothing more than what is already done today.


Add the command line option to load proprietary codec library.

Due to licensing issues, the pre-built binary doesn't ship with the
necessary codecs for patented media formats. Therefore, mp4/mp3 files
can't be played back by Crosswalk.
Add a command line option so that mp4/mp3 files can be played by loading
the proprietary library. An example is,
xwalk --proprietary-codec-lib-path=/opt/google/chrome/libffmpegsumo.so

@rakuco @seanlong @halton   PTAL.
The case is similar with below discussion,
https://github.com/nwjs/nw.js/wiki/Using-MP3-&-MP4-(H.264)-using-the--video--&--audio--tags.

LGTM with the nits comments.

Fix the nits. Thanks for your comments @halton

LGTM

Let's make sure it's documented.

@darktears , could you please point out the place where I should put the document?
Thanks!

https://github.com/crosswalk-project/crosswalk-website/wiki/Crosswalk-Command-Line-Options

Thanks! @halton
Updated the wiki page.

I think this needs to be reverted or reworked.
This has broken the component=shared_library build:
obj/media/base/media.media_posix.o:media_posix.cc:function media::internal::InitializeMediaLibraryInternal(base::FilePath const&): error: undefined reference to 'switches::kProprietaryCodecLibPath'
obj/media/base/media.media_posix.o:media_posix.cc:function media::internal::InitializeMediaLibraryInternal(base::FilePath const&): error: undefined reference to 'switches::kProprietaryCodecLibPath'
obj/media/base/media.media_posix.o:media_posix.cc:function media::internal::InitializeMediaLibraryInternal(base::FilePath const&): error: undefined reference to 'switches::kProprietaryCodecLibPath'

Basically you are using a symbol from content/ in media/ which does not work if you build those targets as separate shared libraries, and you cannot make the latter depend on the former because the former depends on the latter.

@rakuco  Thanks a lot for raising this! I'll provide fix later.


eval_spec_value and eval_prim

Draft for now due to including sorrys.
This is another lemma for the PE soundness proof.  It says that partial evaluation of a Spec.Value always succeeds and returns the value.  This PR also includes some simple corollaries.

This lemma is no longer needed after #379.  Closing this.


Please update to latest youtube-dl?

If there is another way to update it without adding a branch to this repo, please let me know!

UPDATE: WILL PAY ANYONE WHO FORKS AND UPDATES TO LATEST VERSION.

Can someone please update this gem to the latest version of youtube-dl?!?
I'm getting this message.
"
(youtube-code): "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; ...."
I've read this can be solved by updating the latest version of youtube-dl.

gem 'youtube-dl.rb', github: "joshmn/youtube-dl.rb"
$5000 pls

Anyone have instructions on how to update this binary @joshmn ?


created CoreValue component

CoreValue

Description of what is contained in pull request?  CoreValue component
Description of why this change/addition is needed?  page 19/30 of intake form
Which user story or task is this PR tied to?  #1
How many files and/or lines were changed? 3 files, 155 additions

Type of Change

Types of Change:

[x] New feature
[] Refactoring / Bug fix
[] Documentation update
[] Executive Change (technical decision change overwrite)

Reason for change (required):

Testing

[] Yes
[x] No
[] Not needed

Completeness
Is this feature complete

[x] Feature Complete
[] Feature Incomplete
[] User story/trello card linked here: https://trello.com/c/uvT4qapT/9-1-as-a-supervisor-i-have-permissions-for-all-crud-operations-to-create-a-guest-profile-using-an-intake-form

PR Requirements

[] Clean and concise commenting
[] Clean and comprehensive documentation included
[] Conforms to engineering standards and checks
[] There are no merge conflicts
[] There are no warnings
[] Corresponding documentation elsewhere has been updated to reflect these changes

Requester Questions

Add any questions, comments, or concerns you have as the person initiating the pull request for your reviewers

Other
Rubric
Template Guidelines

Thank you for creating the core value form from intake packet

Thank you for creating the core value form from intake packet


Add MAPE

Codecov Report

Merging #293 into dev will decrease coverage by 1.04%.
The diff coverage is 10.00%.

@@            Coverage Diff             @@
##              dev     #293      +/-   ##
==========================================
- Coverage   82.50%   81.46%   -1.05%
==========================================
  Files          30       30
  Lines        2023     2012      -11
==========================================
- Hits         1669     1639      -30
- Misses        354      373      +19

Impacted Files
Coverage Δ

src/measures/continuous.jl
86.15% <10.00%> (-13.85%)
:arrow_down:

src/data/datasets.jl
86.11% <0.00%> (-8.34%)
:arrow_down:

src/measures/loss_functions_interface.jl
94.73% <0.00%> (-5.27%)
:arrow_down:

src/measures/finite.jl
95.62% <0.00%> (-3.13%)
:arrow_down:

src/composition/networks.jl
65.56% <0.00%> (-1.96%)
:arrow_down:

src/measures/measures.jl
91.22% <0.00%> (-1.76%)
:arrow_down:

src/hyperparam/one_dimensional_ranges.jl
81.39% <0.00%> (-0.83%)
:arrow_down:

src/hyperparam/one_dimensional_range_methods.jl
96.42% <0.00%> (-0.24%)
:arrow_down:

src/resampling.jl
88.79% <0.00%> (-0.15%)
:arrow_down:

src/composition/composites.jl
90.67% <0.00%> (-0.15%)
:arrow_down:

... and 1 more

Continue to review full report at Codecov.

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

Thanks so much for this @azev77 . I have gone through and it looks good. Please could you export mae at src/MLJBase.jl under measure exports section. Also some tests at test/measures/continuous.jl would be great.

You mean export ‘male’?

@OkonSamuel  how can I export mape in the same PR?

how can I export mape in the same PR?

just edit the code from the branch at https://github.com/azev77/MLJBase.jl/tree/patch-1 at it will update this pr


CO2 emissions BETA vs LIVE are different; what is the reason for that?

The CO2 emissions in the dashboard of BETA vs LIVE differ:

BETA = + 9.9%
LIVE = + 8.7%

@michieldenhaan suggested that it could be the import of biogenic waste that has co2_per_mj factor of 0.0835255319148936 on BETA. But I cannot figure out if that is the total issue!

But I cannot figure out if that is the total issue!

Perhaps the "Primary CO2 Mekko chart" in table view can give you some insight?

I was referring to: https://github.com/quintel/etsource/commit/6c6b55cbefbcb5099a7caa09adf208f0563c43d5. I.e. the carrier non_biogenic waste has a non-zero co2_conversion_per_mj on beta.
This results in 1.8197 MT extra CO2 in 2015.

This difference is only in the electricity and hot water consumption. @michieldenhaan says this has to do with the factor for the import of biogenic waste.

I.e. the carrier non_biogenic waste has a non-zero co2_conversion_per_mj on beta.

Making a scenario on BETA and LIVE without non_biogenic waste should give you the same result! Can you show that this is the case @marliekeverweij @michieldenhaan?

Yes this is the case! There is only a minor difference of 0.00326 MT

Yes this is the case! There is only a minor difference of 0.00326 MT

Great work! Closing this.


mobile safari triggers Router.run twice on initial page load

I haven't had too much time to test this in other contexts, but within my app I've noticed that on the initial page load Router.run is triggered twice on the initial page load -- both times with the same state / route information. I haven't noticed this happening in any other browsers. As a quick fix, I've stored the current route information and done the relevant checks to determine if it has, indeed, changed.

interesting, let us know if you discover anything else.

I think this is a WebKit bug. See
https://bugs.webkit.org/show_bug.cgi?id=93506
https://bugs.webkit.org/show_bug.cgi?id=80697
@bmcmahen Are you using HistoryLocation by any chance? That bug is specific to using the HTML5 history API.
Also, Twitter worked around this bug by ignoring popstate events when the state property is undefined.

Yep, I was using HistoryLocation. I haven't been able to explore the issue all that much more, but I have only encountered it while using mobile safari with HistoryLocation.

@bmcmahen Thanks for confirming. I'm just going to assume we're running into the same bug that Twitter was for now. Please let us know if you still see this behavior when using 3d8a883.

Still getting onPopState event on initial page load with Safari 8.0.6.
Check should be changed from if (event.state === undefined) to if (event.state === null). Apparently, the state property is never undefined.

I think this needs to be re-opened as I am still seeing this issue.  Following @dlindenkreuz suggestion, I changes that if to:
if (event.state === undefined || event.state === null) {
 return;
}

and it seems to work in safari after that.


testGetArray test is flaky

Travis very recently has started to complain that the "deadline is exceeded" and fails when running DatastoreTests.testGetArray() in some runs.

The test doesn't seem to be flaky now.  The issue (a timeout to connect to localhost when running DatastoreTest.java unit tests on Travis) was observed for a brief time window last week.  I will reopen if seen again.


ssl fails when client is trying to reconnect its channel - 0_14 c++

I have a working mutual authentication setup in grpc 0_14 c++ following this ruby example:
https://github.com/grpc/grpc/issues/3613
with good connectivity everything works.  If I start my client first and it tries to connect but the server isn't running yet I get:
E0609 16:23:10.868889720     920 tcp_client_posix.c:173]     failed to connect to 'ipv4:<IP_ADDRESS>:50051': socket error: connection refused

then:
E0609 16:23:16.552724464     920 tcp_client_posix.c:191]     failed to connect to 'ipv4:<IP_ADDRESS>:50051': timeout occurred

at regular (Nagl?) intervals.  This seems to be working as intended.  If I start the server during this reconnect phase, I continue getting the same messages on the client, but the server shows:
E0609 16:18:41.578535241   77714 handshake.c:215]            Read failed.
E0609 16:18:41.578550076   77714 server_secure_chttp2.c:121] Secure transport failed with error 1

for each client connection attempt.  So the server is seeing the connection attempts, but SSL isn't working out.  This is the same client/server that work fine if the server is started first.
Is this something simple I'm missing?  I'll work on a minimal demo if needed.

setting fast_fail=false makes this work as expected (see #6730)
the odd thing is that during a streaming RPC, with fast_fail=true (default now), a non-ssl RPC will fail at the first attempt and then spin with "timeout occurred" without trying to connect again (run route_guide_client with no server, then turn on the server after it's into ListFeatures() to see this).  But an SSL version of the same RPC will somehow continue tickling the server with each "timeout occurred" event, but never connect.

my thoughts so far are:
-fail_fast=true with a sync streaming RPC in c++ is pretty confusing, since the stream isn't cancelled
-I'm currently doing my own heartbeat-type timeout on streams (N seconds without packets received gets the stream cancelled, but stream duration is indefinite).  That's what eventually catches this with fail_fast=on.  I'd love to see grpc support for this because (at least in c++) the required code is pretty ugly
-the fact that the SSL stuff continues to send packets after the fail_fast bits have decided to give up is annoying for troubleshooting/ maybe inconsistent, but it's basically still working


Can't send certificate chain in SNI authentication

I observe NewCredFromCert takes a single *x509.Certificate (although CertFromPEM returns []*x509.Certificate). Credential therefore carries a single cert, making it impossible to send a chain via the "x5c" header, as allowed by RFC 7515. Does AAD require only the leaf cert?
(Related: #122)

Both should be supported and it is supported in Java already afair. Marking as feature request.

Does AAD require only the leaf cert?

I'm almost one year late to the party ... But the answer is AAD supports multiple certs.


Fix DEFAULT_PASSWORDS_FILENAME relative to $HOME

Addresses https://github.com/SonuBardai/lockbox/issues/59

Codecov Report

Merging #63 (3a2c3a5) into main (5829275) will decrease coverage by 0.04%.
The diff coverage is 98.52%.

:exclamation: Current head 3a2c3a5 differs from pull request most recent head 099d591. Consider uploading reports for the commit 099d591 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main      #63      +/-   ##
==========================================
- Coverage   93.20%   93.17%   -0.04%
==========================================
  Files           9        9
  Lines        1589     1582       -7
==========================================
- Hits         1481     1474       -7
  Misses        108      108

Files Changed
Coverage Δ

src/main.rs
0.00% <0.00%> (ø)

src/cli/args.rs
89.47% <100.00%> (+0.36%)
:arrow_up:

src/cli/commands.rs
94.87% <100.00%> (-0.06%)
:arrow_down:

src/cli/mod.rs
85.34% <100.00%> (+0.66%)
:arrow_up:

src/repl/mod.rs
95.52% <100.00%> (-0.09%)
:arrow_down:

src/store/mod.rs
98.67% <100.00%> (-0.08%)
:arrow_down:


add IONOS provider

I added the IONOS DNS provider
Docs: https://developer.hosting.ionos.de/docs/dns
See #48

Excellent - I'll provide the caddy module in the next days. Thanks for the quick reaction


Adding blog section ( Issue No.: 12, 62)

*** Title: Add Blog Section with Comment and Like Functionality**
*

Issue No.: 12, 62

Code Stack: React, JavaScript

Close #12
Close #62

Video: [Attach video link here]

https://github.com/user-attachments/assets/814a33e2-c9d1-4e65-88b4-d8f7fedb7208

Checklist:

[X] I have mentioned the issue number in my Pull Request.

[X] I have commented my code, particularly in hard-to-understand areas.

[X] I have created a helpful and easy-to-understand README.md if it's a new page/tech stack.

[X] I have gone through the contributing.md file before contributing.

Are you contributing under any Open-source programme?

[X] I'm a GSSOC-EXT contributor

[X] I'm a HACKTOBERFEST contributor

This PR adds a blog section to the application, allowing users to read blog posts,
like them, and leave comments. Each blog post has an image, title, date, author,
and a content summary, along with buttons for liking and commenting.

Changes made:

Created Blog.jsx component

Implemented state management for likes and comments

Styled the blog section for better user experience

@jeevan10017 Finally, Passed.


making output required, removing default val

Addressing #7, it makes more sense to have a user be explicit of output type rather than fall back to a default. Likewise, we actually fully evaluate our inputs now :)

@admiralAwkbar pls review

ssulei7/read-csv-arg

ssulei7/read-csv-arg


Added test coverage for MiqExpression#sql_supports_atom?

Added test coverage for MiqExpression#sql_supports_atom?
/cc @imtayadeway
@miq-bot add-label test, core

@miq-bot remove-label wip

@yrudman please rebase and push again

👍 Looks good. Will merge after suggested changes are made and conflicts are resolved. Thanks @imtayadeway and @yrudman


Issue #426 Solved- Inserted Circular Linked List Implementaion.

Description:
This pull request introduces a comprehensive implementation of a circular linked list in C. The implementation includes the following key functionalities:
Insertion:

Insertion of tasks at the end of the circular linked list.
Ability to manage a dynamic list of tasks.

Deletion:

Deletion of tasks from the start, end, and at specific positions within the circular linked list.
Supports efficient task management by allowing removal of tasks that are no longer needed.

Task Execution:

Implements a round-robin scheduling algorithm to execute tasks in a circular manner.
Each task receives a fixed time slice for execution, simulating real-world task management scenarios.

Documentation:

Includes README files that provide a detailed overview of the circular linked list implementation.
Describes the data structures used, functions available, usage instructions, and examples for better understanding.

Changes Made:
Added C source code for circular linked list operations.
Implemented functions for task insertion, deletion, execution, and display.
Created a README.md file that outlines the project structure, usage instructions, and example outputs.
Testing:
The implementation has been tested to ensure that all functionalities work as intended, including edge cases such as deleting from an empty list and executing tasks.
Benefits:

This addition enhances the project by providing a flexible and efficient way to manage tasks dynamically.
The round-robin approach is particularly useful in scenarios such as task scheduling in operating systems, project management tools, and other applications requiring cyclical task processing.

Screenshots of Changes I made:-
S1:-

S2:-

someone already assigned #165


[TOOLING] Implement $MLIR_DUMP_PATH to redirect $MLIR_ENABLE_DUMP

What
$MLIR_DUMP_PATH redirects the dump output to the specified filepath.
Why
$MLIR_ENABLE_DUMP is incredibly useful when debugging passes, however it's not the easiest to work with when various other logs are enabled.

New contributor declaration

[x] I am not making a trivial change, such as fixing a typo in a comment.

[x] I have written a PR description following these
rules.

[x] I have run pre-commit run --from-ref origin/main --to-ref HEAD.

Select one of the following.

[ ] I have added tests.

/test for lit tests
/unittest for C++ tests
/python/test for end-to-end tests

[x] This PR does not need a test because This is a debugging env var.

Select one of the following.

[x] I have not added any lit tests.
[ ] The lit tests I have added follow these best practices,
including the "tests should be minimal" section. (Usually running Python code
and using the instructions it generates is not minimal.)

usually I redirect the output doing 2> file_path.txt since the output is in std err it shouldn't pick up other loging

I've been running into situations where the model containing the kernel also writes to stderr, making the output file not "clean". To show my full hand: this is especially annoying when running through buck (FB attempt at bazel) because buck writes a ton to stderr

Another piece of the puzzle that I forgot to mention: Taylor Robie has been working on a tool that helps you diff mlir across passes, and as its input it takes as input the output from MLIR_ENABLE_DUMP. My main usecase for this new env var is to facilitate using that tool more easily. See the tool in action here: https://triton-lang.slack.com/archives/C01L894JD98/p1731946285730119

can you document it in the readme where thebother env var are?


chore: use new github issue template

Signed-off-by: shilinlee<EMAIL_ADDRESS>

What problem does this PR solve?

Issue Number: close #xxx
What is changed and how it works?
Use the new GitHub issue template
How Has This Been Tested?

[ ] Test A
[ ] Test B
[ ] Test cases to be added
[x] No code

experience:

thx @shilinlee


Arch package not found

The package for archlinux does not exist anymore?

#14 ?

Yeah, it should be there, but - at least for me -  sudo pacman -S serie results in a package not found error. Maybe some other archlinux user could check this..

@dadav Use pacman -Sy to update your repository indexes. If it still isn't there wait for the mirror you use to be refreshed.

Works now, thanks for checking.


I'm sorry but the article regarding feelings in open source is really...

... something that everyone in an IT profession needs to read, because while your topic was about the OS community the points in it apply to professional interactions as well.
I didnt see a comment section on there, and figured an issue was the next best thing.

That's a blast from the past! And thanks for the kind words, and for reminding me of the subject in the first place - I'm definitely at a different place than I was when I wrote that, and it's interesting how much of it still resonates with me now on a more personal level rather than as a hypothetical.


expo failing on build react-native-file-access:compileDebugKotlin FAILED

expo run:android is failing to build with error:

Task :react-native-file-access:compileDebugKotlin FAILED
w: Detected multiple Kotlin daemon sessions at build/kotlin/sessions

is it local or eas build the same error. using expo SDK 44.0.6

Hi @likon416, we’ve never tested it on expo and we truly don’t know if it’s compatible. Does iOS build or you haven’t tested it?

Hi @efstathiosntonas thanks for the swift replay.
iOS builds fine. it's just android that is failing.

As far as I know react-native-file-access might now be compatible with expo, at least on Android.
Either open an issue on that module’s repo or create one new expo project with our module only and see if it builds.
Before doing all the above, can you run ./gradlew clean just to be sure there are no remnants left on Android folders?

There are some solutions here too about this issue on react-native: https://stackoverflow.com/questions/67135414/w-detected-multiple-kotlin-daemon-sessions-at-build-kotlin-sessions

Thanks @efstathiosntonas
gradle clean didn't help, as the project on expo that I work on is not bare I can't use all that stuff you are normally using.
decided I will go with a different cache plugin that is compatible with expo managed workflow.
Thanks!

@likon416 I think you should open an issue on react-native-file-access, still.
@alpha0010

it seems react-native-file-access uses kotlin 1.6.10, what kotlin version expo is using?

can you do something like this on expo?  https://stackoverflow.com/a/71374918/2195000
sorry that i've turned the conversation into chat 😄

@efstathiosntonas I can't do that as I'm on a managed workflow which means you don't touch any ios or android files it's all generated, configured and managed by expo scripts.

oh I see, never used expo before so my knowledge is limited.

can you try this: expo prebuild --clean? I've google searched about the issue and it seems that other devs have the same issue with other libraries eg. gesture-handler but I couldn't spot a fix other than trying to clean the project, sorry.

that didn't help. But I moved to use expo-cached-image and that works fine.

You can select which version of Kotlin react-native-file-access uses by specifying in your build.gradle.
buildscript {
    ext {
        // buildToolsVersion = 'xx.xx.xx'
        // [...]
        kotlinVersion = '1.6.10'
        kotlinCoroutinesVersion = '1.6.0'
    }
// [...]

Should clean build after changing version numbers.

Ah, missed that.  Strange though that it appears Expo is using the same version https://github.com/expo/expo/blob/main/android/build.gradle#L11 ?

I have a feeling that the issue is reanimated 2.5.0 even though the error point to react-native-file-access. There’s an issue open about it: https://github.com/software-mansion/react-native-reanimated/issues/3097
I think these 2 modules in conjunction with expo don’t play well.
@likon416 can you try using v1.6.0 of this module instead of 2.0.1? That version doesn’t use reanimated 2.


Move App Engine into PaaS. Remove 5.4 reference.

Latest version validated 2015-08-31 with SDK 1.9.25

Is 5.4 no longer available at all?

That is correct, they removed it when they went "GA" earlier this year.
If you try and deploy a 5.4 app now, it says...
"PHP 5.4 applications are prevented from being deployed to Google App Engine from any version of the SDK, including older ones. If you need to continue to deploy PHP 5.4 applications for compatibility reasons, you can request that your application be whitelisted for PHP 5.4 deployment by visiting http://goo.gl/qjKEuk."

Sorry this fell through the cracks for a bit there. Life is hard.
Double checked their awful shitty docs and found this:

Looks like it really is only php55! Thank you :)

Merged manually due to conflicts 4271663

Ta!


add EqualInteger api

I have a lot of unit tests that need to constrain integer types, and I'm not sure if I should add both signed and unsigned api's, but this EqualInteger api will not use predefined variables. I know it may break the original pattern of the api, but for me adding this api will allow me to write a lot less lines of code within the unit tests, thank you for this great project!

Sorry, I don't understand. Can you please share a code example, not a screenshot, showing some examples of the assertions you would like to make and how you're unable to do it with the current helpers? The entire point of testy is that comparing two values of different types is almost certainly invalid.
Right now, if you want to compare two values that are both the same integer type, you can just use assert.Equal. If you want to compare two values that are both integers but of different types, you must explicitly convert the types, just like the golang docs describe:

Explicit conversions are required when different numeric types are mixed in an expression or assignment. For instance, int32 and int are not the same type even though they may have the same size on a particular architecture.

Sorry for my bad English, I also know that I need to show type conversion, what I want to describe is:Let the call to testy be made so that it tells me that I need to convert the type before compiling instead of after compiling when I realize that the type is wrong.
I haven't gotten around to updating tesy in this file
https://github.com/ddkwork/asm/blob/master/demo%2Fdemo.go
I basically forgot to convert the types when I first called the Equal function, which told me I needed to convert the types after the Equal function had compiled. Ideally it would tell me the type mismatch when calling Equal rather than waiting until after compilation to report an error, so it needs to be EqualInteger?EqualUint32?I'm not sure this is appropriate as it adds a lot of functions.

The code you linked is still using testify/assert, not testy/assert. The entire point of this library, testy, is that comparing two values of unequal types will give you a compilation error. You can do this right now by using assert.Equal or check.Equal.
If you are writing a test comparing two literals, not two variables, the go compiler will infer a valid type when possible, so do note that assert.Equal(t, 1, .1) will pass because the inferred type of the variables will be float, not int.


Uncaught Cannot cast object to type String

Hi Volkanceylan,
I am getting the error "Uncaught Cannot cast object to type String" when I try to edit a row I have just submitted. The error involves mscorlib.js at line 597. "throw new ss_InvalidCastException('Cannot cast object to type ' + ss.getTypeFullName(type)); "
What would be the work around to this?

Please update to 1.9.5. 1.9.3 had such an issue

Alright, thank you for timely reply.


Support on Firefox

Hey folks, I came to know about this from Product hunt. Great Job.
Is there any plan to support the firefox extension for the same?

Thank you. Our next major release will be the Firefox plugin. Hopefully you can expect it by next month


UDS connection via CAN ,self.tp.recv time out waiting for message

Hello Richard,
i was trying python-ids , but unfortunately with the documents and example provided i am not able to establish connection, code snippet and error log is shown below,
appreciate your help in solving this issue .
Code:
import can
from uds import Uds
test1 = Uds(transportProtocol="CAN",reqId=0x600, resId=0x650, bustype="vector",device="CAN",appName="pythonUds",channel="0")
#print(dir(test1))
esnRaw = test1.send([0x22, 0xF1, 0x8C])
print(esnRaw)
This sends the request for Ecu Serial N
Error:
Traceback (most recent call last):
File "D:\Python_Learning\Diagnostics.py", line 7, in
esnRaw = test1.send([0x22, 0xF1, 0x8C])
File "C:\Users\ssikander\AppData\Local\Programs\Python\Python38-32\lib\site-packages\uds\uds_communications\Uds\Uds.py", line 140, in send
response = self.tp.recv(self.__P2_CAN_Client)
File "C:\Users\ssikander\AppData\Local\Programs\Python\Python38-32\lib\site-packages\uds\uds_communications\TransportProtocols\Can\CanTp.py", line 340, in recv
raise Exception("Timeout in waiting for message")
Exception: Timeout in waiting for message

Hi.
First off you're using the ID's that we put in as an example for the Embed
E400 bootloader which are atypical for most automotive applications.
Usually most vehicles have ReqID and ResID in the range 0x700 - 0x7FF. Do
you know what the IDs are of the module you're trying to communicate with?
Typically for most cars the PCM (engine ECU) is ReqId: 0x7E0 and ResId:
0x7E8
Could you give me more information on your ECU / network setup?
On Thu, 27 Aug 2020 at 15:03, saheelsikander<EMAIL_ADDRESS>wrote:

Hello Richard,
i was trying python-ids , but unfortunately with the documents and example
provided i am not able to establish connection, code snippet and error log
is shown below,
appreciate your help in solving this issue .
Code:
import can
from uds import Uds
test1 = Uds(transportProtocol="CAN",reqId=0x600, resId=0x650,
bustype="vector",device="CAN",appName="pythonUds",channel="0")
#print(dir(test1))
esnRaw = test1.send([0x22, 0xF1, 0x8C])
print(esnRaw)
This sends the request for Ecu Serial N
Error:
Traceback (most recent call last):
File "D:\Python_Learning\Diagnostics.py", line 7, in
esnRaw = test1.send([0x22, 0xF1, 0x8C])
File
"C:\Users\ssikander\AppData\Local\Programs\Python\Python38-32\lib\site-packages\uds\uds_communications\Uds\Uds.py",
line 140, in send
response = self.tp.recv(self.__P2_CAN_Client)
File
"C:\Users\ssikander\AppData\Local\Programs\Python\Python38-32\lib\site-packages\uds\uds_communications\TransportProtocols\Can\CanTp.py",
line 340, in recv
raise Exception("Timeout in waiting for message")
Exception: Timeout in waiting for message
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/richClubb/python-uds/issues/57, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMQRVCRZTC6DRZMDNUEDUDSCZRTZANCNFSM4QNA32CQ
.

Hello Richard,
I am trying to connect to infotainment ECU with ID's
0x18BA4CF1 ReqID, and 0x18BAF14C ResID

Hello Richard,
I am trying to connect to infotainment ECU with ID's
0x18BA4CF1 ReqID, and 0x18BAF14C ResID

Hello Richard,
I am trying to connect to infotainment ECU with ID's
0x18BA4CF1 ReqID, and 0x18BAF14C ResID

Hello Richard,
I am trying to connect to infotainment ECU with ID's
0x18BA4CF1 ReqID, and 0x18BAF14C ResID

Hello Richard,
I am trying to connect to infotainment ECU with ID's
0x18BA4CF1 ReqID, and 0x18BAF14C ResID

Hello Richard,
I am trying to connect to infotainment ECU with ID's
0x18BA4CF1 ReqID, and 0x18BAF14C ResID

Hello Richard,
I am trying to connect to infotainment ECU with ID's
0x18BA4CF1 ReqID, and 0x18BAF14C ResID

Hello Richard,
I am trying to connect to infotainment ECU with ID's
0x18BA4CF1 ReqID, and 0x18BAF14C ResID

Hello Richard,
I am trying to connect to infotainment ECU with ID's
0x18BA4CF1 ReqID, and 0x18BAF14C ResID

Hello Richard,
I am trying to connect to infotainment ECU with ID's
0x18BA4CF1 ReqID, and 0x18BAF14C ResID

I am facing the same issue. Here am code example:
rawEcu = Uds(reqId=0x18DA03F5, resId=0x18DAF503, transportProtocol="CAN", interface="peak")  # baudrate="250000" esnRaw = rawEcu.send([0x10, 0x01])
Furthermore, in CanTp.py last line 460, I did following modification for the extended message id:
self.__connection.transmit(transmitData, self.__reqId, extended=True)
Fur


chmod: changing permissions of ‘/var/lib/postgresql’: Permission denied

Please change documentation.
from:
docker run --name=postgresql-redmine -d \

--env='DB_NAME=redmine_production'
--env='DB_USER=redmine' --env='DB_PASS=password'
--volume=/srv/docker/redmine/postgresql:/var/lib/postgresql
sameersbn/postgresql:9.6-2
to
docker run --name=postgresql-redmine -d
--env='DB_NAME=redmine_production'
--env='DB_USER=redmine' --env='DB_PASS=password'
--volume=/srv/docker/redmine/postgresql:/var/lib/postgresql:z
sameersbn/postgresql:9.6-2

changes : /var/lib/postgresql > /var/lib/postgresql:z

Same for :
docker run --name=redmine -d   --link=postgresql-redmine:postgresql --publish=10083:80   --env='REDMINE_PORT=10083'   --volume=/srv/docker/redmine/redmine:/home/redmine/data   sameersbn/redmine:3.4.4-2
docker run --name=redmine -d   --link=postgresql-redmine:postgresql --publish=10083:80   --env='REDMINE_PORT=10083'   --volume=/srv/docker/redmine/redmine:/home/redmine/data:z   sameersbn/redmine:3.4.4-2
changes : changes :  --volume=/srv/docker/redmine/redmine:/home/redmine/data to  --volume=/srv/docker/redmine/redmine:/home/redmine/data:z

Alright, I was not familiar with this option so here is the documentation.
https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
And the warning associated with this option:

Use extreme caution with these options. Bind-mounting a system directory such as /home or /usr with the Z option renders your host machine inoperable and you may need to relabel the host machine files by hand.

I'm not sure we want to set this as a recommended default considering it changes permissions on the host side of the system.
Can you explain why you think this is required?
Note, here is a long discussion on why this could be dangerous. https://github.com/moby/moby/issues/30934
Perhaps adding a section to the documentation describing how to configure if the system is using selinux would be enough?


Problem with object-position in Internet Explorer 11 and Edge

We are using the latest version 3.2.3 of the script and it seems like Internet Explorer and Edge are not behaving the same way as for example Chrome.
We have set the CSS styles for images as:
object-fit: cover;
object-position: 50% 0;
The end result should be that the image is fitted to content and starts from the top of the content area.
This works fine in Chrome but in IE it starts in a different place.
Attached are screenshots from Chrome and IE. IE and Edge are the same when viewed.

Following styles seem to be applied in IE:
<img style='background-position: center; background-image: url("http://<IP_ADDRESS>/sites/default/files/styles/full_width/public/collection/header/maxresdefault.jpg?itok=iXWYMX1z"); background-repeat: no-repeat; background-size: cover; background-origin: content-box;' alt="" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1500' height='844'%3E%3C/svg%3E" data-ofi-src="http://<IP_ADDRESS>/sites/default/files/styles/full_width/public/collection/header/maxresdefault.jpg?itok=iXWYMX1z">

What's your font-family setting? It's likely not set correctly

Thanks. I think I found the problem now.

@Hypocrite Please share your solution.


python38Packages.sparse: 0.12.0 -> 0.13.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python38Packages.sparse is: "Sparse n-dimensional arrays computations"
meta.homepage for python38Packages.sparse is: "https://sparse.pydata.org/en/stable/"
meta.changelog for python38Packages.sparse is: "https://sparse.pydata.org/en/stable/changelog.html"
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.13.0 with grep in /nix/store/mzn2l8lzk08671wkwmyqihi354b286c7-python3.8-sparse-0.13.0

found 0.13.0 in filename of file in /nix/store/mzn2l8lzk08671wkwmyqihi354b286c7-python3.8-sparse-0.13.0

directory tree listing: https://gist.github.com/16aa2bbef78117fa6b5eeb91402632e7

du listing: https://gist.github.com/a50b3a3be1414161802cc237a6ab80e9

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

24 total rebuild path(s)

6 package rebuild(s)

6 x86_64-linux rebuild(s)
6 i686-linux rebuild(s)
6 x86_64-darwin rebuild(s)
6 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python38Packages.clifford
python38Packages.sparse
python38Packages.tensorly
python39Packages.clifford
python39Packages.sparse
python39Packages.tensorly

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/mzn2l8lzk08671wkwmyqihi354b286c7-python3.8-sparse-0.13.0 \
  --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 python38Packages.sparse https://github.com/r-ryantm/nixpkgs/archive/7af45d854c4af872125126580e6135779de564cd.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/mzn2l8lzk08671wkwmyqihi354b286c7-python3.8-sparse-0.13.0
ls -la /nix/store/mzn2l8lzk08671wkwmyqihi354b286c7-python3.8-sparse-0.13.0/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

2 packages marked as broken and skipped:

python38Packages.clifford
python39Packages.clifford

4 packages built:

python38Packages.sparse
python38Packages.tensorly
python39Packages.sparse
python39Packages.tensorly

Maintainer pings
cc @costrouc for testing.

Result of nixpkgs-review pr 136113 at 7af45d85 run on aarch64-linux 1

2 packages failed to build:

python38Packages.clifford
python39Packages.clifford

4 packages built successfully:

python38Packages.sparse
python38Packages.tensorly
python39Packages.sparse
python39Packages.tensorly

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.


[CT-3234] [Feature] Allow query-commenting for dbt test command

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

Describe the feature
Currently in case you want to add labels to your BigQuery jobs, you can do it by using a query_commenter macro (as in this docs).
The problem is that apparently the query commenter it's not used when a dbt test command (it's called only for dbt  run).
Because of this, it's not possible to add job-labels for those tests (which also consume resources).
Describe alternatives you've considered
Allowing dbt test command to use a query commenter  for custom and generic tests.
Who will this benefit?
Anyone that's tracking BigQuery cost using job labeling.
Are you interested in contributing this feature?
Not sure where to start. But I can implement it.
Anything else?
No response

@vrplentz Thanks for opening!
I believe this already works:
# dbt_project.yml
query-comment:
  job-label: True

$ dbt --debug test
...
On test.my_dbt_project.unique_my_model_user_id.fd60587ca1: /* {"app": "dbt", "dbt_version": "1.6.7", "profile_name": "sandbox-bigquery", "target_name": "dev", "node_id": "test.my_dbt_project.unique_my_model_user_id.fd60587ca1"} */
select
      count(*) as failures,
      count(*) != 0 as should_warn,
      count(*) != 0 as should_error
    from (
...

I'm going to close this issue as resolved — let us know if you give it a try & run into issues.


Add Cartfile

Right now if one wants to use just RMPickerViewController via Carthage, the RMActionController dependency is not resolved automatically so it needs to be added to Cartfile manually.
This PR adds missing Cartfile so it can be resolved automatically. It is alternative to already existing https://github.com/CooperRS/RMDateSelectionViewController/pull/85

Hello?

@CooperRS please

Hey! Sry, for the long delay 🙈. Merging now!


ocamlPackages.iter: 1.7 -> 1.8

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/ocaml:iter/versions.
meta.description for ocamlPackages.iter is: Simple sequence (iterator) datatype and combinators
meta.homepage for ocamlPackages.iter is: https://github.com/c-cube/sequence
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.8 with grep in /nix/store/h67d1kpb3ivwklg66941qz2pzbn6528m-ocaml4.14.1-iter-1.8
found 1.8 in filename of file in /nix/store/h67d1kpb3ivwklg66941qz2pzbn6528m-ocaml4.14.1-iter-1.8

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
soupault

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/h67d1kpb3ivwklg66941qz2pzbn6528m-ocaml4.14.1-iter-1.8 \
  --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 ocamlPackages.iter https://github.com/r-ryantm/nixpkgs/archive/e3695de873a9dffea44632fe17cc4cc8fa1bb9ab.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/e3695de873a9dffea44632fe17cc4cc8fa1bb9ab#ocamlPackages.iter

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/h67d1kpb3ivwklg66941qz2pzbn6528m-ocaml4.14.1-iter-1.8
ls -la /nix/store/h67d1kpb3ivwklg66941qz2pzbn6528m-ocaml4.14.1-iter-1.8/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

8 packages built:

ocamlPackages.containers
ocamlPackages.containers-data
ocamlPackages.earlybird
ocamlPackages.iter
ocamlPackages.oseq
ocamlPackages.ppx_cstubs
ocamlPackages.tsort
soupault

Maintainer pings

@ofborg build ocamlPackages.iter ocamlPackages.iter.passthru.tests


Unable to download SDL anymore in 2.5.9

Question.
Somewhere between 2.4.0 and 2.5.9 the ability to download SDL was removed. I looked over release notes and I can't see if and why it was removed?

Hi 👋  Thanks for reaching out. Can you elaborate on how you download your SDL? What command are you running and what error you're seeing? Thanks!

Reproducible using one of the sample apps projects. Added more details there: https://github.com/martinbonnin/apollo-android-samples/pull/2

Thanks for the reproducer. Indeed this is a regression, sorry for that. We'll fix it for the next 2.x release but given that 2.x is in  maintenance mode, I'd recommend to move to 3.x . Or you can use the following workaround:
tasks.withType(ApolloDownloadSchemaTask::class.java).configureEach {
  doLast {
    val schema = file("src/main/schema.sdl")
    IntrospectionSchema(schema).toSDL(schema)
  }
}

See https://github.com/apollographql/apollo-kotlin/pull/4046 for a fix in the 2.x branch.
This is already fixed in 3.x so if you have the opportunity, I'd consider switching to 3.x. If not, this will be in the next 2.x release.

Thanks 👍  I couldn't find a release plan in readme; what is your release schedule for 2.x?

2.x is in maintenance mode. Bugs and security fixes will be released as needed. TBH there's not many changes in the release-2.x branch so it could take several weeks until next release.

The fix is in v2.5.12 which was just released.


Add delayed messaging contract updates

Codecov Report
Base: 61.05% // Head: 61.03% // Decreases project coverage by -0.02% :warning:

Coverage data is based on head (e6d0c88) compared to base (80acdc2).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #331      +/-   ##
===========================================
- Coverage    61.05%   61.03%   -0.03%
===========================================
  Files           43       43
  Lines         4327     4327
===========================================
- Hits          2642     2641       -1
  Misses        1509     1509
- Partials       176      177       +1

Flag
Coverage Δ

unittests
61.03% <ø> (-0.03%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/plugins/gateway/lambda/lambda.go
60.10% <0.00%> (-0.52%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


.travis.yml: download modules in advance

cc @codesome

I'll send a cleaner patch to follow up so it can be integrated in other repositories.


v1.6.0 Tests Broken

Due to change in the order of aggregators in $.pivotUtilities.subtotal_aggregators

Issue fixed and released v1.6.1


BUG: Minimize the video screen on IOS.

Minimize feature is working on Android.
However, it's not working on IOS. For instance: if you click on minimize button it will not minimize the app.

Little update:
Actually I am working on pip mode for ios but it seems will take longer.
I've found two solutions.
First is translating this solution from official jitsi from swift to objective c
https://github.com/jitsi/jitsi-meet/blob/master/ios/sdk/src/picture-in-picture/PiPViewCoordinator.swift
Second is implementing this framework in the plugin
https://github.com/Kofktu/PIPKit
As told in my last message, jitsi leave wants the developer to implement his own NATIVE implementation for PIP.
Jitsi Meet SDK doesn't use Picture in Picture capability.

hi @Zeno97, any update ?

In this period I'm busy with work. If you need it ASAP you should fork and try to solve it yourself following my analysis in the last comment

thks


[Draft] Try to fix problems with unescaping values.

This is a test branch to check if another change might fix the problem.

:boom: Acceptance test localApiTests-apiGraph-ocis failed. Further test are cancelled...

This is looking good:
runsh: There were no unexpected failures.
runsh: Total unexpected passed scenarios throughout the test run:
apiGraph/deleteGroup.feature:49
apiGraph/deleteGroup.feature:50
apiGraph/deleteGroup.feature:51
apiGraph/editGroup.feature:25

@Excds Seems we can remove some items from the expected failures list ;-)


Create test.md

test

@devops-devdocs import the pr

@devops-devdocs import the pr

Something went wrong

@devops-devdocs import the pr

Something went wrong

@devops-devdocs import the pr

@devops-devdocs imported this pull request


Training step takes too much memory(RAM)

Hi. Im having trouble when training Faster RCNN with my own dataset.
First I doubted that my dataset is erroneous. But until last week it has been trained well with it. And training with PASCAL07 also leads to same error. The error is like below.

It says the process is killed by OS so i checked the situation using 'dmesg -t' command

Yeah its an out of memory issue as i expected. My computer is sever so having huge memory(187Gb). But memory usage of FRCNN training incrementally gets bigger and takes all of it. Then killed by OS.

The batch size is only 1 and I cannot assume which part of the training step takes huge memory(nearly 188Gb of RAM).
Is there anyone who can address this issue and give me a solution?
Thanks.
P.S. It sometimes starts training and stops randomly in specific epoch(ex. epoch 22,000) with same error.

The problem was related to my tensorflow and CUDA version. I previously used tf-1.6 and CUDA-8.0. After changing to tf-1.12 and CUDA-9.0, the problem was gone.


Document open source workload generators (YCSB and Sysbench)

Database evaluators are using familiar and widely available workload generators.  Often, scalability test is conducted with YCSB and Sysbench.
A common evaluation progression is to get familiar with the products by testing in a local environment.  Next step is a scale out testing in clouds or on-prem.  The final step might be to produce a scalability curve.
The scalability curve typically show control on the x-axis which is usually the concurrency.  The results on the y-axis are TPS and response time.  On the infrastructure resource, CPU, RAM, IOPS, IO bandwidth, IO service queue  and Network bandwidth.  Most workloads are bound by CPU and RAM.  Write heavy workloads (insert, delete, updates) are bound by IOPS and IO bandwidth.   When the concurrency is push high in presence of resource limits, the TPS will start to drop.   TPC-C blog demonstrates this with .
Typical components necessary are workload generator, load balancer, database.  The components  can be single instance or distributed.  Single instance is common as it is easier test when they don't consume a lot of resource; however, distributed is necessary at extreme concurrency and scale. Below are detailed notes on configuring the workload generators.

workload
single instance
distributed
geo partitioned

sysbench
https://github.com/cockroachdb/docs/issues/4221
https://github.com/cockroachdb/docs/issues/4222
N/A

ycsb
https://github.com/cockroachdb/docs/issues/4350
https://github.com/cockroachdb/docs/issues/4436
https://github.com/cockroachdb/docs/issues/3574

@johnrk, @mwang1026, @rmloveland, closing this for now. If this topics comes out of your Product Areas' problems to solve or priorities in the future, we can create a new issue with more context.


Style/StderrPuts isn't the same thing when there is no message

Expected behavior
Not to replace $stderr.puts (with no argument) with warn (with no argument) because they don't do the same thing - the former prints a new line, the latter prints nothing.
Actual behavior
$stderr.puts (with no argument) is replaced with warn (with no argument).
Steps to reproduce the problem
A file with just $stderr.puts (with no argument) in, compared to a file with just warn (with no argument) in. They don't do the same thing, but Rubocop suggests I swap from the former to the latter, and does so automatically if asked to fix.
This breaks real specs I have.
RuboCop version
$ rubocop -V
0.63.1 (using Parser <IP_ADDRESS>, running on ruby 2.6.1 x86_64-darwin18)

I think this is also a ruby bug and filed an issue about it to: https://bugs.ruby-lang.org/issues/15596
> warn
=> nil
> warn nil

=> nil

Kernel#warn is written in C and does not act like a regular Ruby method that would have been defined as def warn(msg = nil) if it was Ruby.
It's still a rubocop bug for TargetRubyVersions that do not have a fix for it (which is all versions until it's fixed at some point)

I think it's more like
def self.warn(*messages)
  messages.each do |m|
    $stderr.puts m
  end
end

Which is why it doesn't print anything for no message.

I'm going to take a look at this issue and see if I can help ;)

Thank you very much!


Configuration idea

How would you feel about making configuration not global as it is now, I mean something resembling snap's. Reason why I am asking is because I want to adjust size of floating window depending on size of nvim itself. I am not talking about percentages of window but different values depending on main window's size.
At the moment it seems like whatever gets set up during setup() call just stays.
Also, for some reason that takes up the whole screen (this is code without conditional values for different screen sizes):
win_width = math.floor(vim.o.columns - (vim.o.columns * 2 / 5)),
win_height = math.floor(vim.o.lines - (vim.o.lines * 1 / 3)),

Currently the code is indeed percentage of columns and lines, however you can set winopts per provider, take a look at how I set the colorscheme provider to a much smaller window. As you can see below it has it's own winopts structure with different values (as well as s callback to reset my statusline colors).
Let me know if this is not sufficient and we will work something out.
colorschemes = {
    prompt            = 'Colorschemes❯ ',
    live_preview      = true,
    actions = {
      ["default"]     = actions.colorscheme,
      ["ctrl-y"]      = function(selected) print(selected[2]) end,
    },
    winopts = {
      win_height       = 0.55,
      win_width        = 0.30,
      window_on_create = function()
        vim.cmd("set winhl=Normal:Normal")
      end,
    },
    post_reset_cb    = function()
      require('feline').reset_highlights()
    end,
  },

Thanks for doing back with that suggestion, unfortunately that will not work for my use case. Apologies if I wasn't clear enough earlier.
What I want is something like this:
  local width = math.floor(columns - (columns * 2 / 5))
  local height = math.floor(lines - (lines * 1 / 3))

  -- Increse size in smaller terminal windows.
  if columns < 120 then
    width = math.floor(columns - (columns * 1 / 5))
  end

That is currently not possible. And what I mean is that it will never change after initial setup() call, will it?

win_opts_raw solves it! :) Thanks!

You already saw it lol, I wanted to send you a completed function based on your numbers, I just tested this and it works :-)
  winopts_raw = function()
    local width = math.floor(vim.o.columns * 0.60)
    local height = math.floor(vim.o.lines * 0.65)
    local row = math.floor((vim.o.lines - height) * 0.50)
    local col = math.floor((vim.o.columns - width) * 0.50)

    print(width, height, row, col)

    -- Increse size in smaller terminal windows.
    if vim.o.columns < 120 then
      -- width = math.floor(vim.o.columns * 0.85)
    end

    return {
      height = height,
      width = width,
      row = row,
      col = col,
      border = true,
      window_on_create = function() end
    }
  end

Haha, indeed, do you think there would be nice solution, or if you would want to do that at all, to still applying window_on_create separately to winopts_raw? I am reusing function that generates those parameter in there plugins and having window_on_create in there does not feel right as it is not one of expected parameters.
One solution I see is extracting passed parameters here
https://github.com/ibhagwan/fzf-lua/blob/1cb4ae1b0ed62e127ed206c55aed181a80bfe48f/lua/fzf-lua/config.lua#L260
so it could become
  local raw = {}
  if opts.winopts_raw and type(opts.winopts_raw) == "function" then
    raw =  opts.winopts_raw()
  end

  local height = raw.height or math.floor(vim.o.lines * opts.win_height)
  local width = raw.width or math.floor(vim.o.columns * opts.win_width)
  local row = raw.row or math.floor((vim.o.lines - height) * opts.win_row)
  local col = raw.col or math.floor((vim.o.columns - width) * opts.win_col)
  local border = raw.border or opts.win_border

  return {
    -- style = 'minimal', -- pass style along from raw as well
    height = height, width = width, row = row, col = col,
    border = border,
    window_on_create = opts.window_on_create
  }
end

Above code can most likely be improved, just a sketch to give you an idea what I am thinking about.

It's a great idea, I added it as well as the options to use it's border and window_on_create vars.

Ha, awesome, it works, I did not test that code, so you might want to be bit careful there. :)
Also, just have noticed that parameters passed set up function are bit disorganised. How about grouping them into tables to give some structures and remove uglyish _ from their names?
And another point, global prompt's suffix setting? Would allow (together with above suggestion) something like:
require("fzf-lua").setup {
  ui = {
   suffix = '> ',
  },
  commands = {. -- Snap calls them `providers` afair
    files = { prompt = "Files" },
    grep = { prompt = "Rg" },
  }
}

Names and structure are just suggestions to illustrate the idea.

Ha, awesome, it works, I did not test that code, so you might want to be bit careful there. :)

It was a very simple addition but I tested it nonetheless :)

Also, just have noticed that parameters passed set up function are bit disorganised. How about grouping them into tables to give some structures and remove uglyish _ from their names?

Probably not a bad idea, I’m gonna let it run like this for a while until I finish all the other providers and maybe collect more used input along the way, when the product is more complete it will probably be easier to decide on a proper convention, I’d hate to introduce breaking changes on day one.


Swap nodes in pair

Given a linked list, swap every two adjacent nodes and return its head. You must solve the problem without modifying the values in the list's nodes (i.e., only nodes themselves may be changed.)

pls assign me this i can do it in c++


Add custom gate support to latex circuit drawer

Summary
This commit adds support to the latex circuit drawer backend to draw
custom gates. Currently when a circuit with a custom element is passed
into the latex circuit drawer it is silently ignored and not drawn. This
supports a custom gate with any number of qubits. This also has a bonus
effect if there was a standard gate which wasn't accounted for in the
latex drawer (we've had bugs like this in the past, see #1880) this will
also fix that for us, assuming the node name matches the expected gate
name (which isn't always the case). The only limitation with this is that
it doesn't support conditionals on the custom gates, which is a limitation
with the upstream qcircuit library for right now (we can prioritize adding it
for a future release if it's important).
Details and comments
Fixes #1942
This depends on #1816 to be usable, but is a standalone improvement and
won't effect anything by itself.

Testing this with #1816 locally by running a script like:
from qiskit import QuantumRegister
from qiskit import QuantumCircuit
from qiskit.circuit import Gate

q = QuantumRegister(3)
circ = QuantumCircuit(q)
my_gate = Gate(name='CustomGate', num_qubits=2, params=[])
circ.append(my_gate, [q[0], q[1]])
circ.append(my_gate, [q[1], q[2]])
circ.draw(output='latex', filename='/tmp/foo.png')

yields a png file like:

I noticed a couple bugs here when I tweaked your example:
1- It can't draw gates on non-adjacent wires
from qiskit import QuantumRegister
from qiskit import QuantumCircuit
from qiskit.circuit import Gate

q = QuantumRegister(3)
circ = QuantumCircuit(q)
my_gate = Gate(name='CustomGate', num_qubits=2, params=[])
circ.append(my_gate, [q[0], q[2]])
circ.draw(output='latex', filename='/tmp/foo.png')

2- It can't draw gates when qubit 0 has a higher index than qubit 1. In #1939, I suggested putting a small number at the input so it's clear which wires the gate is attached to, and in which order.
from qiskit import QuantumRegister
from qiskit import QuantumCircuit
from qiskit.circuit import Gate

q = QuantumRegister(3)
circ = QuantumCircuit(q)
my_gate = Gate(name='CustomGate', num_qubits=2, params=[])
circ.append(my_gate, [q[1], q[0]])
circ.draw(output='latex', filename='/tmp/foo.png')

Ok, I can fix the second case pretty easily and will push a fix for that shortly (to draw the box correctly only).
But, to fix the first one and the add the numbers to the gate (which is really necessary to fix it, otherwise it'll just look like a 3 qubit gate) I think I'll have to modify the upstream qcircuit library to accomplish that. I don't believe there is a method to annotate the inputs in the latex as we generate it today and visualize that as you suggested in #1939 .

I would say that for the first one at least fix the range so that the box draws on the right wires (even if it looks like a 3-qubit gate for now). I agree that adding the little numbers inside the box are harder and can leave that for a follow-up PR.

@ajavadia ok I think I fixed the cases you outlined with: https://github.com/Qiskit/qiskit-terra/pull/2049/commits/20e4c0bfdbf53b93cacb3774d97dbbef0f120a73 but can you test it further. I'm sure there are more edge cases in there.

@mtreinish works well! There are just some print statements in there that you have to remove.
I'll make a follow up issue for numbering the active wires.


Grafana dashboards for Oracles

Create first iteration of Grafana dashboards for Oracles

There will be several learning curves with this task:

Prometheus semantics
Grafana expressions, builder UI and creating/modifying Dashboards

Modelling new dashboards somewhat off of router-prod

Exported JSON seems more comprehensive than version in router git repo
Beware that router uses legacy "Grafana alerting" yet new ones should use v9.0 or higher

Use metrics collected from 2 hosts via Prometheus
Alarms beyond flatline detection will be a future effort, because we'll want to watch and discover thresholds
See also: (thanks Jon!)

https://promlabs.com/promql-cheat-sheet/
https://prometheus.io/docs/prometheus/latest/querying/basics/
https://grafana.com/docs/grafana/latest/alerting/

Tasks / new dashboards:

[ ] speed test
[ ] heartbeat
[ ] gPRC connections
[ ] emission
[ ] last reward height of blockchain
[ ] processed files
[ ] connection count
[ ] gateway duration
[ ] Track when any of those sustains a flatline, but trigger an alarm only once per group per host

Dashboards exist for mainnet and devnet, which may be extended once a new chart has been exercised in an Explore sandbox.  Some items in the description already exist.
Additional resources for useful graphs and understanding existing router-prod dashboard expressions:

https://prometheus.io/docs/practices/histograms/
https://www.robustperception.io/rate-then-sum-never-sum-then-rate/

Note that Prometheus performs bucketing, quantiles (e.g., quartiles, percentiles), etc., so approach can differ compared to other monitoring and dashboard systems.

Attempting to use router-prod Grafana dashboard as a reference for making new charts leads to an impedance mismatch due to different types of metrics collected.  Where router makes heavy use of Labels in Prometheus, there are none yet with Oracles.
Some metrics available in Prometheus for Oracles still have no data or constant stream of zeros.  That hinders experimentation for finding an adequate charting recipe.

Attempting to use router-prod Grafana dashboard as a reference for making new charts leads to an impedance mismatch due to different types of metrics collected. Where router makes heavy use of Labels in Prometheus, there are none yet with Oracles.
Some metrics available in Prometheus for Oracles still have no data or constant stream of zeros. That hinders experimentation for finding an adequate charting recipe.

time to find out why those are zeros!
do we need to add labels to the metrics used in oracles to make it easier to slice and dice?

time to find out why those are zeros!

Not all metrics are zeroed, so there's no infrastructure or connection issue.  For now, it seems we have too little data flowing from too few metrics, since the Rust code makes only light use of reporting metrics.  As I'm reviewing the various PRs, I hope to have meaningful recommendations for what & where to add metrics but still getting my head around all the various members within oracles repo.  But don't want to get pulled in too many directions.

do we need to add labels to the metrics used in oracles to make it easier to slice and dice?

Not yet.  For router labels were for things like classifying reasons for packet rejection.

For monitoring traffic and health of handling that traffic, let's emit via prometheus:

Count of txn/submits per input file ingested; e.g., poc_iot_injector_txn_total
Label each with status=ok or simple reason for failure; e.g., status=unexpected-eof
existence of that metric also gives timestamp of opening new input, which we can track

Tracking duration of handling each item of input probably not as useful
as for websites with 2s requirements.
However, some indication of timeliness or "aliveness"
helps track sluggish services and abuse-detection.
while items above track how much goes in, how much goes out
let's track how much time/work gets spent in between:

Gauge exercising/allocating key resources: ..._cache_miss_total (i.e., wallet pubkey lookups)
we already have reward_server_emission_duration, reward_server_processed_files and status_server_get_gateway_duration
"To pick between counter and gauge, there is a simple rule of thumb:
if the value can go down (other than reset to 0), it is a gauge."

Definitely requires discussion:

Gauge overall rewards & debits: ..._rewards, ..._debits per input file

or a proxy for number of gateway wallets touched, etc.

Notes from Learning Grafana + Prometheus will be cleaned and published somewhere relevant but stashed as a Gist while in rough outline form.


Fix fake4swift duplicate symbol warnings

Xcode always statically links the Swift stdlib into CLI applications. Combined with the dynamically-linked stdlib loaded by the various frameworks leads to these warnings about two instances of these symbols existing in the process.
This PR works around that problem by building fake4swift as a Mac app, which dynamically links the stdlib, and then copying the binary and embedded frameworks out of the .app and into the installation directory. This technique was first (AFAICT) popularized by Carthage (see https://github.com/Carthage/Carthage/pull/16 or https://github.com/Carthage/Commandant/issues/28), which has a similar setup.

This is awesome!


Question: List of all available device channels

Hi Alex,
first of all: Love the great work you put into that project, realizing my first smart home here :)
I have got a general question about the integration between the CCU and OpenHab (since you mentioned that in your talk at the user forum I thought maybe you can point me in the right direction here, being a CCU expert, otherwise just close the issue ;) ).
I have some devices (currently looking at the weather station in particular) that are exposing information to the CCU, which are not discovered in the PaperUI of OpenHab (It is only showing me the Humidity part, but not all the other metrics available). I was wondering if you are aware of any documentation, where all available metrics/channels are listed, or if there is a possibility to display them either through the CCU webinterface or your pivCCU CLI. Through trial-and-error I was able to put together some others but still missing a few. That tells me that there is no support and just a discovery issue.
(Only the first channel shows up in the PaperUI)
Number AB_S_Wetter_Humidity "Außenluftfeuchtigkeit" (AB_Klima) {channel="homematic:HmIP-SWO-PL:OEQ0610217:00181709ADB464:1#HUMIDITY"}
Number AB_S_Wetter_Illumination "Außenhelligkeit" (AB_Klima) {channel="homematic:HmIP-SWO-PL:OEQ0610217:00181709ADB464:1#ILLUMINATION"}
Contact AB_S_Wetter_Raining "Regenfall" (AB_Klima) {channel="homematic:HmIP-SWO-PL:OEQ0610217:00181709ADB464:1#RAINING"}
Number AB_S_Wetter_Raincounter "Regenmenge" (AB_Klima) {channel="homematic:HmIP-SWO-PL:OEQ0610217:00181709ADB464:1#RAIN_COUNTER"}
Number AB_S_Wetter_SunshineDuration "Sonnendauer" (AB_Klima) {channel="homematic:HmIP-SWO-PL:OEQ0610217:00181709ADB464:1#SUNSHINEDURATION"}
Number AB_S_Wetter_WindSpeed "Windgeschwindigkeit" (AB_Klima) {channel="homematic:HmIP-SWO-PL:OEQ0610217:00181709ADB464:1#WIND_SPEED"}

Hope you can give me a tip here.
Thanks again and all the best!

Maybe the official documentation of eQ-3 helps:
https://www.eq-3.de/Downloads/eq3/download bereich/hm_web_ui_doku/HM-Script_4-Datenpunkte.pdf
https://www.eq-3.de/Downloads/eq3/download bereich/hm_web_ui_doku/HmIP_Device_Documentation.pdf
And you could use the the devconfig inside the CCU WebUI:
https://homematic.simdorn.net/verstecktes-config-tool/
(Parts of the links are german speaking, but reading your thing descriptions, I assume this is no problem for you.

Yes, the hidden devconfig is exactly what I am looking for. It shows me all channels and metrics. Not pretty but very functional. Thanks so much!


'ccordova' is a typo

changed ccordova to cordova

@fanfare sorry for the delay in responding to you! Thank you very much for your pull request. This change had already been applied between the time you opened the PR and we got to merging it. However I've taken your change and applied it across all docs, so that now there are no more mentions of ccordova anywhere. :) Thank you again for contributing!


Tooltip has trouble displaying floating point values. Shows expanded decimal instead of rounded.

For example I set a range from 1 to 1.4 and at certain increments the tooltip will display 1.3800000000000001

Got the same issue with a range from 0.3 to 5, with 0.1 increments: some values are not rounded properly. For example, 0.9 becomes 0.9000000000000001


Support for webpack4

This PR also includes #60, it was built on top of it.
v3.0.0
Support for previous versions of webpack is dropped because the new plugin api is not backwards-compatible.

Looks good, perhaps adding a dist-tag of "next" so we can test this.
https://docs.npmjs.com/getting-started/using-tags


Indicate to users when there is no data for an Declarative UI plot to display

Can possibly indicate this by graying out the chart background and adding a 'No Data' label in the middle.

@Rastalamm Is this related to your work?

@twojtasz - Yes

Fixed in 361


Disable swipe to dismiss in UITextView

Hello Ivan, can I disable swipe to dismiss when swiping in UITextView? I mean disable swipe to dismiss for specific view and keep it for other views in the view controller.

Please, describe more. I don't understand

@fawzirifai maybe issue not actual?


Support abstract types

Pull Request Test Coverage Report for Build 364279078

68 of 76 (89.47%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.06%) to 88.91%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cmd/protoc-gen-graphql/gqls/input_object_type.go
17
19
89.47%

cmd/protoc-gen-graphql/gqls/object_type.go
16
18
88.89%

cmd/protoc-gen-graphql/gqls/union_type.go
20
24
83.33%

Totals

Change from base Build 363856416:
0.06%

Covered Lines:
1387

Relevant Lines:
1560

💛  - Coveralls


[Bug] importlib.metadata.PackageNotFoundError: megatron-lm

System Info
p.s. `accelerate env` crashes.

You only need the latest accelerate commit b816e258a95904736c8e3a5a2b14a18d5f407f4a.

Information

[X] The official example scripts
[ ] My own modified scripts

Tasks

[X] One of the scripts in the examples/ folder of Accelerate or an officially supported no_trainer script in the examples folder of the transformers repo (such as run_no_trainer_glue.py)
[ ] My own task or dataset (give details below)

Reproduction

Clone Megatron-LM.
Add the path of Megatron-LM to PYTHONPATH.
import accelerate.

Expected behavior
`accelerate` should not crash.

With https://github.com/huggingface/accelerate/pull/755, accelerate checks whether `megatron` is available.
However, once it is available, accelerate loads `megatron-lm`.

Error message:

Traceback (most recent call last):
  File "/home/ubuntu/workspace_hf/transformers/src/transformers/utils/import_utils.py", line 1063, in _get_module
    return importlib.import_module("." + module_name, self.__name__)
  File "/home/ubuntu/anaconda3/envs/hf-bench-env/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/ubuntu/workspace_hf/transformers/src/transformers/modeling_utils.py", line 39, in <module>
    from .deepspeed import deepspeed_config, is_deepspeed_zero3_enabled
  File "/home/ubuntu/workspace_hf/transformers/src/transformers/deepspeed.py", line 38, in <module>
    from accelerate.utils.deepspeed import HfDeepSpeedConfig as DeepSpeedConfig
  File "/home/ubuntu/workspace_hf/accelerate/src/accelerate/__init__.py", line 7, in <module>
    from .accelerator import Accelerator
  File "/home/ubuntu/workspace_hf/accelerate/src/accelerate/accelerator.py", line 27, in <module>
    from .checkpointing import load_accelerator_state, load_custom_state, save_accelerator_state, save_custom_state
  File "/home/ubuntu/workspace_hf/accelerate/src/accelerate/checkpointing.py", line 24, in <module>
    from .utils import (
  File "/home/ubuntu/workspace_hf/accelerate/src/accelerate/utils/__init__.py", line 100, in <module>
    from .megatron_lm import (
  File "/home/ubuntu/workspace_hf/accelerate/src/accelerate/utils/megatron_lm.py", line 38, in <module>
    if is_megatron_lm_available():
  File "/home/ubuntu/workspace_hf/accelerate/src/accelerate/utils/imports.py", line 96, in is_megatron_lm_available
    megatron_version = parse(importlib_metadata.version("megatron-lm"))
  File "/home/ubuntu/anaconda3/envs/hf-bench-env/lib/python3.8/importlib/metadata.py", line 530, in version
    return distribution(distribution_name).version
  File "/home/ubuntu/anaconda3/envs/hf-bench-env/lib/python3.8/importlib/metadata.py", line 503, in distribution
    return Distribution.from_name(distribution_name)
  File "/home/ubuntu/anaconda3/envs/hf-bench-env/lib/python3.8/importlib/metadata.py", line 177, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: megatron-lm

cc @pacman100

Hello @comaniac, could you please try the installing the Megatron-LM as explained in the pre-requisites section of the usage guide https://huggingface.co/docs/accelerate/main/en/usage_guides/megatron_lm#prerequisites. Let us know if that solves the issue.

btw, I just found that the Megatron-LM installed with pip install git+https://github.com/huggingface/Megatron-LM.git failed to work with PyTorch nightly:
Python 3.8.13 (default, Mar 28 2022, 11:38:47)
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.__version__
'1.14.0.dev20221102+cu117'
>>> import accelerate
Wandb import failed
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ubuntu/workspace_hf/accelerate/src/accelerate/__init__.py", line 7, in <module>
    from .accelerator import Accelerator
  File "/home/ubuntu/workspace_hf/accelerate/src/accelerate/accelerator.py", line 27, in <module>
    from .checkpointing import load_accelerator_state, load_custom_state, save_accelerator_state, save_custom_state
  File "/home/ubuntu/workspace_hf/accelerate/src/accelerate/checkpointing.py", line 24, in <module>
    from .utils import (
  File "/home/ubuntu/workspace_hf/accelerate/src/accelerate/utils/__init__.py", line 100, in <module>
    from .megatron_lm import (
  File "/home/ubuntu/workspace_hf/accelerate/src/accelerate/utils/megatron_lm.py", line 39, in <module>
    from megatron import (
  File "/home/ubuntu/anaconda3/envs/hf-bench-env/lib/python3.8/site-packages/megatron/__init__.py", line 27, in <module>
    from .initialize  import initialize_megatron
  File "/home/ubuntu/anaconda3/envs/hf-bench-env/lib/python3.8/site-packages/megatron/initialize.py", line 37, in <module>
    from megatron.checkpointing import load_args_from_checkpoint
  File "/home/ubuntu/anaconda3/envs/hf-bench-env/lib/python3.8/site-packages/megatron/checkpointing.py", line 28, in <module>
    from .utils import (unwrap_model,
  File "/home/ubuntu/anaconda3/envs/hf-bench-env/lib/python3.8/site-packages/megatron/utils.py", line 24, in <module>
    import amp_C
ImportError: libtorch_cuda_cu.so: cannot open shared object file: No such file or directory

Hello, the above PR should resolve the issue of checking Megatron-LM when it is only put in PYTHONPATH without it being launched. By the way, feel free to try out Megatron-LM integration in Accelerate which makes it super easy to use with minimal code changes to existing scripts for BERT, GPT and T5 models. Also, the above error ImportError: libtorch_cuda_cu.so: cannot open shared object file: No such file or directory might be because of -> Cuda extensions are being compiled with a version of Cuda that does not match the version used to compile Pytorch binaries. I was able to reproduce above error when the bare metal cuda was 11.0 and I installed PyTorch 1.13.0 compiled with CUDA 11.6.

@pacman100 thanks for the PR. The fix looks good to me.
I know that the import error was due to inconsistent CUDA versions and it happens to official Megatron too. However, the official Megatron doesn't provide wheels so everyone has to build from source, which eliminates this issue as it always builds the extension based on the current installed PyTorch. I would suggest not releasing pre-built .so library but directly building it from source at the moment of first initialization, just like what Megatron does.


Adding mapping for Soulless-AI

stakePoolAddress is currently devnet. Will PR later for mainnet address.

Hey @c4sp3r-sol, you sure you don't want to specify ReceiptType for your pool? Basically setting this will remove the option for the user to choose which receipt type to use


Document VSC procedure to do a safe Github merge

When multiple people are doing concurrent development, you need to make sure your origin merges use the latest code, and not the snapshot you took when you started your branch.
We have procedures documented to do this using the a combination of the Github browser interface and a terminal console:
https://va3wam.github.io/versionControl/
but not one within the VSC environment, which has become our standard.
According to a website I found:
BEFORE VS Code 1.48, VS Code Source Control has no UI for merging branches.
reference: https://code.visualstudio.com/updates/v1_48#_git-overflow-menu-cleanup
However you can now do this, and I think the following steps are equivalent:

make sure all the changes in your branch are staged and committed locally
depending on your confidence level and experience with git, make backups of your changed source files
click on branch name at bottom left of VSC window, and checkout the local main or master branch
in source control, click the ellipsis at the top, then on "pull" on the resulting popup
click on the branch name (main or master) in the bottom left and select your branch
in source control, click the ellipsis, then on "checkout to", then your branch name
in source control, click the ellipsis, then "Branch" then "Merge Branch", then main or master
( we could push the updated branch to origin, but that will be done for us as part of Pull Request)
in source control, click the complicated icon to the right of the check mark to initiate a pull request
enter a brief description, and click on the blue "Create" button
you may get a message saying there's no upstream branch mirroring yours.  Click the "Publish branch" button to have it done for you.
A Pull Request form will appear at the top of the right VSC pane. If the "Close Pull Request" button isn't visible at the bottom, lower the pane boundary until you can see it all.
ideally, the branch has no conflicts with the base branch. Otherwise, you need to fix that first.
add comments in the "Leave a comment" box near the bottom if you wish
click on the blue "Merge Pull Request" button
click on the blue "Create Merge Commit" button
click on the "Delete branch..." button
at the top, click the blue "OK" to clean up both local and remote copies of the branch
close the Pull request window
in the bottom left corner, click the circle-with-arrows icon just to the right of "main" or "master", which will update the copy on your PC
click OK on the popup window warning that this will push and pull commits
if you're prone to making source changes before you create a branch, prevent that by opening a "I won't use this" branch now,
which you can delete when you remember to open a branch properly. I call these "safety-n".
if you're sceptical, use your browser to go to git and verify that your changes are there

I have used the above procedure successfully.

guess we need to do overlapping Github uploads to test this before I can close the ticket.

OK, we can do that when we meet up own Sunday.  You seem to be making great progress on all of this!

On Feb 9, 2022, at 4:32 PM, Doug Elliott VA3DAE @.***> wrote:
guess we need to do overlapping Github uploads to test this before I can close the ticket.
—
Reply to this email directly, view it on GitHub https://github.com/va3wam/hexBot/issues/141#issuecomment-1034211751, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH7ZQV3PKSABRIQJDRL7TNDU2LMPTANCNFSM5NYMKVFA.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.


⚠ ClamAV has degraded performance

In 6cc0cca, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 74 ms

Resolved: ClamAV performance has improved in e70d548 after 5 minutes.


[BUG] SageMaker p3.16xlarge failure on running HuggingFace tutorial: FAILED: multi_tensor_adam.cuda.o

Describe the bug
I am trying to reproduce the HuggingFace + DeepSpeed https://huggingface.co/transformers/main_classes/deepspeed.html  training example on a SageMaker p3.16xlarge instance (8 Tesla V100s) . However, we cannot seem to fix a FAILED: fused_adam_frontend.o  and FAILED: multi_tensor_adam.cuda.o issues. It may also be related to our gcc version (?):
Your compiler (c++ 4.8.5) may be ABI-incompatible with PyTorch!
Please use a compiler that is ABI-compatible with GCC 5.0 and above.

We have tried to install deepspeed from:

pip install deepspeed
DS_BUILD_OPS=1 pip install deepspeed --global-option="build_ext" --global-option="-j8"
From source following this guide: https://www.deepspeed.ai/tutorials/advanced-install/#install-deepspeed-from-source

Unfortunately for security reasons, we do not have access to the root of this instance, so we cannot directly upgrade the CUDA/gcc version, which seemed to work for these related issues: https://github.com/microsoft/DeepSpeed/issues/694 and https://github.com/microsoft/DeepSpeedExamples/issues/85, among others.
To Reproduce
Steps to reproduce the behavior:

Spin up Amazon EC2 p3.16xlarge instance
Install and setup tutorial example: https://huggingface.co/transformers/main_classes/deepspeed.html
run translation.py

Expected behavior
A very fast training time. Using python -m torch.distributed.launch without DeepSpeed runs as expected in our environment.
ds_report output
--------------------------------------------------
DeepSpeed C++/CUDA extension op report
--------------------------------------------------
NOTE: Ops not installed will be just-in-time (JIT) compiled at
      runtime if needed. Op compatibility means that your system
      meet the required dependencies to JIT install the op.
--------------------------------------------------
JIT compiled ops requires ninja
ninja .................. [OKAY]
--------------------------------------------------
op name ................ installed .. compatible
--------------------------------------------------
cpu_adam ............... [NO] ....... [OKAY]
fused_adam ............. [NO] ....... [OKAY]
fused_lamb ............. [NO] ....... [OKAY]
sparse_attn ............ [NO] ....... [OKAY]
transformer ............ [NO] ....... [OKAY]
stochastic_transformer . [NO] ....... [OKAY]
 [WARNING]  async_io requires the dev libaio .so object and headers but these were not found.
 [WARNING]  async_io: please install the libaio-devel package with yum
 [WARNING]  If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variablesto where it can be found.
async_io ............... [NO] ....... [NO]
transformer_inference .. [NO] ....... [OKAY]
utils .................. [NO] ....... [OKAY]
quantizer .............. [NO] ....... [OKAY]
--------------------------------------------------
DeepSpeed general environment info:
torch install path ............... ['/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/torch']
torch version .................... 1.9.1+cu102
torch cuda version ............... 10.2
nvcc version ..................... 10.0
deepspeed install path ........... ['/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/deepspeed']
deepspeed info ................... 0.5.4+c6d1418, c6d1418, master
deepspeed wheel compiled w. ...... torch 1.9, cuda 10.2

System info (please complete the following information):

8x V100s
Python 3.6.13
CUDA_VISIBLE_DEVICES=0 python -c "import torch; print(torch.cuda.get_device_capability())" -> (7, 0)
gcc (GCC) 4.8.5

Launcher context
deepspeed run_translation.py \
    --deepspeed ds_config.json \
    --model_name_or_path t5-small --per_device_train_batch_size 1   \
    --output_dir output_dir --overwrite_output_dir  \
    --do_train --max_train_samples 500 --num_train_epochs 1 \
    --dataset_name wmt16 --dataset_config "ro-en" \
    --source_lang en --target_lang ro

Exactly!

@philschmid , @jeffra , and @tjruwase , thank you for the help! Spinning up an instance with AL2 worked perfectly. You are all wizards of the highest order.

have the same bug, so how to solve the problem ?


Load tests on L1, L2, L3, L4 modules which depend on http cannot use the intermediate pack for tests

Description:
$subject

We cannot use nightly build pack as the pack does not include the newest changes done to the module(since we are planning to do load tests for each PRs in the future).

Decided to use nightly version until the GA release. Then we can use the released http module as a fixed dependency


typoModify error parameter settings in tpch-doc

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Unable to maximize windows on Windows 10

OS: Windows 10 64 bit.
Release: GLFW 3.3
Compiled with Visual Studio 2019 16.4.1
Error logs: The program reports no errors.
Setting glfwWindowHint(GLFW_MAXIMIZED, GLFW_TRUE) or calling glfwMaximizeWindow(window) does not cause the window to be maximized. Instead, the window retains the size it was given upon creation. Below is a minimum working example that shows the problem:
#include <GL/gl3w.h>
#include <GLFW/glfw3.h>

#include <iostream>

void onError(int code, char const* message)
{
   std::cout << "error (" << code << "): " << message << std::endl;
}

int main()
{
   glfwSetErrorCallback(onError);
   glfwInit();

   glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4);
   glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 5);
   glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
   glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GLFW_TRUE);
   glfwWindowHint(GLFW_RESIZABLE, GLFW_TRUE);

   // This does not work, the window is shown not maximized.
   glfwWindowHint(GLFW_MAXIMIZED, GLFW_TRUE);

   GLFWwindow* window = glfwCreateWindow(500, 500, "Demo", nullptr, nullptr);
   glfwMakeContextCurrent(window);
   glfwSwapInterval(1);

   gl3wInit();

   // This does not work either.
   glfwMaximizeWindow(window);

   while (!glfwWindowShouldClose(window))
   {
      int width, height;
      glfwGetFramebufferSize(window, &width, &height);
      glViewport(0, 0, width, height);
      glClearColor(0, 0, 0, 0);
      glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

      glfwSwapBuffers(window);
      glfwPollEvents();
   }

   glfwDestroyWindow(window);
   glfwTerminate();
}

If you require any further information please let me know.

Thank you for an excellent bug report! This should be the same issue that was fixed with #1499. The fix is in master. In the meantime on version 3.3 maximization with glfwMaximizeWindow should work again if you remove the window hint.

Thanks for the quick reply! I can confirm that this solves the issue and I'll update my GLFW versions accordingly. Thanks!


Moving existing media to cloud storage

Has anyone come up with a way to get existing media over to cloud storage? I've started working on a TSV generator script to do the transfer but nothing is transferring, still trying to figure out a way to get a TON of media files on there. Any suggestions?

Did you try the stateless sync feature under the 'Tools' menu? It will regenerate all the thumbnails, upload them into GCS, and update the file-paths to point to the GCS urls on the library objects. Works on images and non-images.

Tried it but nothing transferred. The site is behind basic authentication,
could that be why it failed?
On May 20, 2016 12:58 PM, "Eric Sopp"<EMAIL_ADDRESS>wrote:

Did you try the stateless sync feature under the 'Tools' menu? It will
regenerate all the thumbnails, upload them into GCS, and update the
file-paths to point to the GCS urls on the library objects. Works on images
and non-images.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/wpCloud/wp-stateless/issues/33#issuecomment-220675963

I disabled basic authentication, but this is what I get when I try: http://3cd.co/2v1s12140Y0Q

Still researching this, I think I'm having disk space issues which is why the query to fetch the images is throwing an error. I'll update if this is an issue on my end.

Hello, solepixel
Do you have feedback? I will close this issue here. If you will have questions or suggestions, please use following contact form
https://www.usabilitydynamics.com/contact-us
or our user feedback forum here
http://feedback.usabilitydynamics.com/forums/353541-wp-statless


How could I fix the error on COLIAGE Texture Radiomics?  + Additional question for radius

Hello, I'm Yaewon Park.

Sorry for bugging you again and asking you questions..

After your help (thank you!) , I successfully installed COLIAGE extension in the 3D slicer program.
However, after executing the program with a T1C.nii.gz image file and an input ROI mask, there's still an error,

Input : Patientno_T1C.nii.gz (which is a normal nii.gz file, working well on other packages)
Input mask: Patientno_T1C.nii.gz-label (ROI label file in 3D slicer)

Output image: Output image (creating new output image)
Radius: 5 (tried a few other radius such as 2 or 10)

After execution, there's an error message saying:
COLIAGE Texture Radiomics standard error:
PARSE ERROR:
One or more required arguments missing!
Brief USAGE:
For complete USAGE and HELP type:
C:/Program Files/Slicer 4.11.0-2018-11-02/bin../lib/Slicer-4.11/cli-modules/CLIMOdule_ColiageFilter.exe --help
-> How can I solve this problem? what is the reason of the error?
(Because I couldn't upload the capture file in this issue forum, I uploaded the caputure image showing the erro in another site and here's the link:
https://www.evernote.com/Home.action?login=true#n=b1bcbf51-06de-485f-8c3b-777f1c1a1f1a&s=s684&ses=4&sh=2&sds=5& )
Thank you again for your help. :D

Which is the optimized set for radius?
I think there's probably no standard radius for radiomics texture analysis and you have to try multiple bins and compare the performance.
Is this right? Or is there a optimized radius you recommend?

Hi, wanted to provide an update -- we have now completely rewritten this in Python.
This new release is being more actively developed and we will be working to better integrate it with platforms such as 3D Slicer.
Please check out the repo here: https://github.com/radxtools/collageradiomics
Docker images and Jupyter notebooks are provided to make it easier to run.
Any issues you face with using/building it should be raised at the corresponding issue tracker: https://github.com/radxtools/collageradiomics/issues


Stages should support referencing of ClusterAnalysisTemplates

Proposed Feature
Today we support project (namespace) scoped AnalysisTemplates, but Argo Rollouts also has ClusterAnalysisTemplates. Currently, Kargo Stages can't reference them.
It's been requested that Stages have the ability to reference a globally defined ClusterAnalysisTemplate so that a change to the ClusterAnalysisTemplate can affect all Stages immediately.
Motivation
A Kargo operator wishes to centrally manage some verification checks that apply to all projects/stages and are not application specific.
Suggested Implementation
Introduce clusterScope: true to the template reference (matches argo-rollouts syntax)
  verification:
    analysisTemplates:
    - name: cat-fact
      clusterScope: true

NOTE: there would need to be a new UI component for this as well, since ClusterAnalysisTemplate would be managed outside of a single project.

I'd be interested in doing this, I've been wanting to take a look at another issue but not wanted to take anything that's needed quickly for the v0.9.0 since I know you are working hard to get that finished.

@BenHesketh21 it's all yours. We appreciate it!


replace eks fault injection actions based on chaos-mesh with fis-native

https://docs.aws.amazon.com/fis/latest/userguide/fis-actions-reference.html#eks-actions-reference
https://aws.amazon.com/about-aws/whats-new/2023/06/aws-fault-injection-simulator-new-actions-amazon-eks-ecs/

working on progress


[Refactor] Add Comments for Public Functions

Purpose
Added comments for chat public functions. All other public functions have been documented
Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type
What kind of change does this Pull Request introduce?

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

Pull request checklist
This PR has considered:

[ ] Color Theming
[ ] iOS supported versions (all major versions greater than or equal current target deployment version)
[ ] VoiceOver and Keyboard Accessibility
[ ] Internationalization and Right to Left layouts
[ ] Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)
[ ] View Data Injection
[ ] Demo App UI/UX update

How to Test

Open...
Click on...

What to Check

Before
After

Screenshot or description before this change
Screenshot or description with this change

Other Information

May want to hold off on this, api is still being finalized to be approved by ARB

should we have those comments in at least since they represent our API at this time?

closing this PR since there are some changes pending to our APIs