Fix typo ,format source code and replace set([...]) call with set literal {...}

There are some actions that still failing.

There are some actions that still failing.

I try to fix them

I cannot reproduce the failed test on my own PC, I'm using Windows 10 1909 and Python 3.6.8.
FAILED tests/test_issue22.py::test_issue22-MemoryError
> py.test .\tests\test_issue22.py
================================================= test session starts =================================================
platform win32 -- Python 3.6.8, pytest-5.4.3, py-1.8.2, pluggy-0.13.1
rootdir: ...
plugins: cov-2.10.0
collected 1 item

tests\test_issue22.py .                                                                                [100%]

================================================== 1 passed in 2.51s ==================================================

https://github.com/williballenthin/python-idb/pull/76#issuecomment-649452084
But when I run the complete test,
py.test ./tests/ -v --cov=idb

using Ubuntu20.04+Python2.7.10, it crashed.

Maybe try with the profiler? I think it might be a problem of the "zip" module.

Maybe try with the profiler? I think it might be a problem of the "zip" module.

Maybe you mean zlib ?
I see this  zlib.decompress() allocate ~560MB memory.
Filename: .../python-idb/idb/fileformat.py

Line #    Mem usage    Increment   Line Contents
================================================
   118     47.4 MiB     47.4 MiB       @profile()
   119                                 def pcb__contents(self):
   120     47.4 MiB      0.0 MiB           if not self.header.is_compressed:
   121                                         self.contents = self._contents
   122                                     else:
   123    559.5 MiB    512.1 MiB               self.contents = zlib.decompress(self._contents)
   124    559.5 MiB      0.0 MiB               logger.debug('decompressed parsed section.')

This db.vsParse() also allocate lots of memory, it inherited from v vstruct class.
Filename: /home/iov/Source/imbillow/python-idb/idb/__init__.py

Line #    Mem usage    Increment   Line Contents
================================================
    34     46.5 MiB     46.5 MiB   @profile
    35                             def from_buffer(buf):
    36                                 # break import cycle
    37     46.7 MiB      0.2 MiB       import idb.fileformat
    38
    39                                 # buf = memview(buf)
    40     46.7 MiB      0.0 MiB       db = idb.fileformat.IDB(buf)
    41   1071.5 MiB   1024.8 MiB       db.vsParse(buf)
    42   1071.5 MiB      0.0 MiB       return db

And it doesn’t seem to be released, at out of scope.

What's this...

doesn't even give any details why it failed. weird!

I'm not a huge fan of reformatting the source for the sake of it, but if it was automatically done, and we can configure GH actions to reformat using a consistent style on every commit, then I think this is worthwhile.

I think the failed check might be just a bug of GitHub/CI itself. Could be safely ignored.

I add black to format code, and add git hooks to auto format and run QA checks before every commit.
But it need config the hooksPath use:
git config core.hooksPath ./.githooks

I think the failed check might be just a bug of GitHub/CI itself. Could be safely ignored.
I am not very comfortable with disabling Python 2.7 on both Linux and Windows though, it represents a lot of users.

I agree with you, but after going through some profilers, I still don't know how to reduce the memory overhead of pytest.
It needs to consume 13G RAM now In Python 2.7 on Linux (and only needs about 5.5G RAM  in Python 3.8),
but GitHub Action runner only has 7G RAM available, and it seems that only more RAM can be used through Self-hosted runners RAM.

does it take 13GB to process a single .idb, or is that all the memory used by different test cases in the same process? if the latter, could we split up the test runs into multiple processes?

does it take 13GB to process a single .idb, or is that all the memory used by different test cases in the same process? if the latter, could we split up the test runs into multiple processes?

The latter. Yeah, we can split up the test runs into multiple processes. I just think it's not very elegant, but it does solve the problem.

Looks like these jobs stuck forever. Not sure if it's related with GitHub outage or the python-idb own problem.

I re-run the CI on my folk repo, it just remains the python2.7 on ubuntu-latest failed.

I can't find any log about the Run tests pass, even while I find it in the log archive.

And the raw logs of Python 2.7 at ubuntu-latest:
2020-06-29T14:27:15.5386044Z ##[section]Starting: Request a runner to run this job
2020-06-29T14:27:16.1287393Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest'
2020-06-29T14:27:16.1287430Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
2020-06-29T14:27:16.1287453Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
2020-06-29T14:27:16.3268744Z ##[section]Finishing: Request a runner to run this job

So I think it can be considered as a bug of GitHub Action.

So I think it's in a good shape to be merged.


Recover database after crash

When a node crashes, the badger db is left in an unhealthy state. It seems like the logs need to be truncated before the bootstrap process can work.
In particular, we have experienced this when the machine runs out of disk space
Add commands to monetd to truncate the database (cf. badger backup restore).

Fixed in v0.3.1


get-file with a nonexistent commit should report that commit does not exist

Right now it outputs an error message like rpc error: code = 2 desc = diff sum2/6a6d6d48860b482fae28bcc456ee0d76/19 not found

@derekchiang - where exactly do you expect the cleaner error message? I assume you mean a better error message for CLI users. (So this would correspond to the pachctl binary).
We probably still want the full grpc error even at the client level, because some of the grpc codes tell a client when its appropriate/not to retry.

Yeah showing grpc error might be fine.  I guess I just wanted an error message that would make it clear that the commit does not exist.  The current error message is indecipherable for users who don't know what diffs are.

Actually after a little more thought, I think showing grpc errors on the client side is probably not a good idea.  It just makes the error messages ugly and the fact that we are using grpc is an implementation detail anyways.
I found this function that can be used to expose the original error (i.e. getting rid of the grpc wrapper error).  We don't have to do it as part of fixing this issue, but that's probably what we want to do at the CLI in the long term.

Yea, I was using that function already in the CLI to only print the error description. Having a friendly message like that for users of the CLI makes sense. I'll be trying to standardize that too.
But grpc errors (in particular the codes) tell a client when its appropriate to retry and when its not. So we def want to use grpc errors where we can.
I'm fine w scrubbing the error messages that our client returns. That makes sense to me. And that will be pretty easy to do across the board in the client code.


FIX #410 Aplicando navegabilidade para tela de cadastro

Nesse pull request foi feito:
Issue #410

O botão de cadastrar da tela de login agora redireciona para a tela de novo usuário

Pull Request Test Coverage Report for Build 1201

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.5%) to 92.248%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Screens/LoginScreen.js
0
2
0.0%

Totals

Change from base Build 1195:
-0.5%

Covered Lines:
288

Relevant Lines:
311

💛  - Coveralls


Missing docs on how to change slider's style programmatically

I have a slider and an input that are related, as in, the slider update the input and the input update the slider. My problem was that the slider's bg wasn't updating when I was changing its value, I kind of didn't expect this to happen because you can't watch a value change but the doc didn't say anything about it.
I had to look at the code to see what I had to do (or at least what I think I had to do), so I simply did this:
// From this
slider.value = value
// To this
slider.MaterialSlider.change(value)

I think that it should be somewhere in the doc, hopefully the code is very easily readable.

I run into the same problem. http://codepen.io/kowdermeister/pen/RPJNRw?editors=101
In my case an external controller device changes the slider values.

I kind of didn't expect this to happen because you can't watch a value change but the doc didn't say anything about it.

I agree we should be documenting this. Sorry for the unexpected behaviour here!

Opened issue #1008 to track the changes that should be applied to all docs to address the same problems with all the widgets we offer.

Edited slider component's README.md, added note to clarify process for programmatically changing a slider and resolve this issue. IMPORTANT: Edit was done in documentation branch -- needs to be merged into master before staging.

Thank you, @dgash :)

Has been merged into master, thanks @dgash :)


Issue building the docs on readthedocs

#1 addressed the local build and I now when I do make docs I correctly get:

but if I tried to build the very same on readthedocs I get:

To build on readthedocs I implemented the following steps:

published sphinx-idl in pypi
added in the requirements-doc.txt an entry for sphinx_idl
created a sphinx_idl_test repository on github
created a docs projects on readthedocs linked to the sphinx_idl_test repository

Readthedocs builds without errors, i.e. finds and installs sphinx-idl but the results does not include the idl function docs.
I suspect there is something missing from the auto_mock section of the conf.py but I am not sure how to fix it.

I am not sure of the right fix for this at the moment, but I think I understand what is going on:
The .. idl:autopath:: accepts a path relative to the current working directory, and the makefile for your test repo is in docs/, so ../src points to the right files. However, when sphinx builds the docs, it runs the command python -m sphinx -T -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html, which given the . in the argument, suggests to me that it is running in docs/source as the working directory.
One useful diagnostic would be to actually show a warning when it can't find any files in the target directory. Even better would be to do a better job of pathfinding, and not hunting for files relative to the current working directory. Maybe using conf.py is the right source? I'm not sure what sphinx does in other cases.
To get around this without waiting for a fix, you could set up your sphinx docs to not use a separate source directory, and just put the source .rst files next to the Makefile. This is an option in the sphinx-quickstart tool I believe.

Also, since you are making good use of this, I'm going to go ahead and set up proper pypi publishing from this repo. Probably as sphinx-idl rather than sphinx_idl though.

It looks like there is a sphinx-idl on PyPI: https://pypi.org/project/sphinx-idl/
Is that one yours? It was uploaded relatively recently. If so, could you make me a co-owner and I can set up publishing to it.

Interesting, I did not create this but it shows me as the owner. I suspect is something automatically created by pypi when they saw sphinx_idl.
If you prefer I can delete both sphinx_idl and sphinx-idl, so you are the only owner or I can add you as a owner on both and we delete sphinx_idl. For the last I need you to confirm this is you?

Interesting! I bet pypi does make that automatically now to prevent hijacking.
I am Alex.Rudy on pypi, and it should have the same picture as my avatar here.

just added you as owner, please feel free to remove me as owner


BBCF not launching sometimes when BBCF IM mod is installed

Describe the bug
After making a release build, whenever you try to open up the game, it does not boot sometimes. Usually, it takes multiple attempts for it to open.
For debug builds, whenever you try to open up the game, this popup shows up:
https://imgur.com/Wi1cuF0
To Reproduce (release)

Make a release build of the project in Visual Studio
Place the dinput8.dll and settings.ini files where you have the BBCF.exe file located
Try to open the game. Most of the time, it shouldn't open the first time you try

To Reproduce (debug)
Same as above but make a debug build in Visual Studio instead. When you try to open the BBCF.exe , you should see the error popup.
Expected behavior
The game opens up the first time
Screenshots or video capture
N/A.
Desktop (please complete the following information):

Do you have a steam_appid.txt file in your application folder? No
OS: Win10
Antivirus: Windows Defender, Malwarebytes
Any third-party tools or programs that are running at the time? No

Additional context
N/A

The issue has been resolved in the original source code. Will add the changes to the GGPO extension soon


Handle pagination properly

By default, Octokit limits the number of returned results to 30.
This is totally a reasonable limit, but we need to make sure we have a way to (lazily) access all results.

Fixed in #2


Enhance getPlatforms in Server Author to return registered access services

The server author getPlatforms already tried to return the registered services. This works for integration, view and engine services. For some reason the access services are not coming back. Strangely the debugger toString of the response shows the 26 access services there as expected. But we lose the accessServices by the time we get back to Postman. I suspect that the list of access services is somehow invalid so cannot be serialised by Jackson. I am investing serialising manually using Jackson Object mapper to see if this is true.

A amended the server author handler to add extra staements for debugging. I go through this with the debugger and Str1 - contains the expected 26 access services, but str2 does not. So I lose the accessService content.
`  List accessServiceList = platformServicesClient.getAccessServices(userId);
platform.setAccessServices(accessServiceList);
String str1 = objectMapper.writeValueAsString(accessServiceList);
List engineServicesList = platformServicesClient.getEngineServices(userId);
platform.setEngineServices(engineServicesList);
                List<RegisteredOMAGService> integrationServiceList = platformServicesClient.getIntegrationServices(userId);
                platform.setIntegrationServices(integrationServiceList);

                List<RegisteredOMAGService> viewServiceList = platformServicesClient.getViewServices(userId);
                platform.setViewServices(viewServiceList);
                String str2 = objectMapper.writeValueAsString(platform);
                System.err.println("str2");`

Str1 - contains the expected 26 access services, but str2 does not.

The problem was a missing getter


Remove attack info removes all notes.

The "Remove attack info from damage roll messages?" option doesn't play nicely with PF2E Toolbelt's option to "Merge Damage". When damages are merged, the Notes of the damage seems to be stripped out -- this doesn't happen without this option activated.
I suspect its because there are two "stunning fist" notes, and it should leave one of them behind.

Honestly, that game ended, so I haven't had the opportunity to see it in action lately, and I haven't updated to V12 yet either.  I'll try to play around and double check soon, but no guarantees.


Fixing auto backport workflow

Signed-off-by: Vacha Shah<EMAIL_ADDRESS>Description
This should fix the backport workflow failures since the branch protection is relaxed in PR #1816. I tried with the similar set of permissions on my repo and the workflow ran successfully https://github.com/VachaShah/TestGithubActions/runs/4706516920?check_suite_focus=true. The default permissions are  read for all the scopes if not specified, for example: https://github.com/opensearch-project/OpenSearch/runs/4702581161?check_suite_focus=true
Note: I will add a backport label to a PR in this repo to verify.
Issues Resolved
#1712
Check List

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Let's test the flow 🎉

Looks good to me. Thanks @VachaShah !
Now probably we have to tackle stale branches after the backport PR is merged. May be can you submit a PR tibdex/backport to add support?

Sure will do!


Duties in Indexing group (such as Auto Compaction) does not report metrics

Duties in Indexing group (such as Auto Compaction) does not report metrics
Description
Duties emit metrics via the EmitClusterStatsAndMetrics class which is run as the last duty in the group. However, this duty is only added to the HistoricalManagementDuties group and not other groups such as IndexingServiceDuties group. This PR changes the following:

EmitClusterStatsAndMetrics is automatically added to all duty group via the constructor of the DutiesRunnable (if not already exist)
EmitClusterStatsAndMetrics is change to check for list of duty and group name to only emits relevant metrics.
Add dutyGroup to metrics emitted from EmitClusterStatsAndMetrics indicating which dutyGroup those metrics came from.

This PR has:

[ ] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

Added Release Notes since there will be new metrics emitted by services other than the historical.


The role ARN does not do anything, so I am removing it!

Remove not used var to prevent confusion

lgtm


ERROR: Didn't find op for builtin opcode 'CONV_2D' version '6'

Tensorflow 2.9.1, edgetpu_compiler 16.0
ERROR: Didn't find op for builtin opcode 'CONV_2D' version '6'. An older version of this builtin might be supported. Are you using an old TFLite binary with a newer model?
ERROR: Registration failed.

@motilal76  please try with Tensorflow version 2.8.2. Thanks!

for 2.8.2 it throws an error
/usr/local/lib/python3.8/dist-packages/keraslayers/convolutional.py:233 Error 'tf.Conv2D' op is neither a custom op nor a flex op

Thanks Hemanth,
for 2.8.2 it throws an error
/usr/local/lib/python3.8/dist-packages/keraslayers/convolutional.py:233 Error 'tf.Conv2D' op is neither a custom op nor a flex op
On Tuesday, July 26, 2022, 10:50:18 AM PDT, Hemanth-Jonnala<EMAIL_ADDRESS>wrote:

@motilal76 please try with Tensorflow version 2.8.2. Thanks!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

/usr/local/lib/python3.8/dist-packages/keraslayers/convolutional.py:233 Error 'tf.Conv2D' op is neither a custom op nor a flex op

Does this error occur during tflite conversion, if so please check with tflite support team at: https://github.com/tensorflow/tflite-support

Yes thats for conversion. What is the issue with 2.9.1 though? Seems like conversion goes through smoothly with that version but edgetpu_compiler bombs outMoti
On Tuesday, July 26, 2022, 01:16:23 PM PDT, Hemanth-Jonnala<EMAIL_ADDRESS>wrote:

/usr/local/lib/python3.8/dist-packages/keraslayers/convolutional.py:233 Error 'tf.Conv2D' op is neither a custom op nor a flex op
Does this error occur during tflite conversion, if so please check with tflite support team at: https://github.com/tensorflow/tflite-support
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

ERROR: Didn't find op for builtin opcode 'CONV_2D' version '6'. An older version of this builtin might be supported. Are you using an old TFLite binary with a newer model?

Current compiler uses tflite runtime 2.5.0 post1. Please check if your tflite model is able to run inference with this runtime. If not then you may try with lower version of tensorflow (e.g, 2.8, 2.7, 2.6, 2.5).


Invalid XML format

When I give text:
When I wake up, I speak quite slowly. Then I start speaking in my normal voice
 I get ValueError: Invalid XML format in the server.
If I remove the dot then it works. Also, all XML like <prosody rate="x-slow"> fails.

I'm trying to use SSML: https://github.com/snakers4/silero-models/wiki/SSML.
Maybe UI should have a separate option for SSML.

Okay, I found the issue was with the tts_preprocessor.py
It was replacing " with nothing: string = string.replace('"', '')
I also got rid of the system to break sentences in pieces for better consistency.
https://github.com/GhostNaN/silero-webui/commit/493bc59c8dbdcc15e5d9375752a9e0a40778b381
Let me know if you have any other issues.

I tested with:
<speak>

 When I wake up, <prosody rate="x-slow">I speak quite slowly</prosody>. Then I start speaking
        in my normal voice, <prosody pitch="x-high"> and I can speak in a higher tone </prosody>, or <prosody
            pitch="x-low">on the contrary, lower</prosody>. Then, if I’m lucky, <prosody rate="fast">I
        can speak quite quickly like now.</prosody> I can also make pauses of any length, for
        example, two seconds <break time="2000ms" />.

            I also know how to pause between paragraphs.

            <s>And I also know how to pause between sentences</s>
            <s>For example, like now</s>

</speak>

Error .multi_acc_v3_package.py:196: UserWarning: Current model doesn't support SSML tag: speak.
When I remove <speak> tags I get an error:  .multi_acc_v3_package.py", line 113, in process_ssml     raise ValueError(f"Failed to parse SSML: {e}") ValueError: Failed to parse SSML: invalid literal for int() with base 10: 'two thousand'.

I realize I'll would be fighting with the text preprocessor way to much here.
So I just added a setting to bypass: "Raw Mode"
https://github.com/GhostNaN/silero-webui/commit/3409e4070f5c13365de64375dc5ff39ee83ed058
Although the quality will be down for handling things like saying numbers or individual letters


Fix flaky test ServerMaxConnectionAgeTest.http1MaxConnectionAge

Motivation:
https://ci.appveyor.com/project/line/armeria/builds/33334589/job/7hj0jwt7lkhavc2h#L5
ServerMaxConnectionAgeTest > http1MaxConnectionAge() FAILED
    java.lang.AssertionError:
    Expecting:
      <1365L>
    to be close to:
      <1000L>
    by less than 35% but difference was 36.5%.
    (a difference of exactly 35% being considered valid)
        at com.linecorp.armeria.server.ServerMaxConnectionAgeTest.http1MaxConnectionAge(ServerMaxConnectionAgeTest.java:132)

Modifications:

Measure the connection close time in the ConnectionPoolListener for a more accurate time.

Result:
Less Flaky 🙏

Thanks, @ikhoon!


Raspi Debian Desktop installation No Images shown as a Service

Hej, thanks for your work, amazing what you have done! I'm trying to run the application on my Raspberry Pi 3+ with desktop version of Debian, however the images are shown only when I run the command and not in the service mode. I have followed all the steps besides SAMBA as I use Rclone to sync the images with my Google Photo.

Hi @Dimasua I'm assuming you are following the instructions from the wiki?
What happens if you start the service from a console?
systemctl --user start picframe.service
What does the logging say?
journalctl --user-unit picframe.service

Yes, that is correct, I'm following the wiki.
When I start the service from a console simply nothing happens, I still see my desktop default background image.
Please see the logs below. There is one error at the very bottom.

OK, at least the service seems to start. Can you set the log level in configuration.yaml to DEBUG and restart the the service.
systemctl --user restart picframe.service

Done, please see the logs below.

In this log I see a mqtt error. Don't know why the images are not shown. Can you set mqtt and http to false. Just to be sure it is the display thread.
Does nothing happened and you still see your desktop or does the screen goes blank?
As a last try set use_glx to true. Does this change anything?
Do you have a link to the debian Version you used. I could set up a pi3 for further testing.

Are you starting the service through a ssh connection, or directly on a terminal on the raspi?

So, I have disabled mqtt and http and it works!! :) Thank you for your support! Can you please share some documentation how to install the Home Assistant? I would like to try it as well.

Good to see, that it works now. If you enable http you will have a simple web interface to control the picframe.
As a good starting point I would recommend Wolfgang's blog www.thedigitalpictureframe.com


Where to find generated code

I have been generating the code but i dont know where to find it

Ctrl+V -

Thize

It does not work. Version 2.1.0

@thize
I suggest adding it to the README.md file about where the generated code is?.
Because I spent some time figuring out looking for a dart file in my mac.
Then I tried to look at the GitHub repository for explanation and could not find it in the README.md file. Then I searched in the issues.


NodeAgentNTService is stuck in stopping state and NodeAgentService is not able to come up on few nodes.

NodeAgentService's setup scripts fails while throwing this:"
D:\SvcFab_App\PatchOrchestrationApplicationType_App18\NodeAgentServicePkg.Code.1.3.2>REM Stop the service and uninstall the current version
D:\SvcFab_App\PatchOrchestrationApplicationType_App18\NodeAgentServicePkg.Code.1.3.2>sc stop POSNodeSvc
[SC] ControlService FAILED 1061:
The service cannot accept control messages at this time.
D:\SvcFab_App\PatchOrchestrationApplicationType_App18\NodeAgentServicePkg.Code.1.3.2>sc delete POSNodeSvc
[SC] DeleteService FAILED 1072:
The specified service has been marked for deletion.

Fixed in Version v1.4.1 of the appllication.
Link: https://github.com/microsoft/Service-Fabric-POA/releases/tag/v1.4.1


Mark --timings=html unstable in the document

What does this PR try to resolve?
Mark -timings=html unstable in the document. The document was confusing because if you try --timings=html it still requires the unstable flag.
How should we test and review this PR?
Check out the document.
Additional information
Other information you want to mention in this PR, such as prior arts,
future extensions, an unresolved problem, or a TODO list.

r? @ehuss
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+
Forgot that I can't call bors in a review comment. Sorry for the noise.

:pushpin: Commit a6e6b89d71fa8480d3d664649d986c092704d2bc has been approved by weihanglo
It is now in the queue for this repository.

:hourglass: Testing commit a6e6b89d71fa8480d3d664649d986c092704d2bc with merge 40d71af13ac04f5fda99902112303df49cfc8ec5...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing 40d71af13ac04f5fda99902112303df49cfc8ec5 to master...


Servers is allowing mid_loc cache group to map edge servers.

I'm submitting a ...

bug report

Traffic Control components affected ...

CDN in a Box
Documentation
Traffic Ops
Traffic Portal

Current behavior:
Create Servers of type EDGE with Cachegroup MID_LOC.
Create Servers of type MID with Cachegroup EDGE_LOC.
Expected behavior:
Actually, the EDGE_LOC cache group should be mapped to servers of type EDGE, and the MID_LOC cache group should be mapped to servers of type MID, not vice versa.
Minimal reproduction of the problem with instructions:
https://localhost/#!/servers -  Create Servers with mismatch type.

Not sure why server.type vs. server.cachegroup.type validation was never introduced/enforced. Maybe because of a scenario like this:

Create server of type EDGE that must be in cachegroup of type EDGE_LOC
Try to change the server to type MID - can't be done.

So, it's possible this current behavior is "as designed".

Not sure why server.type vs. server.cachegroup.type validation was never introduced/enforced. Maybe because of a scenario like this:
1. Create server of type EDGE that must be in cachegroup of type EDGE_LOC

2. Try to change the server to type MID - can't be done.

So, it's possible this current behavior is "as designed".

The Server could be changed to MID type if it is moved to a a Cache Group of type MID_LOC in the same PUT request.

The Server could be changed to MID type if it is moved to a a Cache Group of type MID_LOC in the same PUT request.

yep, you beat me to it. that just occurred to me. i edited my comment.

Also, remember server types are dynamic. You can create them as you please. So you could create a server type of FOO. Which cache group types should FOO server types be limited to? TC is very flexible, hence, the absence of many validation like this.


MFEM mesh v1.0

Hello
This may be very basic questions.
How can we create this file? I tried it with Gmsh but no success.
I want to create a mesh for the elasticity problem, Ex2.
Regards
Zahur

Hi,
To better understand the MFEM mesh format you can try to create the mesh description by hand.
Since you have experience in using GMSH, I would suggest mesh generation with GMSH (it will generate mesh in format different than the MFEM native mesh format). Make sure that you dump the GMSH mesh in the older format 2.2.  You can add the following line in your *.geo file:
Mesh.MshFileVersion = 2.2;
Define 2 physical volumes/surfaces (depending if the mesh is in 3D or 2D) for the two material regions, and in addition two boundary surfaces/curves (3D/2D) for the boundaries. Let me know if you need an example of .geo file.
Best regards, Boyan

Hello Boyan
I have created the *.geo and *.msh file. I have included Mesh.MshFileVersion = 2.2; in the *.geo file. This is the *.geo file:
// Gmsh project created on Tue Oct 27 21:01:25 2020 SetFactory("OpenCASCADE"); Mesh.MshFileVersion = 2.2; //+ h1=5; Point(1) = {0, 0, 0, h1}; Point(2) = {5, 0, 0, h1}; Point(3) = {10, 0, 0, h1}; Point(4) = {0, 1, 0, h1}; Point(5) = {5, 1, 0,  h1}; Point(6) = {10, 1, 0, h1}; //+ Line(1) = {1, 2}; Line(2) = {2, 5}; Line(3) = {5, 4}; Line(4) = {4, 1}; Line(5) = {5, 6}; Line(6) = {6, 3}; Line(7) = {3, 2}; //+ Curve Loop(1) = {4, 1, 2, 3}; Plane Surface(1) = {1}; //+ Curve Loop(2) = {5, 6, 7, 2}; Plane Surface(2) = {2}; //+ Physical Surface("Mat_left") = {1}; Physical Surface("Mat_right") = {2}; Physical Curve("left") = {4}; Physical Curve("right") = {6};
and this is the *.msh file
$MeshFormat 2.2 0 8 $EndMeshFormat $PhysicalNames 4 1 3 "left" 1 4 "right" 2 1 "Mat_left" 2 2 "Mat_right" $EndPhysicalNames $Nodes 6 1 0 0 0 2 5 0 0 3 10 0 0 4 0 1 0 5 5 1 0 6 10 1 0 $EndNodes $Elements 17 1 15 2 0 1 1 2 15 2 0 2 2 3 15 2 0 3 3 4 15 2 0 4 4 5 15 2 0 5 5 6 15 2 0 6 6 7 1 2 0 1 1 2 8 1 2 0 2 2 5 9 1 2 0 3 5 4 10 1 2 0 4 4 1 11 1 2 0 5 5 6 12 1 2 0 6 6 3 13 1 2 0 7 3 2 14 2 2 0 1 1 2 5 15 2 2 0 1 1 5 4 16 2 2 0 2 3 2 5 17 2 2 0 2 6 3 5 $EndElements
when I run this *.msh file with the ex2, I get this error:
`Options used:
--mesh /Users/zahurullah/Desktop/MFEM/Gmsh/geom.msh
--order 1
--no-static-condensation
--visualization
MFEM abort: Non-positive element attribute in Gmsh mesh!
... in function: void mfem::Mesh::ReadGmshMesh(std::istream &)
... in file: mesh/mesh_readers.cpp:1172
Abort trap: 6`

Hi,
I modified a bit the geo file:
// Gmsh project created on Tue Oct 27 21:01:25 2020
SetFactory("OpenCASCADE");
Mesh.MshFileVersion = 2.2;
//+
h1=5;
Point(1) = {0, 0, 0, h1};
Point(2) = {5, 0, 0, h1};
Point(3) = {10, 0, 0, h1};
Point(4) = {0, 1, 0, h1};
Point(5) = {5, 1, 0,  h1};
Point(6) = {10, 1, 0, h1};
//+
Line(1) = {1, 2};
Line(2) = {2, 5};
Line(3) = {5, 4};
Line(4) = {4, 1};
Line(5) = {5, 6};
Line(6) = {6, 3};
Line(7) = {3, 2};
//+
Curve Loop(1) = {4, 1, 2, 3};
Plane Surface(1) = {1};
//+
Curve Loop(2) = {5, 6, 7, 2};
Plane Surface(2) = {2};
//+
Physical Surface(1) = {1};
Physical Surface(2) = {2};
Physical Curve(1) = {4};
Physical Curve(2) = {6};
The section:
$PhysicalNames
4
1 3 "left"
1 4 "right"
2 1 "Mat_left"
2 2 "Mat_right"
$EndPhysicalNames
is not compatible with MFEM. The code expects to see tags 1 and 2 for the domain and 1 and 2 for the boundary segments.
Best regards, Boyan

Hello @bslazarov
This is the new *.msh file but produced the same error:
$MeshFormat
2.2 0 8
$EndMeshFormat
$Nodes
6
1 0 0 0
2 5 0 0
3 10 0 0
4 0 1 0
5 5 1 0
6 10 1 0
$EndNodes
$Elements
17
1 15 2 0 1 1
2 15 2 0 2 2
3 15 2 0 3 3
4 15 2 0 4 4
5 15 2 0 5 5
6 15 2 0 6 6
7 1 2 0 1 1 2
8 1 2 0 2 2 5
9 1 2 0 3 5 4
10 1 2 0 4 4 1
11 1 2 0 5 5 6
12 1 2 0 6 6 3
13 1 2 0 7 3 2
14 2 2 0 1 1 2 5
15 2 2 0 1 1 5 4
16 2 2 0 2 3 2 5
17 2 2 0 2 6 3 5
$EndElements

Hi,
You have saved all mesh entries without physical tag. My mesh file is much shorter:
$MeshFormat
2.2 0 8
$EndMeshFormat
$Nodes
6
1 0 0 0
2 5 0 0
3 10 0 0
4 0 1 0
5 5 1 0
6 10 1 0
$EndNodes
$Elements
6
1 1 2 1 4 4 1
2 1 2 2 6 6 3
3 2 2 1 1 1 2 5
4 2 2 1 1 1 5 4
5 2 2 2 2 3 2 6
6 2 2 2 2 6 2 5
$EndElements
~
It seems that you do not have any physical tags defined in your mesh file. You should dump out only the physical entries in mesh files, otherwise the associated tags will be zero and MFEM will complain.
Best regards, Boyan

Thanks @bslazarov
It is working now. In the Gmsh, I have to
File -> Export... -> Version 2 ASCII and uncheck all options


Update geolite.inc

As we talked, if you add this function your include will be perfect!

The table and column names are different so I could not merge. You also had the same function twice in geolite.inc file.


API is down

Navigating to the URL is leading to a blank page.

The API is not working. Any progress on fixing it?

This is issue is still present. Any update on when it'll be fixed?

I believe they updated the API page to a new link. There seems to be this new API page: praytable.php
An updated example would look like the following:
https://www.moonsighting.com/praytable.php?year=2024&tz=Asia/Riyadh&lat=26.574848&lon=50.0105216&method=0&both=false&time=0

Sorry for this issue which is beyond my control. Till the issue is resolve in the main server, I this alternative mirror: moonsighting.ahmedbukhamsin.sa/time_json.php


Only include SamplerReductionModeCreateInfo if needed

Changelog:
- Fixed bug on certain drivers where samplers would behave oddly when minmax samplers are enabled.

Fixes #1826.
@pac85 Can you test this and see if it fixes the issue you were having?

I tested it and it fixes the issue.
Thanks,


useNuxtApp().$vuetify is only available after the middleware

Hi,
thanks for the great module! Currently evaluating to replace our custom integration with it. One problem I run into is that the plugin is only registered after the middleware.
https://github.com/userquin/vuetify-nuxt-module/blob/804abc7fe16ac69264eba0ad6163f9ba9089a77d/src/runtime/plugins/vuetify.ts#L5-L11
In our use-case we have some checkups in a global middleware that e.g checks for the user and hydrates the user-state which includes setting the theme:
const nuxtApp = useNuxtApp();
const vuetify = nuxtApp.$vuetify;
vuetify.global.name.value = theme;

This isn't possible with the module, as nuxtApp.$vuetify is still undefined at this point.
Is there any specific reason to only register it afterwards?
Looking forward to your feedback.
Thanks!

That plugin is only used when i18n module present.
Maybe you can change the logic to restore the theme, check this entry in the docs using local storage https://vuetify-nuxt-module.netlify.app/guide/server-side-rendering.html#vuetify-themes

If you have any suggestion feel free to share the logic or send a PR.

I played around a bit but unfortunately wasn't able to solve it without any other drawbacks. If I modified the module to register the plugin directly and synchronous it's been available from the middlewares, but lead to some hydration missmatches in the date modules.

That plugin is only used when i18n module present.

The plugin is always available, it yust differentiates between a sync and async registration
https://github.com/userquin/vuetify-nuxt-module/blob/804abc7fe16ac69264eba0ad6163f9ba9089a77d/src/utils/configure-nuxt.ts#L79-L81

All in one It's been easier for me to refactor my app than to find a solution for this 😅
Feel free to close the issue if that's nothing you're planning to look into for now.

@Dominic-Marcelino can you provide a minimal repro? If you provide it I will try to find a solution in the afternoon

Sure, when using the provided playground you can add the following middleware:
// middlewares/0_test.global.ts

export default defineNuxtRouteMiddleware((to) => {
  if (process.client) {
    const nuxtApp = useNuxtApp()

    console.log('NUXT APP')
    console.log(nuxtApp)

    console.log('NuxtApp vuetify theme')
    console.log(nuxtApp.$vuetify.theme.current.value)

  }
})
```

In the `nuxtApp` log you can see that it'll be available afterwards, but won't be available yet on middleware execution:

![Bildschirmfoto 2023-08-28 um 11 48 15](https://github.com/userquin/vuetify-nuxt-module/assets/46492597/1b2bc684-79d2-432b-b00f-bfdf4aa00095)

@Dominic-Marcelino maybe you can register app:created hook and apply the logic inside the callback (check this middleware https://github.com/elk-zone/elk/blob/main/middleware/auth.ts using app:suspense hook in isHydrated prop)

@userquin I already finished a refactoring in my app to refactor the theme from inside setup. This is just an example for the problem, in case you'd like to look into it on how to provide the plugin before. Otherwise the ticket can be closed. Sorry for being unclear.

@Dominic-Marcelino I'm preparing new PR to allow use vuetify in the middleware, requires Nuxt 3.9+ if using i18n module, I'm changing the logic of vuetify and vuetify.sync runtime plugins (main plugins):

@Dominic-Marcelino should be fixed in v0.9.0


Support https/tls for weed filer/mount

Hi there!
We are already using seaweedfs with all combinations(5 volume server, 3 master, 3 filer, mount/webdav/s3) in our dev.env, so far, so happy!
Now we want to go to production with master/volume/filer/s3/mount without any private network between those servers, so only public ip + self signed cert
Is there any progess for supporting TLS?
Im wondering, if we are the only ones with this problem, as for now i didnt see any tickets for this problem?
for sure, i could use JWT to trust client/server, but content is still unencrypted on read/write :/
i also read this -> https://github.com/seaweedfs/seaweedfs/wiki/Run-Blob-Storage-on-Public-Internet
But in our usecase this would be big overhead (no docker, simple deb11/12 server with systemd services) - and also it would not solve this issue
# volume server https options
# Note: work in progress!
#     this does not work with other clients, e.g., "weed filer|mount" etc, yet.
[https.client]
enabled = true
[https.volume]
cert = ""
key = ""

TIA!
BR

Hello, yes, encrypting traffic on volumes seems redundant, so there are few such configurations.

Greetings!
We would like to use SeaweedFS on distributed servers that communicate over public WAN.
So enrypting any kind of traffic is necessary!
Greetings

Rath

I just launched volume in tls mode, no problems with that.

Greetings!
My college @isjo-org may be able to provide the exact error messages next week, but the problems ocurr when actually using it. (and blocking any traffic to non-tls ports)
We currently are trying to get it working by replacing all the hardcoded references to 'http://' with a config-switch.
(to see references - just run cd  seaweedfs/weed && grep -r '\"http://')

@kmlebedev Greetings!
May I ask if you have found the same issues as we have, while testing?
We have also sniffed the traffic using tcpdump and have found plaintext HTTP calls, even if TLS is enabled by config.
In regards to our 'PR' - we just wanted to show how we would approach the issue. But it is far from being clean, as we do not have an overview of the codebase..

I just launched volume in tls mode, no problems with that.

Yes, it will listen with https, but e.g. weed mount is hardcoded to use http, which will error out since it'll be trying to make plaintext calls to a https service. I'm not sure @chrislusf is aware of this state at the moment - we might try to submit a new PR on this, but so far not familiar enough with the code base to make an honest attempt

https://github.com/seaweedfs/seaweedfs/pull/5766 by @vadimartynov has changed many places.
@oivindoh You may want to continue from there.

I tried to add TLS where possible in https://github.com/seaweedfs/seaweedfs/pull/5766
Try running weed -config_dir="<path/to/the/folder/with/security.toml and other .toml configs>" mount.
It might already be working; the config just might not be loading properly.

I think maybe places like weed_write is the issue referenced by places like csi driver security config?


Projects hifi

@angle943 is going to break down tickets to hand off to FE team
https://www.figma.com/file/HEQpY7l2jvazLp1kqyyUiH/Projects-Page?node-id=0%3A1

BE: https://github.com/thenewboston-developers/Website-API/pull/82

@angle943 with this, then are we scraping off the existing projects page?


Demonstration projects with Vue and React

In this issue, we will create demonstration projects with real-world examples and use cases and how to use baklava.

[ ] Demonstration project with Vue
[ ] Demonstration project with React

We are considering using those projects also as automated integration tests, right? If so, let's also add this.
Also, I want to mention that if we include those projects inside the current repository, we should be extra cautious to not affect the developer experience of the people who don't care about those frameworks. For example, we may consider making them with their own package.json files, so a regular clone & start flow for baklava would not need to install vue, react (or angular in the future).

Yes, like we decided before. I will elaborate issue before prioritizing it.

I think we need to prioritise this (especially an integration test for React) We noticed that our react generator has a problem but we couldn't notice it since we are not checking React integration in every release. #331

Issue title says "demonstration" but I find "integration tests" as a more urgent need. But maybe both can be done in the same solution. Our integration test projects can be used also for demonstrating them.

I created a separate issue for integration tests. I think a demonstration project still has good value for documentation purposes. So separating them makes sense, I think.


[app] Extraneous code - 'configurePushNotifications'

Hi, thanks for great boilerplate. Just pulled latest master and iOS app does not start because file ../../../units/rb-push-notifications/app/configurePushNotifications is referred to from ApplicationMainSettings.ios.js and DrawerView.js, but not checked in.

Sorry, bad case of copy-paste from another project I was working on. For the time being just delete all mentions and I will fix it tomorrow.


Enable (Read Only) feature not available

It will be nice to have the enabled toggle. at the moment i have to put the widget in a stack and place a container with transparent color on top of it with to disallow add / delete tags.

Enabled.


[mp-7-wip] WFLY-19592 WFLY-19948 Upgrade SmallRye Fault Tolerance from 6.6.1 to 6.6.2 and enable simultaneous metrics collection with MP Telemetry and Micrometer

Resolves
https://issues.redhat.com/browse/WFLY-19592
https://issues.redhat.com/browse/WFLY-19948

Let me stick a hold on this for a while as we might be getting the new SR FT release with the metrics changes we wanted.

OK, new 6.6.x with the remaining fixes is on it's way. Keeping the hold.

Updated with latest release of SR FT 6.6.3 which brings in fixes to registering with multiple containers and exposes properties (documented) to finely tune which metrics provider to use.


Added user_manage attribute for use_usergroups

Description
Previously the user_manage resource would always create a group for each user where the groupname matches the username.  This behavior is not always desirable when more control over the groups that get created is preferred.  A workaround existed previously by creating the group in a separate resource before calling user_manage, reloading ohai with the etc plugin, and then calling user_manage with a group_id and referring to a data bag where every user has the gid key field populated with a non-numeric groupname.  This update adds the use_usergroups attribute to streamline the process.  The default for use_usergroups is set to True, preserving the previous functionality of the user_manage resource.  Setting use_usergroups = false does 2 things.

The user's primary group ID defaults to the group_id passed to user_manage.  The primary group can still be overridden in the data bag item in the gid key field.
The block of code that normally creates the group that matches the username is skipped, ensuring no extra groups are created.

If the group_id is specified, a check is done at the beginning to make sure the group exists.  Previously, this was not necessary because the primary group would always be set to the username, ensuring useradd would succeed.  Without this check at the beginning, useradd could fail if the primary group for the user did not exist first.
More information on the default behavior of useradd can be found in the man page for login.defs under the USERGROUPS_ENAB setting.
Issues Resolved
https://github.com/chef-cookbooks/users/issues/85

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 1 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.
Please sign the CLA here.

I'm going to close this PR out since we never got a CLA or DCO signoff and master has drifted significantly since this was created.


Investigating #18631

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

Why is it impossible to trigger the failure now????

Ha, failed.
Let's try again with the asserts.


Tutorial 23: Memory Error

I am trying to run the df = weather.load_resampled_data() command, but I get an Memory Error everytime.
I am running Python version 3.6+, tf version 1.12, and I have 8 GB of RAM, GeForce 840M

Perhaps you don't have enough RAM.


POC: Add POC for file io using io_uring

Motivation:
With the new io abstraction it should be possible to support other things then Channels using the same EventLoop. To proof this we should do a POC that shows how we could for example support file io via io_uring
Modifications:
Add a very simple POC doing file io via io_uring
Result:
Proof that the new API actually works

Looks very promising. All the required types and functionality is available so integrators could build this themselves if they wanted. 👍

yep... that's all we need to know for now.


Mushroom Cover Card, Option to hide the Stop/Pause Button

Requirements

[X] I have updated Mushroom to the latest available version
[X] I did a search to see if there is a similar issue or if a pull request is open.

Is your feature request related to a problem?
Hello,
No a problem with the  Mushroom Cards, more with my guests. When they stay over they have the ability to open/close the covers, in the guest room, when they like. But also to stop/pause the curtains, some tend to panic not knowing what to do if they hit the stop button.. So I like the option to hide the Stop/Pause button, so the Open/Close button is the only thing they can 'play' with.. Thank you.
Regards Frank
Describe the solution you'd like
I like the option to hide the Stop/Pause button, so the Open/Close button is the only thing they can 'play' with..
Describe alternatives you've considered
Using custom button cards, but they dont match with the rest of my mushroom design...
Additional context
No response

i second this option but only because my covers don't support stop

If your cover doesn't support stop, the button should be hidden. Mushroom looks for supported_features for the button display.

If your cover doesn't support stop, the button should be hidden. Mushroom looks for supported_features for the buttons display.

it's a cover made by a template and nowhere do i define stop in that template :)

What's your template ? If you don't define stop_action the button will not be displayed but you cover will not support stop action.

Hello,
How about the original question posted by me. Can the software be altered so the STOP button can be hidden by choice?
Regrads
FRank


Main Thread Panicked: Already borrowed uniquely

Hello, I am trying to execute a query inside another query. Like that?
for (_entity, (actor, transform, collition)) in &mut world.query::<(&mut Actor, &mut Transform2D, Option<&Collision>)>() {
        let mut other_actors = Vec::new();

        if actor.move_x != 0.0 || actor.move_y != 0.0 {
            for rect in world
                .query::<(&Collision, &Transform2D)>()
                .iter()
                .filter(|(other_entity, _)| *other_entity != _entity)
                .map(|(_other_entity, (collision, other_transform))| Rectangle::new(
                    collision.rectangle.x + other_transform.position.x,
                    collision.rectangle.y + other_transform.position.y,
                    collision.rectangle.width,
                    collision.rectangle.height,
                ))
            {
                other_actors.push(rect);
            }
        }

      // ... there's more things ...
}

however even though I tried to filter with id1 != id0 like you did on you examples https://github.com/Ralith/hecs/blob/master/examples/ffa_simulation.rs#L82 it panicked.
Is there anyway to query all other entities but the current one?

This was discussed on the gamedev discord, but for posterity: No, concurrent queries with conflicting borrows are not supported. The example works because its borrows don't conflict, because they're shared (aka immutable), whereas you're starting out with a unique (aka mutable) borrow of Transform2D, then trying to get another.
Alternative approaches include:

Don't use nested queries. As discussed in the README and in the comment just above your link, they're a wasteful solution to the problem of collision detection.
Don't use a mutable borrow in either query. If you need to make changes in a nested query, accumulate a list of changes to make in a Vec then apply it in a separate pass.

Understood! Thanks for the time.


OpenFGA Playground Not Running on Brave Browser Due to Network Errors.

Checklist

[X] I have looked into the README and have not found a suitable solution or answer.
[X] I have looked into the documentation and have not found a suitable solution or answer.
[X] I have searched the issues and have not found a suitable solution or answer.
[X] I have upgraded to the latest version of OpenFGA and the issue still persists.
[X] I have searched the OpenFGA Community and have not found a suitable solution or answer.
[X] I agree to the terms within the OpenFGA Code of Conduct.

Description
Checklist

[x]  I agree to the terms within the OpenFGA Code of Conduct.

Describe the problem you'd like to have solved
While attempting to run the OpenFGA Playground on the Brave browser, I encountered a network error that prevented the application from functioning correctly. The error message observed in the console was:
POST http://<IP_ADDRESS>:9000/stores net::ERR_BLOCKED_BY_CLIENT
AxiosError: Network Error

This issue appears to be related to Brave's built-in privacy features or browser extensions that block certain network requests, such as ad blockers or privacy tools.(not sure why though)
Steps to Reproduce
1. Open the Brave browser.
2. Navigate to the OpenFGA Playground.
3. Observe the network error in the console when trying to interact with the playground.

Describe the ideal solution
Consider providing a warning or notification within the OpenFGA Playground that informs users about potential issues with Brave or similar browsers. This could help users troubleshoot the problem more effectively.
Alternatives and current workarounds
Didn't dig into it too much, switched to Chrome and works fine there.
Additional context

Browser: Brave
Operating System: Linux Mint 21.3
OpenFGA Version: 1.5.9

OpenFGA version
1.5.9
How are you running OpenFGA?
In Docker
What datastore are you using?
Postgres
OpenFGA Flags
no
Logs
POST http://<IP_ADDRESS>:9000/stores net::ERR_BLOCKED_BY_CLIENT
Uncaught (in promise) AxiosError: Network Error

Might be related: https://github.com/axios/axios/issues/4420

Also seems very similar to #338


Kombu & amqp version bumps

Doesn't look like the failure is my fault - unrelated test taking too long?

Please properly name commits.
amqp: 1.4.7 -> 1.4.9

Ah damnit, I was close. Will fix.


Do not merge - testing self-hosted runner usage from public forks

/backport main

/backport master

Testing complete


Local token storage

It's a pain to have to specify --token xxxxx every time. This feature would allow a user to store and use a token locally.
In the near future, people will have multiple ledgers to use, so this should be part of the ledger command. Conceptually, this would be like SCM branch management. One would switch from one ledger to another with the CLI.

Any thoughts around safely storing these? Several tools like npm itself does just have a raw token in .npmjs but one advantage is that it's not a broad API key like evently, it's more like the OAuth2 access token which makes it a bit easier to revoke specific ones.

If you feel good about a simple token in a local config, this works for me though! I just added my token to a .envrc file

That might be a good start, declare what the env var is. In the future this will be somewhat different as we will have developers authenticate to access ledgers.

We are going to approach ledger access in a non-token manner, so this can be handled as an ENV var.
How about EVENTLY_ACCESS_TOKEN ?

Also, can you please add an EVENTLY_HOST var as well? makes local testing easier.

Ha I forgot about the TOKEN key too.


Remove TChannel from agent->collector path

@pavolloffay I created a new internal build that uses a local copy of the /tchannel packages you created (#2105), and deployed it today. All metrics look good. I think we can start removing the code.

Do you want to submit a PR? If no I can do that.

Go for it, I won't be able to get to it soon.
One thing I wanted to watch out was making sure we don't leave other dead code around. For example, pkg/discovery may be only used from tchannel.

I am wondering whether full removal would break OTEL collector they are exposing tchannel exporter.
Afther quick inspection it looks that they are not using tchannel from agent or the new tchannel package cc) @objectiser
https://github.com/open-telemetry/opentelemetry-collector/pull/636/files#diff-0e6ca11168918e81d990fd9005b9671cL45


⚠ Bofrost.at has degraded performance

In e28e7b0, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1767 ms

Resolved: Bofrost.at performance has improved in 08a155f.


pypi-python-versions values should be naturally sorted

Are you experiencing an issue with...

[x] shields.io
[ ] My own instance
[ ] badge-maker NPM package

:beetle: Description
Not sure why I'm bothering with this :) I guess it just bothered me.
pypi-python-versions is sorting like this: 3.10, 3.8, 3.9.
It should be 3.8, 3.9, 3.10.
:link: https://img.shields.io/pypi/pyversions/tyrannosaurus
:bulb: Possible Solution
Is the issue somewhere here?
Oddly, this looks correct.
    // Versions are properly sorted according to their Semver segments.
    given({ versions: ['3.10', '3.9', '3.8', '3.7', '3.6'] }).expect({
      message: '3.6 | 3.7 | 3.8 | 3.9 | 3.10',
      color: 'blue',
    })

This has been fixed in source (d3a7afdec0e97af80c16e598e4836dbff11a5602) but not yet deployed to production

This has been fixed in source (d3a7afdec0e97af80c16e598e4836dbff11a5602) but not yet deployed to production


Return promises form chain functions

Chain functions should return promises. To generate promises we should use keep-common library as per example in https://github.com/keep-network/keep-core/pull/1049.

This is no longer a case, right @pdyraga ? Can we close it?

I think it's fine to keep it open until we resolve https://github.com/keep-network/keep-core/issues/491


Easynews

Addon Manifest URL
https://ea627ddf0ee7-easynews.baby-beamup.club/manifest.json
Addon Description
Stream movies and series straight from Easynews web search!
Language of Content
None
Choose Labels

[ ] anime
[ ] asian drama
[ ] bollywood
[ ] cartoons
[ ] debrid support
[X] http streams
[ ] live tv
[ ] metadata
[ ] misc
[X] movies
[ ] music
[ ] nsfw
[ ] podcasts
[ ] radios
[ ] subtitles
[ ] torrents
[X] tv shows
[ ] video games

I don't know what this addon does but it is not working.

Works perfectly. Tested with trial account.

Having issues with buffering. Tried many different streams. Downloading from easynews directly is fast enough.

great addon

Cannot add this addon to stremio, i'm getting the error : " ERR_OPENING_MEDIA failed to fetch"

I am unable to get this add on installed onto stremio. I get serialization errors 1 and 2. When i try it install via android i get error occured while adding add on.

great addon

How did you get install it? Desktop, mobile, TV?

works great, happy i can combine both EN and PM for my sources, always install addons on your computer not from your phone or android tv.

I was very happy to see this addon, but I got a bit disappointed noticing that the results are poor or sometimes null, especially when it comes to Movies. I'm not sure if I'm doing something wrong (not that I can do much on the addon), but I have noticed I get zero or very limited results compared to what I can find doing a simple web search on Easynews website. Just a few examples: Oppen...heimer (zero results in the addon), The Crea...tor (zero results in the addon), MI Dead Reckoning (only one 1080p result). Their search websites show many results, including 2160p resolutions. The TV show results instead seem to be more rich and maybe it does not need any adjustment.
Is this a limit of the addon or am I missing something?

i just wanted to thank the @brianamit2017 for the Easynews Addon. Its great to have the EN service now on the stremio plattform. i daily driving this addon and it works well. i rarely miss any content. so thank you very much that you give us choice and please continue to maintain the addon in foreseeable future.

I agree. After the recent updates, the addon works perfectly. An applause to the developer @brianamit2017

I agree. After the recent updates, the addon works perfectly. An applause to the developer @brianamit2017

giving a thumbs up on OPs Post here will get synced to the stremio community addons website and give Easynews more visibility.

I agree. After the recent updates, the addon works perfectly. An applause to the developer @brianamit2017

giving a thumbs up on OPs Post here will get synced to the stremio community addons website and give Easynews more visibility.

done!

Love this addon - many thanks.
Would it be possible to add support for configuring it to exclude certain resolutions?

Thanks for the add-on.
I can't seem to get any results while searching for "Demain nous appartient" (french TV show).
The TV show is present on easynews. Any idea how I can watch it ?
Thank you.

I’m experiencing some problems recently, it seems that the add on can’t play any videos even though my speed in EN’s route selector is 70 Mbps+
I reckon the route in the add on is defaulting to the automatic route instead of the one selected at EN settings?
I can download files just fine and plenty fast when using EasyNews with a web browser. I can also stream Easynews perfectly when using Kodi and FEN Light

This addon doesn't work. I will be happy to contribute financially towards making it stable and working perfectly.

The addon doesn't work now. It gets stuck on loading.
Can't reinstall it either.


WebComment: display comment restriction

Originally on 2012-04-12
Comments can be restricted individually, independently from the record restriction. It would be needed to show the restriction state of a comment to the user, so that they know which information must not be shared (a reply to a comment will inherit the restriction of the original, so it is already safe on this side).
A basic "Restricted" label could be added to each comment, when it is individually restricted. Some flag similar to the one for restricted records could also be imagined (see also #867). It should however not degrade the reading experience of discussion pages by adding heavy (with vibrant, contrasted colors) graphics for every comment.

The issue seems to be stalled for 4 years. Invenio 1.x is in feature freeze state now.
--
cc @inveniosoftware/triagers


This will be a component that takes two ref cells as input, but itself exposes the interface of one memory. Internally, it logically bridges the two as needed.
In pseudocode:
a = [0,1,2,3]
b = [4,5,6,7]
as_one = wrapper(a,b)
assert (as_one[0] == 0)
assert (as_one[4] == 4)

Note that wrapper has not actually made new components.
When asked for index 0 it knows it can just read off a.
When asked for index 4 it knows it must skip over a and read off b.
Originally posted by @anshumanmohan in https://github.com/cucapra/calyx/issues/1472#issuecomment-1548182549

Pretty solid idea!

I've made some progress and hit a few roadblocks. Some are silly and some deep, but it's time to get y'all involved, I think. The code to look at is here; run it with python test/arbitration.py.
I have a bunch of inline comments, and the ones tagged "AM" could use some love. Many thanks!

Here's what I'd like to have by the time the tutorial rolls around:
 component wrap2 (i: int32, j: int32) -> int32 {
    // You pass six memories of length 4 each and then get to pretend they are two memories of length 12 each.
    // 0 <= i < 2
    // 0 <= j < 12
    // Returns the j-th element of the i-th memory.

    ref mem1 = std_mem_d1(32, 4);  // Six memories that will be passed by reference.
    ...
    ref mem6 = std_mem_d1(32, 4);

    ... hella math ...
 }

component wrap3 (i: int32, j: int32) -> int32 {
    // You pass six memories of length 4 each and then get to pretend they are three memories of length 8 each.
    // 0 <= i < 3
    // 0 <= j < 8
    // Returns the j-th element of the i-th memory.

    ref mem1 = std_mem_d1(32, 4);  // Six memories that will be passed by reference.
    ...
    ref mem6 = std_mem_d1(32, 4);

    ... hella math ...
 }

component main () {
    A = std_mem_d1(32, 4);   // Six memories.
    ...
    F = std_mem_d1(32, 4);
    as_two = wrap2();
    as_three = wrap3();
    ....
    invoke as_two[mem1 = A, ..., mem3 = F](i = 1, j = 11);
    invoke as_three[mem1 = A, ..., mem3 = F](i = 2, j = 6);
}

Perhaps this would overfitted to this problem, but I can imagine a whole bunch of quality-of-life improvement in the builder library in service of this. Partial-application of invoke seems like a really nice one, for example. Then I could have:
component main () {
    A = std_mem_d1(32, 4);   // Six memories.
    ...
    F = std_mem_d1(32, 4);

    as_two = wrap2();
    as_three = wrap3();

    as_two_ = partially_invoke as_two[mem1 = A, ..., mem3 = F];
    as_three_ = partially_invoke as_three[mem1 = A, ..., mem3 = F];

    invoke as_two_(i = 1, j = 11);
    invoke as_three_(i = 2, j = 6);
}

This looks like the right ballpark to me. FWIW, I think your idea for "partial application" for invokes there could fortunately be not too hard to write as a plain ol' Python function within the MrXL compiler… that is, you could prototype a utility like that (takes the ref-cell bindings, returns a function to "finish" constructing the invoke with input ports) and see how it works here. If it does seem cool and reusable, we could move it to the builder library.

I've begun work on the handwritten version and I have a question about invoke. I've looked at:

https://docs.calyxir.org/lang/ref.html?highlight=invoke#invoke
https://docs.calyxir.org/lang/ref.html?highlight=invoke#ref-cells
https://docs.calyxir.org/lang/memories-by-reference.html

And I'm not sure why, in #3, we seem to be clobbering the invoked component's outputs.
As you can sorta see from my "dream" example in pseduo-Calyx above, I'd like to echo the invoked component's outputs.

Whoops the link went to the page, not the section. I wanted you to look at this.
The component copy has three inputs and four outputs. It has no ref cells. In component main, we invoke copy0 by:

Passing any ref cells using a [foreign = local] syntax. There are no ref cells in copy, so there is no [] block in this invocation.

Passing inputs using the (foreign = local) syntax, which is what you're doing below. I follow this.
 (dest_done=d.done, src_read_data=s.read_data, length=length.out)

Now the output stuff was confusing me; it felt to me like some kind of clobber. However, now that I think about it, maybe it's just that you kept the (foreign = local) syntax but I implicitly expected a (local = foreign) syntax. The specific thing you have is:
 (dest_write_data=d.write_data, dest_write_en=d.write_en, dest_addr0=d.addr0, src_addr0=s.addr0)

To make sure I'm getting this right:

I originally thought that we received some value in dest_write_data and then clobbered it with d.write_data, following the right-to-left assignment notation.
Actually, we are taking dest_write_data's value and putting it into d.write_data. It's just a left-to-right assignment.

Is that right? And, relatedly, is this what you mean by forwarding?

Yup, you are correct. For the inputs, the syntax is sane, for the outputs, it is not but it does the expected things. For example:
invoke foo(in = p)(out = q)

Is the same as:
group inv_foo {
  foo.go = 1'd1;
  foo.in = p;
  q = foo.out;
  inv_foo[done] = foo.done;
}

An easy way to figure out what the generated code will do is to compile away the invokes:
calyx -p validate -p compile-refs -p compile-invoke <file>

One annoying problem with the above is that the q = foo.out assignment is only active when the invoke is executed. If you want the semantics that std_mem_* give you for reads (which is not a good semantics), you'd need something more complicated to allow for combinational reads.
An alternative is switching to seq_mem_* which provide sequential reads in addition to sequential writes which means that the output port of the memory is guaranteed to hold the value after the invoke is executed.

Ah nice nice. Thanks for the example, and for the pointer re: compiling away the invokes. Tomorrow I'll work on this and get closer to my goal. I'll ponder re: the semantics I want and play with your suggestions.
One option that occurred to me was to:

Have the invoked group have no output.
Have the invoked group have a ref ans memory in addition to the other memories I need.
When invoking the group, pass the memories I need by reference, plus a local, zeroed-out, ans_holder cell for the ref ans. Plus any inputs, as usual.
After the invoke is done, hey presto, the answer is sitting in my local ans_holder.

Sound okay, or known to be bad idea?

Quick update: I went with the proposal above and a baby version works great. Now on to the dream.

FWIW, the ans_holder approach outlined here is not too different from @rachitnigam's suggestion to match the behavior of seq_mem_*, which essentially have an ans_holder register built in. (The difference, of course, is that it's passed in from the outside instead, which has its own advantages.)


”Băcani”, ”Băltățeni”, ”Drujești”, ”Suseni”, ”Vulpășeni” are listed in the drop-down menu

Description:
When user writes ”Băcani”, ”Băltățeni”, ”Drujești”, ”Suseni”, ”Vulpășeni” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Băcani"

Expected results
The location appears in the drop-down menu as "Sat Băcani, VASLUI (Băcani)".

Step 3
Write in the search bar "Băltățeni"

Expected results
The location appears in the drop-down menu as "Sat Băltățeni, VASLUI (Băcani)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Drujești"

Expected results
The location appears in the drop-down menu as "Sat Drujești, VASLUI (Băcani)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Suseni"

Expected results
The location appears in the drop-down menu as "Sat Suseni, VASLUI (Băcani)".

Step 8
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 9
Write in the search bar "Vulpășeni"

Expected results
The location appears in the drop-down menu as "Sat Vulpășeni, VASLUI (Băcani)".


onSubmit option, conflict issue when content is filled using mouse

What happened?
I haven't added anything new other than adding a onSubmit option to your existing code of accessing twitter data. onSubmit option for mouseclick and keystroke have different results.
Affected version
Latest
Reproduction URL
https://codepen.io/alanjam/pen/vYjNEGm?editors=1111
How to reproduce?
Go to the link.
Type in your name and complete the suggestion using mouse click and click enter.
An alert appears and click ok.
Open console log.
Alert appears, click ok.
Open console log. You can find the stringified data from twitter there, which wasn't available when using mouse.
Browsers
Brave
Relevant log output
No response
Additional context
No response

also i get an following error
DevTools failed to load source map: Could not load content for https://cdn.jsdelivr.net/npm/typeahead-standalone.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

Hello, thank you for reporting this bug. It has been fixed in v4.11.0.
Also to access the source maps, use a specific version in your script tag, for example =>
<script<EMAIL_ADDRESS>The will ensure that the source-maps load correctly<EMAIL_ADDRESS>

Hey @niketpathak the issue still persists for me when preventSubmit: false .
I might be wrong here, but according to my understanding, if I click on the username it should trigger the onSubmit function. With the keys it triggers as intended, but on using mouse click, it fills in the data in the form, but I don't receive data on my console log. I've updated the code https://codepen.io/webVerts/pen/vYjNEGm

Hey @webVerts ,
This is intended behavior. When you select a suggestion via your Keyboard(Arrow keys) and press the Tab key,
the behavior is similar to what would happen when you click on a suggestion. This is because you are only selecting a suggestion, but not submitting it, hence the onSubmit callback is not executed.
The onSubmit callback is used to submit data when the input element is used outside of a form. It therefore gets executed only when you hit the Enter key. For example, when you select a suggestion by clicking on it, the input element will be filled with the necessary text. And then when you hit Enter, the onSubmit callback will be executed.
I think what you are looking for is an onSelect callback which does not exist yet. If you could kindly elaborate on the use-case of why this callback would be useful/necessary, we will definitely include it in the next release. Thanks!

I think you can handle pretty much all use cases with the config callback property display:
display: (selectedItem, evt) => {
    if (evt && evt.type === 'click') {
      // submit form here
    }
    // if tab should not replace the input value with item.property
    return (evt && evt.key === 'Tab') ? evt.target.value : item.property;
}


email address/beacon issue again

Trying to post a new opportunity on beacon and it is not working because the email address is @ura.org

You have to add the domain in admin.
On Feb 4, 2016 2:22 PM, "rileystewart"<EMAIL_ADDRESS>wrote:

Trying to post a new opportunity on beacon and it is not working because
the email address is @uraorg
—
Reply to this email directly or view it on GitHub
https://github.com/CityofPittsburgh/pittsburgh-purchasing-suite/issues/46
.

thx. have never noticed that dropdown before


Use channels to watch for events

BeginWatch(Edge, IRQEvent) could have a more Go like API to handle events like signal.Notify
https://golang.org/pkg/os/signal/#Notify

I'm sorry but I haven't worked on this package in years. I'm unlikely to
implement this feature.
I recommend you look at the work happening in the x/exp/gpio repo.
On Tue, Jun 7, 2016 at 2:53 PM, Daker Fernandes Pinheiro <
<EMAIL_ADDRESS>wrote:

BeginWatch(Edge, IRQEvent) could have a more Go like API to handle events
like signal.Notify
https://golang.org/pkg/os/signal/#Notify
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/davecheney/gpio/issues/23, or mute the thread
https://github.com/notifications/unsubscribe/AAAcA97YLb-lEuLu6xOqpfjB3V_dsNTEks5qJPlWgaJpZM4Ivjlq
.

Dear Dave
Do you know where I can find any more informations to implement x/exp/gpio on a raspberry.
I tried to found but I did not find how to Initiate the driver to Open the communication with the Pi but I did not arrive to do it..
Thank you for your time.
Best
Paul

I'm pretty sure that package supports the rpi's Gpio ports already, it was one of the first platforms they got working.

On 17 Aug 2016, at 19:53, paul B<EMAIL_ADDRESS>wrote:
Dear Dave
Do you know where I can find any more informations to implement x/exp/gpio on a raspberry.
I tried to found but I did not find how to Initiate the driver to Open the communication with the Pi but I did not arrive to do it..
Thank you for your time.
Best
Paul
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Ok,
I will ask the team leader to see how to implement.


Support for @opaque types in precond

Hey, thanks for this great library!
Is support for @opaque types in precond macro on the roadmap by any chance?
Example:
defmodule User do
  use Domo

  # No errors when using usual @type
  # @type id :: String.t()
  # Error when using @opaque type
  @opaque id :: String.t()
  precond id: &validate_id/1

  @type t :: %__MODULE__{id: id()}

  @enforce_keys [:id]
  defstruct [:id]

  defp validate_id(""), do: {:error, "can't be empty"}
  defp validate_id(_id), do: :ok
end

This throws the following compilation error:
** (FunctionClauseError) no function clause matching in anonymous fn/1 in Domo._plan_precond_checks/2

    The following arguments were given to anonymous fn/1 in Domo._plan_precond_checks/2:

        # 1
        {:opaque, {:id, {:remote_type, 8, [{:atom, 0, String}, {:atom, 0, :t}, []]}, []}}

    (domo 1.2.9) lib/domo.ex:562: anonymous fn/1 in Domo._plan_precond_checks/2
    (elixir 1.12.3) lib/enum.ex:1582: Enum."-map/2-lists^map/1-0-"/2
    (domo 1.2.9) lib/domo.ex:562: Domo._plan_precond_checks/2
    (stdlib 3.16) lists.erl:1267: :lists.foldl/3
    (stdlib 3.16) erl_eval.erl:685: :erl_eval.do_apply/6

If I remove the precond line, I have no errors, even with the @opaque type.

Hey, thanks for finding a bug. Let's see what can be done to hotfix this.

@opaque types and attached preconditions are supported in version 1.4.0.

Works like a charm, thank you!


Fix error when using the search bar and pressing enter on Beautacus

There is currently an error that displays when entering data into the search bar instead of using the search functionality.

Please provide the error or a way to reproduce.

Please provide the error or a way to reproduce.

Sorry for the late response, I've added a screenshot of the error.
Please note that this is an issue on Beautacus and not the main application Spartacus.

Please change "search" from CategoryPage to ContentPage.

PR: https://stash.hybris.com/projects/C3PO/repos/beautystore/pull-requests/7/overview

Tested on dev2. It works now. No more error when searching.


Actions for code scanning

Description
As a maintainer,
I want code scanning to be ran on a PR
So that automatically detect common vulnerability and coding errors
Acceptance Criteria

When a PR is open a action runs

CodeQL Analysis

The PR status for the code scanning

When fails is red & wont allow the PR to be merged
When success is green and will allow the PR to be merged

What are the current top options here?
can we use dependabot for this?

i can start looking at this issue next

Sorry @marblekirby only just seen your comment!

That is ok, I didn't round to adding codeql in quick enough anyway, will assign @josh-hiles


Adds Dockerfile-hpo

@YanLabCHU
You also need to add it to the ci so that the ci builds and push the image: https://github.com/Ferlab-Ste-Justine/clin-proxy-api/tree/master/.github/workflows
Technically, a new repository for the images need to be added to Dockerhub. What do you want the image name to be?


IRSA support for baremetal

Issue #, if available:
#4361
Description of changes:
IRSA support for bare metal is implemented
Testing (if applicable):
Verified with E2E test.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

can we add an e2e test for IRSA on bare metal? Can be a separate PR

Checking which release this is/will be part of?


Barcode is printing with low quality

I have a printer zebra420. The problem is that barcode on label is printing with low quality.
I testing with two version and on both is another quality. Printing from windows is every good.
Attached three pictures:
Printing from:
Windows via driver from zebra

CUPS 2.2.10

CUPS 2.3.3op2

How resolve this problem?

@kamiszczu The issue here is a combination of low resolution (203 dpi) and the anti-aliasing behavior of the various PDF rasterization filters used. Basically, you either have anti-aliasing enabled and you get fuzzy, dithered output or you have anti-aliasing turned off and lose the spacing between the lines.
Unfortunately there is nothing that can be done with the current driver - it asks for 1-bit B&W raster data and prints it as-is. I am working on a potential fix for this in the LPrint label drivers which I hope will be released in the coming month...


When exporting using phantomjs error

`Mahendras-MacBook-Pro-3:~ mahendra$ /Users/mahendra/software/phantomjs-2.1.1-macosx/bin/phantomjs /Users/mahendra/software/phantomjs-2.1.1-macosx/bin/webtoimage_local.js http://localhost/funnelcopy/index.html /Users/mahendra/mywork/tmp/funnel123.png
pageUrl: http://localhost/funnelcopy/index.html
outputImg: /Users/mahendra/mywork/tmp/funnel123.png
TypeError: undefined is not a constructor (evaluating 'Number.isNaN(c)')
http://localhost/funnelcopy/d3-funnel.js:1
:0 in forEach
http://localhost/funnelcopy/d3-funnel.js:1 in value
http://localhost/funnelcopy/d3-funnel.js:1 in value
http://localhost/funnelcopy/d3-funnel.js:1 in value
http://localhost/funnelcopy/index.html:50 in initialize
http://localhost/funnelcopy/index.html:56 in onload
Status: success
Mahendras-MacBook-Pro-3:~ mahendra$
`
Not able to see exact as main js is also minified.
How can have the d3-funnel.js as non minified version

Non-minified version should be fixed and available on v1.2.1.


Stylesheet of slick.scss and theme.slick.scss not working at all.

I restart my and got the node_module but still, the slick.scss and slick-theme.scss not working here video --> Video Here When every do slate build doesn't add them in dist fold might be doing something wrong.
I check both theme.scss and theme.liquid everything types correctly.

@brandonpowell, as requested here https://github.com/Shopify/slate/issues/307#issuecomment-333715003, please use the Issue template when submitting an issue. It will help us out when looking at your issue.
If you are not sure what I mean by "issue template", it's the text that is autogenerated whenever you you make an issue.  It looks like this: https://github.com/Shopify/slate/blob/master/.github/ISSUE_TEMPLATE.md

In the video, you are importing slick.scss and slick-theme.scss into your theme.scss file using @import.
However, in your theme.liquid file you are generating a <style> tag asking for the the URL for both those Slick files.  This will not work because those were imported in theme.scss - the URL does not exist for slick.scss on its own.
If you want those files loaded as stand alone stylesheets on your website, you'll need to move them to the same level as theme.scss
styles/
  -- global/
  -- vendor/
  -- theme.scss
  -- slick.scss
  -- slick-theme.scss

@NathanPJF Thank you, Sorry for type issue like I will fix up

Assuming you now have this working @brandonpowell, so I'll close the issue. 😃


Design base stack Type

Infrastructure/operational stacks generally consist of a collection of software elements defined for managing a set of capabilities or tools provided to a particular application built on top of or integrated with it. For example, the LAMP stack, consisting of the Linux operating system, the Apache HTTP server, MySQL and PHP, is such a set of well-established software elements used in provisioning web servers which have been responsible for hosting a significant of the internet's content for decades.
This item entails developing such a stack for general or base application operational monitoring and alerting. To this end, the goal of this work is to develop an initial design of the stack layers for automating the provisioning, configuration and runtime life-cycle management of software elements of this Base stack type for including the following capabilities with all application deployments:

logging
metric collection
monitoring
alerting

Base Type v1

Software Element
Capability
Class

fluentd
logging
exporter

elasticsearch
logging
{ sink, explorer }

kibana
logging
explorer

(app-prometheus-exporter)
metrics
exporter

prometheus
metrics
{ sink, explorer }

grafana
{ monitoring, alerting }
{ sink, explorer }

alertmanager
{ monitoring, alerting }
explorer


Tidy in new data store code

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
22 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.02%) to 91.425%

Files with Coverage Reduction
New Missed Lines
%

.nox/test-3-10/lib/python3.10/site-packages/cogent3/core/alignment.py
1
95.15%

.nox/test-3-10/lib/python3.10/site-packages/cogent3/app/data_store_new.py
21
93.62%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
179856

Relevant Lines:
196726

💛  - Coveralls


鼠标快捷控制

Description of the new feature / enhancement
按住鼠标左键向下移动：关闭当前程序
Scenario when this would be used?
鼠标快速关闭当前应用程序
Supporting information
No response

This is one of the features of the functionality that I proposed here, however, it seems that nobody noticed it.
https://github.com/microsoft/PowerToys/issues/26014


chore: update auctions screen to use auctions screen

Description
Update the auctions screen to use the new screen layout
https://github.com/artsy/eigen/assets/11945712/edcacc8a-14df-44cd-bd11-bbd60d88be5b

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

update auctions screen to use auctions screen - mounir

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes (update auctions screen to use auctions screen - mounir)

  Generated by :no_entry_sign: dangerJS against 1654ef5e4686ae382ea0847a1e8542e9cd7afe97


Positioning of dragPreview

Привет. Hi.
I'm using this component http://facebook.github.io/fixed-data-table/ and render cell into their column which have DragDropMixin, it almost working, however positioning of dragPreview begins with first element in table(even header). I'm wonder, is it something we can control? Or is it internals of fixed-data-table?

Can you put up a minimal example so I can take a look?

I'm writing in coffee. This is ok? Or it is better make some online example?
Object.assign = Object.assign || require('object.assign')
FixedDataTable = require('fixed-data-table')
require('fixed-data-table/dist/fixed-data-table.css')
Table = FixedDataTable.Table
Column = FixedDataTable.Column
DragDropMixin = require('react-dnd').DragDropMixin
rows = [[1,2], [2,2], [2,2], [2,2], [2,2]]

rowGetter = (rowIndex) ->
  rows[rowIndex]

Row = React.createClass
  mixins: [DragDropMixin]
  configureDragDrop: (registerType) ->
    registerType('row', {
      dragSource: {
        beginDrag: ->
          {
            item: {
              id: this.props.id
            }
          }
      }
      dropTarget:
        over: (item) ->
          this.props.moveCard(item.id, this.props.id)
    })

  render: ->
    getDragState = @getDragState('row')
    isDragging = @getDragState.isDragging

      hello

module.exports = React.createClass
  displayName: 'Table'
  cellRender: (any_cellData, string_cellDataKey, object_rowData, number_rowIndex, any_columnData, number_width) ->
    <Row />
  render: ->

        <Column cellRenderer={@cellRender} label="lol" width={200} dataKey={0} />

It would help to see this as a JSBin example (or a separate repo if you wish).

Actually, when I was trying to build jsbin example it works, then i check my dev and it works too, so strange. I will make jsbin if this problem arise again. Thanks.

No problem!


[PE-D][Tester C] Command words under Commands and Command Summary do not match in UG

In Commands, this feature utilises listattn command word.
An update to the UG will fix this issue.

Labels: type.DocumentationBug severity.Low
original: wang-h-z/ped#2

Closed as duplicate of #254


Connexion Issues unless FQDN name is used

Verified issue does not already exist?
Yes
What error did you receive?
Hi Team,
I discovered lately that we are facing issues with the latest DBATOOLS versions (starting from v1.1.0).
Actually, I have a statistic Powershell script that runs every month. The script connects to each SQL server and get statistics over the hosted databases in it. However, the script is failing with all the latest versions since v1.1.0. We are getting connection errors from all the dbatools command such as [Get-DbaDatabase] [Get-DbaDbFile] [Get-DbaAvailabilityGroup] [Get-DbaRegServer]... After some checks it seems that those commands are working only when FQDN is used. The script is still working perfectly with older versions.
The error message comes like :
PS C:\new SQl Stats> Get-DbaDatabase -SqlInstance 'MOCKSERVERNAME' -EnableException
The target principal name is incorrect
At C:\Program Files\WindowsPowerShell\Modules\dbatools\1.1.0\allcommands.ps1:90200 char:9

    throw $records[0]

    ~~~~~~~~~~~~~~~~~

CategoryInfo          : ConnectionError: (MOCKSERVERNAME:String) [], Exception
FullyQualifiedErrorId : dbatools_Get-DbaDatabase

In first place I though it was related to the latest changes on the Connect-DbaInstance command so I've run this command passed in the releases description to switch to the old connection model but it did not resolve the issue.
The PS command : Set-DbatoolsConfig -FullName sql.connection.legacy -Value $true
Many Thanks all for your help
Steps to Reproduce
Get-DbaDatabase -SqlInstance 'MOCKSERVERNAME'

Are you running the latest release?
Yes
Other details or mentions
No response
What PowerShell host was used when producing this error
Windows PowerShell (powershell.exe), Windows PowerShell ISE (powershell_ise.exe)
PowerShell Host Version
We are using Powershell V 5.1.17763.1971  and .Net Framework V4.7.03190
SQL Server Edition and Build number
All SQL version for SQL2000 to SQL 2019

Thanks for the issue, @habibhammy ! I just created this discussion to explain what's going on.
https://github.com/sqlcollaborative/dbatools/discussions/7680
Fortunately, this error is new and expected as Microsoft changed their settings to be more secure, but the fix can be quick and easy.


fix issue #10764

fix issue https://github.com/yiisoft/yii2/issues/10764

Changelog and tests are required

I'm closing this PR in favor of changing Html::tag behavior as described in https://github.com/yiisoft/yii2/issues/10764#issuecomment-180781200

but also in BaseListView:
 echo Html::tag($tag, $content, $options);
maybe
 return Html::tag($tag, $content, $options);
?

there is no real difference https://github.com/yiisoft/yii2/blob/master/framework/base/Widget.php#L107


terra-application-navigation not themed for clinical-lowlight-theme

Bug Report
Description

When trying to view terra-application-navigation in clinical-lowlight-theme the theme variables are not being correctly applied.
https://pages.github.cerner.com/orion/orion-application/components/orion-application/demo

Steps to Reproduce

Navigate to https://pages.github.cerner.com/orion/orion-application/components/orion-application/demo
Switch to clinical-lowlight-theme
Nav Bar and portions of the Utility Menu are not themed correctly

Additional Context / Screenshots

Expected Behavior

All components should be correctly themed when using a theme.
@ Mentions

@StephenEsser @mjhenkes

After further investigation of the _DrawerMenu and the _PopupMenu, theme values are correctly being provided for Lowlight and Fusion themes:

clinical-lowlight-theme
orion-fusion-theme

DrawerMenuCommon.module.scss
DrawerMenuCommon.module.scss

PopupCommon.module.scss
PopupCommon.module.scss

and they are correctly being applied, shown in the WDIO tests:

../chrome_large/application-navigation-spec/ 1__Popup_Open.png

../chrome_large/application-navigation-spec/ tabs_roll_up_properly.png

../chrome_small/application-navigation-spec/ 1__Drawer_Open.png

../chrome_small/application-navigation-spec/ ApplicationNotifications_displays_nav_drawer.png

It was found that theme context was missing, therefore making the application navigation popup menu and drawer menu appear to not be themed when dynamically switching themes with devsite, resolved by https://github.com/cerner/terra-framework/pull/1393


Use Kafka <IP_ADDRESS> driver

This pull request updates the kafka driver to <IP_ADDRESS>, which is now backwards compatible with 0.10.*.
It also tweaks the exceptions thrown from commit_sync, adds the committed method to Consumer and handles array options.
For now I've removed the commit_async tests, since the previous testing functionality was questionable, and everything broke with the updated driver. I am unsure of how we can test this properly, and if the removed tests are a blocker for merging.

I didn't read the description properly, I saw now that you had problems figuring out how to test it. I think there needs to be tests, but I could have written by rejection notice better.

Tests for committed and the configuration conversion are upcoming. I will give testing commit_async another go and see what I can do.


Binary target dir name has a "-" instead of "_"

At line 300 of gb/context.go, gb is creating the target dir name based on architecture and os by concatenating them with a "-" instead of the (seemingly?) standard "_".  Here is the relevant function:
// ctxString returns a string representation of the unique properties
// of the context.
func (c *Context) ctxString() string {
    v := []string{
        c.gotargetos,
        c.gotargetarch,
    }
    v = append(v, c.buildtags...)
    return strings.Join(v, "-")
}

This is causing issue with our code generators that use the "types" package and the default importer with the following:
conf := types.Config{Importer: importer.Default()}
The default importer uses built binaries to discover dependencies and since they are in a pkg directory (darwin-amd64 in our case) with the "-" instead of the "_", it can't find any of our code.
Was the use of the "-" intentional?  Would it be possible to change it to an "_" to match the what the go/importer lib expects?
Thank you.

Yes, the - is intentional to avoid overwriting .a files created by the go tool.

GoCode is using generated .a files for completion.
https://github.com/constabulary/gb/issues/634
[09:34:30] margo: agent#010: log: Gocode env: gocode.margoEnv{LibPath:"/usr/lib/go/pkg/linux_amd64:/home/paraboul/go/src/git.xxx.com/x.yyy.com/api-server/vendor/pkg/linux_amd64:/home/paraboul/go/src/git.xxx.com/x.yyy.com/api-server/pkg/linux_amd64", GOOS:"linux", GOARCH:"amd64", Compiler:"gc", GOROOT:"/usr/lib/go", GOPATH:"/home/paraboul/go/src/git.xxx.com/x.yyy.com/api-server/vendor:/home/paraboul/go/src/git.xxx.com/x.yyy.com/api-server", InstallSuffix:""}

linux_amd64 vs linux-amd64
Haven't found a proper fix yet...

This is not an answer, but an explanation. gb creates .a files in a slightly different directory layout because I was not sure if they would be compatible with output from the go tool.

On 18 May 2018, at 18:05, Anthony Catel<EMAIL_ADDRESS>wrote:
GoCode is using generated .a files for completion.
#634
[09:34:30] margo: agent#010: log: Gocode env: gocode.margoEnv{LibPath:"/usr/lib/go/pkg/linux_amd64:/home/paraboul/go/src/git.xxx.com/x.yyy.com/api-server/vendor/pkg/linux_amd64:/home/paraboul/go/src/git.xxx.com/x.yyy.com/api-server/pkg/linux_amd64", GOOS:"linux", GOARCH:"amd64", Compiler:"gc", GOROOT:"/usr/lib/go", GOPATH:"/home/paraboul/go/src/git.xxx.com/x.yyy.com/api-server/vendor:/home/paraboul/go/src/git.xxx.com/x.yyy.com/api-server", InstallSuffix:""}
linux_amd64 vs linux-amd64
Haven't found a proper fix yet...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@davecheney My post was actually for another project referencing this issue :)


Can't run cargo fullstack using poem server

I ran create-rust-app myapp and selected sqlite and poem. Setup went smoothly, but when running cargo fullstack I ran into some compiler errors in poem_utils.rs:
   Compiling tera v1.17.1
   Compiling poem-derive v1.3.48
   Compiling lettre_email v0.9.4
   Compiling diesel_migrations v2.0.0
   Compiling poem v1.3.48
   Compiling create-rust-app v8.0.2
error[E0432]: unresolved import `http`
 --> C:\Users\lynn\.cargo\registry\src\github.com-1ecc6299db9ec823\create-rust-app-8.0.2\src\util\poem_utils.rs:1:5
  |
1 | use http::{StatusCode, Uri};
  |     ^^^^ help: a similar path exists: `poem::http`

error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
   --> C:\Users\lynn\.cargo\registry\src\github.com-1ecc6299db9ec823\create-rust-app-8.0.2\src\util\poem_utils.rs:119:16
    |
119 |     let file = tokio::fs::read(path).await.unwrap();
    |                ^^^^^ use of undeclared crate or module `tokio`

Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `create-rust-app` due to 2 previous errors

I'm using create-rust-app v8.0.2 and poem v1.3.48, and I'm running Windows 10.
> cargo --version
cargo 1.64.0 (387270bc7 2022-09-16)
> rustc --version
rustc 1.64.0 (a55dd71d5 2022-09-19)

Aha, I needed to edit myapp/Cargo.toml and enable features of create-rust-app:
 [dependencies]
 futures-util = "0.3.21"
-create-rust-app = {version="8.0.2", default-features = false, features=["plugin_dev", "plugin_auth", "plugin_container", "database_sqlite", "backend_poem"]}
+create-rust-app = {version="8.0.2", default-features = false, features=["plugin_dev", "plugin_auth", "plugin_container", "database_sqlite", "backend_poem", "http", "tokio"]}
 serde_json = "1.0.79"
 tracing-subscriber = "0.3.7"
 tsync = "1.2.1"

Maybe these features should be enabled automatically, at least when selecting "poem"?

Thanks for catching this @lynn, it should be fixed in 8.1.0

Closing for now, feel free to reopen :)


fixed some grammatical errors in the readme.md

fixed some grammatical errors and tried to overall make the readme look better with better punctuation etc.

Sorry but this type of PR is not useful