ElasticSearch Unified Index

Tracking creating a unified template for Elasticsearch indices, with proper datatypes and defaults for each of our fields. Essentially the question that we want to answer here is: how do we transform a BenchmarkResult dataclass into JSON?

Please see #296

I think that this discussion becomes even more important with #298 and #296. Right now we are exporting a flat-JSON document, which is fine for now, but should we think about revisiting this since we are adding more fields?
Thoughts?
@whitleykeith
@jtaleric
@dry923

Elasticsearch is built on top of Lucene, which stores data in an inverted index. Simply put, Lucene maps terms -> documents instead of documents -> terms. Lucene doesn't really support nesting as it only supports numeric, binary, and text fields. ES does a lot of optimizations on top of Lucene to support nesting but I'm not sure about the index/search performance of them as I've only ever used Solr.  But in general I would default to not nesting given the base technology ES uses (to a point).
ES has some guidelines on doc structure which is generally pretty solid. I think we should start here and look at defining the common core fields for all benchmarks and then specific core fields for each benchmark.
I think of the common core fields as things like uuid, run_id, start_time, end_time, .... Things that every benchmark should have.
I think every common core field should be left at the document root with no nesting. Every doc should have these fields defined and we should reject docs that don't. After that, we should look at how we search the data and fields that are heavily used in queries should be moved to the root of the doc. For instance I think all the environment information of a run (i.e. cluster_name, platform, etc.) should be as close to the root of the doc as possible to make searches easier and more performant.
The counter to that is when fields may or may not exist doc to doc, or are specific to the environment/benchmark. For instance not every snafu run may be running in k8s, so cluster_name, etc. may not be collected. For those we don't necessarily want them to be flat because we want a uniform root doc structure for better readability and also indexing.
Given that I think we can afford to nest somewhat. I think a good starting schema would look something like this:
{
    "uuid": "str",
    "run_id": "str",
    "start_time": "datetime",
    "end_time": "datetime",
    "duration": "Number",
    "type": "string",
    "iteration": "Number",
    "kubernetes": {
        "cluster_version": "str"
    },
    "openshift": {
        "cluster_version": "str",
        "cluster_name": "str",
        "platform": "str",
        "network_type": "str"
    },
    "config": {
        "foo": "bar"
    },
    "data": {
        "foo": "bar"
    }

}

Where config and data would have benchmark-specific schemas. That way we nest fields that aren't always there while still not going too crazy and make it hard to query

I like that structure, and I think you have a really good point about modeling after ECS. I think it might be worth doing something like this:
{
    "uuid": "str",
    "run_id": "str",
    "start_time": "datetime",
    "end_time": "datetime",
    "duration": "Number",
    "type": "string",
    "iteration": "Number",
    "environment": "flattened"
    "config": "flattened"
    "data": "flattened
}

If we create an environment key in the root and take advantage of the flattened data type then we don't have to worry so much about the structure of the document in order to have successful searches. At least, that's my understanding but I could be wrong.


draft of activation boxes handling

I've made this PR mistakenly against upstream instead of own fork, sorry


LED panel with ICN2038S have graphical distortions

Hello!
I have led matrix 128x64 with ICN2038S. It works well with the receiving card Colorlight 5A-75B.
https://www.youtube.com/shorts/qVjnT78mICI
When I used the library I got graphic distortions on the panel.
//my program configuration panel
`HUB75_I2S_CFG::i2s_pins _pins = { R1_PIN, G1_PIN, B1_PIN, R2_PIN, G2_PIN, B2_PIN, A_PIN, B_PIN, C_PIN, D_PIN, E_PIN, LAT_PIN, OE_PIN, CLK_PIN };
HUB75_I2S_CFG mxconfig(
128,                     // width
64,                      // height
1,                       // chain length
_pins,                   // pin mapping
HUB75_I2S_CFG::ICN2038S  // driver chip
);
mxconfig.latch_blanking = 4;
mxconfig.i2sspeed = HUB75_I2S_CFG::HZ_10M;
mxconfig.clkphase = false;`
ICN2038S:

Same program with ICN2037:

What can be done to solve this problem?

Reduce the clock rate perhaps?

Did you find the solution to the issue?


[Bug Report] Historical Data not Available

I was testing options for a solution to #132 and noticed that the application breaks if historical weather data is queried.  Here are some examples:

wthrr London -F `date --date=tomorrow +%F`
wthrr London -F `date +%F`
wthrr London -F `date --date=yesterday +%F`
wthrr London -F 2023-05-07 (tomorrow)
wthrr London -F 2023-05-06 (today)
wthrr London -F 2023-05-05 (yesterday)

I understand that for future dates, there is no data to be fetched, yet.  But the application offers historical weather data, so I assume that historical data should be available, at least for some places like capital cities and for dates in the past.  As a core functionality of the application does not work, I consider this bug critical.

This bug also appears in v1.0.0; cargo install wthrr --version 1.0.0.

The weather of "last year" is no problem but "yesterday" is.

Thanks for the report @kevinmatthes,
Yes this should definitively be fixed. I'm looking into it this sunday.

Unfortunately this is due to an api limitation. It takes some days until historical data is available in the archive. I'm observing 3-5 days delay for the places I've checked.
E.g., checking on on 2023-06-23 for Berlin: the 2023-06-20 temperature data has null values, while it's available for 06-19.
https://archive-api.open-meteo.com/v1/archive?latitude=52.52&longitude=13.41&start_date=2023-06-20&end_date=2023-06-20&hourly=temperature_2m&daily=temperature_2m_mean&timezone=Europe%2FBerlin
I'll add a proper error information for requests that encounter historical null data that the weather data isn't available.

In the meantime, a real solution for the issue became available. open-meteo provides now a &past_days endpoint in their API for recent days. This we can use to access recently past days. It's what should be and is gonna be used for the updated fix.


Use .normal instead of UIControlState()

Prefer .normal over UIControlState() for UIButton states.

@s4cha  could you fix the conflicts? Will take a look then.

@faustbrian should be good :)


Bittrex getTicker() fail with exception

Today I've updated to develop snapshot and realize that BittrexMarketDataService.getTicker(pair) stop working with exception:
si.mazi.rescu.HttpStatusIOException: Instantiation of [simple type, class org.knowm.xchange.bittrex.v1.dto.marketdata.BittrexTickerResponse] value failed: null (through reference chain: org.knowm.xchange.bittrex.v1.dto.marketdata.BittrexTickerResponse["result"]) 	at si.mazi.rescu.ResponseReader.read(ResponseReader.java:104) 	at si.mazi.rescu.RestInvocationHandler.mapInvocationResult(RestInvocationHandler.java:169) 	at si.mazi.rescu.RestInvocationHandler.receiveAndMap(RestInvocationHandler.java:157) 	at si.mazi.rescu.RestInvocationHandler.invoke(RestInvocationHandler.java:120) 	at com.sun.proxy.$Proxy19.getTicker(Unknown Source) 	at org.knowm.xchange.bittrex.v1.service.BittrexMarketDataServiceRaw.getBittrexTicker(BittrexMarketDataServiceRaw.java:58) 	at org.knowm.xchange.bittrex.v1.service.BittrexMarketDataService.getTicker(BittrexMarketDataService.java:41)

I also was seeing some issues when retrieving the Bittrex ticker.  I looked in to recent developments and there looks like there was a pull request 5 days ago that flipped the base and counter values in the currency pair.  I have switched them back and verified that my ticker issue is gone locally.  I now have a pull request  waiting to get merged. Hopefully it will fix your issue as well.

Yes, it is fixed this issue to. Very strange logic was added.

I merged your overriding PR. I agree that that previous PR broke it.

Apologies for the break.  The reason I made the change was because you can place trades on bittrex using the common pair BTC/XRP for example, but when you get the trade history is comes back as XRP/BTC.  I was trying to make the API more symmetrical.
I realise now that maybe that wasn't the right thing to do.  It's up to the user to understand that this exchange represents certain currency pairs differently to most other exchanges.
There doesn't seem to be any pattern to how exchange represent these markets.  For example, t=with RXP and BTC:
bitstamp, hitbtc and kraken all call it XRP/BTC
and
bittrex, poloniex and therocktrading call it BTC/XRP
More confusingly, they all have roughly the same price, except for therocktrading, which has the reciprocal price.
How do people normally deal with this problem?

In that example BTC is the market, XRP is the currency.
The "standard" pair is: "currency/market". Some of exchange services represent that on UI in reverse order - market/currency. But - the list of available pairs you can get via API, and there they use standard format 'currency/market'.

Most do, but not all. therocktrading for example, i'm sure there are others


[Feature]: Out of Order Streams

Suggestion Description
It is my understanding that hipStream_ts are implemented on top of out of order HSA queues. I wish to use out-of-order execution of kernels in HIP, and to do so I must use multiple hipStream_ts. Since the in-order-ness of hipStream_ts are emulated from out of order HSA queues, there is a lot of scheduling in the HIP runtime that I do not want or need for my application.
It would be great if HIP offered an out of order stream extension, which mapped closely to the out of order HSA queues. Using this extension I could avoid a lot of HIP runtime scheduling overhead, especially the overhead that is involved with creating many hipStream_ts.
Operating System
Ubuntu
GPU
MI200
ROCm Component
HIP

Hey Hugh,
Are you looking for something like this:
https://rocm.docs.amd.com/projects/hipfort/en/docs-6.0.0/doxygen/html/interfacehipfort_1_1hipextlaunchkernel.html#:~:text=associated synchronization rules.-,[in],of hipExtAnyOrderLaunch%2C signifies if kernel can be launched in any order.,-Returns

Hi @cjatin thanks for the link! That looks exactly like what we are looking for. Is there some documentation on how this works. ie does recording HIP events before and after still work in the usual way?

@cjatin I see the API is a bit different as it takes start and end events as well. No further info needed. This is exactly what we want. Thanks for the link!


Flaky Test: RemoteTaskRunnerTest

RemoteTaskRunnerTest failed in this run:
[ERROR] org.apache.druid.indexing.overlord.RemoteTaskRunnerTest.testRunPendingTaskFailToAssignTask  Time elapsed: 0.247 s  <<< ERROR!
java.util.concurrent.TimeoutException: Timeout waiting for task.
	at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:269)
	at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:96)
	at org.apache.druid.indexing.overlord.RemoteTaskRunnerTest.testRunPendingTaskFailToAssignTask(RemoteTaskRunnerTest.java:576)

The PR where this failed did not make any changes in Overlord. The same test passes when run on this same code in an IDE.

The test case was added in #11419, which was about improving error message. The case is a little strange: it uses a mocked work item whose ID changes across calls to getTaskId. No real work item does that. There's a comment // modify taskId to make task assignment failed that suggests this is being done to force the RemoteTaskRunner down an assignment-failed path, so we can verify that the error message comes out as expected. We may want to rethink how the test case works, so it can be more realistic.

The test strikes again:
[INFO] Running org.apache.druid.indexing.overlord.RemoteTaskRunnerTest
[ERROR] Tests run: 30, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 72.755 s <<< FAILURE! - in org.apache.druid.indexing.overlord.RemoteTaskRunnerTest
[ERROR] org.apache.druid.indexing.overlord.RemoteTaskRunnerTest.testRunPendingTaskFailToAssignTask  Time elapsed: 0.243 s  <<< ERROR!
java.util.concurrent.TimeoutException: Timeout waiting for task.
	at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:269)
	at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:96)
	at org.apache.druid.indexing.overlord.RemoteTaskRunnerTest.testRunPendingTaskFailToAssignTask(RemoteTaskRunnerTest.java:579)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.apache.druid.testing.DeadlockDetectingFailOnTimeout$CallableStatement.call(DeadlockDetectingFailOnTimeout.java:287)
	at org.apache.druid.testing.DeadlockDetectingFailOnTimeout$CallableStatement.call(DeadlockDetectingFailOnTimeout.java:278)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:748)

Failed again in this build (JDK 17):

[INFO] Running org.apache.druid.indexing.overlord.RemoteTaskRunnerTest
[ERROR] Tests run: 30, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 73.777 s <<< FAILURE! - in org.apache.druid.indexing.overlord.RemoteTaskRunnerTest
[ERROR] org.apache.druid.indexing.overlord.RemoteTaskRunnerTest.testRunPendingTaskFailToAssignTask  Time elapsed: 0.227 s  <<< ERROR!
java.util.concurrent.TimeoutException: Timeout waiting for task.
	at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:269)
	at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:96)
	at org.apache.druid.indexing.overlord.RemoteTaskRunnerTest.testRunPendingTaskFailToAssignTask(RemoteTaskRunnerTest.java:576)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.apache.druid.testing.DeadlockDetectingFailOnTimeout$CallableStatement.call(DeadlockDetectingFailOnTimeout.java:287)
	at org.apache.druid.testing.DeadlockDetectingFailOnTimeout$CallableStatement.call(DeadlockDetectingFailOnTimeout.java:278)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.lang.Thread.run(Thread.java:833)

Usual caveats about the PR in question changing nothing in the are covered by this test.

An attempt to rerun also failed, but in a different way. There were dozens of failures, starting with:
[ERROR] Tests run: 30, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 74.007 s <<< FAILURE! - in org.apache.druid.indexing.overlord.RemoteTaskRunnerTest
[ERROR] org.apache.druid.indexing.overlord.RemoteTaskRunnerTest.testRunPendingTaskFailToAssignTask  Time elapsed: 0.239 s  <<< ERROR!
java.util.concurrent.TimeoutException: Timeout waiting for task.

And compounding with dozens of failures until we get to:
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received
The build has been terminated

Again, on this PR, no changes where made to this area of the code. Nothing changed between this failure and the one in the previous note: I simply reran the tests. Something seems very flaky in this test.

Fixed by https://github.com/apache/druid/pull/13344


[Runtime] Fatal error when resolving a symbolic reference to NULL.

We crash in ResolveAsSymbolicReference::operator() when a symbolic reference targets a missing symbol. We usually have very little information about what was missing when this happens. Instead of crashing, explicitly check for NULL and fatal error in that case, including information about the location of the symbolic reference that it came from.

@swift-ci please test


[Question] Packaging policy for functorch and torch.func

In PyTorch pre-1.13, the functorch is a separate PyPI package, users need manually install the package:
pip3 install functorch

to make the module available:
import functorch

Now, as of PyTorch 1.13.x, the functorch module is out-of-box available when the user installs torch >= 1.13:
pip3 install 'torch>=1.13'

import functorch

The source code of functorch is also migrated to the pytorch/pytorch repo under pytorch/pytorch/torch/_functorch@master.

I found in the master branch of the pytorch/pytorch repo, there is a new subpackage torch.func is added. And some of the eager transformations in functorch are populated there.

pytorch/pytorch#91016

If the user install the develop version of torch:
pip3 install --pre torch --extra-index-url https://download.pytorch.org/whl/nightly/cu117

then both of the followings are available:
import functorch
import torch

grad_fn = functorch.grad(stateless_objective)
grad_fn = torch.func.grad(stateless_objective)

However, there are some of the functions in functorch are not populated in torch.func yet:
functorch.make_functional(model)   # OK
torch.func.make_functional(model)  # <- no member

So they are not currently mutually interchangeable.
I wonder the packaging policy for functorch and torch.func in the next release of PyTorch (torch) 2.0 (or 1.14). Would the user have a single import statement import torch to use all methods in functorch as torch.func?

In 2.0 you can access the APIs from both torch.func and functorch. This will be true for the foreseeable future.
In general, we're deprecating the functorch.* APIs in favor of the torch.func.* APIs. As a part of this deprecation, we're moving away from functorch.make_functional and consolidating on PyTorch's NN stateless API. More details over at https://github.com/pytorch/pytorch/pull/91811

In general, we're deprecating the functorch.* APIs in favor of the torch.func.* APIs.

@zou3519 Thanks for the comment.

As a part of this deprecation, we're moving away from functorch.make_functional and consolidating on PyTorch's NN stateless API. More details over at https://github.com/pytorch/pytorch/pull/91811

One more question about the memory usage of PyTorch's NN stateless API.
We will prefer torch.func.functional_call over functorch.make_functional in the future:
import functorch
import torch

model = ...  # build NN module

# functional_call
params_and_buffers_dict = ...  # extract parameters or user-defined tensor dicts
output = torch.func.functional_call(model, params_and_buffers_dict, args=args, kwargs=kwargs)

# make_functional
fmodel, params, buffers = functorch.make_functional_with_buffers(model)
output = fmodel(params, buffers, *args, **kwargs)

In functorch.make_functional{,_with_buffers}, the copied stateless module converts tensors with meta device, which does not hold data storage. This makes the fmodel use significantly less memory usage than the original module. Now, the nn.utils.stateless.functional_call API, requires the user to pass a full model and a new copy of parameters. That is twice the memory usage. This memory problem may be exacerbated when multi-process communication is required.
For example, stateless functional call over RPC:
import torch
import torch.distributed.rpc as rpc

model = ...  # build NN module

# functional_call
params_and_buffers_dict = ...  # extract parameters or user-defined tensor dicts
output = rpc.rpc_sync(
    'worker1',
    torch.func.functional_call,
    args=(
        model,  # the original parameters also need communication
        params_and_buffers_dict,
    ),
    kwargs=dict(args=args, kwargs=kwargs),
)

# make_functional
fmodel, params, buffers = functorch.make_functional_with_buffers(model)
output = rpc.rpc_sync(
    'worker1',
    fmodel,  # small serialization and communication overhead
    args=(params, buffers, *args),
    kwargs=dict(args=args, kwargs=kwargs),
)

In functorch.make_functional{,_with_buffers}, the copied stateless module converts tensors with meta device, which does not hold data storage. This makes the fmodel use significantly less memory than the original module. Now, the nn.utils.stateless.functional_call API requires the user to pass a full model and a new copy of parameters.

Yes, to avoid using twice the amount of memory, then users need to explicitly convert tensors to meta device.

Concretely, it depends on where the user wants to store their parameters:

If they want to leave them in the module and update them in-place, then there is no need to construct a meta version of the module. This is a good workflow if the user does something like compute per-sample-gradients, and then use those to optimize the original parameters.
If they want to update the parameters out-of-place, then the user should explicitly convert the parameters in the module to meta device, since those are not going to be used.

Does that alleviate the concern? If so, I'll update the migration guide to reflect this -- thank you for your feedback.

Thanks for the comments. Now I have no more questions about migration.


Android gradle error Unresolved References: FastNative

When trying to compile a test library for Android I am getting the following gradle errors. Using react-native 0.74.5. Unresolved References: FastNative and jsCallInvokerHolder.

[RUN_GRADLEW] * What went wrong:
[RUN_GRADLEW] Execution failed for task ':react-native-nitro-modules:compileDebugKotlin'.
[RUN_GRADLEW] > A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
[RUN_GRADLEW]    > Compilation error. See log for more details
[RUN_GRADLEW] * Try:
[RUN_GRADLEW] > Run with --stacktrace option to get the stack trace.
[RUN_GRADLEW] > Run with --info or --debug option to get more log output.
[RUN_GRADLEW] > Run with --scan to get full insights.
[RUN_GRADLEW] > Get more help at https://help.gradle.org.
[RUN_GRADLEW] BUILD FAILED in 40s
[RUN_GRADLEW] Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.
Build failed
Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.
npx exited with non-zero code: 1
Error: build command failed.

Yea you need react-native 0.75+ for Nitro. It uses some newer APIs.

FastNative is definitely imported in AnyMap.kt, so this error might be coming from something else. Either your setup (try in the example app here), or because of RN 0.74. https://github.com/mrousavy/nitro/blob/2e2e67fbeb96efb4fb8bfa779d6ed009d42675d4/packages/react-native-nitro-modules/android/src/main/java/com/margelo/nitro/core/AnyMap.kt#L6

I am getting the same error now using  "react-native": "0.75.4". The project is essentially the nitro module template with one c++ HostObject. Installing the following into a blank expo app: https://github.com/psquizzle/af-nitro

The template is a template for a "nitro module" - a library for nitro. This is not something that you can run. This is a library, not an app.
If you want to run something, you need to create an app (typically an example app in such a library). E.g. via create-react-native or Expo.
You are missing an import in FS.nitro.ts (HybridObject)

I updated the docs and added 5. Run it to make it clearer :)

I am installing this as a library into a new expo app, not trying to build the library as an app. This works perfectly for iOS but the above error occurs when trying to build the app for Android. FS.nitro.ts is placed under /src/specs/.

Thank you, much appreciated. I just initiated a new project again and the same error occurs when building for android. iOS works as expected:  https://github.com/psquizzle/nitro-android-build-error.git

The app you shared still uses react-native 0.74.
I think this is because Expo 51 is just tied to RN 0.74.
Your package-lock.json shows that RN 74 was used.
On RN 75, everything should build - see the example/ app here.

I use yarn as my package manager the package-lock.json must have been from the original initialisation through create-expo-app
From yarn.lock
<EMAIL_ADDRESS>version "0.75.0"
resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.75.0.tgz#10e48d76892fa9404ab9f7a9f22fecf3dfa80ca8"
integrity sha512-vNNekY0g02uZn1mB6wWXyKhoHvIh9IXqd0Zconh2OImr8zIMVSgTLjilzg8HcfLCwHukTew8R6vvyDUX8NwjvA==
The same error is occurring:
Unresolved reference: optimization
Unresolved reference: FastNative
running expo prebuild warns of:
✔ Created native directories | reusing /android, /ios
› Using current versions instead of recommended<EMAIL_ADDRESS>✔ Updated package.json | no changes
✔ Finished prebuild

The issue was that I copied some expo-build properties from another app which forced Android API level 33 and
dalvik.annotation.optimization.FastNative is available up API level 34. I appreciate your help on this issue and your contributions to the react native community as a whole :).

nice thanks!

added it to the minimum requirements section in the Troubleshooting docs!


Missing metrics from Microsoft.Compute/virtualMachines

There's no billable metrics for Network In/out, only in total. Please double check and update the doc.

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

ID: a0a586c4-71fd-e60b-9c4c-1a3eb2443c74
Version Independent ID: 2f3706cc-073b-a310-8da4-2a5a90da6473
Content: Azure Monitor supported metrics by resource type
Content Source: articles/azure-monitor/platform/metrics-supported.md
Service: azure-monitor
Sub-service: metrics
GitHub Login: @anirudhcavale
Microsoft Alias: ancav

@forester123 Thanks for the comment! We've shared your feedback with the content author for further review and update as appropriate.
@anirudhcavale FYI.

@forester123 Now all the metrics Network Billable and Total are on the documented.
#please-close


Missing Recipe

The hot cocoa recipe from farmer's respite does not accept the milk bottles from neapolitan. Since this mod is supposed to bridge the gap between these mods I thought it should be fixed by you.

This has been resolved by Farmer's Respite itself in the 1.20.1 update by moving to use fluids, since I've stopped supporting 1.19.2, marking this as closed.


Ansible request for automake on macos

Please put the name of the software product (and affected platforms if relevant) in the title of this issue
Delete as appropriate from this list:

Missing install

Details:
The setup of the build on macos (at least for JDK8) fails if automake is missing:
test-macincloud-macos1201-x64-1:freetype jenkins$ ./autogen.sh
./autogen.sh: line 102: aclocal: command not found
./autogen.sh: line 55: test: 1: unary operator expected
./autogen.sh: line 59: test: 1: unary operator expected
./autogen.sh: line 67: test: 10: unary operator expected
./autogen.sh: line 71: test: 10: unary operator expected
generating `configure.ac'
running `aclocal -I . --force'
./autogen.sh: line 15: aclocal: command not found
error while running `aclocal -I . --force'
test-macincloud-macos1201-x64-1:freetype jenkins$

It looks like this has been installed on the build machines at some point, but is not in the playbooks for new machine installs.

automake is certainly present on our current macos machines as per https://github.com/adoptium/infrastructure/blame/7d50c49814d9484a57148e52ab00e94ce1efd0b3/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Common/vars/MacOSX.yml#L10. And we build on orka now so this issue is outdated


UnsatisfiableError when installing from conda

When I try to install using conda following the instructions in the README, I run into this error. How can I address this to be able to install?
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

  - feature:/linux-64::__glibc==2.17=0
  - python=3.10.8 -> libgcc-ng[version='>=11.2.0'] -> __glibc[version='>=2.17']

Your installed version is: 2.17

Hi @kodingkoning
Sorry for the inconvenience.  You can install read2tree from the source using this instruction after creating a fresh environment
conda create -n read2t python=3.10.8
conda activate read2t

Please let us know whether it works or not.
Best regards, Sina.

Once I used mamba instead of conda in the fresh environment, I was able to install. Thanks for your help!


Classic Support

Are there any plans to support WoW Classic (v1.13.2)?

I get the following error with version 1.4 (TOC 11200), which worked for wow client 1.12:
Error occured in: Global Count: 1 Message: ..\AddOns\Outfitter\Outfitter.lua line 563:    attempt to call global 'TEXT' (a nil value) Debug:    [C]: TEXT()    Outfitter\Outfitter.lua:563: in main chunk Locals:

changing TEXT to loadstring results in this:
Error occured in: Global
Count: 1
Message: [string "OutfitterItem0OutfitMenu:OnLoad"] line 1:
   attempt to index global 'this' (a nil value)
Debug:
   [C]: ?
   [string "*:OnLoad"]:1:
      [string "*:OnLoad"]:1

The Classic client is actually branched from the current retail one, so we're more likely to have luck running the current version than the old 1.12-compatible version. I haven't tried it yet, will do so soon.


Powershell commands

When running the Powershell commands for EFLOW (like Copy-EflowVmFile) if I'm running in Powershell 7 I see the following type of output:
PS C:\Temp> Copy-EflowVmFile -fromFile C:\Temp\packaged_metadata.json -toFile /home/iotedge-user/storage -pushFile
Write-EventLog: C:\Program Files\WindowsPowerShell\Modules\AzureEFLOW\AzureEFLOW.psm1:4611
Line |
4611 |          Write-EventLog -LogName $LogName -Source $AppName -EventID $E …
     |          ~~~~~~~~~~~~~~
     | The term 'Write-EventLog' is not recognized as a name of a cmdlet, function, script file, or
     | executable program. Check the spelling of the name, or if a path was included, verify that the path is
     | correct and try again.

I think I get it that Write-EventLog isn't available in PS7... due to it being cross platform... it seems this error doesn't cause the command to fail.. but should I always be able to count on that?  Is there a way to get this error to go away?   (either by pulling in some sort of extension or some flag?)
I'm writing a .net program (using .net 5 adn pulled the Powershell SDK in which is also based on PS7 and this same error shows up there too... Seeing errors always gives be agita ;)
Thanks!

Hi @hooligan495,
We do not currently support PowerShell 7.  Can you try using an older version  of the PowerShell SDK? We will consider adding PS7 compatibility in the future.
Thanks,
Francisco

I'm running powershell commands from a .net 5 applicaiton.. .I"ll see if I can pull PS5 in...

Hi @hooligan495,
FYI - The latest EFLOW 1.1.2202.21022 added support for PowerShell 7 and PowerShell SDK.
Thanks,
Francisco


Unified example3

Here is updated examples based on what we discussed yesterday.
Major highlights:

From the template, Type message is gone, From the Yaml file, types: is gone.
Along with the Go interface .go file, we are now generating a proto file for each template proto given by user. This proto file contains the *Param message (stringified Constructor, example MetricParam) and the Type message (Similar to the Constructor message user has provided, except, every native type become ValueType. Example 'int priority' becomes 'ValueType priority')
I have deleted all the configuration that we originally had in the Type message provided by the template author. I am assuming all of the things that was in our old Type message will now be part of adapter.params. May be some of the deleted configuration from template might still belong in the Constructor message. PTAL.

@geeknoid @ZackButcher @douglas-reid @mandarjog
PTAL

LGTM.

@douglas-reid @mandarjog: Does this look fine ?

@geeknoid Accepting the pull req. This will make the PR that Sven is viewing automatically updated with this new update of typeless constructor.


feat(linter): object-shorthand

this is gonna be fun

Close as stale. Feel free to comeback and finish this.


Can not connect to remote transmission-daemon

I have a server which is running transmission daemon as a service and I'm using it over it's web ui nearly 6 months.
Recently I convert old my laptop to Media Center with Kodi and I added this addon from KODI's interface. I set up connection like this;

Host: <IP_ADDRESS>
Port: 9091
User: (empty)
Password: (empty)

User name and password was empty because I disabled RPC auth from transmission settings. I though this is may be problem. So I wrote a password and enabled auth. I have tried browser first and I can be able to login with user name and password. After that, I wrote same info into transmission add-on and save. So, when I try to start transmission add-on it throws this error since the beginning: Could not connect to transmission.
By the way I can reach transmission port from KODI machine as you can see below:
kodi@Studio-1535:~/.kodi/addons/script.transmission$ nc -w 1 -z -v <IP_ADDRESS> 9091
Connection to <IP_ADDRESS> 9091 port [tcp/*] succeeded!
kodi@Studio-1535:~/.kodi/addons/script.transmission$
Also the transmission configuration is below (unnecessary information not included):
{
    ...
   "bind-address-ipv4": "<IP_ADDRESS>",
   "bind-address-ipv6": "::",
    ...
   "rpc-authentication-required": true,
   "rpc-bind-address": "<IP_ADDRESS>",
   "rpc-enabled": true,
   "rpc-password": "{c1c5bf8b9dd95e641563efc7db8c24d49b5d0b4exGiBdnNW",
   "rpc-port": 9091,
   "rpc-url": "/transmissionweb/",
   "rpc-username": "admin",
   "rpc-whitelist": "<IP_ADDRESS>, 192.168.1.*",
   "rpc-whitelist-enabled": true,
   "scrape-paused-torrents-enabled": true,
    ...
   "utp-enabled": true,
}

I expect it's because the rpc-url setting is set to =/transmissionweb/= rather than the default, =/transmission/=. The addon does not yet support configuring the URL, and is expecting to reach it at the default url.

I looked through the library I'm using.... you should be able to supply the address as a complete URL ("http://hostname:port/transmissionweb/"), and it ought to work.

Umm! Of course. Now I remember I did change the url, once. Thank you for answer. I'm going to restore that url and try again tonight. I will update you.

I restored URL and it's done. Thank you.


change value of top: 0px

I need to make space from div header to StickyBox , i try to add style to <StickyBox style={{top:75}} but  it doesn't work.  i hope you will fix this. Thank you!

Hello!
Have you seen this issue? Are there potentially some take aways that might help you? (e.g. creating a wrapper with padding around sticky-box)

hi, thank you for quick response.
but creating a wrapper with padding around sticky-box only make space between 2 boxs before scroll, this what i am going to do,
before scroll,

after scroll right now is stick to header

what i want,

it will be nice if i can change value css of top:0 to top: 75px

There's a whole lot of calculations involved which make it hard to allow setting the top value from the outside.
I'd suggest to create a wrapper around StickyBox like this:
<div style={{padding: "75px 0"}}>
  <StickyBox>{...content...}</StickyBox>
</div>

@danielberndt putting a extra div with padding doesn't solve the problem reason it will put same extra space from top. look at this example.
https://codesandbox.io/s/w64l83450l

Thanks for the sample. I just rewrote it to make it work: https://codesandbox.io/s/jj48zj9yow

Perfect, but the problem with this sample is you missed the alignment. Can I make it configurable and send a PR to you so you can review and publish.

v0.6.3 was just released adding offset support!


go.mod: github.com/containerd/typeurl v1.0.2-0.20210318032713-5e43fb8b75ed

full diff: https://github.com/containerd/typeurl/compare/v1.0.1...5e43fb8b75ed

Fix lock for getTypeByUrl

no significant other changes, other than getting rid of github.com/gogo/protobuf v1.3.1 in the go mod tree

@thaJeztah yea, let's make sure the containerd 1.5.0 RC has tagged versions, if we really don't need to ... then we can wait to get this in

@thaJeztah yea, let's make sure the containerd 1.5.0 RC has tagged versions, if we really don't need to ... then we can wait to get this in

Yes, I had a draft 'note' / working on a list of dependencies that have tagged release, but for which we're currently using versions from "tip" that we should tag (or request to be tagged) before GA

rebased to trigger CI (which should now be fixed)

Interesting; new failure in script validation?
==> default: Checking if box 'fedora/33-cloud-base' version '33.20201019.0' is up to date...
==> default: Running provisioner: install-runc (shell)...
    default: Running: inline script
    default: /tmp/vagrant-install-runc: line 5: GOPATH: unbound variable
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

v1.0.2 is tagged, update

Updated; I also removed the second commit that tried to fix the runc installation - as I'm wondering if it was just a flaky (if it's failing again, I'll add it back)

Network Project: cri-c8d-pr-node-e2e
Zone: us-central1-f
Dumping logs from master locally to '/logs/artifacts'
Trying to find master named 'bootstrap-e2e-master'
Looking for address 'bootstrap-e2e-master-ip'
ERROR: (gcloud.compute.addresses.describe) Could not fetch resource:
 - The resource 'projects/cri-c8d-pr-node-e2e/regions/us-central1/addresses/bootstrap-e2e-master-ip' was not found

/test pull-containerd-node-e2e


[otbn] Pass lc_escalate as lc_tx_t to consumer FSMs

Create copies of lc_escalate_en_i using prim_lc_sync and pass the signal as lc_tx_t (i.e., with differential encoding) to the consumer FSM.
This is part of the work on #11019.
The tests otbn_sec_cm, otbn_tl_intg_err, and otbn_escalate fail, but they also fail on master. Maybe it is worth fixing otbn_escalate before merging this, to make sure no bug gets masked?

The failing test is because you also need to tweak otbn_top_sim to instantiate things with the new ports. Otherwise, looks good to me.


Update react-form-wizard to version 1.8.6

Includes a fix for radio labels not always corresponding to the correct
radio input.
Refs:

https://github.com/stolostron/backlog/issues/25009

Signed-off-by: Justin Kulikauskas<EMAIL_ADDRESS>

/cc @KevinFCormier

/cc @jamestalton

/lgtm


Unity TTS Streaming Sample creates huge UI lock-up spike

Describe the bug
Unity TTS Streaming Sample creates huge UI lock-up spike.
https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/db4a5a9a4a152e86348f3c016ac0b0cf3b539cf7/quickstart/csharp/unity/text-to-speech/Assets/Scripts/HelloWorld.cs#L1-L178
To Reproduce
Steps to reproduce the behavior:
Just download the sample script and implement in a scene to see the issue.
Expected behavior
A sample that shows how to integrate correctly with Unity's audio system to avoid UI lock-ups.
Version of the Cognitive Services Speech SDK
1.31.0
Additional context
Profiler recorded on device (MagicLeap2). The big blue spike is when clicking the button;

First spike is AudioClip.InvokePCMReaderCallback_internal() under LoadFMODSound.

The second spike is from "HelloWorld.Update()"

I've tried moving the creation of the audio clip to start and reusing the clip, but am still getting spike for AudioClip.InvokePCMReaderCallback_internal().

@yulin-li can you please take a look?

@TheXRMonk I'm not really the expert here, but the sample allocates an audio clip buffer of 10 min to show the maximum. Have you tried reducing that size to something closer to what you are expecting?

@TheXRMonk I'm not really the expert here, but the sample allocates an audio clip buffer of 10 min to show the maximum. Have you tried reducing that size to something closer to what you are expecting?

I've tried 5 minutes without any change (even though that's still much more than needed). I think the issue is rather in how the PCMReaderCallback is implemented.
Some online forum posts suggests using OnAudioFilterRead instead because of bad performance with PCMReader - havn't tried this, mostly because our architecture needs the clip returned from the service rather than playing directly on an audio source without an audioclip (which is what happens when implementing "OnAudioFilterRead" - its more like creating a synthesizer).
But in general it would be good to get a concise working example that shows how to use your push/pull/audioDataStreams correctly with Unity, to avoid these issues.

Hi, @TheXRMonk
I was able to reproduce your UI lock issue today.
And here is the root cause I found:
The audio clip need collect enough data (4096 audio samples) before it gets ready to play.
This collection need hundreds of milliseconds, as service side need such time to synthesize 4096 samples.
And based on current sample code, this collection procedure is a blocking code scope, which caused the UI lock.
Now I updated this sample code, to move this collection procedure into a routine method, and make yield return during the collection. And I verified that the UI lock issue was gone after this update.
Here is the updated code, you can have a try:
https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/yinhew/tts/quickstart/csharp/unity/text-to-speech/Assets/Scripts/HelloWorld.cs
Thanks,
Yinhe

Thank you @yinhew ! Setting the issue pending close.


add support for tuple conversion, fix #349

Maybe it's worth to update convert.H for consistency.  Let me see what I can do about it.

That's a good idea Kai.  The implementation in convert.H just does primitives, (reflective) structs, and (reflective) variants.
It might be possible to piggyback on the struct conversion process to get it to work for pairs/tuples.  But OTOH there's not a lot of code there so it doesn't hurt much to duplicate either.
I don't think that convert.H is actually used anywhere (at least it's not used anywhere to my knowledge).  I put it in as an example of a pure-C++ header-only lib because YH said he thought it could only be done via dynamic compilation with hobbes.
Of course, the conversion functions we get out of convert.H are a little slower than what we get out of the hobbes compiler, but for some use-cases I think the convenience of convert.H outweighs that added latency (though maybe that's also a good case for the lightweight compiler backend in hobbes/mc/).
Hope this helps.


Universe bug

This code makes F* to be in an incosistent state:
module Test

noeq type monad = {
  m    : Type u#a -> Type u#(max 1 a);
  ret  : #a:Type -> a -> m a;
}

type mon_bind (mon:monad) = #a:Type u#a -> #b:Type u#b -> mon.m a -> (a -> mon.m b) -> mon.m b

The error reported by F*:

(Error 18) ASSERTION FAILURE: Universe variable U_name a not found
F* may be in an inconsistent state.
Please file a bug report, ideally with a minimized version of the program that triggered the error.

I can't reproduce this with the latest 2022-07-13 release. I fixed issues similar to this one in PR #2630
F* reports the mon_bind is incorrect, since mon.m a and mon.m b can both be correct (a and b are in different universes).
This works, but I suspect you really are trying to encode some kind of double universe polymorphic bind:
type mon_bind (mon:monad) = #a:Type u#a -> #b:Type u#a -> mon.m a -> (a -> mon.m b) -> mon.m b

Hello. Thanks for looking into this! Yeah, I was not on the latest release, sorry for that.
Yes, I am trying to encode a double universe polymorphic bind that I also use to define an indexed effect. I saw in the Universe chapter of the tutorial that it is not possible yet to do what I intend.


Feature/issue 645

Fix for Issue #645

Changes Unknown when pulling 1d94cd1186f9e6383a2b1d1e26a9aae335218d33 on feature/issue-645 into ** on develop**.


Use uname -m to detect system architecture vs hardcoding x86_64

The tekton cli is released in x86_64 and arm64, this change should pull the correct binary for whatever the system host is.

# Linux_arm64 test
$ asdf plugin add tekton-cli https://github.com/mathew-fleisch/asdf-tekton-cli.git
$ asdf install tekton-cli latest
Downloading Tekton CLI (tkn) from https://github.com/tektoncd/cli/releases/download/v0.21.0/tkn_0.21.0_Linux_arm64.tar.gz to /tmp
Creating bin directory
Copying binary
$ asdf global tekton-cli latest
$ tkn version
Client version: 0.21.0

# Darwin_x86_64 test
$ asdf plugin add tekton-cli https://github.com/mathew-fleisch/asdf-tekton-cli.git
$ asdf install tekton-cli latest
Downloading Tekton CLI (tkn) from https://github.com/tektoncd/cli/releases/download/v0.21.0/tkn_0.21.0_Darwin_x86_64.tar.gz to /var/folders/4z/6b_pfpb50zl2nlmnm3vd2hkc0000gn/T/
Creating bin directory
Copying binary
$ asdf global tekton-cli latest
$ tkn version
Client version: 0.21.0

@mathew-fleisch this looks good to me :)

@johnhamelink Thanks! I hope you're feeling better!


FreeBayes was not in Phenotype Association section

Currently attending the workshop on that topic, and this was incorrect.

We should in general avoid the category as this can change from instance to instance.


Add startup probe to cainjector deployment

What this PR does / why we need it:
Currently, directly after deploying cert-manager, certificates cannot be created yet.
Instead when trying to create such resources, "x509: certificate signed by unknown authority" will be returned as an error.
This PR makes sure that the cainjector does not switch to the ready state before certificates can be created.
Release note:

cainjector's deployment state now better reflects how ready cert-manager is after doing a new install

/assign @wallrj

/ok-to-test

Having said all that, we could test whether this change does help, by adding a couple of lines after: https://github.com/jetstack/cert-manager/blob/15b6f32071b45687b44eb097145815fc3af1b010/devel/addon/certmanager/install.sh#L67
kubectl wait --for=condition=Available -n cert-manager --all deployments
kubectl apply -f dry-run-manifest.yaml --dry-run=server

That should fail (sometimes / often) before we implement this (or another solution).
BTW I didn't know what Available condition means until I searched and found @maelvls 's article! : https://dev.to/maelvls/understanding-the-available-condition-of-a-kubernetes-deployment-51li

I'm able to replicate the problem on my machine (see below). Sometimes it does complete successfully because the kubectl command is run after the ca has been injected.
> helm install cert-manager cert-manager --repo https://charts.jetstack.io --namespace cert-manager --create-namespace --version v1.4.0 --wait && kubectl apply -f dry-run-manifest.yaml --dry-run=server
INFO: Analyzed target //hack/bin:helm (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //hack/bin:helm up-to-date:
  bazel-bin/hack/bin/helm
INFO: Elapsed time: 0.601s, Critical Path: 0.05s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
NAME: cert-manager
LAST DEPLOYED: Wed Jun 23 15:53:11 2021
NAMESPACE: cert-manager
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
cert-manager has been deployed successfully!

In order to begin issuing certificates, you will need to set up a ClusterIssuer
or Issuer resource (for example, by creating a 'letsencrypt-staging' issuer).

More information on the different types of issuers and how to configure them
can be found in our documentation:

https://cert-manager.io/docs/configuration/

For information on how to configure cert-manager to automatically provision
Certificates for Ingress resources, take a look at the `ingress-shim`
documentation:

https://cert-manager.io/docs/usage/ingress/
INFO: Analyzed target //hack/bin:kubectl (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //hack/bin:kubectl up-to-date:
  bazel-bin/hack/bin/kubectl
INFO: Elapsed time: 0.753s, Critical Path: 0.18s
INFO: 2 processes: 1 internal, 1 linux-sandbox.
INFO: Build completed successfully, 2 total actions
clusterissuer.cert-manager.io/selfsigned-issuer unchanged (server dry run)
Error from server (InternalError): error when creating "dry-run-manifest.yaml": Internal error occurred: failed calling webhook "webhook.cert-manager.io": Post "https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=10s": x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "cert-manager-webhook-ca")

dry-run-manifest.yaml:
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: selfsigned-issuer
spec:
  selfSigned: {}
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: my-selfsigned-cert
  namespace: cert-manager
spec:
  commonName: my-selfsigned-cert
  secretName: my-selfsigned-cert
  privateKey:
    algorithm: ECDSA
    size: 256
  issuerRef:
    name: selfsigned-issuer
    kind: ClusterIssuer
    group: cert-manager.io

@wallrj

ref: https://github.com/jetstack/cert-manager/issues/4155

Now I agree that this startup probe might fix that problem because e.g. helm install --wait, will now wait until cainector has performed at least one reconciliation before it declares the install complete, but how do we know that that single reconciliation will have installed the ca.crt into all three of: validating, mutating, and CRD conversion webhook configurations.
I think it'll be hit-and-miss.

The current implementation does not wait for 1 reconciliation, it waits for 1 reconciliation round. So each element in the []injectorSetup{MutatingWebhookSetup, ValidatingWebhookSetup, APIServiceSetup, CRDSetup} array, has to be reconciled before the startup probe returns OK.

/cc @irbekrm

https://github.com/jetstack/cert-manager/pull/4133#pullrequestreview-703532048 explains that this approach will sometimes not work, possibly creating unpredictable behavior; I'll continue working on an alternative better solution


Apply explicit type to $result.

HydrateEntity assumes $result will always be some form of object but it's possible for it to be an array also. I've experienced this when implementing the client_credentials grant. According to the docs the return type is 'mixed|Builder'.

The tests fail.

@vinkla Seriously dude, 1 test failed and that test was for code style. Updated.

Yes, seriously. We'll never merge something that makes the tests fail.

Thanks for your pull request but this package should now be considered deprecated.


this library is dead?

Please follow the guide below

Issues submitted without this template format will be ignored.
Rlease read them carefully and answer completely.
Do not post screenshots of error messages or code.
Put an x into all the boxes [ ] relevant to your issue (==> [x] no spaces).
Use the Preview tab to see how your issue will actually look like.
Issues about reverse engineering is out of scope and will be closed without response.
Any mention of spam-like actions or spam-related tools/libs/etc is strictly not allowed.

Before submitting an issue, make sure you have:

[ ] Updated to the lastest version v1.6.0
[ ] Read the README and docs
[ ] Searched the bugtracker for similar issues including closed ones
[ ] Reviewed the sample code in tests and examples

Which client are you using?

[ ] app (instagram_private_api/)
[ ] web (instagram_web_api/)

Describe your Question/Issue:
Please make sure the description is worded well enough to be understood with as much context and examples as possible.

Paste the output of python -V here:
Code:
# Example code that will produce the error reported
from instagram_web_api import Client

web_api = Client()
user_feed_info = web_api.user_feed('1234567890', count=10)

Error/Debug Log:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ZeroDivisionError: integer division or modulo by zero

it seems so

What are the alternatives?

What are the alternatives?

I'm providing free custom alternatives for partners with Automator Avi at www.automatoravi.com

did you find alternative yet?

I've tried using ensta. Works great for me.


Connetion Error After Uploading Videos on Extract Frames Tab

We failed to extract frames after uploading our videos on browser lightening app. What should we do next.

@renaissance12138 if you navigate back to the command line where you launched the app there should be a bunch of logging outputs. can you copy/paste the end of that output, where the error was raised?

INFO:APP.EXTRACT_FRAMES:============== extracting frames from data/0716-treeshaw-pose-example/videos/recording_1_jump_4.mp4 ================
INFO:APP.EXTRACT_FRAMES:video file exists? True
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████| 79/79 [00:00<00:00, 210.11it/s]
Process ForkProcess-8:
Traceback (most recent call last):
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/lightning/app/utilities/proxies.py", line 433, in call
raise ex
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/lightning/app/utilities/proxies.py", line 414, in call
self.run_once()
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/lightning/app/utilities/proxies.py", line 566, in run_once
self.work.on_exception(ex)
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/lightning/app/core/work.py", line 644, in on_exception
raise exception
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/lightning/app/utilities/proxies.py", line 531, in run_once
ret = self.run_executor_cls(self.work, work_run, self.delta_queue)(*args, **kwargs)
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/lightning/app/utilities/proxies.py", line 364, in call
return self.work_run(*args, **kwargs)
File "/teamspace/studios/this_studio/Pose-app/lightning_pose_app/ui/extract_frames.py", line 323, in run
self._extract_frames(method="random", **kwargs)
File "/teamspace/studios/this_studio/Pose-app/lightning_pose_app/ui/extract_frames.py", line 123, in _extract_frames
idxs_selected = select_frame_idxs_kmeans(
File "/teamspace/studios/this_studio/Pose-app/lightning_pose_app/backend/extract_frames.py", line 103, in select_frame_idxs_kmeans
assert (end_frame - beg_frame) >= n_frames_to_select, "valid video segment too short!"
AssertionError: valid video segment too short!
 This won't take long.
INFO: Received SIGTERM signal. Gracefully terminating fiftyone...
INFO: Received SIGTERM signal. Gracefully terminating tensorboard...
INFO: Received SIGTERM signal. Gracefully terminating label_studio.label_studio...
INFO: Received SIGTERM signal. Gracefully terminating train_ui.work...
INFO: Received SIGTERM signal. Gracefully terminating streamlit_video.work...
INFO: Received SIGTERM signal. Gracefully terminating streamlit_frame.work...
INFO: Your Lightning App has been stopped successfully!

@renaissance12138 the error here says that your video segment is too short for the number of frames you'd like to extract - how long is the video that you uploaded?

Most of them are around 2 seconds.
On Wed, Jul 17, 2024 at 8:49 PM Matt Whiteway @.***>
wrote:

@renaissance12138 https://github.com/renaissance12138 the error here
says that your video segment is too short for the number of frames you'd
like to extract - how long is the video that you uploaded?
—
Reply to this email directly, view it on GitHub
https://github.com/Lightning-Universe/Pose-app/issues/98#issuecomment-2234943038,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4CCJKCLEPK6XFYQIKSVWYDZM4GKRAVCNFSM6AAAAABK7JVIQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZUHE2DGMBTHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
He/His
Undergraduate [Neuroscience & Statistics]
University of Virginia

what's the framerate of those videos (i.e., how many frames per vid roughly)? and how many frames are you requesting to label per video?

The recording is 100 frames per second and we are trying to label 40 or so.
On Thu, Jul 18, 2024 at 1:54 PM Matt Whiteway @.***>
wrote:

what's the framerate of those videos (i.e., how many frames per vid
roughly)? and how many frames are you requesting to label per video?
—
Reply to this email directly, view it on GitHub
https://github.com/Lightning-Universe/Pose-app/issues/98#issuecomment-2237168897,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4CCJKERG5JGO7BL5SMVZ33ZM76NFAVCNFSM6AAAAABK7JVIQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZXGE3DQOBZG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
He/His
Undergraduate [Neuroscience & Statistics]
University of Virginia

ok final question - did you change the slider on the right-hand side, where you can crop off the beginning/end of the video? somehow the video looks too short to the frame extraction function

I don't think there is any slider shown. When I uploaded my video, the
whole app was just disconnected.
On Thu, Jul 18, 2024 at 3:19 PM Matt Whiteway @.***>
wrote:

ok final question - did you change the slider on the right-hand side,
where you can crop off the beginning/end of the video? somehow the video
looks too short to the frame extraction function
—
Reply to this email directly, view it on GitHub
https://github.com/Lightning-Universe/Pose-app/issues/98#issuecomment-2237359336,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4CCJKEFPP7EELDSYG2L2ETZNAIKRAVCNFSM6AAAAABK7JVIQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZXGM2TSMZTGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
He/His
Undergraduate [Neuroscience & Statistics]
University of Virginia

Can you try extracting 20 instead of 40 frames and see if that works? Also, if you don't have a problem sending me the video I can play around with it on my side; sending through discord is probably easiest.

Yeah, I can do that.
On Fri, Jul 19, 2024 at 9:37 AM Matt Whiteway @.***>
wrote:

Can you try extracting 20 instead of 40 frames and see if that works?
Also, if you don't have a problem sending me the video I can play around
with it on my side; sending through discord
https://discord.gg/tDUPdRj4BM is probably easiest.
—
Reply to this email directly, view it on GitHub
https://github.com/Lightning-Universe/Pose-app/issues/98#issuecomment-2239202483,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4CCJKCV72D64VXQAJ4FTW3ZNEJBXAVCNFSM6AAAAABK7JVIQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZZGIYDENBYGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
He/His
Undergraduate [Neuroscience & Statistics]
University of Virginia

I have already sent that in the discord question.
On Fri, Jul 19, 2024 at 2:54 PM Yanbin Xu @.***> wrote:

Yeah, I can do that.
On Fri, Jul 19, 2024 at 9:37 AM Matt Whiteway @.***>
wrote:

Can you try extracting 20 instead of 40 frames and see if that works?
Also, if you don't have a problem sending me the video I can play around
with it on my side; sending through discord
https://discord.gg/tDUPdRj4BM is probably easiest.
—
Reply to this email directly, view it on GitHub
https://github.com/Lightning-Universe/Pose-app/issues/98#issuecomment-2239202483,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4CCJKCV72D64VXQAJ4FTW3ZNEJBXAVCNFSM6AAAAABK7JVIQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZZGIYDENBYGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
He/His
Undergraduate [Neuroscience & Statistics]
University of Virginia

--
He/His
Undergraduate [Neuroscience & Statistics]
University of Virginia

@renaissance12138 thanks for sending the video - one issue is that the video is 41 frames long, and we don't allow you to label the final two frames so that they can be reserved as context frames - so the max you could possibly label from this video is 39 frames.
There's a lot of redundancy in the frames so I'd recommend labeling 20 frames from 2 such videos (either different trials or different animals) rather than labeling 40 frames from a single video.


fix: Migrations in different directories are not correctly sorted

Sort by filename instead, as Laravel would handle it.

Fixes #1528
Before:
database/migrations/2023_06_09_160908_adjust_survey_table.php ...
vendor/i-ourcompany/l-our-module/src/Database/migrations/2019_08_01_135714_create_surveys_table.php

After:
vendor/i-ourcompany/l-our-module/src/Database/migrations/2019_08_01_135714_create_surveys_table.php ...
database/migrations/2023_06_09_160908_adjust_survey_table.php

[no] Added or updated tests
[no] Documented user facing changes

Changes
Sorting of migraton files is corrected.
Breaking changes
The behavior is changes, but it is a bug fix of course.

Hello @amenk 👋🏻
This is very nice PR.

Thank you!


Fix for single record Line Chart.

I think it's somehow related to issue #509, but I don't get the error, just a messy graph.
An example of the issue can be found here: http://jsfiddle.net/a2rq584b/

We've recently announced a feature complete status for v1.x and will only be accepting bug fixes for v1.x. Be sure to take a look at v2.0-dev and it's new features that are either finished or currently under development.  If you see your feature is still not implemented, feel free to submit another PR to the v2.0-dev (or later) branch for your feature.


Some wrong with training on yarn？

../../tools/launch.py -n 2 -s 2 --cluster=local python train_mnist.py --network lenet --kv-store dist_sync， run successful.
So I adjust --cluster=yarn to mxnet on yarn
../../tools/launch.py -n 2 -s 2 --cluster=yarn python train_mnist.py --network lenet --kv-store dist_sync

But job failed Exit code: 1
18/05/16 12:55:16 INFO dmlc.ApplicationMaster: onContainerStarted Invoked
18/05/16 12:55:16 INFO dmlc.ApplicationMaster: onContainerStarted Invoked
18/05/16 12:55:17 INFO dmlc.ApplicationMaster: [DMLC] Task 0 exited with status 1 Diagnostics:Exception from container-launch.
Container id: container_1498108406715_361607_01_000002
Exit code: 1
Stack trace: ExitCodeException exitCode=1:
at org.apache.hadoop.util.Shell.runCommand(Shell.java:582)
at org.apache.hadoop.util.Shell.run(Shell.java:479)
at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:773)
at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:212)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:302)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Container exited with a non-zero exit code 1

@sandeep-krishnamurthy Could you please tag this as python

@ankkhedia Thank you so much. Maybe mxnet can give some examples about mxnet on yarn.

Duplicate of https://github.com/apache/incubator-mxnet/issues/11011
Resolving this issue, and following up with action item on the other issue.


add F# and Ocaml!

plaase add F# and Ocaml in the diagram/stats

https://dotnet.microsoft.com/en-us/languages/fsharp
https://ocaml.org/

They're in the data https://raw.githubusercontent.com/github/innovationgraph/main/data/languages.csv just don't rank highly enough to show up in the chart on https://innovationgraph-internal.github.com/global-metrics/programming-languages at this point.


Release/0.1.0

Initial version with support to Redis CACHE.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@2242c3d). Click here to learn what that means.
The diff coverage is 83.57%.

@@            Coverage Diff            @@
##             master       #6   +/-   ##
=========================================
  Coverage          ?   83.57%
=========================================
  Files             ?       16
  Lines             ?      274
  Branches          ?       31
=========================================
  Hits              ?      229
  Misses            ?       45
  Partials          ?        0

Impacted Files
Coverage Δ

...peach/common/util/JavaCollectionsConversions.scala
0% <0%> (ø)

...roteus/peach/redis/manager/BasicRedisSession.scala
100% <100%> (ø)

.../peach/redis/manager/HoconRedisSessionConfig.scala
100% <100%> (ø)

...roteus/peach/client/config/PeachClientConfig.scala
100% <100%> (ø)

...n/scala/com/proteus/peach/server/PeachServer.scala
100% <100%> (ø)

...peach/server/cache/MockupExternalServerCache.scala
100% <100%> (ø)

...oteus/peach/redis/server/RedisPeachServerApp.scala
100% <100%> (ø)

...us/peach/server/comm/AkkaPeachServerReceptor.scala
100% <100%> (ø)

...roteus/peach/server/config/PeachServerConfig.scala
100% <100%> (ø)

...a/com/proteus/peach/client/MockupPeachClient.scala
100% <100%> (ø)

... and 6 more

Continue to review full report at Codecov.

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


Resource:Paste FX Chain to selected item, slot n

Reaper v.5.34, SWS 2.7.0
This function does not work correctly. Correct the bug. Here is the link:
https://cloud.mail.ru/public/2P4XZAz2LySc/Past FX-Chain.gif

Sorry but this report is super vague, no idea of what the "bug" is supposed to be here (this gif is useless to me...). Please, at least provide your OS specs, and clear reproduction steps for your next reports (if any).
That been said, there is a general fix related to takes for the next build (v2.7.2), so may be it's already fixed... Well, let me know...

Thank you very much for your useful suggestions. It has been fixed in the next version(2.7.2) as you said.

great, thanks for reporting back!


Alert icons aren't displayed properly on Ubuntu 18.04 LTS

$ apm -v
apm  1.19.0
npm  3.10.10
node 6.9.5 x64
atom 1.27.1
python 2.7.15rc1
git 2.17.0

Thanks for reaching out! Can you update the issue body and fill out the issue template? The information is super helpful for us when investigating issues.   Once you add those details we can re-open and go from there.
Also, did you install Atom using one of officially supported installation methods?
https://flight-manual.atom.io/getting-started/sections/installing-atom/
I was unable to reproduce with 1.27.1 on Ubuntu 18.04.

We require the template to be filled out on all new issues and pull requests so if you can open a new issue with the template filled out, that would be helpful for us. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us half way :grinning:


Is there reference documentation on Razor?

I see a lot of tutorial-style articles from 2011, but is there actually a reference anywhere? For example something that lists things like @helpers and @functions and all the other various things you can do.

Take a look at: https://docs.microsoft.com/en-us/aspnet/core/mvc/views/razor


[Bug]: When extra long name for organization is given text is overlapped in Fork modal

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When extra long name for organization is given text is overlapped in Fork modal

Steps To Reproduce

Login to release
Create 2 org > Name 1 organization with extra long name
Fork an application from first org to second org and verify the fork modal

Public Sample App
No response
Version
Cloud

[Uploading... Screen Recording 2022-07-13 at 10.03.22 AM.mov]
I don't see this happening anymore @shwetha-ramesh
Can you confirm if this is still happening on your end?

Cannot be reproduced any more, if it returns, please reopen


Long clause template names intersect with template logo

Bug Report 🐛

Long clause template names intersect with the template logo, like this:

Expected Behavior
Template names should wrap to a second line if they can not fit on the first line without overlapping the logo

@irmerk can i work on this issue ?

@irmerk Hii ,  i  wanna work on it , is this issue still open ?

@irmerk Hii ,  i  wanna work on it , is this issue still open ?

@naveen8801 it looks like there has been no activity on this issue in the last three months. Thanks for volunteering! I will assign it to you.

@naveen8801 it looks like there has been no activity on this issue in the last three months. Thanks for volunteering! I will assign it to you.

@Michael-Grover  , thanks

@Michael-Grover  , thanks

Hii @Michael-Grover  , i have made some pull requests but some tests are it failed in some tests . Need help !

Hii @Michael-Grover  , i have made some pull requests but some tests are it failed in some tests . Need help !

@DianaLease, @jeromesimeon, or @irmerk may be able to help

@DianaLease, @jeromesimeon, or @irmerk may be able to help

Closed by https://github.com/accordproject/web-components/pull/239


GHC8 and persistent-2.5 compatibility

Tested on nightly-2016-07-04 we use currently for our project

Ping on this, Esqueleto can't currently be installed on a clean yesod-postgres Stack template which could likely cause issues for many.

@danpalmer https://github.com/haskell-infra/hackage-trustees/issues/84 please pipe up here so we can migrate and get new maintainers on board ASAP.


Unify and rustify downcasting and error APIs

https://github.com/gtk-rs/examples/pull/69

Thanks!


[General Issue]: WireGuard - Cannot connect to server with static IP (Host and Client not receiving anything)

In raising this issue I confirm that

[X] I have read the documentation
[X] I have read and understood the PiVPN General Guidelines
[X] I have read and understood the PiVPN Troubleshooting Guidelines
[X] The issue I am reporting isn't a duplicate, see closed issues and open issues.
[X] I have searched for similar issues and solutions
[X] I can replicate the issue even after a clean OS installation

Describe the issue
I had a clean installation, and the server was working at my home network for months. Recently out of nowhere I can't connect to my VPN server from any of my client devices (android and pc). The server has an internet connection and theres no other network problem while I'm on home network.
(I also run pi-hole on the same server)
Expected behavior
Starting the tunnel should make a connection between host server and client device
Please describe the steps to replicate the issue
On client side the tunnel is activated but there is no RX value, only TX
On server side tcpdump doesn't receive anything
(I test with my phone while on mobile data, but behavior is same on every device)
I don't know if it's related but:
I connect raspberry pi with an ethernet cable over an ethernet switch (doesn't affect the IP and been using like this for the beginning). Lately its power went off and on again and the server lost internet access for couple of hours. This was happened before but didn't affected the PiVPN.
Have you taken any steps towards solving your issue?
I have Static IP from the beginning, still using the same one and I'm not behind a CGNAT
Server has DHCP binding on router. It's always on the same IP
I reinstalled PiVPN without restoring any backups to test with a clean install. Problem Continues
Screenshots

Where did you run pivpn?
Raspberry Pi 4, 4GB with ethernet connection
Please provide your output from uname -a
Linux h1v3 6.1.21-v7l+ #1642 SMP Mon Apr  3 17:22:30 BST 2023 armv7l GNU/Linux
Details about Operative System
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Installation
No response
Profile / Client creation
No response
Debug output
::::		PiVPN debug		 ::::
=============================================
::::		Latest commit		 ::::
Branch: master
Commit: 20d3a4ccd4f2d080d6f9a13a74e6369aa9d54476
Author: Orazio
Date: Mon Jan 29 08:53:41 2024 +0100
Summary: fix(install): don't treat http errors as unavailable ipv6
=============================================
::::	    Installation settings    	 ::::
PLAT=Raspbian
OSCN=bullseye
USING_UFW=0
pivpnforceipv6route=1
IPv4dev=eth0
IPv4addr=<IP_ADDRESS>/24
IPv4gw=<IP_ADDRESS>
install_user=b33k33p3r
install_home=/home/b33k33p3r
VPN=wireguard
pivpnPORT=51820
pivpnDNS1=<IP_ADDRESS>
pivpnDNS2=<IP_ADDRESS>
pivpnHOST=REDACTED
INPUT_CHAIN_EDITED=1
FORWARD_CHAIN_EDITED=1
INPUT_CHAIN_EDITEDv6=
FORWARD_CHAIN_EDITEDv6=
pivpnPROTO=udp
pivpnMTU=1420
pivpnDEV=wg0
pivpnNET=<IP_ADDRESS>
subnetClass=24
pivpnenableipv6=0
ALLOWED_IPS="<IP_ADDRESS>/0, ::0/0"
UNATTUPG=1
INSTALLED_PACKAGES=(unattended-upgrades)
=============================================
::::  Server configuration shown below   ::::
[Interface]
PrivateKey = server_priv
Address = <IP_ADDRESS>/24
MTU = 1420
ListenPort = 51820
### begin DR0N3 ###
[Peer]
PublicKey = DR0N3_pub
PresharedKey = DR0N3_psk
AllowedIPs = <IP_ADDRESS>/32
### end DR0N3 ###
=============================================
::::  Client configuration shown below   ::::
[Interface]
PrivateKey = DR0N3_priv
Address = <IP_ADDRESS>/24
DNS = <IP_ADDRESS>

[Peer]
PublicKey = server_pub
PresharedKey = DR0N3_psk
Endpoint = REDACTED:51820
AllowedIPs = <IP_ADDRESS>/0, ::0/0
=============================================
:::: 	Recursive list of files in	 ::::
::::	/etc/wireguard shown below	 ::::
/etc/wireguard:
configs
keys
wg0.conf

/etc/wireguard/configs:
DR0N3.conf
clients.txt

/etc/wireguard/keys:
DR0N3_priv
DR0N3_psk
DR0N3_pub
server_priv
server_pub
=============================================
::::		Self check		 ::::
:: [OK] IP forwarding is enabled
:: [OK] Iptables MASQUERADE rule set
:: [OK] Iptables INPUT rule set
:: [OK] Iptables FORWARD rule set
:: [OK] WireGuard is running
:: [OK] WireGuard is enabled
(it will automatically start on reboot)
:: [OK] WireGuard is listening on port 51820/udp
=============================================
:::: Having trouble connecting? Take a look at the FAQ:
:::: https://docs.pivpn.io/faq
=============================================
:::: WARNING: This script should have automatically masked sensitive       ::::
:::: information, however, still make sure that PrivateKey, PublicKey      ::::
:::: and PresharedKey are masked before reporting an issue. An example key ::::
:::: that you should NOT see in this log looks like this:                  ::::
:::: YIAoJVsdIeyvXfGGDDadHh6AxsMRymZTnnzZoAb9cxRe                          ::::
=============================================
::::		Debug complete		 ::::

quick read thru ...

Lately its power went off and on again and the server lost internet access for couple of hours. This was happened before but didn't affected the PiVPN.

Most likely your external IP Changed, Double check if your external IP matches what's on the client configuration files.
Edited your issue to make the pivpn output readable.

I checked it from the /etc/pivpn/wireguard/setupVars.conf file both of my Host IPs and IPv4 IP are still the same. Besides, I did a clean reinstall deleted old configurations and tested with new ones.
Everything matches with curl -s https://checkip.amazonaws.com output, pivpnHOST=XXXX Endpoint = XXXX:51820 XXXX are same.
And just now I tested with the RPi directly connected to the router. External IPs are still the same.
(thanks for the edit I was trying to figure that out)

UPDATE: I had chance to test with a different wifi connection and the VPN works.
The problem is only with a cellular networks, and it doesn't matter if I use my phone directly or hotspot to my laptop, I couldn't even connect with a different number (of same carrier). What should I do and how can I modify according to work with mobile networks? I use it very often and there wasn't an issue before.
About Github Issue:
Should I open a new discussion about it or could this one be converted?

I opened a discussion about this: https://github.com/pivpn/pivpn/discussions/1822


Add waits for secret creation before verifications

Per feedback from Noam, and I've also seen it myself, the timing can be
such that the secret verifications fail because the secret doesn't quite
exist yet.
There is no "condition:Ready" on Secret objects as there are is on Pods,
so we can't use the normal wait --for=condition=Ready secrets --all
here.
Signed-off-by: Daniel Farrell<EMAIL_ADDRESS>

Perhaps we want to add this timeout method as a helper function in scripts lib files.
Here we use it 3 times, do we need timeouts functions in other scripts too?


Granular Loading Indicator

Hi,
Thanks for this great library.
I need more granular control for displaying loading state. I want to display a loading spinner in a child component, not the whole page.
I commented <Suspense> from component.tsx, but I get a weird error when navigating.
This is the error that was printed in my browser console for "example project":

And this is displayed in page:

The error says "above error", but there is no error printed above.

This is a bit difficult to do with how Suspense works. This library loads a query along with the page and lets Relay suspend on client-side navigations. If only part of the page needs data and you don't want to block you can use useLazyLoadQuery or create a fallback that works like the rest of the page without that data.

Closing as this is pretty much incompatible with how this library works. If you'd like to only show a loading spinner in part of the app you can use useLazyLoadQuery. It's not currently possible to say "render the app except for this part".


Unable to report from device... Is there something wrong with my Module?

I've followed these directions exactly, but the result of creating a deployment for a single device is a temp sensor but the csharpfunction is not being reported by the device and is not being reported by iotedge list on the VM that's simulating my iot device. Is there something wrong with my run.csx? And in the same vain, how am I supposed to debug/test the run.csx from VS Code?

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

ID: a7852968-3c54-5584-df91-b01521efae43
Version Independent ID: c7340985-f6d2-2bf8-71e5-ee62dadb25e3
Content: Deploy Azure functions with Azure IoT Edge
Content Source: articles/iot-edge/tutorial-deploy-function.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

Now I'm thinking more about it, is my error because of the "Tagging" with the docker image?
ie: the config for the csharpfunction module:
"csharpfunction": {
            "version": "1.0",
            "type": "docker",
            "status": "running",
            "restartPolicy": "always",
            "settings": {
              "image": "derregistry.azurecr.io/csharpfunction:0.0.1-amd64",
              "createOptions": "{}"
            }

and the config for the module in the csharp function:
"image": {
        "repository": "derpregistry.azurecr.io/csharpfunction",
        "tag": {
            "version": "0.0.1",
            "platforms": {
                "amd64": "./Dockerfile.amd64",
                "amd64.debug": "./Dockerfile.amd64.debug",
                "arm32v7": "./Dockerfile.arm32v7",
                "windows-amd64": "./Dockerfile.windows-amd64"
            }
        },

None of these "tags" are for windows containers on a Windows VM?

Okay so now I've changed my csharp function in deployment.template.json to use the windows-amd64 base image

"csharpfunction": {
            "version": "1.0",
            "type": "docker",
            "status": "running",
            "restartPolicy": "always",
            "settings": {
              "image": "${MODULES.csharpfunction.windows-amd64}",
              "createOptions": "{}"
            }
          }

But I get an error when I try to build ("Build and Push IoT Solution")
image operating system "windows" cannot be used on this platform.

Hello @timmyreilly thanks for reporting your steps on troubleshooting the issue.
Please can you also leverage the Common issues and resolutions for Azure IoT Edge doc?
Let us know it went.
Thanks!

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Allow only distinct blog posts

Link to Ticket
Description of Changes Made

Implement fix to prevent duplicated blog posts being shown on a BlogIndexPage
I've also confirmed that this is not necessary on WorkIndexPages

How to Test
Confirm that no duplicate blog posts are present when filtering is applied - you could also include a print statement or logging to confirm no duplicates are present
Screenshots
Without Fix

With Fix

Expand to see more

MR Checklist

[x] Add a description of your pull request and instructions for the reviewer to verify your work.
[x] If your pull request is for a specific ticket, link to it in the description.
[x] Stay on point and keep it small so the merge request can be easily reviewed.
[x] Tests and linting passes.

Unit tests

[ ] Added
[x] Not required

Documentation

[ ] Updated build docs
[ ] Updated editor guidelines (https://docs.google.com/document/d/1PAWccdQ4tfaZsrEWmpDhvP3GH5RRmBOARFVp4b-kje8/edit?usp=sharing)
[x] Not required

Browser testing

[ ] I have tested in the following browsers and environments (edit the list as required)

Latest version of Chrome on mac
Latest version of Firefox on mac
Latest version of Safari on mac
Safari on last two versions of iOS
Chrome on last two versions of Android

[x] Not required

Data protection

[ ] Not relevant
[ ] This adds new sources of PII and documents it and modifies Birdbath processors accordingly

Accessibility

[ ] Automated WCAG 2.1 tests pass
[ ] Manual WCAG 2.1 tests completed
[ ] I have tested in a screen reader
[ ] I have tested in high-contrast mode
[ ] Any animations removed for prefers-reduced-motion
[x] Not required

Sustainability

[ ] Images are optimised and lazy-loading used where appropriate
[ ] SVGs have been optimised
[ ] Perfomance and transfer of data considered
[ ] If JavaScript is needed alternatives have been considered
[x] Not required

Pattern library

[ ] The pattern library component for this template displays correctly, and does not break parent templates
[ ] The styleguide is updated if relevant
[x] Changes are not relevant the pattern library

Done in https://github.com/torchbox/torchbox.com/commit/a9a18cce8c75a4423492adc4740ddc0e381b6b89

@lparsons396 did you mean to close this PR without merging it?

@lparsons396 did you mean to close this PR without merging it?

Yes, I included straight on the integration branch see https://github.com/torchbox/torchbox.com/pull/136#issuecomment-1980503733


Add support for recentering and rescaling

Just like https://github.com/aesara-devs/aemcmc/issues/4, we need to incorporate the recentering and rescaling from symbolic-pymc (see the example here).

Is there any particular reason why you would want to
implement this here and not in aeppl? I remember talks about automatic marginalization of RVs with discrete support in the repo (but couldn't find the relevant issue), and that would fall under the same umbrella.


Question: API documentation

Where is it?

https://github.com/VertNet/bels/wiki/User-Manual-for-the-BELS-Georeference-Matcher#georeference-matcher-api


Unable to give the path in command line for setting android in  flutter.

Team,
I have installed android studio in my local system. but flutter didn't recognize it, and asked me to give the directory. So I gave the directory with the command and still I am facing the issue. please help me in the problem.

@mrlakshman88
The Android studio path seems to be pointing to bin and not to Android Studio
Try changing that path to point to Android Studio folder instead of bin and see if it helps.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Internals documentation for the internal service provider

Closing for now; will bring it back in a new format later.

Closing for now; will bring it back in a new format later.


fix(metadata): compatibility with old kv records

fix Error 500: Cannot read properties of null on old kv records
Maybe not every change is needed, but i think there's no harm in changing item.metadata -> item.metadata? uniformly?

Oh, that must been some ancient pastes. I am planning to introduce metadata scheme versions for later extensions. But good to have these alleviations now.


Makefile initial installation

Resolves #582.
Description
This PR introduces the initial Makefile for the xdem project, aimed at streamlining the installation process for developers on Linux systems. By implementing a Makefile, we provide a simple command-line interface for common setup tasks, enhancing the developer experience and reducing the potential for errors during installation.
Key Changes:

Makefile Structure: The Makefile has been created based on the existing structure of the demcompare project.

Targets Implemented:

help: Displays help information about available targets.
venv: Creates a virtual environment in the specified directory if it does not exist.
install: Installs the xdem package in editable mode along with necessary dependencies and sets up pre-commit hooks for Git.
clean: A comprehensive clean target to remove build artifacts, virtual environment, and pre-commit hooks.
test: Run pytest.

3.Update dependencies:
The dependencies used in each sections (required, optionnal, test, doc) have been updated to match with the projet.
Next tasks
For now we have troubles with gdal and richdem : it seems that richdem is not stable enough to build a wheel on python > 3.10. For the moment, the makefile only works on python 3.10.
The installation of Gdal depends on certain configurations that do not depend on python. It is therefore possible that the makefile will fail when Gdal is installed, depending on the configuration.
There are 3 possible solutions to these problems:

keep digging: risky and time-consuming,
Leave the makefile in its current state and update it when richdem is stable,
Generate the ground truths.

When the makefile will be stable, the contributing documentation will need to be updated.

I am not very familiar with Makefile builds (@adehecq is much more). If my understanding is correct, this would replace/improve the current developer installation via mamba + dev-environment.yml shown here: https://xdem.readthedocs.io/en/stable/how_to_install.html#installing-for-contributors?
For us (even before xDEM, and on Python 2), using the conda-forge channel (with conda or mamba) to solve for GDAL + anything else was always the successful recipe. Is that possible within a Makefile build?
But even through this, GDAL + RichDEM did occasionally break in CI from time to time in the past 4 years :sweat_smile: (once or twice, for instance https://github.com/GlacioHack/xdem/issues/376; but has been passing on all OS and Python versions recently).
We could also coordinate with Richard Barnes to solve the issue.

@rhugonnet the aim of this makefile is to install easily xdem in develoment mode with pip, so it would not replace/improve mamba installation but an alternative without using conda

Hello !

The 'make test' command doesn't work for me. If it's because of GDAL, the best thing to do is delete the line in the Makefile for the moment.

@duboise-cnes Could you give us your opinion on the dependances issues?

@rhugonnet Would you agree to update the readme by indicating that a pip install is viable?

We also should update documentation : https://xdem.readthedocs.io/en/stable/how_to_install.html

@adebardo For now I have commented the make test. The documentation https://xdem.readthedocs.io/en/stable/how_to_install.html has been updated with the make install.

Yes, let's add the pip option to the README and the makefile option to the "How to install" page!

I am not very familiar with Makefile builds (@adehecq is much more). If my understanding is correct, this would replace/improve the current developer installation via mamba + dev-environment.yml shown here: https://xdem.readthedocs.io/en/stable/how_to_install.html#installing-for-contributors?
For us (even before xDEM, and on Python 2), using the conda-forge channel (with conda or mamba) to solve for GDAL + anything else was always the successful recipe. Is that possible within a Makefile build? But even through conda-forge, GDAL + RichDEM did occasionally break in CI from time to time in the past 4 years 😅 (once or twice, for instance #376; but has been passing on all OS and Python versions recently).
We could also coordinate with Richard Barnes to solve the issue.

Makefile is not really "needed" absolutely but it is common tool in linux development and a simple wrapper for development practise.
I think for support for other developers, the make clean is really great to go back to a clean state for instance. I don't know how to do that with conda for instance. It also suppose to be on a python3 pip pure install and therefore is more general than conda environment to handle possible dependencies problems. Anyway, in our internal chains, we don't use conda and having a developer environment way without it ensure compatibility. And we have generalized the makefile to organize common way to understand a dev python repository. Just clone and do a make help and you have the supported dev recipes of the project...
I understand that conda ease the way to have GDAL (even if you are not root on your pc). But in our experience, we have tried to remove GDAL direct dependency because of difficulty of maintenance and use it through rasterio directly in python3 or other way.
So I would propose two steps:

finish this PR adding dependency of GDAL for the make install in documentation and in Makefile doing a test for GDAL presence and crash if not present
second step, discuss possibilities in next meeting for getting rid of gdal  direct dependency if ok or possible. (use through rasterio, have reference generated outside the code). I think even for contributors that it would be better not having direct GDAL dependency for maintenance in XDEM. My opinon, but to be exchanged. For developers, it is not so difficult to get GDAL (we have it on the cnes cluster) and there is anyway the conda approach in parallel.

As for richdem, if not so maintained for different python, can the dependency be removed, included, updated as discussed (if i remember well) ? Again, maybe in another PR, not sure
I have several comments on the code line by line in following comments.

Thanks @duboise-cnes, it's much clearer!
For GDAL/RichDEM: They are not dependencies for the users, but they are for developers (only used in tests).
They are quite important as they verify all types of terrain attributes (slope, aspect, TPI, TRI, etc), custom reprojection in the same CRS (to avoid sub-pixel errors of Rasterio that haven't been fixed in more than a year), etc. Same for RichDEM to check curvatures.
I'd advocate for keeping them. But if we want to remove them, that's doable too :slightly_smiling_face:.
We could generate output files from GDAL/RichDEM (slopes, curvatures, etc) in the xdem-data repo instead, then retrieve those and continue testing in xdem even without the dependencies.

@adebardo @rhugonnet @duboise-cnes The PR has been updated, I have found a way to solve the GDAL configuration problem. Now the makefile works if the user has GDAL on the system (if not the makefile gives instructions on how to install it). We still have constraints on richdem with python > 3.10, so for the moment the makefile is only configured for python3.10.
A check has been added to make test so that it does not run if GDAL is not in the virtual environment.
I have kept "To use: source ${VENV}/bin/activate; xdem -h" to anticipate the CLI (#629)

@vschaffn Perfect for the solve! Not much to comment on my side, looks great :)


Link broken:

Doc:  https://docs.microsoft.com/en-us/azure/bot-service/nodejs/bot-builder-nodejs-recognize-intent-messages?view=azure-bot-service-3.0
Text:
Use RegExpRecognizer to detect the user's intent using a regular expression. You can pass multiple expressions to the recognizer to support multiple languages.
Points to: https://docs.botframework.com/node/builder/chat-reference/classes/botbuilder_d.regexprecognizer.html
Whic is not resolved.

Looks like this is the correct target. Will fix this soon.
https://docs.microsoft.com/javascript/api/botbuilder/regexprecognizer?view=botbuilder-ts-3.0

Addressed in PR. Fix should go live soon.


document new proxy range support in documentation

https://github.com/qaprosoft/carina/issues/794
need adjust documentation on such pages:
http://qaprosoft.github.io/carina/configuration/
http://qaprosoft.github.io/carina/proxy/
[Sergei Zagriychuk]+ re-factor browsermob_host usage
I found that browsermob_host is a redundant parameter. Instead of it we can just override proxy_host property.

Verified.

Verified.


feat: Avoid API Rate-Limiting

Pull Request

Rate limiting of the Github search API is causing a 403 Authentication Error for some users. Issues #217 and potentially #166 are related.
Proposed Changes

The github3 SearchIterator object has a ratelimit_remaining property that is used to measure if we are near API rate limits. If remaining requests are low (<5), there is a 1 minute delay to refresh requests with exponential increases in delays (corresponding rate limit docs). This is consistent with Github's recommended best practice guidelines since the github3 wrappers prevent us from easily accessing the retry headers.
Readiness Checklist
Author/Contributor

[x] If documentation is needed for this change, has that been included in this pull request
[x] run make lint and fix any issues that you have introduced
[x] run make test and ensure you have test coverage for the lines you are introducing

Reviewer

[x] Label as either fix, documentation, enhancement, infrastructure, maintenance, or breaking

Testing this one locally and running into issues that also happen on the main branch. Will continue trying to figure out what's going on so I can see this in action.

Still working on this, Thanks for hanging in there. I'm currently trying to rule out what is causing the issue and then doing local reruns.


Add button to test LDAP-connection

Add a button to test the LDAP-connection that has just been entered. That only tests whether a connection to the LDAP-Server with the given ldap-uri works.
Later we might add tests whether a user can log in with given credentials

looking forward to it :)

What if the server requires authentication from the logging in user?
What if the server requires authentication with an admin account in the URI?

+1 for this


How to make superagent receive cookies from the server?

Hello! So I want to know how to receive cookies from the server using superagent. Here is how the code on my server looks like:
var router = require('express').Router();
// Please note: I am using express
router.post('/', function(req, res) {
    res.cookie('uname', req.body.key).send("Cookies are set!");
});
//
module.exports = router;

And here is how the code looks on the client-side:
superagent.post('http://localhost:5000/')
   .send({ key: "fragile", cat: "billy" })
   .set('accept', 'json')
   .end(function(err, res) {
        if (err) { console.error(err); }
        else { console.log(res); }
   });

I know that whenever a cookie gets set, a set-cookie header pops up. I even tried cross-referencing this stackoverflow question and #597 but it didn't help. Is there any way to make superagent receive cookies?

Looks like no one wants to respond!

Cookies are already set for you when you make the request, as long as you on the server set the cookie on the response object.
To retrieve the cookie you can simply use js-cookie or any other library.
Js-cookie implementation.
   import Cookies from "js-cookie";

  // .... other code

  // Make request
  const response = await superagent.get(url).withCredentials();
  //
  console.log(Cookies.get("COOKIE_ID"));