ActivityMonitor.waitForActivity() inside setupActivityStackListener() not working when running high number of test cases.

Hi,
I am using the latest robotium and i am getting a null pointer exception as follow .
java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.Activity android.app.Instrumentation$ActivityMonitor.waitForActivity()' on a null object reference
only when running test case more that 300 . If i split the job then it is working fine however i am in need to run large amount of test cases.

Thanks for reporting this. Can you please send me the complete stack trace?
On Nov 6, 2015 4:08 AM, "manirajaa2"<EMAIL_ADDRESS>wrote:

Hi,
I am using the latest robotium and i am getting a null pointer exception
as follow .
java.lang.NullPointerException: Attempt to invoke virtual method
'android.app.Activity
android.app.Instrumentation$ActivityMonitor.waitForActivity()' on a null
object reference
only when running test case more that 300 . If i split the job then it is
working fine however i am in need to run large amount of test cases.
—
Reply to this email directly or view it on GitHub
https://github.com/RobotiumTech/robotium/issues/793.

Actually while running the tests following is the only stack trace which i am getting in the console. There is no stack trace followed with app code or testing code .
java.lang.NullPointerException
at com.robotium.solo.ActivityUtils$1.run(ActivityUtils.java:152)
at java.lang.Thread.run(Thread.java:841)

I'm getting the same issue. Test runs fine by itself but crashes when i run more than one test case
E/AndroidRuntime: FATAL EXCEPTION: activityMonitorThread
Process: com.getintheloop.getintheloop.dev, PID: 4126
java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.Activity     android.app.Instrumentation$ActivityMonitor.waitForActivityWithTimeout(long)' on a null object reference
at com.robotium.solo.ActivityUtils$1.run(ActivityUtils.java:152)
at java.lang.Thread.run(Thread.java:818)

Hello.
I am getting the same error trying to run Robotium tests using JUnit4 runner. One test runs fine, but during the execution of the second test, the application falls with the NullPointerException.
My test are created for a simple case of a list of records having the editor screen. The first test (usually addition of a new record) runs fine, but the second one (the modification of the record) breaks after the dialog screen is closed. The test is able to click on the main screen to invoke the dialog, but when it is closed, the test fails.
The application is written using mortar/flow, so there is a single activity application and minimal amount of library-driven fragments. The editor is a custom flow screen. There are also tests that were written using the old instrumentation (based on JUnit 3) and Robotium - they are running fine.
build.gradle:
androidTestCompile 'com.jayway.android.robotium:robotium:5.5.3'
androidTestCompile 'com.jayway.android.robotium:robotium-solo:5.5.3'
androidTestCompile('com.android.support.test:rules:0.4.1')
androidTestCompile('com.android.support.test:runner:0.4.1')
// This dependency is needed due to runner 0.4.1 depending on 23.0.1
androidTestCompile 'com.android.support:support-annotations:23.1.1'

The structure of the tests is the following. Custom methods are simple private methods that interact with the corresponding view using Robotium.Solo.
import android.support.test.InstrumentationRegistry;
import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4;
import android.test.suitebuilder.annotation.LargeTest;
import com.robotium.solo.Solo;
....
@RunWith(AndroidJUnit4.class)
@LargeTest
public class EditorTest {

    @Rule
    public ActivityTestRule<MainActivity> activityTestRule =
            new ActivityTestRule<>(MainActivity.class);

    private Solo solo;

    @Before
    public void clearDatabase() {
       // Database clear code was removed
        Log.d("test", activityTestRule.getActivity().toString());
        solo = new Solo(InstrumentationRegistry.getInstrumentation(),
                activityTestRule.getActivity());
    }

    @Test
    public void newRecordAddition() {
        Record addedRecord = addSleepRecord();
        assertRecordIsDisplayedInRecyclerView(addedRecord);
    }

    @Test
    public void recordModification() {
        addSleepRecord();
        solo.clickInRecyclerView(0);
        Record modifiedRecord = new SleepTime(...);
        fillInRecordEditScreenAndSave(modifiedRecord);
        assertRecordIsDisplayedInRecyclerView(modifiedRecord);
    }

The relevant output of the logcat:
01-30 10:26:07.082 9695-9709/? I/TestRunner: started: newRecordAddition(my.app.RecordEditorTest)
01-30 10:26:08.031 9695-9709/my.app D/test: my.app.core.MainActivity@64244d8
01-30 10:26:16.030 9695-9709/my.app I/TestRunner: finished: newRecordAddition(my.app.RecordEditorTest)
01-30 10:26:16.034 9695-9709/my.app I/TestRunner: started: recordRemoval(my.app.RecordEditorTest)
01-30 10:26:16.548 9695-9709/my.app D/test: my.app.core.MainActivity@b7c7871

... A lot of records like this:
01-30 10:26:18.569 9695-9695/my.app W/art: Attempt to remove non-JNI local reference, dumping thread
01-30 10:26:18.948 9695-9695/my.app W/AsyncHttpClient: Passed contentType will be ignored because HttpEntity sets content type
01-30 10:26:19.122 9695-9786/my.app E/AndroidRuntime: FATAL EXCEPTION: activityMonitorThread
  Process: my.app, PID: 9695
  java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.Activity
  android.app.Instrumentation$ActivityMonitor.waitForActivityWithTimeout(long)'
  on a null object reference
  at
  com.robotium.solo.ActivityUtils$1.run(ActivityUtils.java:152)
    at java.lang.Thread.run(Thread.java:818)

My issue was resolved when I have switched from emulator as a target platform to a real device.

Thanks for reporting this. The issue will be fixed shortly.

Hello.
I have continued to add more tests to the project. There are 4 of them now. And today I found a new lead in logcat data. Before every crash, there is a line denoting that the background GC has finished.
Also before the second test there is a line that states that there are activities that are to be destroyed. And there is a notice about that action just before the crash.
The corresponding part of the logcat data is the following:
02-02 18:48:24.266 29326-29359/? I/TestRunner: run started: 4 tests
02-02 18:48:24.280 29326-29359/? I/TestRunner: started: sleepRecordAddition(my.app.HistoryScreenTests)
02-02 18:48:24.283 29326-29326/? I/MonitoringInstrumentation: Activities that are still in CREATED to STOPPED: 0
02-02 18:48:24.284 29326-29359/? D/ActivityInstrumentationRule: Launching activity my.app.core.MainActivity

LINES REMOVED FROM THE FIRST TEST RUN

02-02 18:48:35.455 29326-29359/my.app I/TestRunner: finished: newRecordAddition(my.app.HistoryScreenTests)
02-02 18:48:35.463 29326-29326/my.app I/MonitoringInstrumentation: Activities that are still in CREATED to STOPPED: 1
02-02 18:48:35.469 29326-29359/my.app I/TestRunner: started: recordRemoval(my.app.HistoryScreenTests)
02-02 18:48:35.471 29326-29326/my.app I/MonitoringInstrumentation: Activities that are still in CREATED to STOPPED: 1
02-02 18:48:35.471 29326-29359/my.app D/ActivityInstrumentationRule: Launching activity my.app.core.MainActivity
02-02 18:48:35.476 29326-29638/my.app D/MonitoringInstrumentation: execStartActivity(context, ibinder, ibinder, activity, intent, int, bundle
02-02 18:48:35.476 29326-29638/my.app I/Timeline: Timeline: Activity_launch_request id:my.app time:7315962
02-02 18:48:35.552 29326-29326/my.app D/LifecycleMonitor: Lifecycle status change: my.app.core.MainActivity@83387af in: PRE_ON_CREATE
02-02 18:48:35.586 29326-29326/my.app I/Ads: Starting ad request.
02-02 18:48:35.587 29326-29326/my.app I/Ads: Use AdRequest.Builder.addTestDevice("...") to get test ads on this device.
02-02 18:48:35.619 29326-29326/my.app D/LifecycleMonitor: Lifecycle status change: my.app.core.MainActivity@83387af in: CREATED
02-02 18:48:35.625 29326-29326/my.app W/AsyncHttpClient: Passed contentType will be ignored because HttpEntity sets content type
02-02 18:48:35.626 29326-29326/my.app D/LifecycleMonitor: Lifecycle status change: my.app.core.MainActivity@83387af in: STARTED
02-02 18:48:35.627 29326-29326/my.app D/LifecycleMonitor: Lifecycle status change: my.app.core.MainActivity@83387af in: RESUMED
02-02 18:48:35.720 29326-29339/my.app I/art: Background sticky concurrent mark sweep GC freed 10316(510KB) AllocSpace objects, 0(0B) LOS objects, 3% free, 16MB/16MB, paused 5.523ms total 37.170ms
02-02 18:48:35.730 29326-29341/my.app W/Ads: There was a problem getting an ad response. ErrorCode: 2
02-02 18:48:35.829 29326-29326/my.app V/JsonHttpResponseHandler: response body is null, calling onFailure(Throwable, JSONObject)
02-02 18:48:35.860 29326-29326/my.app I/Ads: Scheduling ad refresh 60000 milliseconds from now.
02-02 18:48:35.860 29326-29326/my.app W/Ads: Failed to load ad: 2
02-02 18:48:35.899 29326-29326/my.app I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@33dbb86d time:7316384
02-02 18:48:36.328 29326-29326/my.app D/LifecycleMonitor: Lifecycle status change: my.app.core.MainActivity@14675404 in: STOPPED
02-02 18:48:36.329 29326-29326/my.app D/LifecycleMonitor: Lifecycle status change: my.app.core.MainActivity@14675404 in: DESTROYED
02-02 18:48:37.758 29326-29339/my.app I/art: Background partial concurrent mark sweep GC freed 7369(380KB) AllocSpace objects, 0(0B) LOS objects, 24% free, 16MB/21MB, paused 1.251ms total 104.278ms
02-02 18:48:41.825 29326-29505/my.app E/AndroidRuntime: FATAL EXCEPTION: activityMonitorThread
                                                                                Process: my.app, PID: 29326
                                                                                java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.Activity android.app.Instrumentation$ActivityMonitor.waitForActivityWithTimeout(long)' on a null object reference
                                                                                at com.robotium.solo.ActivityUtils$1.run(ActivityUtils.java:152)
                                                                                at java.lang.Thread.run(Thread.java:818)

Can you please try to reproduce this issue with the attached jar?
robotium-solo-5.5.4-SNAPSHOT.jar.zip

With this version I was able not only to run all tests on a real device, but also on the emulator. As I have said earlier with 5.5.3 the second test always broke the execution, but now all of them are passing.
Thank you for fixing this!

Thanks again for reporting this. This has been fixed in Robotium 5.5.4.
On Tue, Feb 2, 2016 at 9:08 PM, Andrey Vasilev<EMAIL_ADDRESS>wrote:

With this version I was able not only to run all tests on a real device,
but also on the emulator. As I have said earlier with 5.5.3 the second test
always broke the execution, but now all of them are passing.
Thank you for fixing this!
—
Reply to this email directly or view it on GitHub
https://github.com/RobotiumTech/robotium/issues/793#issuecomment-179014160
.

Just got back to this. I know Its a little late for feedback, but the fix works great with my tests. Love the work you guys are doing. Rock on.

After this version of fix 5.5.4 UI thread is hanging a lot and leads Key dispatch Timeout issue in the app and leads to ANR Issue. Please resolve it.

@manirajaa2 would it be possible for you to share an app that exhibits this issue?


added some procedure into how to build

You need ssl.h < libssl-dev
You need java.
'make' is expected to run automatically, but it doesn't.

The .rst docs are pretty old :/
I think we will just get rid of them and use the wiki: https://github.com/hyperledger/iroha/wiki
I will go ahead and merge this though.


Highs submodule ci issue

Reference issue

gh-15285
What does this implement/fix?

Avoid pulling all of HiGHS' history
Additional information

One other thing to note is that I did see just a regular SciPy clone take 37 minutes in gh-15284 a few hours ago, so maybe "wait and see" is also "ok" for a little bit if this is really just infrastructure suffering a bit on "holiday time."

One other thing to note is that I did see just a regular SciPy clone take 37 minutes in gh-15284 a few hours ago, so maybe "wait and see" is also "ok" for a little bit if this is really just infrastructure suffering a bit on "holiday time."

Yep, I can see that across a few PRs now and I think it's clear that this is happening for submodules other than HiGHS as well.  But this PR seems like it can only help (reducing overall load on CI nodes) and I think still makes sense to consider regardless.


Allow clean to keep text nodes with style

I would like to clean some html with styling to remove some tags but keep the styling of the text nodes
But it seems if the node is of type TextNode the tag and all styling is lost
  @Test
  void keepStyle() {
    Assertions.assertThat(Jsoup.clean("""

                  should be removed

not allowedallowed be inside

                  should be kept with style

                """, new Safelist()
        .addTags("p", "b", "em", "i", "strong", "u", "span", "ul", "ol", "li", "pre", "h1", "h2", "h3", "h4", "h5", "h6")
        .addAttributes(":all", "style"))
        )
        .isEqualTo("""
            should be kept with style
            """);
  }

This isn't an issue with the Cleaner. Your input HTML has a missing " in the  attribute, which makes most of the content an attribute value. If you fix that, the clean works:
String html = """

    should be removed

not allowedallowed be inside

    should be kept with style

""";
Safelist allowStyle = new Safelist()
    .addTags("p", "b", "em", "i", "strong", "u", "span", "ul", "ol", "li", "pre", "h1", "h2", "h3", "h4", "h5", "h6")
    .addAttributes(":all", "style");

String clean = Jsoup.clean(html, allowStyle);

System.out.println(clean);

Gives:

should be removed
not allowedallowed be inside should be kept with style


Fixes around transaction saving menu items

Three related minor issues are addressed:

File -> Save transaction and File -> Save PSBT -> As Binary share the Ctrl+S accelerator, but only one of the items should be enabled at a time. It turns out that even if the parent File -> Save PSBT menu is disabled, the As Binary accelerator is still active and gets priority over Save transaction. This PR explicitly disables As Binary along with File -> Save PSBT to address this.

When Sparrow starts up without any tabs open, the Save transaction menu item is enabled, but clicking it makes no sense and causes a NullPointerException. This PR disables it on startup. As far as I can tell, there is no session management or similar that would be disrupted by this.

When the last tab to be closed is a transaction tab (such that there are no more tabs open), the File -> Save PSBT menu item is still visible and enabled, and will cause a NullPointerException if selected. This PR fixes that.

Thanks for this.
Oddly enough I can't reproduce the first issue on OSX - assume you are testing on Linux or Windows? At any rate the changes for it seem good to have anyway.

I am indeed on Linux, and haven't tested on other systems.
I forget exactly how to reproduce the first issue, but one way to see it manifest on current master is to start Sparrow without any open tabs. Now File -> Save Transaction is enabled and has the Ctrl+S accelerator, but if you press Ctrl+S, you get an NPE from AppController.savePSBTBinary, which is the Save PSBT -> As Binary action. At least I do.

Interestingly I confirmed OSX and Linux do differ using this test. OSX NPEs on saveTransaction while Linux NPEs on savePSBT.
Merging this now.

Thanks for taking the time to confirm that! Strange, I wouldn't have expected platform differences there.


PP-8139 Fix payments dashboard dependency tangle

A recent upgrade to helmet's defaults and some browser dependencies has
resulted in inline JavaScript being  blocked on the dashboard, make an
exception for scripts while we work that out.
Point to legacy aggregate stats route in Ledger that includes in-flight
payments and allows requesting aggregate data to a timezone granularity.
Add naive mechanism to stop slow connections and busy transactions/s periods
from fetching the same events.
Stop fetching the last minute of events when the page loads, this can
bring down slower machines.

Depends on https://github.com/alphagov/pay-ledger/pull/1246


Error in serve.coverage

I'm submitting a ...  (check one with "x")
[ X] bug report
[ ] feature request
[ ] support request

Current behavior
npm run serve.coverage fails with the following error:
npm run serve.coverage                                                                                31.10.2016 15:14:00

><EMAIL_ADDRESS>serve.coverage /home/karl/Work/cnc/angular2-seed
> remap-istanbul -b src/ -i coverage/coverage-final.json -o coverage -t html && npm run gulp -- serve.coverage --color

/home/karl/Work/cnc/angular2-seed/node_modules/istanbul/lib/store/memory.js:38
            throw new Error('Unable to find entry for [' + key + ']');
            ^

Error: Unable to find entry for [src/app/app.component.ts]
    at MemoryStore.get (/home/karl/Work/cnc/angular2-seed/node_modules/istanbul/lib/store/memory.js:38:19)
    at HtmlReport.writeDetailPage (/home/karl/Work/cnc/angular2-seed/node_modules/istanbul/lib/report/html.js:411:67)
    at /home/karl/Work/cnc/angular2-seed/node_modules/istanbul/lib/report/html.js:489:26
    at SyncFileWriter.writeFile (/home/karl/Work/cnc/angular2-seed/node_modules/istanbul/lib/util/file-writer.js:57:9)
    at FileWriter.writeFile (/home/karl/Work/cnc/angular2-seed/node_modules/istanbul/lib/util/file-writer.js:147:23)
    at /home/karl/Work/cnc/angular2-seed/node_modules/istanbul/lib/report/html.js:488:24
    at Array.forEach (native)
    at HtmlReport.writeFiles (/home/karl/Work/cnc/angular2-seed/node_modules/istanbul/lib/report/html.js:482:23)
    at /home/karl/Work/cnc/angular2

Angular Seed Version:
master dcedc18

Node: node --version =6.9.1

Funny thing is that it works if you run through 'npm run start.deving'.
Additionally 'npm test' generates the coverage files in the /coverage folder and if you hook that folder up to a http server you can freely browse the coverage report.

thx @pete2014
I compared the two approaches and provided a pull request which solves the problem.


Update to latest ouroboros-network

One oddity here is that overlapping ToJSON instances for PParamsUpdate were revealed.
The instances are different.
This PR removed the instance in Cardano.Tracing.OrphanInstances.Shelley, but this might not be the right thing to do.

The remaining overlapping instance is here:
https://github.com/input-output-hk/cardano-node/pull/2419/files#diff-ac7305e248904835082df7005c69b01b64a09a49438110cf60eee4c4d8013046R114

bors r+

bors r-

bors r+


Item template did not install

Describe the bug
On my work laptop, I installed the extension.  When I try to add a new item to a C# console app, I don't see the notebook option for a new item.  On a customer dev machine I did the same thing and I do see the notebook item.  Not sure what's different.
Please complete the following:
Which version of .NET Interactive are you using? There are a few ways to find this out:
I am not able to open a notebook and the dotnet interactive command is not recognized from the command line.

In a notebook, run the #!about magic command.
At the command line, run dotnet interactive --version.

OS

[X] Windows 10
[ ] macOS
[ ] Linux (Please specify distro)
[ ] iOS
[ ] Android

Browser

[X] Chrome
[ ] Edge
[ ] Firefox
[ ] Safari

Frontend

[ ] Jupyter Notebook
[ ] Jupyter Lab
[ ] nteract
[ ] Visual Studio Code
[ ] Visual Studio Code Insiders
[X] Other (please specify)  Visual Studio

Screenshots
If applicable, add screenshots to help explain your problem.

Can you try searching for it?

@LittleLittleCloud have you ever seen this? Would clearing a cache help?

Maybe try clear VS cache and see if item template comes back? You can do this through opening command line in VS tool tab and run the following command

devenv.exe /clearCache

@mnagatos101 did clearing the cache help resolve the issue?

I'm having the same issue on VS Community 2022 17.0.4. Notebook Editor is installed but no template/shortcut for notebook creation is available in the UI. VS installation repairing and cache cleaning didn't help.

@mnagatos101 @konst-sh Are you still seeing this issue?

Yes, there are no shortcut for notebook creation still.

Вторник, 12 апреля 2022, 20:20 +03:00 от Jon Sequeira @.>:

@. @konst-sh Are you still seeing this issue?
—
Reply to this email directly,  view it on GitHub , or  unsubscribe .
You are receiving this because you were mentioned. Message ID:  <dotnet/interactive/issues/1767/1096991800 @ github . com>

--
Константин Шириазданов

The notebook experience is being consolidated in VS Code.


Warn on invalid regular expressions

I don't think that fit's the current interface of pattern and very well. Following that logic, every operator would need to return an expected<pattern> as well.
Also, if a conjunction or a disjunction is used in a query in combination with an invalid pattern, should we really abort, or just treat the pattern as "not matched" / "not found" while issuing a warning? Because I assumed the latter to be better UX.

I have reworked this as discussed at the office.

Yeah, it catches everything. However, I would say it makes more sense to perform a single check in the visitor function for predicate, e.g., via get_if<pattern>(rhs). Then this is also more robust when we add new predicate operand types.

I have done the check as you requested, but please note that this will perform worse because it requires another level of indirection. We actually need caf::get_if<pattern>(caf::get_if<data>(&p.rhs)) here. I know this is not a performance critical path, but I think we should always be aware of the cost of variant visitation.

I know this is not a performance critical path, but I think we should always be aware of the cost of variant visitation.

Exactly, the critical path should be the guideline. Expression validation takes place once and dwarfs in comparison to the following query execution.
Because of that, performance takes a less important role in the implementation. Rather, maintainability, flexibility, and degree of abstraction trump in this setting.


Fix issue #556: issue with objects in activeInstruction params

As referenced in issue 556, here is a pull request based on my original suggestion from July, based on the current state of router.js.

@EisenbergEffect this PR can be closed

Closing since Durandal has been superseded by Aurelia just shy of four years ago.


FIPS Module Checksum Data Null in OpenSSL 3.0

Good Morning,
I am having an issue with the FIPS Module in an OpenSSL 3.0 build. Below are the build steps and the issues that I am seeing. Sorry for the length but I am trying to provide all of the relevant details in hopes that the solution to this issue will be easily identifiable.
First, we are using ZLib 1.2.11. This is the default build for a windows machine so the tarball is extracted to the zlib directory and then we run “nmake -f win32/Makefile.msc”.
Second, we are using OpenSSL 3.0.0. After extracting the tarball to the OpenSSL directory, we are running the following configuration:
perl Configure VC-WIN32 zlib-dynamic --with-zlib-include=<ZLIB_INCLUDE_DIR> --with-zlib-lib=<ZLIB_LIB_DIR> enable-fips enable-static-engine enable-capieng -DOPENSSL_CAPIENG_DIALOG
Followed by the default “nmake”. For the install step, I have tried both the default “nmake install” and I am currently using “nmake DESTDIR=<OPENSSL_INSTALL_DIR> install” to mimic the file structure after an install would have been done on the current machine.
Once the install is completed, I am running the openssl fips-install command:
Openssl fipsinstall –out “<OPENSSL_INSTALL_DIR>\Program Files (x86)\Common Files\SSL\fipsmodule.cnf” –module “<OPENSSL_INSTALL_DIR>\Program Files (x86)\OpenSSL\lib\ossl-modules\fips.dll”
At this point, all of the self-tests pass and the configure file is updated successfully. I also have to go into openssl.cnf and uncomment the following lines:
For FIPS
Optionally include a file that is generated by the OpenSSL fipsinstall
application. This file contains configuration data required by the OpenSSL
fips provider. It contains a named section e.g. [fips_sect] which is
referenced from the [provider_sect] below.
Refer to the OpenSSL security policy for more information.
.include fipsmodule.cnf
…
[provider_sect]
default = default_sect
The fips section name should match the section name inside the
included fipsmodule.cnf.
fips = fips_sect
I am using this as part of stunnel so I am doing a stunnel build following this step. Once stunnel is built, I am running stunnel to create a connection but it fails on trying to initialize the FIPS module. Here is the error stack that I am getting:
[!] error queue: crypto\provider_core.c:903: error:078C0105:common libcrypto routines::init fail
[!] error queue: providers\fips\fipsprov.c:706: error:1C8000D8:Provider routines::self test post failure
[!] error queue: providers\fips\self_test.c:387: error:1C8000E0:Provider routines::fips module entering error state
[!] FIPS PROVIDER: providers\fips\self_test.c:289: error:1C8000D5:Provider routines::missing config data
Tracing through this, I have found that the check on line 288 in the self_test.c is failing because the module_checksum_data is null in the ST object. What I am failing to understand is why the module checksum keeps coming back null. To me, it seems that I am overlooking a small step somewhere and can’t see it. Any help here would be greatly appreciated.
Thank you very much,
Bob Eshelman

The most likely explanation is that the configuration file(s) are not being found and loaded by OpenSSL correctly.
Unless the application tells it to load some other config file then OpenSSL will first check the OPENSSL_CONF environment variable. If that is set then it will load the config file specified by that variable. If it is not set then it will attempt to load the config file in OPENSSLDIR/openssl.cnf where OPENSSLDIR is a built-in hard coded value determined when OpenSSL was built. You can see this value by running the command openssl version -d.
So the first thing to check is that OpenSSL's config file exists where it expects to find it.
Assuming it does exist then, while processing the config file, it will attempt to include the data from the fipsmodule.cnf file. I suggest you carefully read the section on the ".include" config file directive on this page:
https://www.openssl.org/docs/man3.0/man5/config.html
From you description above it seems that the path you have given to fipsmodule.cnf is relative. Carefully read the text on the man page above about how relative paths are interpreted. I would suggest changing to an absolute path to fipsmodule.cnf to avoid any possibilities of problems there.

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


Correct command directory paths

r? @matklad

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @matklad (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

@bors r+
Thanks!

:pushpin: Commit 0c9e2b1 has been approved by matklad

:hourglass: Testing commit 0c9e2b1bad89f6a1d78e5756b573dd8f7b686f1a with merge 1e9c6d45826ede265eb5d54bf8b14c3c805636a7...

:sunny: Test successful - status-appveyor, status-travis
Approved by: matklad
Pushing 1e9c6d45826ede265eb5d54bf8b14c3c805636a7 to master...


Duplicate assemblies cause AddMvc to throw an exception

The constructor to CandidateResolver (lines 76-77) does not take into account case sensitivity and thus causes an exception to be thrown when the same assembly is referenced with just a different case.
To repo this bug, create two projects that will be dependencies of a ASP.Net Core projects, one that has a project.json referencing a dependency with lowercase and the other project referencing the same dependency with different case.  It will cause AddMvc to fail.
Example 1 project.json:
"Microsoft.Net.Http":  "2.2.22"
Example 2 project.json:
"microsoft.net.http":  "2.2.22"
In the ASP.Net Core project, calling services.AddMvc() in Startup.ConfigureServices will cause a Key already added exception to be thrown.

/cc @javiercn - I thought we fixed this one :-1:

@rynowak This is dependencycontext giving us bad data @pakrym

@jbagga can you see if this repros with the latest bits?

@Eilon @javiercn @rynowak
Package restore fails when trying to add the same package reference in two different projects' project.json files with different cases, when they are dependencies of the same project (as explained above). For the example I used, it complains about a dependency of the referenced package to be already added.
For package Microsoft.IdentityModel.Protocols reference:
An item with the same key has already been added. Key: Microsoft.CSharp Unspecified

@jbagga thanks.
@keflem do you have any more info about this? If you can upload a repro project to GitHub we can take another look.

@Eilon Modified exception message for duplicate runtime library names in CandidateResolver.

Marking as closed because we cannot reproduce this issue, but we improved the exception message for better diagnostics in case it happens again


BIGTOP-3872: Adjust Ambari-2.7.5 dependency to fix the deployment issues of Ambari metrics

https://issues.apache.org/jira/browse/BIGTOP-3872
Adjust Ambari-2.7.5 dependency to fix the deployment issues of Ambari metrics. When users deploy Hadoop components with Bigtop stack,  Ambari mertrics dependency should be updated to fix the related issues.

This PR is dependent on https://github.com/apache/bigtop/pull/1056, https://github.com/apache/bigtop/pull/1053.
TODO: Put the related Binary TARs and JARs on Bigtop Public Repo and update the url in ambari-metrics/pom.xml

Update url link for downloading jars/tars to S3 buckets.
Combining with https://github.com/apache/bigtop/pull/1056, it would sucessfully deploy Bigtop-3.2(Hadoop-3.3.4) + Mpack + Ambari metrics:

Also successfully Build ambari on centos7/rocky8/Debian-11 and smoke tests were passed.
./docker-hadoop.sh --create 3 \
--image bigtop/puppet:trunk-rockylinux-8 --memory 16g \
--repo  file:///bigtop-home/output --disable-gpg-check --enable-local-repo \
--stack ambari,bigtop-utils  \
--smoke-tests ambari

Successfully started process 'Gradle Test Executor 2'

Gradle Test Executor 2 started executing tests.

> Task :bigtop-tests:smoke-tests:ambari:test

org.apache.bigtop.itest.ambari.TestAmbariSmoke > testBlueprints STANDARD_OUT
    [href:http://localhost:8080/api/v1/blueprints, items:[]]

org.apache.bigtop.itest.ambari.TestAmbariSmoke > testStackNameVersion STANDARD_OUT
    [versions:[[Versions:[stack_version:2.0, stack_name:ODPi], href:http://localhost:8080/api/v1/stacks/ODPi/versions/2.0]], Stacks:[stack_name:ODPi], href:http://localhost:8080/api/v1/stacks/ODPi]

Gradle Test Executor 2 finished executing tests.

> Task :bigtop-tests:smoke-tests:ambari:test
Finished generating test XML results (0.013 secs) into: /bigtop-home/bigtop-tests/smoke-tests/ambari/build/test-results/test
Generating HTML test report...
Finished generating test html results (0.032 secs) into: /bigtop-home/bigtop-tests/smoke-tests/ambari/build/reports/tests/test
Now testing...
:bigtop-tests:smoke-tests:ambari:test (Thread[Execution worker for ':' Thread 7,5,main]) completed. Took 4.428 secs.

BUILD SUCCESSFUL in 1m 35s
30 actionable tasks: 7 executed, 23 up-to-date

This PR is dependent on #1056, #1053. TODO: Put the related Binary TARs and JARs on Bigtop Public Repo and update the url in ambari-metrics/pom.xml

The link was updated to s3 buckets.

@guyuqi  The issue you raised was not related to embedded Hadoop and HBase. Do you still need Bigtop tarball?

@guyuqi How about cherry-picking AMBARI-25780 instead of forking Ambari?

@guyuqi How about cherry-picking AMBARI-25780 instead of forking Ambari?

The issue I mentioned is irrelevant , so I closed the PR #1053.

It doesn't work by just only cherry-picking https://github.com/apache/ambari-metrics/pull/77. There are other related PRs : AMBARI-25717, AMBARI-25668, AMBARI-25599, AMBARI-25349, AMBARI-25405.....

The Ambari metrics is a dependent project, not in Ambari project after Ambari-2.8. Ambari guys are still working on Ambari metrics for Ambari-2.8 (not done).

Acctually this PR is for Ambari-2.7.5 + Mpack + Hadoop-3.3.4, I don't think we should take more efforts on cherry-picking those PRs which are based on Ambari-2.8. And Ambari guys  still didn't perform any tests on Bigtop stack + Ambari-2.8 deployment.
IMHO, it makes sense to include this minimum modification for Ambari-2.7.5 and spend time on 3.2 release work.

Thanks.
@iwasakims

It doesn't work by just only cherry-picking AMBARI-25780 Ambari metrics should upgrade hadoop and hbase for known CVE issues ambari-metrics#77. There are other related PRs : AMBARI-25717, AMBARI-25668, AMBARI-25599, AMBARI-25349, AMBARI-25405.....

AMBARI-25349 and AMBARI-25405 are already resolved in 2.7.5. You don't need AMBARI-25599 if you resolve conflicts on back-porting AMBARI-25780. While you need backport of AMBARI-25717 and AMBARI-25668, those are small patch. Using Bigtop top tarball is not solution for these.
Anyway it is not sure that JIRAs listed here are sufficient to migrate ambari-metrics to upstream Hadoop/HBase as you mentioned. I appreciate your effor moving the next Bigtop relase forward. @guyuqi

@guyuqi I reverted this. You should not merge PR with explict +1.


Default view based on camera permissions?

Hey everyone,
When presenting the CardIOPaymentViewController without camera permissions, the default view is still the camera scanning view. Since camera permissions are denied, an empty gray view is displayed. It would make sense that the default view by default should be the manual input if the AVCaptureDevice authorization status is denied. Could this be implemented?
In addition, when the camera permissions are presented and subsequently denied, it would make sense that the SDK automatically transitioned to the manual input view.
I may be misremembering but I seem to recall with previous versions, the permission-based view switching used to be included in the SDK. Has that changed with more recent versions? In case this helps, we're testing this against iOS 8.2 with the latest CardIO version 5.0.3.
Thanks!
Darren

+1

Seems reasonable. If either of you wants to tackle this, the source is available at https://github.com/card-io/card.io-iOS-source. And if not, I'm sure @dgoldman-ebay will get to it soon enough.

I may be misremembering but I seem to recall with previous versions, the permission-based view switching used to be included in the SDK. Has that changed with more recent versions?

After iOS 8 introduced camera permissions, we had to make a change (version 3.8.7, 16 Sep 2014) to prevent a crash if the user denied permission. Otherwise we haven't dealt with camera permissions.
@drn's above suggestions seem reasonable to me.
Although I do have a small nagging concern that when a user is initially presented with the permissions alert, they might reflexively choose No. In which case on future launches of card.io they'll never know what they're missing! :smiley_cat:
Not sure how to deal with that small concern, other than perhaps providing a surrogate camera screen with some text telling them what they're missing and how they could go to the Settings app to fix it. But for users who consciously chose to distrust your app re the camera, that sort of extra screen would just get annoying.
Anyhow, I think we should let these suggestions sit here for at least few days to see who else :+1:s or :-1:s them.

@drn Satisfying your first request turns out to be pretty easy. (See https://github.com/card-io/card.io-iOS-source/commit/ceb248ff13aebcf630a9107096c8e3480b659eb6 if you're curious.)

In addition, when the camera permissions are presented and subsequently denied, it would make sense that the SDK automatically transitioned to the manual input view.

This turns out to be a bit trickier. It would involve some semi-convoluted code changes, as far as I've been able to think, which doesn't strike me as a good tradeoff.
Although, hmm...
Well, let me return to this after the weekend.

@dgoldman-ebay Apologies for the delayed response! Cleaning out my inbox now - must have missed the email when it came in.
Thanks for making that code change. I think that it'll be a nicer user experience. The auto-switching based on camera permission choice was a secondary nice-to-have, but not implementing it based on your comments in the code is definitely understandable. Much appreciated!

Hi All,
I have the same issue iniOS8+.  I used below code so that I won't see blank scan view if user clicks "Don't allow".
AVAuthorizationStatus authStatus = [AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeVideo];
if(authStatus == AVAuthorizationStatusAuthorized)
{
// start card-io
}
else if(authStatus == AVAuthorizationStatusNotDetermined)
{
    [AVCaptureDevice requestAccessForMediaType:AVMediaTypeVideo completionHandler:^(BOOL granted)
    {
        if(granted)
        {
            //Start card-io
        }

    }];
}
else if (authStatus == AVAuthorizationStatusRestricted)
{
   //Alert
}
else
{
   // Alert camera denied
}

@vijayviswas yes, that code looks quite reasonable - assuming that you don't want to still use card.io in its manual-entry mode.

@drn this fix is now released. :smiley_cat:

thank you @dgoldman-ebay !


Check for Redundant Entries

We should also look into making sure there are no redundant entries (i.e., only one instance of each Pokemon should be present in  the Poke Dex

Yes initially i permited same entries for one or two people but when this approach became spammy i discontinued it. Right now there are only those pokemons that i allowed, the redundant ones were removed. Thank you.

That's wonderful to hear. :D
But how about automating that process rather than manually going through the entires?


Added missing link to WinHTTP error codes.

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


HBASE-25006 Make the cost functions optional for StochastoicBalancer

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 38s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ branch-2.3 Compile Tests _

+1 :green_heart:
mvninstall
3m 54s
branch-2.3 passed

+1 :green_heart:
checkstyle
1m  6s
branch-2.3 passed

+1 :green_heart:
spotbugs
2m  2s
branch-2.3 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 19s
the patch passed

+1 :green_heart:
checkstyle
1m 13s
the patch passed

-0 :warning:
whitespace
0m  0s
The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

+1 :green_heart:
hadoopcheck
17m 23s
Patch does not cause any errors with Hadoop 2.10.0 or 3.1.2 3.2.1.

+1 :green_heart:
spotbugs
2m  6s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 14s
The patch does not generate ASF License warnings.

39m 24s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/2/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2376

Optional Tests
dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle

uname
Linux f3fa290086e6 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.3 / 72d0cdd9fd

whitespace
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/2/artifact/yetus-general-check/output/whitespace-eol.txt

Max. process+thread count
94 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/2/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) spotbugs=3.1.12

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 37s
Docker mode activated.

-0 :warning:
yetus
0m  7s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2.3 Compile Tests _

+1 :green_heart:
mvninstall
3m 39s
branch-2.3 passed

+1 :green_heart:
compile
0m 57s
branch-2.3 passed

+1 :green_heart:
shadedjars
5m  5s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 36s
branch-2.3 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 11s
the patch passed

+1 :green_heart:
compile
0m 54s
the patch passed

+1 :green_heart:
javac
0m 54s
the patch passed

+1 :green_heart:
shadedjars
5m  1s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 35s
the patch passed

_ Other Tests _

-1 :x:
unit
133m 28s
hbase-server in the patch failed.

156m  7s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/2/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2376

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux d45574d9c661 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.3 / 72d0cdd9fd

Default Java
1.8.0_232

unit
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/2/artifact/yetus-jdk8-hadoop2-check/output/patch-unit-hbase-server.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/2/testReport/

Max. process+thread count
4230 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/2/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 37s
Docker mode activated.

-0 :warning:
yetus
0m  7s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2.3 Compile Tests _

+1 :green_heart:
mvninstall
7m 31s
branch-2.3 passed

+1 :green_heart:
compile
1m 57s
branch-2.3 passed

+1 :green_heart:
shadedjars
10m 29s
branch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
1m  5s
hbase-server in branch-2.3 failed.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 58s
the patch passed

+1 :green_heart:
compile
1m 21s
the patch passed

+1 :green_heart:
javac
1m 21s
the patch passed

+1 :green_heart:
shadedjars
7m 31s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 45s
hbase-server in the patch failed.

_ Other Tests _

-1 :x:
unit
194m 28s
hbase-server in the patch failed.

232m 38s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2376

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 23c7584f5a72 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.3 / 72d0cdd9fd

Default Java
2020-01-14

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/2/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/2/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-server.txt

unit
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/2/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/2/testReport/

Max. process+thread count
3332 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/2/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 34s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ branch-2.3 Compile Tests _

+1 :green_heart:
mvninstall
3m 40s
branch-2.3 passed

+1 :green_heart:
checkstyle
1m  9s
branch-2.3 passed

+1 :green_heart:
spotbugs
1m 59s
branch-2.3 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 14s
the patch passed

+1 :green_heart:
checkstyle
1m  7s
the patch passed

-0 :warning:
whitespace
0m  0s
The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

+1 :green_heart:
hadoopcheck
16m 53s
Patch does not cause any errors with Hadoop 2.10.0 or 3.1.2 3.2.1.

+1 :green_heart:
spotbugs
2m  3s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 16s
The patch does not generate ASF License warnings.

38m 19s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/3/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2376

Optional Tests
dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle

uname
Linux 765f43c47545 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.3 / 1c494bb8d8

whitespace
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/3/artifact/yetus-general-check/output/whitespace-eol.txt

Max. process+thread count
94 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/3/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) spotbugs=3.1.12

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@clarax can you raise PR for master branch? branch-2, 2.3 will get the backports anyways.
Maybe you can wait till this PR gets approval and then raise master branch PR which can be used for all backports.
Nice find!

https://github.com/apache/hbase/pull/2386 for master

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 33s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ branch-2.3 Compile Tests _

+1 :green_heart:
mvninstall
3m 15s
branch-2.3 passed

+1 :green_heart:
checkstyle
1m  8s
branch-2.3 passed

+1 :green_heart:
spotbugs
1m 58s
branch-2.3 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 12s
the patch passed

+1 :green_heart:
checkstyle
1m  5s
the patch passed

-0 :warning:
whitespace
0m  0s
The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

+1 :green_heart:
hadoopcheck
16m 57s
Patch does not cause any errors with Hadoop 2.10.0 or 3.1.2 3.2.1.

+1 :green_heart:
spotbugs
2m  6s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 15s
The patch does not generate ASF License warnings.

37m 23s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/4/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2376

Optional Tests
dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle

uname
Linux d4c11c851f1f 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.3 / f38292307c

whitespace
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/4/artifact/yetus-general-check/output/whitespace-eol.txt

Max. process+thread count
94 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/4/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) spotbugs=3.1.12

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  9s
Docker mode activated.

-0 :warning:
yetus
0m  7s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2.3 Compile Tests _

+1 :green_heart:
mvninstall
4m 16s
branch-2.3 passed

+1 :green_heart:
compile
1m  2s
branch-2.3 passed

+1 :green_heart:
shadedjars
5m 49s
branch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 42s
hbase-server in branch-2.3 failed.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 58s
the patch passed

+1 :green_heart:
compile
1m  1s
the patch passed

+1 :green_heart:
javac
1m  1s
the patch passed

+1 :green_heart:
shadedjars
5m 47s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 39s
hbase-server in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
131m 47s
hbase-server in the patch passed.

158m 12s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/4/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2376

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 96daff3a231d 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.3 / f38292307c

Default Java
2020-01-14

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/4/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/4/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-server.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/4/testReport/

Max. process+thread count
3888 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/4/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 40s
Docker mode activated.

-0 :warning:
yetus
0m  5s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2.3 Compile Tests _

+1 :green_heart:
mvninstall
3m 26s
branch-2.3 passed

+1 :green_heart:
compile
0m 57s
branch-2.3 passed

+1 :green_heart:
shadedjars
5m 12s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 37s
branch-2.3 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 32s
the patch passed

+1 :green_heart:
compile
0m 56s
the patch passed

+1 :green_heart:
javac
0m 56s
the patch passed

+1 :green_heart:
shadedjars
5m 23s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 37s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
141m 57s
hbase-server in the patch passed.

165m 20s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/4/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2376

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux c5df02dd3190 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.3 / f38292307c

Default Java
1.8.0_232

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/4/testReport/

Max. process+thread count
3733 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2376/4/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@virajjasani Is there reason this is not merged before being closed? Could you please reopen and merge?
the same for https://github.com/apache/hbase/pull/2386

@clarax This PR is closed because #2386 has already been committed to master, branch-2, branch-2.3 and branch-1.
e.g master branch commit: https://github.com/apache/hbase/commit/fe776306d09b1e37551a3ccfef800a720866963f
Similarly, you can find rest of commits at the end of PR #2386 .


Calendar is displaying the start and end date wrong

Hey,
I set an start and end date for each event. In my calendar is just the start of the event shown and that twice. So it should be like in my apple calendar. Where the event is shown on every day between the start and end date.
Also on every 16th of the month it gives the current day class. That should be just today not the next 16th.

I haven't coded times into the calendar piece. Is this something you added?

You I also have not much time to go through you code. I tried some things with twig. But that is not really recommend, because the events are stored as an array with the day month year as key instead of only date.

I've fixed the current day issue also referenced in Issue #15. I'll have to look into the other part of this that you're asking about. I'm not sure I fully understand. You want the end times in the calendar?

Actually, I see what you're saying. This issue was resolved a couple of release ago.


Add Turbinia monitoring management to SRE script

The current SRE script does not allow for changing prometheus and grafana change. We need to add this to the SRE script in order to make changes (updating SMTP config, disks, general config, etc) to the monitoring instances

Although I understand the ask, is this something that will happen often?
The SRE mgmt script has functionality for often used use cases. I am
wondering if updating the Prometheus and Grafana settings (eg SMTP) is
worth adding to a management script if it only happens once a year or less.
Probably doing this manually makes more sense as they are one offs. Wdyt?
On Thu, Jul 8, 2021, 21:43 alimez @.***> wrote:

The current SRE script does not allow for changing prometheus and grafana
change. We need to add this to the SRE script in order to make changes
(updating SMTP config, disks, general config, etc) to the monitoring
instances
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/google/turbinia/issues/837, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABP5D4CYNVUM4BQV3HP4L4DTWX5XVANCNFSM5ABMIM6A
.

Some pieces of it are one time thing that can be done manually. However, adding a feature to be able to add new environment variables to monitoring containers can be pretty handy as we expand our use of prometheus/grafana.

Good one, let's see if I can make that more generic. The env vars for
containers are not exposed through the API and are embedded in a big string
blob. I'll have a look at it.
Agree that it would be good functionality to have!
On Thu, Jul 8, 2021, 21:53 alimez @.***> wrote:

Some pieces of it are one time thing that can be done manually. However,
adding a feature to be able to add new environment variables to monitoring
containers can be pretty handy as we expand our use of prometheus/grafana.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/google/turbinia/issues/837#issuecomment-876703110,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABP5D4FM3CKXIC5CAAPAYPLTWX65BANCNFSM5ABMIM6A
.

Closing this out since we use helm / osdfir-infrastructure for deployment management now.


Drop lodash.indexOf.

Closes #4.

Array.prototype.indexOf()
was added to the ECMA-262 standard in the 5th edition; as such it may not be present in all browsers.

May you write the ponyfill instead means a function which takes two argument first is array and second is element and we wont have to change anything in the below code

I'm sorry, I don't understand.

lodash.indexOf exports a function. right? So why not create our own function in second line of lexer.js
var indexOf = function (arr, element) {
    //find and return the index
    //not found then return the null
}

Do ask again if still I am not clear

That wouldn't be any different than importing lodash.indexOf.  I'm proposing using the native method.  It should work as far back as IE9.

Why leave IE8 for this trivial thing ;). And this would be different as in theory we are going to include the lodash.indexof code in our code, hence removing the dependency. Just what you asked for

Microsoft hasn't supported IE8 for over a year now.  If the user needs IE8 support, they can always user the older version.

Ah! It looks convincing. Update the changelog in readme please

There is no changelog in the readme.

Yep! Because I didn't need to maintain it. But since now it is used by cssnano etc., I think it is necessary. Don't worry. Rest I will do.


fix: the order of questions

Please only submit the scripts/build.ts, thanks .

Please only submit the scripts/build.ts, thanks .

ok, this pr was recreated


Default installation seems to have trouble working with php -S

I am using the default installation, and am experiencing some issues. First, i had to add:
remove_filter('template_redirect','redirect_canonical');

to:
/wp/wp-content/themes/twentynineteen/functions.php

Without that, when i would go to, e.g. localhost:4000, it would redirect to remove the port. With that disabled, it would stop the redirect, but some of the theme assets return a 404 because they, have an extra prefix, e.g:
<link rel='stylesheet' id='twentynineteen-style-css'  href='/wp/wp/wp-content/themes/twentynineteen/style.css?ver=1.4' type='text/css' media='all' />

Are these common issues / how can I fix? I've tried a lot of fixes from google having to do with HOME and SITEURL, but nothing has seemed to help.

@quinn what is your WP_HOME setting value?
You might be dealing with the same thing as https://github.com/wecodemore/wpstarter/issues/101

Please check if 4c76d9d solved it. Thanks.


Document Timezone tuning in date and time pickers

I've searched the docs and examples over and over again and I have not found any way to specify in which time-zone the pickers are working. There's plenty of examples for localization, but no discussion as to how to change the time-zone.
I am working on an app for people who travel. The time-zone of schedules need to be localized to where events happen. I do know the city and time zone in which each event happens. I store all the times in a database in UTC but need to have the local time of Paris to be displayed if an event is taking place in Paris, even if the user is currently in New York or anywhere else in the world.
How can this be accomplished? Can we have some examples, or better yet, a documentation of Timezone treatment?

I have a similar requirement:

See how the field "Date/Time" is showing "+02:00", I needed it to match the timezone selected in "TimeZone" field.
It is obviously using my local timezone (+02:00), and as I am using native Date and date-fns, there is nothing I can do to force the timezone.
I solved this problem by replacing date-fns for luxon, as luxon supports different timezones.
Native date and date-fns does not support different timezones, it is always set to the timezone set in browser.
However it would be nice to have a way to set timezones on the date and time pickers, even when using date-fns.
If this option is available I could not find it on the docs.

@ericsantanna Thanks for the comment. Do you have an example on how you set for a single Date/Time picker the timezone?

@FunMiles In case you want to use timeZones with date-fns, I have just make this work by overriding DateFnsUtils and creating my own MuiPickersUtilsProvider:
yarn add date-fns-tz
DateFnsTzUtils.js
import { format } from 'date-fns-tz'
import DateFnsUtils from "@date-io/date-fns";

export default class DateFnsTzUtils extends DateFnsUtils {
    constructor(props) {
        super();
        this.timeZone = props.timeZone;
    }
    format(date, formatString) {
        return format(date, formatString, {
            timeZone: this.timeZone,
            locale: this.locale
        });
    }
}

MuiPickersTzUtilsProvider.jsx
import * as React from 'react';
import * as PropTypes from 'prop-types';
import {MuiPickersContext} from "@material-ui/pickers";

export const MuiPickersTzUtilsProvider = (props) => {
    const { children, utils, dateFormats, dateLibInstance, locale, timeZone } = props;
    const utilsContext = React.useMemo(
        () => new utils({ locale, timeZone, formats: dateFormats, instance: dateLibInstance }),
        [utils, locale, timeZone, dateFormats, dateLibInstance]
    );
    return <MuiPickersContext.Provider value={utilsContext} children={children} />;
};

MuiPickersTzUtilsProvider.propTypes = {
    utils: PropTypes.func.isRequired,
    locale: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
    timeZone: PropTypes.string,
    children: PropTypes.oneOfType([
        PropTypes.element.isRequired,
        PropTypes.arrayOf(PropTypes.element.isRequired),
    ]).isRequired,
};

export default MuiPickersTzUtilsProvider;

Example of usage:
import React from 'react';
import {KeyboardDateTimePicker,} from '@material-ui/pickers';

import PropTypes from "prop-types";
import DateFnsTzUtils from "./DateFnsTzUtils";
import MuiPickersTzUtilsProvider from "./MuiPickersTzUtilsProvider";

function DateTimeField(props) {
    return (
    <MuiPickersTzUtilsProvider utils={DateFnsTzUtils} timeZone={props.timeZone}>
        <KeyboardDateTimePicker
            variant="inline"
            inputVariant="outlined"
            label="Date/Time"
            autoOk
            {...props}
        />
    </MuiPickersTzUtilsProvider>
    );
}

DateTimeField.propTypes = {
    value: PropTypes.instanceOf(Date).isRequired,
    onChange: PropTypes.func.isRequired,
    format: PropTypes.string,
    timeZone: PropTypes.string,
};

export default DateTimeField;

@ericsantanna Thanks again. Right now, I am satisfied with what luxon offers. I've been able to use it without too much difficulty using the simple setting I mentioned. If I run into trouble, I'll come back here and try your code. I think your code may have the advantage that it looks like it works without setting a default time, but in my app, I provide a default time to speed up entry.

Hey,
Stumbled upon this post and it helped a lot.
I got it all working with Luxon in the end, via a prop.
See my workings below - may help someone, somewhere...
It essentially overrides a few existing functions with the timezone bugs ironed out for Luxon.
import LuxonUtils from '@date-io/luxon';
import { DateTime } from 'luxon';

class UTCUtils extends LuxonUtils {
  constructor({ locale }) {
    super();
    this.zone = locale;
  }

  format(date, format) {
    return date.setZone(this.zone)
      .toFormat(format);
  }

  parse(value, formatString) {
    if (value === '') {
      return null;
    }

    return DateTime.fromFormat(value, formatString, { zone: this.zone });
  }

  date(value) {
    if (typeof value === 'undefined') {
      return DateTime.local()
        .setZone(this.zone);
    }

    if (value === null) {
      return null;
    }

    if (typeof value === 'string') {
      return DateTime.fromJSDate(new Date(value), { zone: this.zone });
    }

    if (value instanceof DateTime) {
      return value.setZone(this.zone);
    }

    return DateTime.fromJSDate(value, { zone: this.zone });
  }
}

export default UTCUtils;

You'd then pass it in as below:
<MuiPickersUtilsProvider utils={UTCUtils} locale="utc">
Tested it briefly with keyboard entry, year/month/date picker views - appears to work... but the constructor's a fudge using the locale prop.

Hey,
Stumbled upon this post and it helped a lot.
I got it all working with Luxon in the end, via a prop.
See my workings below - may help someone, somewhere...
It essentially overrides a few existing functions with the timezone bugs ironed out for Luxon.
import LuxonUtils from '@date-io/luxon';
import { DateTime } from 'luxon';

class UTCUtils extends LuxonUtils {
  constructor({ locale }) {
    super();
    this.zone = locale;
  }

  format(date, format) {
    return date.setZone(this.zone)
      .toFormat(format);
  }

  parse(value, formatString) {
    if (value === '') {
      return null;
    }

    return DateTime.fromFormat(value, formatString, { zone: this.zone });
  }

  date(value) {
    if (typeof value === 'undefined') {
      return DateTime.local()
        .setZone(this.zone);
    }

    if (value === null) {
      return null;
    }

    if (typeof value === 'string') {
      return DateTime.fromJSDate(new Date(value), { zone: this.zone });
    }

    if (value instanceof DateTime) {
      return value.setZone(this.zone);
    }

    return DateTime.fromJSDate(value, { zone: this.zone });
  }
}

export default UTCUtils;

You'd then pass it in as below:
<MuiPickersUtilsProvider utils={UTCUtils} locale="utc">
Tested it briefly with keyboard entry, year/month/date picker views - appears to work... but the constructor's a fudge using the locale prop.


Add new classes from glib 2.72

GDebugController
GDebugControllerDBus
GBindingGroup

GSignalGroup can't really get a safe binding until this: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2521

This can wait until closer to the 2.72 release

This is broken for me as long as the sysdep version depends on 2.72, the pkg-config version is still only 2.71 until release. But I guess it doesn't matter much because CI is not using that anyway?

the pkg-config version is still only 2.71 until release

Hrm yes, it should only require 2.71.X right now and not a non-existing 2.72. Can you submit a PR?

Yes, this is ready


Request to add - TRON (TRX)

TRON (TRX)

link to logo: http://wiki.tron.network/en/latest/ OR http://www.coincalendar.info/wp-content/uploads/2017/10/TRON-TRX-ALTCOIN.jpg
official website: https://tron.network

Optional info :

logo color (HEX): #000000

Thank you

+1
How could you ignore TRON

+1
Agreed. I was about to ask the same.
Pretty much what the title says. I wish there could be an icon for TRX. Currently using an SVG replacement but the scaling is all whack.
Is it "fairly easy" to add it myself if I got an SVG? In a hurry, kinda..

You can make your own font icons, there are plenty tools out there , but i
think the easiest one is icomoon.io
Just go to icomoon.io/app upload your svg files and it will give a font
icon of those svg files, or you can open a pull request to add the icon to
this repo
On Thu, Feb 22, 2018 at 1:01 PM ElephantFishCrab<EMAIL_ADDRESS>wrote:

+1
Agreed. I was about to ask the same.
Pretty much what the title says. I wish there could be an icon for TRX.
Currently using an SVG https://worldvectorlogo.com/logo/tron
replacement but the scaling is all whack.
Is it "fairly easy" to add it myself if I got an SVG? In a hurry, kinda..
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/allienworks/cryptocoins/issues/154#issuecomment-367620455,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYEPYiHX_r5iUIJNU6_a2K4IX4Lw6V8Nks5tXTQJgaJpZM4SBYNN
.

--
Kind Regards

Right on. If you're in a hurry, you can always generate the webfont yourselves. As @amiut mentioned, Icomoon is nice, I even wrote a step-by-step instructions on how to generate the webfonts.


Individual HUD Backgrounds

Each HUD page can have a custom background, as defined in their json schema. The image path can be a file path or a URL from which the image would be downloaded, renamed and placed in the resource folder to be used.

Added in 96ad13c6db43b09359e266e6855527e29c167033


[typo] Add missing "s"

Thanks for the Exercism Go track, I'm having great fun.
I think I found a typo in the word "work" and it should be "works".

@eik3 Since it seems your fork was removed or set private, I couldn't reuse this PR to make further changes.
I made a new PR with the changes: #2608


Urging the client to check and approve the catalogue of requirements

on friday 25.10.2024 was the client notified for the  3rd time about cat. of req.


⚠ Bofrost.fr has degraded performance

In 23104ff, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 832 ms

Resolved: Bofrost.fr performance has improved in b5aba90 after 6 minutes.


Color prop of Badge component should be required

Issue description
The Badge component can be rendered as default without specifying any color. IMO color should be required. There isn't any default Badge in current version of Bootstrap and even in Reactstrap, the badge without color will not be visible. I fixed the docs in this PR, but I think we should still make the color required.

Reactstrap version #4.8.0
Bootstrap version #4.0.0-beta
components: Badge

Steps to reproduce issue

Render Badge without specifying color property:

<Badge>New</Badge>

Discussion about similar issue concerning Button: https://github.com/reactstrap/reactstrap/issues/535. Currently rendering Button without color prop will render secondary button. IMO this is inconsistent with Bootstrap but we should at least ensure that all components act in similar and predictable manner. Therefore if this is the behaviour we are after, Badge should work similarly as well and render secondary Badge if color is not specified.

Just a note here:
For now I am leaving it as it is (only changing default to secondary). This is the path of least resistance and does not produce a breaking change. I defer the decision to make it required to @eddywashere since he originally defaulted the color even though bootstrap doesn't (since you have to manually apply the class in bootstrap) (also because I feel we should default it 😅 ).


re-enable dolfinx mixin

This is a prerequisite to enable testing of prototype dolfinx bindings @sdrave
This currently fails due to dolfin+dolfinx requiring different UFL versions. I currently see no way out of this that doesn't include radical restructuring of the image setup to include isolated environments per solver. Which would also need a big refactor of our testing setup to use those environments then.


Geospatial queries

Hey Nathanael,
I am looking for a way to do geospatial queries (I've tried Firebase already) without having to learn MongoDB or PostGIS.
Is it possible to check if a coordinate is inside a given polygon recorded in SQLite? Something like this https://sqlite.org/rtree.html
or
https://web.archive.org/web/20160808122817/http://www.thismuchiknow.co.uk/?p=71
or
https://www.gaia-gis.it/fossil/libspatialite/index
In sum, I need to figure out if the user is inside or close to an airspace.
Thanks!

Thank you, Nathanael!
I followed your advice and did a find "point on polygon" javascript function to check it. All good now!


Q: is it safe to launch multiple instances of coursier?

Assume they share the same cache directory. Would one stump another in terms of saving the same artifact or checking the cache that is still being saved?

It should be fine in terms of (non) file corruption. The only problem you may run into is if two concurrent resolutions fetch a given file at the same time: one will lock it, which makes concurrent attempts fail (with an error message saying locked). Simply retrying the attempts that fail because of locked errors addresses the problem (once the file is fully downloaded), but this has to be done manually for now.

1.0.0-RC4 should now be fine with multiple coursier downloading the same file (one will actually download the file, the other will report its progress, ready to step up if ever the actual download is interrupted.)


Correction for raw affiliation Department of Movement Sciences, Leuven, Belgium; Movement-Interactions-Performance, MIP, UR 4334, Nantes Université, Nantes, France

Correction needed for raw affiliation Department of Movement Sciences, Leuven, Belgium; Movement-Interactions-Performance, MIP, UR 4334, Nantes Université, Nantes, France
raw_affiliation_name: Department of Movement Sciences, Leuven, Belgium; Movement-Interactions-Performance, MIP, UR 4334, Nantes Université, Nantes, France
new_rors: 05f950310;03gnr7b55;04q2ax456
previous_rors: 05f950310;03gnr7b55
works_examples: W4384405040
contact: 2403a7300901488ce299f3946231b092:888951387badead217cdc8348ec166 @ univ-nantes.fr

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


Enable .podspec files for Fabric

Please select one of the following

[ ] I am removing an existing difference between facebook/react-native and microsoft/react-native-macos :thumbsup:
[ ] I am cherry-picking a change from Facebook's react-native into microsoft/react-native-macos :thumbsup:
[x] I am making a fix / change for the macOS implementation of react-native
[ ] I am making a change required for Microsoft usage of react-native

Summary
Right now running:
bundle install && USE_FABRIC=1 bundle exec pod install
in packages/rn-tester fails as certain targets are not enabled for macOS 10.15
This fixes the .podspec files - Fabric related code does not compile - but at least we can build rn-iOS with Fabric now.
ATTENTION, ATTENTION
If you ever build with Fabric enabled and then switch to a non Fabric workspace > there is a huge change the Xcode will produce funky compile errors.
Follow https://reactnative.dev/docs/the-new-architecture/use-app-template#troubleshooting
Changelog
[macOS] [Fixed] - Enable .podspec files for Fabric
Test Plan
Pod installation complete! There are 69 dependencies from the Podfile and 57 total pods installed.
[!] The Podfile contains framework or static library targets (iosDeviceBuild, iosSimulatorBuild, macOSBuild), for which the Podfile does not contain host targets (targets which embed the framework). If this project is for doing framework development, you can ignore this message. Otherwise, add a target to the Podfile that embeds these frameworks to make this message go away (e.g. a test target).

(iosDeviceBuild, iosSimulatorBuild, macOSBuild

I should have deleted those in main?

Higher level question: I wonder if we should do this work on a separate branch from main called "fabric" or so, so we can iterate on it separately from main, and merge the entire branch in once we're happy with the state.

iosDeviceBuild, iosSimulatorBuild, macOSBuild

I should have deleted those in main?

I must have been on a 0.68 branch when creating this PR.
Thanks for cleaning up the podspec

I think this a good strategy.
I was already planning to do this.
Just the 2 PRs I have sent out are very low hanging fruits, should not have any side effects (famous last words) and I am quiet sure that they represent the final change


No enough code comments

You really need to explain your functions better. What do you use sass middleware for, for example?
And it would really help if you explained custom func. like the drop event https://github.com/Djaygo/real-time-web/blob/master/week-1/app.js#L23

Will be added in the current week, will do this from now on when i write new functions!


Update dependencies for 10.x

Codecov Report

Merging #158 (2a7b1a2) into master (0426e3d) will increase coverage by 0.43%.
The diff coverage is 50.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.


Display start time, end time and/or duration of each test in RuntimeReporter HTML report.

The data about start time, end time for each test is present in the report.json. Need this to be displayed on the rendered HTML report.

Yes, a user has requested this to be displayed on the rendered HTML report. This time information would come handy to this user in troubleshooting test failures due to possible environment failures.


pkg/operator/staticpod/controller/installer: add support for WithNodeFilter

Today static pods are rolled out to every control-plane node in the cluster. For some operands such as etcd we desire more precise control of the nodes which an installer pod is scheduled. With the addition of WithNodeFilter the operator can provide NodeAffinity like functionality by passing a list of hostnames which new revisions are expected.
The final solution would also contain support for the node controller.
/hold
This PR is for testing only currently.
Signed-off-by: Sam Batschelet<EMAIL_ADDRESS>

prrof https://github.com/openshift/cluster-etcd-operator/pull/704

/hold cancel

/test verify


Annotate and History do not follow branches

We do most of our development in branches in TFS.  That makes the Annotate functionality in this plug-in almost useless.  Anytime I do an annotate on a file, it just shows that every single line was modified by me in the check-in where I created the branch.  :(
When doing an Annotate in Visual Studio (starting back in the TFS2010 days I believe), the logic is smart enough to follow the branch history and so it will show me line-by-line changes made to the file from wherever my branch came from.
I love the Annotate functionality so it would be great if it could follow the branch history of items.

I also noticed that the same problem exists for View History.  For most of my items, all I see is a single entry for the branch and I can't get to any of the earlier history (at least not easily).

According to another user's feedback, to overcome this problem, Visual Studio follows this algorithm:

load all the annotations
start a background process that

load every change set shown on the annotation pane
if the change set is a merge one, then recursively annotate this file segment

For some big and frequently changed files, this process may take up to multiple hours to complete, so it's very important to process this in background.


How to import bs4 in mitmproxy 3.0 scripting

Steps to reproduce the problem:
I used to use bs4 module in mitmproxy scripting, but after 3.0 version, import bs4 makes error (ImportError: No module named 'bs4').
It seems to make error when import other modules.
How can i solve it?

Could you check if you have bs4 module in python3 ? If not you can install it as python3 -m pip install beautifulsoup4. If you have it installed, you need to provide more info by running mitmproxy --version

@fenilgandhi of course i checked bs4 in python3, my codes with bs4 works on mitmproxy v2.02 but not work with above v3.0.

Then providing some more info regarding would be very helpful in finding a solution. Could you provide some kind of stack-trace, or  addon script which you were running.

@fenilgandhi

i attach my error
v3_instrument_javascript.py is simple
just import bs4

@kjkpoi Hi! See this -> https://github.com/mitmproxy/mitmproxy/issues/2849#issuecomment-363762607

Thanks @kajojify .

@kajojify Thanks!! The question solved. :)

I find having to install venv and all the other things that come around it just to track down a simple https url a little too complicated


Selection toolbar didn't work after migrate null safe

There might be some code break after migration to null safe as I try to track it:

A commit before migrate:

flutter_quill:
  git:
    url: https://github.com/singerdmx/flutter-quill.git
    ref: dda5805935568d42b71a1a1faf7fbdf078d72633

Selection toolbar work.

A commit after migrate:

flutter_quill:
  git:
    url: https://github.com/singerdmx/flutter-quill.git
    ref: 60514cbd24fbde3a4500ae04b930a039ee5851f4

Selection toolbar doesn't work.

Are you able to track which line?

Is this web or mobile?

It is on mobile. I tried to track it, but can't.

You can simple revert line/block by line/block

You already know 60514cbd24fbde3a4500ae04b930a039ee5851f4 works
Just apply later changes one by one
You will fine which one breaks

Actually dda5805935568d42b71a1a1faf7fbdf078d72633 works

check out https://github.com/singerdmx/flutter-quill/commit/ace4fd4deb929e37128f78252a9d5310dafe7d33

The bug should be solved by #120, let me know if it worked for you.

Working now, thank brother!


Initialize variables before parsing command line

These variables can be undefined (or wrongly defined) when Windows "Controlled File Access" interferes with generator.exe creating an output file.  And then the program silently fails without any error messages. :(

Hey @EagleAglow,
Thanks a lot for this !!
Cheers,
Gus


Node material subclass asset handling and engine implementation

This PR includes:

A new Material subclass called: NodeMaterial
Changes to the MaterialHandler to support the new NodeMaterial asset subclass

This PR does not yet support:

Any new public API
Feature parity with StandardMaterials
Compatibility with cube map assets

This PR provides a functional base for implementing and integrating NodeMaterials into more of the engine's graphics and rendering systems and asset types, and for further development and fleshing out of a public script interface (which is not included in this PR), and to allow development to start on a visual node material graph editor in the editor.
There are no public API changes at this stage - NodeMaterials should be interchangeable with any system that interfaces with the public Material base class.
More details about this PR:

The NodeMaterial material subclass is implemented in a similar way to other material subclasses like BasicMaterial and ParticleMaterial - it has a main class engine/src/scene/materials/node-material.js and a generator engine/src/graphics/program-lib/programs/node.js

The changes to the MaterialHandler includes adding an additional JSON parser for the NodeMaterial subclass - so we we now have a NodeMaterial parser: engine/src/resources/parser/material/json-node-material.js in addition to the existing StandardMaterial JSON parser: engine/src/resources/parser/material/json-standard-material.js. Resource binding was also split so that material subclasses bind resources and types of resources according what is specifically needed or used by each material subclass - so 2 new binder classes were added: engine/src/resources/node-material.js and engine/src/resources/standard-material.js and StandardMaterial resource binding functionality was moved from engine/src/resources/material.js to the StandardMaterial binder.

NB: The algorithm for traversing shader graphs and generation is yet to be fully optimized - and so will generate larger shaders than necessary - so this is also a TODO (in a subsequent PR) - there is also an important optimization called static branching which can, at generation time, eliminate large parts of the graph from being traversed - at the cost of creating additional shader variants (or permutations) - this again is probably something to implement in subsequent PRs.
I confirm I have signed the Contributor License Agreement.

Closing this PR - switching over to StandardNodeMaterial for MVP


Update to v-hacd 4.1

Proposed change(s)
Update to the latest kmammou/v-hacd.
v-hacd version 4 changed to being a single-header file, including both function signatures and implementation code. This was copied to src/inc/VHACD.h.
src/dll has the updated dll.cpp. The biggest difference was to define our own ConvexHull struct. Since the new version changed IVHACD::ConvexHull to use std::vector and nested objects (e.g. std::vector<VHACD::Vertex>), I made a simpler struct ConvexHullCSharp with pointers and lengths to the points and triangles. This makes it easier to interop with C#.
This does mean I'm copying the IVHACD::ConvexHulls into ConvexHullCSharp structs (I did take care of deallocating the memory used by this after it's consumed). But this step is not a bottleneck for generation-performance -- the actual hull generation is where almost all of the time is spent, and that still happens on the C++ side only.
I've also updated VHACD.cs to match the new Parameters, and free the memory allocated by the copying explained above. There are tooltips for all the params:

I've updated the CMake setup to have only one CMakeLists.txt to build the shared libraries.
Finally, I've deleted src/test, bin, and bin_no_ocl, as they're not needed in this package.
Useful links (GitHub issues, JIRA tickets, forum threads, etc.)
Types of change(s)

[ ] Bug fix
[ ] New feature
[ ] Code refactor
[ ] Documentation update
[x] Other (please describe)

Update dependency.
Testing and Verification
Please describe the tests that you ran to verify your changes. Please also provide instructions and Unity project files as appropriate so we can reproduce the test environment.
Test Configuration:

Unity Version: Unity 2022.3.10f1
Unity machine OS + version: Windows 10, Ubuntu 22.04.3 (didn't test the .dylib on Mac, but it builds with the same CMake config, so I assume it works as it did before)

Checklist

[x] Ensured this PR is up-to-date with the dev branch
[x] Created this PR to target the dev branch
[x] Updated the Changelog and described changes in the Unreleased section
[x] Updated the documentation as appropriate

Other comments

much appreciated! I hope someone at Unity will review this quickly!

Would love to see this potentially get some love and support! Would really help to have V-HACD collision meshes be available with mesh colliders as full package.


Revert "Undo the hardcoded ad div id"

Reverts OdyseeTeam/odysee-frontend#1719

Issues on mobile, didn't solve on channel scroll.


Fixed issues found in CLI commands.

Fixed the following issues found in CLI commands.
1.) Printing API path before response message
2.) Undeploying issues
3.) Print entity IDs in response messages

Thanks @dinithis for the fix! I have now merged this to master branch.


Missing Feature

No binding to be able to change the "Quick move" button

A binding has been added in modern versions of Controllable


Fix get script architecture

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
We should print the right environment variable for the architecture and also use the right fallback.
Which issue(s) this PR fixes:

None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

@haircommander @rphillips PTAL

/lgtm


Fatal error C1083: Cannot open include file: 'Sprite.hpp': No such file or directory

When I try to execute the command "scons platform=windows generate_bindings=yes" on the native tools command prompt for VS, I get the following error:
fatal error C1083: Cannot open include file: 'Sprite.hpp': No such file or directory
scons: *** [src\gdexample.obj] Error 2
scons: building terminated because of errors.
My SConstruct source code looks like the following:
#!python
import os, subprocess
opts = Variables([], ARGUMENTS)
Gets the standard flags CC, CCX, etc.
env = DefaultEnvironment()
Define our options
opts.Add(EnumVariable('target', "Compilation target", 'debug', ['d', 'debug', 'r', 'release']))
opts.Add(EnumVariable('platform', "Compilation platform", '', ['', 'windows', 'x11', 'linux', 'osx']))
opts.Add(EnumVariable('p', "Compilation target, alias for 'platform'", '', ['', 'windows', 'x11', 'linux', 'osx']))
opts.Add(BoolVariable('use_llvm', "Use the LLVM / Clang compiler", 'no'))
opts.Add(PathVariable('target_path', 'The path where the lib is installed.', 'demo/bin/'))
opts.Add(PathVariable('target_name', 'The library name.', 'libgdexample', PathVariable.PathAccept))
Local dependency paths, adapt them to your setup
godot_headers_path = "../godot-cpp/godot-headers/"
cpp_bindings_path = "../godot-cpp/"
cpp_library = "libgodot-cpp"
only support 64 at this time..
bits = 64
Updates the environment with the option variables.
opts.Update(env)
Process some arguments
if env['use_llvm']:
env['CC'] = 'clang'
env['CXX'] = 'clang++'
if env['p'] != '':
env['platform'] = env['p']
if env['platform'] == '':
print("No valid target platform selected.")
quit();
Check our platform specifics
if env['platform'] == "osx":
env['target_path'] += 'osx/'
cpp_library += '.osx'
if env['target'] in ('debug', 'd'):
env.Append(CCFLAGS = ['-g','-O2', '-arch', 'x86_64', '-std=c++17'])
env.Append(LINKFLAGS = ['-arch', 'x86_64'])
else:
env.Append(CCFLAGS = ['-g','-O3', '-arch', 'x86_64', '-std=c++17'])
env.Append(LINKFLAGS = ['-arch', 'x86_64'])
elif env['platform'] in ('x11', 'linux'):
env['target_path'] += 'x11/'
cpp_library += '.linux'
if env['target'] in ('debug', 'd'):
env.Append(CCFLAGS = ['-fPIC', '-g3','-Og', '-std=c++17'])
else:
env.Append(CCFLAGS = ['-fPIC', '-g','-O3', '-std=c++17'])
elif env['platform'] == "windows":
env['target_path'] += 'win64/'
cpp_library += '.windows'
This makes sure to keep the session environment variables on windows,
that way you can run scons in a vs 2017 prompt and it will find all the required tools
env.Append(ENV = os.environ)

env.Append(CCFLAGS = ['-DWIN32', '-D_WIN32', '-D_WINDOWS', '-W3', '-GR', '-D_CRT_SECURE_NO_WARNINGS'])
if env['target'] in ('debug', 'd'):
    env.Append(CCFLAGS = ['-EHsc', '-D_DEBUG', '-MDd'])
else:
    env.Append(CCFLAGS = ['-O2', '-EHsc', '-DNDEBUG', '-MD'])

if env['target'] in ('debug', 'd'):
cpp_library += '.debug'
else:
cpp_library += '.release'
cpp_library += '.' + str(bits)
make sure our binding library is properly includes
env.Append(CPPPATH=['.', godot_headers_path, cpp_bindings_path + 'include/', cpp_bindings_path + 'include/core/', cpp_bindings_path + 'include/gen/'])
env.Append(LIBPATH=[cpp_bindings_path + 'bin/'])
env.Append(LIBS=[cpp_library])
tweak this if you want to use different folders, or more folders, to store your source code in.
env.Append(CPPPATH=['src/'])
sources = Glob('src/*.cpp')
library = env.SharedLibrary(target=env['target_path'] + env['target_name'] , source=sources)
Default(library)
Generates help for the -h scons option.
Help(opts.GenerateHelpText(env))
I have made sure that there were no spelling discrepancies between the godot header file name and the one in the SConstruct source code, as they both are: godot-headers.
I have also copied the godot.hpp - which I found in the godot-cpp repository file in the following directory: C:...\godot-cpp\include\godot-cpp - file and pasted it in the godot_headers folder, which seems to have solved the anterior error:  Fatal error C1083: Cannot open include file: 'Godot.hpp': No such file or directory
I tried to look for a sprite.hpp file in the example's folder but to no avail, I am wondering whether it got deleted by mistake, but I rechecked the example's folder on Github multiple times and found no trace of it. Is it even needed? If not, why do I get the aforementioned error?

You have to run that on the godot-cpp library first, then you can compile your library.
It is when you compile godot-cpp that generate_bindings=yes generates the binaries including the sprite.hpp file.


Dependencies that use require.ensure for backward compatibility cause warnings

Importing dependencies into an app created with create-react-app that use require.ensure as a fallback option causes the following warning in the console;
./node_modules/pdfjs-dist/build/pdf.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

This seems to be because the webpack settings in create-react-app do not allow dependencies to use require.ensure, but it seems that some libraries need to include this as a conditional fallback.
One possible solution might be to remove { parser: { requireEnsure: false } } from the webpack configuration. I don't see much context or discussion about why that rule is important other than that it's not a standard language feature.
I can see the argument from both sides, both why create-react-app would want to warn about this, and why another package might want to include it as a fallback. I don't know the correct solution, but this causes noisy warnings in the console when starting an app that make it more difficult to focus on actionable warnings.
Maybe the correct solution is to allow the suppression of unwanted warnings in create-react-app, but that seems to be a settled issue.
I'm open to any other workarounds or solutions.

Thanks for writing this up!
I'm in the same situation and had to set the CI env variable, for a work-around.
A mechanism for supressing these types of warnings would be a splendid solution.

In longer term we don’t promise continued support for this feature — so it seems to make sense for it to warn. That’s better than if it breaks with no warning in a future release.
Code published to npm ideally shouldn’t be using webpack specific features. Can you explain more about why pdfjs is an exception, and why they use it?

From what I understand, the code using require.ensure in PDF.js is a fallback for non-webpack environments. In a webpack environment that code is irrelevant, but create-react-app still warns about it because it doesn't know from a static analysis that it's irrelevant.
@gaearon Do you have a specific recommendation for PDF.js contributors @timvandermeij or @Snuffleupagus on what would be the preferred way to support non-webpack users with this fallback? I'm sure this would be of general interest as well, since I've seen quite a few packages where people are reporting this warning.

I'd really like to see a solution to this issue as it's currently holding us up from using react-pdf without having any alternative.

@akuji1993 same thought 👍

Is there a way to disable warnings for node_modules? Seems kind of harsh to fail a build for warnings in code we don't even control.

im new here. I was looking to help out with this project. But it seems like its past due at this point

im new here. I was looking to help out with this project. But it seems like its past due at this point

CRA includes react-pdf and I don't even use this module, but TypeScript does not like it. See the comment link below with a TS v4.1 screenshot. When it was a warning with TS 3.6, I could ignore it, but now I can't even run locally without this 'not a function' error. I've tried changing the babel/runtime versions, adding react-app-rewired, some other plugin tweaks that are on the internet. Is there anything else that I can try? Is there something wrong with my config? Thanks in advance!
https://github.com/wojtekmaj/react-pdf/issues/280#issuecomment-786166774

@janetlee CRA doesn't include react-pdf, and the error you're describing is different from what this issue is about. Something may be wrong with your TypeScript config. I would recommend asking your question in the TypeScript Discord server. Someone there may be able to help you debug your TypeScript config. https://discord.com/invite/typescript

An update on the status of this issue for those who are interested: It looks like the PDF.js maintainers are open to suggestions for improved bundling of PDF.js and would accept a PR that doesn't add a maintainability burden. https://github.com/mozilla/pdf.js/issues/12900
So it seems like there are currently two possible solutions:
1) Use something like `react-app-rewired` to modify your webpack config and suppress the warning.

2) Open a PR to https://github.com/mozilla/pdf.js that creates a PDF.js bundle that removes the `require.ensure` calls completely, without creating a maintainability issue.

There is an open issue for the second option on the PDF.js repo: https://github.com/mozilla/pdf.js/issues/10317

Thanks @localjo for the suggestions.  This is all new to me.


Allow extension to send multiple images at once in one POST request

I believe this was implemented, right?


Views Welcome buttons don't do anything

Buttons in the "Views Welcome" contributions (when a contributed view is empty) aren't doing anything currently.

Ah-ha! I saw that issue title but didn't connect the two. I'll close this as a dupe then.
I hadn't started on it and wasn't going to get around to that until later anyways so happy to let him continue to work on it.