macOS encountered a N5utils18PostconditionPanicE with backedColor material in Metal mode

Describe the bug
Sorry to bother again. I continue to play with macOS (Catalina) and noticed that if I try to create a material with a simple backedColor like below:
// matc -o bakedColor.inc -f header bakedColor.mat
static constexpr uint8_t BAKED_COLOR_PACKAGE[] = {
    #include "bakedColor.inc"
};
...
  filament::Material* pMaterial = filament::Material::Builder()
        .package((void*) BAKED_COLOR_PACKAGE, sizeof(BAKED_COLOR_PACKAGE))
        .build(*pEngine);
  filament::MaterialInstance* pMaterialInstance = pMaterial->createInstance();

then in Metal mode the following error happens:
% ./demo
Filament library loaded.
FEngine (64 bits) created at 0x10ee10000 (threading is enabled)
FEngine resolved backend: Metal
N5utils18PostconditionPanicE
in static filament::MaterialParser *filament::details::FMaterial::createParser(backend::Backend, const void *, size_t):493
reason: could not parse the material package

libc++abi.dylib: terminating with uncaught exception of type utils::PostconditionPanic
zsh: abort      ./demo

Note if I switch to OpenGL mode then the crash is gone.
To Reproduce
Steps to reproduce the behavior:

The sample code is located in https://github.com/yongtang/demo

In the directory I created a Makefile so bazel install is not needed.

Download the artifact from the latest build. Note I downloaded the build from #2173 to make sure it is the latest from master. Then uncompress the artifact into the current directory so that the file structure is:
 demo.cc
 Makefile
 filament/
     bin/
     include/
     lib/

Invoke make to build the binary:
% make

Invoke the program:
% ./demo
Filament library loaded.
FEngine (64 bits) created at 0x10ee10000 (threading is enabled)
FEngine resolved backend: Metal
N5utils18PostconditionPanicE
in static filament::MaterialParser *filament::details::FMaterial::createParser(backend::Backend, const void *, size_t):493
reason: could not parse the material package

libc++abi.dylib: terminating with uncaught exception of type utils::PostconditionPanic
zsh: abort      ./demo

Open demo.cc and switch to OpenGL mode (see comment in demo.cc), and build again.

The program runs without the above crash.

Expected behavior
The program is expected to run in both Metal and OpenGL mode.
Screenshots
n/a
Desktop (please complete the following information):

OS: macOS Catalina
GPU: Intel UHD Graphics
Backend:  OpenGL works, Metal crashes.

All of our Metal samples work (and they all load unlit materials). Did you build matc yourself or is it a prebuilt? We made recent changes to materials which breaks compatibility with older matc versions.

Although I think we stopped using the header file forma for materials, maybe there's something broken there? We now use resgen instead.

@romainguy I download the matc from the same artifact in #2173 and the program I build is linked to the same library in the artifact. The bakedColor.mat file is from the sample directory in filament (https://github.com/google/filament/blob/master/samples/materials/bakedColor.mat)
material {
    name : bakedColor,
    requires : [
        color
    ],
    shadingModel : unlit,
    culling : none
}

fragment {
    void material(inout MaterialInputs material) {
        prepareMaterial(material);
        material.baseColor = getColor();
    }
}

Although I think we stopped using the header file forma for materials, maybe there's something broken there? We now use resgen instead.

@romainguy wondering if there is some "getting started" documentation about C++? I saw documentations in other languages but couldn't find a C++ documentation to get started. (The filament/samples directory has quite some library dependencies like SDL, not very easy to follow without prior background).

Unfortunately the best "getting started" is in our README and not terribly useful. Check out the README of resgen, it might explain how to use it (resgen generates a .S file and a header file from a binary — it can be a material or anything else — and thus offers a much more efficient way to embed binaries compared to the #include solution you're using).

By default, matc only compiles materials for the OpenGL backend. To compile for Metal as well, update the arguments to:
filament/bin/matc -a opengl -a metal -o bakedColor.inc -f header bakedColor.mat

That fixes the crash.

@bejado The updated command fixed the issue, thanks for the help!
@romainguy Thanks for the pointers. I will take a look at resgen.

@bejado We should probably improve the error message to indicate the material doesn't contain shaders for the selected backend (which I believe we used to have?)


Fix duplicate in fakeDepRoot

This fixes an issue with diamond dependencies in nix fakeDepRoot.

So you do have two different versions of the same module? As I said on Zulip, that will be problematic no matter what. You really should avoid it.

This is a different, but similar issue. It fixes that different dependencies may depend on the same dependency.

If it is literally the same dependency, I don't think this should happen. allExternalDeps itself is already lib.unique'd.

Yes, but for some reason it complains that Init and Lean already exists.

Then you'll need to take a closer look at what's up with your allExternalDeps.
nix-repl> lib.unique [ hello hello ]
[ «derivation /nix/store/8dr2lhv3kriyw8qhg66dszr0vl3grxya-hello-2.10.drv» ]

@Kha It is caused by compiling with different lean versions. This should not happen however since each flake dependency's lean input follows the lean of it's parent.

I'm closing this since this is not the right solution to the problem.


Add server/remove server internal command is not saved after compaction

When we add or remove a server (e.g. add(D)), the command is saved in the log as an internal command. However, when we do a log compaction, the internal command is not added to the state snapshot.
Todos:

Confirm that the above is true
Investigate adding internal commands to the state. Perhaps a separate state (controlled by jgroups-raft), next to the application state?

Hey, Bela. I just got a test verifying that this happens. I'll look more into this next week and come up with something. I like the approach of having an internal state machine for the protocol, as it can also expand to more than members down the road.

Right, this sounds feasible. If you want to discuss, I'm available next week until WED afternoon (then I'm on PTO for 1 week).


Where can I find the Meteor server app code for testing

I am looking at running the Unit tests on this Java DDP client package.
I started down the path of creating a Meteor server app, adding accounts-password, etc, but it seems like it would be easier to use an existing Meteor server app.
Can you point me to one?
I want to look at Java-WebSocket 1.3.0 code. From my past experience, that project has intermittent bugs, like duplicated messages or flaking out when the data payload is larger than some 100KB or so. Curious if you have seen issues. (I've had much better luck with Tyrus Java WebSocket).
Thanks.

@jazeee : you can find the test endpoint here: https://github.com/kenyee/meteor-test-ddp-endpoint
It's running a fairly old version of Meteor, so if you update this library or the endpoint to the latest version, please submit a PR.
I haven't seen any issues w/ Java-WebSocket.

Excellent. Thanks.
I was able to manually migrate the code to Meteor <IP_ADDRESS> and start the app.
Most tests against Java pass now. 6 failures, but I will work on that now.
I will PR when done. The old Meteor project was really old!

https://github.com/kenyee/meteor-test-ddp-endpoint/pull/1


⚠ Samsung has degraded performance

In c1e481e, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2047 ms

Resolved: Samsung performance has improved in f226004.


Profile page layers overlap

Describe the bug
Profile page widgets overlap. Sometimes the upper one overlaps the lower one, sometimes behaves in an opposite way
To Reproduce
Steps to reproduce the behavior:

Go to 'Profile'
Click on 'casually swipe the screen until layers overlap'

Expected behavior
No widgets  should overlap
Screenshots

It appears normal on my side of the ios simulator, without overlap.

Issue resolved.


Store ID in Firmware

When a new ID is detected / confirmed, store it in the Arduino EPROM for power failure recovery.

I'm new to Github - TL;DR - I forked the project and added storing the ID in firmware. https://github.com/adwiebe/Powermon433
(I also removed the rf69 support as I don't use it and needed the pins for status indicators)


Unknown CMake command "target_link_options"

Good day DaisukeAtaraxi,
I have MSVS 2017 and it cmake version 3.12.18081601-MSVC_2
I am re-configure Qt/MSbuild project to Cmake project with you extention
and I have next code
if (MSVC)
target_link_options(TestToCmake PRIVATE
$<$CONFIG:Debug:
/LIBPATH:$ENV{QTDIR}\lib>
)
At result we have message "Unknown CMake command "target_link_options". "
What to do?
With best regards,
Alexander

I know that problem has been solved somehow already, so leaving a hint for a future searchers:
target_link_options command was introduced in 3.13. version of cmake. If your cmake version is lower you may try using target_link_libraries instead.

I know that problem has been solved somehow already, so leaving a hint for a future searchers:
target_link_options command was introduced in 3.13. version of cmake. If your cmake version is lower you may try using target_link_libraries instead.


Remove not implemented implementations from test report.

@aljones15 I've removed the multibaseMultikeyHeader changes. That was just a hack that I thought could prevent the issue of the tests failing in the before statement. But since we're now using the updated report, it fixes that issue.


Refactor load into PySD __init__

It would be simpler to remove the load function and just have the PySD init take a translated filename and build the appropriate components. Then we can put some of the helper pieces in the PySD class instance, and leave the 'components' to contain things which are actually about the substance of the model.

Addressed in https://github.com/JamesPHoughton/pysd/pull/100


Delete options removed by controller runtime intermediary client

Expected: Delete options passed into Resources.Delete are used by controller-runtime
Actual: Delete options passed into Resources.Delete are removed by controller-runtime
Calling like
err = r.Delete(ctx, &job, resources.WithDeletePropagation(string(metav1.DeletePropagationBackground)))

The cr delete options are set so that all fields are empty except for Raw.
See https://github.com/kubernetes-sigs/e2e-framework/blob/ce6e190f552cc0c082d92c41b2e9dff43c31d9ad/klient/k8s/resources/resources.go#L139
Controller runtime constructs its own DeleteOptions from these options here https://github.com/kubernetes-sigs/controller-runtime/blob/main/pkg/client/typed_client.go#L80
This ends up calling https://github.com/kubernetes-sigs/controller-runtime/blob/main/pkg/client/options.go#L300 which will result in still only Raw being set
then AsDeleteOptions is called at the end of typedClient.Delete which sets the fields of Raw directly from the member fields of the DeleteOptions https://github.com/kubernetes-sigs/controller-runtime/blob/main/pkg/client/options.go#L273, those fields are not set so it ends up zeroing out the fields of Raw.
It seems like controller runtime does not expect Raw to be set and overrides all fields set in it.
Confirmed the following workaround works:
deletionPropagation := metav1.DeletePropagationBackground
err = r.GetControllerRuntimeClient().Delete(ctx, &job, &cr.DeleteOptions{PropagationPolicy: &deletionPropagation})

@ryanmcnamara  Oh thanks for noticing this one. I believe you are right.
I think the following should take care of the necessary configuration. (I still have to test this out, but this should take care of the issue you are talking about)
func (r *Resources) Delete(ctx context.Context, obj k8s.Object, opts ...DeleteOption) error {
	deleteOptions := &metav1.DeleteOptions{}
	for _, fn := range opts {
		fn(deleteOptions)
	}

	o := &cr.DeleteOptions{
		Raw:                deleteOptions,
		GracePeriodSeconds: deleteOptions.GracePeriodSeconds,
		Preconditions:      deleteOptions.Preconditions,
		PropagationPolicy:  deleteOptions.PropagationPolicy,
		DryRun:             deleteOptions.DryRun,
	}
	return r.client.Delete(ctx, obj, o)
}

Or we could just turn the type DeleteOption func(*metav1.DeleteOptions) into type DeleteOption func(*cr.DeleteOptions)
type DeleteOption func(*cr.DeleteOptions)

func (r *Resources) Delete(ctx context.Context, obj k8s.Object, opts ...DeleteOption) error {
	deleteOptions := &cr.DeleteOptions{}
	for _, fn := range opts {
		fn(deleteOptions)
	}

	return r.client.Delete(ctx, obj, deleteOptions)
}

func WithGracePeriod(gpt time.Duration) DeleteOption {
	t := gpt.Milliseconds()
	return func(do *cr.DeleteOptions) { do.GracePeriodSeconds = &t }
}

func WithDeletePropagation(prop string) DeleteOption {
	p := metav1.DeletionPropagation(prop)
	return func(do *cr.DeleteOptions) { do.PropagationPolicy = &p }
}

cc @vladimirvivien  which one do you think is the best way to get this one fixed ?

FWIW I just hit the same thing with resources.PatchOption.
https://github.com/kubernetes-sigs/controller-runtime/blob/451530c09937350ff7f5ebf7a00d059b4334e8ee/pkg/client/options.go#L761


Add large file support

add support java simple consumer to receive 25MB messages
bump version 0.20.4

LGTM 👍

I'm not sure I understand this change's purpose, can't a producer already pass in their desired message max_bytes?

Its for the consumer, there's a bug where the passed in opts don't get passed to the java consumer.


BioVision Diagnostics - CSV Sender Onboarding

Sender Info:

Sender/Company Name: BioVision Diagnostics in IL
Type of Sender: Commercial Laboratory
CLIA#: ??
Public Health Depts - Start with CO.  Will add TX & FL.
RS sender_id: biovisiondx-il

Initial Interest & Follow Up

[x] Document the date & time the Sender expressed interest. - 3/29/22

[x] Send Std Kickoff email.  This includes:
   - Links to TOS & TOS Registration
           - https://reportstream.cdc.gov/terms-of-service
           - https://reportstream.cdc.gov/sign-tos
   - Links to the CSV upload guide and CSV schema documentation
           - https://reportstream.cdc.gov/getting-started/testing-facilities/overview
   - Provide an option to have a Kickoff call to review these documents and answer any questions.

[x] Schedule Kickoff / Q&A meetings at the Senders request.

[ ] Received TOS.

Sender Setup - Create OKTA group & OKTA account

[x] Define the RS sender_id  --  biovisiondx-il
[x] Create an OKTA group for the sender_id
[x] Create an OKTA account using the RS Registration information.
[x] Verify OKTA account registration by the Sender.

Sender Setup - Create Sender Settings for Staging & PROD

[x] Locally, create and test Settings in organizations.yaml
[x] Create the Staging & Production YAML settings files

Testing - Prod/Test Internal

[x]  Move all RS development to Staging & PROD.
[x] Make settings change to block results to the STLT, or send all results to the STLT's Test Feed.
[ ] Validate Production data and make all necessary RS changes.  Iterate through testing until validation is complete.

Testing - Prod/Test External (if required by the STLT)

[ ] Contact the STLT to setup testing with Production data in their Production environment.
[ ] Verify which Feed the STLT wants to receive the results.  Make settings changes as-needed and deploy to PROD.
[ ] Work directly with the STLT to complete Integrated Testing and gain approval to move into Production.

Implementation - Plan & Schedule GO LIVE

[ ] Change setting "customerStatus:" to active from testing.
[ ] Contact RS Pipeline Team to turn on HHSProtect reporting.
[ ] Determine if there is a backlog of results.  If so, contact the STLT to determine what results are needed.  Example, in at one STLT, if a Sender has reported positives only to the STLT, then the STLT wants all COVID (positive & negative) since the Sender started testing.
[ ] Coordinate and schedule a start date for daily results and backlog results between the STLT and the Sender.

Implementation - GO LIVE and Post LIVE Review

[ ]  Monitor daily uploads for errors and contact Sender if results need to be corrected and resent.  Monitoring will typically be 1 week in duration unless issue are found.

3/29/22 OKTA account is activated. Sender Setup is complete.  Adrian has schedule the kickoff call.

3/31/22 Had a Zoom call to resolve LIVD table issues.  Received 1st test.  It needs patient_preferred_language.  Waiting to here from the Sender if they have it.  I've asked CDPHE if they will accept it without this.
They also sent a file with CA residences.  It looked good. Sent to CA-DPH for validation.

4/7/22  Monitoring is complete.  Closing this onboarding ticket.


Prompt refactor, and command restructuring

A lot of stuff here!

Reworked the prompt solution

A unpacker can be used to resolve a comitter and an error that can indicate if we need to prompt or not
A comitter can commit a file to disk

Reworked the cmd folder for portal

Added commands package for all subcommands
This allows us to do the necessary setup (adding flags etc) in a function instead of in init.
Moved the config package to portal folder, as it really is only used to configure the cli
Moved the ui package into cmd/portal as it makes more sense to have it close to the main code, also renamed it tui.

Moved portal package into internal

This will solve the building in a weird folder issue we have had.
If we want to expose this publicly in the future we could move it again

Added raw versions of send and receive commands (closes #49)
Added a default value to relay port (8080) (closes #4)

Good stuff!

You accidentally added a built portal binary as well. Probably should add that to .gitignore now that it is built into a sane directory 😆

Also update the relay: <IP_ADDRESS>:80 to portal.spatiumportae.com in the default config example in the README


Full generated ground truth for kitti raw?

Thanks for your job. By using your script in this repository, I generate the ground truth of kitti raw in bird's eye view. However, the ground truth generated in this way seems to coarse,which is quiet different from the version provided in the following link.
https://iiitaphyd-my.sharepoint.com/personal/kaustubh_mani_research_iiit_ac_in/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Fkaustubh_mani_research_iiit_ac_in%2FDocuments%2Fpapers%2Fmonolayout%2Fgroundtruth%2Fraw%2F2011_09_26
Could you please provide the full fine ground truth of kitti raw dataset? The link above only provides 8 subset of the full 45 subsets.

Thanks for your job. By using your script in this repository, I generate the ground truth of kitti raw in bird's eye view. However, the ground truth generated in this way seems to coarse,which is quiet different from the version provided in the following link. https://iiitaphyd-my.sharepoint.com/personal/kaustubh_mani_research_iiit_ac_in/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Fkaustubh_mani_research_iiit_ac_in%2FDocuments%2Fpapers%2Fmonolayout%2Fgroundtruth%2Fraw%2F2011_09_26
Could you please provide the full fine ground truth of kitti raw dataset? The link above only provides 8 subset of the full 45 subsets.

Can the link provided by the author be accessible now? When I visit this link,i got '404 FILE NOT FOUND', thanks

The link still can be accessible. Check the network proxy may be helpful.

The link still can be accessible. Check the network proxy may be helpful.

me too, When I visit this link,i got '404 FILE NOT FOUND', thanks

Thanks for your job.But I can't open this connection either。

I got "404 FILE NOT FOUND" when I tried to download ground truth from https://iiitaphyd-my.sharepoint.com/:f:/g/personal/kaustubh_mani_research_iiit_ac_in/EuDcoyoPbH5KsFnd3DbYgj4BxjU2MdcoUS9a8Md4WJG39Q?e=yRb5dQ
Any suggestions? Thanks！！！


Cleared all the warnings

Tried to clear all the warnings as suggested in the console and as per rules. But in few places had to place the  code snippet /*eslint-disable*/ in few files to ignore the warnings of this type: where  tag is there but no href is provided. Did not change it because many stylings(bulma css) are due to that tag only. Another type of warnings which were ignored were of this type: useEffect with second parameter as [], it expects some variables to be filled in, so that it knows to perform action when these variables change. Leaving an empty array means telling it perform action only on mounting which is requried in our case. It seems absolutely okay to disable this warning as it is mentioned in documentation  (note part) also that empty array can be passed in case if  only mount effects are requried.

fixes #62


Change testing of configprovider

What does this PR do?
Currently, the config returned by the custom config provider Get is tested against a manually built otelcol.Config struct. This will become unmaintainable as we add more test cases.
This PR changes this so we test the output of our custom config provider Get against the output of Get using the "upstream" configprovider. Currently, we are not modifying the config, so both Gets will point to the same URI in the test. Once we add support for enhanced config, we will start pointing the "upstream" Get we are validating against to a "result.yaml" files.
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined

Just followed this instructions:
$ npm install -g vue-cli
$ vue init pwa my-project
$ cd my-project
$ npm install
$ npm run dev

Error:
Html Webpack Plugin:
  TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined

  - 1:5 eval
    webpack-internal:///1:5:27

  - 1:20 module.exports
    webpack-internal:///1:20:3

  - index.js:264
    [test]/[html-webpack-plugin]/index.js:264:16

  - From previous event:

  - index.js:252 HtmlWebpackPlugin.executeTemplate
    [test]/[html-webpack-plugin]/index.js:252:6

  - index.js:137
    [test]/[html-webpack-plugin]/index.js:137:18

  - From previous event:

  - index.js:132 Compiler.
    [test]/[html-webpack-plugin]/index.js:132:8

  - Tapable.js:188 Compiler.applyPluginsAsyncSeries
    [test]/[tapable]/lib/Tapable.js:188:13

  - Compiler.js:308 Compiler.emitAssets
    [test]/[webpack]/lib/Compiler.js:308:7

  - Compiler.js:52 onCompiled
    [test]/[webpack]/lib/Compiler.js:52:18

  - Compiler.js:499
    [test]/[webpack]/lib/Compiler.js:499:13

  - Tapable.js:184 next
    [test]/[tapable]/lib/Tapable.js:184:11

  - CachePlugin.js:62 Compiler.
    [test]/[webpack]/lib/CachePlugin.js:62:5

  - Tapable.js:188 Compiler.applyPluginsAsyncSeries
    [test]/[tapable]/lib/Tapable.js:188:13

  - Compiler.js:496
    [test]/[webpack]/lib/Compiler.js:496:10

  - Tapable.js:177 Compilation.applyPluginsAsyncSeries
    [test]/[tapable]/lib/Tapable.js:177:46

  - Compilation.js:649 self.applyPluginsAsync.err
    [test]/[webpack]/lib/Compilation.js:649:19

  - Tapable.js:177 Compilation.applyPluginsAsyncSeries
    [test]/[tapable]/lib/Tapable.js:177:46

  - Compilation.js:640 self.applyPluginsAsync.err
    [test]/[webpack]/lib/Compilation.js:640:11

  - Tapable.js:177 Compilation.applyPluginsAsyncSeries
    [test]/[tapable]/lib/Tapable.js:177:46

  - Compilation.js:635 self.applyPluginsAsync.err
    [test]/[webpack]/lib/Compilation.js:635:10

  - Tapable.js:177 Compilation.applyPluginsAsyncSeries
    [test]/[tapable]/lib/Tapable.js:177:46

  - Compilation.js:631 sealPart2
    [test]/[webpack]/lib/Compilation.js:631:9

  - Tapable.js:177 Compilation.applyPluginsAsyncSeries
    [test]/[tapable]/lib/Tapable.js:177:46

  - Compilation.js:579 Compilation.seal
    [test]/[webpack]/lib/Compilation.js:579:8

It works if I remove this section from index.html:
<% for (var chunk of webpack.chunks) {
        for (var file of chunk.files) {
          if (file.match(/\.(js|css)$/)) { %>
    <link rel="<%= chunk.initial?'preload':'prefetch' %>" href="<%= htmlWebpackPlugin.files.publicPath + file %>" as="<%= file.match(/\.css$/)?'style':'script' %>"><% }}} %>

Thank you for the fix! But I was wondering if you have idea on when it will be accessible through the installation process?

No problem 😄 IDK. Only when one of the contributors of this repository merges #65

I just tested trying to reproduce this issue with the version in master and was unable to get the same errors during npm run dev (this was on a fresh machine).
Could you try git cloning this repository and trying:
vue init ~/path/to/cloned/repo
npm install
npm run dev

and let me know if this is still an issue? @hacdias thanks for the PR in #64. If you could also verify whether the above steps don't address this for you, I can chase down what else might be required to repro.

Hey @addyosmani! Oddly enough, I didn't receive any error now. It could've been some sort of problem on my machine, but @fabionolasco had the same issue. Have no ideia what it was. Although I can say that the problem appeared from one moment to another: it was working the day before I filed this issue.

The current configuration works out of the box for me, and furthermore, when I switch to using webpack.compilation.chunks as per #65, it no longer works, since webpack.compilation doesn't exist.
As per https://github.com/jantimon/html-webpack-plugin#writing-your-own-templates, html-webpack-plugin will pass in a variable called webpack to the HTML template, and that corresponds to a stats object.
As per https://webpack.js.org/api/stats/#chunk-objects, a stats object has a property called chunks, which is an array of chunk objects.
So the usage in the current index.html follows the documented API for the current versions of webpack and html-webpack-plugin.
I'm going to close this issue, but if you do have steps to reproduce (perhaps due to using older versions of one of the dependencies?) please re-open.


This plugin is very good,But this often happens when I review my notes

This plugin is very good,But this often happens when I review my notes。
I found out bugs in the code snippet marked in red,Because if you ctrl+z and do it again,the SCHEDULING_INFO_REGEX.test(fileText)=trun, the plugin do the note  according to the first condition , I think it may be the problem with obsidian itself     so I  Commenting out this code snippet  at least it doesn’t go wrong again,   But I don't know if this will have unintended consequences, I think you maybe has a better idea.

Duplicate of #504
We'll be tracking the fix there


[FEATURE] Add prettier and reformat the code.

Detailed description
.
Context
.
Possible implementation
No response
Additional information
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct


glorot_uniform_initializer and others not exported

Many initializers defined in init_ops are not exported in the global TensorFlow package. These include:

glorot_uniform_initializer (this is even explicitly mentioned in the docs as the default initializer for variables)
glorot_normal_initializer
variance_scaling_initializer

It seems like this might be an oversight – glorot_uniform_initializer is mentioned in existing documentation, and glorot_normal_initializer has no other hits in the code base, which makes it seem like it's for user consumption.
What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?
Searched
Environment info
v1.0.0 docker image
What other attempted solutions have you tried?
Similar initializers are available in tf.contrib.layers, but it seems preferable to use the ones that already exist in core.

@lucaswiser  Can you comment on this?  I asked @martinwicke and he was not sure if this was an oversight or on purpose.

I believe it's an oversight, but could you confirm with fchollet@ to be sure? Thanks!

That's an oversight, I will send out a fix. Thanks for the report.

This issue was resolved here: https://github.com/tensorflow/tensorflow/commit/4cf4f524cb93ad0c1d6c35e9ccec62cf9015b217 So this can be closed.

Thanks!

Sweet!


Allow flakiness in selected Azure tests

Closes #511
Closes #522
After running these tests regularly for 3 months, it seems clear that we can't do anything about Azure skipping some Microsoft.Resources.ResourceWriteSuccess events.
The issue seems isolated to this type of event, because the E2E test for the Azure Storage source — which subscribes to events of type Microsoft.Storage.BlobCreated using the exact same Event Grid infrastructure — doesn't exhibit any flakiness.
In this PR, I suggest that we allow a certain degree of flakiness in affected Azure tests (3 attempts).
We could also change these tests to use the same logic as the Azure Storage source test, but then we would be closing our eyes on issues that may affect production deployments. I'd rather keep subscribing to ResourceWriteSuccess events for now, let things flake, and get a realistic view of how often Azure skips events. Maybe we can even use that information to open a ticket with Azure.

@cab105 one of the new "spec decorators" introduced in Ginkgo v2! Useful to tweak the behavior of individual specs.

For posterity, here is how Ginkgo logs failed attempts:
  Begin Captured GinkgoWriter Output >>
    STEP: creating test REST clients 04/15/22 05:08:18.039
    STEP: creating test namespace with base name azureeventgridsource 04/15/22 05:08:18.041
    Unique name: e2e-azureeventgridsource-2625
    STEP: creating a resource group 04/15/22 05:08:18.265
    STEP: creating an Event Hubs namespace 04/15/22 05:08:19.565
    STEP: creating an event sink 04/15/22 05:09:22.782
    STEP: creating an AzureEventGridSource object 04/15/22 05:09:25.073
    STEP: creating a storage account to generate an event 04/15/22 05:09:48.288
    STEP: marking test namespace e2e-azureeventgridsource-2625 for deletion 04/15/22 05:14:08.64
    STEP: deleting the resource group e2e-azureeventgridsource-2625 04/15/22 05:14:08.645

    Ginkgo: Attempt #1 Failed.  Retrying...
    STEP: creating test REST clients 04/15/22 05:14:10.718
    STEP: creating test namespace with base name azureeventgridsource 04/15/22 05:14:10.719
    Unique name: e2e-azureeventgridsource-4992
    STEP: creating a resource group 04/15/22 05:14:10.741
    STEP: creating an Event Hubs namespace 04/15/22 05:14:11.337
    STEP: creating an event sink 04/15/22 05:15:17.02
    STEP: creating an AzureEventGridSource object 04/15/22 05:15:19.809
    STEP: creating a storage account to generate an event 04/15/22 05:15:42.15
    STEP: marking test namespace e2e-azureeventgridsource-4992 for deletion 04/15/22 05:20:02.638
    STEP: deleting the resource group e2e-azureeventgridsource-4992 04/15/22 05:20:02.641
  << End Captured GinkgoWriter Output


[Typo] Feedback Welcome post

Location
Paste the URL of the page the typo is on:
https://syvwlch.github.io/Data-Ignota/posts/2022-10-01-feedback-welcome/#github-is-where-we-live
Current Text
Paste a snippet of text that includes the typo:
GitHub Is Where We Live
Typo Report: USe this to help me fix typos anywhere on the site.
Proposed Correction (Optional)
If you like, include a proposed correction:
GitHub Is Where We Live Now
Typo Report: Use this to help me fix typos anywhere on the site.

Note to self: auto-closing on commit needs the issue number on second line of commit message or later.


Feature/add part number to feed

confirmed Shipping & Tax should be configured in Google Merchant Center:
https://support.google.com/merchants/answer/6324484?hl=en&ref_topic=6324338
https://support.google.com/merchants/answer/6324454?hl=en&ref_topic=6324338
Added mpn to to CSV feed and fallback to sku if not present

[ch6747]


Vendor<EMAIL_ADDRESS>

How to categorize this PR?

/area testing
/kind enhancement
What this PR does / why we need it:
Which issue(s) this PR fixes:
Part of https://github.com/gardener/backlog/issues/19
Special notes for your reviewer:
Release note:

The following dependency is updated:
- github.com/gardener/gardener: v1.38.2 -> v1.51.0

/invite @hendrikKahl
some tests will fail I will adapt changes for them tomorrow.

/invite @acumino

/retest

@acumino thanks for the PR!
There is not much to add, but could you please update these images to be in sync with the vendored version of Argo WF?
https://github.com/gardener/test-infra/blob/master/charts/testmachinery/values.yaml#L106-L108

@acumino looks like the argo wf v3.3.x introduces a new CRD... sorry, missed that.
Would you mind adding this CRD to our chart. Also the clusterrole needs to be extended with this.


Starter App

Move the Section "Create the starter app" to the top of the page, maybe directly after the section "The starter and completed app". Those users who prefer to build an example from scratch, such as myself, would prefer that this option is not left until the last of the exercises is complete.
The link to the Starter App refers to Starter2, which is a .Net Core 2.0 application, it would be better if it refers to Starter2.1, which is a .Net Core 2.2 application.
Github does not offer a "Clone or download" option at the level where the sample project is. I had to download the entire repository from "https://github.com/aspnet/Docs", and then navigate back through the directories in the downloaded zip file (750Mb) to where the sample is.

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

ID: b66f8ffa-699c-8b11-0cab-805f5953805f
Version Independent ID: 7c151ed5-fd78-84fd-a08a-88912990c4ca
Content: Create an ASP.NET Core app with user data protected by authorization
Content Source: aspnetcore/security/authorization/secure-data.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Most users prefer to not create the starter. For those who don't, it should be no problem to click the link to the starter. The starter app doesn't have much to do with the tutorial.
Per the download link, that's how gitHub works.


toast: init at 0.45.5

Description of changes
https://github.com/stepchowfun/toast
Containerize your development and continuous integration environments.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 198427 run on x86_64-linux 1

1 package built:

toast


Does not work with Angular 7

Note: for support questions, please use one of these channels: Chat: Gitter

I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?
Report a bug

What is the current behavior?
When serving the app using angular 7.1.2, those errors appear in the console:

ERROR in node_modules/ngx-analytics/angular-router.d.ts(3,10): error TS2305: Module '"[...]/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/ngx-analytics/ngx-analytics.d.ts(1,10): error TS2305: Module '"[...]/node_modules/rxjs/ReplaySubject"' has no exported member 'ReplaySubject'.
node_modules/ngx-analytics/routerless.d.ts(1,10): error TS2305: Module '"[...]/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/rxjs/Observable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observable'.
node_modules/rxjs/ReplaySubject.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/ReplaySubject'.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).

What is the expected behavior?
Should work on Angular 7 or provide instructions on how to use with

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Angular version: 7.1.2
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

+1 this library should be updated for rxjs 6 support

@ Maintainers, if you'd be willing to accept an outsider who would do the PR, I'd be open to give it a shot. However, I'm not sure how backwards compatible you're looking to be and if RxJS 6/7 is going to be an issue if you'd like to support older versions of Angular.
If not, I'd be happy to help update temporary documentation so devs don't have to dig into the issue tracker to know why it doesn't work on greenfield angular :)

Hi guys, you opened the issue on my very old fork that was used when it was Angular 4 (maybe 5 was just released ...) and never updated after. If you like my addition feel free to fork it and rebase to the original but I will not work on it any more :disappointed:

Is there a newer repository we should look to which you maintain? Thanks!

@DanielCaspers No, I'm sorry. Currently I don't use Angular any more, so the project is stranded. If someone likes to get it up to date I would be glad to merge the pull requests though.

So how is the relation of this repo to angulartics2? They seem to still maintain it. What was the core difference of yours and theirs?

@drdreo see commit history: https://github.com/SnakeByteDevelopment/angulartics2/commits/master

hi, i tried to update to angular 8 and got stuck with a unit test in ui-router, just want to ask if any one can spare some time to review: https://github.com/paulatay/angulartics2/tree/4.7.0-draft

@paulatay, I need to update a repo using this to Angular 8 and I think I'd have an easier time helping you review the PR and getting this merged than migrating to a new analytics provider.
Please hit me up at<EMAIL_ADDRESS>and I can try to offer another set of eyes. I'm no ui-router expert, but I'm willing to give it a shot.


Fix function call after 7.4.2 update

After the 7.4.2 update, there is no more "Functions" property in ChatCompletionCreateRequest, so I have adapted the "Functions" property to the new "Tools" property

Hi @Maracaipe611, thanks for your contribution. Can you please change the target branch to "dev"?

Hi @Maracaipe611, thanks for your contribution. Can you please change the target branch to "dev"?

Done!


can you provide an example about integrating actix-web?

this uses unic-langid, actix-web uses lantag, currently I need to convert LanguageIdentifier to langtag, which is very cumbersome

Thank you for your issue! However I don't think this is an issue with fluent-templates. The issue is more with the language-tags or unic-langid crates. The best solution would be for one of those crates to provide a From or TryFrom implementation for one or the other, then you'd be able to easily convert between the two types.

@XAMPPRocky  thanks for you quick response, I found a easy way, simply turn Vec into string

I mean, it might still be worth opening an issue with one of the crates, so that the conversion is part of the type system and not "stringly" typed.

my hope is that we're all going to converge on icu4x_locid soon.


Create chirp-rebinning-e2e-workflow-wrapper.test.cwl

created the test version of the wrapper that needs to be deployed to the utilize TEST shared services.
Purpose

Clear, easy-to-understand sentences outlining the purpose of the PR

Proposed Changes

[ADD] ...
[CHANGE] ...
[FIX] ...

Issues

Links to relevant issues
Example: issue-XYZ

Testing

Provide some proof you've tested your changes
Example: test results available at ...
Example: tested on operating system ...

This is PR is to point the SIPS-Test and MCP-Test deployments of the chirp workflow to the test shared services.


I'm sorry, I thought your were the one responsible for the MindMeld Mixer for VC Rack

I seem to have gotten things confused.  I submitted issues and requests to the wrong developer.  I honestly don't know how this happened.  I don't know how to access your email to inform you of my mistake so I'm just submitting another issue.
Sorry, Mike

No worries, i thought that was what had happened.
Did you find the guy you were after?


Dwell-time based load shape testing

Is your feature request related to a problem? Please describe.

I have a load shape defined, following the helpful examples from https://github.com/locustio/locust/tree/master/examples/custom_shape
My effective user spawn rate is very slow, topping out around 1-2 users/sec (likely something I need to optimize, but that's outside the scope of this proposal). I try to compute appropriately long duration steps, but even still, I often see that the shape runner moves on to the next step when the current step hasn't reached its target user level. After that, Locust seems like it is always playing catch-up, and my shape is wonky.
Describe the solution you'd like

I'd like to propose a new kind of shape runner that takes different arguments:

users: the number of users desired at a given step
dwell time: the amount of time to wait, once the target number of users has been reached

The duration is not defined by the user: it is an implicit property that comes from the sum of (actual) spawn times, plus all the dwell times. The spawn rate is also not explicitly defined. It is implicitly "as fast as you can go" because all that matters is that the target is reached.
Describe alternatives you've considered

I looked at adding the existing "wait" parameter to the existing runner's start method, but because the current load shape is based on checking elapsed time and pre-specified duration, I could not think of a way to make it work. At best, some crazy additions to durations or perhaps some timer reset tricks.
Additional context

I need this for my own work and would be happy to submit a PR if the proposed functionality is agreeable to you.

I think I understand the use case, but couldnt this be implemented fairly easy as a shape subclass? (similar to https://github.com/locustio/locust/blob/master/examples/custom_shape/stages.py) It doesnt sound like the math would be that hard?
If the shape is ”wonky” then we should try to fix it. Do you have a good repro case for that?

I couldn't think of a good way to do that becaus the LoadTestShape base class does not provide any means of knowing what the current number of users is. That state is a property of the runner. I think the only way to maintain that separation of state is to implement a new kind of runner, but I'd be happy if I were wrong.
To be clear, "wonky" shape is not a bug on your end. It is that the entire shape gets skewed rightward and never reaches the specified number of users.

Aha, ok! Well I guess it may make sense to expose the number of currently running users to tick() (or passing the entire environment or runner to the shape’s constructor). I’m sort of +/-0 to doing it.

the LoadTestShape base class does not provide any means of knowing what the current number of users is

Exactly. It only knows time passed.
@msarahan I think you need to adjust the time in the steps to be longer to allow your load test to reach the required users. This will require some trial and error. And could vary somewhat between load tests also.

I'd like to propose a new kind of shape runner that takes different arguments:

I think just making the total user count available to the LoadTestShape some how will solve this for you and enable some more complex load tests also 🙂

Great, thanks for the feedback. I'll work on a PR adding that, with a new example of using the user count.

resolved by #1719


[GH-31] GolangCI-Lint Integration

Summary

Integrates GolangCI-Lint.
Ticket Link

Fixes #31

Codecov Report

Merging #32 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #32   +/-   ##
=======================================
  Coverage   78.63%   78.63%
=======================================
  Files           3        3
  Lines        1081     1081
=======================================
  Hits          850      850
  Misses        146      146
  Partials       85       85

Impacted Files
Coverage Δ

server/memelibrary/memelibrary.go
82.00% <ø> (ø)

Continue to review full report at Codecov.

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

@DHaussermann Skipping QA testing as there are no changes to the product


@Api(value="...") not working

Hi,
@Api(value="Location Rest Controller")
@Controller
public class LocationRestController
{

for the above code i'm getting this json
 "host": "<IP_ADDRESS>:8080",
  "basePath": "/rest",
  "tags": [
    {
      "name": "location-rest-controller ",
      "description": "Location Rest Controller"
    },

Excpected :
 "host": "<IP_ADDRESS>:8080",
  "basePath": "/rest",
  "tags": [
    {
      "name": "Location Rest Controller ",
      "description": ""
    },

Why am i getting   "name" separated by hyphen?

Use @Api(value="Location Rest Controller", tags="Location Rest Controller")

Use @Api(value="Location Rest Controller", tags="Location Rest Controller"),it's not working,
this is my config:
`@Configuration
@ComponentScan(basePackages = {"com.amoebo.backend.api.controller"})
@EnableWebMvc
@EnableSwagger2
public class SwaggerConfig {
public static final String SWAGGER_SCAN_BASE_PACKAGE = "com.amoebo.backend.api.controller";
public static final String VERSION = "1.0.0";

@Bean
public Docket customDocket() {
    return new Docket(DocumentationType.SWAGGER_2)
            .apiInfo(apiInfo())
            .select()
            .apis(RequestHandlerSelectors.basePackage(SWAGGER_SCAN_BASE_PACKAGE))
            .paths(PathSelectors.any())
            .build();
}

}
`
@Api(value = "brand", tags = "brand") @RestController @RequestMapping("/v1/api/brands") public class BrandController {

@punkmonday what is not working? What are u seeing?

@dilipkrish ui show "brand-controller"

@dilipkrish i found solution, verymethod @ApiOperation must add attr tags="brand" , it works for me

👍 thanks for reporting back @punkmonday

Has adding tags on every @ApiOperation been regarded as a solution?

@Api(tags = "brand") would do the trick.


Wrong Environment variables on production

Looks like ENV_HOST and NEXT_PUBLIC_VERCEL_URL are set incorrectly for https://plannerjs.dev/  leading to mixed content warning for favicons and  invalid og:url.
Thank you for making this public btw. Awesome project :tada:

ENV_HOST is only used in DEV (local build - .env.local). In production the app falls back to using NODE_ENV to infer "http" or "https".
I'm not sure why the host is coming through as "http" though now b'c I've tried adding an environment variable on the Vercel side for production builds that specifies "https". Guess I'll need to look at it after work. Thanks for the heads up.

Oh, I think this is coming from the _document.js which can't access env variables. I need to add a fallback to look at the location. Lemme try something really quick.

Fixed via 7aa0fc0. Thanks again!


Fix symlink path separators

Changes
When running on Windows the path separators in symlink target is backslash. This must be fixed up when uploading source code into docker daemon or into cluster volume.
Fixes #2529
/kind bug
fix: Go functions fails to build using S2I on Windows

@jrangelramos please verify this fixes the issue.

/lgtm


fix aio build to support arm64 on rhel7 and Jetson

Which issue(s) this PR addresses:

Closes #
Allow aio microshift work on Jetson
https://asciinema.org/a/RxaDwb6QZFMGa7DCxeSWgdpey
@mangelajo

/lgtm


S3

Thanks for your project! We are working on some other adjustments relating
to S3 storages. I'll submit an new pullrequest once we are done.
One question. Is the cron.j2 working at your place. Ansible creates an file
in /etc/cron.d but I crontab doesn't seem to do anything with it. Do you
have an idea? Thanks again. Joost
Met vriendelijke groeten,
Joost Saanen
On 24 June 2015 at 10:52, José Coelho<EMAIL_ADDRESS>wrote:

Merged #2 https://github.com/jacoelho/ansible-backup/pull/2.
—
Reply to this email directly or view it on GitHub
https://github.com/jacoelho/ansible-backup/pull/2#event-338709729.


Cannot Preview image

Everytime I click the image, it gives me this error:
Uncaught TypeError: Cannot read property 'className' of undefined at o (index.js:347)     at i (index.js:352)     at s (index.js:373)     at t.value (index.js:674)
Version: 1.2.1

Import this wherever you want in your application:
import 'react-lightbox-component/build/css/index.css';


Checkbox copy paste

Hi,
I saw jexcel demos today. Loved it.
I have been using handsontable for a while in many of my projects.
I found jexcel to have some features that handsontable does not have.
However, one feature of handsontable that I did not find on jexcel is:
In handsontable, you can copy a checkbox column (or range of checkbox cells) and paste. On paste, the states of copied checkbox cells is applied in the destination. I loved this feature. It helps in copying configurations very easily.
Do you have any plans of adding this feature in jexcel, or can it be added?

It supposed to happen, but using ones and zeros.
Regards
On Friday, July 27, 2018, ravi99249<EMAIL_ADDRESS>wrote:

Hi,
I saw jexcel demos today. Loved it.
I have been using handsontable for a while in many of my projects.
I found jexcel to have some features that handsontable does not have.
However, one feature of handsontable that I did not find on jexcel is:
In handsontable, you can copy a checkbox column (or range of checkbox
cells) and paste. On paste, the states of copied checkbox cells is applied
in the destination. I loved this feature. It helps in copying
configurations very easily.
Do you have any plans of adding this feature in jexcel, or can it be added?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/paulhodel/jexcel/issues/190, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFvagX79EIx4Zj2YmyiZnbK9SBbJg2Ozks5uK1DvgaJpZM4VkTRj
.

I did a little testing on the first example on https://bossanova.uk/jexcel/examples and on the jsfiddle link (https://jsfiddle.net/paulhodel/kgmcav01/)
Outcomes:
a) On the examples page, copying of checked checkbox does not work. Unchecked checkbox cells can be copied and pasted well. This issue is not there on jsfiddle page.
b) On the examples page, with a checkbox cell selected (not the checkbox), hitting spacebar does not toggle the checkbox.
c) On the jsfiddle page, selected cell does not "highlight" correctly for checkbox type cells (when you select a cell with mouse click).
d) On the jsfiddle page, "sometimes" the checkbox toggles even if you click outside the checkbox in the checkbox cell. I was trying to select a checkbox cell - but it toggled the checkbox.
e) There appears to be some issue, when I navigate using arrow keys, in / around checkbox cells.
f) Selecting a checkbox cell should be same as selecting the checkbox - means (1) hitting spacebar with checkbox cell selected should toggle the checkbox and (2) directly clicking the checkbox in a checkbox cell should select the cell containing the checkbox.

I am going to improve this option very soon following your suggestions.

It has been done. Please, you can download from the master repository. I will update the site documentation later on.

Hello,
3 more things please:
a) When I double click an empty dropdown cell, the first option in the
dropdown gets autoselected. It should just open the dropdown options
without populating the cell.
b) When I click a range of checkbox cells or a column of checkbox cells,
and hit spacebar, only the first cell's checkbox toggles. All should toggle
as all are selected.
c) When I select a value, copy it and then select a range of cells and hit
Ctrl+V (paste), the copied value gets set only in the last cell. It should
apply to all selected cells (like MS Excel)
I am planning to switch to jexcel from handsontable. If things workout, I
will certainly donate.
On Fri, Aug 3, 2018 at 8:08 PM, Paul Hodel<EMAIL_ADDRESS>wrote:

It has been done. Please, you can download from the master repository. I
will update the site documentation later on.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/paulhodel/jexcel/issues/190#issuecomment-410272064,
or mute the thread
https://github.com/notifications/unsubscribe-auth/An3RpsZZygjkJsEAxIW66c_R4hM2yeJHks5uNGB_gaJpZM4VkTRj
.


/usr/lib/libpango-1.0.so.0: undefined symbol: g_once_init_leave_pointer

Hi, I tried to install Howdy on Arch Linux by downloading it from AUR. However, I encountered some dependency issues. When I try to run sudo howdy add, I get this error:
/usr/lib/libpango-1.0.so.0: undefined symbol: g_once_init_leave_pointer

And when I run sudo howdy test, I receive the following traceback:
Traceback (most recent call last):
  File "/usr/bin/howdy", line 109, in <module>
    import cli.test
  File "/usr/lib/security/howdy/cli/test.py", line 8, in <module>
    import dlib
  File "/home/alevulcu/anaconda3/lib/python3.11/site-packages/dlib/__init__.py", line 19, in <module>
    from _dlib_pybind11 import *
ImportError: /usr/lib/libpango-1.0.so.0: undefined symbol: g_once_init_leave_pointer

I understand that the problem is related to libpango, but I can't figure out how to fix this. Can someone help me?

Linux distribution: Arch Linux
Howdy version (sudo howdy version): Howdy 2.6.1

Run python -Syu

I already tried to run pacman -Syu, still doesn't work

I already tried to run pacman -Syu, still doesn't work

Same problem with rrdtool command. I think there is a problem with the pango package.

I encounter the same problem with pango-1:1.52.2-1, even after running pacman -Syu

I hit the same issue even if I build the libpango 1.52.2 tag from source and install. Seems like an issue with the glib package?

I'll just add that I had the same error but running pacman -Syu did fix it for me. I'm running Arch Linux in WSL2.

I've encountered the same problem, I've managed to solve this by following this thread
I got it working running
LD_PRELOAD="/usr/lib/libgio-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so" /opt/resolve/bin/resolve
Can we get a permanent fix for this?

I've encountered the same problem, I've managed to solve this by following this thread
I got it working running LD_PRELOAD="/usr/lib/libgio-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so" /opt/resolve/bin/resolve
Can we get a permanent fix for this?

Was facing the same issue on Davinci Resolve, this fixed it for me

Thank you @shae-ra !
also this can be done to avoid launch the program via terminal every time.
cp /usr/lib/libgio-2.0.so /opt/resolve/libs
cp /usr/lib/libgmodule-2.0.so /opt/resolve/libs
cp /usr/lib/libglib-2.0.so /opt/resolve/libs
if you have resolve in different dir than /opt/resolve be sure to change it.

thank you @tchilikov
for those on Ubuntu
LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libgio-2.0.so /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so /usr/lib/x86_64-linux-gnu/libglib-2.0.so" /opt/resolve/bin/resolve

Thank you all! On Ubuntu 24.04 and Resolve Studio 19.0.2 (.deb packaged using Daniel Tufvesson's tool) I did
LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0" /opt/resolve/bin/resolve
(note the zeroes added to the file names) and Resolve has started, I activated using my licence key, it optimized 67 Neural Engines (that took a while) and I was able to run a test media import, edit, and export.

Thank you @shae-ra !
also this can be done to avoid launch the program via terminal every time.
cp /usr/lib/libgio-2.0.so /opt/resolve/libs cp /usr/lib/libgmodule-2.0.so /opt/resolve/libs cp /usr/lib/libglib-2.0.so /opt/resolve/libs
if you have resolve in different dir than /opt/resolve be sure to change it.

wrote a simple script for it
https://github.com/TKtheDEV/davinci-resolve-installer-ubuntu


Not working with DCOS

Hi,
I am trying out the autoscaler on DCOS. The autoscaler is up and running and can fetch data from mesos and marathon as expected. However, it is not scaling the applications.
i tried to add logs around the autoscaler to see what might be wrong. Apparently the application-definition always turns out to be empty {} so the is_app_participating function is always passed an empty dict
app_def = ApplicationDefinition(metrics_summary.get("application_  returns null
My application's marathon JSON (condensed) is as follows:
{   "id": "/spark3",   "backoffFactor": 1.15,   "backoffSeconds": 1,   "container": {     "type": "DOCKER",     "volumes": [],     "docker": {       "image": "mesosphere/spark:2.0.1-2.2.0-1-hadoop-2.6",       "forcePullImage": true,       "privileged": false,       "parameters": [         {           "key": "user",           "value": "root"         }       ]     }   },   "cpus": 1,   "disk": 0,   "instances": 1,   "labels": {     "mas_rule_fastscaleup": "cpu | >50 | PT1M | 2 | PT1M30S",     "min_instances": "1",     "max_instances": "10",     "use_marathon_autoscaler": "yes"   } }
Is it something wrong here? Can you please point me in the right direction?
Thanks for the help.

I found the culprit statement.
In the following code snippet,
metric_sums["application_definition"] = next((appdef for appdef in marathon_apps                                            if app.replace("_","/") == appdef.get("id")), {})
the if statement is using a replace method and then trying to match the app name with the app id. Now, in the version of Marathon I am using, app name is not prepended with the expected "_"
I made a small fix for this.
metric_sums["application_definition"] = next((appdef for appdef in marathon_apps                                            if app.replace("_","") == appdef.get("id").replace("/","")), {})
Works like a charm now. Thanks @tendrilinc
I am going to make the change on a forked version of this repo.
Regards,
Hassaan


Why DataLoaderShard call synchronize_rng_states for self.generator in __iter__ by default?

In Accelerator.__init__, if rng_types is None, it will be initialized by ["generator"].
Accelerator.prepare_data_loader will pass self.rng_types.copy() to prepare_data_loader, and then pass it to DataLoaderShard.
Finally DataLoaderShard call synchronize_rng_states(self.rng_types, self.generator).
This took me 1 hour to figure out why torch.manual_seed(device.index) doesn't work -- all GPU's DataLoader get the same base_seed for workers. (Initially I expect loader.generator is None, however it doesn't. It turns out that accelerate will create a generator for prepared loader.)
It might be necessary to synchronize sampler's rng states.
However I think it is not necessary to make loader.generator is sampler.generator.

Please use the forums to ask such questions as we keep the issues for bugs and feature requests only. Not sure what the actual question is, but the sync is needed so that each process sees the same random permutation of samples. You can read more about it in the documentation.

Sorry for my unclear presentation. The actual question is, can we split sampler's generator and dataloader's generator?
Detailed motivation: Pytorch DataLoader will use loader.generator to generate base_seed for workers. Without accelerate, users can simply manual_seed for different GPU process, to get different base_seed.

Ah, thanks for clarifying! Right now it's not possible, but it's certainly something we can look into. Can you tell us a little bit more about the use case?

I completely rewrite this issue and describe the use case.

To a certain extent, this is a bug report instead of a feature request.
Since the synchronization of base_seed is unexpected.

Related PyTorch code:
https://github.com/pytorch/pytorch/blob/eafc910d16a99200af089099e24468c7f8926a05/torch/utils/data/dataloader.py#L424-L437
https://github.com/pytorch/pytorch/blob/eafc910d16a99200af089099e24468c7f8926a05/torch/utils/data/dataloader.py#L378-L383
https://github.com/pytorch/pytorch/blob/eafc910d16a99200af089099e24468c7f8926a05/torch/utils/data/dataloader.py#L601
https://github.com/pytorch/pytorch/blob/eafc910d16a99200af089099e24468c7f8926a05/torch/utils/data/dataloader.py#L1022-L1028
As you can see, the execution of DataLoaderShard.__iter__ will be:

DataLoaderShard synchronize self.generator(i.e. loader.generator)
DataLoaderShard call DataLoader.__iter__
*DataLoaderIter is created with self._base_seed = torch.empty((), dtype=torch.int64).random_(generator=loader.generator).item()
Synchronized self._base_seed is passed to _worker_loop to initialize the worker.

Hello @YouJiacheng, thank for the detailed explanation and pointer, very helpful. Could you please try the above PR and let us know if that fixes the issue?

Sorry, after opened this issue, I used a workaround to fix it: using worker_init_fn to set the seed.
So I can't provide a real world use case without reverting my workaround.


Support Localization of the website

Many people like to read website in their mother tongue. For example, in Kubernetes documentation, only 50% of the page views are in English. Supporting localization of the Cilium website will help grow our community and provide good entry points for new contributors from different backgrounds to the Cilium community.
Describe the feature you'd like
To help people start a new localization, they need:

Community guidelines on how to start a localization
Technical tutorials how to create and build the localization
Minimum requirements for having a localization be part of the website
Build fall back into the docs for when a page hasn't been translated

The Kubernetes project has a good framework that we could follow:
See https://kubernetes.io/docs/contribute/localization/. Some key parts would be:
a) If you want the Kubernetes documentation localized into a new language, here's what you need to do. Because contributors can't approve their own pull requests, you need at least two contributors to begin a localization. All localization teams must be self-sustaining. The Kubernetes website is happy to host your work, but it's up to you to translate it and keep existing localized content current.
b) Localizing all of the Kubernetes documentation is an enormous task. It's okay to start small and expand over time. When you start a new localization, you must localize all the minimum required content before the Kubernetes project can publish your changes to the live website.
c) Localizing the README and CoC
Create a README (Kubernetes example) that tells people how to build, test, and troubleshoot the documentation.
Decide upon a set of minimum required content for localized documentation to be mereged into master. I would suggest

[ ] Use cases
[ ] get started
[ ] get involved
[ ] get help
[ ] events
[ ] blog
[ ] enterprise
[ ] newsletter

Make sure the docs fall back to English rather than 404 when a page has not been translated yet.
Reference
These two talks from Zach Corleissen are also helpful to understand how Kubernetes did it:
Multilingual Kubernetes: The kubernetes.io stack, how we got there, and what it took to get there
Localize your open source documentation: a Kubernetes case study

I'd love to work on pt-br localization.
I've made some contributions to Kubernetes localization and I believe it's a good framework.
About the minimum required content,  maybe we should look for the most accessed pages, aside from those you've mentioned.

Sorry for taking so long to get back to you 😓
Are you interested in helping make the framework or do you just want to do the localization?

Would be great if we can pick it back up again in the future


Assert `wire' failed in passes/techmap/abc9_ops.cc:967 with &fraig in abc9.script

Steps to reproduce the issue
Using bug.tar.gz run yosys -s script.ys chess.v. (Sorry, but bugpoint crashed while working on this, so I don't have anything more minimal than the input source)
Expected behavior
ABC9 either succeeds or fails gracefully.
Actual behavior
<IP_ADDRESS>. Executing ABC9_OPS pass (helper functions for ABC9).
ABC RESULTS:              $lut cells:     1636
ERROR: Assert `wire' failed in passes/techmap/abc9_ops.cc:968.

This is a tricky one; for example, replacing synth_xilinx with synth_ecp5 works, but synth_ice40 does not. The bug seems to be specifically related to &fraig; without it this is just the default ABC9 script. It's a shame, too; it seems to provide a pretty major reduction in delay, though at an expense of area (perhaps that could be fixed with a abc9.script.flow3-like approach?)
cc @eddiehung

(I forgot to attach the source files before hitting submit; they're attached now)

&fraig is not supported in any box-aware flow.

Right, okay; the ABC docs are not all that clear on this. Feel free to close this then.


Still automatically skip when level loaded

I'm on 4.27 even with this config and no call of "StopLoadingScreen" it's skipping the loading screen

I suggest not using the manual stop since it is not working correctly. I may remove this option in the future.


Getting data pointer of Matrix4f?

Hello. Currently I'm trying to copy tracking pose information(transformation matrix) of each frame to Eigen::Matrix4f.
To do that, I should know data pointer of sl::Matrix4f.
In ZED online api document, it doesn't mention anything about it.
However I found this in types.hpp of ZED SDK
    \class Matrix4f
    \ingroup Core_group
    \brief Represents a generic fourth-dimensional matrix.

    sIt is defined in a row-major order, it means that, in the value buffer, the entire first row is stored first, followed by the entire second row, and so on.
    You can access the data by the 'm' ptr or by the element attribute.
    \f[\begin{bmatrix}
    r00 & r01 & r02 & tx \\
    r10 & r11 & r22 & ty \\
    r20 & r21 & r22 & tz \\
    m30 & m31 & m32 & m33
    \end{bmatrix} \f]

....

// in Matrix4f class
        union {

            struct {
                float r00, r01, r02, tx, r10, r11, r12, ty, r20, r21, r22, tz, m30, m31, m32, m33;
            };
            // ptr to inner data.
            float m[nbElem];
        };
        /// @endcond

....

So what I want to ask is that even though public array pointer m does not appeared in ZED api doc, am I okay to use it?
Also, is there any handy way to get globally registered point cloud?
Right now, I just copy point cloud of single frame and multiply inverse of pose transformation in every single point.
But this is quite cumbersome and this feature seems to be implemented quite efficiently in ZED SDK.
Do you guys have any plans for implementing it in future ZED SDK?

And how is this transformation cumbersome? It is a clean way to separate the point cloud from the ESTIMATED transformation, and it would be literally only ONE additional matrix multiplication per frame, since you use a transformation chain anyway for display. Again, that is not per point, per FRAME.

https://www.stereolabs.com/developers/documentation/API/v2.4.0/classsl_1_1Transform.html
As I said above the m pointer is not mentioned in latest api document. Please check it out.

Mathematically you are right.
As far as I know zed only provide point cloud defined in each frame right? They are already defined in that frame so that there is no way to avoid  mulitplication of transformation.
Does zed provide a way to apply the transformation to frame? Am I missing something?

Hi,
Not sure if I correctly understood what you wanted but you can already get the point clouds in world reference frame by changing the RuntimeParameters given to the grab function.
measure3D_reference_frame should be put to REFERENCE_FRAME_WORLD.
If you want to cast the sl::Matrix4f to Eigen::Matrix4f, feel free to use the pointer m, like this.

-> 2.4.0 Matrix4f
https://www.stereolabs.com/developers/documentation/API/v2.4.0/classsl_1_1Matrix4f.html
Detailed Description
Represents a generic fourth-dimensional matrix.
sIt is defined in a row-major order, it means that, in the value buffer, the entire first row is stored first, followed by the entire second row, and so on. You can access the data by the 'm' ptr or by the element attribute.
[\begin{bmatrix} r00 & r01 & r02 & tx \ r10 & r11 & r22 & ty \ r20 & r21 & r22 & tz \ m30 & m31 & m32 & m33 \end{bmatrix} ]

@WASCHMASCHINE
So it was in Matrix4f... I only checked Transform page. Sorry about that. It was my dumb mistake.
@adujardin  @WASCHMASCHINE
I had no problem using the pointer m. I worked with this code snippet and it works nicely.
sl::Matrix4f zed_transform = pose.pose_data;
T = Eigen::Map<Eigen::Matrix<float, 4, 4, Eigen::RowMajor>>(zed_transform.m);

Thanks for sharing code snippet anyway.
What I wanted to say in this issue was in latest api document of Transform m is not written and wanted to let you guys know. But it details were in Matrix4f.
Also

Not sure if I correctly understood what you wanted but you can already get the point clouds in world reference frame by changing the RuntimeParameters given to the grab function.
measure3D_reference_frame should be put to REFERENCE_FRAME_WORLD.
Yes this is exactly what I wanted.

@adujardin So you are saying that
If I use REFERENCE_FRAME_WORLD, I can get points registered in world frame?
I already use that parameter however I thought it only affect to tracking pose and point cloud just stay in camera frame. This is the reason why I thought like that.

REFERENCE_FRAME_WORLD  | The transform of sl::Pose will contains the motion with reference to the world frame (previously called PATH).

So I tried to transform all point with inverse transform of corresponding pose.
But clearly there is another api doc which describe

Provides 3D measures (point cloud and normals) in the desired reference frame (default is REFERENCE_FRAME_CAMERA)
default : REFERENCE_FRAME_CAMERA

If I can get globally registered point cloud by only change the parameter that will be best for me. Now I can understand what @WASCHMASCHINE said.
Thank you guys. And sorry about dumb mistakes.


Implement campaign delivering

In this tutorial only support few ways to delivery ad campaigns

Will support JSON API, Iframe, script tag


feature/pin-redbox-core-dependency-for-worker

Context
As an Engineer I want to pin the worker and core-api's dependency on redbox-core to a specific version so that I do not have to rebuild to worker/core-api every time an unrelated change gets made in core
Changes proposed in this pull request
I also had to fix some typing
Guidance to review

Relevant links
https://technologyprogramme.atlassian.net/browse/REDBOX-548
Things to check

[ ] I have added any new ENV vars in all deployed environments
[ ] I have tested any code added or changed
[x] I have run integration tests https://github.com/i-dot-ai/redbox/actions/runs/10038278467

When we're developing wouldn't this change make it so we don't see changes in redbox-core in core-api/worker? Feels like we want develop install for dev and only a fixed install for docker builds somehow?

good point.... ill have a think about this


Fix discovered_refs tracebacks.

Upgrade failure is because the IPs of the backed up and the test instance don't match. I need to rethink upgrade testing.


Mobile Support?

Can this plugin be updated to support mobile devices?

I would like to, but I don't know how to modify to support mobile.😥

Thanks to https://keathmilligan.net/obsidian-plugin-cross-platform-testing, now I know one of the problems is about the RegExp
[error] Plugin failure: obsidian-text-format SyntaxError: Invalid regular expression: invalid group specifier name

(fixing on it)

v2.0.0 support mobile, finally!


How to use it  for Chinese words ？

How to use it  for Chinese words ？

We offer data/shi.txt as a Chinese training set. You can just run python main.py -g seqgan -t real -d data/shi.txt
Or you can use your own dataset, where each character must be separated by spaces, just like in shi.txt
秦 川 雄 帝 宅 ， 函 谷 壮 皇 居 。 绮 殿 千 寻 起 ， 离 宫 百 雉 余 。

thank you very much! It is a great work!


'attr-value-double-quotes' when set to false should check for single quotes instead?

Right now when attr-value-double-quotes is set to true it checks to see if attribute values are in double quotes. But when it is false it doesn't check presence of quotes at all. I assume a more intuitive implementation would be that when specified as false that it would check for single quotes instead.

I disagree. People should be allowed to omit quotes if they want (and if they can, of course!), or to mix quotes if that's what they like (or if it fits a need).
Another rule to enforce single quote is preferable.
I see @JustinDFuller made a PR following this idea, BTW...

Thanks @PhiLhoSoft @alallier @yaniswang We have a PR (that passed tests) for this issue, if people are agreed on the implementation could we look at accepting it?

I agree the new rule is good. Although a friend of mine tried to implement this before and it was never accepted see #66

In my opinion, we should put attr-value-double-quotes and attr-value-single-quotes into a rule together attr-value-quotes and make the options more extensible
{
  "attr-value-quotes": [true, { "quote": "single", "severity": "warning" }]
}

The value true or false should only indicate whether the rule is active or not
This will make #154 obsolete


Isolate Flatland dependency

Proposed changes
This patch separates the Flatland dependency from the usual ROS workflow, documenting the necessary steps to satisfy it when and if necessary. This should fix the recent breakage in Beluga doc jobs up in the ROS buildfarm (e.g. Hdev, Idev).
Type of change

[x] 🐛 Bugfix (change which fixes an issue)
[ ] 🚀 Feature (change which adds functionality)
[ ] 📚 Documentation (change which fixes or extends documentation)

Checklist

[x] Lint and unit tests (if any) pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)
[x] All commits have been signed for DCO

The lack of coverage seems spurious; I will delve into this later. But I think I have a good idea where it comes from.
https://app.codecov.io/gh/Ekumen-OS/beluga/pull/361/indirect-changes#57c8b5edf215e8975279bd435256c5d7-R185


"iter8-tools/host": must be no more than 63 characters

Description
Experiment fails if the host is too long
Details
tekton-101-iter8-v1-experiment   Pause   RoutingRulesError: UnexpectedCondition: unable to parse requirement: invalid label value: "istio-ingressgateway-istio-system.apps.cluster-0000.sandbox1493.opentlc.com": at key: "iter8-tools/host": must be no more than 63 characters , Experiment Pause   tekton-101-v1   0            tekton-101-v1   0
and yaml
# iter8: Initial Experiment
apiVersion: iter8.tools/v1alpha1
kind: Experiment
metadata:
  name: tekton-101-iter8-v1-experiment
spec:
  targetService:
    kind: Service
    # service name
    #name: tekton-101-v1
    baseline: tekton-101-v1
    candidate: tekton-101-v1
    hosts:
      - name: istio-ingressgateway-istio-system.apps.cluster-0000.sandbox1493.opentlc.com
        gateway: tekton-101-gateway
  trafficControl:
    strategy: check_and_increment
    interval: 10s
    trafficStepSize: 90
    maxIterations: 1
    maxTrafficPercentage: 90
  analysis:
    analyticsService: "http://iter8-analytics.iter8:8080"

Additional
Why is it not possible to support wildcard hosts? Otherwise the support to define uri matcher for the VS would be also helpful.

This will be supported in v1.0.0.

@fabolive did you try this with v0.2.1 or v1.0.0 ? Would be good to try again ...


bug: does cmd/contour have to call flag.Parse unconditionally

ERROR: logging before flag.Parse: W1218 11:31:33.776933   73199 reflector.go:341] github.com/heptio/contour/internal/k8s/watcher.go:61: watch of *v1.Endpoints ended with: too old resource version: 8605078 (8606302)

cmd/contour uses kingpin, not flag, but I suspect the glog infection via client-go requires flag.Parse to be called unconditionally.

I'll take a look at this. Is the glog implicit dependency confirmed or simply suspected at this moment?

We get it for free with client-go.
On Tue, Dec 19, 2017 at 10:57 AM, Will Madison<EMAIL_ADDRESS>wrote:

I'll take a look at this. Is the glog implicit dependency confirmed or
simply suspected at this moment?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/heptio/contour/issues/113#issuecomment-352596099, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAcA_wmk0CqcgaSundAYmj8BhRLdIxnks5tBvwCgaJpZM4RE3BT
.

Kewl I'll investigate further. I'd like to add an appropriate test for this bug but it sounds like it's as simple as adding an innocuous call to flag.Parse() but I'll look into it

I'm fine with not having a test for this, a sufficiently scarey comment in
cmd/contour/contour.go will do
// we need this because (long rant about how glog is terrible)
func init() {
flag.Parse()
}
On Tue, Dec 19, 2017 at 11:07 AM, Will Madison<EMAIL_ADDRESS>wrote:

Kewl I'll investigate further. I'd like to add an appropriate test for
this bug but it sounds like it's as simple as adding an innocuous call to
flag.Parse() but I'll look into it
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/heptio/contour/issues/113#issuecomment-352597971, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAcA-QtmsHb8QOYkolDeUhMLHakk--cks5tBv5NgaJpZM4RE3BT
.

Fair enough. PR coming in just a sec...


a to do list for manuscript edits and remaining issues

Issues related to Dr. Gross's comments:

[x] 1. Add sentences for novelty. (FM)

[x] 2. Explain model works if heterogeneity is pre-existing or drug-induced. (FM)

[x] 3. Define "state", "heterogeneity", "plasticity", "transition probability". (JC)

[x] 4. tHMM assumptions more clearly. (JC)

[ ] 5. Better interpret the first figure, and add a measure of heterogeneity. (JC)

[ ] 6. Compare the time censorship results against Sorger and Quaranta papers (not sure which papers). (FM)

[x] 7. Clarify validating experiments (JC/FM)

#709


Switch API from mojang to https://github.com/Electroid/mojang-api

Due to some blocking of IPs by mojang its better to switch to https://github.com/Electroid/mojang-api
So instead of:
https://api.mojang.com/user/profiles/[uuid]/names
we can use now:
https://api.ashcon.app/mojang/v2/user/[uuid]

will be fixed in -> https://github.com/dirien/minecraft-prometheus-exporter/issues/13


Use fully qualified name of the class for MatchedLineFinder

@khaes-kth, now you can provide the path of the class relative to the project root.


Example of v5 with Elascticsearch, Kibana

Example of v5 with Elascticsearch, Kibana in docker-compose:
https://github.com/pcherednichenko/goek/
Using:

Golang 1.11
Elasticsearch v6.5.1
Kibana v6.5.1
docker-compose

You're using elastic.v5 with Elasticsearch/Kibana 6.x. That's not a good example actually.
There's a Wiki page for examples, actually. It's probably better to put it there than in the README.


[TASK]: Fix Unwanted scrolling and footer should be in the bottom

Task Summary
In some pages ( landing , Leaderboard , Add Snippet) the footer is not stick to the bottom and in some (Race, profile) pages there is extra heigth.
Screencast from 2023-07-14 23-18-27.webm

Started working on it. Will create a PR soon!

@vignesh-gupta did you fix the scrolling or just buttons?

Both are fixed now!


Wrong version dependency for 1.19.2

The mod version 1.7.2 is tagged as compatible for 1.19.2 but it requires higher versions of Architectury and Cloth Config, which are not for 1.19.2, resulting in crash.

1.19 is no longer supported


Not working properly in staging

Describe the bug
Worked fine in local environment, but the intercom icon is not showing up in staging and also failed to send request to Intercom.
We are using Hotjar, and could this be the reason that why it fails? I am suspicious on that.
To Reproduce
Steps to reproduce the behavior:
Just happened on staging for testing purposes.
Codesandbox link
Include a codesandox will help us to investigate the issue quicker.
Expected behavior
The icon should pop up in the bottom right corner. And there should be a ping request sent to Intercom.
But none of them happened in the staging environment.
Screenshots
In local which works fine:

In staging which it fails:

Desktop (please complete the following information):

OS: iOS
Browser: chrome
Version: N/A

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Thanks for the extensive description, any updates on how this issue got resolved?

Oh hi @devrnt , thank you for the follow up. It turned out to be an issue with our CI/CD pipeline, so the deployment to staging failed.
Thank you again!
By the way, really good job! Already starred 👍

@aldy97, I encountered the same issue, can you, please, share how to resolve this?


fastrtps: 2.14.1-1 in 'jazzy/distribution.yaml' [bloom]

Increasing version of package(s) in repository fastrtps to 2.14.1-1:

upstream repository: https://github.com/eProsima/Fast-DDS.git
release repository: https://github.com/ros2-gbp/fastrtps-release.git
distro file: jazzy/distribution.yaml
bloom version: 0.12.0
previous version for package: 2.14.0-2

We can't do this release right now, because we don't have https://github.com/ros2/rmw_fastrtps/pull/756 .  So closing until then.


conversion.py: Draft basic cleanup - UNTESTED

I haven't tested these changes. Without unit tests, I would not trust these changes.
The goal was to capture some initial cleanups that can be done on this file.
Changes:

Remove commented out code
Simplify use_math()
Remove unnecessary variables if just returning a value
Move code out of with open() scopes
x = x + foo → x += foo
No need to test a list to make sure it's not None if files is not None:
Comprehensions can be done right on results of a glob

There is a lot more than can be done (like making most of this code totally isolated from Jupyter), but this is a start.
An easy starter unit test:
class ConversionTest(unittest.TestCase):

  def test_use_math(self):
    self.assertFalse(conversion.use_math(['math', 'mATH']))
    self.assertTrue(conversion.use_math(['a', 'Math.pow()']))

This conversion module has changed significantly in #1968. There are several merge conflicts now. Sorry.

No worries. This was meant more to document ideas than to be a PR that is merged.

The conversion module has changed significantly. There are a lot of conflicts that need to be resoloved. I am going to close this one for now and open a new one.


(Question) setting up a sandbox env FHIR server

Do you want to request a feature, report a bug, or improve documentation?
I've been reading through docs & code — can you confirm the level of completeness of the Node FHIR Server Core as an implementation of the FHIR (US core) spec? I did figure out quickly that it doesn't include a data store, and I saw the MongoDB-based impl (which is only a partial impl: mostly TODOs to build the queries for most resources). I can't tell the state of the Sequelize-based impl. Is that just prelim code? Have you used it in internal projects?
Basically: I've not yet spent enough time in code to tell how much is missing, and the level of work required to make a fully-functional FHIR server. It'd be really nice to have this in the overview: e.g. "here's what this project does, and here's how you can use it; here is where to go next if you want to do X/Y/Z."
How does Asymmetrik use this project, internally? Do you have any info on how other people/companies have used it? What functionality is stable & covered with tests, vs. what's not (yet)? Do you have a roadmap?
It's tough to need to go through code to find things like this
  // query = applyArchivedFilter({ query, archivedParamPath, includeArchived });
  query = applySearchResultTransformations({
    query,
    searchResultTransformations,
  });
  // query = applyPaging({ query, pageNumber, resultsPerPage });
  return query;

and then realize oh, I think paging support is missing. Or maybe that was moved to the datasource-specific code, and I can ignore this? :sweat_smile:
Thanks in advance for any info you can offer. :+1:

node-fhir-server-core is a framework for building FHIR Servers, and is not a FHIR Server unto itself. node-fhir-server-mongo is a "proof of concept" project that uses node-fhir-server-core. node-fhir-server-mongo is not a complete implementation of FHIR, but moreso an example of how node-fhir-server-core can we used with a MongoDB database. You could use any database or none at all if you want.
Asymmetrik uses this project to build FHIR Servers that pull live data from different (usually legacy) sources. https://github.com/DataBiosphere/FHIR is one example of node-fhir-server-core being used out in the wild.

Excellent, thanks for filling in some of these gaps, and for the quick reply!


fix error caused by orphaned released events.

I've turned "Emulate Mouse From Touch" off in the Godot settings and for
some reason, Button controls like to steal/consume the initial touch
pressed event and then ignore the released event. What does this result
in?
Well this causes the InputManager to break because it expects every
pressed to have a matching released. Perhaps this assumption/issue needs
to be sorted out but I've made a quick patch that ignores released
events when there is no matching pressed event.
Because of https://github.com/godotengine/godot/issues/24589
Buttons don't really work with touch so in my project, I've added a
custom script. I noticed @Calinou commented on this issue referring to
Godot Touch Input Manager as a possible solution. Should Godot Touch
Input Manager have some sort of GUI Controls integration that fixes
this? or is this a Godot engine issue? something to think about.

I've turned "Emulate Mouse From Touch" off in the Godot settings and for
some reason, Button controls like to steal/consume the initial touch
pressed event and then ignore the released event.

I guess this has to do with:

InputManager.gd uses _unhandled_input to process touch input so it is possible that the button is consuming the press and thus not be processed by  _unhandled_input.

It seemed strange to me that it only happened with the press and not the release but I found this issue that may explain it.

What does this result in?
Well this causes the InputManager to break because it expects every
pressed to have a matching released. Perhaps this assumption/issue needs
to be sorted out but I've made a quick patch that ignores released
events when there is no matching pressed event.

For now, I'll merge this PR and then make some minor changes to the implementation.
I think a better solution though might be to change from _unhandled_input to _input in InputManager.gd. Although this can lead to problems as gesture detection in the GUI may not be desirable and I don't see this being reasonably achievable using _input due to custom input events not being consumed by control nodes. While on the other hand it is farily easy to stop ignoring gestures when using _unhandled_input (see issue #8). It remains to be seen if it is possible to get the control nodes to consume the custom input events for it to be viable to use _input.

Because of https://github.com/godotengine/godot/issues/24589
Buttons don't really work with touch so in my project, I've added a
custom script. I noticed @Calinou commented on this issue referring to
Godot Touch Input Manager as a possible solution. Should Godot Touch
Input Manager have some sort of GUI Controls integration that fixes
this? or is this a Godot engine issue? something to think about.

Maybe @Calinou is talking only about gesture detection. I think https://github.com/godotengine/godot/issues/24589 is mostly a Godot problem, especially regarding native touch events. Regarding the custom events of GDTIM, I don't know if there is a way to make them work correctly with the control nodes, if it exists it would be good to implement it.


Request: is it possible to rename a src folder in results?

I have this code:
compress: {
	main: {
		options: {
			archive: '../../<%= pkg.name %>.<%= pkg.version %>.zip'
		},
		files: [{
			expand: true,
			src: ['../www/**/*',
				'!desktop.ini',
				'!.DS_Store'
			],
			dest: 'hi'
		}]
	}
}

My directory structure looks like is:
app
  .build
    Gruntfile.js
    ..
  .src
  www
    css
      style.css
    js

The results outputs a zip with the folder www as main folder, is it possible to rename it to something else like; my_app ?

I've the same problem.

set the cwd with expand:true then use relative glob to that.

Thanks @ctalkington any examples would be great :)

expand:true, cwd:'../www', src: ['**/*', ...]

@ctalkington This doesn't work :(
 // Make a zipfile
        compress: {
            main: {
                options: {
                    archive: '../../<%= pkg.name %>.<%= pkg.version %>.zip'
                },
                files: [{
                    expand: true,
                    src: ['../www/**/*',
                        '!desktop.ini',
                        '!../www/config.php',
                        '!.DS_Store'
                    ],
                    dest: '<%= pkg.name %>/*'
                }]
            }
        },

The zip file still display a main folder in the zip, then inside of it www folder.

sorry i was on mobile before, try:
files: [{
  cwd: '../www/',
  expand: true,
  src: [
    '**/*',
    '!desktop.ini',
    '!config.php',
    '!.DS_Store'
  ],
  dest: '<%= pkg.name %>/'
}]

Thanks @ctalkington but the above code isn't working for my case as it adds all the files in all directories to the zip ('**/*').. I need to limit it to the '../www/**/*' folder and child sub folders of it..
Also the '!config.php' ignores other config.php files while I just need it to ignore the one in '!../www/config.php'
Thanks for your help.

Thanks @ctalkington it works!
    // Make a zipfile
        compress: {
            main: {
                options: {
                    archive: '../../<%= pkg.name %>.<%= pkg.version %>.zip'
                },
                files: [{
                    cwd: '../www/',
                    expand: true,
                    src: ['**',
                        '!desktop.ini',
                        '!../www/config.php',
                        '!.DS_Store'
                    ],
                    dest: ''
                }]
            }
        }


IsMasked property and performance guidance is missing from page

We should call out that for rectangular item scenarios, extra performance can be gained by setting IsMasked to false. That property is missing from our table in the docs here, and we should have a warning/note style paragraph about the performance of this control and this small optimization potential.

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

ID: 0c99bb14-bf94-d0d7-72cb-965aaaee4b9d
Version Independent ID: 1eb03fa8-2617-c6b7-8f1f-08ff1b76c5c9
Content: DropShadowPanel XAML Control - Windows Community Toolkit
Content Source: docs/controls/DropShadowPanel.md
Product: community-toolkit
GitHub Login: @nmetulev
Microsoft Alias: mhawker

Thank you.


Use history api

https://github.com/ff14-advanced-market-search/saddlebag-with-pockets/wiki/API-Call-Guide#history
need to connect our history api to a page that can use the results

So history output will have the following keys:
    "average_ppu"
    "average_quantity_sold_per_day"
    "average_sales_per_day"
    "median_ppu"
    "total_quantity_sold"

    "dirty_sales"
    "home_server_sales_by_hour_chart"
    "price_history"
    "stack_chance"

The following keys are simple and only show ints as their data:
    "average_ppu": 143,
    "average_quantity_sold_per_day": 1228,
    "average_sales_per_day": 56,
    "median_ppu": 45,
    "total_quantity_sold": 17192

The remaining keys are a bit more complex:

dirty_sales can either be an empty list (if there are no dirty sales) or a list with the following fields:

    "dirty_sales": [
        {
            "buyerName": "Vivian Kirisaki",
            "hq": false,
            "human_timestamp": "2022-10-04 07:21:55",
            "itemID": 4772,
            "onMannequin": false,
            "pricePerUnit": 500000,
            "quantity": 1,
            "realName": "Chicken Egg",
            "server": "Jenova",
            "timestamp":<PHONE_NUMBER>
        },
        {
            "buyerName": "Heresa Bandaid",
            "hq": false,
            "human_timestamp": "2022-09-30 10:49:44",
            "itemID": 4772,
            "onMannequin": false,
            "pricePerUnit": 2000000,
            "quantity": 1,
            "realName": "Chicken Egg",
            "server": "Midgardsormr",
            "timestamp":<PHONE_NUMBER>
        }
    ],

home_server_sales_by_hour_chart are data points to make into a line chart, the data is the sale amount (sale_amt) over a 1 hour time period starting at the unix timestamp (time).  In an ideal situation we should be able to zoom in and out of the chart and the unix timestamps will somehow be converted into a time that is readable.

    "home_server_sales_by_hour_chart": [
        {
            "sale_amt": 0,
            "time":<PHONE_NUMBER>
        },
        {
            "sale_amt": 0,
            "time":<PHONE_NUMBER>
        },
        {
            "sale_amt": 0,
            "time":<PHONE_NUMBER>
        }
    ],

price_history is a range of prices by gil amount and will have the sale amount in that price range to go along with it, this should be converted into a bar chart or a frequency distribution chart.

    "price_history": [
        {
            "price_range": "0-820",
            "sales_amount": 767
        },
        {
            "price_range": "820-1640",
            "sales_amount": 3
        },
        {
            "price_range": "1640-2460",
            "sales_amount": 1
        },
        {
            "price_range": "2460-3280",
            "sales_amount": 3
        },
        {
            "price_range": "3280-4100",
            "sales_amount": 1
        },
        {
            "price_range": "4920-5740",
            "sales_amount": 2
        }
    ],

stack_chance should be made into a regular table where you can sort the columns. stack_size should be the first column (its kind of like the primary key here) the order of the rest doesn't matter.

    "stack_chance": [
        {
            "average_price_for_size": 174,
            "number_of_sales": 445,
            "percent_of_sales": 56.6158,
            "percent_of_total_quantity_sold": 2.5884,
            "stack_size": 1
        },
        {
            "average_price_for_size": 93,
            "number_of_sales": 95,
            "percent_of_sales": 12.0865,
            "percent_of_total_quantity_sold": 54.7057,
            "stack_size": 99
        },
        {
            "average_price_for_size": 160,
            "number_of_sales": 30,
            "percent_of_sales": 3.8168,
            "percent_of_total_quantity_sold": 1.745,
            "stack_size": 10
        },
        {
            "average_price_for_size": 97,
            "number_of_sales": 16,
            "percent_of_sales": 2.0356,
            "percent_of_total_quantity_sold": 0.1861,
            "stack_size": 2
        }
    ],

note on stack_chance for items that only sell in stacks of 1 like armor there will only be 1 value in the list:

"stack_chance": [
        {
            "average_price_for_size": 97251,
            "number_of_sales": 5424,
            "percent_of_sales": 100.0,
            "percent_of_total_quantity_sold": 100.0,
            "stack_size": 1
        }
    ],


ARTEMIS-585 support send on dynamic sender link

The sender abstraction must be able to update its sender address in the
case of dynamic senders whose target address is not set until the code
initializes the link and creates a destination for it.

hmm, when I run the test in failure condition (without fix) it shows the correct error message but the test seems hang there.

@tabish121  Actually not hang, the receive timeout is 500 seconds, maybe we can reduce it to 5?

I copied that bit from another test and didn't see how long the delay was, I've updated the PR to use 500 ms instead :)


Show only timepicker

Hi all! I want to have a model field with time only. not date nor timestamp. How do i do that? New at voyager, need help.

Labels: question, feature, invalid
Close? (only sqlsrv)

All fields are required when submitting an issue.  Please use this format: https://github.com/the-control-group/voyager/blob/master/ISSUE_TEMPLATE