Predis

Hi guys,
We're using Predis 1.0.1 in Cluster mode (3 masters, 3 slaves) to connect to our Production Redis Platform (Redis 3.0.1) and we are having a weird issue.
We're having random connection time out, we checked obvious things like memory and/or CPU and/or IO and/or Network overload but found nothing.
(07/07/15 12:15:14PM) [12949] ultraErrorHandler(): Fatal PHP error: 2, message: stream_socket_client(): unable to connect to tcp://X.X.X.X:6379 (Connection timed out), file: /opt/php/vendor/predis/src/Connection/StreamConnection.php, line 82 [12949] Ultra\Lib\Util\Redis::get(): Connection timed out [tcp://X.X.X.X:6379]
We're having those errors even with low traffic so we checked the Redis connection refused counts but it reads 0 so we assume that for whatever reason Predis is not even able to reach the cluster.
We tried several combination of timeout (0 then -1 then 600) with read_write_timeout=-1 but no luck.
This is what we see from a code perspective
We tried:
[parameters:Predis\Connection\Parameters:private] => Array
(
[scheme] => tcp
[host] => X.X.X.X
[port] => 6379
[path] => /
[password] => ****
[read_write_timeout] => -1
[timeout] => 5
)
but also
[parameters:Predis\Connection\Parameters:private] => Array
(
[scheme] => tcp
[host] => X.X.X.X
[port] => 6379
[path] => /
[password] => ****
[read_write_timeout] => -1
[timeout] => 0
)
Here is how we initiate our connection string with Predis
$parameters = array('tcp://X.X.X.X/?password=secret&read_write_timeout=-1&timeout=0', 'tcp://Y.Y.Y.Y/?password=secret&read_write_timeout=-1&timeout=0','tcp://Z.Z.Z.Z/?password=secret&read_write_timeout=-1&timeout=0');
$options = array("cluster", "redis");
$redis = new Predis\Client(
$parameters
, $options);
Could you help us please?
Thanks a lot !!!!

I can't think of anything directly attributable to Predis, but just be aware of the fact that master-slave configurations are currently not yet supported with redis-cluster (working on it for the next minor release) so you must rewrite the client parameters (manually or automatically, it's up to you) accordingly whenever a slave is promoted to master. Could it be that the client is trying to reach a dead node?
PS: read_write_timeout is useless in you case since it's the timeout for read and write operations once the connection has been established, which is not the case when you are having these issues.

If you are getting many connect timeouts, change your redis cluster setting (timeout) to 300s "CONFIG SET timeout 300" - redis cluster is behaving improperly when a low or no timeout is specified in your cluster config.

Thanks for the hint on Redis Cluster !! Appreciate it

Any update on your issue @Emdis?


⚠ Jenkins Plugins Artifactory has degraded performance

In a004e55, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1079 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 3008102 after 45 minutes.


Help offered

It seems that @daveaglick can use some help. If wanted, I'm willing to volunteer. Could you consider a format in which others (including me) could help you out?

Thanks ♥. What you've been doing is great - basically help review PRs and point out anything I should focus on. That should let me handle them more quickly when I get those bursts of time that I can get stuff done.


OllamaGenerateAdvance

I have ollama installed on windows from link you provided, have it running in the background, when I ran your workflow by providing only an image, I got this error:
OllamaGenerateAdvance
1 validation error for GenerateRequest
model
String should have at least 1 character [type=string_too_short, input_value='', input_type=str]
For further information visit https://errors.pydantic.dev/2.9/v/string_too_short
There's several text boxes, I didn't touch any, am I supposed to?
box #133, 135, 111, 112, 117, 158, 178, which ones am I supposed to edit and what do I put in it?  Unclear from the readme
Thx in advance

Please give me your workflow screenshot on the Ollama Video Prompt Generator panel area, and I'll help you diagnose this issue from there.


[Stable Diffusion] Fix the image size value inferring

In the dummy input generator, the default value of image_size would be the sample_size, which would lead to shapes using for compilation unmatch with the height and width given by users.
This PR is suppose to fix how the height and width should be infer.

Also gently pinging @oOraph and @juliensimon, if you are using optimum-neuron 0.0.9, if the height(width) divide by the vae_scale_factor factor doesn't  equal to the sample_size in the checkpoint's config file, the inference might fail due to inconsistent latent shape without the PR.


AttributeError: 'KernelConfig' object has no attribute 'add_openai_completion_backend'

Describe the bug
AttributeError: 'KernelConfig' object has no attribute 'add_openai_completion_backend'
To Reproduce
Use the python-preview branch to execute kernel.config.add_openai_completion_backend and report an error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):

OS: [e.g. Windows]
IDE: [e.g. Visual Studio, VS Code]
NuGet Package Version [e.g. 0.1.0]

Additional context
Add any other context about the problem here.

@ihoment-lys we've update the kernel API to support any model so some methods now have a more generic name. Could you try this?

kernel.config.add_text_backend(...)

See also the examples in the README here https://github.com/microsoft/semantic-kernel/blob/python-preview/python/README.md

Running a simple prompt, the error is as follows

@ihoment-lys could you include the code to reproduce the error?

After the code was updated to the latest version, the problem has been solved Illegal thank you


union type is not working [at type alias]

union type is not working as below.
type TestType = 'hoge' | 'huga'
const testtype = boostestTestType<TestType>()

result.
export function boostestTestType<T>(args?: Partial<T>): T {
	return ({
		...args
	} as T);
}

done it! https://github.com/MasatoDev/boostest/pull/12


"CUDA error: invalid device ordinal" when non 0 gpus are specified.

python examples/pytorch/example_vae.py -i ../data/contact_maps.h5 -o ../output/ -m 3 -t symmetric -e 2 -b 128 -E 1 -D 2
CUDA devices:  1,2
Traceback (most recent call last):
  File "examples/pytorch/example_vae.py", line 141, in <module>
    main()
  File "/lambda_stor/homes/abrace/molecules/conda-env/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/lambda_stor/homes/abrace/molecules/conda-env/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/lambda_stor/homes/abrace/molecules/conda-env/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/lambda_stor/homes/abrace/molecules/conda-env/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "examples/pytorch/example_vae.py", line 81, in main
    gpu=(encoder_gpu, decoder_gpu))
  File "/lambda_stor/homes/abrace/molecules/molecules/ml/unsupervised/vae/vae.py", line 167, in __init__
    self.model = VAEModel(input_shape, hparams, self.device)
  File "/lambda_stor/homes/abrace/molecules/molecules/ml/unsupervised/vae/vae.py", line 32, in __init__
    self.decoder.to(device.decoder)
  File "/lambda_stor/homes/abrace/molecules/conda-env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 443, in to
    return self._apply(convert)
  File "/lambda_stor/homes/abrace/molecules/conda-env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 203, in _apply
    module._apply(fn)
  File "/lambda_stor/homes/abrace/molecules/conda-env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 203, in _apply
    module._apply(fn)
  File "/lambda_stor/homes/abrace/molecules/conda-env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 225, in _apply
    param_applied = fn(param)
  File "/lambda_stor/homes/abrace/molecules/conda-env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 441, in convert
    return t.to(device, dtype if t.is_floating_point() else None, non_blocking)
RuntimeError: CUDA error: invalid device ordinal

Branch: feature/multi-gpu-vae
This happens when we set the encoder gpu to 1 and the decoder gpu to 2 (-E 1, -D 2). Any idea what is going on here? @atrifan2
Settings that work: -E 0 -D 1, -E 1 -D 0
Settings that don't: -E 0 -D 2, -E 1 -D 1
Perhaps this could help.

This is interesting, I've never seen this before. I'll try to reproduce this today to see.
Anda

From: Alex Brace<EMAIL_ADDRESS>Sent: Tuesday, July 21, 2020 11:00:03 PM
To: braceal/molecules<EMAIL_ADDRESS>Cc: Trifan, Anda<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [braceal/molecules] "CUDA error: invalid device ordinal" when non 0 gpus are specified. (#26)
python examples/pytorch/example_vae.py -i ../data/contact_maps.h5 -o ../output/ -m 3 -t symmetric -e 2 -b 128 -E 1 -D 2
CUDA devices:  1,2
Traceback (most recent call last):
File "examples/pytorch/example_vae.py", line 141, in
main()
File "/lambda_stor/homes/abrace/molecules/conda-env/lib/python3.7/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/lambda_stor/homes/abrace/molecules/conda-env/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/lambda_stor/homes/abrace/molecules/conda-env/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/lambda_stor/homes/abrace/molecules/conda-env/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "examples/pytorch/example_vae.py", line 81, in main
gpu=(encoder_gpu, decoder_gpu))
File "/lambda_stor/homes/abrace/molecules/molecules/ml/unsupervised/vae/vae.py", line 167, in init
self.model = VAEModel(input_shape, hparams, self.device)
File "/lambda_stor/homes/abrace/molecules/molecules/ml/unsupervised/vae/vae.py", line 32, in init
self.decoder.to(device.decoder)
File "/lambda_stor/homes/abrace/molecules/conda-env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 443, in to
return self._apply(convert)
File "/lambda_stor/homes/abrace/molecules/conda-env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 203, in _apply
module._apply(fn)
File "/lambda_stor/homes/abrace/molecules/conda-env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 203, in _apply
module._apply(fn)
File "/lambda_stor/homes/abrace/molecules/conda-env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 225, in _apply
param_applied = fn(param)
File "/lambda_stor/homes/abrace/molecules/conda-env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 441, in convert
return t.to(device, dtype if t.is_floating_point() else None, non_blocking)
RuntimeError: CUDA error: invalid device ordinal
This happens when we set the encoder gpu to 1 and the decoder gpu to 2. Any idea what is going on here? @atrifan2https://github.com/atrifan2
Perhaps thishttps://github.com/allenai/allennlp/issues/1090 could help.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/braceal/molecules/issues/26, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTMUE3GFO4LVVMDNR5GTRTR4ZP4HANCNFSM4PEJHD6Q.

I am not sure how pytorch handles GPUs.
But try export CUDA_VISIBLE_DEVICES=1,2 and just run -E 0 -D 1.

Don't set gpu env inside script. Specify outside in the shell. When CUDA_VISIBLE_DEVICES=2,3 in that process the global device ids 2,3 become 0,1.


I there any way to get battery info of a bluetooth device without connecting to it ?

lets assume we have a BLE device i want to get the battery label of the Bluetooth device before connecting to it.
is there any way to get the battery label of device before connecting to it.

Unless the battery level is in the advertisement data, it is not possible to get it without connecting first

thanks i got it.


[Draft] Move non-Snowpack deps to templates

Changes
If you run npx create-snowpack-app app-template-svelte-typescript --template @snowpack/app-template-svelte-typescript, and run npm test you’ll get this error:
  ● Test suite failed to run

    Cannot find module '@babel/preset-typescript' from '/Users/drew/Sites/pikapkg/app-template-svelte-typescript'

The fix is simple—to just install that module—but there are other times where we aren’t shipping dependencies properly.
And also we may be causing version mismatches if users need these packages directly (which they likely do).
This PR just opens a discussion: should we limit app-scripts-* to be config-only? And let users manage their own dependencies? We can still simplify their config, and patch updates as needed, but provide more flexibility for users.

Testing

The idea behind this is that we manage your deps for you so that you just need to update the app-scripts package. This lets us update things for you (like old plugins to new plugins, for example) for a plug-and-play dev environment, similar to create-react-app.
So this PR does feel like a bit of a step away from that (no longer plug-and-play, you need to maintain those deps yourself, and then we implicitly depend on them).
But, one idea that this might be getting at is: why have app-scripts at all? If Snowpack is simpler than Webpack, then maybe the need for an app-scripts base package is unnecessary or even counter productive. If configuring snowpack is easy, lets just give users their own Snowpack config to work with.
If we think there's an upcoming v3 release, then I'd say lets not do this before then. The last thing we want to do is say "manage your own config now!" and then release a breaking change soon after.

Cool. Thanks for the gut check. I do like having something we can update automatically for the user; it’s just finding that balance.
I mainly opened this PR for clarity; don’t disagree. I’ll just add that one missing dep to app-scripts-svelte and we’ll leave everything else as-is for now. Thanks!


How could I add the count on the annotation?

I want to overlay the count of the cluster on the annotation itself, how is that possible?

Check out the annotations property on KPAnnotation. You should be able to use the count of that set  to accomplish what you want.
https://github.com/itsbonczek/kingpin/blob/master/src/KPAnnotation.h#L28

For anyone looking to display the count on annotations, my approach is to set a custom image on the annotationview with a label on top of it. As usually done on the viewForAnnotation method, it looks like below (Swift):
// annotationView is plain MKAnnotationView
annotationView!.image = UIImage(named: "cluster")

let label = UILabel(frame: ...)
// annotation is the MKAnnotation cast to KPAnnotation
label.text = annotation.annotations

annotationView!.addSubview(label)

Thanks, @fadion!


Question: warning when integrating Governator

Hi,
I have integrated Governator with Guice Bundle but i'm having this warning / dropwizard (0.8.1):

WARN  [2015-05-23 17:47:36,242] com.netflix.governator.lifecycle.ClasspathScanner: No base packages specified - no classpath scanning will be done

Here is how i create the guiceBundle in my module:

    private final GuiceBundle<CarsConfiguration> guiceGovernatorBundle = GuiceBundle.<CarsConfiguration>newBuilder()
            .addModule(this)
            .enableAutoConfig("ma.cars")
            .setConfigClass(CarsConfiguration.class)
            .setInjectorFactory((stage, modules) -> LifecycleInjector.builder()
                    .inStage(stage)
                    .withModules(modules)
                    .build()
                    .createInjector())
            .build();

Is this the correct way to integrate Governator with Guice? How could i get rid of the warning?
Thanks in advance,

That warning appears when you are not using Governator's AutoBinding feature. Don't think it's anything to worry about.

Oka thank you

Yeah I don't think this is a dropwizard-guice issue


[Relay] Make check stricter by using Feature.

Thanks for contributing to TVM!   Please refer to guideline https://tvm.apache.org/docs/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.
@jroesch @junrushao1994 @zhiics please help review.
Also, do anyone know why test_pass_merge_composite suddenly failed? I hadnt touched any of the files, and it shouldnt call CPS/PE/AD.

Please ping me when this PR is ready for review :-)

@junrushao1994 it is. I am trying to fix the ci though.

@wweic @vinx13 can you guys review?


When Cognito App Client with secret is used then it is having issue with Broker Login

Error message in Login screen.
Client AppClientId(ex: 4k4kk68josebslhdsfsdfsfsd) is configured for secret but secret was not received.
Reproduce: Create App Client which also has secret and use it in config-override.js of aws-amplify-identity-broker-client application for testing login. It shows above error message in broker login screen.

Hi @Vijay882 👋
Thanks for opening the issue.
Could you check your Cognito Client is configured without client secret?
You can delete the Cognito client and recreate it. Ensure Generate client secret is unchecked.
We have it on the doc, but it is in long text and not emphasized.
I'll mark it as documentation improvement.
https://github.com/awslabs/aws-amplify-identity-broker/blob/master/Documentation/UserDocumentation.md#register-a-client

Hi @Vijay882 👋 Thanks for opening the issue.
Could you check your Cognito Client is configured without client secret?
You can delete the Cognito client and recreate it. Ensure Generate client secret is unchecked.
We have it on the doc, but it is in long text and not emphasized. I'll mark it as documentation improvement.
https://github.com/awslabs/aws-amplify-identity-broker/blob/master/Documentation/UserDocumentation.md#register-a-client

I saw it in the documentation but we initially had an requirement to have an App Client with Secret. Any way it's not an issue for us now.


Wayback Imagery

Description
This feature will add ESRI's Wayback imagery catalog to Rapid's basemap imagery panel (B).

Caption: screenshot of ESRI Wayback Imagery App
Background
ESRI Wayback imagery consists of multiple metadata and WMTS imagery endpoints, taken at different dates since 2014. Unlike other imagery endpoints such as Bing, Mapbox, or ESRI World Clarity, the wayback endpoints are NOT continually refreshed with newer imagery. This allows us to 'step back in time' to see what a place looked like at a given wayback date.
This article provides a helpful summary:
Wayback imagery Article: https://www.esri.com/about/newsroom/arcwatch/turn-back-the-clock-with-the-world-imagery-wayback-archive/
Example App: https://livingatlas.arcgis.com/wayback/#active=12457&mapCenter=-115.299%2C36.064%2C14
Example App Code: https://github.com/vannizhang/wayback
ArcGIS Online Group referenced by the app/code: https://esri.maps.arcgis.com/home/group.html?id=0f3189e1d1414edfad860b697b7d8311&start=1&view=list#content
Feature Requirements
The feature should:

[ ] Display Wayback imagery as a single option in the background imagery panel (b).
[ ] Load the available wayback imagery endpoints at runtime, not from a static configuration file.
[ ] honor the existing keyboard commands for next/prev imagery:

If the 'next' or 'previous' is hit we should go forwards/backwards in time one increment.
IF there is no more wayback imagery we should go forwards/backwards to the next/prev imagery item in the list.

[ ] display the vintage of the imagery in the Background Info panel (shift+cmd+B).

The feature should NOT display each wayback imagery as its own item in the background imagery list- this would lead to a very very long list.

@RitaDee for our initial investigation, let's understand a few things about the API. See if you can do the following:
#Basic API Understanding - single image layer

[ ] Look through the ArcGIS Online catalog for wayback and find one layer's worth of imagery at a specific date.
[ ] Plug that imagery URL into Rapid's "custom data" background imagery option:

[ ] See the imagery loaded into Rapid.
[ ] See if you can modify imagery.json to include that same layer by copying and modifying the ESRI World Clarity entry. You'll need to keep the 'default' flag set to 'true' or it may not display.
[ ] Open the Background Imagery Panel with cmd-shift-B. Does this display the correct information?
[ ] Can you use a utility like curl or postman to construct an API call to obtain the correct imagery vintage for this same layer? (Remember that the metadata is obtained through a completely separate API in the ArcGIS online group)

Getting the list of imagery / metadata endpoints programmatically
As part of this feature, we will need to load the metadata and imagery layer listings at start time- we don't want to hard-code them into a configuration file or in the code- as ESRI releases new imagery in wayback, we should be able to pick them up without modifying/rebuilding the feature.
This can be accomplished through the ArcGIS Online API for Groups:
https://developers.arcgis.com/rest/users-groups-and-items/search.htm
Which explains the details about how to fetch a given group's entities. Here's a query that will get you started:
https://esri.maps.arcgis.com/sharing/rest/content/groups/0f3189e1d1414edfad860b697b7d8311/search?f=json&num=100&sortField=title&sortOrder=asc&start=1
This API should return a large JSON blob of the first 100 entries. You can refine the search further by consulting the API docs- see if you can construct a query that further filters the items to just metadata or just imagery items.
Hint:
First, copy and paste the JSON response from the API call above into VSCode and use its built-in JSON formatter to format the code to something human-readable. Look at the entry types, keywords, etc. See if you can find an entry you are interested in getting, like an imagery layer.
Then, see if you can modify the search query with an additional filter param.

@RitaDee let me know when you are finished with the above, and we can discuss next steps. :)

Thats an interesting dataset which I never looked at in details. Looking at I now here are a few thoughts…
License: (I find it helpful to document those legal train of thought, that why I wrote it down.)
I could not find an explicit "OK" from Esri in in the Wiki. But someone mentioned that since they documented the usage in OSM channels we can assume a "go ahead".  I also think we can assume since the product is called "World Imagery Wayback" and the Wiki grants permission for all "World Imagery" the Wayback is included.
And now I find something very explicit: The World Imagery Wayback App links to detailed pages on each release (example) which has a section on "Data Collection and Editing" which links to a UseCases Doc which then links to a PDF which mentions OSM a few time including "Users acknowledge that any vector data contributed to OSM is then governed by and released under the OpenStreetMap License (e.g. ODbL). "
Not easy to find from an OSM point of view but very clear in the end.
UseCase: I wonder what the UseCase for the older images actually is. From an OSM mapping point of view, why would I go back more than ~5 years when I have more recent images? I recently argued to keep older areal images of Berlin in ELI because shadows and light is different. But once one goes back more than a few years, the risk of adding wrong data increases. So I wonder if the UI should guard for that by limiting the number of years that on can go back … or showing the vintage more prominently … or giving some kind of guidance when using the layer.
UI: While using the Viewer I noticed that the "change map on hover" is great to discover the right vintage. Which makes me think that visual discovery is very important for this. Which I guess is a +1 to add good keyboard shortcut support like described above so it becomes very easy to change the layer fast.
OHM: Looks like OpenHistoricalMap is also interested in the feature.

@tordans thanks for the investigation- and to answer a couple of your points, we're not sure exactly which vintages of imagery to serve- I don't think we'll need to show the user an exhaustive list of all the different dates available.
A couple of use cases are:

Tree coverage. Perhaps the latest imagery has a lot of tree cover and a previous vintage taken in fall/winter does not, allowing you to see the sidewalks in a city better.
Building demolitions/new construction. If your regular imagery is out of date there might be a building where you think a park or empty lot should be. If a building was knocked down, seeing some older imagery showing it still standing gives mappers the signal they need to delete the building, rather than wonder if their imagery is out of date.
Changes over time: If I see most of the buildings in an area mapped, but 2-3 aren't mapped, wayback imagery might give me an idea of why- perhaps those three of those buildings were all built in the past year?

I agree that going back to 2014 is perhaps not something most folks will need. Thinking about this a bit more, maybe we default to showing the most recent 'N' vintages, with the option for folks to click a checkbox that shows them every layer possible, just in case they do need to see all the dates.
And finally, we'll build in some metadata calls to ensure that the map shows very clearly what date the user is on.

@RitaDee here's a PR that implements this feature in iD: https://github.com/OpenHistoricalMap/iD/pull/181/files

@RitaDee here's a PR that implements this feature in iD: OpenHistoricalMap/iD#181

Thank you for this, @Bonkles. I will study the implementation.

here's a PR that implements this feature in iD: OpenHistoricalMap/iD#181

Hi, I’m the troublemaker who posted OpenHistoricalMap/iD#181 the other day. You’re more than welcome to crib from it, if the differences between Rapid and iD don’t make that too difficult.

I agree that going back to 2014 is perhaps not something most folks will need. Thinking about this a bit more, maybe we default to showing the most recent 'N' vintages, with the option for folks to click a checkbox that shows them every layer possible, just in case they do need to see all the dates.

There’s an old discussion about imagery layer retention in osmlab/editor-layer-index#1446. Part of what drove that discussion is that there’s a new TIGER Roads overlay every year, and some people were skeptical that TIGER from more than a couple years ago would be of any value. (I do find it valuable sometimes to compare a roadway with something closer to the original TIGER import.) For OHM, maximizing access to historical imagery is more of a priority, so I didn’t consider filtering old layers at all.
It would be really cool to replicate the “Only versions with local changes” option in the Wayback application (note: Apache-licensed code). This option is useful because Esri releases World Imagery multiple times a year but obviously their partners haven’t captured new imagery for the entire globe each time. Typically there’s a lag, which the metadata endpoints will indicate. I didn’t get as far as the “local changes” filter, but I assume it has something to do with the same endpoint that iD uses to get the layer’s vintage.

But someone mentioned that since they documented the usage in OSM channels we can assume a "go ahead".

For what it’s worth, @dkensok is a member of the team at Esri that produces the Wayback product. He’s been telling anyone who will listen that this imagery is out there and urging mappers to make use of it. But yes, the use cases document is important for getting the permission in writing.

Tanner! Use https://github.com/vannizhang/wayback-core for replacing some of the existing PR functionality.
Also known bug- repeated UI elements.


[pt-br] Add docs/reference/using-api/health-checks.md

fixes the issue that looks like it was abandoned: Translate health-checks.md to pt-br #36015

Hello there, @DaviMatheus! :wave:
Thank you very much for your work on this PR. However, it has been open and reviewed for a while with no action taken. For this reason, I will be closing this PR. If you wish to continue your work on this, please feel free to reopen it.
Should you have any questions, please don't hesitate to reach out to the #kubernetes-docs-pt channel in Kubernetes Slack.

Olá, @DaviMatheus! :wave:
Obrigada pelo teu trabalho neste PR. Devido a inatividade após a revisão, irei fechá-lo. No entanto, caso desejes continuar teu trabalho, podes reabrir o PR a qualquer momento.
Se tiveres dúvidas, não hesita em contatar-nos através do canal #kubernetes-docs-pt no Slack do Kubernetes.
/close


Error in importing config.py

I cloned your repository and then ran pip install -r requirements.txt. Downloaded the minImageNet and put in the directory ./data/miniImageNet/images. Changed the DATA_PATH in config.py to "./data/".
But when I run the command python3 scripts/prepare_mini_imagenet.py while staying in the root directory I get the error :-
Traceback (most recent call last):
  File "scripts/prepare_mini_imagenet.py", line 16, in <module>
    from config import DATA_PATH
ModuleNotFoundError: No module named 'config'

@oscarknagg could you tell where the error is.

You can add the following code to where the error occurred:
import sys
sys.path.append("..")
sys.path.extend([os.path.join(root, name) for root, dirs, _ in os.walk("../") for name in dirs])


Deeper customization of volume controls

Can have pre-defined target volume sessions (like riotclientservices for valorant), but could expose something for users to define even a list of targets to mute.

This is an example of something we should talk about per #6 .  What does the user interface look like for this.
We have the list of audio sources that can be seen when loading the application, which they could choose from (how does choosing them, possibly multiple, look?)  Also the possibility that the desired audio source target isnt available at the time the application is launched (Like riotclientservices isnt up till valo launched).  How do we rectify that (from a UI standpoint.  The muting feature works fine regardless)


Command Event: Align more closely with EIP terminology

Changed the content of the pattern to follow the EIP classification of message types more closely while adhering as much as possible to the style guide (Prefer the term Event over Message or Record)
Renamed command-event.md to command.md : following the same naming convention as event.md
Description
https://github.com/confluentinc/event-streaming-patterns/issues/257

The tricky part with this proposal is a Command is its broad understanding in the developer community as something that has a return value.  In fact the terminology in this area is rather unfortunate.
A Command Event is supposed to imply the use of an event to trigger function rather than the use of an event for event carried state transfer. Command is not a good name on its own as for many users it implies the content of some return value rather than the implied success that comes with reliable async messaging.
Command Message is another option, but that seems a poor choice as it's actually an event.
I do think this pattern could be clearer and in this regard though as I totally get the confusion here, but the common connotation of command, stemming back to Bertrand Meyer’s CQS (Command Query Separation) principle, causes confusion.
We should at least address this.

Hi @benstopford ,
Thanks for the feebdack.
I totally agree that naming in this case is rather diffuclt.

Command is broadly understood in the developer community as something that has a return value

Well, at least for me , a command is a declaration of intent, a request to have some piece of data changed.
and  does not necessarely have a return value .
They can definitvely be rejected by the system when some business rule / invariant is violated .
As well as for technical reason.
While an event is a statement of a fact , and can never be rejected by the handlers ( except for technical reasons)

I do think this pattern could be clearer and in this regard though

I believe I understand what you mean  the last section of the pattern does address that
(https://github.com/confluentinc/event-streaming-patterns/pull/258/files#diff-febc837b377544514011415a69f8cd3ab5df1efec6c2647af222e0b2b209141cL112)

Suggestion :
Maybe describe the pattern as it's intended in the EIP more shortly .
And then have a bigger one that is really based on events as intended and in use in today's EDA based sytems.

The tricky part with this proposal is a Command is broadly understood in the developer community as something that has a return value. In fact the terminology in this area is rather unfortunate.

Command is not a good name on its own as for many users it implies the content of some return value

Which developer community understands a Command as something that has a return value?
Everyone I know (about) in the CQRS/ES community sees a Command as something that does not have a return value (in contrast to a Query). Sure, there may be an operational status or an ACK, but I wouldn't consider this a return value. Also, many people understand it similarly in the context a distributed system (or "Microservices").
Commands are instructions do something that targeted at one specific receiver and they can be accepted or rejected.

Command Message is another option, but that seems a poor choice as it's actually an event.

I agree that you could view a particular message as an event. You could say that a "Command Event" is a fact that describes that a command was issued. But then again, every message can be seen as fact/event, so we would end up with using "event" as general-purpose term.
The main issue is that there is already a widespread & established language/terminology, where "message" is the general term. And there are three different types of messages: Commands, Queries and Events.
These message types do not imply whether they are distributed and processed "synchronously" or asynchronously (via a broker). However, events are typically assumed to be distributed asynchronously, while commands & queries are not.
And there is even a term many people use for what you describe as "Command Event": an asynchronous Command. Here, "asynchronous" implies the absence of a possibility to send a direct response. Hence, an event can be used as response (with a correlation identifier / return address).

I do think this pattern could be clearer and in this regard though as I totally get the confusion here, but the common connotation of command, stemming back to Bertrand Meyer’s CQS (Command Query Separation) principle, causes confusion.

Unless I completely misunderstood CQS, I don't understand what you mean with that. Even Wikipedia is pretty clear on that. Only queries have a return value. Commands must not.
With all that said, it's up to you what terms you use and you may be entitled to your opinions. However, to the best of knowledge, there is a quite large community that uses an established terminology that conflicts with it. And even more, there is already a name for the pattern you are describing (either simply command or async command).
I think due the reach Confluent's documentation/posts have, it would be beneficial for the community to spread the knowledge of well-established terminology instead of causing confusion.

And then have a bigger one that is really based on events as intended and in use in today's EDA based sytems.

I've heard people using Message-Driven Architecture (or Messaging Architecture) as a replacement for EDA to account for other messages such as Commands and Queries.

[Events](../event/event.md) often fall into one of two categories: messages and commands.

This statement sounds weird to me, as both events and commands are, essentially, messages. Saying that event can be a message or a command is essentially saying that command is not a message, but it's an event. It makes my brain explode.
I believe, we agreed that events convey facts that happened, but commands convey intent and can be rejected. That's how events and commands are semantically different, but both are messages.


[Server thread/ERROR]: [ShopChest] No Chest found at specified Location: 17180; 66; 1000144

Shop buged and i kinda deleted,but it stuck and plugin thinks it's there,i tried to check remove-shop-on-error: true but nothing.
Full server log file at pastebin: http://pastebin.com/iZsjVRKJ
[20:22:10] [Server thread/INFO]: [ShopChest] Using SQLite
[20:22:11] [Server thread/ERROR]: [ShopChest] No Chest found at specified Location: 17168; 66; 1000144
[20:22:11] [Server thread/ERROR]: [ShopChest] No Chest found at specified Location: 17172; 66; 1000142
[20:22:11] [Server thread/ERROR]: [ShopChest] No Chest found at specified Location: 17174; 66; 1000142
[20:22:12] [Server thread/ERROR]: [ShopChest] No Chest found at specified Location: 17176; 66; 1000142
[20:22:12] [Server thread/ERROR]: [ShopChest] No Chest found at specified Location: 17180; 66; 1000144
Maybe there is way to delete that shop from SQLite db file?

If you have this setting enabled, it should print that message once and then remove the shop. You can, if that doesn't work, remove the shops from the database file with an SQLite browser.

Thanks for fast respond!
yeah i just though about that,that it prints once and then remove :D
and yeah just downloaded http://sqlitebrowser.org/ for future stuff,my mistake was that i didn't setup MySQL and already created shops. :/ i think i need some converter to convert db file to MySQL import file.
I like your plugin keep up date if you have time! cheers!


Extracts (and uses) TPM clock information from the quote

With this chnage, the verifier will now use the tpm2_print command
to extract clock information from the quote. It will then uses this
information to make decisions about the attestation of the agent (i.e.,
the quote timestamp has to monotonically grow in a TPM which wasn't
restarted/reset). In order to make this comparison the clock information
from the previous quote is stored on the database and then both
timestamps are compared.
While this is not strictly needed for the current implementation of the
"online attestation", it will add yet another attestation check to it,
and is crucial to  "Durable Attestation", also known as "Offline
Attestation" (enhancement #73).
Signed-off-by: Marcio Silva<EMAIL_ADDRESS>

Codecov Report

Merging #1061 (438c24f) into master (5ed5d6d) will increase coverage by 0.03%.
The diff coverage is 79.12%.

Flag
Coverage Δ

packit-e2e
69.46% <79.12%> (+0.05%)
:arrow_up:

testsuite
50.11% <79.12%> (+0.44%)
:arrow_up:

unittests
13.44% <2.19%> (-0.11%)
:arrow_down:

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

Impacted Files
Coverage Δ

keylime/tpm/tpm_abstract.py
82.05% <ø> (ø)

keylime/tpm/tpm_main.py
74.52% <75.00%> (+0.03%)
:arrow_up:

...rations/versions/c2a1a1a44b22_add_tpm_clockinfo.py
84.21% <84.21%> (ø)

keylime/agentstates.py
88.49% <100.00%> (+0.53%)
:arrow_up:

keylime/cloud_verifier_common.py
80.41% <100.00%> (+0.13%)
:arrow_up:

keylime/cloud_verifier_tornado.py
67.63% <100.00%> (-0.85%)
:arrow_down:

keylime/db/verifier_db.py
100.00% <100.00%> (ø)

keylime/registrar_common.py
59.50% <0.00%> (+0.92%)
:arrow_up:

@maugustosilva for the clock validation state maybe use a dataclass class with from and to json methods implemented.
This gives more type safety and I like to eliminate the usage of dicts for holding complex objects where possible.

@THS-on modified as requested

/packit retest

/packit test

@maugustosilva I think you forgot to push your renaming to_json to to_dict.

/packit test

/packit retest-failed

/packit retest-failed

@maugustosilva the linter now fails. Can you correct that?

I have questions about how to manage resetCount and restartCount, but if I read the code correctly, this logic is more strict that the alternatives, so LGTM.

BTW, the resetcount and restart count are obfuscated when the key is in the storage hierarchy, do don't depend on it being meaningful.

BTW, the resetcount and restart count are obfuscated when the key is in the storage hierarchy, do don't depend on it being meaningful.

Yes that we will keep in mind. The current agent should have the AK under the endorsement hierarchy.
In the future we will implement finer control on what is checked depending on the key and general setup.


Don't scare people off with elitist talk about Windows

The README implies Windows is a bad OS.
It is a bad OS. That doesn't change no matter how much you sugar coat it, but I'll play along out of amusement.

O-oh right microsoft owns github now. Sorry windows overlords pls n0 erase my repoz


:children_crossing: improve hermes logo alignment on mobile devices

#3066
This PR fixes text readability issues in the Hermes setup guide on devices with smaller screen size.

Hi @Simek , thank you so much for your suggestions! I have signed the CLA as well as committed the requested changes into the branch. The fixes seem to work fine on the Next version of the Hermes setup guide in the deploy preview, but they do not reflect in the current version, I'm unsure about how I can resolve this, I would be grateful if you could please point me in the right direction?

The fixes seem to work fine on the Next version of the Hermes setup guide in the deploy preview, but they do not reflect in the current version, I'm unsure about how I can resolve this, I would be grateful if you could please point me in the right direction?

I can confirm that the fix works correctly, we just need to correct spacing.
To edit docs for older versions, you need to perform same change on files in:

https://github.com/facebook/react-native-website/tree/main/website/versioned_docs


[Feature Request]: No cutomization for embedding model in RAG Evaluator pack

Feature Description
The RAG Evaluator Pack is extremely helpful, but it does not provide an option to use an embedding model of our choice, instead it is forcefully using OpenAIEmbeddings. A wide variety of embedding models come from non-OpenAI sources, so allowing more models to be used can lead to better testing and evaluation.
Reason
No response
Value of Feature
No response

Hey!
The llamapacks are designed in an order that you can download the pack and make your changes and run it!
If you look at this line: https://github.com/run-llama/llama_index/blob/main/llama-index-packs/llama-index-packs-rag-evaluator/llama_index/packs/rag_evaluator/base.py#L107
This is where openai embedding model is called. You can replace this with your embed model and run it.


kubernetes project updates 1.26 to 1.29

Description of changes:
kubernetes project updates 1.26 to 1.29
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm
/approve


Support for auto closing resource

Given is a classic try example with autoclosing resource:
private ObjectMapper om = new ObjectMapper();

try (InputStream resource = DataLoader.class.getResourceAsStream("resource.json")) {
   String inputObject = IOUtils.toString(resource, StandardCharsets.UTF_8);
   return om.readValue(objString, CustomObject.class);
} catch (IOException e) {
   throw new RuntimeException(e);
}

It would be nice if Try can also autoclose resources:
private ObjectMapper om = new ObjectMapper();

return Try
    .of(() -> DataLoader.class.getResourceAsStream("resource.json"))
    .map(res => {
           String inputObject = IOUtils.toString(resource, StandardCharsets.UTF_8);
           return om.readValue(objString, CustomObject.class);
    });

The resource should be closed at the end of the map method.
Maybe it schould have a new Method like Try.ofResource?

Additional question:
Do I have to use an other Try for the om.readValue call because it can thrown an error? Is it possible to flatMap a Try or schould the call be safe because it's already in a mapping of a try?

Thank you for the issue and feedback. As of v0.4.0 you can use Try with up to 5 resources. See an example here.
Regarding your 2nd question. Yes you should wrap om.readValue in a Try if it throws otherwise this case is unhandled. You can use flatmap instead of map to get rid of the Try<Try<?>> construct.


[Request] Configurable pipe speed

Basically this suggestion is to add a way to configure the base speed of pipes and change the modifier of upgrades/pressurizer.
Would allows to make some upgrades maybe less powerful, some a bit more.
Could also be added for other upgrades like export/crafting to configure other of their properties.

I'm not really interested in adding a feature like this right now. Sorry!


[BUG] dicebox not loading / case sensitivity on linux

Hi,
I was searching for the dicebox in chat window for quite a while but couldn't find it. Then I found an error in console:
Uncaught (in promise) Error: ENOENT: no such file or directory, open '/home/myusername/.local/share/FoundryVTT/Data/systems/VTM5E/templates/ui/tray.html'
The problem is: Paths are case sensitive on linux. The folder VTM5E does not exist, but vtm5e does. Please convert all instances of folder and filenames to be consistent regarding upper/lowercase.


Added logLoggerAppName parameter in SystemdJournalAppender

We have added the possibility to specify, in the log4j file, the name of the Application logging using this appender in order to have that name reported in the journal key for the logger. In this way, if specified by the user, instead of having the key LOG4J_LOGGER the journal will be filled with APPNAME_LOGGER where APPNAME is specified in the log4j file by the logLoggerAppName attribute.

You PR contains import order and formatting changes that I wouldn’t like to merge.
Also: Why would you want to change the journal key instead of setting syslogIdentifier to the name of the application?

Hi, thank you for the reply.
For the import order and formatting changes, you are right. I can review the commit to remove those changes.
Regarding the journal key for the logger it was mainly a request to be able to change it and have something more "tied" to the application instead of having LOG4J_LOGGER reported. Yes, we are using also the syslogIdentifier.


this.$ is undefined on attached() with native ShadowDom

From @valdrinkoshi on August 26, 2016 22:35
x-1 contains a x-2 in its shadowRoot.
When x-2's attached is invoked, this.$ is undefined (native ShadowDom)
<dom-module id="x-1">
  <template>
    <style>
      :host {
        display: block;
        padding: 10px;
        border: 1px solid;
      }
    </style>
    <x-2>
      <content></content>
      <slot></slot>
    </x-2>
  </template>
  <script>
    Polymer({
      is: 'x-1'
    });
  </script>
</dom-module>

<dom-module id="x-2">
  <template>
    <div id="wrapper">
      <content id="content"></content>
      <slot id="slot"></slot>
    </div>
  </template>
  <script>
    Polymer({
      is: 'x-2',
      attached: function() {
        console.log(this.$);
      }
    });
  </script>
</dom-module>

<x-1>
  <div> hello </div>
</x-1>

Copied from original issue: PolymerLabs/alacarte#96

From @valdrinkoshi on August 26, 2016 22:43
@sorvell is this related to https://github.com/PolymerLabs/alacarte/issues/71?

From @sorvell on August 26, 2016 23:29
yes

Will be addressed via https://github.com/Polymer/polymer/issues/3933.

Resolved via https://github.com/Polymer/polymer/pull/3947


fix: Replace non-existant Coinbene exchange with Coingecko

as suppored and default exchange rate provider and historical data source

@aleparty please test this packages ;)

@rrozek555 let's merge it

:tada: This PR is included in version 5.0.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


PP-7242 Remove stray bracket from CardExpiryDate regex

A stray bracket in the card expiry date regex meant it would accept strings like "10/(2".

I’m pretty sure it’s good now (courtesy of Regex101):


[Field Resquest] County Code - Table Post Code

Hi,
I can't find field County Code in the Table Post Code however I can see the County Code when I run the table Client table.
Using AL : al-2.0.43900
Docker image: mcr.microsoft.com/businesscentral/onprem:es
This field have been deleted from Post Code?
Thanks,

No, it is not deleted

I can verify, that the "County" field still exists in the lastest release in table 225 - Post Code:
{ 5   ;   ;County              ;Text30         }
Closing issue.


The user account profile page has no direct path to link to the 2FA settings page

Describe the bug
As a user my account profile should have an option for me to edit my 2FA settings without knowing the absolute url.
As a non-SSO user, I could enable 2FA during sign up but there is no option for me to disable and enable 2fa without using the absolute path. There is no link from my account profile to those settings.
Expected behavior
Enhance usability for non-SSO users to enable or disable 2FA, and other access other security settings on hypha.
Priority

Medium (slowing you down)

Affected roles

Staff

User with 2FA enabled logs in with username and password:

User with 2FA inputs their token and is able to be authenticated:

User wants to change their 2fa settings. They go to their account profile. There is no pathway (link, button, etc) to change the settings without using the absolute path to get to the page(https://apply.opentech.fund/account/two_factor/):

Is this not a duplicate of https://github.com/OpenTechFund/apply-app/issues/30?

It's not a duplicate of #30 @frjo  .  I logged in as a non-SSO user and not with SSO.  In this case, i enabled 2FA when I signed up but there is no option for me to disable and enable 2fa without using the absolute path. For example, there is no link from my account profile to those settings.  So if are user that didn't enable 2fa at sign-up, it would be difficult to find the page to enable it later.

This is how it looks for normal users.

We could carve out time this upcoming year for a usability review of security settings. Increasing the usability would help ensure all users, but particularly non-SSO users, have a direct path from their user account profile page to security settings.

We could carve out time this upcoming year for a usability review of security settings

This sounds like a good way to solve this. My main question is will this design and development work be specific to OTF Hypha or up-stream in Hypha-core? Whichever is chosen please open it as an issue (and put it on the backlog) in the appropriate repo.

Everyone needs good 2FA functionality so of course this will be done so all can benefit.

We could carve out time this upcoming year for a usability review of security settings

This sounds like a good way to solve this. My main question is will this design and development work be specific to OTF Hypha or up-stream in Hypha-core? Whichever is chosen please open it as an issue (and put it on the backlog) in the appropriate repo.

I got you @ei8fdb. I'm going to spend time to define (temporarily) where issues like this should go when OTF staff bring it up and update next week--hopefully before maintainers call....Thumbs up to a usability review of security settings based on different roles. Look forward to talking about that.

@ei8fdb let's keep this in the OTF instance until OTF finalizes our processes internally. We (OTF) haven't set a priority level for this issue and there is no timeline set for it either which I'd like to do apart from the possible usability review of security settings. @fourthletter and I will continue to discuss (temporary) pathways for opening issues with the goal of working towards a first iteration of a permanent process. Hopefullly, by end of February.

We could carve out time this upcoming year for a usability review of security settings

This sounds like a good way to solve this. My main question is will this design and development work be specific to OTF Hypha or up-stream in Hypha-core? Whichever is chosen please open it as an issue (and put it on the backlog) in the appropriate repo.

I also understand this as a pan-adopter concern and also recognising this is waiting on OTF deciding on choices on how dev work happens e.g. on a hard fork or not hard fork etc.
Flagging my own opinion as a custodian of hypha's shared repo that powers all instances in that i would not want critical settings work to be made without at least acknowledgement and approval of other adopters.
I think this is a governance complication though as yes, other adopters might not 'pay' or 'contribute' to this feature (though that could change) and would benefit from the improvements so i would ask:
What would OTF want my role as product manager across adopters and for the shared, main hypha that powers each instance want me to facilitate and to not facilitate?

@Erioldoesdesign Thanks for the question.  I'll definitely ruminate over this especially since I think there is some language interpretation that i'd like to clarify within OTF and with other maintainers ex. I want to dig into more how we define a development fork versus a hard form when a dev is asked to work on a bug and/or feature on the OTF instance.

We should rename this issue or close it and create a new issue for the UX improvements.

It is unclear to me if I can't access 2fa settings because my role in the webapp is staff even though I am not using the sso option to sign into the webapp. What I do know is that OTF staff should be using sso so that it substitutes having to enable 2fa on their webapp account. I'm hoping all other roles can also access 2fa easily based on what you shared in the screenshot.
@fourthletter what is your capcity to reproduce this issue on test to find which roles are having this issue. Then we can either close out this repo or rename it. The usability review of the security settings can be separate from at least identifying and fixing an issue that makes it difficult for an account holder no matter their role to enable, disable, and modify 2fa settings.

If this issue only affects staff that don't use sso, we can wait to address this through a usability review of security settings. If it affects other roles, than I have to explore another approach that includes a different timeline post the holidays.

Here is how a non-SSO user, e.g., applicants access their 2fa settings:

I agree it would be beneficial to have a usability review of security settings to improve the usability of the account section for all users. We could open a new epic issue sometime next year.

Suggest that until this is able to be put into any kind of scope of work we tag this as an 'improvement', perhaps with a label :)


Add @inlinable attribute to improve performance

I've been using swift-prelude when solving some coding challenges and noticed that when I start using operators in tight loops performance noticeably drops. Using Instruments I found out that a lot of time is spent in places like closure #1 in >>> infix<A, B, C>(_:_:)
Simple example.  This code takes around a second on my machine:
func incr(_ x: Int) -> Int { x + 1 }
func square(_ x: Int) -> Int { x * x }
let result = Array(1...100_000_000).map(incr).map(square)
print(result.last!)

(To get running time I used SwiftPM to create my package with this code and included swift-prelude with SwiftPM as well. I then built my package in Release configuration and ran it with time on the command line.)
Let's rewrite it with function composition:
let result = Array(1...100_000_000).map(incr >>> square)

Now it takes a bit more than 2 seconds on my machine.
What if we use global map function?
let result = Array(1...100_000_000) |> map(incr >>> square)

It now takes 25 seconds.
If I declare these two operators and global map function in my code the same way they are declared in the package instead of importing Prelude, running time will drop to around 0.75s.
Since Swift 4.2 there's an @inlinable attribute (proposal):

The @inlinable attribute exports the body of a function as part of a module's interface, making it available to the optimizer when referenced from other modules.

Considering fundamental nature of the functions in this package I think marking them with @inlinable should be pretty safe, but I'm not very far in your video series and not yet familiar with most of the things in this repo, so I'm not making a PR with the proposed change, sorry about that.

Found out about -cross-module-optimization flag from this post: https://forums.swift.org/t/no-resilience-just-go-fast-compiler-flag/34758
Looks like building with
swift build -c release -Xswiftc -cross-module-optimization

provides the same performance as when using @inlinable.
The flag seems to be available only from Swift 5.2 and looks like it's still a somewhat obscure bit of knowledge because I couldn't find much info about it. It's also not enabled by default, so it might still make sense to consider adding the @inlinable attribute.

Found out about -cross-module-optimization flag from this post: https://forums.swift.org/t/no-resilience-just-go-fast-compiler-flag/34758
Looks like building with:
swift build -c release -Xswiftc -cross-module-optimization

provides the same performance as when using @inlinable.
The flag seems to be available only from Swift 5.2 and looks like it's still a somewhat obscure bit of knowledge because I couldn't find much info about it. It's also not enabled by default, so it might still make sense to consider adding the @inlinable attribute.

@mortigenus Thanks for the discussion (and apologies for the radio silence, we don't actively maintain this repo right now). I think you bring up good points, and if we were actively maintaining Prelude it's something we'd certainly look into, as we've done similar inlining in other projects (like swift-parsing, [swift-identified-collections]https://github.com/pointfreeco/swift-identified-collections), and swift-gen). I'm going to convert this to a discussion for now, as it may be useful information for those maintaining their own forks of Prelude.


the initialstate of 'next' should be  0 rather than null in App.js,change the order of two 'if' conditions in calculate.js

Have a good day!
My name is FangChao,a Front-end Engineer from ShenZhen,China. I have been studying React for two weeks, so I'm almost a beginner.Now I  study React in my spare time. I search some React cases in github and find this calculator app.I find a bug in your code.You may test this bug through the following steps in the development environment.
If you type a operator in the beginning,so the state of  'total' is set to null,and this will lead to an operation error.If you type the operator two times in a row, yet there is no value of the state 'next', it will cause the same error.
I change tow files to solve the bug ,one is  App.js,another is calculate.js.I set the initialstate of 'next' 0 insted of  null in App.js,and I changed the order of two 'if' conditions in calculate.js.
My English is so bad, I hope you don't mind. This is my first time to communicate with a foreigner on the Internet, and I feel very good. If my English can be a little better, maybe I will express it more clearly. In the end, I really appreciate your case and give me a lot of help to learn React.Thank you very much!

Thanks for reporting this issue! I decided to take a slightly different approach for the fix though, and I did it as part of some larger refactoring that I was doing. Sorry that I can't merge what you've got here - really appreciate you reporting the issue!
FYI the fix is here https://github.com/ahfarmer/calculator/commit/a19f37af855b39f4c0053eb1fe035891253bfa4e


Unknown error while getting Access Token: 429

2024-10-01 23:57:17 | ERROR    | 214 - 3 | ❗ Unknown error while getting Access Token: 429, message='Too Many Requests', url=URL('https://api-gw-tg.memefi.club/graphql')
2024-10-01 23:57:17 | ERROR    | 214 - 1 | ❗ Unknown error while getting Access Token: 429, message='Too Many Requests', url=URL('https://api-gw-tg.memefi.club/graphql')
2024-10-01 23:57:20 | ERROR    | 214 - 2 | ❗ Unknown error while getting Access Token: 429, message='Too Many Requests', url=URL('https://api-gw-tg.memefi.club/graphql')
2024-10-01 23:57:33 | ERROR    | 214 - 3 | ❗ Unknown error while getting Access Token: 429, message='Too Many Requests', url=URL('https://api-gw-tg.memefi.club/graphql')

Did you find any solution? I'm in the same situation here.

Hello @ahmedlubaib
This issue has been preview on the Pull Requests. To resolve, Contact the official General support page to initiate a chat with our live agent using the chat button via support

Update the repository, maybe it will help. I haven't encountered such a problem


MM-35605 - Fix for Playbooks can be closed without changes getting saved

Summary

Using react router's prompt (it's amazing)
No need for manual confirmation dialog (but it's not as pretty)

Looks like:

Ticket Link

https://mattermost.atlassian.net/browse/MM-35605

Checklist

[ ] Telemetry updated
[ ] Gated by experimental feature flag
[ ] Unit tests updated

@lieut-data Works pretty well. The magic is in the useEffect. Clever state machine!


Merge 'master' into '17-avalonia'

Hello!
Merge 'master' into '17-avalonia'
Conflicts resolved with kdiff3 Version 0.9.98 (64 bit)
Here I did not understand what is better to choose and left as is:
https://github.com/ForNeVeR/wpf-math/blob/36707619581933b6c9fef213627fdb7beb24236b/src/WpfMath/TexFontInfo.cs#L143
https://github.com/ForNeVeR/wpf-math/blob/fd5c3b4433bfafe434ec282272adf00c4a3b6f7c/src/WpfMath/TexFontInfo.cs#L143

Sorry, but the rest I do not know how to update. For example, how to add this?
https://github.com/ForNeVeR/wpf-math/blob/36707619581933b6c9fef213627fdb7beb24236b/src/WpfMath/Rendering/IElementRenderer.cs#L42-L50

Now I thought that maybe it would be possible to transfer to the shared Parsers and do something with Colors

Here I did not understand what is better to choose and left as is:
https://github.com/ForNeVeR/wpf-math/blob/36707619581933b6c9fef213627fdb7beb24236b/src/WpfMath/TexFontInfo.cs#L143
https://github.com/ForNeVeR/wpf-math/blob/fd5c3b4433bfafe434ec282272adf00c4a3b6f7c/src/WpfMath/TexFontInfo.cs#L143

In general, you should prefer the code version from master when merging master to other branches.
Here, we have an actual error in master (this method never returns null in the modern code base), so I'll correct it separately :)

Sorry, but the rest I do not know how to update. For example, how to add this?
https://github.com/ForNeVeR/wpf-math/blob/36707619581933b6c9fef213627fdb7beb24236b/src/WpfMath/Rendering/IElementRenderer.cs#L42-L50

This stuff is used to properly process background colors in \colorbox: namely, this is the issue #128.
For now, you could leave this method empty in Avalonia renderer counterpart (but please add it to the IElementRenderer interface if it is duplicated for Avalonia). I'll add that issue to the work list.

Now I thought that maybe it would be possible to transfer to the shared Parsers and do something with Colors?

Yes, it should be possible to make all the parser stuff shared. And, yeah, color support is a bit problematic, because WPF and Avalonia have different color types. Any ideas?

I do not understand what is wrong. I have the solution building success

What? Ok

@ForNeVeR, I ended up upgrading to the current master

It seems like I did something wrong


[Feature Request] Reset workflow from GUI

Is your feature request related to a problem? Please describe.
I'm always frustrated when I can't reset an entire workflow through the GUI.
Describe the solution you'd like
A button right next to the Terminate button would be fine. Ask for a reason too with a modal popup, etc. Dropdown button group for different reset_types but not totally necessary.
Additional context
GUI interface for this:
tctl wf rs -w <workflow> --reason <my reason> --reset_type FirstWorkflowTask

i like it. tbd on whether or not we dedicate eng resources on this right now (we have prioritized other things at the moment), but if you'd like to take a crack at a PR i'd be happy to review.

i like it. tbd on whether or not we dedicate eng resources on this right now (we have prioritized other things at the moment), but if you'd like to take a crack at a PR i'd be happy to review.

still no timeline on this, sorry.

I'm in the same boat as you, if/when I find time would be more than happy to help. Just need to find it


Action Column

Hello, this is more of a question rather than an issue but I might as well ask here.
I have been trying out your nugget package and I like it a lot. The thing is that in our table we need to display links, buttons in an extra action column.
Let's say that in our table we would be displaying user that has following properties:
FirstName,
LastName,
Age
Then we need to add one more column that would read as following:
Actions
and would links/buttons that would point to user profile, editing user profile page etc.
Could you tell me what would be the cleanest approach to add an action column if I was using your library.

This page should explain:
https://github.com/mcintyre321/mvc.jquery.datatables/wiki/How-to-manipulate-format-prettify-the-output-column-data-after-the-filters-have-been-applied

Create an extra empty string property on your row view model type for actions, and put the html in the transform of  DataTablesResult.Create (similar to how the User row is decorated in the example)

Thanks, that seems like exactly what I was after!


Run tests on Go 1.16.x also

Pull Request Test Coverage Report for Build 603610490

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 88.138%

Totals

Change from base Build 603598005:
0.0%

Covered Lines:
691

Relevant Lines:
784

💛  - Coveralls


Move isort config from .editorconfig to setup.cfg

Description
Move the config settings for isort from .editorconfig to setup.cfg (or some other file, like isort.cfg or pyproject.toml). It would go from this in .editorconfig
[*.py]
line_length = 88
known_first_party = {{cookiecutter.project_slug}},config
...

to this in setup.cfg
[*.py]
line_length = 88
known_first_party = {{cookiecutter.project_slug}},config
...

Rationale
Atom's (and I suspect others') editorconfig package does not have a builtin integration with isort, so when I open the editorconfig file it reads the isort configuration as an error. Putting it under the [isort] block instead of under [*.py] also makes it clear what exactly is being configured by that block (it took me a while to figure out why those settings were there in the first place since this is my first time using isort). Per their documentation, .editorconfig is also the last place isort looks for settings, so moving up that list is likely an improvement.

I think this configuration should be moved to pyproject.toml, as it is quickly becoming a standard place to configure all Python tools. Furthermore, .editorconfig is the last configuration file isort looks for.
Besides, the option recursive present in .editorconfig must be removed as well, as it is no longer necessary in isort >= 5.0.0, as the doc states.

I'm +1 to move this to setup.cfg, definitely makes more sense than .editorconfig.

I think this configuration should be moved to pyproject.toml

I'm not so sure on this one, though. I really like pyproject.toml, but as long as not all tools support it (flake8 being an important one missing support IMO), I'd rather stick to one file, if possible.
We use the default config for black, so we don't need a pyproject.toml at the moment, and all the other tools support setup.cfg.

I'd rather stick to one file, if possible.

More than reasonable.

not all tools support it (flake8 being an important one missing support IMO)

I also agree on flake8, but just to mention it, I don't think we will get that pyproject.toml support anytime soon seeing this...


Added iOS and Android Azure Storage Samples

Thanks for taking the time to contribute. Please take a moment to fill out the information below.
Implementations #.
The iOS and Android samples demonstrate how to implement Azure storage SDK to upload files to a blob container.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: priankakariatyml sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


modified STARTING_BLOCK and INSERT_BATCH_SIZE

After some trial and error I found that the script does not complete if STARTING_BLOCK is set to 0. I also experimented a bit to find that each tx can include about 125 deposits.

It's much harder to get tx that takes almost a full block included in blockchain, especially for a low gas price. It means there should be no higher fee transactions in mempool at all.


How to add a docker bridge network through config

Hi
In my custom service, I can specify a network I created from Portainer using net: name123.
But how do I create this bridge network from the config files?
I tried adding:
  networks:
    name123:
      driver: bridge

To the config.yml, but it's ignored.
I also tried adding this to a custom service yml, but I getting a parse error:
grafana:
  container_name: grafana
  image: grafana/grafana
  net: name123
networks:
  name123:
    driver: bridge

I'm interested in creating a custom bridge network as well. I tried it docker-compose style as @LaurensVanAcker did it as well, but without any luck.
I guess, rancher-compose doesn't support network configuration, right? How can we configure user defined bridge networks in rancher-compose and automatically attach containers to them? Couldn't find anything in the rancheros docs...

@prupp , @LaurensVanAcker
I know it's possible way too late, but I've had the same requirement for running caddy and forwarding the requests to to the specific container by name.
I use BurmillaOS, which is a fork of RancherOS, since RancherOS is EOL and does not work on the Pi 4.
I had to look in the source code of rancher-compose, because documentation for this use case is virtually non-existent.
To make it work you have to create a new network
docker network create web
and put all containers, which should communicate between each other in the same network with net:
image:
  image: image/image
  container_name: image
  net: web

It seems that setting this via config is not supported, so you have to issue the docker command one time, or add it to cloud config, which might work also, but I have not tried this:
runcmd:
  - [ docker, network, create, web]


LoRaWAN: Add firmware-upgrade over the air (FUOTA) services

This PR adds an implementation of the services specified by the LoRa Alliance to enable firmware-upgrade over the air (FUOTA):

Application Layer Clock Synchronization (TS003)
Fragmented Data Block Transport (TS004)
Remote Multicast Setup (TS005)

As for the rest of the LoRaWAN implementation in Zephyr, it uses some functions provided by the LoRaMac-node module developed by Semtech. We are currently still using a custom fork with some bug fixes related to class C (cherry-picked from PRs in the upstream repo) and Zephyr-specific adaptations. Before we merge this, those changes need to go into the Zephyr fork.
Package handling and writing the firmware into flash is RTOS-aware and uses native Zephyr APIs. The FUOTA process requires MCUboot to verify and boot the received firmware image.
The FUOTA process is started by the application and afterwards runs in the background in its own work queue thread. After a firmware upgrade is successfully received, the application is notified via a callback and can reboot the device to apply the upgrade.
Testing
The implementation has been successfully tested with ChirpStack. Deploying a FUOTA requires the FUOTA server in addition to the normal ChirpStack deployment. Testing with AWS IoT is currently ongoing.
We are still in the process of more extensive testing, but would be happy about any kind of early feedback.
Licensing
There is existing code in the LoRaMac-node module that implements the FUOTA service (BSD-licensed). However, this code uses its own timer hooks and scheduling / processing mechanisms as it can be used in bare-metal applications. For optimized performance, I re-wrote the implementation from scratch using Zephyr APIs and kernel services. I did have a look at the existing code, of course, and took some inspiration from it, which I mentioned in the relevant files. @mluis1 as the original author of the LoRaMac-node code: Are you fine with this approach or would you like to see a different kind of attribution.

I think splitting out some parts of this into separate PR's might result in faster progress. The clock-sync spec for example looks standalone and relatively non-controversial. As a specific note on that, I don't think it should live under fuota.

I think splitting out some parts of this into separate PR's might result in faster progress. The clock-sync spec for example looks standalone and relatively non-controversial. As a specific note on that, I don't think it should live under fuota.

Separating the services is not as easy as it seems. Each of them needs a mechanism to send delayed messages and offload processing of messages. We need to run this in a separate thread and cannot use the system work queue, as calling lorawan_send from a system work queue handler will result in a dead lock. Now all services use one common fuota work queue thread. If they were completely independent and had their own threads, it would be a wast of resources IMO.
I agree, though, that clock sync as well as multicast could be used independent of FUOTA. Maybe we should create some sort of auxiliary lorawan work queue, which is shared by the three services of this PR and any other background services that may be introduced in the future. @JordanYates What would you suggest where these services should live and how the common parts should be called (instead of fuota)?

Separating the services is not as easy as it seems. Each of them needs a mechanism to send delayed messages and offload processing of messages. We need to run this in a separate thread and cannot use the system work queue, as calling lorawan_send from a system work queue handler will result in a dead lock. Now all services use one common fuota work queue thread. If they were completely independent and had their own threads, it would be a wast of resources IMO.

I agree that a thread per service is a waste. The two options I see are fixing/updating loran_send so that it can be used in the system work queue (maybe via some lorawan_send_async), or implementing the standalone services as an API that a user thread drives. Personally I already have a dedicated thread for initiating LoRaWAN connections with backoffs and detecting dropped links, so slotting the clock-sync service into that thread would be ideal for my use-case.

I agree, though, that clock sync as well as multicast could be used independent of FUOTA. Maybe we should create some sort of auxiliary lorawan work queue, which is shared by the three services of this PR and any other background services that may be introduced in the future.

Is this suggestion driven purely by the inability to use lorawan_send from the system work queue? If so I think a cleaner solution would be to fix that.

What would you suggest where these services should live and how the common parts should be called (instead of fuota)?

lorawan/services is my suggestion.

Sorry! Laggy cafe internet

The problem with lorawan_send is that it waits for the semaphore mcps_confirm_sem, which is given in mcps_confirm_handler. The mcps_confirm_handler is called from a system work queue item in the lora driver, so if we call lorawan_send from the system work queue, we stall the entire system work queue.
Other than calling lorawan_send from a separate thread (user or background service) I don't see how this could be easily avoided/fixed. The processing of the dio1 interrupt in the driver involves some SPI communication, so it cannot run in an ISR (having higher priority than the system work queue).
Currently I've also implemented some re-join and backoff mechanisms running an a user thread in one application, but I think this should finally also be part of the lorawan subsys. So I'd prefer to introduce a dedicated thread for LoRaWAN background services. Storing files in lorawan/services instead of lorawan/fuota sounds like a good idea.

Storing files in lorawan/services instead of lorawan/fuota sounds like a good idea.

I like that idea.

@JordanYates I've updated the whole thing according to your suggestion. The different services are now independent and added in dedicated commits for easier review. All services use a common work queue thread.

If lorawan_send was able to be used in the system workqueue, would the dedicated workqueue in this PR still be required?
I had a quick look and it seems possible with minimal changes, but I won't bother if the dedicated workqueue is still needed.

However, I am not sure if it is actually a good idea to use (and block) the system work queue with these services. Erasing flash can take a couple of seconds depending on the flash partition size. Also the fragment decoder needs a lot of computing resources when it restores data of missed fragments from redundant fragments sent at the end.

I would not recommend using the system work queue for this. If you have a system that is also running bluetooth, this could cause issues.

Is this something that can be revisited?

Is this something that can be revisited?

Yes, I've still got it on my ToDo list. As you may have seen, the time sync part has already been merged to main in a dedicated PR. I have already rebased and updated the remaining part, but still need to test it again before opening a new PR. Will try to get that done within the next 2 weeks.

Is this something that can be revisited?

Yes, I've still got it on my ToDo list. As you may have seen, the time sync part has already been merged to main in a dedicated PR. I have already rebased and updated the remaining part, but still need to test it again before opening a new PR. Will try to get that done within the next 2 weeks.

That's great! Would be more than happy to test it on our development network of devices based on the RAK3172. We also sponsored Chirpstack to get the FUOTA server updated for v4.

We also sponsored Chirpstack to get the FUOTA server updated for v4.

That's nice! That was actually partly what I was waiting for, as I didn't want to set up v3 anymore and don't have access to the AWS IoT environment anymore at the moment.

@martinjaeger
I am author of https://github.com/JiapengLi/LoRaWANFragmentedDataBlockTransportAlgorithm
I am also using zephyr these days, I think I can help do some test or porting work if you need.

Is this abandoned? Are Zephyr LoRaWAN FUOTA actually supported in any form?

Is this abandoned? Are Zephyr LoRaWAN FUOTA actually supported in any form?

It's not abandoned, but continued in small steps. The clock sync is already merged, remote multicast is ready for review (see link above) and frag data transport as the final step will follow afterwards.

It's not abandoned, but continued in small steps. The clock sync is already merged, remote multicast is ready for review (see link above) and frag data transport as the final step will follow afterwards.

These are very good news! Thank you.


Miss sementic dataset for gibson objectnav: data/scene_datasets/gibson_semantic

Hi! When I wanted to run the zer/objectnav dataset , it occurred an error as followed:
File "anaconda3/envs/zsvlnhl/lib/python3.8/site-packages/habitat_sim/simulator.py", line 200, in _config_backend
super().init(config.sim_cfg, config.metadata_mediator)
AssertionError: ESP_CHECK failed: Missing (at least) one of scene dataset attributes, stage attributes, or dataset scene attributes for scene 'data/scene_datasets/gibson_semantic/Markleeville.glb'.  Likely an invalid scene name.
But I cannot find the dataset  "data/scene_datasets/gibson_semantic" . Can you please inform me the link of the dataset ? Thank you very much!
some config:
habitat:
environment:
type: "gibson"
max_episode_steps: 100
simulator:
turn_angle: 30
tilt_angle: 30
action_space_config: "v1"
agent_0:
sensors: ['rgb_sensor']
height: 0.88
radius: 0.18
habitat_sim_v0:
gpu_device_id: 0
allow_sliding: False
rgb_sensor:
width: 128
height: 128
hfov: 79
position: [0, 0.88, 0]
task:
type: ObjectNav-v1
end_on_success: True
reward_measure: "distance_to_goal_reward"
success_measure: "spl"
possible_actions: ["stop", "move_forward", "turn_left", "turn_right"]

sensors: ['OBJECTgoaltext_sensor', 'compass_sensor', 'gps_sensor']
goal_sensor_uuid: objectgoal

measurements: ['distance_to_goal', 'success', 'spl', 'soft_spl', 'distance_to_goal_reward']

distance_to_goal:
  distance_to: VIEW_POINTS
success:
  success_distance: 0.1

dataset:
type: ObjectNav-v1
split: train
data_path: "data/datasets/zer/objectnav/gibson/v1/{split}/{split}.json.gz"
scenes_dir: "data/scene_datasets/"
habitat_baselines:
base_task_config_path: "exp_config/base_task_config/objectnav_gibson.yaml"
cmd_trailing_opts: ["habitat.environment.iterator_options.max_scene_repeat_steps", "50000"]
simulator_gpu_id: 0
torch_gpu_id: 0
video_option: []
tensorboard_dir: "tb"
video_dir: "video_dir"
test_episode_count: -1
eval_ckpt_path_dir: "data/new_checkpoints"
num_environments: 4
sensors: ["rgb_sensor"]
num_updates: 270000
log_interval: 10
num_checkpoints: 100
Force PyTorch to be single threaded as
this improves performance considerably
force_torch_single_threaded: True
eval:
use_ckpt_config: False
split: val
rl:
policy:
name: "NavNetPolicy"
ppo:
  # para for policy network
  backbone: fast_resnet9
  goal_backbone: clip_text
  rnn_type: GRU
  num_recurrent_layers: 2

  num_steps: 128

  hidden_size: 128
  input_size: 128
  visual_encoder_embedding_size: 512
  goal_embedding_size: 128

  visual_obs_inputs: ['rgb', "imagegoal_sensor_v2"]

  random_crop: False
  rgb_color_jitter: 0.0
  tie_inputs_and_goal_param: False

  task_type_embed: False
  task_type_embed_size: 64

habitat:
simulator:
turn_angle: 30

It looks that the Gibson dataset is missing or not in the correct path. You can download the Gibson dataset from here and the relevant semantic annotations from here. Make sure that the downloaded dataset is in the correct path data/scene_datasets/gibson_semantic or change that path in the configuration file.


expected lua number error

Getting this error on neovim nightly:
E5108: Error executing lua ...e/pack/deps/opt/statusline.lua/lua/sections/_buficon.lua:6: Expected Lua number
stack traceback:
[C]: in function 'nvim_buf_get_name'
...e/pack/deps/opt/statusline.lua/lua/sections/_buficon.lua:6: in function 'get_file_icon'
.../pack/deps/opt/statusline.lua/lua/modules/statusline.lua:115: in function <.../pack/deps/opt/statusline.lua/lua/modules/statusline.lua:99>

Okay let me look into this and get it fixed up :)

@juantascon @cfuendesign I have pushed a fix, lmk if you are having further issues 👍


No module named pdfdocument

Thanks a lot !
But there is a problem if we use sudo apt-get install python-pdfminer, the error code is:
ImportError: No module named pdfdocument
but after update the pdfminer, the problem solved:
sudo pip install --upgrade pdfminer
maybe because of my old source---- ubuntu 14.04?

Thanks for the update!


Fix undefined behavior in hipResourceDesTocudaResourceDes

Fixes #2
This PR addresses an issue in hipResourceDesTocudaResourceDes which returns a pointer to a local variable, leading to undefined behavior. To resolve this issue, I have modified the function to dynamically allocate memory for CUDA_RESOURCE_DESC using malloc, ensuring that the memory persists beyond the scope of the function.
Additionally, I have corrected a switch statement within the function to include break statements after each case to prevent unintended control flow.

cc: @rakesroy

@servusdei2018 : While this does fix the undefined behavior, it would introduce a memory leak. So we would need to rethink how this is implemented.

Yay it appears to be fixed.


Component preparation state is failed only if no retries remain

Component preparation state of failed is currently defined as:
failed

no ResultsJob entity
has remote request with state of failed

This fails to consider that the most recent remote request (of which there can be many) may not be the final.
We need to consider whether retries will be attempted.
failed

no ResultsJob entity
has final remote request with state of failed

preparing

no ResultsJob entity
has most recent remote request with state of failed and will retry, or
has remote request with state of requesting, halted, pending

Messenger will handle a given message max_retries + 1 for the relevant transport. This has been confirmed by reviewing logs.

Some types of remote request can have multiple remote requests, hence the index property. Some will have just one remote request and the index will only be zero.

Adding RemoteRequest::isRepeatable (bool) will let us determine if a remote request instance is final.


Can't ever start a new cdda map

I always get this error
Error: Could not open file for writing.
Stack traceback:
  makeEmptyMap@file:///C:/Users/colli/AppData/Local/Tiled/extensions/cdda_map_extension_extras/CDDA_Map_extension.mjs:1947
  @file:///C:/Users/colli/AppData/Local/Tiled/extensions/cdda_map_extension_extras/CDDA_Map_extension.mjs:2576

@Maleclypse not sure if the issue resolved itself on your end, but if using tiled 1.8, you would have to use the version in the latest release. For tiled 1.10, rather than just updating it, I've been redoing most of the code, so unfortunately there is no compatible version for tiled 1.10.


Game Disc dumping takes longer than an eternity.

I am currently trying to dump my Breath of the wild game disc to a fat 32 formatted usb3.0 flashdrive. I started the dumping process yesterday at 4.00pm. Now its the next day at 8.00am and I am only done for 80%. The remainig time is estimaded to be around 18 more hours.
Before I started dumping it said that it could take UP TO 6hours for a game to dump, but this is insane. I really do not want to wait another day for this to finish, as I really trying to get some sleep, which is not possible with a wii u spinning a disc with 2000rpm right next to you.
Is there anyithnig i can do to fix this?

I had the same issue with a SanDisk flash drive.   Switched to a transcend
external hdd - added a USB 3.0 power splitter cable - and use the front
ports.  No issues since.
.
Note that BoTW fully updated is a BIG game.   I want to say it was a 6 hour
dump. (most games without updates are 1-1.5 hours)
On Sat, Feb 6, 2021, 12:43 AM Atramentius<EMAIL_ADDRESS>wrote:

I am currently trying to dump my Breath of the wild game disc to a fat 32
formatted usb3.0 flashdrive. I started the dumping process yesterday at
4.00pm. Now its the next day at 8.00am and I am only done for 80%. The
remainig time is estimaded to be around 18 more hours. I really do not want
to wait another day for this to finish, as I really trying to get some
sleep, which is not possible with a wii u spinning a disc with 2000rpm
right next to you.
Is there anyithnig i can do to fix this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/emiyl/dumpling/issues/11, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACO7AAI56YRXMBMWKB7LSNLS5TQJDANCNFSM4XF643AQ
.

I used another tool instead. Disc2app. Only took 45mins to dump... so yeah. But thanks for the reply.

Dumpling is indeed pretty slow at dumping BotW unfortunately due to technical reasons which I'd like to explain. Basically, writing many files to the Wii U's filesystem is a very big problem with the Wii U. Dumpling dumps it in an extracted form so that it's easier to use the files with Cemu, but unfortunately even with custom SD card drivers (in simple terms) to write to the SD card faster it's still not as fast.
This slowness is unfortunately super noticeable in Breath of the Wild, which has like 20x the files of a normal game. Some stuff could be improved, but it'll likely never be as fast as just writing 50 .app files or a .wud file (like disc2app does) unfortunately for those games. Maybe eventually I can look into improving performance even more then now, but I'd really only be doing it for BotW so I don't consider it that high priority.
I'm curious what is up with your dumping time though. It really only should take 4-6 hours for the whole game and DLCs to be dumped (which is another thing that the 45 minutes in disc2app wouldn't be dumping). As to why, I've got no clue. Might be the suggestion that @CJK95 gave here, or you're using an older version of Dumpling. Anyway, disc2app is still a useful tool, so I'm glad you still got it dumped 👍.


Release 2.0.8

Update the secret values
Update daps test response

looks good to me

@Siegfriedk Please approve.


Connection reset error when connecting to PostgreSQL database

Description
After entering the username, password, server address and database name, I get a "connection reset" error when I try to connect to my PostgreSQL database. This is the complete error trace
!ENTRY org.jkiss.dbeaver.model 4 0 2024-06-12 20:46:25.444
!MESSAGE SSL error: Connection reset
!SUBENTRY 1 org.jkiss.dbeaver.model 4 0 2024-06-12 20:46:25.444
!MESSAGE Connection reset
!STACK 0
java.net.SocketException: Connection reset
	at java.base/sun.nio.ch.NioSocketImpl.implRead(Unknown Source)
	at java.base/sun.nio.ch.NioSocketImpl.read(Unknown Source)
	at java.base/sun.nio.ch.NioSocketImpl$1.read(Unknown Source)
	at java.base/java.net.Socket$SocketInputStream.read(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketInputRecord.read(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at org.postgresql.ssl.MakeSSL.convert(MakeSSL.java:43)
	at org.postgresql.core.v3.ConnectionFactoryImpl.enableSSL(ConnectionFactoryImpl.java:625)
	at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:195)
	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:262)
	at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54)
	at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:273)
	at org.postgresql.Driver.makeConnection(Driver.java:446)
	at org.postgresql.Driver.access$100(Driver.java:63)
	at org.postgresql.Driver$ConnectThread.run(Driver.java:355)
	at java.base/java.lang.Thread.run(Unknown Source)

DBeaver Version
Version <IP_ADDRESS>405191503
Operating System
macOS Sonoma Version 14.2.1
Database and driver

PostgreSQL 12.18 (Ubuntu 12.18-0ubuntu<IP_ADDRESS>) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0, 64-bit"

Steps to reproduce

I fill in the data of Host, Database, Username, Password
I try out, click on button Test Connection
I get this message Connection reset and details :

SSL error: Connection reset
  Connection reset
  Connection reset

Additional context
Share Session Data
eclipse.buildId=unknown
java.version=17.0.6
java.vendor=Eclipse Adoptium
BootLoader constants: OS=macosx, ARCH=aarch64, WS=cocoa, NL=en_MX
Framework arguments:  -keyring /Users/xxxxxx/.eclipse_keyring -eclipse.keyring /Users/xxxxxx/Library/DBeaverData/secure/secure_storage
Command-line arguments:  -os macosx -ws cocoa -arch aarch64 -keyring /Users/xxxxxx/.eclipse_keyring

Hello @aobregonmx
at org.postgresql.core.v3.ConnectionFactoryImpl.enableSSL(ConnectionFactoryImpl.java:625)
Did you configure your SSL properties? Or, maybe, you accidentally checked the "enable SSL' setting?

sslmode property in the configuration was without value, I assigned it to false and the connection was possible without any problems.
Thank you very much for the support and an apology in advance, the solution was simple but sometimes so much time trying different ways blinds you.
Share configuration image


Graph not rendering: Uncaught The edge x already exists

I can't see the Graph (it is not rendered).
The console says:
Uncaught The edge "Api-Api<->Models" already exists.
Api and Models are two of my modules.

That is not good. Could you provide which version of elm-analyse you are using? Would it be possible to create a reproducible example? Thanks

version is 0.11.0
it is installed locally (I run it with ./node_modules/.bin/elm-analyse")
elm version is 0.18

For the example, I need to work on this a bit because the codebase is closed source.
Thank you for your prompt reply, and for this amazing tool!

I've sorted it out: when an import is duplicated, it generates the error.
For instance:
import Helpers
import Helpers exposing (aHelper)

Removing the second import works. I've prepared a self-contained minimum example here.

Good to know that you have found the cause. I'll rename the issue and pick that up in the next release.

Fixed with #101. This is currently replaced with a DOT file which fixes this issue.


Add Controller/Handler/Service for deleting custom tag

Description
Add Controller/Handler/Service for deleting custom tag
Related issues
Addresses AB#78139
Testing
Unit tests pass

this PR is moved to https://github.com/microsoft/dicom-server/pull/552, due to a lot of churns introduced from recent merge from main.


we can add Login & signup page

i have already implement this functionality to my site. and i think it will good to add login and signup functionality. so i please assign me this issue. and i have more plan for this project. happy to work with you

shall i start the work ?

Could you please elaborate on how are you planning to do this?


Publication on the devcontainer official website

At this time, only devcontainer featuers are listed on the official website (https://containers.dev/collections), but it is expected that the devcontainer template will be available in the future. (devcontainers/spec#98)
Those listed on the official site will be selectable from Codespaces and others, and users will be able to use the definitions easily without knowing them in advance.

I would like to create a feature that installs R first.
As Ruby is installed via rvm in the existing feature, perhaps R is suitable to be installed via rig (it is difficult to install R on Ubuntu arm64 without using rig.)
And, one reason is that the devcontainer images will hold metadata for installed features (devcontainers/spec#95), so I want the R-installed containers that we build in this repository to have metadata for the features that install R.
Like this https://github.com/devcontainers/images/blob/4690ca1ee6b0ea5c3bef39b14e46c0c33d01824f/src/ruby/.devcontainer/devcontainer.json#L14
@cboettig @eddelbuettel Can I create a repository like rocker-org/devcontainer-featuers using the template?
https://github.com/devcontainers/feature-template
If we were to maintain a featuer to install R to easily build multilingual containers that include R, the Rocker project would be the best place.

Why? Unix is Unix. configure; make; make install and/or package managers still exist not matter flavor the cpu has.

Sorry, I left out the explanation about the installation time.
I thought the installer installation would take precedence over the source installation, since the feature installation is performed locally by the user.
I suppose it is possible to create a feature that falls back to a src installation, as planned here in Python, but I just wanted to start with a simple method.
devcontainers/features#75

this sounds good to me!

with a simple method

By all means.
But by a quick scan this appears to be build on Ubuntu where we have R either i) from the distro (maybe dated), ii) from the CRAN backport (current version, widely used, my fave too) or iii) or as always from source.  Now (and I am 100% naive here as I have not looked at it in any detail) where does rig come in, and what is better with it?  From what I can gather it allows yet another package management layer outside the system package management layer.  I am sure there are use case for that for some people but is devcontainters one? Or would, say, r2u be an alternative as it brings all R packages back to the system package management layer?

what is better with it?

Good point.
I see two advantages of rig.

Easily install any version of R. (I wanted to start with as simple an installation script as possible.)
Supports arm64 version of Ubuntu. rig installs the arm64 version of R uploaded here. https://github.com/r-hub/R/releases/tag/v4.2.1

In fact, I have very little experience with rig, so there is a possibility that it will not work well and I will give up on this direction.

I am sure there are use case for that for some people but is devcontainters one? Or would, say, r2u be an alternative as it brings all R packages back to the system package management layer?

Of course there is no need for one, and I think r2u and bspm configured containers are useful in quite a few use cases.
I have already opened #5 as a backlog as I would like to add it here.
(The reason I have not added it so far and only build rocker/tidyvese based containers is that I am not yet familiar with the devcontainer cli and am not sure what configuration would be better.)
A feature to configure the bspm is also likely to be useful and could be added in the future.

After writing a script that uses rig to install R, I came to think it seems feasible to provide an optional way to install R.
https://github.com/rocker-org/devcontainer-features/blob/e4d1dd7cd8dbd5be96384ddba1423477256fa900/src/r-rig/install.sh

The template for VSCode has been updated to comply with the spec proposal.
For now, this template proposes three base images, rocker/r-ver, rocker/tidyverse, and rocker/geospacial.
https://github.com/microsoft/vscode-dev-containers/blob/ecb28cdcf443603ec8f037afff85c63c8cd1dc95/containers/r/devcontainer-template.json#L21-L30
Since Jupyter can now be installed with the feature and there is no need to stick to rocker/binder, I would like to prepare three base images, rocker/r-ver base, rocker/tidyverse base, and rocker/geospacial, first.
Users can easily set up Jupyter by using the feature, so no upstream installation is required.

nice, sounds great!

Done by devcontainers/devcontainers.github.io#36 and devcontainers/devcontainers.github.io#49