Development Seed additions (UKCP18 + Linting)

What this PR is
This PR brings in the changes we've been working on within the Development Seed fork of the repository
I appreciate this is a big change, I wasn't sure when we were looking to re-contribute back, sorry about that!
At a high level, this change:

Introduces src/hazard/sources/ukcp18.py as a new dataset to be used as a source
Fixes various linting issues that seemed to cause builds to fail, pdm run all now passes for me
Adds the ability to pass in an optional AWS SSO Token for authentication (Some organisations require this)

This has been discussed here: https://github.com/developmentseed/os-climate-hazard/pull/8#issuecomment-2267744603
Happy to jump on a call to run through anything if this makes it easier. Figured I'd rather get these in before the horse really has bolted too far!

@joemoorhouse I think there's a clash between ruff + black, ruff says there's formatting issues, then it fixes them, then black say's there's issues, then the cycle repeats.
I think it's best to pick one or the other rather than both in tandem, as they'll inevitably clash

Thanks @ciaransweet
Hi @ModeSevenIndustrialSolutions, I think you are happy for OSC to move to ruff and in fact we are doing that in physrisk? So we can just migrate now to avoid this clash?

@joemoorhouse @ModeSevenIndustrialSolutions
Do you want me to do the move to ruff?

Hi @xbarra, yes please - let's move this to ruff also.

Hey folks @joemoorhouse @xbarra @ModeSevenIndustrialSolutions - Happy to move to ruff entirely in this change if it makes things easier?
The ruff linter passes so I suppose it's just a case of making sure all the black/flake8 etc calls are replace with ruff invocations...


Fix backoff timeouts

Current dependencies on/for this PR:

main

PR #23   👈

This comment was auto-generated by Graphite.


How to implement the ‘enc_layer’？

Hi，
I have some confusions about the implement of  ‘enc_layer’ in enc_layer.py.
The code of  enc_layer’  is :
def enc_layer(D:int,K:int):
net = nn.Sequential(Encoding(D, K),
# encoding.nn.EncodingV3(D=out_channel,K=K),
nn.ReLU(inplace=True),
#nn.ReLU(),
encoding.nn.View(-1, D * K),
encoding.nn.Normalize(),
nn.Linear(D * K, D),
nn.Sigmoid()
)
return net
How could I find out the source code of  'Encoding(D, K)'?
Thanks!

Hi，
I have some confusions about the implement of ‘enc_layer’ in enc_layer.py.
The code of enc_layer’ is :
def enc_layer(D:int,K:int):
net = nn.Sequential(Encoding(D, K),
encoding.nn.EncodingV3(D=out_channel,K=K),
nn.ReLU(inplace=True),
#nn.ReLU(),
encoding.nn.View(-1, D * K),
encoding.nn.Normalize(),
nn.Linear(D * K, D),
nn.Sigmoid()
)
return net
How could I find out the source code of 'Encoding(D, K)'?
Thanks!

Hi，
I have some confusions about the implement of ‘enc_layer’ in enc_layer.py.
The code of enc_layer’ is :
def enc_layer(D:int,K:int):
net = nn.Sequential(Encoding(D, K),
encoding.nn.EncodingV3(D=out_channel,K=K),
nn.ReLU(inplace=True),
#nn.ReLU(),
encoding.nn.View(-1, D * K),
encoding.nn.Normalize(),
nn.Linear(D * K, D),
nn.Sigmoid()
)
return net
How could I find out the source code of 'Encoding(D, K)'?
Thanks!

Please refer to the source code and installation instructions in this link
https://hangzhang.org/PyTorch-Encoding/notes/compile.html
After you finish the installation of encoding layer, it should be fine.
Best Regards,

Hi，
I have some confusions about the implement of ‘enc_layer’ in enc_layer.py.
The code of enc_layer’ is :
def enc_layer(D:int,K:int):
net = nn.Sequential(Encoding(D, K),
encoding.nn.EncodingV3(D=out_channel,K=K),
nn.ReLU(inplace=True),
#nn.ReLU(),
encoding.nn.View(-1, D * K),
encoding.nn.Normalize(),
nn.Linear(D * K, D),
nn.Sigmoid()
)
return net
How could I find out the source code of 'Encoding(D, K)'?
Thanks!

Hi，
I have some confusions about the implement of ‘enc_layer’ in enc_layer.py.
The code of enc_layer’ is :
def enc_layer(D:int,K:int):
net = nn.Sequential(Encoding(D, K),
encoding.nn.EncodingV3(D=out_channel,K=K),
nn.ReLU(inplace=True),
#nn.ReLU(),
encoding.nn.View(-1, D * K),
encoding.nn.Normalize(),
nn.Linear(D * K, D),
nn.Sigmoid()
)
return net
How could I find out the source code of 'Encoding(D, K)'?
Thanks!

Please refer to the source code and installation instructions in this link
https://hangzhang.org/PyTorch-Encoding/notes/compile.html
After you finish the installation of encoding layer, it should be fine.
Best Regards,


[SQL][showcase] simplify encoder framework

Current we need to resolve, bind or rebind the encoder before use, which I think is not a robust mechanism.
This PR shows that we can totally avoid the bind stuff and simplify the encoder usage. To build the construct expression, we can use the type info to bind field with ordinal directly(like what we did for tuple) instead of depending on field name.
The only thing it breaks is the field reorder support. For example, a internal row with schema <a: Int, b: String> can be decoded into case class (b: String, a: Int). However, I wanna argue that this feature is not very useful and at least our internal execution doesn't need it.
cc @marmbrus @yhuai

Merged build triggered.

Merged build started.

Test build #45121 has started for PR 9497 at commit ca491b7.

Test build #45121 has finished for PR 9497 at commit ca491b7.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):\n  * case class WrapOption(t: DataType, child: Expression) extends UnaryExpression with ExpectsInputTypes \n  * case class GetInternalRowField(child: Expression, ordinal: Int, dataType: DataType)\n  * case class InputInternalRow(dataType: StructType) extends LeafExpression \n

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/45121/
Test FAILed.

I do want to simplify this, but I'm not sure that this is the right approach.  Specifically, field reordering is a very important feature.  Imagine the case where you are reading from JSON and you only want some of the fields.  Furthermore, as we try to make this competitive with/faster than with RDDs I think it will be useful to be able to extract from arbitrary schemata without having to do an extra projection.
One thing that I think we can simplify is to have only two steps that happen at well defined places:

Resove - happens when you pass an encoder into a Dataset, at the end it should only have AttributeReferences (i.e. this a combination of unbind and resolve)
Bind - Right before you are actually going to use an encoder you bind it to the row's schema.

Hopefully this approach could be simpler and easier to reason about.  Either way, since this is an internal detail, I'd like to table this until after 1.6.  I'm way more worried about fleshing out the API and making sure that there is good Java support.

Okay, I understand now and I agree.
I'll reopen this PR after 1.6 to do the simplification you propoese.


Built-in OAuth app appears to have been shutdown

I am not surprised that the app is defunct. It's very hard to do this now (include an app). For some APIs it's essentially impossible to get an app verified and unverified apps are shut down after a certain number of uses or a certain number of distinct users.
You may need to insist that users bring their own auth app, like gmailr now does:
https://gmailr.r-lib.org/#setup

I suspect the new app will get shutdown by Google in the future, unless you go through the verification process. I think the trigger is something like n uses of the app or n uses by unique Google users. So it will work for a little while and then stop.
I think there's no long-term way to avoid either getting verified or officially encouraging users to get their own app.


Support dlpack as per array API spec

JAX already supports DLPack via jax.dlpack.to_dlpack and jax.dlpack.from_dlpack. If jax.Array were compatible with the Protocol below we'd have a much easier time to interop between array API compatible frameworks:
from jax import numpy as jnp
from typing import Protocol, Any
from enum import Enum

PyCapsule = Any

class SupportsDLPack(Protocol):
    def __dlpack__(self, *, stream: int | Any | None = None) -> PyCapsule:
        """Export the `Array` as DLPack capsule.

        Args:
            stream:
                For CUDA and ROCm a Python integer representing a pointer to a
                stream, on devices that support streams.

        Returns:
            A DLPack capsule for the `Array`.

        Raises:
            BufferError:
                If the data cannot be exported as DLPack.
        """
        ...

    def __dlpack_device__(self) -> tuple[Enum, int]:
        """The device type and device ID in DLPack format.

        Returns:
            A tuple `(device_type, device_id)` in DLPack format.
        """
        ...

def f(x: SupportsDLPack) -> None:
    return None

f(jnp.ones(1))  # pyright: ignore [reportUnknownMemberType]

[Pyright] Argument of type "Array" cannot be assigned to parameter "x" of type "SupportsDLPack" in function "f"
  "Array" is incompatible with protocol "SupportsDLPack"
    "__dlpack_device__" is not present
      "__dlpack__" is an incompatible type
        Type "() -> Any" cannot be assigned to type "(*, stream: int | Any | None = None) -> PyCapsule"
          Keyword parameter "stream" is missing in source

There is already ongoing work for array API compatibility at https://github.com/google/jax/pull/16099. This issue is just a minor change required to the annotations in the dlpack implementation in jax.Array tough (and an "optional keyword" -> "keyword only" change).
dlpack in the the API spec:

https://data-apis.org/array-api/latest/API_specification/generated/array_api.array.__dlpack__.html
https://data-apis.org/array-api/latest/API_specification/generated/array_api.array.__dlpack_device__.html

cc @jakevdp

Note that the current array already supports something similar but is not fully compatible from a typechecker perspective:
https://github.com/google/jax/blob/366a16f8ba59fe1ab59acede7efd160174134e01/jax/_src/array.py#L374C1-L382C74
  def __dlpack__(self, stream: int | None = None):
    if len(self._arrays) != 1:
      raise ValueError("__dlpack__ only supported for unsharded arrays.")
    from jax._src.dlpack import to_dlpack  # pylint: disable=g-import-not-at-top
    return to_dlpack(self, stream=stream)

  def __dlpack_device__(self) -> tuple[int, int]:
    if len(self._arrays) != 1:
      raise ValueError("__dlpack__ only supported for unsharded arrays.")

https://github.com/google/jax/pull/17511 should fix


make testSignals more robust

motivation: #196 introduces a timeout for testSignals, but its too low in some cases
changes: increase timeout
rdar://74356445

@swift-ci please test


Problem flashing full ROM on Google Chromebook Pixel 2013 (link)

I have no problem flashing RW_LEGACY firmware on this device. But when I tried to flash the full ROM, I got below error from flashrom:
Invalid entry specified: SI_BIOS
Then the flash failed. Please see attached screenshot for the full output:
FW WP is off as in this one:

Flash failed.

Anything I can do to help diagnostic this problem?

Sorry the pics seems too big, I should have shrunk them, sorry for that.

The problem only occurred when I run the script from within ChromeOS 69, the last and the latest version for this device.
There is no any problem when I ran it from Linux, the UEFI full ROM was installed successfully.

grr, reverted this change while I figure out why it's not working consistently/correctly.


Remove hardcoded indentation for Helm secret volumeMounts

What changes are proposed in this pull request?
Adjust Helm chart template indentation level for Secret volumeMounts to use the indent pipe as opposed to hard-coding whitespaces.
Why are the changes needed?
Thanks to #15029 the indentation mismatch is already fixed, but this change will just discourage similar indentation mismatches in the future.
Does this PR introduce any user facing changes?
No user-facing changes.

One item under https://github.com/Alluxio/alluxio/issues/16337. Will resubmit PR


Allow formatting service to ignore the OnTypeFormatting option

This was a lot more complicated than I thought, so after chatting with @ryzngard this is taking the easy way out, since the hard way would require big changes to formatting.
With this change the actual formatting service doesn't check the on type formatting setting, just the LSP endpoints do, with this PR specifically adding that check to the auto insert endpoint. This means the setting will also turn off XML doc comment completion, but I think thats a reasonable compromise for now. It also means the setting has no effect if Single Server is turned off, but we have no reason to think anyone has done that anyway.
There is a comment explaining that, and a bit more, in the code.
Closes https://github.com/dotnet/razor/issues/4336
@phil-allen-msft I think we should take this for M2

/azp run

whoops, jumped the gun, i thought the merge from main had gone in

Force pushed, and retargeted to 17.6 for M2 purposes


Additional question fields in relation to legal experience.

As admin l want the candidate to answers the following question so that l can have all the information l need for statutory com letters. This field should be made mandatory. Candidate needs to provide answers to the following question.
Note
These information should be capture underneath Law related Task on the application form this information is needed for judicial roles. Once a candidate click this option 1(The carrying-out of judicial functions of any court or tribunal)  on Law related task  then there should be a pop up field that will ask candidate below questions. And the field has to be made mandatory for candidate.

Legal Experience:  textbox one line
Dates: date MON/YEAR
Category of Law: textbox oneline
Time engaged in this activity:  Start date/end date DAY/mon/year
Judicial Office: true/false tickbox
⎣
Previous Judicial Office Type: text oneline
Judicial Appointments: Date day/mon/year
Nature of Appointment: textbox one line
eg(fee-paid tribunal judge)
Circuit or Region: textbox one line
Jurisdiction: texbox
Tribunal: textbox oneline

@tomlovesgithub please check with Matt after he has returned from leave and ensure that he is okay with the content of this work before it is release.
FYI - @joy-ade @londonprojects

Hello @tomlovesgithub Do you have a status on this ticket? If so can you update it?

@londonprojects I shared this tickets with Matt on Friday on Kate's instruction, he is reviewing the tickets and we await Matt feedback. @tomlovesgithub FYI

@tomlovesgithub Find the changes that Matt required be made before we push this ticket to live.


[Playground][BEAM-12941][Improvement]Add ability to run deployment manually

Added ability and documentation about manual deployments

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @damondouglas

What is the next step on this PR?
Also, IIRC @emilymye has terraform experience.

What is the next step on this PR?

/cc @pabloem

@KhaninArtur @ilya-kozyrev do you know about plans for this PR?


Need reload systeminfo when login

System admin changes the project creation property to "adminonly" in one browser while a normal user has signed in in another browser. When the normal user logouts and logins again, he can still create projects.

As we change the signin design, we'll load the system info when sign-in being opened instead of @app bootstrap.

Reload configurations when initialize sign-in page as well.

Verified.


Fix namespaced module resolution

The commonjs bundler used to prevent server-side builds from including
npm modules read the node_modules directory to create an array of
folder names to ignore. This had the effect of turning includes such as
thing into commonjs thing, but also turned namespaced modules such
as @r/api-client into commonjs @r, thus building the
dependency into the server-side build.
This reads namespaced (@-prefixed modules) folders and creates an
additional list of namespaced modules for the commonjs prefixer, so
@r/api-client becomes commonjs @r/api-client.
👓 @schwers

Sorry for the long delay. Just checked out the branch locally and it looks like something isn't quite right. A namespace module can have multiple children modules, so in reddit-mobile this is generating @r modules that look like this:

Those modules are still sitting in my Server.js built file.
I have a pr Link on this branch that will give each child of a namespace its on entry in modules, making modules look like:

That change reduced my Server.js build by ~.22MB but not all of the namespace modules are removed. e.g. node-platform exports a piecemeal akin to lodash's exports. So we'll have to fix that as well. Ideally I think that would be a separate patch that added piecemeal export awareness so we don't have to manually encode lodash's exports as well.

💅

:fish:

Agreed that piecemeal should be a separate patch; it would be an issue for all modules, not just namespaced modules, right?
Merged your PR. If this is good, I can rebase. 💇

Checking in on this, do you still have interest in landing this patch or would you rather I do it?

I'd prefer if you took it while I'm out- I don't want to be responsible for
prod issues that I can't fix :D
On Aug 25, 2016 11:42 AM, "Ryan Schwers"<EMAIL_ADDRESS>wrote:

Checking in on this, do you still have interest in landing this patch or
would you rather I do it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/reddit/node-build/pull/16#issuecomment-242496306, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAKtm4F11lhie_8sjHhi0ivnm8iMSwHtks5qjeIDgaJpZM4I0ewl
.


Add Storybook Documentation for All Components and Deploy the StoryBook

Description
StoryBook is a powerful visualization tool for documenting as well as reviewing wireframes, UI, and actions. This PR adds storybook documentation for all the components and also publishes it on GitHub pages as well as chromatic
Motivation and Context
This will increase the range of the project and will make it easy to visualize all new as well as future components to be generated.
StoryBook
https://user-images.githubusercontent.com/62200066/128589033-4c250d5b-7957-4d80-9be5-5b48ddf8b934.mp4
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.

I would request @charithccmc sir and @wdevon99 sir to please review this pull request :)


⚠ Bofrost.lu has degraded performance

In e020454, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1150 ms

Resolved: Bofrost.lu performance has improved in 3e49790 after 8 minutes.


fix(supportability/loki): add missing newlines

feat(supportability/loki): add loki dump subcommand

Signed-off-by: Tiago Castro<EMAIL_ADDRESS>

fix(supportability/loki): add missing newlines

It's not entirely clear how this was even working before, but this should work going forward.

Signed-off-by: Tiago Castro<EMAIL_ADDRESS>

bors merge


2.5.0 silent swagger importer

@olensmar, could you just confirm that we're using the Apache license for this code - then I'll merge.

Yes - Apache license!


Update to textTransformer.py

Minor corrections to textTransformer.py file as per our discussion in todays touch base meeting.

Looks good


Transfers to Android are not working

Nitroshare <IP_ADDRESS>(31) on Android 6.0.1, Nitroshare 0.3.4 on Windows 7 x86_64.
Transfers from Android-to-Windows seem to be working ok.
Transfers from Android-to-Android fail with this error message on the receiving device:
Failed: Invalid int: "null"
Transfers from Windows-to-Android fail after a connection timeout. The receiving device doesn't seem to respond.
Let me know if I can help troubleshoot further. Thanks.

see also #40


VAD exporting model to onnx

Hi there, @mravanelli
In the case of cpu-only devices,

How to export the VAD model to onnx.
Why is the VAD model and the Voice_Activity_Detection.ipynb not included in the speechbrain repository, instead in an outside link
Will speechbrain add auto-hyperparameter tuning and auto-postprocessing pipeline for VAD to generate the final speech timestamps.

waiting for your reply

Did you find a solution?


Cannot install VirtIO Driver

When I try to install the virtIO x64 driver on my Windows 10 KVM, this will appear

I already checked and I have a lot of space. Can anyone help me with this

@Citarosoftwarerepairs
Can you please let me know the build version? Is it 186 or 204?
Or the problem is reproducible on both of them?
Thanks,
Vadim.

I downloaded it from this ISO https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso
My current version is 0.1.185 do I need to download it from https://github.com/virtio-win/virtio-win-pkg-scripts/blob/master/README.md instead

Is this error caused because I installed Windows on "QEMU/KVM User Session" and not "QEMU/KVM"?

I moved stable to 196 recently
https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.196-1/
Can you give it a try?
Best regards,
Vadim.

I installed it on QEMU/KVM and used version 0.1.196 and it worked

thank you very much! @vrozenfe

No worries.
Vadim.


project framing in the base template

Currently template assumes instructor/facilitator would do fairly major customization of the student facing documentation to set up a project contextualized to their research and institution. U of I project details are in as placeholders.
Alternatively, the template could present a simple ready to use curation-only project using some major open repository (Open SI, LOC, etc). This would simply using the template in a simple out-of-the-box way, but might complicate or limit the more complete digital collection experience we imagined it teaching.
Which approach makes most sense?

@owikle


controller: Auto resume job and deployment event streams

Extracted from #1376.

I've realised this can cause races. For example, I have modified StreamJobEvents to return just the underlying stream, with the first request executing in the ResumingStream goroutine, so events can be missed in code like:
stream := client.StreamJobEvents(...)
client.PutFormation(...)

I plan to ensure the first request happens before returning.

Ok race fixed, please review.

@titanous comments addressed

LGTM


Correct GPU not being detected

Hello,
First I wanted to say your custom web integration is AWESOME. I love it. But I am having an issue with the GPU temp displaying my integrated gpu temp and not my actual GPUs temp.  So i took a look at your code and I believe the issue is here.
https://github.com/iulicc/NZXT-Starfield-compass-Web-Integration/blob/main/public/js/main.js#L24
Since it sees my integrated gpu first and the index is set ot 0, I believe it is defaulting to that no matter what I select in NZXT CAMs interface. I could be wrong but just wanted to see your thoughts.

Hey there! 👋 It seems like your integrated GPU keeps showing up with an index of 0, no matter what you pick in NZXT CAM.
So, I've made a little tweak in commit ef0c1b5! Now, if your device has more than one GPU (just like yours does), it should display the temperature for the second one at index 1. This is just a temporary solution as it only covers the scenario where the GPU at index 0 is an integrated one. I will need to come up with a better solution, maybe display the temperature of all available GPUs.
I haven't got multiple GPUs myself, so I couldn't test it out. Could you give it a whirl and let me know if it's showing the right temp on your end now? Appreciate your help! 😊

Yup looks good now! I did also test it locally myself with just moving the index to 1 but would prefer if I could just use the web url over running it locally of course :) thank you again for the quick response!


Add a Gitter chat badge to README.md

tourjs/tour now has a Chat Room on Gitter
@tannerlinsley has just created a chat room. You can visit it here: https://gitter.im/tourjs/tour.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Already added


Control the groovyc compiler

It would be nice to be able to pass options to the groovyc ant task in InstrumentCodeAction
Pull request coming up. :slightly_smiling_face:

Thank you very much for this pull request.

@sbglasius I am considering adding your name in the release notes as a thank you for this contribution. Do you have any objection to me adding your name in the list of contributors for this release?

@Alex-Vol-SV  sure, why not. I don't mind :slightly_smiling_face:


DG: try to fix TOC

Codecov Report

Merging #188 (a553e45) into master (43de3bb) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #188   +/-   ##
=========================================
  Coverage     75.39%   75.39%
  Complexity      713      713
=========================================
  Files            95       95
  Lines          2170     2170
  Branches        258      258
=========================================
  Hits           1636     1636
  Misses          406      406
  Partials        128      128

Continue to review full report at Codecov.

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


A running car code :)

Rules:-
1)Follow @shubham7668  and add star in this repository
2)No c++/c file will be accepted
3)Add snapshots of working project
Follow all rules you will get hacktoberfest-accepted tag

All the changes required are done
Please have a look:)
On Sun, 2 Oct, 2022, 20:56 INVAD3R, @.***> wrote:

@.**** requested changes on this pull request.
Rules:-
1)Follow @shubham7668 https://github.com/shubham7668 and add star in
this repository
2)No c++/c file will be accepted
3)Add snapshots of working project
Follow all rules you will get hacktoberfest-accepted tag
—
Reply to this email directly, view it on GitHub
https://github.com/shubham7668/hacktober/pull/157#pullrequestreview-1127659911,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYOTW7V2SVSSGSASFFBP5GTWBGSRZANCNFSM6AAAAAAQ255MVA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Unknown action transfer in contract

stdClass Object ( [code] => 500 [message] => Internal Service Error [error] => stdClass Object ( [code] => 3050000 [name] => action_validate_exception [what] => Action validate exception [details] => Array ( [0] => stdClass Object ( [message] => Unknown action transfer in contract eosio [file] => chain_plugin.cpp [line_number] => 1831 [method] => abi_json_to_bin ) [1] => stdClass Object ( [message] => code: eosio, action: transfer, args: ["boxbuyer1","boxbuyer2","0.0001 EOS","Testy McTest"] [file] => chain_plugin.cpp [line_number] => 1842 [method] => abi_json_to_bin ) ) ) )

Can we create custom action there?

It is not clear what you are asking.

eosio contract has no transfer action
Change contract from eosio to eosio.token please.

On Oct 31, 2019, at 8:31 PM, Kevin Heifner<EMAIL_ADDRESS>wrote:
It is not clear what you are asking.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/EOSIO/eos/issues/8150?email_source=notifications&email_token=AHPJSPXPR72MRMMWLGOH6PDQRLF2HA5CNFSM4JHIT42KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECXSQRA#issuecomment-548350020, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHPJSPWXNMGMGSATVL6RX6LQRLF2HANCNFSM4JHIT42A.


Add zscript namespacing in C++

Continuing to make progress as generic core 3 gets spread throughout the code base


Xcode 8 beta 6 build errors

I was trying to use the swift3 branch in Xcode beta 6 and am getting quite a few build errors:
/Pods/SwiftWebSocket/Source/WebSocket.swift:105:25: Function types cannot have argument label 'code'; use '_' instead
/Pods/SwiftWebSocket/Source/WebSocket.swift:105:37: Function types cannot have argument label 'reason'; use '_' instead
/Pods/SwiftWebSocket/Source/WebSocket.swift:105:54: Function types cannot have argument label 'wasClean'; use '_' instead
/Pods/SwiftWebSocket/Source/WebSocket.swift:107:25: Function types cannot have argument label 'error'; use '_' instead
/Pods/SwiftWebSocket/Source/WebSocket.swift:109:27: Function types cannot have argument label 'data'; use '_' instead
/Pods/SwiftWebSocket/Source/WebSocket.swift:111:24: Function types cannot have argument label 'data'; use '_' instead
/Pods/SwiftWebSocket/Source/WebSocket.swift:113:23: Function types cannot have argument label 'code'; use '_' instead
/Pods/SwiftWebSocket/Source/WebSocket.swift:113:35: Function types cannot have argument label 'reason'; use '_' instead
/Pods/SwiftWebSocket/Source/WebSocket.swift:113:52: Function types cannot have argument label 'wasClean'; use '_' instead
/Pods/SwiftWebSocket/Source/WebSocket.swift:113:69: Function types cannot have argument label 'error'; use '_' instead
/Pods/SwiftWebSocket/Source/WebSocket.swift:412:18: Cannot invoke initializer for type 'UnsafeMutablePointer<UInt8>' with an argument list of type '(UnsafeMutableRawPointer!)'
/Pods/SwiftWebSocket/Source/WebSocket.swift:473:18: Cannot invoke initializer for type 'UnsafeMutablePointer<UInt8>' with an argument list of type '(UnsafeMutableRawPointer!)'
/Pods/SwiftWebSocket/Source/WebSocket.swift:679:14: 'NSOutputStream' has been renamed to 'OutputStream'
/Pods/SwiftWebSocket/Source/WebSocket.swift:23:15: Cannot invoke initializer for type 'UnsafeMutablePointer<UInt8>' with an argument list of type '(UnsafeMutableRawPointer!)'
/Pods/SwiftWebSocket/Source/WebSocket.swift:37:23: Cannot invoke initializer for type 'UnsafeMutablePointer<UInt8>' with an argument list of type '(UnsafeMutableRawPointer!)'
/Pods/SwiftWebSocket/Source/WebSocket.swift:64:20: Cannot invoke initializer for type 'UnsafePointer<UInt8>' with an argument list of type '(UnsafeRawPointer)'
/Pods/SwiftWebSocket/Source/WebSocket.swift:90:14: Enum element 'continu' cannot be referenced as an instance member
/Pods/SwiftWebSocket/Source/WebSocket.swift:91:14: Enum element 'text' cannot be referenced as an instance member
/Pods/SwiftWebSocket/Source/WebSocket.swift:92:14: Enum element 'binary' cannot be referenced as an instance member
/Pods/SwiftWebSocket/Source/WebSocket.swift:93:14: Enum element 'close' cannot be referenced as an instance member
/Pods/SwiftWebSocket/Source/WebSocket.swift:94:14: Enum element 'ping' cannot be referenced as an instance member
/Pods/SwiftWebSocket/Source/WebSocket.swift:95:14: Enum element 'pong' cannot be referenced as an instance member
/Pods/SwiftWebSocket/Source/WebSocket.swift:126:14: Enum element 'uInt8Array' cannot be referenced as an instance member
/Pods/SwiftWebSocket/Source/WebSocket.swift:127:14: Enum element 'nsData' cannot be referenced as an instance member
/Pods/SwiftWebSocket/Source/WebSocket.swift:128:14: Enum element 'uInt8UnsafeBufferPointer' cannot be referenced as an instance member
/Pods/SwiftWebSocket/Source/WebSocket.swift:154:14: Enum element 'connecting' cannot be referenced as an instance member
/Pods/SwiftWebSocket/Source/WebSocket.swift:155:14: Enum element 'open' cannot be referenced as an instance member
/Pods/SwiftWebSocket/Source/WebSocket.swift:156:14: Enum element 'closing' cannot be referenced as an instance member
/Pods/SwiftWebSocket/Source/WebSocket.swift:157:14: Enum element 'closed' cannot be referenced as an instance member
/Pods/SwiftWebSocket/Source/WebSocket.swift:247:22: 'append' is unavailable: Replaced by append(_: String)
/Pods/SwiftWebSocket/Source/WebSocket.swift:283:25: Value of optional type 'UnicodeScalar?' not unwrapped; did you mean to use '!' or '?'?
/Pods/SwiftWebSocket/Source/WebSocket.swift:315:58: Cannot invoke initializer for type 'UnsafePointer<UInt8>' with an argument list of type '(UnsafeRawPointer)'
/Pods/SwiftWebSocket/Source/WebSocket.swift:418:112: 'sizeof' is unavailable: use MemoryLayout<T>.size instead.
/Pods/SwiftWebSocket/Source/WebSocket.swift:480:172: 'sizeof' is unavailable: use MemoryLayout<T>.size instead.
/Pods/SwiftWebSocket/Source/WebSocket.swift:490:17: Ambiguous use of 'init'
/Pods/SwiftWebSocket/Source/WebSocket.swift:610:54: 'init(allocatingCapacity:)' is unavailable: use 'UnsafeMutablePointer.allocate(capacity:)'
/Pods/SwiftWebSocket/Source/WebSocket.swift:612:53: 'init(allocatingCapacity:)' is unavailable: use 'UnsafeMutablePointer.allocate(capacity:)'
/Pods/SwiftWebSocket/Source/WebSocket.swift:616:21: Value of type 'DispatchQueue' has no member 'after'
/Pods/SwiftWebSocket/Source/WebSocket.swift:620:21: Value of type 'DispatchQueue' has no member 'after'
/Pods/SwiftWebSocket/Source/WebSocket.swift:762:37: Extraneous argument label 'error:' in call
/Pods/SwiftWebSocket/Source/WebSocket.swift:770:41: Extraneous argument labels 'code:reason:wasClean:' in call
/Pods/SwiftWebSocket/Source/WebSocket.swift:777:35: Extraneous argument labels 'code:reason:wasClean:error:' in call
/Pods/SwiftWebSocket/Source/WebSocket.swift:821:33: Value of type 'DispatchQueue' has no member 'after'
/Pods/SwiftWebSocket/Source/WebSocket.swift:847:71: '?' must be followed by a call, member lookup, or subscript
/Pods/SwiftWebSocket/Source/WebSocket.swift:847:35: Cannot invoke initializer for type 'UnsafeMutablePointer<UInt8>' with an argument list of type '(UnsafeMutableRawPointer!)'
/Pods/SwiftWebSocket/Source/WebSocket.swift:1028:35: Cannot convert value of type 'URL' to expected argument type 'CFURL!'
/Pods/SwiftWebSocket/Source/WebSocket.swift:1047:91: Missing argument label 'options:' in call
/Pods/SwiftWebSocket/Source/WebSocket.swift:1059:41: 'NSOutputStream' has been renamed to 'OutputStream'
/Pods/SwiftWebSocket/Source/WebSocket.swift:1062:53: Cannot convert value of type 'String' to expected argument type 'CFString!'
/Pods/SwiftWebSocket/Source/WebSocket.swift:1069:28: Type 'StreamNetworkServiceTypeValue' has no member 'voip'
/Pods/SwiftWebSocket/Source/WebSocket.swift:1104:59: '?' must be followed by a call, member lookup, or subscript
/Pods/SwiftWebSocket/Source/WebSocket.swift:1104:23: Cannot invoke initializer for type 'UnsafeMutablePointer<UInt8>' with an argument list of type '(UnsafeMutableRawPointer!)'
/Pods/SwiftWebSocket/Source/WebSocket.swift:1117:19: Cannot invoke initializer for type 'UnsafeMutablePointer<UInt8>' with an argument list of type '(UnsafeMutableRawPointer!)'
/Pods/SwiftWebSocket/Source/WebSocket.swift:1373:60: 'init' has been renamed to 'init(mutating:)'
/Pods/SwiftWebSocket/Source/WebSocket.swift:1588:27: 'dirty' is inaccessible due to 'private' protection level
/Pods/SwiftWebSocket/Source/WebSocket.swift:1732:23: Type of expression is ambiguous without more context
/Pods/SwiftWebSocket/Source/WebSocket.swift:1736:23: Type of expression is ambiguous without more context
/Pods/SwiftWebSocket/Source/WebSocket.swift:1740:23: Type of expression is ambiguous without more context
/Pods/SwiftWebSocket/Source/WebSocket.swift:1744:23: Type of expression is ambiguous without more context
/Pods/SwiftWebSocket/Source/WebSocket.swift:1756:9: Argument labels '(request:, subProtocols:)' do not match any available overloads
/Pods/SwiftWebSocket/Source/WebSocket.swift:1805:16: 'id' is inaccessible due to 'private' protection level
/Pods/SwiftWebSocket/Source/WebSocket.swift:1811:22: Use of unresolved identifier 'ws'
/Pods/SwiftWebSocket/Source/WebSocket.swift:1812:15: Use of unresolved identifier 'ws'
/Pods/SwiftWebSocket/Source/WebSocket.swift:1603:45: Call can throw, but it is not marked with 'try' and the error is not handled
/Pods/SwiftWebSocket/Source/WebSocket.swift:1747:17: Method 'open(_:subProtocols:)' with Objective-C selector 'open:subProtocols:' conflicts with previous declaration with the same Objective-C selector
/Pods/SwiftWebSocket/Source/WebSocket.swift:1820:17: Method 'send' with Objective-C selector 'send:' conflicts with previous declaration with the same Objective-C selector
/Pods/SwiftWebSocket/Source/WebSocket.swift:1829:17: Method 'send' with Objective-C selector 'send:' conflicts with previous declaration with the same Objective-C selector

Thank you for reporting this issue. These errors will be fixed with the Xcode GM is released.


Livereload after Sass (.scss) file change

OS - Windows 10
Node version: 5.7.1
I installed node-sass (version 3.7.0), renamed test-project.component.css to test-project.component.scss and filled it with:

h1 {
  color: blue;
}

After running ng s everything is allright. But any change to .scss file (e.g. color: red;) does not update/reaload a page despite succesful build:

file added app\test-project.component.scss___jb_tmp___
file changed app\test-project.component.scss___jb_tmp___
file deleted app\test-project.component.scss
file added app\test-project.component.scss___jb_old___
file deleted app\test-project.component.scss___jb_tmp___
file added app\test-project.component.scss
file deleted app\test-project.component.scss___jb_old___

Build successful - 407ms.

Slowest Trees                                 | Total
----------------------------------------------+---------------------
vendor                                        | 327ms

Slowest Trees (cumulative)                    | Total (avg)
----------------------------------------------+---------------------
vendor (1)                                    | 327ms
Funnel (9)                                    | 34ms (3 ms)

Preferably it would be great if a page ptyles were updated without full page reload.

I did the same and everything worked correctly for me, until it just stopped yesterday, all sass files stop being compiled, the only thing that helped me is to delete the node-sass and reinstall it, still don't know what happen, but the cli does compile and reload the page for scss files changes.
maybe the sass compiler is not stable yet since this cli still in beta or something else outside of th cli caused that, anyway try reinstalling node-sass maybe that will help.

It is not working for .css either.
$ ng new foobar
$ npm install
$ ng serve
goto: http://localhost:4200
see: foobar works!
modify & save:  app/foobar.component.css
noticed: no reload
$ ng -v
angular-cli: 1.0.0-beta.4
node: 5.11.1
os: darwin x64

I've got the same problem.
angular-cli: 1.0.0-beta.5
node: 4.4.2
os: darwin x64

@un33k

It is not working for .css either.

this is not related. I am able to reproduce the css bug, but editing any scss file still reloads the page for me.

Same here. Any workarounds?

livereload.js is looking for an import (rel=stylesheet) / style / link property, since we haven't used <app_name>.component.css anywhere, the reload returns false on check.
we can either change it temporarily / suggest a fix at livereload.js

temporary solution for css only
you can rename  app.component.css   to  app.component.css.html and change in component to new file name  styleUrls: ['app.component.css.html'] and change language mode in you IED to CSS.

Already fixed?

Is there any workarounds for this besides changing the css files to HTML?

Hi people,
Anybody knows if this issue has already a fix or if the fix was added for a future angular-cli build?
thanks,

Closed as this issue was made obsolete by https://github.com/angular/angular-cli/pull/1455.

Hot reload still doesn't seem to trigger from .scss changes. Has this been fixed in 1.0.0-beta.24? I don't see it was fixed in merge #1455 either.


how to remove an app ???

Congrat! Good job. Just how to remove an app ??? pls

now, we can delete app from app info page.
use branch main or release v1.1 to try this new function.

Thank you are the boss. I don't know how to upadate into a docker ?

'''
docker pull ineva/ipa-server:latest
docker-compose restart
'''

or change
image: ineva/ipa-server:latest
to
image: ineva/ipa-server:v1.1
than
docker-compose up -d

i try but it's the same. I try to delete all and reinstall but same. I don't know why

it's WORKING!!!! Thank bro!


Backend structure

Hi, thanks for creating this, so far it's probably the most documented and clear repo with Orion CMS. I'm trying to create a website with page templates and custom page/post structure, but I struggle to grasp how the back end pages and categories preloaded to CMS are created in the code. Can you explain this part bit more please? Thanks.

@abtx Thanks for the kudos!
I'm a little bit unsure of what you mean.
You've got the part of the website that normal users see - that's what the Discover Meteor book takes you through in the making of Microscope. This part has page templates, different layouts, etc. You should go through the entire Discover Meteor book to get a grasp on how Meteor does this.
OrionJS is the part of the website that an administrator logs into to manage the settings and data in the overall website. The package already has code that generates the pages of the admin backend.
So which part is your question about?

If I wanted to, for example, remove "Dictionary" from the CMS, and do other custom things in the CMS, I'm not sure about that part.

Gotcha. I haven't figured out how to create custom OrionJS templates yet, but I can work on it.
As for hiding Dictionary and other entries in OrionJS, check out the section on setting custom user roles and persmissions:
https://github.com/fuzzybabybunny/microscope-orionjs#setting-roles-and-permissions-updated-832015


Adding support for some standard types when calling JsonWebToken.TryGetPayloadValue

Added to the support 'T' that were available in 6x.
If possible, Json will be mapped to one of the following types:
string[], List,,Collection, object[], List, Collection, int[], long[]
Dictionary<string, string>>, Dictionary<string, string[]>, Dictionary<string, List>, Dictionary<string, Collection>
Dictionary<string, object>, Dictionary<string, object[]>
With this change 7 will not be as general as 6x but will help with common scenarios.
A general solution will require a new api.
When calling TryGetPayloadValue the priority is generally:
sting, string[], List, Collection, ...
Type.IsAssignable is used in a couple of places which helps in writing as this improves the types that can be written.
If this violates AOT, then we will have to reduce the scope of what can be written.
=================================
Pattern matching is applied when possible.
Json = {“p”:[1,2,3]}
TryGetPayLoadValue<string[]>(“p”) => string[]{“1”,”2”,”3”}
Json = {“p”:”value”}
TryGetPayLoadValue<string[]>(“p”) => string[]{“value”}
Json = {“p”:{”object”:”value”}}
TryGetPayLoadValue(“p”) => “{“object”:”value”}”
This will always return a value if it was the property exists.
=====================================
We still write obj.ToString() when serializing, even if we don't understand the type, as users that are working with Newtosoft.JObject will benefit. We are open to changing this depending on feedback.

FYI @kevinchalet

@brentschmaltz
I published a little test app published with native AoT and it got the same results as without. IsAssignable does not seem to be a problem.
Not for this PR, but should we raise an issue for this one:
controls_auds => Array: IDX11027: Cannot create return type: 'System.Array' from JsonElement.ValueType: 'Array'.
?

I have an updated PR for these issues.


Improve mesg-core daemon start

It will be super nice to display a loader during the mesg/daemon image download.
As the image is big, the user can feel confuse by waiting without progress bar.
Maybe we can download the image before starting the service in order to have a progress.
@antho1404 what do you think?

there is already a loader when the service is setting up the container, the loader stops when the service run. There is absolutely no need to add some extra complexity on the code


Update windows detection

this change updates the code to use the helper function from the MAO to do the windows os detection. this will help keep the functions centralized about how we detect and configure machines for windows os.

/lgtm

/approve


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v5.15.11",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4b4e5bbf9386d4ec21d91c0cb0fd60b9bba778ec"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "4b4e5bbf9386d4ec21d91c0cb0fd60b9bba778ec",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "io-wq: check for wq exit after adding new worker task_work\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.15.11 by commit 4b4e5bbf9386d4ec21d91c0cb0fd60b9bba778ec. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002767


Extra space at the top of the screen

Hi! Thanks for trying out NativeBase!
Due to the overwhelming requests and issues/questions we ask you to add the following details with your issue.
Please check the existing open/closed issues for a possible duplicate before creating a new issue :)
Also DO fill out the below form to give us a better idea about your environment and help us debug it quicker. Issues without the required details will mostly be unattended to.
react-native-cli
2.0.1
react-native
0.54.0
Expected behaviour:
Normal header, content and footer!
Actual behaviour
Extra space at the top of the screen :neutral_face:
Steps to reproduce (code snippet or screenshot):
This is DOCS example
import React, { Component } from 'react';
import { Container, Header, Title, Content, Footer, FooterTab, Button, Left, Right, Body, Icon, Text } from 'native-base';
export default class AnatomyExample extends Component {
  render() {
    return (
      <Container>
        <Header>
          <Left>
            <Button transparent>
              <Icon name='menu' />
            </Button>
          </Left>
          <Body>
            <Title>Header</Title>
          </Body>
          <Right />
        </Header>
        <Content>
          <Text>
            This is Content Section
          </Text>
        </Content>
        <Footer>
          <FooterTab>
            <Button full>
              <Text>Footer</Text>
            </Button>
          </FooterTab>
        </Footer>
      </Container>
    );
  }
}

Screenshot of emulator/device
Screenshot
Is the bug present in both ios and android or in any one of them?
i've got android, galaxy s7 edge, android 7.0
Any other additional info which would help us debug the issue quicker.
Latest version of native base is installed!

@MohamadKh75 Checked the example. It is working fine. If you using react-navigation, try setting the header to null.

@akhil-geekyants Thanks!
static navigationOptions = {
  header: null,
};

solved the problem!


Explain data indices in Scan.data

Explain how to retrieve a data column (data corresponding to 1 detector) using transpose or slicing.

TODO: regenerate and push cython file


Not possible to get the focused id in PopupMenu, without using signals

Godot version:
3.2 alpha 3
Issue description:
I want to get the focused item id in a PopupMenu node, to calculate the position of the focused item on the screen. It is currently only possible using the "id_focused" signal.
get_item_count() method is already there, so it would be nice with a get_focused_id() method.

It looks like this has been added as get_current_index in https://github.com/godotengine/godot/commit/35f30086de7069df2854949948ae26642c5a1452 perhaps we can Close this ticket?

Indeed, fixed by #38520.


Idea: Check that each class has a corresponding spec file

I often comment on PRs along the lines of "Should we add specs for this new class?" when reviewing code.
I think it would be nice if rubocop-rspec could generate a warning when there is a class without a corresponding spec file.
A code coverage tool would serve a similar purpose, but not all teams use that.
There are situations where a 1:1 correspondence between classes and specs isn't desirable, so that would need to be covered by a config setting.

That problem can be solved without static analysis. I don't think it's a task for rubocop-rspec.

Yeah I don't think this fits rubocop-rspec. Classes can widely vary in size depending on a lot of variables. Also, cops generally do not do checks across multiple files. A nice heuristic you might try though @andyw8 is seeing if enforcing a mapping between source files and spec files helps solve part of your problem. For work we have this script that runs in CI:
# frozen_string_literal: true

require 'pathname'
require 'yaml'

# This test checks to make sure that all files in `spec/unit`
# can be mapped to a corresponding non-spec file
module TestFileMapping
  ROOT     = Pathname.new("#{__dir__}/..").expand_path.freeze
  SPEC_DIR = Pathname.new('spec/unit').freeze
  UNIT_DIR = (ROOT + SPEC_DIR).freeze
  LIB_DIR  = Pathname.new('lib').freeze

  SPEC_FILES =
    Pathname
      .glob(UNIT_DIR.join('**/*_spec.rb'))
      .map { |path| path.relative_path_from(ROOT) }
      .freeze

  def self.call
    return puts 'All spec files map to source files' if orphaned_specs.empty?

    warn "The following spec files don't map directly to a source file"

    orphaned_specs.each do |spec_file, valid_source_files|
      complain(spec_file, valid_source_files)
    end

    fail 'Invalid spec to source mapping found'
  end

  def self.complain(spec_file, valid_source_files)
    puts
    warn spec_file.to_s

    warn '  valid source files:'
    valid_source_files.each do |valid_mapping|
      warn "  - #{valid_mapping}"
    end
  end

  # Reduces `specs_to_sources_mapping` down to subset of "orphans"
  #
  # This method takes our mapping of spec files to potential valid
  # source files and then selects the entries where all potential vlaid
  # source files do not exist on the file system.
  #
  # @return [Hash{Pathname => Array<Pathname>}] mapping of orphaned specs
  #
  # @api private
  def self.orphaned_specs
    specs_to_sources_mapping.select do |_, valid_source_files|
      valid_source_files.none?(&:exist?)
    end
  end

  def self.specs_to_sources_mapping
    SPEC_FILES.zip(SPEC_FILES.map(&method(:valid_source_mappings))).to_h
  end
  private_class_method :specs_to_sources_mapping

  # List of valid potential source files a spec could map to
  #
  # Currently allows for two potential source file mappings:
  #
  # `direct`: `spec/unit/app/foo/write_spec.rb` -> `app/foo/write.rb`
  # `parent`: `spec/unit/app/foo/write_spec.rb` -> `app/foo.rb`
  #
  # @param spec_path [Pathname] spec file
  #
  # @return [Array<Pathname>] potential paths
  #
  # @api private
  def self.valid_source_mappings(spec_path)
    direct = LIB_DIR.join(
      spec_path.relative_path_from(SPEC_DIR).sub(/_spec\.rb\z/, '.rb')
    )
    parent = direct.parent.sub_ext('.rb')

    [direct, parent]
  end
  private_class_method :valid_source_mappings
end # TestFileMapping

TestFileMapping.call

and this asserts that all of our spec files can be mapped to a lib file by a certain rule. If you wanted to assert the inverse (every lib file has a spec file) that would be pretty straightforward to adapt.

Closing this issue for the reasons mentioned above. Hopefully the script I shared is useful though!


Ovs internal interface

Dependent on #270

Coverage increased (+0.2%) to 65.827% when pulling 58de3e246be911b8f89f92ec2de4385a567bee65 on EdDev:ovs-internal-interface into eddfbf30f29a9aeb65b78d64cbf4bdd3dbe6fbd2 on nmstate:master.

ci test please

ci test please

ci test please


Can't set scxml/@initial to a nested state

<scxml xmlns="http://www.w3.org/2005/07/scxml"
version="1.0" initial="s2">
<state id="uber">
<state id="s1">
<onentry>
<log expr="'onentry s1 _sessionid=' + _sessionid" label="TEST"/>
</onentry>
<transition event="ev1" target="s2"/>
</state>
<state id="s2">
<onentry>
<log expr="'onentry s2 _sessionid=' + _sessionid" label="TEST"/>
</onentry>
</state>
</state>
</scxml>
Scion throws here:
/Users/matto/git/scxml/node_modules/scxml/node_modules/scion-core/lib/scion.js:190
if(!state.initialRef) throw new Error('Unable to locate initia                                            ^
Error: Unable to locate initial state for composite state: undefined

The issue is in the model initialization code in SCION-CORE here https://github.com/jbeard4/SCION-CORE/blob/master/lib/scion.js#L187
Which assumes that the initial state will be a substate. This is an erroneous assumption.
The solution will be to hook the initial state logic into connectTransitionGraph:
https://github.com/jbeard4/SCION-CORE/blob/master/lib/scion.js#L216
ETA Monday

Fixed in PR #335


test: add test for twoslash query notation offset

Description
It seems when I offset the query notation (^?) to a different letter of the token, it causes Shikiji to render the hover popup classes for the previous characters.
I would expect this to always render the same as if I were to put the ^? on the starting character, ie:
// Renders correctly (no hover popup)
const foobar = "123"
//    ^?

// Renders incorrectly (hover popup on first two characters)
const foobar = "123"
//      ^?

This PR adds a breaking test. Can add a fix if I get some time!
Input:
const foobar = "123"
//      ^?

Output:

Fixed in https://github.com/twoslashes/twoslash/commit/f223176568cf74a7a94727f78da406cc4465f969


Invoke optional controller $onInit function

https://docs.angularjs.org/guide/component#component-based-application-architecture
1.6.x introduced many mechanisms to help AngularJS 1.X projects begin conforming with Angular 2+'s component-based structure. Referencing the link above:

Components have a well-defined lifecycle: Each component can implement "lifecycle hooks". These are methods that will be called at certain points in the life of the component.

One of the most useful hooks defined is the $onInit hook, which is run after the element has been constructed. An additional perk of this hook is that it can be tested individually without having to mock out any setup the controller has to do once it has been initialized.
Because AngularModalService manually initializes the modal's controller, this lifecycle hook is never invoked. This pull request checks that the initialized controller defines an $onInit function, and if it does, calls it before resolving the modal.

Added that comment. Let me know if there's anything else - otherwise thanks for reviewing this quickly!
Also, this PR addresses #173 so that can be resolved once this is merged.

Thanks so much for this @DougKeller! I've just released now, version 0.15.1. Sorry for the delay, busy week! I'll check the other PR and Issue you mentioned and close them too. Cheers!


Streaming cpu high usage fix

Bug fix: The CPU usage is too high when running Realsense Viewer while streaming is enabled.
Found the bug on post processing filters render loop thread
The thread is polling for new frames on a high frequency
The fix: change render loop thread from frame polling to wait for frame with small timeout (100 msec)
This will free the CPU (sleep) until frame arrives, without delay on new frames,
and not hang the render thread for more than 100 msec when video stream is disabled.

This fix is a suggested fix to: https://github.com/IntelRealSense/librealsense/pull/1809

Wait for frames
CPU   usage
Close   delay

1
23%
Immediate

10
20%
Immediate

20
15%
Immediate

30
10%
Immediate

100
10%
Immediate

1000
10%
1 sec

I would go with 30 msec, agree?

I'm concerned that this will introduce frequent handled exceptions, preventing effective debugging of the application. The issue is with wait_for_frame throwing on time-out. Am I wrong?

In #1730 we had a proposal to change the time-out behaviour of wait_for_frames. Overall, it would make sense. Lets discuss internally first.

Pending this pull request for wait_for_frame refactoring.
(Remove exception on wait_for_frame  timeout)

Continued on #2055


Populate OrgID and SpaceID in Instance create

Instead of leaving them empty, we could fill these properties with namespace.uid. The 2 fields are a required field in openservice api spec
Also populate AppID in binding with namespace.uid
Closes: #528

LGTM

Added commit to populate AppID in binding with namespace.uid

I am not certain that this is a long-term solution, but it seems like it will fit the bill for now.  Created https://github.com/kubernetes-incubator/service-catalog/issues/583 to figure out what to do with these long-term.

Once the typos are fixed.... still LGTM

I make the bork borker borking typo all the time.


Unicode window title (Only implemented in X11 so far)

Currently all it is is a new SetTitle method that uses sf::String for Unicode text. I've only implemented it on X11 so far, but it works.

Thanks again for your help.
But I'm not really interested in partial implementations. For this task, the main point is to have a good overall design: there are probably other classes/functions that deal with strings and would benefit from Unicode strings. I need to find a global way of handling them in SFML. Then, is sf::String the best solution?
Then, before implementing anything, I need to make sure that every OS can support this feature.
Implementation is the very last step, and to be honest, not the most difficult one. It's just a matter of finding the right function in the OS API.

You have to start somewhere I guess? According to what I can find, Windows supports UTF-16 window titles, I'm not sure about Mac OS X.

You can't just not have Unicode support

I will add Unicode support, as this issue (that you created) implies:
https://github.com/LaurentGomila/SFML/issues/87

Partial is better than none in my humble opinion

I partially agree ;)
A partial implementation is ok, as long as it's completed fairly quickly -- and that we're sure that implementation on other OSes is technically possible.
But quick and dirty implementation is not acceptable, I won't do anything until I've found the right design. And I won't find it until I think about it. And I won't think about it before SFML 2.0 is released.

Ah. I understand. I wouldn't say this is quick and dirty though. sf::String supports Unicode, and having a method that takes sf::String seems to be the right way to do things. At least from what I can see.

Just a quick thought, if there for example isn't supported on OS X. Cant sf::String then have a type of fallback mode to not use it there? Just wondering because there probably will be some stuff that will only work on one or two os, will it then be dropped everywhere?

It'd probably be wise to convert sf::String via ToAnsiString and pass it to the normal setTitle in that case.

I originally did modified SetTitle to interpret std::string as UTF-8, keeping ASCII support and adding Unicode support. But I was under the impression you weren't too fond of that approach seeing as SDL did it that way.

What I mean is that if you have a sf::String version, the std::string version becomes useless because sf::String can be implicitely constructed from std::string. sf::String already handles all string types automatically.

Ah. I did not know that. Shall I go fix it?

Fix it in your version if you want, but like I said I won't merge this pull request.
However your X implementation will probably help me in the future, so thanks anyway ;)


MultiBinding cannot be applied to a Transform

Maybe they can it only be applied to FrameworkElements.
EDIT:  I have just discovered that I can be applied to a MultiBinding only just change the Type Parameter of its declaration to Behavior<DependencyObject>
EDIT 2: Unfortunately, it seems that the MultiBindingBehavior still doesn't work with a Transform. All the values in the Converter come with null instead the real value.
Bit thanks in advance, Pedro!

Can you post a sample code so I can try to help?
In any case, are you targetting UWP only? If so, I recommend using x:bind with a function instead as that is quite better nowadays!

Hey Pedro. Thanks for your quick response as always! Yes, I'm targeting UWP. This is the code I'm using right now:
 <Border Background="Black">
                    <Border.RenderTransform>
                        <TranslateTransform>
                            <i:Interaction.Behaviors>
                                <b:MultiBindingBehavior Converter="{StaticResource PolarToCartesianCoordsConverter}"
                                                                PropertyName="X" ConverterParameter="X">
                                    <b:MultiBindingItem Value="{Binding ShadowAngle}" />
                                    <b:MultiBindingItem Value="{Binding ShadowDistance}" />
                                </b:MultiBindingBehavior>
                                <b:MultiBindingBehavior Converter="{StaticResource PolarToCartesianCoordsConverter}"
                                                        PropertyName="X" ConverterParameter="Y">
                                    <b:MultiBindingItem Value="{Binding ShadowAngle}" />
                                    <b:MultiBindingItem Value="{Binding ShadowDistance}" />
                                </b:MultiBindingBehavior>
                            </i:Interaction.Behaviors>
                        </TranslateTransform>
                    </Border.RenderTransform>
                </Border>

Basically, my model has polar coordinates and I want to transform them to cartesian coordinates in order to project a "border" that will simulate a shadow. So, I'm getting angle and distance.
I hope you can check it :) In the meanwhile, I'm trying to do it with x:Bind. I have never been a friend of x:Bind because the many restrictions it has, but it may help in this concrete case.
Big thanks in advance!


I need help,please

I cant find your email, so I write my problem here.
I want to run this demo, Demo_TFT_eSPI_Basic\Demo_TFT_eSPI_Basic.ino
and I have a error
`In file included from D:\Backup\Documents\Arduino\libraries\Demo_TFT_eSPI_Basic\Demo_TFT_eSPI_Basic.ino:2:0:
d:\Backup\Documents\Arduino\libraries\libraries\TP_Arduino_DigitalRain_Anim-main\src/DigitalRainAnimation.hpp:13:10: fatal error: vector: No such file or directory
#include
^~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1`
I dont know how to resolve it.
mine email<EMAIL_ADDRESS>Looking forward to hearing from you!

@Mengbuxiu Which MCU do you use? vector is the C++ standard library. This project has been tested on ESP32.

Thanks for your reply.This is my board atmega328p.I bought the secondary development board from the e-commerce platform(www.taobao.com).Could it be a model mismatch?In fact, I have imported the library you wrote,and when I run the code,i will report that the c++ library cannot be found.I am java development engineer, so I automatically assumed that the environment variables were not configured.I use arduino-ide-2.+, And do I need to configure environment variables?By the way, how do I become someone as good as you？

---- Replied Message ----

From
<EMAIL_ADDRESS>

Date
02/21/2023 15:47

To
<EMAIL_ADDRESS>

Cc
***<EMAIL_ADDRESS>

Subject
Re: [0015/TP_Arduino_DigitalRain_Anim] I need help,please (Issue #6)

 Which MCU do you use? vector is the C++ standard library. This project has been tested on ESP32.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

@Mengbuxiu Could you please leave it in the comments again? It's HTML.

Sorry.I used the email tool to reply directly.
Thanks for your reply.
This is my board atmega328p ch340.
I bought the secondary development board from the e-commerce platform(www.taobao.com).Could it be a model mismatch?
In fact, I have imported the library you wrote,and when I run the code,i will report that the c++ library cannot be found.
I am java development engineer, so I automatically assumed that the environment variables were not configured.
I use arduino-ide-2.+, and do I need to configure environment variables?
By the way, how do I become someone as good as you？

@Mengbuxiu The library does not support 8-bit AVR microcontrollers. Sorry.


ChannelMessageEditComplex parameter's should include channelID

func (s *Session) ChannelMessageEditComplex(m *MessageEdit)
to
func (s *Session) ChannelMessageEditComplex(channelID string, m *MessageEdit)
This will be inline with the other functions.

I do not think this can be accomplished without breaking existing API.

What would it need the channel ID for? Im not seeing a reason for it

I was thinking it would match the syntax of the other functions like ChannelMessageSendComplex. It would not be worth breaking the API for though.

Thatd also include redundant data, as the MessageEdit struct already contains the channel ID. No point in having duplicate data just for the sake of matching syntax.


LUCENE-9935: Enable bulk merge for stored fields with index sort

This commit enables bulk-merges (i.e., raw chunk copying) for stored fields when index sort is enabled. I benchmarked this change with Elasticsearch using Rally and found that this reduced the merge time by 20% (from  14.9 min ->  11.9 min).

Benchmark details

Metric
Task
Baseline
Contender
Diff
Unit

Cumulative indexing time of primary shards

27.8208
26.4527
-1.36817
min

Min cumulative indexing time across primary shard

4.21395
3.90437
-0.30958
min

Median cumulative indexing time across primary shard

4.68754
4.43102
-0.25652
min

Max cumulative indexing time across primary shard

5.00328
5.11322
0.10993
min

Cumulative indexing throttle time of primary shards

47.5573
43.7704
-3.7869
min

Min cumulative indexing throttle time across primary shard

5.82492
6.24037
0.41545
min

Median cumulative indexing throttle time across primary shard

7.86763
6.94697
-0.92066
min

Max cumulative indexing throttle time across primary shard

9.2532
8.78763
-0.46557
min

Cumulative merge time of primary shards

14.9712
11.9894
-2.9818
min

Cumulative merge count of primary shards

52
49
-3

Min cumulative merge time across primary shard

1.54965
1.2836
-0.26605
min

Median cumulative merge time across primary shard

2.7143
1.99087
-0.72343
min

Max cumulative merge time across primary shard

2.96187
3.013
0.05113
min

Cumulative merge throttle time of primary shards

0.0308
0.118767
0.08797
min

Min cumulative merge throttle time across primary shard

0.00116667
0.00716667
0.006
min

Median cumulative merge throttle time across primary shard

0.00191667
0.0116167
0.0097
min

Max cumulative merge throttle time across primary shard

0.0175333
0.0651
0.04757
min

Cumulative refresh time of primary shards

15.7809
15.123
-0.65797
min

Cumulative refresh count of primary shards

1786
1843
57

Min cumulative refresh time across primary shard

2.15032
2.12483
-0.02548
min

Median cumulative refresh time across primary shard

2.6072
2.55063
-0.05657
min

Max cumulative refresh time across primary shard

3.07643
2.76125
-0.31518
min

Cumulative flush time of primary shards

0
0
0
min

Cumulative flush count of primary shards

0
0
0

Min cumulative flush time across primary shard

0
0
0
min

Median cumulative flush time across primary shard

0
0
0
min

Max cumulative flush time across primary shard

0
0
0
min

Total Young Gen GC time

37.456
38.081
0.625
s

Total Young Gen GC count

1407
1379
-28

Total Old Gen GC time

0
0
0
s

Total Old Gen GC count

0
0
0

Store size

2.77534
2.89203
0.11669
GB

Translog size

3.07336e-07
3.07336e-07
0
GB

Heap used for segments

0.898968
0.821392
-0.07758
MB

Heap used for doc values

0.0717201
0.0275154
-0.0442
MB

Heap used for terms

0.676544
0.648956
-0.02759
MB

Heap used for norms

0.09198
0.0881958
-0.00378
MB

Heap used for points

0
0
0
MB

Heap used for stored fields

0.0587234
0.0567245
-0.002
MB

Segment count

119
115
-4

Min Throughput
index-append
11692.2
12325.1
632.907
docs/s

Mean Throughput
index-append
12580.3
12918.5
338.218
docs/s

Median Throughput
index-append
12602.7
12950.9
348.173
docs/s

Max Throughput
index-append
13131.5
13787.7
656.203
docs/s

50th percentile latency
index-append
2917.01
2920.49
3.48737
ms

90th percentile latency
index-append
4142.28
3969.75
-172.527
ms

99th percentile latency
index-append
15025.7
12156.8
-2868.93
ms

99.9th percentile latency
index-append
17450.6
12870.4
-4580.23
ms

100th percentile latency
index-append
18089.8
13110.4
-4979.42
ms

50th percentile service time
index-append
2917.01
2920.49
3.48737
ms

90th percentile service time
index-append
4142.28
3969.75
-172.527
ms

99th percentile service time
index-append
15025.7
12156.8
-2868.93
ms

99.9th percentile service time
index-append
17450.6
12870.4
-4580.23
ms

100th percentile service time
index-append
18089.8
13110.4
-4979.42
ms

I also tried to enable bulk merge with deletions but the result wasn't great. I will explore an idea that iterates the start pointers of chunks sequentially to avoid the cost of searching.

@rmuir @jpountz Thanks for reviewing.

Can we add tests to BaseStoredFieldsFormatTestCase that call setIndexSort, exercise merging, and validate correctness (e.g. check that stored fields values are still correct)? I am worried that existing test coverage for this change is not great.

I added a random test in https://github.com/apache/lucene/pull/134/commits/be7c71c320be86f5e485a6d0864b18954f5ef25f.

Can we also fix merge logic of Lucene90TermVectorsFormat/BaseTermVectorsFormatTestCase? Generally, we try to keep this logic consistent across stored fields and term vectors as much as possible, and this improvement should apply there as well?

+1. Are you okay if I do will it in a follow-up right after this PR?
Would you please take another look?

+1. Are you okay if I do will it in a follow-up right after this PR?

That's good, I just don't want to forget it. Main motivation is to only maintain one version of the algorithm and not to let the term-vectors one fall behind.

Would you please take another look?

I'll take another pass and try to run some tests etc on my side as soon as I can.

I added a small tweak to the test so that it always tests both the bulk and non-bulk cases. I just ran the test a few times before/after and inspected its test coverage each run like this:
$ ./gradlew -p lucene/core test --tests org.apache.lucene.codecs.lucene90.TestLucene90StoredFieldsFormat.testRandomStoredFieldsWithIndexSort coverage
$ open ~/workspace/lucene/lucene/core/build/reports/jacoco/test/html/index.html

in order to also exercise the MergeStrategy.VISITOR case, simplest approach might be to use addIndexes at the end. Or just add a separate unit test for that case. I am looking into it...

@rmuir @jpountz Thank you so much for your reviews and help in this PR! I really appreciate that.


add doxygen style documentation to timezone.h

Most notably, the documentation points out the ambiguity in the return value of timezone_gmt_time for some local times.
Admittedly I got somewhat lazy with some of the more specialized functions...

superseded by pr #8


EB-90124 when building docker images do not reset file time to 0

Preventing setting the file date to zero when creating the docker image.
Use the same date as the file system file.

for src file only
under a feature flag

👍 please squash and merge


f-Number and t-Number should be fStop and tStop

While f-number is somewhat known as an equivalent to f-stop, t-number isnt. Should we have the two parameters be fStop and tStop

Closed by https://github.com/sandflow/camdkit/commit/df4d1cece30cdf79a3a9b2d870c9ed6b2389fc7b


Sidenav permissions fix

Description
Changes proposed in this pull request:

adjusted Siedenav to show navigation nodes according to user permissions
changed Namespace list to redirect to no permissions when user does not have them
adjusted e2e tests

Related issue(s)

/retest

/retest

/retest

/retest

/retest

/retest


Failed to establish a new connection: [Errno 111] Connection refused)

Hi
any quick fix for :
Failed to establish a new connection: [Errno 111] Connection refused)
what and where to change ?
docker-compose up
Creating network "dmarcvisualizer_default" with the default driver
Creating dmarcvisualizer_grafana_1 ...
Creating dmarcvisualizer_elasticsearch_1 ...
Creating dmarcvisualizer_elasticsearch_1
Creating dmarcvisualizer_grafana_1 ... done
Creating dmarcvisualizer_parsedmarc_1 ...
Creating dmarcvisualizer_parsedmarc_1 ... done
Attaching to dmarcvisualizer_elasticsearch_1, dmarcvisualizer_grafana_1, dmarcvisualizer_parsedmarc_1
grafana_1        | ✔ Downloaded grafana-piechart-panel v1.6.2 zip successfully
grafana_1        |
grafana_1        | Please restart Grafana after installing plugins. Refer to Grafana documentation for instructions if necessary.
grafana_1        |
parsedmarc_1     | Traceback (most recent call last):
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
parsedmarc_1     |     conn = connection.create_connection(
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection
parsedmarc_1     |     raise err
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
parsedmarc_1     |     sock.connect(sa)
parsedmarc_1     | ConnectionRefusedError: [Errno 111] Connection refused
parsedmarc_1     |
parsedmarc_1     | During handling of the above exception, another exception occurred:
parsedmarc_1     |
parsedmarc_1     | Traceback (most recent call last):
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 255, in perform_request
parsedmarc_1     |     response = self.pool.urlopen(
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 785, in urlopen
parsedmarc_1     |     retries = retries.increment(
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 525, in increment
parsedmarc_1     |     raise six.reraise(type(error), error, _stacktrace)
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/packages/six.py", line 770, in reraise
parsedmarc_1     |     raise value
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
parsedmarc_1     |     httplib_response = self._make_request(
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request
parsedmarc_1     |     conn.request(method, url, **httplib_request_kw)
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request
parsedmarc_1     |     super(HTTPConnection, self).request(method, url, body=body, headers=headers)
parsedmarc_1     |   File "/usr/local/lib/python3.10/http/client.py", line 1282, in request
parsedmarc_1     |     self._send_request(method, url, body, headers, encode_chunked)
parsedmarc_1     |   File "/usr/local/lib/python3.10/http/client.py", line 1328, in _send_request
parsedmarc_1     |     self.endheaders(body, encode_chunked=encode_chunked)
parsedmarc_1     |   File "/usr/local/lib/python3.10/http/client.py", line 1277, in endheaders
parsedmarc_1     |     self._send_output(message_body, encode_chunked=encode_chunked)
parsedmarc_1     |   File "/usr/local/lib/python3.10/http/client.py", line 1037, in _send_output
parsedmarc_1     |     self.send(msg)
parsedmarc_1     |   File "/usr/local/lib/python3.10/http/client.py", line 975, in send
parsedmarc_1     |     self.connect()
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect
parsedmarc_1     |     conn = self._new_conn()
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn
parsedmarc_1     |     raise NewConnectionError(
parsedmarc_1     | urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f646bdfc8b0>: Failed to establish a new connection: [Errno 111] Connection refused
parsedmarc_1     |
parsedmarc_1     | During handling of the above exception, another exception occurred:
parsedmarc_1     |
parsedmarc_1     | Traceback (most recent call last):
parsedmarc_1     |   File "/usr/local/bin/parsedmarc", line 8, in
parsedmarc_1     |     sys.exit(_main())
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/parsedmarc/cli.py", line 684, in _main
parsedmarc_1     |     elastic.migrate_indexes(aggregate_indexes=[es_aggregate_index],
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/parsedmarc/elastic.py", line 244, in migrate_indexes
parsedmarc_1     |     if not Index(aggregate_index_name).exists():
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/elasticsearch_dsl/index.py", line 414, in exists
parsedmarc_1     |     return self._get_connection(using).indices.exists(index=self._name, **kwargs)
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/elasticsearch/client/utils.py", line 347, in _wrapped
parsedmarc_1     |     return func(*args, params=params, headers=headers, **kwargs)
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/elasticsearch/client/indices.py", line 371, in exists
parsedmarc_1     |     return self.transport.perform_request(
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/elasticsearch/transport.py", line 417, in perform_request
parsedmarc_1     |     self._do_verify_elasticsearch(headers=headers, timeout=timeout)
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/elasticsearch/transport.py", line 606, in _do_verify_elasticsearch
parsedmarc_1     |     raise error
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/elasticsearch/transport.py", line 569, in _do_verify_elasticsearch
parsedmarc_1     |     _, info_headers, info_response = conn.perform_request(
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 280, in perform_request
parsedmarc_1     |     raise ConnectionError("N/A", str(e), e)
parsedmarc_1     | elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f646bdfc8b0>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f646bdfc8b0>: Failed to establish a new connection: [Errno 111] Connection refused)

Hi, Did you find any solution to resolve this issue? I am having the same issue.

Hi, i'm stuck here too. Anyone?

Did you try waiting for 15 minutes?

actually i assembled new working project that i collect like a puzzle from other projects.
i will upload it soon and will post a link.

Please share the link

Seconded.  Same issue.

For anyone still struggling with this, see my comment on this newer Issue https://github.com/debricked/dmarc-visualizer/issues/41#issuecomment-1386567305


Make the root namespaces consistent

:shipit: for now. We can revisit where needed when the namespace structure emerges from the wash.


toctree / page numbers

The toctree handling looks strange and it has no page numbers.
The sphinx-Business-Theme has some nice example, where they have really wonderful toc-tree with pagenumbers:
file:///home/daniel/Downloads/demo-3.pdf

theme: https://github.com/Nekmo/sphinx-business-theme
We need to figure out how to do it, use it, and especially document it quite well.

Resolved with release 1.3


Support for hiding help information

Select adds a configuration that hides help information, making Select seem more clean.

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


Add an easier wat to toggle "preview with all voices"

I'm not sure how useful this would be to anyone else, but I would find it nice to have a way to toggle the "preview with all voices" in  an easier to reach spot due to the fact that when working on a song there are may times that you only want to hear the melody you're writing and many other times where you want to hear the full harmonies. Just the option isolated in the options dropdown menu would probably be fine or a checkmark box somewhere on the main panel, Either implementation would be convenient enough.
I don't know how complicated a feature like "preview with unmuted/selected units" would be to implement, but I could see me using a feature like that a lot as well.

This is a good idea, will slate for next release!

Added Ctrl+P as a shortcut for this. LMK if there are any issues.


Wrap non-string input to substring function

Re-open pull request for https://github.com/linkedin/coral/pull/177
Hive substr/substring function allows user to input either a String or byte array, but Calcite's substring function only allows String input.
describe string_timestamp_table;
+--------------+------------+----------+
|   col_name   | data_type  | comment  |
+--------------+------------+----------+
| a_string     | string     |          |
| a_timestamp  | timestamp  |          |
+--------------+------------+----------+
select substr(string_timestamp_table.a_timestamp, 12, 8) as newtime from default.string_timestamp_table;
+-----------+
|  newtime  |
+-----------+
| 22:54:24  |
| 22:54:54  |
+-----------+
One way we could try to emulate this behavior would be to attempt to wrap any non-String input in substr/substring function to String type. This might be a bit funky since we need to remove the mapping to Calcite's substring and instead register it as a UDF. Additionally, since Calcite will actually override the "substring" UDF with Calcite's static "substring" function, we rewrite "substring" as "substr" to avoid this override.

@ljfgem @wmoustafa PTAL if you get the chance, thanks!

Thank you @jongn , could you resolve the conflicts?


how to integrate Razorpay Hosted Checkout

i am trying to integrate Razorpay Hosted Checkout but i am not able to crack this hosted integration pleease help me tro solve this integration
$order  = $client->order->create([
'receipt'         => 'order_rcptid_11',
'amount'          => 50000, // amount in the smallest currency unit
'currency'        => 'INR',// See the list of supported currencies.)
'payment_capture' =>  '0'
]);
plese help to do this integration
@radhika-tk

Create a ticket on your RP dashboard.

@sajeeve9 sorry for the late response . could you please let us know was this issue resolved ?

I am closing this issue for now. If someone is facing the same issue you can check this doc for checkout integration. Please feel free to add any other suggestions you may have.


Port lxc to cobra and remove gnuflag

Failure on "dir" tracked down to the shell fixes, testing a fix here.

And got a tentative fix for the ceph failure too, also caused by the shell handling fix.

That should be both issues fixed, the current zfs failure is just a race (previous run passed) and the go tests are still as flaky as they were before, especially on loaded systems, hopefully the rest will behave.
I'm going to bed (3:15am here), @brauner we need this reviewed and merged ASAP so we can do the final touches for 3.0 and tag.

@monstermunchkin we use CheckArgs because the error it returns is nicer than what cobra's built-in arg checking does and because the error can then be translated.
The arg handling isn't inconsistent. <> refers to a required argument, [] refers to an optional argument or part of an argument.

Did you remove some of your earlier reviews or was that just my mobile github client being crap?
Anyway, the comments you left above look correct, I'll fix them now.

Nope, I didn't remove any of my reviews.

Ok, then probably was my app being crap, it just showed them all as [] which was kinda useless :)


Small "When Transfur" Animation

You can made the player play e short animation for when he get tranfured you can use the transfur event and play the animation for the player and when the animation is playing the player cannot move (or just get very slown) and slow to break blocks and cannot place block
And can be a boolean server config to allow or not the transfur animation
The animation can be a very short animation the player go it will rest its hand on its head (if it is transfured with keepConscious true,command or totem) and if it is by IV Rank it may be a small, smooth change from the player model to the transfur model and if it is by an entity or "block transfur" source, the animation can be the player looking at his arms or resting his hand on his head as well

Replaced with #755


fixing the progress bar for the old way of uploading

Is there a way to avoid the failed check of DeepSource Control-coupled functions detected antipattern? This explanation might be helpful If a function controls the flow of another by passing it information on what to do, both functions are said to be control-coupled. Coupling among functions must be minimized for better maintainability of the code.
@azamifard, can you please review that?

Is there a way to avoid the failed check of DeepSource Control-coupled functions detected antipattern? This explanation might be helpful If a function controls the flow of another by passing it information on what to do, both functions are said to be control-coupled. Coupling among functions must be minimized for better maintainability of the code. @azamifard, can you please review that?

replied here:https://github.com/elixir-oslo/lega-commander/pull/5#issuecomment-1061652816


Speech to text issue in Android

Hello Simform Team,
I have integrated your library into my app, and the waveform has been generated as per my requirements. However, within my feature scope, I need to convert the audio to text, essentially performing speech-to-text. To achieve this, I've integrated the "@react-native-community/voice" library to generate a text object. However, when I initialise both libraries together, the waveform is generated, but I am not receiving the text object for the speech. Could you provide a text object during the onStopRecording event?
Thanks,

@Bhavin-hyperspace Thank you for using this library and sharing your feedback, currently, we're not supporting this and this is also out of scope for this library. this library can be used to generate waves only. We welcome new changes and enhancements so Feel free to contribute. Thank you!


Change ZooKeeper test rootDir from target to build/zookeeper

Motivation:
ZooKeeperEndpointGroupTest creates the ZooKeeper work directory under
'target' dierctory. Gradle uses 'build' as the build output directory
unlike Maven. As a result, the offending test case leaves the cruft
files outside the 'build' directory.
Modifications:

Change the rootDir from 'target' to 'build/zookeeper'

Result:
No more untracked files reported by Git after a build
Assigned to @imasahiro since he reviewed the original PR by @jonefeewang

Current coverage is 64.48% (diff: 100%)

Merging #337 into master will decrease coverage by 0.03%

@@             master       #337   diff @@
==========================================
  Files           329        329
  Lines         13210      13210
  Methods           0          0
  Messages          0          0
  Branches       1952       1952
==========================================
- Hits           8523       8518     -5
- Misses         3781       3785     +4
- Partials        906        907     +1

Powered by Codecov. Last update 44ab67e...693b03e


fix(stm32): fix dma and idle line detection in ringbuffereduartrx

This change is required to address an issue in the RingBufferedUartRx DMA handling and idle line detection.
When an IRQ wakes the select future, both inner futures (dma and uart) in the select are re-polled. Previously, the dma future was polled first. Since it can't check if it was woken for valid reasons (due to API limitations), it could end the select future without clearing the IDLE flag, which is handled in the uart future.
The proposed fix reverses the polling order, starting with the uart future. This allows proper checking and clearing of the IDLE flag before considering the DMA status, preventing scenarios where the flag remains set across multiple read operations.
Additionally, this PR enables the half-transfer IRQ for the DMA to help prevent data loss at high baud rates. I don't think it introduces any side effects.

However rust async allows "spurious wakes/polls". For example if you select/join the wait_for_data_or_idle future with another future, that another future will cause wakes that will wake both sides of the select/join.

Interesting, I didn't know about "spurious wakes/polls". What would be the correct approach in your opinion?
I tried to implement a check to make sure the dma is half-full/full but all flags have been cleared by the IRQ already.


Studio should be in VScode

First off, this is absolutely amazing.  I love everything about this.
That said, has anyone thought of making the studio as a plugin and directly inside of vscode?  That way you still get access to all your other editor features?

Same way as Nuclide was integrated in atom.

I considered that but VSCode plugin API doesn’t allow.

The VSCode team seems super active and responsive. I bet after seeing Rekit, they'd be really open to API features suggestions!

@illepic yea I was thinking that too.

@supnate do you have a list of specific limitations you were running up against? I know, it's probably a ton of work to list it all out, but the VSCode team closed the API expansion ticket (https://github.com/Microsoft/vscode/issues/43530), requesting instead specific issues.

@illepic they said they think this would make a good extension and have tagged it as a candidate.  They are also asking for exactly what @illepic is asking for as well.  See my request on the VScode repo > https://github.com/Microsoft/vscode/issues/43530

Hey, thanks all for the discussion and help! I totally agree it would be better in VSCode (so that I wouldn't struggling with code editor experience..). I once asked them about the context menu extensibility when Rekit was in very early stage: https://github.com/Microsoft/vscode/issues/15235#issuecomment-259430917 but it seemed hard to support.
Later I realized I need much more extensibility to build on VSCode. Like a new tab icon on the left to show the virtual project explorer, and a totally new code editor page with sub tabs. I felt it quite impossible when I look at https://code.visualstudio.com/docs/extensionAPI/extension-points . VSCode seems only allows extensions mainly for code editing experience but not UI extensibility. So I created Rekit Portal instead without code editing capability.
Then many people complain why not allow edit directly in Rekit Portal, so I added it and renamed to Rekit Studio.
That's just the story.

@supnate I totally see your point, but as @shaun-sweet says, I think that they may welcome the UI API extensibility request. Also note that many fullstack developers already have tons of IDEs installed (Say XCode, Android Studio, Visual Studio, VS Code, PyCharm) and having another one for a very specific framework might slow down the traction to this awesome project.

@supnate thanks for the backstory!  Its super helpful to get some context.
That said, I think the VS code team is open to extending the API to support these types of features more.  Perhaps as an actionable item to make some progress on this, is to compile a list of individual API features we'd need from VScode to make this work within the application.

[ ] Virtual tabs under the current tabs in vs code.
[ ] Virtual tabs have the ability to get a reading of the file tree that VScode can see in the open folder
[ ] Virtual tabs can change the view (current code being edited) upon click

What else?

Thanks @shaun-sweet for summarizing this. Actually I'm not that optimistic about the UI extensibility from VS Code. According to https://code.visualstudio.com/docs/extensionAPI/patterns-and-principles they don't allow to touch DOM from extensions, that is, you can not build arbitrary UI yourself unless they provide a base and provide extension points on it.
Ideally we need a DOM node and then could render anything under that. If they don't provide such API things will not happen.
So the list could be:

Allow to add a new tab on the left, and render my own DOM nodes into it (the project explorer)
Allow to show file with a custom page on the main edit area, and easy to integrate code editor in my own page.
Provide dialog system to provide UI forms to manage components/actions/features.

Seems like there are great updates to VS Code in terms of Extension Authoring
https://code.visualstudio.com/updates/v1_23#_extension-authoring


fix indentation of volume mounts in deployment

This PR contains the changes suggested by @corinz in #77.
The indentation level for volumeMounts introduced in #70 was not correct (12 instead of 14):
$ cat test-values.yaml
volumeMounts:
  - name: init-scripts
    mountPath: /etc/localstack/init/ready.d
    readOnly: true
persistence:
  enabled: true
$ helm template -f test-values.yaml .
Error: YAML parse error on localstack/templates/deployment.yaml: error converting YAML to JSON: yaml: line 213: did not find expected key

Use --debug flag to render out invalid YAML

The issue is resolved by fixing the indentation level as suggested by @corinz.
Fixes #77.

this'll work


TypeError: unsupported operand types(s) or combination of types: 'dict' and 'dict'

Hi miguel,
I used windows + python 3.5 +Flask 0.10 . I clicked the 'Sign In' without any data on the login page,  but i am getting back the error,which are as follows:
Traceback (most recent call last):
  File "E:\microblog\venv\lib\site-packages\flask\app.py", line 1836, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\microblog\venv\lib\site-packages\flask\app.py", line 1820, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "E:\microblog\venv\lib\site-packages\flask\app.py", line 1403, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\microblog\venv\lib\site-packages\flask\_compat.py", line 33, in reraise
    raise value
  File "E:\microblog\venv\lib\site-packages\flask\app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\microblog\venv\lib\site-packages\flask\app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "E:\microblog\venv\lib\site-packages\flask\app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "E:\microblog\venv\lib\site-packages\flask\_compat.py", line 33, in reraise
    raise value
  File "E:\microblog\venv\lib\site-packages\flask\app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "E:\microblog\venv\lib\site-packages\flask\app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "E:\microblog\app\routes.py", line 26, in login
    if form.validate_on_submit():
  File "E:\microblog\venv\lib\site-packages\flask_wtf\form.py", line 101, in validate_on_submit
    return self.is_submitted() and self.validate()
  File "E:\microblog\venv\lib\site-packages\wtforms\form.py", line 310, in validate
    return super(Form, self).validate(extra)
  File "E:\microblog\venv\lib\site-packages\wtforms\form.py", line 152, in validate
    if not field.validate(self, extra):
  File "E:\microblog\venv\lib\site-packages\wtforms\fields\core.py", line 193, in validate
    self.pre_validate(form)
  File "E:\microblog\venv\lib\site-packages\wtforms\csrf\core.py", line 39, in pre_validate
    self.csrf_impl.validate_csrf_token(form, self)
  File "E:\microblog\venv\lib\site-packages\flask_wtf\csrf.py", line 147, in validate_csrf_token
    self.meta.csrf_field_name
  File "E:\microblog\venv\lib\site-packages\flask_wtf\csrf.py", line 98, in validate_csrf
    if not safe_str_cmp(session[field_name], token):
  File "E:\microblog\venv\lib\site-packages\werkzeug\security.py", line 138, in safe_str_cmp
    return _builtin_safe_str_cmp(a, b)
TypeError: unsupported operand types(s) or combination of types: 'dict' and 'dict'

Hope to get you help，thanks

Do you get a different result if you type some data in the form?

I used the code of chapter 3 and tried different data. This error occurs when username is empty. No error after using the same software version as another mac computer。

Sorry, but I don't quite follow what you are saying. The error does not happen on a different computer? What do you mean by first and second case?

I'm sorry, I didn't make it clear enough.The error does not happen on a different computer.I mean I try to submit an empty account and password will get the error