Antivirus Blocking

Hello! I know the obvious answer is "turn it off," but I'm reaching out because I encountered an issue with Apex One on my work machine. It flagged trunk.exe in .cargo/bin for "Unauthorized file encryption," labeling it as a virus that needs to be removed.
I'm not sure if this is specific to this antivirus program and if it's a significant concern. I'm a junior programmer, so please bear with me :)

I do understand the frustration of mandatory corporate IT policies from my past :)
So far, I haven't encountered such an issue. However, I am mostly on Linux anyway. Trunk indeed contains cryptography code (SSL, hashes, …)  It would be important to understand "why" it gets flagged. Having no idea about Apex One, it's hard to tell for me.
Looks like you're not alone with this: https://www.reddit.com/r/Trendmicro/comments/z2pu2a/trend_micro_apex_one_flags_dartexe_and_removes/
I am not sure how I can help.

I just passed it by installing trunk on another directory (maybe it could help someone)
cargo install trunk --root /dir
and running with
dir\bin\trunk.exe serve --open
If it's not a trouble we have to worry about, i think its solved
Thank you !! i appreciate very much the project

Thanks for reporting back with that info!


Sniper alternate class feature

What item is incorrect/missing?
The sniper alternate class feature for operative is missing the modifiers for damage and skill bonuses.
(1 - (min(1<EMAIL_ADDRESS>/ 3))))d3 + (1 +<EMAIL_ADDRESS>- 3) / 2))d6
https://www.aonsrd.com/AltClassFeatures.aspx?ID=32
0.23.0

Was closed by #1159


Enforce an empty line after render(:partail) and return

In the following line
render(:partial) and return (if/unless condition) it would be nice to have a cop to enforce an empty line, the same way we have with:
return .... if

Perhaps it can be generalized to do_something(...) and return if condition.
I think this can be suggested to RuboCop core as an extension to Layout/EmptyLineAfterGuardClause cop.


Add New Variable button doesn't

When using the software, on the Model Tab > Variable Tab, clicking the button 'add new variable' in the dialog under 'add variable' doesn't update the variable list.

There was a mix-up with EvalTab and ModelTab variables. That should all be cleaned up and working.


Fix netconf 1.1 chunk parse

I stumbled upon an issue with the current netconf 1.1 parser.
My payload contained ######## characters on a single line, which matched the pattern defined in the regex erroneously.
I added a test for it, and proposed a new implementation of the chunk matching mechanism using a basic for loop.
Since the size of the chunk is known in advance, we only need to detect the chunk marker, and consume all data up to the length of the chunk and repeat.
As a bonus, we don't need to do expensive regex on very large payloads, so we should achieve faster speeds and less memory usage.

ah very nice. I have some fear about this due to the newline shenangengins that it looks like you ran into as well :) will take a closer peak this weekend to test it out!

went through all that to make sure I understood it all! very nice solution @netixx ! I made some minor changes -- mostly just tweaking things so it fit my brain a bit better.
only meaningful change it think is that that the max chunk length check. I think we only need to check chunk lengths for up to 10 chars (that giant number from the rfc but the actual char positions in that number) -- so I changed things a bit to only check up to 10 chars. if the chunkSizeStr is empty we know we didn't find our new line and can bail out.
let me know if you're ok with these tweaks and then we can get it merged and cut another minor release!

It's all good to me, the way I was calculating the max chunk length was a bit silly indeed :)
I could test that it still works fine on my subset of devices so it ll good to go on my side!


dev documentation

The K3s team discussed recently that we may want to improve documentation for developers in K3s.

Do we just need to give BUILDING.md a lift?
Does CONTRIBUTING.md need any updates? (Any rules for PR submission, etc?)

I'd like to spend some cycles on this ASAP, as we are already overhauling some of our documentation.

@jossemargt-3pillar is currently working on this, will move to the next milestone until further notice.

Contributor documentation is already merged. Now it addresses :

Git workflow and CI
Coding conventions
Development setup and tooling involved


Fix homepage ref on npm page

When I search for this library online, the first result is an npm page which links to a github repo that is different from this one. Hence this PR fixes the mismatch.

Good catch, thank you


Configure Renovate

What this PR does / why we need it:
This PR adds a renovate config.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
The config will get evaluated once this PR is merged https://github.com/gardener/ci-infra/pull/1274
Release note:

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: petersutter:x: renovate botrenovate bot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

/close in favour of #93


Random Code Generation 🚀👀

Feel free to edit the random code that gets generated by default by I've seen a lot of code snippets like Carbon have random code snippets generate onload (for ex. ray.so) - I added that to Carbon :D
I put all the code snippets inside of an array: snippets_array, and it would generate a random one from there and display it - feel free to change it if you feel the need/leave any feedback for any improvements you feel should be needed/added! ✨
Example of a generated code snippet by random: 👇🏻

This time I made a branch for this feature :)
I'm also looking more at the issues and trying to solve some of them :D

Note: the padding/margins on the image might look weird - not sure what's going on there but when I try it on the main site: carbon.now.sh, it seems to work fine with the styling all looking good!


Add Ukraini dialog

Replaces the existing Urkaini war site with an dialog.
With this change existing PRs don't get merge conflicts like #7818 and existing links, redirects are working again.
The dialog opens only once every 24 hours.
@mourner @IvanSanchez @Malvoz do you see any problems with the usage of sessionStorage and iframe?
The changed files for the dialog are:

/SlavaUkraini/*
index.html
/_layouts/v2.html
/docs/css/main.css

Here a demo. In the demo I changed that the dialog opens every 10 seconds again (on a site change).

The change to logo-ua.png is reverting @mourner's https://github.com/Leaflet/Leaflet/commit/3f22bb87e64ea117c829a05909402321aef30532.


Support prior versions or Ruby

Removes syntax sugar usage introduced since Ruby version 2.2
Resolves #118

👀 @blankenshipz, @scotthelm

Lgtm


Failed to execute goal org.owasp:dependency-check-maven:5.1.1:check

Getting this error on -PautoInstallPackage
Failed to execute goal org.owasp:dependency-check-maven:5.1.1:check (check-dependencies-for-vulnerabilities) on project acs-aem-commons-bundle: One or more exceptions occurred during dependency-check analysis: One or more exceptions occurred during analysis:

I receive the same error when trying to mvn clean package. Downloaded and unzipped 4.3.4 source code and trying to build.
[ERROR] Failed to execute goal org.owasp:dependency-check-maven:5.1.1:check (check-dependencies-for-vulnerabilities) on project acs-aem-commons: Fatal exception(s) analyzing ACS AEM Commons - Reactor Project: One or more exceptions occurred during analysis:
[ERROR]         Failed to initialize the RetireJS repo
[ERROR]         No documents exist

unable to find valid certification path to requested target

@eberggren343 your exception looks like that you have issues with SSL certificates. Are you behind a corporate firewall (but also some desktop firewalls are fiddling with network traffic and certificates).

works here with
Maven home: /usr/local/Cellar/maven/3.5.3/libexec
Java version: 1.8.0_172, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre
Default locale: en_DE, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"

and also with openjdk 11 on Linux.

This should be solved with #2166

The dependency check is not executed locally anymore (#2166 is closed already).


New Version of HoverBehavior #855 breaks Tooltip in ScrollView

Description of the Bug
The new hover behaviour in #855 breaks tooltips in ScrollView. Before commit d280f82 the tooltip worked as expected with the code below. After this commit it breaks. Please see the two attached screen recordings before and with commit d280f82.
Am I using the tooltip wrong and I got lucky before #855?
@runette
Code and Logs
KV = '''
<IconTooltip@MDIcon+MDTooltip>

Screen:

    ScrollView:

        MDBoxLayout:
            adaptive_height: True

            IconTooltip:
                tooltip_text: 'this tooltip is not showing'
                size_hint: None, None
                size: self.texture_size
'''

class Test(MDApp):
    def build(self):
        return Builder.load_string(KV)

Test().run()

Screen recording before #855, tooltip working as expected
https://user-images.githubusercontent.com/930308/108218636-27cec600-7135-11eb-89b3-da3f6edd2101.mov
Screen recording after #855, tooltip no longer working
https://user-images.githubusercontent.com/930308/108218700-37e6a580-7135-11eb-9718-57349148ab54.mov
Versions

OS: macOS 11.2.1
Python: 3.9.1
Kivy: 2.0.0
KivyMD: 0.104.2.dev0 commit d280f82

analyzing ...

That appears to be a bug.

Interesting problem. I have a solution. I want to test it a bit more but you should probably see it tomorrow latest.


Make supported locales lazily computed providers

Allows lazier property chaining

Is there anything wrong with the roborazzi setup here? I'm not sure why the verifyRoborazzi test is failing.

Is there anything wrong with the roborazzi setup here? I'm not sure why the verifyRoborazzi test is failing.

It's the same thing I mentioned here https://github.com/slackhq/foundry/pull/1135#issuecomment-2532722539

Oh ok, thank you for clarifying!


resolve method not defined error

With this code so far, following along:
extern crate specs;
#[macro_use]
extern crate specs_derive;

use specs::{VecStorage, World};

#[derive(Component, Debug)]
#[storage(VecStorage)]
struct Position {
    x: f32,
    y: f32
}

#[derive(Component, Debug)]
#[storage(VecStorage)]
struct Velocity {
    x: f32,
    y: f32,
}

fn main() {
    let mut world = World::new();
    world.register::<Position>();

    let ball = world.create_entity().with(Position { x: 4.0, y: 7.0 }).build();
}

one gets this error:
error[E0599]: no method named `with` found for type `specs::EntityBuilder<'_>` in the current scope
  --> src/main.rs:26:38
   |
26 |     let ball = world.create_entity().with(Position { x: 4.0, y: 7.0 }).build();
   |                                      ^^^^
   |
   = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope, perhaps add a `use` for it:
   |
5  | use specs::Builder;
   |

This change just does what's suggested and we can compile fine.
I like to compile often, letting rustc check for typos and other errors.  I'm sure other beginners do also.

This change is

Sure, I included the full code so you could do that.  It works where it didn't before.  Shrug.
I understand though that I might not be following along as the book intends one to.  It seems like the code examples are supposed to be digested in isolation, while the final, integrated example is at the end of the chapter.
No worries if this PR is not in keeping with the style.  I still find the book presents things in a good manner, as someone new to both Rust and ECS.
Thank you for the lib!


fixed infinite loop with torque and update torque metadata

cc @alonsogarciapablo

:es: if that fixes the problem


Changing size of geek it box. And disabling checkbox in home page of geek...

Changes Done:
1.) I have increased the size of checkbox (that is the geekbox) which gets appended to the DOM structure at run time. Therefore now the text bookmarkiT and its corresponding check box are in the same line like geekit and its checkout
2.) Earlier even the homepage for geekforgeeks page i.e http://www.geekforgeeks.org used to give the option to user to click on geekiT or bookmarkiT checkbox, which should not be the case. These checkbox should be enabled only on individual questions/pages.However, only the completed and questions not yet completed should be striked out or highlighted. So I have made the change such that the homepage can show the user completed and not done questions but not give the option to click on geekiT and bookmarkiT checkbox.
Attached screenshot _1.png for more info

Made changes in the pull request raised earlier. In the earlier commit only home page was taken care of. That is to hide geekIt box from only the homepage of geeksforgeeks. In this commit, changes have been done to handle even the other pages of geeksforgeeks . For ex www.geekforgeeks/page/2 etc. If the geekIt box must be present at the homepages, then the functionality should be such that, marking geekIt or bookmarkIt checkbox on that page should override all questions of that page.

Resolved #2

@deepika087
Extremely sorry for such a delay. Reviewed and merged. Thank you for your contribution. :)


Add identity Pattern simplifier: Exists.hs

Part of #2946
Scope:

See where the current simplifier can be replaced with an identity simplifier

Estimate:

January 14
January 24

Review checklist
The author performs the actions on the checklist. The reviewer evaluates the work and checks the boxes as they are completed.

[ ] Summary. Write a summary of the changes. Explain what you did to fix the issue, and why you did it. Present the changes in a logical order. Instead of writing a summary in the pull request, you may push a clean Git history.
[ ] Documentation. Write documentation for new functions. Update documentation for functions that changed, or complete documentation where it is missing.
[ ] Tests. Write unit tests for every change. Write the unit tests that were missing before the changes. Include any examples from the reported issue as integration tests.
[ ] Clean up. The changes are already clean. Clean up anything near the changes that you noticed while working. This does not mean only spatially near the changes, but logically near: any code that interacts with the changes!

Running the integration tests twice, once normally and once with --simplifierx isn't currently enabled, right? If it's not, this PR needs to enable it. We discussed this is necessary once we merge the first experimental feature.

All the integration tests? I thought we don't want to do that because it would take too much time. I probably misunderstood

All the integration tests? I thought we don't want to do that because it would take too much time.

It's necessary, otherwise we might break features which we actually use in practice along the way.

Also, this will probably make Jenkins time out. You'll need to increase the time out period on Jenkins for our CI/integration tests.

Also, this will probably make Jenkins time out. You'll need to increase the time out period on Jenkins for our CI/integration tests.

Shoud I try making nix run the integration tests twice as well. or just Jenkins?

Shoud I try making nix run the integration tests twice as well, or just Jenkins?

Hmm, let's just run them on Jenkins for now.


Add/data features

Closes #9

TODO: Expand test coverage for the new endpoint

[ ]: all features
[ ]: error codes
[ ]: processing errors (55, 56, 59)

Left some notes in #118 in what is currently not tested (or even implemented?). But as integration tests pass against the PHP responses, I will call it done for now.


When some activation fails get_results fails too

Even when one of the activations fails the getting result function fails and throw this error:
wait(fut_list, executor_id, internal_storage, throw_except)

File "/action/pywren_ibm_cloud/wait.py", line 69, in wait
File "/action/pywren_ibm_cloud/wait.py", line 121, in _wait
File "/action/pywren_ibm_cloud/wait.py", line 121, in
AttributeError: 'NoneType' object has no attribute 'done'
Is this supposed to be like this? I expected it should ignore the failed activations
Thank you

This seems to happen when futures is None.
For example one way to reproduce it is to have reducer with signature
def my_reduce_function(results) ( proper way is def my_reduce_function(results, futures) ).
In this case wait.py will fail at 'not_done_futures = [f for f in fs if not f.done]'.

Yep, this happens when a future is None. It will also happen when an invocation fails after X retries. @gilv Which should be the correct behaviour? Ignore the failed activations?

@JosepSampe perfect point...you are 100% right, this also happens when retry fails.
need to think what is correct behavior in this case.

@JosepSampe giving it another thought - let's start that we want to run 100% of actions and we will make longer retries. If some action failed for some reason - we will fail the entire results. I just wonder, can we throw more friendly message that explains "action XYX failed therefore  job is failed" instead of "AttributeError: 'NoneType' object has no attribute 'done'" ;)

@gilv Done in Pull #40


Issue with angular 2 RC6

HI i have the following issue after i upgraded to rc6
previously the configuration was like the one below:
// karma-test-shim.js
...
System.import('angular2/testing').then(function(testing) {
  return System.import('angular2/platform/testing/browser').then(function(providers) {
    testing.setBaseTestProviders(
      providers.TEST_BROWSER_PLATFORM_PROVIDERS,
      [providers.TEST_BROWSER_APPLICATION_PROVIDERS, providers.CACHED_TEMPLATE_PROVIDER]);
  });
}).then(function() {
...

now when i upgraded to rc6 and changed to:
import { TestBed } from "@angular/core/testing";
import {
    BrowserDynamicTestingModule,
    platformBrowserDynamicTesting
} from "@angular/platform-browser-dynamic/testing";
import {
    RESOURCE_CACHE_PROVIDER
} from "@angular/platform-browser-dynamic";
`
TestBed.initTestEnvironment(
    BrowserDynamicTestingModule,
    platformBrowserDynamicTesting(RESOURCE_CACHE_PROVIDER)
);

i got an error that the html is not found and when i tried to debug it seems taht resource cache provider is never called..
am i missing something?

They've broken so many things with this RC6 (and 2.0.0) it's a real nightmare! I'am still not able to run my unit tests... my karma conf is broken...

@combmag i know....it is really old issue....but have you found a solution how to configure RESOURCE_CACHE_PROVIDER on init phase?
Thanks

@meriturva afaik RESOURCE_CACHE_PROVIDER should be provided to TestBed.configureCompiler and not to initTestEnvironment that's what fixed the issue.

Anyway i have developed a simple karma pre-processor to fix template and avoid RESOURCE_CACHE_PROVIDER  (so no change needed on our tests)
see: https://stackoverflow.com/questions/44539485/angular2-tests-and-resource-cache-provider-global


SUBMARINE-1366. SQLAlchemy 2.0 upgrade causes compilation failure of pysubmarine

What is this PR for?
After SQLAlchemy was upgraded to 2.0 some of the syntax was changed, which would cause syntax errors in the pysbumarine. We need to consider whether to keep the version at 1.4.x for now, or update the code and re-test it in light of the syntax issue.
https://docs.sqlalchemy.org/en/20/changelog/migration_20.html
Action run with exceptions:
https://github.com/apache/submarine/actions/runs/4096688603/jobs/7064519374
What type of PR is it?
Bug Fix
Todos

[x] - Keep SQLAlchemy in 1.4.x

What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-1366
How should this be tested?
cicd
Screenshots (if appropriate)
No
Questions:

Do the license files need updating? Yes
Are there breaking changes for older versions? Yes
Does this need new documentation? No

@pingsutw
Hi~ Do you have time to look at this issue? My current solution is to limit it to version 1.4.x. Maybe we can adapt it to 2.0 when we get to 0.9.0.

LGTM, thanks


CI/Buildsystem: drun for all

Currently, all jobs that need drun (some of the tests, but also the profiling reports and performance comparison) cannot be run by external contributors or our Github based CI. We want this to change.
The most likely way forward is to

do what’s necessary internally to get the drun code included in the code dump in https://github.com/dfinity/ic
include it from there, with a nix setup (using plain pkgs.rustPlatform.buildRustPackage, we don't need finer build granularity for this) on our side

Step one is done, drun is now published at https://github.com/dfinity/ic
Currently testing if it is complete, and how to build it (it has lots of dependencies, some which require additional tools or dev libraries to be available).


ISE Icon changed

Not a bug per say,
But i noticed that the pinned taskbar icon of ISE have changed since i ran the script from there,
is that an intended change or something that should not happen?
When i unpin ISE and pin it to the taskbar, the "enhanced" icon is gone and ISE back to normal.

To be honest I have never tested running then script inside ISE session.
But good that you could revert it back :)
I would say this works as designed (what ever that "by design" is) because there is workaround and personally I would run the tool in normal Windows Powershell session anyway.


Added benchmarks for CUDA FFT and polynomial eval/interpol

Added benchmarks for CUDA FFT and polynomial eval/interpol
Description
Added criterion benchmarks and CI job for executing them. This PR has #268 as base, that's why diffs are big.
Type of change

New feature

Blocked by #310 and #312

Codecov Report

Merging #319 (3ad5cf1) into main (183d9e4) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #319      +/-   ##
==========================================
+ Coverage   96.29%   96.30%   +0.01%
==========================================
  Files          92       93       +1
  Lines       11600    11605       +5
==========================================
+ Hits        11170    11176       +6
+ Misses        430      429       -1

Impacted Files
Coverage Δ

fft/src/errors.rs
0.00% <ø> (ø)

gpu/src/lib.rs
100.00% <ø> (ø)

math/src/field/traits.rs
78.37% <ø> (ø)

fft/src/polynomial.rs
92.83% <100.00%> (+0.58%)
:arrow_up:

... and 9 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

This is stale ,and has too many conflicts


Migration from ru.yandex.clickhouse-jdbc 0.3.1-patch to com.clickhouse-jdbc 0.6.0

Hey, folks!
I am trying to make a migration from ru.yandex.clickhouse-jdbc 0.3.1-patch  to  com.clickhouse-jdbc 0.6.0
I see a lot of changes there and I changed most part of our code base, but I struggle to find alternatives for binary read.
Here is the code from old version:
public void readBinary(String sql, IOConsumer inputStreamConsumer)
throws IOException {
    try (ClickHouseStatement statement = connection.createStatement();
        ClickHouseRowBinaryInputStream inputStream = statement.executeQueryClickhouseRowBinaryStream(sql)
    ) {
        inputStreamConsumer.accept(inputStream);
    } catch (SQLException e) {
        throw new RuntimeSQLException("Failed to execute query: " + sql, e);
    }
}

We are using ClickHouseRowBinaryInputStream for our purposes but I see that this class and whole packege was removed. I made new version using ResultSet, but I want to know is it possible to make something similar in new version. In such case I don't need to make too much changes in the code.
Also after update when I try to read string date from resultset using resultSet.getString(column_index) I can't get date as I can see it in db
for example in db I see:
2020-06-03 06:51:00.000
but I get string
2020-06-03 06:51:00
Could you educate me about these things?

Is column type Date or DateTime?


Correction for raw affiliation UMR IATE, Université Montpellier 2, Place Eugène Bataillon, 34095 Montpellier Cedex, France

Correction needed for raw affiliation UMR IATE, Université Montpellier 2, Place Eugène Bataillon, 34095 Montpellier Cedex, France
raw_affiliation_name: UMR IATE, Université Montpellier 2, Place Eugène Bataillon, 34095 Montpellier Cedex, France
new_rors: 051escj72;0000n5x09
previous_rors: 051escj72
works_examples: W2322484979
contact: 8e3ff03b9b67d347d918706fd7fc013e:7ffab562e9c2dab4bee468d9e1d5540553e6 @ inrae.fr

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


question about building the examples

Hello, I want to build an rpc server based on the examples provided by Examples folder,  but I get following error when I turn BUILD_EXAMPLES on. Could you give me some clues to solve this problem:
[ 10%] Building C object src/CMakeFiles/hg_example_rpc_client.dir/example_rpc.c.o
In file included from /home1/zw241/mercury/Examples/src/example_rpc.c:19:0:
/home1/zw241/mercury/Examples/src/example_rpc.h:18:32: error: expected ')' before '(' token
 MERCURY_GEN_PROC(my_rpc_out_t, ((int32_t)(ret)))
                                ^
/home1/zw241/mercury/Examples/src/example_rpc.c:58:5: error: unknown type name 'my_rpc_in_t'
     my_rpc_in_t in;
     ^
In file included from /home1/zw241/mercury/Examples/src/example_rpc_engine.h:13:0,
                 from /home1/zw241/mercury/Examples/src/example_rpc.h:11,
                 from /home1/zw241/mercury/Examples/src/example_rpc.c:19:
/home1/zw241/mercury/Examples/src/example_rpc.c: In function 'my_rpc_register':
/home1/zw241/mercury/src/mercury_macros.h:107:47: error: 'hg_proc_my_rpc_in_t' undeclared (first use in this function)
         HG_Register_name(hg_class, func_name, hg_proc_ ## in_struct_type_name, \
                                               ^
/home1/zw241/mercury/Examples/src/example_rpc.c:69:11: note: in expansion of macro 'MERCURY_REGISTER'
     tmp = MERCURY_REGISTER(hg_class, "my_rpc", my_rpc_in_t, my_rpc_out_t,
           ^
/home1/zw241/mercury/src/mercury_macros.h:107:47: note: each undeclared identifier is reported only once for each function it appears in
         HG_Register_name(hg_class, func_name, hg_proc_ ## in_struct_type_name, \
                                               ^
/home1/zw241/mercury/Examples/src/example_rpc.c:69:11: note: in expansion of macro 'MERCURY_REGISTER'
     tmp = MERCURY_REGISTER(hg_class, "my_rpc", my_rpc_in_t, my_rpc_out_t,
           ^
/home1/zw241/mercury/src/mercury_macros.h:108:17: error: 'hg_proc_my_rpc_out_t' undeclared (first use in this function)
                 hg_proc_ ## out_struct_type_name, rpc_cb)
                 ^
/home1/zw241/mercury/Examples/src/example_rpc.c:69:11: note: in expansion of macro 'MERCURY_REGISTER'
     tmp = MERCURY_REGISTER(hg_class, "my_rpc", my_rpc_in_t, my_rpc_out_t,
           ^
/home1/zw241/mercury/Examples/src/example_rpc.c: In function 'my_rpc_handler':
/home1/zw241/mercury/Examples/src/example_rpc.c:95:70: error: request for member 'input_val' in something not a structure or union
     printf("Got RPC request with input_val: %d\n", my_rpc_state_p->in.input_val);
                                                                      ^
/home1/zw241/mercury/Examples/src/example_rpc.c:107:27: error: request for member 'bulk_handle' in something not a structure or union
         my_rpc_state_p->in.bulk_handle, 0, my_rpc_state_p->bulk_handle, 0,
                           ^
/home1/zw241/mercury/Examples/src/example_rpc.c: In function 'my_rpc_handler_bulk_cb':
/home1/zw241/mercury/Examples/src/example_rpc.c:125:65: error: request for member 'input_val' in something not a structure or union
     sprintf(filename, "/tmp/hg-stock-%d.txt", my_rpc_state_p->in.input_val);
                                                                 ^
/home1/zw241/mercury/Examples/src/example_rpc.c: In function 'my_rpc_handler_write_cb':
/home1/zw241/mercury/Examples/src/example_rpc.c:155:5: error: unknown type name 'my_rpc_out_t'
     my_rpc_out_t out;
     ^
/home1/zw241/mercury/Examples/src/example_rpc.c:159:8: error: request for member 'ret' in something not a structure or union
     out.ret = 0;
        ^
gmake[5]: *** [src/CMakeFiles/hg_example_rpc_client.dir/example_rpc.c.o] Error 1

BTW,  I noticed there are many tests, If I want to build a rpc server/client for testing quickly, which test case is suitable to look at, thanks a lot for your help !

try enabling MERCURY_USE_BOOST_PP trough CMake

Yes these examples use snappy, I'll fix the CMake file so that it detects what to build.

Thanks for your reply!

Hello, I use latest commit ef8d69c022, and I turn on the option:
MERCURY_USE_BOOST_PP             ON
 BUILD_EXAMPLES                   ON

But there are still problems to build the example:
[ 70%] Building C object src/CMakeFiles/hg_example_snappy_client.dir/example_snappy.c.o
/home1/zw241/mercury/Examples/src/example_snappy.c:13:22: fatal error: snappy-c.h: No such file or directory
 #include <snappy-c.h>
                      ^
compilation terminated.
gmake[5]: *** [src/CMakeFiles/hg_example_snappy_client.dir/example_snappy.c.o] Error 1

This is the content of my CMakeCache:
cat CMakeCache.txt |grep SNAPPY
SNAPPY_INCLUDE_DIR:PATH=/usr/include
SNAPPY_LIBRARY:FILEPATH=/usr/lib64/libsnappy.so
//Details about finding SNAPPY
FIND_PACKAGE_MESSAGE_DETAILS_SNAPPY:INTERNAL=[/usr/include][/usr/lib64/libsnappy.so][v()]
PC_SNAPPY_CFLAGS:INTERNAL=
PC_SNAPPY_CFLAGS_I:INTERNAL=
PC_SNAPPY_CFLAGS_OTHER:INTERNAL=
PC_SNAPPY_FOUND:INTERNAL=
PC_SNAPPY_INCLUDEDIR:INTERNAL=
PC_SNAPPY_LIBDIR:INTERNAL=
PC_SNAPPY_LIBS:INTERNAL=
PC_SNAPPY_LIBS_L:INTERNAL=
PC_SNAPPY_LIBS_OTHER:INTERNAL=
PC_SNAPPY_LIBS_PATHS:INTERNAL=
PC_SNAPPY_PREFIX:INTERNAL=
PC_SNAPPY_STATIC_CFLAGS:INTERNAL=
PC_SNAPPY_STATIC_CFLAGS_I:INTERNAL=
PC_SNAPPY_STATIC_CFLAGS_OTHER:INTERNAL=
PC_SNAPPY_STATIC_LIBDIR:INTERNAL=
PC_SNAPPY_STATIC_LIBS:INTERNAL=
PC_SNAPPY_STATIC_LIBS_L:INTERNAL=
PC_SNAPPY_STATIC_LIBS_OTHER:INTERNAL=
PC_SNAPPY_STATIC_LIBS_PATHS:INTERNAL=
PC_SNAPPY_VERSION:INTERNAL=
PC_SNAPPY_snappy_INCLUDEDIR:INTERNAL=
PC_SNAPPY_snappy_LIBDIR:INTERNAL=
PC_SNAPPY_snappy_PREFIX:INTERNAL=
PC_SNAPPY_snappy_VERSION:INTERNAL=
//ADVANCED property for variable: SNAPPY_INCLUDE_DIR
SNAPPY_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: SNAPPY_LIBRARY
SNAPPY_LIBRARY-ADVANCED:INTERNAL=1
__pkg_config_checked_PC_SNAPPY:INTERNAL=1

Do you have snappy-c.h in /usr/include ?

There is no snappy-c.h in /usr/include, should I adjust the path in that case? what should I do to solve this ?

I'm relatively surprised that it was able to detect it, did you set that path yourself? You can yes adjust the path if you've got it installed on your system.

Hello, @soumagne:
I installed snappy and modify the path of CMakeCache in Example, but I got following error , could you tell me how to solve it? Thanks a lot for your help.
gmake[5]: Entering directory `/home1/zw241/mercury/build/Examples'
gmake[5]: Leaving directory `/home1/zw241/mercury/build/Examples'
gmake[5]: Entering directory `/home1/zw241/mercury/build/Examples'
Linking C executable /home1/zw241/mercury/build/bin/hg_example_snappy_client
CMakeFiles/hg_example_snappy_client.dir/example_snappy_client.c.o: In function `snappy_compress_rpc':
/home1/zw241/mercury/Examples/src/example_snappy_client.c:136: undefined reference to `snappy_max_compressed_length'
CMakeFiles/hg_example_snappy_client.dir/example_snappy_client.c.o: In function `snappy_compress_rpc_cb':
/home1/zw241/mercury/Examples/src/example_snappy_client.c:83: undefined reference to `snappy_validate_compressed_buffer'
/home1/zw241/mercury/Examples/src/example_snappy_client.c:92: undefined reference to `snappy_uncompress'
CMakeFiles/hg_example_snappy_client.dir/example_snappy.c.o: In function `snappy_pull_cb':
/home1/zw241/mercury/Examples/src/example_snappy.c:74: undefined reference to `snappy_max_compressed_length'
/home1/zw241/mercury/Examples/src/example_snappy.c:79: undefined reference to `snappy_compress'
/home1/zw241/mercury/Examples/src/example_snappy.c:88: undefined reference to `snappy_validate_compressed_buffer'
collect2: error: ld returned 1 exit status
gmake[5]: *** [/home1/zw241/mercury/build/bin/hg_example_snappy_client] Error 1


Can't install libtorrent==2.0.7 dependency on MacOS (aarch64)

This poses a problem for making the transition to native aarch64 python3.9. I don't know why it doesn't try to get libtorrent sources and compile in this case.
uname -a
Darwin Jonathans-Mac-mini.local 21.6.0 Darwin Kernel Version 21.6.0: Wed Aug 10 14:28:35 PDT 2022; root:xnu-8020.141.5~2/RELEASE_ARM64_T8101 arm64

(lbry-venv-3.9) swdev1@Jonathans-Mac-mini lbry-sdk % pip install -e .
Obtaining file:///Users/swdev1/lbry-sdk
  Preparing metadata (setup.py) ... done
Requirement already satisfied: aiohttp==3.7.4 in ./lbry-venv-3.9/lib/python3.9/site-packages (from lbry==0.110.0) (3.7.4)
Requirement already satisfied: aioupnp==0.0.18 in ./lbry-venv-3.9/lib/python3.9/site-packages (from lbry==0.110.0) (0.0.18)
Requirement already satisfied: appdirs==1.4.3 in ./lbry-venv-3.9/lib/python3.9/site-packages (from lbry==0.110.0) (1.4.3)
Requirement already satisfied: certifi>=2021.10.08 in ./lbry-venv-3.9/lib/python3.9/site-packages (from lbry==0.110.0) (2<IP_ADDRESS>)
Requirement already satisfied: colorama==0.3.7 in ./lbry-venv-3.9/lib/python3.9/site-packages (from lbry==0.110.0) (0.3.7)
Requirement already satisfied: distro==1.4.0 in ./lbry-venv-3.9/lib/python3.9/site-packages (from lbry==0.110.0) (1.4.0)
Requirement already satisfied: base58==1.0.0 in ./lbry-venv-3.9/lib/python3.9/site-packages (from lbry==0.110.0) (1.0.0)
Requirement already satisfied: cffi==1.13.2 in ./lbry-venv-3.9/lib/python3.9/site-packages (from lbry==0.110.0) (1.13.2)
Collecting cryptography==2.5
  Using cached cryptography-2.5.tar.gz (487 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: protobuf==3.17.2 in ./lbry-venv-3.9/lib/python3.9/site-packages (from lbry==0.110.0) (3.17.2)
Requirement already satisfied: prometheus_client==0.7.1 in ./lbry-venv-3.9/lib/python3.9/site-packages (from lbry==0.110.0) (0.7.1)
Requirement already satisfied: ecdsa==0.13.3 in ./lbry-venv-3.9/lib/python3.9/site-packages (from lbry==0.110.0) (0.13.3)
Requirement already satisfied: pyyaml==5.3.1 in ./lbry-venv-3.9/lib/python3.9/site-packages (from lbry==0.110.0) (5.3.1)
Requirement already satisfied: docopt==0.6.2 in ./lbry-venv-3.9/lib/python3.9/site-packages (from lbry==0.110.0) (0.6.2)
Requirement already satisfied: hachoir==3.1.2 in ./lbry-venv-3.9/lib/python3.9/site-packages (from lbry==0.110.0) (3.1.2)
Requirement already satisfied: coincurve==15.0.0 in ./lbry-venv-3.9/lib/python3.9/site-packages (from lbry==0.110.0) (15.0.0)
Requirement already satisfied: pbkdf2==1.3 in ./lbry-venv-3.9/lib/python3.9/site-packages (from lbry==0.110.0) (1.3)
Requirement already satisfied: filetype==1.0.9 in ./lbry-venv-3.9/lib/python3.9/site-packages (from lbry==0.110.0) (1.0.9)
ERROR: Could not find a version that satisfies the requirement libtorrent==2.0.7 (from lbry) (from versions: none)
ERROR: No matching distribution found for libtorrent==2.0.7
WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available.
You should consider upgrading via the '/Users/swdev1/lbry-sdk/lbry-venv-3.9/bin/python3.9 -m pip install --upgrade pip' command.

I have an old libtorrent installed from the time I was using python3.7 x86_64 architecture (emulated). I think I was getting away with running tests before because libtorrent was not required to run the tests I wanted to run. But it's required after https://github.com/lbryio/lbry-sdk/commit/5be990fc55fd717f1bb29b5ae54dfcb6f0fe48e3
(lbry-venv-3.9) swdev1@Jonathans-Mac-mini lbry-sdk % env ENABLE_LEGACY_SEARCH=1 python -m unittest -vv -k test_single_server_payment tests/integration/blockchain/test_wallet_server_sessions.py
test_wallet_server_sessions (unittest.loader._FailedTest) ... ERROR

======================================================================
ERROR: test_wallet_server_sessions (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_wallet_server_sessions
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/Users/swdev1/lbry-sdk/tests/integration/blockchain/test_wallet_server_sessions.py", line 9, in <module>
    from lbry.testcase import IntegrationTestCase, CommandTestCase
  File "/Users/swdev1/lbry-sdk/lbry/testcase.py", line 25, in <module>
    from lbry.extras.daemon.daemon import Daemon, jsonrpc_dumps_pretty
  File "/Users/swdev1/lbry-sdk/lbry/extras/daemon/daemon.py", line 46, in <module>
    from lbry.extras.daemon.components import WALLET_COMPONENT, DATABASE_COMPONENT, DHT_COMPONENT, BLOB_COMPONENT
  File "/Users/swdev1/lbry-sdk/lbry/extras/daemon/components.py", line 31, in <module>
    from lbry.torrent.session import TorrentSession
  File "/Users/swdev1/lbry-sdk/lbry/torrent/session.py", line 10, in <module>
    import libtorrent
ImportError: dlopen(/Users/swdev1/lbry-sdk/lbry-venv-3.9/lib/python3.9/site-packages/libtorrent.so, 0x0002): tried: '/Users/swdev1/lbry-sdk/lbry-venv-3.9/lib/python3.9/site-packages/libtorrent.so' (not a mach-o file)

Currently working around this with local edits:
(lbry-venv-3.9) swdev1@Jonathans-Mac-mini lbry-sdk % git diff
diff --git a/lbry/extras/daemon/components.py b/lbry/extras/daemon/components.py
index 33deccee9..0a005b068 100644
--- a/lbry/extras/daemon/components.py
+++ b/lbry/extras/daemon/components.py
@@ -28,7 +28,10 @@ from lbry.torrent.torrent_manager import TorrentManager
 from lbry.wallet import WalletManager
 from lbry.wallet.usage_payment import WalletServerPayer
 from lbry.torrent.tracker import TrackerClient
-from lbry.torrent.session import TorrentSession
+try:
+    from lbry.torrent.session import TorrentSession
+except ImportError:
+    TorrentSession = None

 log = logging.getLogger(__name__)

Opened a ticket so hopefully libtorrent will release builds for macOS aarch64: https://github.com/arvidn/libtorrent/issues/7131

I have made some progress on this. I was able to get libtorrent to build from source and install, but only in a Python 3.9 environment. I had the same experience working on https://github.com/arvidn/libtorrent/issues/7131 itself. Could not build wheels for Python 3.8. Only wheels for 3.9 and 3.10.

Shouldn't the goal be upgrading LBRY to the most recent version of Python?
3.9 only receives security fixes.
3.10 still gets bug fixes.
I'm pretty sure Python 3.8 isn't even compatible with macOS 11+


Problem with typing

Hi!
When using the library with typescript the following error occurs:
No overload matches this call.
Overload 1 of 2, '(props: TreeProps | Readonly): Tree', gave the following error.
Type '{ children: Element[]; content: string; type: string; canHide: true; open: true; style: { position: string; top: number; left: number; color: string; fill: string; width: string; }; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'.
Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'.
Overload 2 of 2, '(props: TreeProps, context: any): Tree', gave the following error.
Type '{ children: Element[]; content: string; type: string; canHide: true; open: true; style: { position: string; top: number; left: number; color: string; fill: string; width: string; }; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'.
Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'
This my code:
 <Tree content="main" type="ITEM" canHide open>                 <Tree content="hello" type={<span>🚀</span>} canHide />                 <Tree content="subtree with children" canHide>                     <Tree content="hello" />                     <Tree content="sub-subtree with children">                         <Tree content="child 1" style={{ color: "#77eb67" }} />                         <Tree content="child 2" style={{ color: "#77eb67" }} />                         <Tree content="child 3" style={{ color: "#77eb67" }} />                     </Tree>                     <Tree content="hello" />                 </Tree>                 <Tree content="hello" canHide />                 <Tree content="hello" canHide />             </Tree>
Any solution to use typescript?

Same problem here, using version 1.0.5 on my end. Any thoughts?
Error:
No overload matches this call.
  Overload 1 of 2, '(props: TreeProps | Readonly<TreeProps>): Tree', gave the following error.
    Type '{ children: any[]; itemId: string; onItemToggle: () => Promise<void>; key: number; content: any; springConfig: (open: any) => { from: { height: number; opacity: number; transform: string; }; to: { ...; }; }; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Tree> & Readonly<TreeProps>'.
      Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Tree> & Readonly<TreeProps>'.
  Overload 2 of 2, '(props: TreeProps, context: any): Tree', gave the following error.
    Type '{ children: any[]; itemId: string; onItemToggle: () => Promise<void>; key: number; content: any; springConfig: (open: any) => { from: { height: number; opacity: number; transform: string; }; to: { ...; }; }; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Tree> & Readonly<TreeProps>'.
      Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Tree> & Readonly<TreeProps>'.ts(2769)
(alias) class Tree
import Tree

Code:
<Tree itemId={i.toString()} onItemToggle={async () => await fetchSelectedActionConnectionsAndPolicies(action)} key={i} content={action.toJSON().name} springConfig={config}>

The issue appears after upgrading from React 17 to React 18, and can be ignored until the library typing is updated, like so:
// @ts-expect-error library typing needs to be updated for React 18
<Tree ...>


WIP: Add support for migrations using alembic

Types of changes
What types of changes does your code introduce to ether_sql?
Put an x in the boxes that apply

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

Explain your changes
Added support for changing database overtime using Alembic
Does this close any currently open issues?
https://github.com/analyseether/ether_sql/issues/9
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Any other comments?
This is a work in progress need to add documentation and tests.
Where has this been tested?
Nowhere yet
Operating System: NA
Node: NA

Will need to write tests for these commands.
Have opened an issue for the same: https://github.com/analyseether/ether_sql/issues/14


Update Restart_a_Dev_Space_1f54583.md

Removed a space.

I have fixed this in the documentation. The fix will be added with the next release. Thanks!


"Generate music" link directs to a 404 page

Error: Not Found
The requested URL /2016/11/09/tuning-recurrent-networks-with-reinforcement-learning/ was not found on this server.

@Sebbenbear Can you check the README link again. It is working for me.


neovim 0.4.2 update failed

Updating one outdated app:
Updating 'neovim' (0.3.8 -> 0.4.2)
Downloading new version
nvim-win64.zip (23.0 MB) [====================================================================================] 100%
Checking hash of nvim-win64.zip ... ERROR Hash check failed!
App:         main/neovim
URL:         https://github.com/neovim/neovim/releases/download/v0.4.2/nvim-win64.zip
First bytes: 50 4B 03 04 14 00 00 00
Expected:    51999d80ee2f7bd67b274302063eef4d997a0b1a29868049d12541ebe68941dc
Actual:      de39dd86c25a990f9b2468a775ca48608fadc71d5e9f35a04882480fd15a07ae

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/scoopinstaller/scoop-main/issues/new?title=neovim%400.4.2%3a+hash+check+failed

MD5 check failure?

Please see https://github.com/ScoopInstaller/Main/issues/416


How to set to True the "setWebContentsDebuggingEnabled" property on the android.webkit.WebView element

How do I enable WebView for a Cordova Mobile App (Hybrid). Is there a setting in project files that enables the WebView ? Please advise.
I am trying to get context handles for this Hybrid Mobile App ( Cordova ) and I see only native. I need to be able to get WebView to interact with the mobile elements for UI testing using Appium.
From the documentation, I can see that the method setWebContentsDebuggingEnabled is accountable for debugging web contents and is default set to false. How do I set this to true for a Cordova Mobile App (hybrid) project ?
Further More: In my case, It is necessary to set to true the setWebContentsDebuggingEnabled property on the android.webkit.WebView element. How can I set this ?
Source: appium.io/docs/en/writing-running-appium/web/hybrid

It's set to true by cordova-android as long as the app is debugable (i.e. run from Android Studio or Cordova CLI)
https://github.com/apache/cordova-android/blob/master/framework/src/org/apache/cordova/engine/SystemWebViewEngine.java#L226


Intermittent E2E test failure:  ERROR: 1 setup jobs failed. Check logs above for details

The E2E tests sometimes fail during setup with the message:
 ERROR: 1 setup jobs failed. Check logs above for details.

-- https://prow.build-infra.jetstack.net/view/gcs/jetstack-logs/pr-logs/pull/jetstack_cert-manager/3647/pull-cert-manager-e2e-v1-20/1359494849920765955#1:build-log.txt%3A668 (thanks @irbekrm )
The setup jobs are launched as background shell jobs:

https://github.com/jetstack/cert-manager/blob/7204284063702358164713379b07b73642ea9bec/devel/setup-e2e-deps.sh

But the logs of all the setup jobs are mixed up, so it's difficult to know  which job failed and what went wrong.
Simplest solution would be to disable the parallelism and run the setup jobs in series.
Alternatively we might try and keep track of exactly which jobs failed and show the logs of those jobs on failure.
And that should allow us to find out which of the jobs keeps failing.
/kind flake
/cc @RinkiyaKeDad

/assign

Hi @wallrj! I am relatively new to writing bash scripts so just wanted to confirm a few things:

Here wait $job returns a boolean value right? And if that is false then EXIT is incremented. So that would mean the simplest solution you were referring to would have this pseudo code:

for job in $(jobs -p); do
    if !(wait $job)
        echo "{logs}"
        break
done

Like you mentioned,

Alternatively we might try and keep track of exactly which jobs failed and show the logs of those jobs on failure.

Would this be recommended over the first approach?
I can see that the benefit of this would be that we'll be able to see all the jobs that fail in a single test run.
But the downside would be that if we know that one job has failed, we know the entire test will fail so we would be using unnecessary resources running all other jobs.

The current message just says to check logs for details. Can you please point me to how I would get access to these logs in the shell script?

Thanks!

/priority important-soon

I haven't seen this error since @RinkiyaKeDad removed the parallelism. Closing.


Crash on CreateMeshSection

I tried bringing my project up to the latest version but it introduced a crash for every single time trying to create mesh section (through BP). It doesn't matter what kind of data i feed to the create mesh section node. Even the most basic triangle will make it crash.
The procedural mesh component works without any issues at all, which makes me guess that there might be something wrong with RMC on the latest MacOS?
System is Macbook Pro 2017 with RX 580 eGPU running the latest MacOS Mojave 10.14, XCode 10, Unreal Engine 4.20 and RMC 3.2. The plugin built without any errors.
This is the crash report
Assertion failed: Element.Stride == 0 || Element.Offset + TranslateElementTypeToSize(Element.Type) = Element.Stride [File:/Users/build/Build/++UE4/Sync/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalVertexDeclaration.cpp] [Line: 203] Stream component is bigger than stride: Offset: 0, Size: 16 [Type 4], Stride: 8

FGenericPlatformMisc::RaiseException(unsigned int) Address = 0x102da4f2b (filename not found) [in UE4Editor-Core.dylib]
FMacErrorOutputDevice::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&) Address = 0x10938d7d3 (filename not found) [in UE4Editor-ApplicationCore.dylib]
FOutputDevice::LogfImpl(wchar_t const*, ...) Address = 0x10304dfa0 (filename not found) [in UE4Editor-Core.dylib]
FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...) Address = 0x102f63c2e (filename not found) [in UE4Editor-Core.dylib]
FMetalVertexDeclaration::GenerateLayout(TArray<FVertexElement, TFixedAllocator<16u> > const&) Address = 0x1291b1dc8 (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalVertexDeclaration::FMetalVertexDeclaration(TArray<FVertexElement, TFixedAllocator<16u> > const&) Address = 0x1291b1767 (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalDynamicRHI::RHICreateVertexDeclaration(TArray<FVertexElement, TFixedAllocator<16u> > const&) Address = 0x1291b2fb2 (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalDynamicRHI::CreateVertexDeclaration_RenderThread(FRHICommandListImmediate&, TArray<FVertexElement, TFixedAllocator<16u> > const&) Address = 0x1291b2ecc (filename not found) [in UE4Editor-MetalRHI.dylib]
FVertexFactory::InitDeclaration(TArray<FVertexElement, TFixedAllocator<16u> >&) Address = 0x10922b96b (filename not found) [in UE4Editor-ShaderCore.dylib]
FLocalVertexFactory::InitRHI() Address = 0x1050d3d26 (filename not found) [in UE4Editor-Engine.dylib]
FRenderResource::InitResource() Address = 0x108f1e773 (filename not found) [in UE4Editor-RenderCore.dylib]
------>    FRuntimeMeshSectionProxy::FRuntimeMeshSectionProxy(ERHIFeatureLevel::Type, TSharedPtr<FRuntimeMeshSectionCreationParams, (ESPMode)0>) Address = 0x15c8234ce (filename not found) [in UE4Editor-RuntimeMeshComponent.dylib]
------>    FRuntimeMeshProxy::CreateSection_RenderThread(int, TSharedPtr<FRuntimeMeshSectionCreationParams, (ESPMode)0> const&) Address = 0x15c81b651 [/Users/xxx/Documents/Unreal Projects/VRPrototypes 4.20/Plugins/RuntimeMeshComponent/Source/RuntimeMeshComponent/Private/RuntimeMeshComponentPlugin.cpp, line 18] [in UE4Editor-RuntimeMeshComponent.dylib]
------>    TGraphTask<FRuntimeMeshProxy::CreateSection_GameThread(int, TSharedPtr<FRuntimeMeshSectionCreationParams, (ESPMode)0> const&)::EURCMacro_FRuntimeMeshProxyCreateSection>::ExecuteTask(TArray<FBaseGraphTask*, FDefaultAllocator>&, ENamedThreads::Type) Address = 0x15c85e7b7 (filename not found) [in UE4Editor-RuntimeMeshComponent.dylib]
FNamedTaskThread::ProcessTasksNamedThread(int, bool) Address = 0x102d546bb (filename not found) [in UE4Editor-Core.dylib]
FNamedTaskThread::ProcessTasksUntilQuit(int) Address = 0x102d53313 (filename not found) [in UE4Editor-Core.dylib]
FTaskGraphImplementation::ProcessThreadUntilRequestReturn(ENamedThreads::Type) Address = 0x102d4ef9e (filename not found) [in UE4Editor-Core.dylib]
RenderingThreadMain(FEvent*) Address = 0x108f1627c (filename not found) [in UE4Editor-RenderCore.dylib]
FRenderingThread::Run() Address = 0x108f2c277 (filename not found) [in UE4Editor-RenderCore.dylib]
FRunnableThreadPThread::Run() Address = 0x102e114be (filename not found) [in UE4Editor-Core.dylib]
FRunnableThreadPThread::_ThreadProc(void*) Address = 0x102df1ff7 (filename not found) [in UE4Editor-Core.dylib]
_pthread_body Address = 0x7fff72a8c33d (filename not found) [in libsystem_pthread.dylib]
_pthread_start Address = 0x7fff72a8f2a7 (filename not found) [in libsystem_pthread.dylib]
thread_start Address = 0x7fff72a8b425 (filename not found) [in libsystem_pthread.dylib]

Wow, thank you Marco! I'll give it a try.

I had the same issue on UE4 4.22 on osx. @MBatzdorf's proposal also fixed it for me.

Closing as this is for an outdated version of the plugin that's no longer supported.
If you experience this or any other issues in the current version, feel free to report again!
Thanks!

Actually, I'm still getting this bug with Metal on macOS 10.15. I tracked the problem to RuntimeMeshRendering.h and FRuntimeMeshUVsVertexBuffer::Bind. These lines are peculiar. What is the double wide vertex element type? Metal is complaining because the stride is set as 8, but the element size is VET_Float4 (16 bytes).
EVertexElementType UVDoubleWideVertexElementType = VET_None;
EVertexElementType UVVertexElementType = VET_None;
uint32 UVSizeInBytes = 0;
if (bUseHighPrecision)
{
    UVSizeInBytes = sizeof(FVector2D);
    UVDoubleWideVertexElementType = VET_Float4;
    UVVertexElementType = VET_Float2;
}
else
{
    UVSizeInBytes = sizeof(FVector2DHalf);
    UVDoubleWideVertexElementType = VET_Half4;
    UVVertexElementType = VET_Half2;
}

uint32 UVStride = UVSizeInBytes * NumUVs;

int32 UVIndex;
for (UVIndex = 0; UVIndex < NumUVs - 1; UVIndex += 2)
{
    DataType.TextureCoordinates.Add(FVertexStreamComponent(this, UVSizeInBytes * UVIndex, UVStride, UVDoubleWideVertexElementType, EVertexStreamUsage::ManualFetch));
}

// possible last UV channel if we have an odd number
if (UVIndex < NumUVs)
{
    DataType.TextureCoordinates.Add(FVertexStreamComponent(this, UVSizeInBytes * UVIndex, UVStride, UVDoubleWideVertexElementType, EVertexStreamUsage::ManualFetch));
}

I didn't dig deeper, replacing the double wide with the UVVertexElement type made things happy for me.
int32 UVIndex;
for (UVIndex = 0; UVIndex < NumUVs - 1; UVIndex += 2)
{
    DataType.TextureCoordinates.Add(FVertexStreamComponent(this, UVSizeInBytes * UVIndex, UVStride, UVVertexElementType, EVertexStreamUsage::ManualFetch));
}


Fix filename arg of PlotReport

This PR fixes the renamed filename argument of PlotReport hasn't been effective.

Jenkins, test this please.

Jenkins CI test (for commit f343faef5124d7df58ab9bf75bf8d3a53e9ed287, target branch master) failed with status FAILURE.

LGTM. Merging!


(WIP) Crimson Sea Creature ESP

use esp?

the esp doesn't alert and I don't think it works on this type of mob

stop skidding


Fix "pausing" the services section

In the following section: https://github.com/open-horizon/devops/blob/master/mgmt-hub/README.md#-pausing-the-services you show how to stop the services.  The instructions assume that the person has a local copy of the script.  However, the one-liner that we used to install and run the services did not save a local copy.  You may fix that by adding the following to the instructions:
Save a local executable copy of the script by running:
curl -sSL https://raw.githubusercontent.com/open-horizon/devops/master/mgmt-hub/deploy-mgmt-hub.sh > deploy-mgmt-hub.sh
chmod a+x deploy-mgmt-hub.sh

https://github.com/open-horizon/devops/pull/8 is ready for review

Fixed, closing


D-Foundations set console path

I have been trying to set the console path for D-Foundations. It looks like the current documentation is a bit outdated there, but the problem i have is that i have only been able to set the console_folder:
df.set_meta_property("console_folder",Path(r"C:\Program Files (x86)\Deltares\D-Foundations 23.1.1"))
This means that Geolib will look in the following folder for the executable:
C:\Program Files (x86)\Deltares\D-Foundations 23.1.1\DFoundations\DFoundations.exe
I thought this might be fixed by adjusting the custom_console_folder, but i can't seem to set this. Now i have to add a folder and copy the executable, which isn't a very elegant work-around.

If you are using the latest version of GEOLib, the documentation seems to be up to date.
When you are setting the DFOUNDATIONS_CONSOLE_PATH in the geolib.env file, there should be no need to copy the executables manually. If prefer to use this method, make sure that CONSOLE_FOLDER is not set in the environment variables.

This conversation might help: https://github.com/Deltares/GEOLib/pull/165
I'm using the following with geolib 2.3.0
        model.set_meta_property("dstability_console_path", Path(...))
        model.execute()


Update name and URL of "107-Arduino-Cyphal"

This PR consists of two changes:

Change URL from https://github.com/107-systems/107-Arduino-UAVCAN.git to https://github.com/107-systems/107-Arduino-Cyphal (companion to https://github.com/arduino/library-registry/pull/1489)
Change name from 107-Arduino-UAVCAN to 107-Arduino-Cyphal

Since the name change operation on the database is actually a removal followed by automated re-indexing on the next job run, the URL update will occur as a matter of course and so the only thing required from the backend maintainer is the name change procedure.

Done :tada:
2022/06/20 09:19:34 Loaded 4945 libraries from DB
Removing 107-Arduino-UAVCAN
Success!


Use response generator pattern for discovery endpoint

Consistent with other endpoints
Response generator can be replaced/derived from
Enables #878

@leastprivilege,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


Create a /version command to see what version or git commit the bot is currently running

Add a simple /version command to get the git commit or milestone the bot is running.
This is useful for CI deployments to see if that actually works.

I would suggest to use the current version of the project, configured in the build.gradle.kts file, as output of the version command.

The problem with that is, that we don't know whether bot running on the main branch was recently updated by the CI scripts.
Using the project version would result in "1.0.0-SNAPSHOT".
When building a milestone/tag, that tag name could automagically be used in the gradle file for the project version IMO.


Unable To Start Sway As Non-Root User

I think I'm having some odd permission issue that I can't figure out. Sway starts up just fine if I run it as root, but as a non-root user it always exits with an error. I'm running Arch without systemd and logind so I'm sure that makes things more complicated, but the usual chmod +s works just fine on orbment and I can run that without root. I'm not sure why Sway would be any different.
Log: https://pastebin.com/d4Uw81if

https://github.com/SirCmpwn/sway/wiki/Sway-without-systemd-on-Arch-Linux

Yes, I've done both of those.

Beats me, then.

After some more time tinkering around, Sway does start up fine using elogind (as it should). Since my only concern was playing with Wayland without systemd, I'm pretty satisfied with that although I'm not convinced that Sway will work without logind.

I have a few systems that run sway without logind.


Rabin-karp Algorithm for pattern Searching

Is your feature request related to a problem? Please describe.
Given a text txt[0..n-1] and a pattern pat[0..m-1], write a function search(char pat[], char txt[]) that prints all occurrences of pat[] in txt[]. You may assume that n > m.
Describe the solution you'd like
Examples:
Input:  txt[] = "THIS IS A TEST TEXT"
pat[] = "TEST"
Output: Pattern found at index 10
Input:  txt[] =  "AABAACAADAABAABA"
pat[] =  "AABA"
Output: Pattern found at index 0
Pattern found at index 9
Pattern found at index 12
The Naive String Matching algorithm slides the pattern one by one. After each slide, one by one it checks characters at the current shift and if all characters match then it prints the match.
Like the Naive Algorithm, Rabin-Karp algorithm also slides the pattern one by one. But unlike the Naive algorithm, Rabin Karp algorithm matches the hash value of the pattern with the hash value of current substring of text, and if the hash values match then only it starts matching individual characters. So Rabin Karp algorithm needs to calculate hash values for following strings.
Pattern itself.
All the substrings of the text of length m, that is of the length of pattern string.
Since we need to efficiently calculate hash values for all the substrings of size m of text, we must have a hash function which has the following property.
Hash at the next shift must be efficiently computable from the current hash value and next character in text or we can say hash(txt[s+1 .. s+m]) must be efficiently computable from hash(txt[s .. s+m-1]) and txt[s+m] i.e., hash(txt[s+1 .. s+m])= rehash(txt[s+m], hash(txt[s .. s+m-1]) and rehash must be O(1) operation.
The hash function suggested by Rabin and Karp calculates an integer value. The integer value for a string is numeric value of a string. For example, if all possible characters are from 1 to 10, the numeric value of "122" will be 122. The number of possible characters is higher than 10 (256 in general) and pattern length can be large. So the numeric values cannot be practically stored as an integer. Therefore, the numeric value is calculated using modular arithmetic to make sure that the hash values can be stored in an integer variable (can fit in memory words). To do rehashing, we need to take off the most significant digit and add the new least significant digit for in hash value. Rehashing is done using the following formula.
hash( txt[s+1 .. s+m] ) = ( d ( hash( txt[s .. s+m-1]) - txt[s]*h ) + txt[s + m] ) mod q
Where,
hash( txt[s .. s+m-1] ) : Hash value at shift s.
hash( txt[s+1 .. s+m] ) : Hash value at next shift (or shift s+1)
d: Number of characters in the alphabet
q: A prime number
h: d^(m-1)
Describe alternatives you've considered
i will add this problem in "STRING " section.
Additional context

PLEASE ASSIGN THIS TO ME
THANK YOU

please assign this issue to me

@keshavsingh4522 , I have send PR to you . Please accept it.
Thank You


PyArrow: Missing libhdfs.so in Cloudera CDH 5.12

Hi,
my Cloudera CDH 5.12.2 installation does not provide a dynamic libhdfs.so, just a static libhdfs.a:
ls $HADOOP_HOME/lib/native
libhadoop.a       libhadoop.so        libhadooputils.a  libnativetask.a   libnativetask.so.1.0.0  libsnappy.so.1
libhadooppipes.a  libhadoop.so.1.0.0  libhdfs.a         libnativetask.so  libsnappy.so            libsnappy.so.1.1.4

Will PyArrow work under these conditons?

how did you install the distro?

I guess the "normal way": Cloudera Manager + Parcels

libhdfs.so may be in a different parcel -- from the look of Cloudera's Debian repos, it's included in the libhdfs0-dev Debian package
http://archive.cloudera.com/cdh5/debian/jessie/amd64/cdh/pool/contrib/h/hadoop/

I'll have a look. I'm on CentOS though, that might be another reason?

I assume the yum packages are structured similarly

Closing this. Please ask Cloudera for support

Ran into the same issue on CDH 5.13, Adding my "fix" for others that might stubmle on this:
/opt/cloudera/parcels/CDH/ is symlinked to the current parcel dir, which contains the necessary libhdfs.so:
/opt/cloudera/parcels/CDH ->  /opt/cloudera/parcels/CDH-<version>
/opt/cloudera/parcels/CDH-<version>/lib64/libhdfs.so -> /opt/cloudera/parcels/CDH-<version>/lib64/libhdfs.so.0.0.0

Relevant export necessary
os.environ['ARROW_LIBHDFS_DIR']="/opt/cloudera/parcels/CDH/lib64"
import pyarrow as pa
...


Update font family usage from elements in v10

We currently are defining our own Plex strategy for @font-face blocks, this issue is for migrating to the elements approach which pulls from google fonts. The general strategy for integration should follow this pattern:

Identify file where font-face is being included
Add tests to prevent regression and document public API
Add elements feature behind X feature flag
Add tests for experimental features behind flag

The @font-face approach from @carbon/type is documented here

Related: #1837
it seems we still aren't pulling in the italic font unless I am overlooking something

Should be pulled in, mixin itself is: https://github.com/IBM/carbon-elements/blob/master/packages/type/scss/font-face/_sans.scss with italic for light, normal, and semibold. Is it using the type styles? If not, then might not be referring to the correct font family.

yeah I thought this was a global import https://github.com/IBM/carbon-components/blob/master/src/globals/scss/_css--font-face.scss#L78
does it need to use a specific type style to be using that font though? I figured anything with bold or italic for example should be using the correct font face

@emyarod Looking at https://github.com/IBM/carbon-elements/blob/v0.0.1-alpha.32/packages/type/scss/font-face/_sans.scss#L61-L226 - Would you want to articulate why you got an implression that italic fonts are not pulled in...? Thanks!

@asudoh it doesn't seem to be rendering properly (ref https://github.com/IBM/carbon-components/issues/1837#issuecomment-464826640) but it could be that I was not correctly using the mixin

Got it @emyarod - Don't hesitate to create a reduced case if you see the issue again!

@asudoh I think this is another example of our italic fonts not being used, or am I missing a type related mixin?

@emyarod Debugging your link revealed that the culprit is .bx--form-item, which uses deprecated @include font-family. @include carbon--font-family() seems the successor, but CC @joshblack to see if it's correct. Refs #1916.


fix: updated deps

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Compatibility with GitHub and Pandoc

Hi,
I've just started using mdBook and have added mdBook-admonish. The look is great.
I am slightly concerned for the future when it comes to publishing my book in formats other than HTML. It looks like the mdBook renderers for PDF and EPUB are a long way from finished. So I was wondering about using PanDoc for more mature pdf and epub support.
However, I think I will need to get PanDoc to interpret my mdBook files as if they are GitHub flavoured Markdown as it doesn't support mdBook at present. GitHub seems to have standardised on
> **Note**
> This is a note

> **Warning**
> This is a warning

although that seems contentious. I see that CommonMark is also having discussions about what format to use and I see that this is also suggested as a "better" solution:
:::note
This is a note
:::

:::warning
This is a warning
:::

While Microsoft are apparently using
> [!NOTE]
> Information the user should notice even if skimming.

> [!TIP]
> Optional information to help a user be more successful.

> [!IMPORTANT]
> Essential information required for user success.

> [!CAUTION]
> Negative potential consequences of an action.

> [!WARNING]
> Dangerous certain consequences of an action.

So the route of dBook-admonish of
```admonish quote
test quote
```

is unusual. Do you have any thoughts about supporting GitHub format or whatever Commonmark eventually decide on?

Hey, thanks for the suggestion/question. This crate currently uses pulldown-cmark for markdown parsing; so I would be very happy to support any syntax that's natively supported there (from the sound of it, this ::: syntax may be supported in the future?).
For now, supporting GitHub-flavor syntax seems doable, as it's just a combination of existing markdown syntax. However, this will be a subset of current functionality (can't handle e.g. custom titles).
It should also probably be opt-in with a new config option, we can remove this later if we think most users will want it.
If you'd like to work on a PR for supporting GitHub flavour markdown, I'm happy to review it. I may eventually implement it myself if not, but currently spare-time-coding is quite far down my list of things to do!

I'm running into a related issue here, where I'd like to nest code blocks inside an admonishment, but the most natural way to do so doesn't work correctly (as you can't nest multiple triple-tick ``` blocks within one-another).
Having some alternative syntax for admonishments would be really useful.
It seems that pulldown_cmark does indeed have some optional opt-in ways to parse non-standard markdown syntax, which could maybe be co-opted for admonishments? https://docs.rs/pulldown-cmark/latest/pulldown_cmark/struct.Options.html

Hey, thanks for the feedback. Splitting up your points:
I'd like to nest code blocks inside an admonishment
The current way to achieve this is outlined here using existing markdown syntax, which allows 3 or more backtick/tilde characters to make a code block:
Option 1 (tildes):
~~~admonish bug
This syntax won't work in Python 3:
```python
print "Hello, world!"
```
~~~

Option 2 (more backticks):
````admonish bug
This syntax won't work in Python 3:
```python
print "Hello, world!"
```
````

Having some alternative syntax for admonishments would be really useful.
I'm not strictly opposed to new syntax for the blocks, but it does add code complexity/overhead as to how all the features are supported with each set of syntax. Basically I'd want to understand what you can't do conveniently with the existing syntax first.

It seems that pulldown_cmark does indeed have some optional opt-in ways to parse non-standard markdown syntax, which could maybe be co-opted for admonishments? https://docs.rs/pulldown-cmark/latest/pulldown_cmark/struct.Options.html

That does look doable, if you have a proposal for a syntax using them, I would be interested to hear it.  Something like the +++ blocks is I presume what you're thinking of? Though to my eyes, this syntax looks strictly more limited than code blocks.
To be clear, this isn't something I will work on actively myself, but I'm happy to review/discuss with anyone who wants to work on it.

Thanks for pointing out that alternate tile-based syntax! A bit embarassed that I missed that while reading through the mdbook-admonish guide 😅
I think that was the only major sticking point for me personally wrt. the need for alternate syntax.


postfix: require that login matches envelope FROM

Testing that envelope FROM matches From: header
already happens in filtermail
and tested with test_reject_forged_from.
The most important part here is
reject_sender_login_mismatch check
documented in
https://www.postfix.org/postconf.5.html#reject_sender_login_mismatch.
Fixes #151

cmdeploy/src/cmdeploy/tests/online/test_1_basic.py::test_reject_forged_from fails for the wrong reasons now, we have to submit the mail on port 25 and then check for the correct error message.

I really love our test framework.


please add kannada (india)

please add Kannada into ur language list

How do you write "Kannada" and "India" in Kannada language?
Is this correct:
Kannada: ಕನ್ನಡ
India: ಭಾರತ


Create Matrix class

This class (probably static) must contain:

A generic translation matrix
A generic scaling matrix
A generic rotation matrix
A generic object matrix

https://github.com/ramnasidharta/graphical-recipe/pull/16


Add a CHANGELOG

(Usually worth the effort.)

Thank you for the suggestion.  A change log has been added.


run/prepare: improve error message with usage

At the moment the error message does not show how to use the cmd
Fixes #2564
@blixtra @jonboulle PTAL. This would end in:
./build-rkt-1.7.0+git/bin/rkt run
run: must provide at least one image or specify the pod manifest

Usage:
	 run [--volume=name,kind=host,...] [--mount volume=VOL,target=PATH] IMAGE [-- image-args...[---]]...

Use --help for more information.

This this what you expected?

ok to test

Looks pretty good to me but we should do this more generally?

Thanks @jonboulle. Sorry for the delay. Can you explain more generally? Can you give me a hint how do you expect it please?

@matthaias I was just thinking that perhaps there are other commands that require a certain number of args that we would want to do something similar for?

@matthaias do you have time to work on this to get it into this week's release?

Sorry. Maybe i can do it tomorrow morning, but i am not sure. But if you want to be sure, it is of course no problem if you do it yourself.
I checked the other cmd's quickly and i saw that maybe it should be changed also for fetch ("must provide at least one image") and image rm ("must provide at least one image ID"). But there the usage is not as long as for run/prepared. In my opinion it is here ok to show the default usage message:
./build-rkt-1.7.0+git/bin/rkt image rm
NAME:
	image rm - Remove image(s) with the given ID(s) or name(s) from the local store

USAGE:
	rkt image rm IMAGE...

DESCRIPTION:
	Unlike image gc, image rm allows users to remove specific images.

OPTIONS:
  -h, --help[=false]	help for rm

GLOBAL OPTIONS:
      --debug[=false]			print out more debug information to stderr
      --dir=/var/lib/rkt		rkt data directory
      --insecure-options=none		comma-separated list of security features to disable. Allowed values: "none", "image", "tls", "ondisk", "http", "pubkey", "all"
      --local-config=/etc/rkt		local configuration directory
      --system-config=/usr/lib/rkt	system configuration directory
      --trust-keys-from-https[=false]	automatically trust gpg keys fetched from https
      --user-config=			user configuration directory

./build-rkt-1.7.0+git/bin/rkt fetch
NAME:
	fetch - Fetch image(s) and store them in the local store

USAGE:
	rkt fetch IMAGE_URL...

DESCRIPTION:
	Locates and downloads remote ACIs and their attached signatures.

	If the ACI is available in the local store, the image will not be fetched
	again.

OPTIONS:
      --full[=false]		print the full image hash after fetching
  -h, --help[=false]		help for fetch
      --no-store[=false]	fetch images ignoring the local store
      --signature=		local signature file to use in validating the preceding image
      --store-only[=false]	use only available images in the store (do not discover or download from remote URLs)

GLOBAL OPTIONS:
      --debug[=false]			print out more debug information to stderr
      --dir=/var/lib/rkt		rkt data directory
      --insecure-options=none		comma-separated list of security features to disable. Allowed values: "none", "image", "tls", "ondisk", "http", "pubkey", "all"
      --local-config=/etc/rkt		local configuration directory
      --system-config=/usr/lib/rkt	system configuration directory
      --trust-keys-from-https[=false]	automatically trust gpg keys fetched from https
      --user-config=			user configuration directory

To make it more generally, do you think of adding the function to cmd like cmd.Usage() e.g. cmd.UsageShort? But to be honest, i am not sure if i can do it tomorrow morning since i am not very familiar with go and rkt yet :/.

Needs more discussion.

@jonboulle? ^

@matthaias IMHO this is going to affect few enough places that a function wouldn't add anything (because it'd need to take a specific command receiver anyway), so I think it's fine to have this templated among the commands for which it's relevant

Hi @matthaias! We still have this PR pending (since some time), are you still interested in completing it as suggested above, in whatever timeframe you have?

Hi @lucab! Sorry for the delay, i'll try it this week. I hope this is fine for you.

Sorry @lucab that i didn't finish it until now. Sadly there is no time at the moment for me to finish it the next days or weeks i think. Is it possible that you, or anybody else finishes it? Otherwise, if it is not very important, we can keep this PR open and i finish it if i have time.

@lucab
we can create a separate function function namely ShowHelp in common package. if there is a missing required arg we can call the ShowHelp to show the help message.
I'm interested in solving this issue. if you are okay with the workaround I can send a PR. :smile:
ShowHelp -- executes Usage() (to have clear understanding why we calling Usage)


[SPARK-26212][Build][test-maven] Upgrade maven version to 3.6.0

What changes were proposed in this pull request?
This PR updates maven version from 3.5.4 to 3.6.0. The release note of the 3.6.0 is here.
From the release note of the 3.6.0, the followings are new features:

There had been issues related to the project discoverytime which has been increased in previous version which influenced some of our users.
The output in the reactor summary has been improved.
There was an issue related to the classpath ordering.

How was this patch tested?
Existing tests

Test build #99437 has started for PR 23177 at commit a5587b5.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5509/
Test PASSed.

Test build #99437 has finished for PR 23177 at commit a5587b5.

This patch fails from timeout after a configured wait of 400m.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99437/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5533/
Test PASSed.

Test build #99464 has started for PR 23177 at commit a5587b5.

That's fine but we need to also update build/mvn to download and use the same version.

I thought that it is automatically done by build/mvn, as you pointed out before.

Test build #99464 has finished for PR 23177 at commit a5587b5.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99464/
Test FAILed.

Ah, that's the second time I've forgotten this. Yes looks good to me.

Test build #4447 has started for PR 23177 at commit a5587b5.

Test build #4447 has finished for PR 23177 at commit a5587b5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Thank you for pinging me, @HyukjinKwon .

Oh, @kiszk . Could you update AppVoyer script together? AppVoyer still uses a static version number unlike with build/mvn.

https://github.com/apache/spark/blob/master/dev/appveyor-install-dependencies.ps1#L84

Sure, updated. Thanks for letting know them.

Test build #99538 has started for PR 23177 at commit aa25833.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5601/
Test PASSed.

Test build #99538 has finished for PR 23177 at commit aa25833.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99538/
Test PASSed.

Merged build finished. Test PASSed.

Merging to master. I've been using 3.6.0 on the command line for a while and it's fine. Note that if you use your local mvn in IntelliJ, it seems to have some incompatibility with the current latest 2018.13.1 release. It's no big deal, falling back to its internal 3.3.9 version works fine.


Use ProGuard / Gr8 to shrink wrapper

Reduces the size of the wrapper JAR from ~63kB to under 42kB. Also allows us to add dependencies on more projects without blowing up the size of the wrapper JAR.
Because we can use external projects now, we can move PathTraversalChecker to :files and use it from there. We can also stop publishing :wrapper-shared as a library to repo.gradle.org. For more context see #25431.
The changes use ProGuard / Gr8 plugin to tree-shake the contents and remove dead code.
We could go even further, to around 35kB by enabling obfuscation.
Fixes #25431.

I worry that adding a dependency on other projects might bite us in the butt when it comes time to update the minimum jdk version.
The plan is to leave the wrapper jdk8 compatible while updating the rest of Gradle to java17.
Depending on :files here would now lock :files and it's transitive dependencies into Java 8.
I think we should strive to avoid adding project dependencies to the wrapper

I agree that it should not be locked in unnecessarily, but AFAIK we will still have some of those projects locked to 8 because they are used workers, :files being one of those. So I don't think this particular dependency matters.

What @octylFractal said. We can always move out classes referenced in other projects to a separate project when we actually bump up against the problem.

Sounds good.
Just wanted to make sure it was considered

@bot-gradle test and merge please.

I've triggered a build for you. Click here to see all failures if there's any.

Pre-tested commit build failed. Click here to see all build failures.

Your PR is queued. See the queue page for details.

I've triggered a build for you. Click here to see all failures if there's any.

Pre-tested commit build failed. Click here to see all build failures.

I've triggered a build for you. Click here to see all failures if there's any.


Cloud Background Polling

Polling in the foreground is never a good idea as it ties availability to whatever is being polled. That's why we recommend syncing with webhooks. But, sometimes people can't use webhooks for whatever reason, so this provides a polling mechanism that updates in a background thread. The foreground threads just check to see if any updates are possible and attempt a sync if so.
I'm no expert, but I think we have this in a good place. Its a similar pattern to brow which I've been using in production to send events for half a year or more.
That said, if anyone wants to dig into the threaded part and make suggestions, I'd love that.

I think the docs need to be updated to include this adaptor.

@sirwolfgang yep, the docs need updated, but we haven't fully finalized the API and implementation of the background poller (see #699, #700, #701), so for now it's considered and internal API. We'll get it documented as soon as we're confident that the API is stable.


build error

How did you solve it?
On October 12, 2019 07:53:33 Sunlewuyou<EMAIL_ADDRESS>wrote:

Closed #5.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I guess you tripped on building Debug config which VC-LTL does not support. I pushed a clarification in README.md about this.
You did not have to delete your issue either. It is ok to have problems and not know how to solve them :)


[AutoPR recoveryservices/resource-manager] chore: jsonfmt recoveryservices

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6222

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/5942


Implement Auto Commenting for Issue Opened and Pull Request Merged

Create an automated commenting system that responds to new issues opened and pull requests merged in the project's repository. This feature will improve communication and engagement with contributors, making it easier to provide acknowledgments, guidance, or any relevant information whenever an issue is raised or a pull request is successfully merged.
Sample message whenever the issue is raised:
Whenever an issue is opened, include the following message: Thank you [author's name] for bringing up this issue to help enhance our project even further! I'll review it sooner. 🙌❤' Ensure that the message mentions the author of the issue.
Sample message whenever the Pull Request is merged:
Whenever a pull request is merged, include the following message: 'Congratulations [author's name]! 🎉 Your pull request has been merged. Thanks for your valuable contribution! 🙌' Ensure that the message mentions the author of the merged pull request.

If you have any futher questions or clarification regarding this issue, don't hesitate to askk. Thank you!

Can i try?

Ofc.

Can i try?

On it


Import

I created the import of data into iRODS through the stepping stone server.
I also fixed some of the logging in the success, paths were not always correctly mapped between iRODS and the linux filesystem. This function can. now also been used in both directions, iRODS to filesystem and vice versa.

I find the names for the servers - local, remote, irods - a little confusing at times. Maybe you can use local, stepping, irods?


Not a bug but a question about the emulator fork itself, there was no issues tab there.

Wanted to say thank you for making a great tool, I'm currently using it for a translation project right now but have a question. It seems the default behavior of the subtitles is to fade out, is there a way to have it so it doesn't fade out? I'm using this tool to translate an FMV cutscene and its a bit weird to see the text disappear so suddenly.
Thanks!

Hi, Dolphin subtitle system is a dirty hack abusing its notification system. Its just reusing whatever system was in place to display system messages. As such there are multiple shortcomings, like crappy pixel-font that looks horribly when text is larger.
I think I remember bits of code where feade-out behavior could be changed.
As you probably noticed, subtitle format is rather crappy and has to struggle against limitations of both Wii and rest of Dolphin.
It is all just an experimental implementation using dirty hack, and movie-subs are even more experimental. To put it bluntly, I had no idea what I was doing, what I needed, and how to glue it all together, and then kept crashing against all the weird quirks of emulation.
It is unfinished, and highly experimental, but I plan to get back to it "soon". Rough roadmap would be:

start from scratch on newest Dolphin sourcode
port simplified text display thingie
fix all the memory leaks in JSON parsing...
improve file offset logger
make MR with some nice examples of usage to get it into vanilla Dolphin and never touch C++ again :)

I'd be interested in hearing your ideas on how it should be implemented.
I'd be interested in seeing how you'd built subtitle file for video scenes. It started as single file to single text mapping, as I was dealing with thousands of short sound files.
FYI, I have experimented with using time instead of file offset. It works... as long as you can maintain emulation speed near 100%, which makes it virtually worthless. Syncing to emulation speed is just hell, so my best idea was to add logging mode which would dump timestamp+offset into logs and provide some simple tool that would build dummy subtitle file(s) full of offset-stamps ready to be filled with TL.
Project as a whole has been put on hold due to health issues, but I am slowly coming back online.

Hi, Dolphin subtitle system is a dirty hack abusing its notification system. Its just reusing whatever system was in place to display system messages. As such there are multiple shortcomings, like crappy pixel-font that looks horribly when text is larger.
I think I remember bits of code where feade-out behavior could be changed.
As you probably noticed, subtitle format is rather crappy and has to struggle against limitations of both Wii and rest of Dolphin.
It is all just an experimental implementation using dirty hack, and movie-subs are even more experimental. To put it bluntly, I had no idea what I was doing, what I needed, and how to glue it all together, and then kept crashing against all the weird quirks of emulation.
It is unfinished, and highly experimental, but I plan to get back to it "soon". Rough roadmap would be:
start from scratch on newest Dolphin sourcode
port simplified text display thingie
fix all the memory leaks in JSON parsing...
improve file offset logger
make MR with some nice examples of usage to get it into vanilla Dolphin and never touch C++ again :)

I'd be interested in hearing your ideas on how it should be implemented.
I'd be interested in seeing how you'd built subtitle file for video scenes. It started as single file to single text mapping, as I was dealing with thousands of short sound files.
FYI, I have experimented with using time instead of file offset. It works... as long as you can maintain emulation speed near 100%, which makes it virtually worthless. Syncing to emulation speed is just hell, so my best idea was to add logging mode which would dump timestamp+offset into logs and provide some simple tool that would build dummy subtitle file(s) full of offset-stamps ready to be filled with TL.
Project as a whole has been put on hold due to health issues, but I am slowly coming back online.

Thanks for the reply, glad you're feeling better.
The only suggestions I could think of would be
Remove the fade out, my use case is for an fmv, and it makes it hard to follow.
Even if not posso

Oh, I'm glad that weirdness of that json works out for you too! It was purpose built to help keeping subs for 6 thousand voice files somewhat organized :D
Fade out should be easy change from what I remember of related Dolphin code.
Better font and control over background is well withing possibilities of in-game UI framework Dolphin uses, its just not implemented/exposed enough for subtitle system to make use currently. It would require more digging in depths of Dolphin codebase.

Not sure how newGbaXL didn't, but he was able to use bin strings to convert all the original jp to a text file to easily replace it with ascii text. It took way less time to edit things, so that's been a big help.
Sadly I can't find someone to translate the last 2 chapters, but that's a different issue lol. Either way, thank you for your contributions.

Hah, BinString tool is an abomination that should have never been made... but it works :D
And its CLI is half-broken, gotta rewrite it too. I want to give it some UI too, so regexp tweaking would give visible results in real time.
Turns out that, aside of angry internet people, nothing stops you from loading unprintable characters into string then doing RegExp on ASCII codes. Eg. null delimited strings are just [\0x01-\0xFF]+\0x00 with Single Line flag, its quite easy and you can easily do it in any language with good String and RegExp libraries.
Hard part are text encodings. When looking for actual text you gotta recode bytes to target text encoding, execute regexp, and then guestimate where in byte stream text is located. Its not an exact science with Shift-JIS encoding, as its non-reversible variable-width encoding. Recoding Shift-JIS back and forth garbles bytes a bit but length remains usually the same, so it mostly works.


Dont remove body reference?

I removed the last usages of the GetPhysicBody() methods. But Im wondering if maybe we should keep them just as an option? If there are any abstractions we missed in the future, at least it will still prove useful to more knowledgable users.
If you dont see that being an issue @Nicogo1705 they should be good to remove now.

For me, I'd prefer to keep it, allowing users to perform more unconventional actions. @Eideren might not agree with me on this since it can break things easy. Maybe keep it with a ///Summary warning or make it internal so ppl can use reflection to get in in case they really want it.

What about the Obsolete attribute?

That way we can warn users but keep it for advanced users.

I dont think this has relevance anymore right?


[WIP] Remove many uses of Thread.sleep() from streaming tests

Update: we have decided to split this into a series of smaller PRs: #3801 and #3832.
This is a work-in-progress PR towards removing many of the Thread.sleep() calls from Spark Streaming's test suite, since I think that these calls make these tests race-prone and flaky.
Running list of the JIRAs that this patch addresses / intends to address:

SPARK-4835: "Streaming saveAs*HadoopFiles() methods may throw FileAlreadyExistsException during checkpoint recovery"
SPARK-1600: "Flaky "recovery with file input stream" test in streaming.CheckpointSuite"

TODOS:

[x] Fix SPARK-1600 by removing the Thread.sleep calls from the recovery with file input stream test.  There are several uses of Thread.sleep here which seem to serve several different purposes, so this will require some care.
[x] Remove the sleep calls in InputStreamSuite.  Most of these cases look simple to replace with the new StreamingTestWaiter, but the testFileStream case looks like it could be tricky.  Going to defer removing the sleeps from multi-thread receiver since that looks like a bit of work and we can do it later if we observe flakiness.
[ ] Investigate the uses in ReceiverSuite.  There are a few Thread.sleep(0) cases which seem confusing; if they're still necessary, they should be commented.
[ ] Might be able to remove one or two low-hanging fruit calls in MasterFailureTest, since these seem to be blocking on events like the StreamingContext starting and we have waiters for this.
[ ] Determine whether the fix for SPARK-4835 should be done differently (see discussion on JIRA).

I'm going to close this for now; I'll open separate, smaller PRs for the remaining test cleanup.


Create README.md

Added Turkish README.md file

@Lapatou - Thanks for the contribution! However! Please:

submit the Turkish readme file as a separate Pull Request and remove it from this change list.
agree to the Google's Contributor License Agreement (CLA). For more information, see https://cla.developers.google.com/ .

The nblint fix breaks links to colab, and the Turkish readme file should contributed separately.
Closing this PR: not merging this.


Azure StreamAnalytics

Hi there,
is it possible to support Azure StreamAnalytics in Azure CLI?
There is currently no Way (for our Setup) to monitor the Jobs there without the Portal, we would be happy to automate this with Azure CLI.
Thanks!

https://azure.microsoft.com/en-us/services/stream-analytics/
@achandmsft can we reach out to the IoT folks and see if they own this service? If they don't, they may know who does.

Yes, it seems like an oversight to not have it included. It's also been raised here more than 18 months ago https://feedback.azure.com/forums/270577-stream-analytics/suggestions/33680929-allow-creating-and-configuring-stream-analytics-fr
The tooling has become unfortunately somewhat inconsistent (streamanalytics only supported on powershell while functionapps are only supported via az cli) which makes life a bit of a PITA. Would be nice to have one tool that has complete support

@boredom2 Hi. We already supported this service. https://github.com/Azure/azure-cli-extensions/blob/master/src/stream-analytics/README.md


feat: Support for blend mode arg in human readable format

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add helper function for getting default branch name

I.e. do this git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@'
This is useful for building the interval used by our commit linter for example.

@Edholm Great idea! Sounds like it would fit under the mggit package

@Edholm How about this? https://github.com/einride/mage-tools/pull/105

@Edholm How about this? #105

Perfect!

Closing this for now. Se above PR for more info. Reopen if it becomes relevant in the future.


ping() method implementation is inconsistent

This is definition of the ping() method in napalm-base:
            {
                'success': {
                    'probes_sent': 5,
                    'packet_loss': 0,
                    'rtt_min': 72.158,
                    'rtt_max': 72.433,
                    'rtt_avg': 72.268,
                    'rtt_stddev': 0.094,
                    'results': [
                        {
                            'ip_address': u'<IP_ADDRESS>',
                            'rtt': 72.248
                        },
                        {
                            'ip_address': '<IP_ADDRESS>',
                            'rtt': 72.299
                        }
                    ]
                }
            }
            OR
            {
                'error': 'unknown host <IP_ADDRESS>.8'
            }

napalm-ios, napalm-nxos (SSH), napalm-eos are not implemented this way on the error case.
Also I don't think it is the right data structure. I propose we change it to the following:
{
                    'status': 'success'      (or 'error')
                    'message':  'for returning error messages or other info'
                    'probes_sent': 5,
                    'packet_loss': 0,
                    'rtt_min': 72.158,
                    'rtt_max': 72.433,
                    'rtt_avg': 72.268,
                    'rtt_stddev': 0.094,
                    'results': [
                        {
                            'ip_address': u'<IP_ADDRESS>',
                            'rtt': 72.248
                        },
                        {
                            'ip_address': '<IP_ADDRESS>',
                            'rtt': 72.299
                        }
                    ]
}

We also should clearly define what 'error' means i.e. all probes dropped; one probe dropped, complete failure to ping (like a DNS failure).

Yes, I agree on the structure you propose @ktbyers. I think we should start discussing where the merged napalm will be hosted, open issues for the wishlist, and solve them after the merge. This one certainly is one of the things we should solve in a later version, with much advance notification.

Since the current data structure is totally inconsistent between platforms...the advance notification probably shouldn't be that long (as it is already totally messed up).