Web brower cannot access ASP.NET Core application which hosted in Azure Cloud Service

I created a sample web application which can be found at http://www.github.com/micli/MuscleFellow. I created a Ubuntu 14.04 instance into Azure Cloud Service. And I mapped public endpoint 80 to Ubuntu private endpoint 5000.

Then I logged in Ubuntu VM and installed .NET Core SDK follow by instructions of dot.net website. After git clone I run dotnet restore and dotnet run to start MuscleFellow web Application. It seems succeeded.

Unfortunately, It cannot be access by the Cloud Service domain name http://testaspcore001.chinacloudapp.cn/
Can anybody help on this? Thanks!

Is it because you are listening on localhost:5000? Does it work if you listen on *:5000? As a side note - exposing Kestrel directly to the outside world is at this point not recommended (https://github.com/aspnet/KestrelHttpServer/issues/957).

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


pyk cannot find llvm backend bindings correctly

On my system, for some reason it cannot find the LLVM backend bindings:

It appears it's a Python3.9 vs Python3.10 issue?

Taking a look!

The KLLVM bindings, when built using Nix, will always be Python 3.9: https://github.com/runtimeverification/llvm-backend/blob/3620054f1542481fbb6f04d146bf0e91eaac676b/nix/overlay.nix#L50-L56

@Baltoli is it safe to weaken the binding's Python tag to py3? If not, I guess we'll have to compile the binding during runtime (as we do for the runtime bindings).

I think that's safe @tothtamas28; I can't think of anything that requires a particular minor version. If I'm wrong and it breaks I'll revisit the runtime compilation approach

This appears to no longer be a problem on my system, is it resolved then?

I've not changed anything - @tothtamas28 ?

I've not changed anything - @tothtamas28 ?

Related to the issue I haven't. But I've ported these tests from unittest to pytest, so this might explain why the issue is not triggered. Running test_implies should not touch the module where the issue is, and maybe this is handled in a more reasonable way now.
@ehildenb, does this trigger the error?
make test-integration TEST_ARGS='-k test_parser'

It turns out that it's still a problem, yes. Not sure why it stopped manifesting for a bit, but updating pyk resulted in it coming back.

Until https://github.com/runtimeverification/llvm-backend/issues/611 is fixed (and the corresponding changes are made in pyk), a workaround is to point Poetry to the Python binary with the right version (in this case, the one that nix installed):
$ poetry env use path/to/python3.9


chore: remove support for client-side binding generation

Part of #1318.
In favor of server-side bindings in a form of Maven artifacts.

#1366  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @krzema12 and the rest of your teammates on  Graphite


Add sandeepchadaram's file

Test commit
created a branch, created a file and made a commit, and opened a pull request

More detailed instructions on how to go about making the changes and where to find the necessary buttons will help in understanding Github flow even better.
For example, take the below lesson:
Activity: Change your file

Click the Files Changed tab in this pull request
Edit your newly added file
Replace line 5 with something new
Scroll to the bottom and click Commit Changes

In the above lesson, I had a bit of trouble finding the relevant edit button. There were two: one for editing the name and the other for the file (which was in a drop-down). At first, I clicked on the + sign shown when hovering on the file to edit. This only added a comment.
Minor details like these can create confusion and a hint of irritation for potential users. Github is an excellent resource and making it more accessible will help the goal.
Regardless, thanks for a good intro tutorial.
~Sandeep Chadaram


macos: restore 0 blur-radius when reloading config

If a blur radius config value was previously set but then removed or set to 0, the new blur radius would not take effect on config reload due to the early return clause.

Perfect thanks


Update alerts and action groups troubleshooting docs

Pulled this PR into a PR of my own. We can close this one.
#please-close


template dom-if fails to render when direct child of slot in Polymer 1.x

Description
<template is="dom-if"> fails to render and throws an error if it is the child of a <slot> element in a Polymer 1.x component's shadow DOM. If you wrap the dom-if inside another element, like a div, so it is no longer the direct child of the slot, it renders successfully.
Here's a stripped down example component that will fail to render the someVal is true text and throw an error:
  <dom-module id="example-component">
    <template>
      <slot name="stuff">
        <template is="dom-if" if="[[someVal]]">

someVal is true

        </template>
      </slot>
    </template>

  </dom-module>

Here's the error:
polymer-mini.html:2136 Uncaught DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
    at Object.insertBefore (https://polygit.org/webcomponentsjs+v0.7.24/polymer+v1.11.2/components/polymer/polymer-mini.html:647:27)
    at DomApi.insertBefore (https://polygit.org/webcomponentsjs+v0.7.24/polymer+v1.11.2/components/polymer/polymer-mini.html:817:18)
    at HTMLTemplateElement._ensureInstance (https://polygit.org/webcomponentsjs+v0.7.24/polymer+v1.11.2/components/polymer/polymer.html:5408:25)
    at HTMLTemplateElement._render (https://polygit.org/webcomponentsjs+v0.7.24/polymer+v1.11.2/components/polymer/polymer.html:5380:6)
    at Debouncer.complete (https://polygit.org/webcomponentsjs+v0.7.24/polymer+v1.11.2/components/polymer/polymer-mini.html:2175:10)
    at Debouncer.boundComplete (https://polygit.org/webcomponentsjs+v0.7.24/polymer+v1.11.2/components/polymer/polymer-mini.html:2152:6)
    at Object._atEndOfMicrotask (https://polygit.org/webcomponentsjs+v0.7.24/polymer+v1.11.2/components/polymer/polymer-mini.html:2130:1)
    at MutationObserver.window.MutationObserver.observe.characterData (https://polygit.org/webcomponentsjs+v0.7.24/polymer+v1.11.2/components/polymer/polymer-mini.html:2145:15)
_atEndOfMicrotask @ polymer-mini.html:2136
window.MutationObserver.observe.characterData @ polymer-mini.html:2145

Live Demo
http://jsbin.com/zijinig/1/edit?html,console,output
Steps to Reproduce

Define a Polymer 1.x-style component
Use the <slot name="name"> to create a slot so it will be compatible with Polymer 1.x or 2.x
Add a <template is="dom-if" if="[[someVal]]"> with a
someVal is true
 element inside of it, and set someVal to true
Import and use the component in a page

Expected Results
someVal is true is rendered
Actual Results
Nothing is rendered, and an error is thrown
Browsers Affected

[x] Chrome
[ ] Firefox
[ ] Edge
[ ] Safari 9
[ ] Safari 8
[ ] IE 11

Versions

Polymer: v1.11.2
webcomponents: v0.7.24

Seems this is a polyfill issue, it's reproducible with plain javascript by calling insertBefore on a slot.  I opened an issue with the polyfill: https://github.com/webcomponents/shadydom/issues/325


Clean up

A couple of small clean up tasks (remove inset text from backlog as it's now in components and add
abit of space to the home page) and rewrite the page not found, problem and service unavailable pages to use 's so the phone number is part of the same paragraph as it's title.
From:

Telephone:

0808 157 3900

To:

Telephone:>

    0808 157 3900

Closing due to conflicts - will make a new PR for separate parts


stream-reactor upgrade (1.0.1)...

...will be very welcome, thanks. (I need the multi-PK ES upsert from that version)

Hi @costa, we haven't released Stream Reactor 1.0.1 yet.
Once out I'll add it, until then you can add it yourself by mounting the connector jar as volume under /connectors and adding the env variable -e DISABLE=elastic,elastic5 in order to disable the built-in versions.

I haven't checked the functionality which was missing and triggered this issue, but i'm past that project now, and I hope that all is good with the "connect" UPSERTs and friends.


Under limitation can you mention Admin API calls which require (Tenant.Read.All or Tenant.ReadWrite.All) and doesn't comes under Admin read-only API.

Hello Team,
Hope you are having great day.
I have a small request from my end, can you please add the Admin API calls under limitation which require (Tenant.Read.All or Tenant.ReadWrite.All) and doesn't comes under read only API's just to avoid confusion between both the API's calls, Please consider my request from one of our client's as they got confused while assigning permissions to APP.
Thank You.

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

ID: 58a83362-3a66-ba07-ebe5-b83a49171917
Version Independent ID: 58a83362-3a66-ba07-ebe5-b83a49171917
Content: Enable service principal authentication for read-only admin APIs - Power BI
Content Source: powerbi-docs/enterprise/read-only-apis-service-principal-authentication.md
Service: powerbi
Sub-service: powerbi-admin
GitHub Login: @paulinbar
Microsoft Alias: painbar

Thanks for your comment, @AkshayDutta. This issue has been assigned to the doc author for review.

Hi @AkshayDutta, I am afraid I don't quite understand what you'd like to see. Can you elaborate a little? Thanks!

HI @AkshayDutta, I am afraid I don't understand the ask. I am going to close this issue for now, but please don't hesitate to reopen it if you can provide some clarification. Thanks!


Best way to cite Falcon framework in a paper

What is the preferred way to cite the usage of Falcon framework in a scientific paper? A link to the home page? Or is there a reference paper?

Hello @tboch !
I believe this is still a bit of a gray zone, and it varies greatly between different journals / scientific societies.
If you are publishing in APA managed- or related journals, you might want to follow the APA Style [1].
Furthermore, MIT has some general advice on citing software [2]. I don't think we have a DOI for a publication presenting Falcon project though, at least not that I know of.
Looking into our friends/competitors, another popular open source web framework Django has a general answer in line with the above [3].
For Falcon, I guess we could craft something in that vein as well:
Falcon (Version 1.4.1) [Computer Software]. (2018). Retrieved from https://falconframework.org.

Needless to say, take my advice with a grain of salt. I actually do hold a PhD but that was in Applied Physics, so the citing standards might differ somewhat there, and it's been a while since I moved away from research.
I am closing the issue hoping this could serve as a starting point, but do not hesitate to reopen, or open a new question should you need further help. And please let us know if you get any publications out citing Falcon, that sounds really cool! :cool:
Kindly
Vytas

https://blog.apastyle.org/apastyle/2015/01/how-to-cite-software-in-apa-style.html
https://libguides.mit.edu/c.php?g=551454&p=3900280
https://docs.djangoproject.com/en/2.1/faq/general/#how-do-i-cite-django


import_whisper: add the ability to import downsampled points

This change is

@natbraun

Review status: 0 of 4 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

ping ?

Review status: 0 of 6 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

reassigned to @unbrice

Review status: 0 of 6 files reviewed at latest revision, 5 unresolved discussions, some commit checks failed.

biggraphite/accessor.py, line 82 [r3] (raw file):

    maximum = "max"
    total = "sum"
    average = "average"

already fixed in 396c46ba6f5fa95 (Fix carbon plugin "average" aggregation (#72))

biggraphite/accessor.py, line 84 [r3] (raw file):

    average = "average"
    last = "last"
    # TODO: Add avg_zero.

not really needed in this commit

biggraphite/test_utils.py, line 159 [r3] (raw file):

        for datapoint in datapoints:
            timestamp = datapoint[0]
            value = datapoint[1]

I would rather use "(timestamp, value) = datapoint" notation but ok for me

biggraphite/drivers/cassandra.py, line 469 [r3] (raw file):

        # Separate raw and aggregated points.
        for datapoint in datapoints:
            if len(datapoint) == 4:

I a bit lost with this value but it must be because I lack of context

tests/test_accessor.py, line 91 [r3] (raw file):

    def test_config_names(self):
        self.assertEqual(
            bg_accessor.Aggregator.from_carbon_name("average"),

good point, I forgot to double check tests in Brice's review

Comments from Reviewable

Reviewed 4 of 4 files at r1, 1 of 1 files at r2, 1 of 1 files at r3.
Review status: all files reviewed at latest revision, 5 unresolved discussions, some commit checks failed.

Comments from Reviewable

Review status: all files reviewed at latest revision, 5 unresolved discussions, some commit checks failed.

biggraphite/accessor.py, line 84 [r3] (raw file):
Previously, wdauchy (William Dauchy) wrote…
> not really needed in this commit

OTOH it's probably not worth doing another review just to add a TODO

biggraphite/test_utils.py, line 159 [r3] (raw file):
Previously, wdauchy (William Dauchy) wrote…
>  I would rather use "(timestamp, value) = datapoint" notation but ok for me

this part of the change only makes the code more verbose

biggraphite/drivers/cassandra.py, line 469 [r3] (raw file):
Previously, wdauchy (William Dauchy) wrote…
> I a bit lost with this value but it must be because I lack of context

According to the pydoc datapoints contains tuples of length four. This looks like broken code: callee should be changing arguments so that they match insert_points_async, not the opposite. Also this will break TestAccessor...

Comments from Reviewable

Taking over as discussed.

Review status: all files reviewed at latest revision, 5 unresolved discussions, some commit checks failed.

Comments from Reviewable

This is superseded by #76

This superseeds #76

Review status: 0 of 4 files reviewed at latest revision, 5 unresolved discussions.

Comments from Reviewable

Review status: 0 of 4 files reviewed at latest revision, 5 unresolved discussions.

biggraphite/accessor.py, line 82 [r3] (raw file):
Previously, wdauchy (William Dauchy) wrote…
> already fixed in 396c46ba6f5fa95 (Fix carbon plugin "average" aggregation (#72))

Done.

biggraphite/accessor.py, line 84 [r3] (raw file):
Previously, unbrice (Brice Arnould) wrote…
> OTOH it's probably not worth doing another review just to add a TODO

Done.

biggraphite/drivers/cassandra.py, line 469 [r3] (raw file):
Previously, unbrice (Brice Arnould) wrote…
> According to the pydoc datapoints contains tuples of length four. This looks like broken code: callee should be changing arguments so that they match insert_points_async, not the opposite. Also this will break TestAccessor...

Done.

biggraphite/test_utils.py, line 159 [r3] (raw file):
Previously, unbrice (Brice Arnould) wrote…
> this part of the change only makes the code more verbose

Done.

tests/test_accessor.py, line 91 [r3] (raw file):
Previously, wdauchy (William Dauchy) wrote…
> good point, I forgot to double check tests in Brice's review

Done.

Comments from Reviewable

Reviewed 5 of 6 files at r4.
Review status: all files reviewed at latest revision, 5 unresolved discussions.

Comments from Reviewable


Fix build from merging unicode/naming branches

Codecov Report

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

@@           Coverage Diff           @@
##           master      #89   +/-   ##
=======================================
  Coverage   92.44%   92.44%
=======================================
  Files           6        6
  Lines         635      635
=======================================
  Hits          587      587
  Misses         48       48

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 32f187c...19074d6. Read the comment docs.

Indeed! Thank you!


Build fail.

Im having a build issue any advice?
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_install (log file is located at /solo-build/build/tmp-eglibc/work/imx6solo_3dr_artoo-oe-linux-gnueabi/libfslparser/3.0.11-r0/temp/log.do_install.17566)
ERROR: Logfile of failure stored in: /solo-build/build/tmp-eglibc/work/imx6solo_3dr_artoo-oe-linux-gnueabi/libfslparser/3.0.11-r0/temp/log.do_install.17566
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_install
| NOTE: make -j 6 DESTDIR=/solo-build/build/tmp-eglibc/work/imx6solo_3dr_artoo-oe-linux-gnueabi/libfslparser/3.0.11-r0/image install
| make: *** No rule to make target `install'.  Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at /solo-build/build/tmp-eglibc/work/imx6solo_3dr_artoo-oe-linux-gnueabi/libfslparser/3.0.11-r0/temp/log.do_install.17566)
ERROR: Function failed: do_install (log file is located at /solo-build/build/tmp-eglibc/work/imx6solo_3dr_artoo-oe-linux-gnueabi/libfslcodec/3.0.11-r0/temp/log.do_install.17567)
ERROR: Logfile of failure stored in: /solo-build/build/tmp-eglibc/work/imx6solo_3dr_artoo-oe-linux-gnueabi/libfslcodec/3.0.11-r0/temp/log.do_install.17567
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_install
| NOTE: make -j 6 DESTDIR=/solo-build/build/tmp-eglibc/work/imx6solo_3dr_artoo-oe-linux-gnueabi/libfslcodec/3.0.11-r0/image install
| make: *** No rule to make target `install'.  Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at /solo-build/build/tmp-eglibc/work/imx6solo_3dr_artoo-oe-linux-gnueabi/libfslcodec/3.0.11-r0/temp/log.do_install.17567)
ERROR: Task 1439 (/solo-build/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-multimedia/libfslparser/libfslparser_3.0.11.bb, do_install) failed with exit code '1'
ERROR: Task 1426 (/solo-build/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-multimedia/libfslcodec/libfslcodec_3.0.11.bb, do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3074 tasks of which 3070 didn't need to be rerun and 2 failed.
No currently running tasks (3074 of 3100)

Summary: 2 tasks failed:
  /solo-build/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-multimedia/libfslparser/libfslparser_3.0.11.bb, do_install
  /solo-build/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-multimedia/libfslcodec/libfslcodec_3.0.11.bb, do_install
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
look below for squashfs, uImage, kernel, u-boot, dtb file, initramfs, rootfs.cpio, etc
vagrant ssh
ls /solo-build/build/tmp-eglibc/deploy/images/imx6solo-3dr-1080p/
ls /solo-build/build/tmp-eglibc/deploy/images/imx6solo-3dr-artoo/

looking into it.  :-)   trying to see if bug is re-creatable here.

build system is undergoing shakedown, retry in a few days. :-)


Deflake JournalToolTest

Saw this test fail a new contributor's build.
Previously, the tests could fail if a checkpoint is written
too early, and the journalTool reads that checkpoint. This
PR increases the number of entries required to trigger a
checkpoint, so that we don't take a checkpoint until we
want to.

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/Alluxio-Pull-Request-Builder/2925/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/2927/
Test PASSed.

alluxio-bot, merge this please.


applyInstanceProps can become the sole referencer of accessible instances, leading to lost references

When using Parent with applyInstanceProps, it's possible to lose all references to the instance in user code while still being able to execute changes on the instance indirectly via state objects, or observe changes on the instance indirectly via events or out props. In this scenario, applyInstanceProps becomes the sole referencer of the instance.
Normally, when applyInstanceProps becomes the sole references of the instance, we depend on the instance's accessibility to determine whether to continue holding the reference or drop it. The criteria are specified in isAccessible.lua, utilised by the reference-holding mechanism in semiWeakRef.lua.
There seems to be a nasty edge case where, in spite of the instance being accessible, the reference is lost by applyInstanceProps due to it being held too weakly. This typically occurs when parenting an instance to nil using bound state on the Parent property, then attempting to bring the instance back into the data model after an extended period of time. While in nil, the code may lose the reference to the instance, even though it is live.
This will require a lot of design to get right.
Repro: https://cdn.discordapp.com/attachments/895437663040077834/936512260480843816/Repro.rbxl

I think the issue here is fundamental to how Roblox is designed - the nil parent does not have a single responsibility. You cannot tell whether an instance in nil is ready to be destroyed or is only there temporarily.
Fusion's current interpretation is that instances in nil are only ready to be destroyed when the user no longer holds their own references to them, which seems sensible at first glance but actually is not a sound assumption. Bound properties provide a mechanism for effecting change on an instance without having to maintain a reference in the user's code, which is the original source of this issue.
It's interesting to consider that Fusion makes a similar-ish assumption for state objects. State objects are considered ready for cleanup when they have no dependents. This makes more sense since you need a reference to a state object to add it as a dependency, thus a state object with no dependents and no reference will never have new dependents, and so will never again have an influence on the reactive graph, making it safe to destroy. This is therefore a sound assumption as long as the state objects don't have external effects (which is why Observer does not clean itself up).
To resolve this, we either need to figure out some metric for evaluating whether a state object is in use, or concede that we shouldn't mix destroyed and active instances under the same parent.

I'm currently leaning towards the latter, by the way; it's the prevailing wind with Roblox development nowadays, and would lead to a simpler system.
The decision would then become 'which parent should represent destroyed instances?'. Whichever parent we use would then no longer be allowed for regular use.
The obvious choice here is to use nil as the destroyed parent, though it's not our only option. I briefly played with the idea of Fusion providing a special parent where destroyed instances can go, but it's a pretty terrible idea and inconsistent with basically every single Roblox coding practice in history. I don't think that's an idea worth pursuing any further.
This now raises further questions about how Fusion operates. When we unparent children via the [Children] key, for example, we would effectively be marking them for destruction. However, the intent of that behaviour was to mark the children as 'orphaned', since we didn't want them parented here, but have no other place to move them to right now. We could rework the theory here to make child destruction the 'proper' behaviour, but would this be sensible in all cases? What about if we're parenting children not managed by Fusion? Is that a reasonable thing to do, or should we disallow these uses in favour of using Parent?
Making nil parent meaningful would therefore require a complete re-evaluation of every place in the Fusion library where we parent to nil, perhaps requiring some deep thinking about the theory which underpins these features.

But hey! On the bright side, that gives us a nice declarative way to destroy instances - use a Computed for Parent and return nil to destroy 😛
(though maybe we should error for that instead, just in case someone tries it as a way of temporarily storing instances. This bug report proves it's not intuitive.)

Solved by #184


ENH: Allow disabling Jinja

Introducing new argument, use_jinja.

Codecov Report

Merging #40 (7e0cbd7) into master (c410729) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #40   +/-   ##
=======================================
  Coverage   99.48%   99.49%
=======================================
  Files          13       13
  Lines         584      589    +5
=======================================
+ Hits          581      586    +5
  Misses          3        3

Impacted Files
Coverage Δ

redmail/email/body.py
100.00% <100.00%> (ø)

redmail/email/sender.py
99.37% <100.00%> (+<0.01%)
:arrow_up:

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 c410729...7e0cbd7. Read the comment docs.


Adding Half Star Functionality To ui.bootstrap.rating?

Has anyone offered to help integrate this feature?
Thank you
John

This would only work with Font Awesome I believe - I don't see the necessary icon present in Bootstrap's glyphicons. I am not sure that is something we want to support, although you're more than welcome to fork the component and add support in a standalone library.

There is a half star icon with Font Awesome "fa fa-star-half"... I will have to add this functionality into a project, will take a fork and start working at it.
Thank you @wesleycho

Closing for now - if Bootstrap adds support for a half star font, then I would be more than welcome to revisiting this.

+1

+1

@davecyen, @dularion, please do not merely add +1 to issues with no other content.  it provides no intrinsic value and serves to only clutter up a thread.  Additionally, GitHub has now added emojis to posts so you can indicate support for a feature by adding an inline reaction rather than a physical response.  Please use them in the future.  It's the smiley face icon next to the pencil and X icons in the upper left corner of a post.
Also, as @wesleycho noted, this is not a feature we are not going to support.

Sorry, didn't know they had implemented that yet!

@dularion no worries - they didn't exactly issue a press release.  i found out about it from someone's Slack post w/ the link.

@johnjspiteri have you had any luck implementing the half-star rating on your own?

Yes I did @quicoto, in a pretty primitive way... had to slap something together quickly so:
A directive that would take the model value of 4.5, and checked
if(scope.rating % 1 !== 0)
Then I would show a half star after the ng-repeat, using CSS to keep things neat.
games.rating.directive.js.zip
Hope this helps.

@johnjspiteri Thank you.


how to restrict the no of records to be uploaded at .xlsx file processing level

Hi, I am having model A which is having 1000 records and with the help of the .xlsx file, I am updating the user's shift timing.
Now  I want to limit the records to be updated to one day.
How I am thinking to Implement?
-If I can Count the records at the resource.py file-level by using before_import (don't know how to write the logic for this)
so once the count will be more than 500 that data will not process. Now the problem here what if a user has updated 100 records the first time and 500 next time so need something which can count the data and the next day that counted data should reset to 0.
Anyone Can help me with how I can implement this functionality at the file processing level.
My resource.py file is as follows.
class CTAResource(resources.ModelResource):
class meta: Model=CTA
My views.py logic to upload data
def CTA_upload(request):
try:
if request.method == 'POST':
movie_resource = CTAResource()
##we will get data in movie_resources####
dataset = Dataset()
new_movie = request.FILES['file']
if not new_movie.name.endswith('xls'):
messages.info(request, 'Sorry Wrong File Format.Please Upload valid format')
return render(request, 'apple/uploadinfosys.html')
messages.info(request, 'Uploading Data Line by Line...')
imported_data = dataset.load(new_movie.read(), format='xls')
count = 1
for data in imported_data:
value = CTA(
data[0],
data[1],
data[2],
data[3],
data[4],
data[5],
data[6],
data[7],
data[8],
)
count = count + 1
value.save()
# messages.info(request, count)
# time.sleep(1)
messages.info(request, 'File Uploaded Successfully...')
except:
messages.info(request,
              'Same Email ID has been observed more than once. Except that other records has been added../nPlease Make sure Email field should be unique.')

return render(request, 'app/cta.html')

Im going to close this as it seems to be outside the scope of django-import-export and is not a code base issue. However, feel free to continue discussing either here or on SO.


v3.14 Arcade physics: zones don't overlap with bodies that have zero velocity

Version

Phaser Version: Phaser v3.14.0-FB
Operating system: OS X High Sierra 10.13.6
Browser: Chrome 69.0.3497.100

Description
Arcade physics bodies stop overlapping with overlap zones, when you set their velocity to zero. As long as they are moving they still overlap, but as soon as they stop moving the zone.body.touching.none is set to true. The expected behavior is that they still overlap even when the other body is not in motion.
Example Test Code
You can test this by replacing the code of example
http://labs.phaser.io/view.html?src=src\physics\arcade\overlap zone.js
with the following:
var config = {
    type: Phaser.AUTO,
    width: 800,
    height: 600,
    parent: 'phaser-example',
    physics: {
        default: 'arcade',
        arcade: {
            debug: true,
            gravity: { y: 0 }
        }
    },
    scene: {
        preload: preload,
        create: create,
        update: update
    }
};

var zone;

new Phaser.Game(config);

function preload ()
{
    this.load.image('space', 'assets/skies/space.jpg');
    this.load.image('block', 'assets/sprites/block.png');
}

function create ()
{
    this.add.image(400, 300, 'space');

    zone = this.add.zone(300, 200).setSize(200, 200);
    this.physics.world.enable(zone);
    zone.body.setAllowGravity(false);
    zone.body.moves = false;

    var group = this.physics.add.group({
        key: 'block',
        frameQuantity: 4,
        bounceX: 1,
        bounceY: 1,
        collideWorldBounds: true,
        velocityX: 0,
        velocityY: 0,
        setXY: {x: 400, y: 300}
    });

    this.physics.add.overlap(group, zone);
}

function update ()
{
    zone.body.debugBodyColor = zone.body.touching.none ? 0x00ffff : 0xffff00;
}

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

I added a temporary fix in my own fork, but it might need to be expanded to include the left, right, up, down touching props.
I was wondering: why does the overlap skips 2 objects that aren't moving?

You can check body.embedded for that case.
collide needs to compare body velocities to separate them.
collide and overlap need to compare body velocities to set the touching directions.

Ok, thanks! I wasn't sure what the body.embedded was for. Now it is clear that it is for this specific use case. I will close this issue now.


Deal with dynamodb query pagination

This unfortunately looses some of the instrumentation we had.  Choices are to instrument the whole block, or copy-n-past the aws querypages code in and instrument the individual calls.  WDYT?

:+1:


Explain why get_balance works in the CLI getting started guide

In the CLI guide /dev_docs/getting_started/cli there are 3 calls to get_balance().
Explain how the user is able to get a private balance without needing a private key (or rather, how the private key is used). Rather than provide a lengthy explanation in the getting started guide itself, provide a link to elsewhere in the docs, (you might need to write that section of the docs which gives this explanation).
Why us the user able to query both Alice and Bob's private balances? (Explain that the sandbox is launched with you in control of all the default accounts).
From user feedback:
"
Why am I able to see balance without a private key? the architecture wasn't clear. am I tracking all my notes? are balances public?
"

Closing as done.


Backfill new columns of the Consignment table ("TransferringBodyName") for Judgment

Looks good. Thanks. Assume you tested this locally?

Yeah, locally working fine.


feat: Add Server TLS Policy parameter

Hello,
In my infra we put in place mTLS authentication on the load balancer. For that we declared a google_certificate_manager_trust_config and a  google_network_security_server_tls_policy. To make the link I added server_tls_policy to module and used it in google_compute_target_https_proxy
Thanks to this modification I now have a Load Balancer SSL with mTLS

/gcbrun

@bnounours thx for the PR. Can you plz follow the document and make this change in autogen.
Thanks

Hello, it is done but I don't know how to reflect it here


[Feature] Support parallel unlocking with fingerprint and password

The only thing I've seen that supports this correctly so far is GDM, which runs 2 PAM sessions in parallel, one for fingerprint, one for password. This makes the whole "press enter to trigger the prompt" song and dance unnecessary.
I'm unsure of how this actually works in terms of implementation, but only that it is possible (since GDM can do it).
Would be very nice if Hyprlock could support it.

Running two pam conversations in parallel sound weird xD.
You could check out https://github.com/hyprwm/hyprlock/pull/205.
There is a guy who uses pam-fprint-grosshack to make it work.

pam-fprint-grosshack is called that for a reason - PAM is strictly a serial authentication mechanism.
The correct way of doing parallel authentication is through two PAM sessions.

Idk if there is a correct way of doing parallel authentication xD
You could get two pam sessions by running a script together with hyprlock that then sends SIGUSR1 to unlock hyprlock I guess.

presenting ~/.local/bin/mylock
#!/bin/sh
set -euo pipefail
(
until fprintd-verify -f right-ring-finger; do
    echo "Failed to verify fingerprint at $(date)" | systemd-cat
done
echo "Unlocked at $(date)" | systemd-cat
pkill -USR1 hyprlock
) &
exec hyprlock

I mean as much as this kinda sucks as a way of doing things it does work lmao. I'm not exactly convinced it's secure though.

This kinda works ish? It's pretty prone to causing just a dangling fprintd-verify, say if you authenticate with a password instead, which will make your fingerprint sensor unusable until you kill that task. I wouldn't reccomend it.

@Jackaed good observation, I don't really use fprintd for anything else :smile:. To fix the dangling fprint-verify, remove the exec and add these two lines:
kill $(jobs -p)
pkill fprintd-verify

Oh I just realised, this code REALLY doesn't work, since fprintd-verify still returns on a no-match, just with different output.

That's why there's the until loop
https://linuxize.com/post/bash-until-loop/

No but that until loop still breaks if an incorrect finger is used, as fprint still returns with a non-zero exit code. You can fix it by adding | grep "verify-match" to the condition.

In bash, if the exit code is non-zero, it usually means a failure.
fprintd-verify also works like this and returns 0 for success, and 1 for failure.
❯ fprintd-verify -f right-ring-finger
Using device /net/reactivated/Fprint/Device/0
Listing enrolled fingers:
 - #0: right-ring-finger
Verify started!
Verifying: right-ring-finger
Verify result: verify-match (done)                                              /1.1s
❯ echo $?
0                                                                               /0.0s
❯ fprintd-verify -f right-ring-finger
Using device /net/reactivated/Fprint/Device/0
Listing enrolled fingers:
 - #0: right-ring-finger
Verify started!
Verifying: right-ring-finger
Verify result: verify-no-match (done)                                           /2.0s
❯ echo $?
1

The until loop works such that it runs the command until the exit code is 0.

You should've tested it

My fprintd doesn't behave this way - I get an exit code of 0 on a match or on a non-match. Not sure why this is different on my machine.
I'm on nixos with nixpkgs unstable, what system are you running?

Interesting if it behaves that way. I'm using fprintd-1.94.2-8.fc39.x86_64 from Fedora. Also, I'm aware the script is a bit of a hack and I'm not forcing anyone to use it. I still don't see any major problems though, since according to the rules of bash it is impossible to unlock the computer without fprintd-verify returning 0.
I'd like to know how it "behaves weirdly" with sleep, since usually sleeping is completely transparent to processes.

@discapes I think it's more or less working as intended now - I'm now using the script with the modifications for my distro (specifically adding the grep) and it seems to work fine with sleep.
In terms of not making it wait for fingerprint, if you're using the fprintd-verify script you can remove the fprint pam module and it should allow you to enter a password and have it work correctly, or let you use your fingerprint and have that work correctly.
I still think this should be implemented inside of hyprlock, as this still is a bit of a hack and requires a decent amount of setup, but for now this is fine.

@Jackaed can you share the method you are using or the script?

Currently using what I've modified from what @discapes sent
#!/bin/sh
set -euo pipefail
if [ -f /tmp/locked ] ; then exit ; fi
touch /tmp/locked
(
until fprintd-verify | grep "verify-match"; do
    echo "Failed to verify fingerprint at $(date)"
done
echo "Unlocked at $(date)" | systemd-cat
pkill -USR1 hyprlock
) &
hyprlock
rm /tmp/locked
kill $(jobs -p)
pkill fprintd-verify

The /tmp/locked stuff is just to ensure that you don't end up with multiple instances of hyprlock going at a given time. Use this at your own risk, I'm not responsible for anything that happens as this being potentially insecure.

@Jackaed for me pkill -USR1 hyprlock is never getting executed i even tried it with grep verify-no-match to check if it unlocks even if the fingerprint is not verifying but no luck.
only getting it unlocked by password input.

sorry this is impossible for me to debug when it's not my own system. make sure that pkill works as intended and that your fprintd-verify gives the output required.

Came across this issue and wanted to ask if the situation has changed at all? I've been using pam-fprint-grosshack and it's not all that reliable (sometimes it works, sometimes I have to press enter and then wait for JUST the right amount of time (but not too early, or not too late?!?!).

I found a workaround that seems to work for me on the equivalent swaylock issue: https://github.com/swaywm/swaylock/issues/61#issuecomment-965175390
you essentially add
auth    sufficient      pam_unix.so       try_first_pass likeauth nullok
auth    sufficient      pam_fprintd.so

to the top of your /etc/pam.d/hyprlock file
I'm not sure if this adds any security issues, but it works a charm for me so far…

I found a workaround that seems to work for me on the equivalent swaylock issue: swaywm/swaylock#61 (comment)
you essentially add
auth    sufficient      pam_unix.so       try_first_pass likeauth nullok
auth    sufficient      pam_fprintd.so

to the top of your /etc/pam.d/hyprlock file I'm not sure if this adds any security issues, but it works a charm for me so far… (you do however need to disable ignore-empty-input in your hyprlock.conf and entering a wrong password just fails silently)

This seems to work, ish? Unless i enter a wrong password in advance, i can't seem to trigger it to unlock. Works fine after wrong password though.

I found a workaround that seems to work for me on the equivalent swaylock issue: swaywm/swaylock#61 (comment)
you essentially add
auth    sufficient      pam_unix.so       try_first_pass likeauth nullok
auth    sufficient      pam_fprintd.so

to the top of your /etc/pam.d/hyprlock file I'm not sure if this adds any security issues, but it works a charm for me so far… (you do however need to disable ignore-empty-input in your hyprlock.conf and entering a wrong password just fails silently)

This seems to work, ish? Unless i enter a wrong password in advance, i can't seem to trigger it to unlock. Works fine after wrong password though.

You still need to press enter (on empty input) to trigger pam

@Jackaed yeah for sure - also I have a feeling that pam-fprint-grosshack may have grossed its last hack - or maybe not, but it did stop working completely on me today (some dbus error, could be a me problem, but pam_fprintd works fine). So it's definitely overdue.

I am new to the Linux space - is this really that difficult to implement to Hyprlock directly?
Why should the user have to configure something like this - which is basic UX. Half the time my fingerprint doesn't work. This is not a small "annoyance". It's actually unusable right now.

Fprintd provides a dbus API, which could be used by hyprlock. That would probably work a lot better than the pam module.
Besides dbus, AFAIK there are quite a few hassles implementing it.
But yeah fingerprint support on linux is bad. I think it can be blamed on PAM and windows only fp devices. The fp sensor on my laptop does not have a working fprint driver, so I will likely not dive into this.

Is there any alternative right now to Hyprlock - which can be used along Hyprland - that doesn't have this problem?

Is there any alternative right now to Hyprlock - which can be used along Hyprland - that doesn't have this problem?

If I understand the question correctly, https://github.com/SL-RU/swaylock-fprintd

Thank you for the response. I am on NixOS right now - so maybe will try this later.
At this point I'm willing to remove the lock screen all together. I'd rather that than have my laptop "freeze" anytime I try unlocking it.

Currently using what I've modified from what @discapes sent
#!/bin/sh
set -euo pipefail
if [ -f /tmp/locked ] ; then exit ; fi
touch /tmp/locked
(
until fprintd-verify | grep "verify-match"; do
    echo "Failed to verify fingerprint at $(date)" | systemd-cat
done
echo "Unlocked at $(date)" | systemd-cat
pkill -USR1 hyprlock
) &
hyprlock
rm /tmp/locked
kill $(jobs -p)
pkill fprintd-verify

The /tmp/locked stuff is just to ensure that you don't end up with multiple instances of hyprlock going at a given time. Use this at your own risk, I'm not responsible for anything that happens as this being potentially insecure - although I'm comfortable enough with it to use it myself.

I am just reading this but have no way to test it yet. What happens when you unlock by password? This will then  just run until the next lock? And thus you need the lock file? I might not understand it correctly. :D

I think I got password + fingerprint parallel unlocking to work without needing to modify Hyprlock.
The idea is so simple that I don't know if it is genius or if it introduces major security flaws... Please tell me what you think of it.
The idea is... Just add this widget to your hyprlock.conf!
# parallel check of fingerprint
# will not generate any visuals on the lock screen
label {
    text = cmd[update:0:1] until fprintd-verify -f right-index-finger; do :; done; pkill -USR1 hyprlock
}

Inspired by the above shell script by discapes https://github.com/hyprwm/hyprlock/issues/258#issuecomment-2068004569, and the rest of this conversation.
This feels like a cleaner way to do it with our current means, please correct me if I'm completely going off the rails...
Also removes the need for spaghetti checks like https://github.com/hyprwm/hyprlock/issues/258#issuecomment-2081586569
(no offense, as we say in engineering, the best part is not part)
An improvement would be to leverage the SIGUSR2 capabilities of hyprlock to display feedback from the fprint-verify command. I have a couple ideas on how to do it (replacing the noop : with useful commands), but I need that sanity check before jumping in :P

If anybody has time, please go and test @moggiesir's MR (#514).

amazing work from @moggiesir - very excited to have this added and get rid of the workarounds 💖💗
Some guidance on migrating
Remove old stuff from the pam config file
The new version (0.5.0) of Hyprlock adds parallel authentication, and there is no longer any need for pam_fprintd or pam-fprint-grosshack
Many users are using various workarounds (see the above comments on this issue), so you might have /etc/pam.d/hyprlock files something like:
Examples of the old workarounds
(Collapsed for readability, click headings to expand)

pam_fprintd (installed with fprintd)
/etc/pam.d/hyprlock
# PAM configuration file for hyprlock
# the 'login' configuration file (see /etc/pam.d/login)
auth	sufficient	pam_unix.so	try_first_pass likeauth nullok
auth	sufficient	pam_fprintd.so
auth	include 	login

pam-fprint-grosshack
(Source)
/etc/pam.d/hyprlock
# PAM configuration file for hyprlock
# the 'login' configuration file (see /etc/pam.d/login)
auth	sufficient	pam_fprintd_grosshack.so
auth	sufficient	pam_unix.so try_first_pass nullok
auth	include 	login

Default hyprlock pam file (you can revert to this after upgrading to 0.5.0)
With this new parallel auth support, you can go back to using the default pam file.

hyprlock default pam file
/etc/pam.d/hyprlock
# PAM configuration file for hyprlock
# the 'login' configuration file (see /etc/pam.d/login)

auth        include     login

Configure hyprlock
You will also need to configure Hyprlock to enable fingerprint support (it is disabled by default).
The new update adds three config settings to hyprlock.conf:

For more information, see the Hyprlock wiki page.
Note: you might need to wait some time for Hyprlock to be updated in your distro's repositories before you can get the new version

Thanks guys! This works incredibly well. Very glad that this has been implemented, this is now by far the best locking utility on linux.


added contact me and footer

Portfolio: Mobile responsiveness

Created contact form
Created footer

Changes required ♻

Adding form spree to my form ✅
Adding max-length to my input field and text area. ✅
Regulating the margins and paddings of my form to that of Figma ✅
Aligning the socials to center reducing the padding. ✅


Bug Report - profiles.json "background" conflict between profiles and (color) schemes

Environment
Windows build number: Microsoft Windows [Version 10.0.18362.239]
Windows Terminal version (if applicable): Version: 0.2.1831.0

Any other software?  Yes, I have other software installed on my computer.

Steps to reproduce
The default profiles in profiles.json contain the element "background" which overrides any color scheme that you set.
Expected behavior
The expectation is that a color scheme's background would override the profile's.
Actual behavior
You have to know to delete the "background" element from the profiles, and only then will color schemes' background color take effect.

This is by design, but it could be better-documented. A profile should be able to override specific local things about its color scheme. It can even embed an entire color table if you'd like.

Thanks for the confirmation on design - makes sense.


Adding tooltips on time.line chart and also staggering/rotating of labels in x-axis?

Hi, the epoch is really a great and easy to use library for generating real time chart and I like it very much. But I would like to know how can I add tooltips in a time.line chart. Right now, when I hover across the plotted points, nothing happens.
Also, is it possible to rotate the x axis ticks in vertical format or staggering format because it kind of overlaps when it's too close together.
Hope to hear from you soon, thanks!

This is a common question with a rehearsed answer: having tooltips, hover elements, or user initiated actions on moving targets doesn't seem to enhance the library but add poorly thought out UX which will see limited use. On the other hand if someone is willing to do the research and open a PR that shows this stance to be incorrect, I am more than willing test and review the code. If you wish to refile please include a working PR.
Thanks!


v4.x Roadmap

New features concerning v4 will be added here.
v4.0.x

[x] Implement restore shaders for 1080p anime.

v4.1.x

[x] General exploration on whether using GANs can improve real-time upscalers. (Yes they can...)
[x] Stable training of GANs for real-time upscaling. (Successfully training a very small network using an adversarial utility function is hard.)

[ ] Explore ideas found in "The Contextual Loss for Image Transformation with Non-Aligned Data".
(Better style regularization for the GAN, should improve stability and prevent mode collapse.)

[x] Explore ideas found in "Towards Faster and Stabilized GAN Training for High-fidelity Few-shot Image Synthesis".
(Faster training of GANs for quicker prototyping.)

[x] Explore ideas found in "Real-ESRGAN".
(On first view their methods are very similar to what is already used to train the Anime4K restore networks. Maybe they can be improved to train lightweight ESRGANs...)

[x] Explore ideas found in "Compressing GANs using Knowledge Distillation".
(Training a large GAN or using existing ESRGANs then pruning its size using knowledge distillation?)

[ ] Other ideas (feel free to propose any new idea below)

[x] Implement GANs for upscale shaders. (Should be better than previous shaders to be considered done.)
[x] Reduce aliasing and phantom textures in SRGAN.
[x] Reduce size and implement smaller variants for SRGAN. (If possible)
[ ] Investigate convergence issues for smaller SRGAN versions (M and L)

[ ] Fix #146
[ ] Investigate possible discriminator collapse

[x] Implement restore shaders for 720p/480p anime. (Probably using GANs)
[ ] Reduce size and implement smaller variants for RestoreGAN. (If possible)
[ ] Reduce oversharpening in RestoreGAN.
[ ] Reduce color shift in RestoreGAN. (undesired tonemapping?)
[ ] Implement global feature-wise transformations for RestoreGAN.

v4.2.x

[ ] Implement restore shaders for older pre-digital era anime. (Probably using GANs)
[ ] Investigate better feature-wise transformations/attention networks for anime restoration.
TBD

Other stuff (might take longer)

[ ] Cleanup and release full training code for restore shaders.
[ ] Cleanup and release full training code for GANs.
[ ] Update the wiki.

restore_GAN_UL will obviously change some color (restore_GAN_UUL would too but not so obvious)

watch the face and background.

This is one of many problems when using an adversarial loss. It's probably due to the discriminator not having seen some colors in the dataset. I will see if I can fix it before the release version.

Will there ever be an update again?

Yes, it's just that right now the implementation of many modern network architectures (eg. transformers, self-attention, etc.) require more advanced features that mpv currently does not support. They can be implemented by brute force in GLSL but it would be way too slow to be worthwhile. If you have a very high end CUDA-enabled GPU like the RTX 3090, there are many other upscalers that you can use that have better quality that Anime4K.
There's currently a big update for libplacebo on the way that promises many new features that Anime4K can leverage.

Yes, it's just that right now the implementation of many modern network architectures (eg. transformers, self-attention, etc.) require more advanced features that mpv currently does not support. They can be implemented by brute force in GLSL but it would be way too slow to be worthwhile. If you have a very high end CUDA-enabled GPU like the RTX 3090, there are many other upscalers that you can use that have better quality that Anime4K. There's currently a big update for libplacebo on the way that promises many new features that Anime4K can leverage.

Do you mind naming some? I do have an CUDA-enabled GPU, but every other upscaler I tested does not look as great as Anime4K.

I think this is what I remembered seeing one time, but I haven't had time to try it out... https://github.com/the-database/mpv-upscale-2x_animejanai

New features concerning v4 will be added here.
v4.0.x

[x]  Implement restore shaders for 1080p anime.

v4.1.x

[x]  General exploration on whether using GANs can improve real-time upscalers. (Yes they can...)

[x]  Stable training of GANs for real-time upscaling. (Successfully training a very small network using an adversarial utility function is hard.)

[ ]  Explore ideas found in "The Contextual Loss for Image Transformation with Non-Aligned Data".
(Better style regularization for the GAN, should improve stability and prevent mode collapse.)
[x]  Explore ideas found in "Towards Faster and Stabilized GAN Training for High-fidelity Few-shot Image Synthesis".
(Faster training of GANs for quicker prototyping.)
[x]  Explore ideas found in "Real-ESRGAN".
(On first view their methods are very similar to what is already used to train the Anime4K restore networks. Maybe they can be improved to train lightweight ESRGANs...)
[x]  Explore ideas found in "Compressing GANs using Knowledge Distillation".
(Training a large GAN or using existing ESRGANs then pruning its size using knowledge distillation?)
[ ]  Other ideas (feel free to propose any new idea below)

[x]  Implement GANs for upscale shaders. (Should be better than previous shaders to be considered done.)

[x]  Reduce aliasing and phantom textures in SRGAN.

[x]  Reduce size and implement smaller variants for SRGAN. (If possible)

[ ]  Investigate convergence issues for smaller SRGAN versions (M and L)

[ ]  Fix Anime4K_Upscale_GAN_x2_M seem to be producing some minor artifacts that are not present in the other GAN variants #146
[ ]  Investigate possible discriminator collapse

[x]  Implement restore shaders for 720p/480p anime. (Probably using GANs)

[ ]  Reduce size and implement smaller variants for RestoreGAN. (If possible)

[ ]  Reduce oversharpening in RestoreGAN.

[ ]  Reduce color shift in RestoreGAN. (undesired tonemapping?)

[ ]  Implement global feature-wise transformations for RestoreGAN.

v4.2.x

[ ]  Implement restore shaders for older pre-digital era anime. (Probably using GANs)
[ ]  Investigate better feature-wise transformations/attention networks for anime restoration.
TBD

Other stuff (might take longer)

[ ]  Cleanup and release full training code for restore shaders.
[ ]  Cleanup and release full training code for GANs.
[ ]  Update the wiki.

Hey loved your work on this so far. Will be using it a bit for my undergrad project. Wanted to know if there has been any progress on:

Cleanup and release full training code for restore shaders.
Cleanup and release full training code for GANs.

Yes, it's just that right now the implementation of many modern network architectures (eg. transformers, self-attention, etc.) require more advanced features that mpv currently does not support. They can be implemented by brute force in GLSL but it would be way too slow to be worthwhile. If you have a very high end CUDA-enabled GPU like the RTX 3090, there are many other upscalers that you can use that have better quality that Anime4K. There's currently a big update for libplacebo on the way that promises many new features that Anime4K can leverage.

Is the current libplacebo enough or still not?
Thanks a lot!

Thanks for the past work!
Now will GAN be updated to fix the off-color issue?


Updates to 'Adding an SBOM to an image as an attestation using Syft' …

…based on cosign v1.13.1 and syft 0.59.0 usage
I've found that cosign verify-attestation defaults to custom type; the only pairing of syft and cosign I've found works for me is to use SPDX JSON

Thanks @pipern - Would you also be able to update the branch with the DCO check?
https://github.com/anchore/syft/pull/1293/checks <--


Memory leak ?

Hello !
Testing the simple.c on linux with httpress (https://bitbucket.org/yarosla/httpress/wiki/Home) the memory consumption only grows on each run, also if we try to use 100 or more concurrent connections the server die.
httpress -t 2 -n 100000 -c 40 -k http://<IP_ADDRESS>:5000/

*** Error in `./simple': malloc(): smallbin double linked list corrupted: 0x094a5a40 ***
Aborted (core dumped)

Hi,
Sorry for delayed reply but I have been really busy recently. I suspect that the issue is caused by the fact that all responses are buffered into memory and at this moment there is no limit to the buffer. It should work as following:
void buffer_is_consumed(client * ptr) {
    while (!outgoing_buffer_is_full(client)) {
        write_response_to_client(client, data, sizeof(data));
    }
}

// buffer_is_consumed is a callback that is called for client whenever outgoing buffer has free space

This way we can keep the buffer memory limited (ie. 1MB default). Similiar to nodejs and their http server library and how their producer/consumer pattern works.
Regarding the memory corruption you mentioned might be related with buffering as well. Can you please run the simple app through "gdb" and post backtrace?
Thanks


Add functions for resolving 'best available' QoS policies

Connects to https://github.com/ros2/rmw/pull/320
Given a QoS profile and set of endpoints for the same topic, overwrite any policies set to
BEST_AVAILABLE with a policy such that it matches all endpoints while maintaining a high
level of service.
Add testable functions for updating BEST_AVAILABLE policies,

qos_profile_get_best_available_for_subscription
qos_profile_get_best_available_for_publisher

and add convenience functions that actual query the graph for RMW implementations to use,

qos_profile_get_best_available_for_topic_subscription
qos_profile_get_best_available_for_topic_publisher

PTAL at the latest addition to handle services: ed492d9


Rails get weird when x or y is really big

（Ignore the effect particle, not related to the issue）
Tracks just get messy, which I guess is caused by the precision of float/double.

Thanks, for bringing up this issue. I'll tell the creator about this. Though, We dont really recommend builds that are in extremely far areas, though there are servers with stations around the 100k mark;.

So I viewed the code and this may caused by common/src/main/java/mtr/render/RenderRouteBase.java, in which the methods include variables with float type. And in IEEE754 standard, float(32bit) contains 23 fraction bits, however, the position of the rails are 310^7. And log2(310^7)≈24.838>23, causing precision lost.
Possible solution: replace "float" with "double". This may need to rewrite the whole render system(including train renderer) and will be a big task.

This should be fixed in 4.0.0. Please reopen this bug if you still encounter this issue with 4.0.0, thanks!


@RefreshScope and @Scheduled

When I use the @RefreshScope annotation to dynamically refresh the internal private properties of the class, if the @scheduled annotation is used in this class or the SchedulingConfigurer interface is used to define the scheduled task, the scheduled task will be invalidated while the property is refreshed. The current guess is because of RefreshScope. Will generate a proxy class, affecting the thread pool required for the running of scheduled tasks, how should this problem be solved?

@anpu2018 here's how we workaround that: https://stackoverflow.com/questions/50440468/refreshscope-stops-scheduled-task/56397421#56397421

First of all, thank you for sharing, but in fact, this method only monitors the application environment and makes the timed task effective. @Scheduled annotation requires a separate thread pool, but this does not make the cron expression dynamically refresh, timing The task still runs in the old rules. ps: I only tried to use the @Scheduled annotation for the time being. I didn't try to implement the ScheduledConfigurer interface to create a scheduled task. I hope to communicate again, thank you.

@anpu2018 here's how we workaround that: https://stackoverflow.com/questions/50440468/refreshscope-stops-scheduled-task/56397421#56397421

First of all, thank you for sharing, but in fact, this method only monitors the application environment and makes the timed task effective. @Scheduled annotation requires a separate thread pool, but this does not make the cron expression dynamically refresh, timing The task still runs in the old rules. ps: I only tried to use the @Scheduled annotation for the time being. I didn't try to implement the ScheduledConfigurer interface to create a scheduled task. I hope to communicate again, thank you.

@anpu2018 here's how we workaround that: https://stackoverflow.com/questions/50440468/refreshscope-stops-scheduled-task/56397421#56397421

After my attempt again, using the method of implementing the SchedulingConfigurer interface to create a timed task, still can not achieve dynamic refresh of the cron expression, but the console does show refresh changes, so that your method can only guarantee that my timed task can Running, there is no guarantee that it will be refreshed

@anpu2018 See my answer https://stackoverflow.com/a/56523860/4161816

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

@anpu2018 See my answer https://stackoverflow.com/a/56523860/4161816

Thank you very much, I feel that the existing solutions are against the programming specifications, so I abandoned the springcloud package and directly use the configuration center to read. Most configuration centers support the polling method to update the configuration.

@anpu2018 See my answer https://stackoverflow.com/a/56523860/4161816

In my opinion, the practice of creating a scheduled task by implementing the SchedulingConfigurer interface is obsolete and brings maintenance complexity.

https://stackoverflow.com/q/50440468
@ryanjbaxter any change to get the issue fixed? The example in the initial post describes the biggest issues: @RefreshScope on a class that has @Scheduled will stop the tasks on refresh and don’t re-create.


Added helper to configure HTTP1 or H2 accordingly to the negotiated protocol

Motivation:
Applications might want to support H2 (when available) and HTTP1 (as a fallback).
The application logic should not change between the two versions of the protocol and the code to configure support for both the protocols is boilerplate and can be provided as an helper function.
Modifications:
This PR adds an helper function to configure HTTP1 or H2 pipelines according to the protocol negotiated by the TLS handler.
Result:
Applications that need to support clients using both HTTP1 and H2 can configure their channels by calling configureCommonHTTPServerPipeline, which should reduce the boilerplate they have to write.

@swift-nio-bot add to whitelist

Looks like there may be an optional promotion issue in 5.0? Try using case .some(.whatever)) instead.


Feature: add brew

I just want to report that it would be awesome if meli could be installed with brew
➔ brew search meli
==> Searching local taps...
timelimit
==> Searching taps on GitHub...
==> Searching blacklisted, migrated and deleted formulae...
➔

@glensc
I used to have that feature; https://github.com/komuw/meli/blob/02c7a12cc59a5e9ee23e321fc1209658e50ea373/.goreleaser.yml#L21-L34
But I had to remove it, since:

brew install meli would work
but brew update/upgrade meli wouldn't.

I'll have a look and see if I can re-enable it.


Add version: RemixDev.deemix-gui version 22.5.28-r206.a752a62e0e

- [X] Have you signed the Contributor License Agreement?

[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.1 schema?

Resolves #65107

Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-Domain


Test(web-twig): Introduce a minimal test layout to render Twig snapshots in browser

Closing in favour of #724 but leaving the branch as a resource for Twig development layout.


Try: Karma Fix

Context
Back around #9953 and #9952 karma started to disconnect super early - running around 3 to 0 tests but since the tests were just "skipped" they weren't showing up as errors. This allowed some updates to sneak past that carried with them things that needed to facilitate change that weren't caught.
I can't pin this issue on any one thing that was updated. I really do believe it was a combination of updates between blurhash, fonts, puppeteer, and chromium - that these just kinda all stacked up and break our config.
I think this fixes it for now. I'm including a list of other warnings and errors in these latest karma runs that we should figure out a solution for independently sooner rather than later. Max is also working on solutions for the memory limit issue here #10143 .
WIP PRs from the last week that have gotten us to this point:
https://github.com/google/web-stories-wp/pull/10103
https://github.com/google/web-stories-wp/pull/10073
https://github.com/google/web-stories-wp/pull/10120
https://github.com/google/web-stories-wp/pull/10102
https://github.com/google/web-stories-wp/pull/10132
Helpful threads:
https://github.com/karma-runner/karma-chrome-launcher/issues/154#issuecomment-712233562
https://bbs.archlinux.org/viewtopic.php?pid=1967969#p1967969
Summary
Restore Karma connection:
Chrome Headless 93.0.4577.0 (Linux x86_64): Executed 407 of 461 (skipped 54) SUCCESS (40 mins 23.278 secs / 40 mins 4.308 secs)
TOTAL: 407 SUCCESS

Relevant Technical Choices
Handful of fixes here.
The way fonts are getting retrieved changed and Karma was throwing a fit about the external links because they weren't listed in karma-story-editor.config.cjs. We've added fonts.googleapis.com to the list of files that are OK for karma to go grab (regex was Pascal's idea). We're still seeing some errors about not finding the font css inline but not nearly as much as before - this also fixes some of the issues I was seeing for text elements where nodes weren't getting found (combined with the updates made there for waiting). Reference: Karma Runner Docs
waitForInitialPage is now set to true by default in karma-puppeteer-launcher, this might not need to stick around depending on what @littlemilkstudio comes up with. For now, I found it doesn't hurt and anything we can do to make sure these tests know to hold up until things are loaded is helpful. This also defaults to true when it's not included.  I'll list this as a 'todo' to explore removing it here after we get unblocked. Seems like a silly reason to run everything again.
--force-gpu-mem-discardable-limit-mb is added to puppeteer's args for launch.  This sets the maximum GPU memory to use for discardable caches. ✨  this is part of the magic!!! This prevents disconnect timeouts!!! Reference: Chromium Command Line Switches
--disable-software-rasterizer - so the force gpu arg was enough to get remote headless working but when you run headless locally (which is important to maintain), it wasn't cutting it. This argument combined with the force gpu seems to be our winning combo. See this Stack Overflow Thread (credit to @BrookeGraham and @samwhale for this one)
Passing all the puppeteerOptions to puppeteer on launch. This just seemed consistent since the options all match up anyways and we want the args to end up in there on launch to get seen.
Adding elementId to loadStylesheet to prevent id=undefined which was making allllll of the roboto font styles stack up in the head since the browser's not actually refreshing for each set of tests.  Stylesheets were duplicated around 700 times if the tests all run.
Add 2 missing blurHash mocks for the media items in mediaFetching (again, thanks Brooke!)
Various test updates (mostly related to text nodes) to wait so that fonts have time to catch up.
To-do
Potential areas to look into to make our integration tests more robust:

overlapping act() calls  -- incomplete usage of async/await
- error inlining remote css - tried to fix this by adding regex pattern for google fonts to config file, but still getting this error sometimes.
Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'; ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory; ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings (feels related to checklist?)
Tests I disabled to give us a clean success:

should have a delay before autoplaying videos
should use "Esc" to exit the dialog
should correctly handle image dragged from library straight to edge (no cached base color)
should not show cards that require the `hasUploadMediaAction` permission

User-facing changes
None.
Testing Instructions
Verify that karma's working again and nothing new broke. A quick regression test on the user side would be good for sanity.

[x] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

Reviews
Does this PR have a security-related impact?

Does this PR change what data or activity we track or use?

Does this PR have a legal-related impact?

Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[x] I have verified accessibility to the best of my abilities (docs)
[x] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[x] This code is covered by automated tests (unit, integration, and/or e2e) to verify it works as intended (docs)
[x] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #10052

Converting to draft just so we don't unnecessarily run some things like creating Percy snapshots

thanks for the early eyes, @swissspidy !
something's still wrong though - it just silently failed and skipped everything 🤔
https://github.com/google/web-stories-wp/runs/4711058346?check_suite_focus=true#step:6:5419
i'll keep this draft open and try a few things narrowed down. I thought I'd see where this landed running it last night before heading to bed since it was working locally, thus the 0 context 🤪

@BrookeGraham @samwhale @littlemilkstudio  please add any notes or context that I missed from the last week that helped lead us here.

One thing to note is the silent failures or false positives we had been getting. When the test suite would disconnect, the second pass only retries test that have already ran and failed. This lead to many tests never being executed. Once the second pass finished we would get a green light, but in reality not every test was attempted. @littlemilkstudio has a pr #10143  up to remove the second pass on fail.

One thing to note is the silent failures or false positives we had been getting. When the test suite would disconnect, the second pass only retries test that have already ran and failed. This lead to many tests never being executed. Once the second pass finished we would get a green light, but in reality not every test was attempted. @littlemilkstudio has a pr #10143 up to remove the second pass on fail.

Great call out, an example of this would be: https://github.com/google/web-stories-wp/runs/4761414889?check_suite_focus=true#step:6:3953
I'll add to the criteria of what we were fixing.


docs[patch]: Update tool child run docs

Documents #24143

how to pass config to custom tool page lgtm! only nit is maybe worth very explicitly pointing out that param name doesn't matter

Done


When will the version 2.4.0 be available?

Question
we are planing to replace our gateway system by shenyu,and we find some functions which is compatible for our requirement in 2.4.0.I wanna know which branch is stable,so that we can use it.

Hi
We are releasing apache version 2.4.0.  You can use it for the next 2 weeks.

Hi
We are releasing apache version 2.4.0. You can use it for the next 2 weeks.
Glad to receive your reply。
And now I wanna know which branch is suitable for us to use for testing,master or 2.4.0-release?

@624217563 you can checkout to tag v2.4.0 and have a try.

@624217563 you can checkout to tag v2.4.0 and have a try.

Agree. This tag is expected to be identical with the new release. But please note that the new release is still not published officially.

@624217563 you can checkout to tag v2.4.0 and have a try.

Agree. This tag is expected to be identical with the new release. But please note that the new release is still not published officially.

I'll try it.Thank you.


OmniSharp.MSBuild.ProjectLoader "Could not write lines to file"

Environment data
.NET Command Line Tools (2.1.3)

Product Information:
 Version:            2.1.3
 Commit SHA-1 hash:  a0ca411ca5

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.13
 OS Platform: Darwin
 RID:         osx.10.12-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.1.3/

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.4
  Build    : 7f262f453d8c8479b9af91d34c013b3aa05bc1ff

VS Code version: 1.20.1
C# Extension version: 1.14.0
Steps to reproduce
Load project
Expected  behavior
OmniSharp start without a problem
Actual behavior
[fail]: OmniSharp.MSBuild.ProjectLoader
        Could not write lines to file "obj/Debug/netcoreapp2.0/MyProj.csproj.CoreCompileInputs.cache". Access to the path "/path/to/obj/Debug/netcoreapp2.0/MyProj.csproj.CoreCompileInputs.cache" is denied.
[warn]: OmniSharp.MSBuild.ProjectManager
        Failed to load project file '/path/to/MyProj.csproj'.

Notes
I have this problem upon opening my project every time. VS Code is updated, as is the C# extension. I had an older version of Mono installed, so I upgraded that as well to the latest stable <IP_ADDRESS>, but to no avail.

Hi. Could you provide your complete OmniSharp Log? Additionally, if you have a project that we can reproduce this issue with, that would be very helpful. FWIW, typically, I've only seen this issue reported on Windows using certain anti-virus software (BitDefender).

Here's the OmniSharp log. I can't give you the project as it is proprietary.
Starting OmniSharp server at 2018-3-19 08:03:44
    Target: /dev/projects/SJVWeb/SJVWeb.sln

OmniSharp server started wth Mono
    Path: /Users/robertmiles3/.vscode/extensions/ms-vscode.csharp-1.14.0/.omnisharp/omnisharp/OmniSharp.exe
    PID: 3661

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on MacOS 10.13.3 (x64)
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 2 MSBuild instance(s)
            1: Mono 15.0 - "/Library/Frameworks/Mono.framework/Versions/5.10.0/lib/mono/msbuild/15.0/bin"
            2: StandAlone 15.0 - "/Users/robertmiles3/.vscode/extensions/ms-vscode.csharp-1.14.0/.omnisharp/omnisharp/msbuild/15.0/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: Mono 15.0 - "/Library/Frameworks/Mono.framework/Versions/5.10.0/lib/mono/msbuild/15.0/bin"
            CscToolPath = /Users/robertmiles3/.vscode/extensions/ms-vscode.csharp-1.14.0/.omnisharp/omnisharp/msbuild/15.0/Bin/Roslyn
            CscToolExe = csc.exe
[info]: OmniSharp.Cake.CakeProjectSystem
        Detecting Cake files in '/dev/projects/SJVWeb'.
[info]: OmniSharp.Cake.CakeProjectSystem
        Could not find any Cake files
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Initializing in /dev/projects/SJVWeb
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Auto package restore: False
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Update workspace context
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Resolving projects references
[info]: OmniSharp.MSBuild.ProjectSystem
        Detecting projects in '/dev/projects/SJVWeb/SJVWeb.sln'.
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/dev/projects/SJVWeb/SJVWeb.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/dev/projects/SJVWeb/Common/Common.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/dev/projects/SJVWeb/Reporting/Reporting.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in '/dev/projects/SJVWeb'.
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.Stdio.Host
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /dev/projects/SJVWeb/SJVWeb.csproj
[info]: OmniSharp.Stdio.Host
        Configuration finished.
[info]: OmniSharp.Stdio.Host
        Omnisharp server running using Stdio at location '/dev/projects/SJVWeb' on host 3637.
[fail]: OmniSharp.MSBuild.ProjectLoader
        Could not write lines to file "obj/Debug/netcoreapp2.0/SJVWeb.csproj.CoreCompileInputs.cache". Access to the path "/dev/projects/SJVWeb/obj/Debug/netcoreapp2.0/SJVWeb.csproj.CoreCompileInputs.cache" is denied.
[warn]: OmniSharp.MSBuild.ProjectManager
        Failed to load project file '/dev/projects/SJVWeb/SJVWeb.csproj'.
/dev/projects/SJVWeb/SJVWeb.csproj

I figured this out, so I'm closing it.
For reference, I had previously wanted a named applicationUrl in my launchSettings.json during development as opposed to a localhost with port. To do that, you then have to always sudo while doing a dotnet watch run. However, that then creates the bin and obj folders with sudo permissions and omnisharp couldn't write to them.

Oh wow! Good sleuthing @robertmiles3!


[WIP] Add keep alive configuration

Support keep-alive option as an advanced configuration.
this option is supported by other tools such as JMeter, Gatling.

:heavy_exclamation_mark: Please consider merging after https://github.com/naver/ngrinder/pull/749

Move to #775


Update Get-NavContainerAppRuntimePackage.ps1

App Name can contain unwanted file name characters

I think there are a lot of places where this is an issue. Why wouldn't you just add the appfile parameter yourself?

I could, just wanted to contribute...  Your call

This is the only place I have found that gives me an error with my AppSource App.  Would appreciate if this can be merged.  Can't see that this will cause any problems.

Ok


[type:feat] support alert notice

support alert notice design:

shenyu admin provider a alarm report api /alert/report to receiver alarm content from gateway pulgin
gateway send alert message when them alert trigger
shenyu dashboard support manage alert receiver name , alert type(email, dingding, wechat ...)

TODO:

[ ] shenyu admin backend unit test and more
[ ] a shenyu gateway plugin trigger and send alert to admin
[ ] relate shenyu dashboard component ui
[ ] doc and test

Make sure that:

[x] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

relate shenyu dashboard pr https://github.com/apache/shenyu-dashboard/pull/333


Will not run on a new ThinkPad L13 Yoga

Let me know if there's something I can do to help, I'd love to be able to use it.

I'm in the same boat, looking for some software that stops my backlit keyboard from turning off the LEDSs after ive reopened the lid.
I'm on an L13 gen 2 here.


form ContactAdminForm needs updating (RemovedInDjango18Warning)

C:\Python27\lib\site-packages\cmsplugin_contact-1.1.1-py2.7.egg\cmsplugin_contact\admin.py:15: RemovedInDjango18Warning: Creating a ModelForm without either the 'fields' attribute or th
e 'exclude' attribute is deprecated - form ContactAdminForm needs updating
class ContactAdminForm(ModelForm):

This repo is inactive. No one is responding to issues

No, it's still active, just don't have the time right now. If you post a pull request it will be merged though.


Spark Issue + Could not initialize class org.apache.spark.sql.execution.datasources.parquet.ParquetSchemaConverter

Hi All,
I would need guidance on this please. I upgraded spark to 2.3 from 2.1 and by doing that I am not able to write data to hadoop (I get the below error). I have found that version of the Parquet jar files is 1.8.2, i have also tried with v1.10.0 but no luck
Caused by: java.lang.NoSuchMethodError: org.apache.parquet.column.ParquetProperties.(ILorg/apache/parquet/column/ParquetProperties$WriterVersion;
I also get the below error.
java.lang.NoClassDefFoundError: Could not initialize class org.apache.spark.sql.execution.datasources.parquet.ParquetSchemaConverter$

Hello @mokumar1202, thank you for submitting this issue!
Yes, we have had a lot of trouble with conflicting Parquet (& Avro) dependencies in Spark over the years, I see you already found issue #1742
Which Spark version are you using (2.3.4 is the most recent 2.3.x)?
Which ADAM version are you using?  Git head builds against Parquet 1.10.1; we're blocked from upgrading to Parquet 1.11.x (see #2245)

Yes, i was on version 2.1 and it was all well. I am an administrator and having to do this upgrade so the user community in my organisation can benefit from the new methods/functions in spark 2.3.0
Welcome to
____              __
/ /  ___ / /
\ / _ / _ `/ __/  '/
// .__/_,// //_\   version 2.3.0
//
Using Scala version 2.11.8 (OpenJDK 64-Bit Server VM, Java 1.8.0_232)
Type in expressions to have them evaluated.
Type :help for more information.

Also i should have said it before, I am not using ADAM shell. I am testing the spark query from RStudio so just a bash shell. Have i raised this issue in the wrong place?

Thank you for the clarification!  Does the Spark query in RStudio use ADAM as a dependency?
If not, then you might want to try the Apache Spark user mailing list.  There are a lot of helpful folks on there.  See https://spark.apache.org/community.html

No it does not use ADAM. I will reach out to the Apache Spark community.

Ah, ok, thank you.  Hope that helps!

I have found a solution, Parquet jar files of version 1.8.3 fixed it and i am able to write data to hadoop. Thought i will post here, if it helps someone else.


IOException instead of Throwable in EventListener API

@adriancole I took call.enqueue and Callback as my guide after @swankjesse suggested it
public interface Callback {
  /**
   * Called when the request could not be executed due to cancellation, a connectivity problem or
   * timeout. Because networks can fail during an exchange, it is possible that the remote server
   * accepted the request before the failure.
   */
  void onFailure(Call call, IOException e);

I tried testing it by making my EventListener throw a NPE and it actually just broke and I never received onFailure :( . I was hoping it was going to return a IOException that wrapped the NPE.

Consider this for discussion, a bullet in the chamber if you will.

If there's only one bullet in the chamber, well done I'd say! ;)
On 27 Aug 2017 13:45, "Yuri Schimke"<EMAIL_ADDRESS>wrote:

Consider this for discussion, a bullet in the chamber if you will.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/square/okhttp/pull/3543#issuecomment-325178531, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD615BUUo5EIuBZwyZusNytvJpqFS-Xks5scQJqgaJpZM4PDowW
.


Hide course dropdown when switched away from classes page

fixes ENG-1066
This fix is applied to AI leauge and PD page

Summary by CodeRabbit

New Features

Enhanced data fetching on component initialization for improved user experience in the AI League and Professional Development views.
Dynamic page title management based on the current component for better context.

Bug Fixes

Improved lifecycle management to ensure actions are triggered correctly based on routing conditions.

The bug also happens to the APCSP page, which is now fixed


Rework custom_dsl_fn

Describe the bug
The custom_dsl_fn feature should be reworked since other parts of the repo make assumptions on the keypaths (e.g. Mapper cleanup, enforcing strict, etc.)

Can make this more abstract -- e.g. defining a keypath function that maps to a "regular" index, though at that point it might be a bit moot
Can also skip the None check for custom DSLs

Additional context
Opened from #15

Going to remove this for now to avoid potential confusion! Make this a full-fledged feature


Impute missing lat, lon coordinates

There are records in the MSHA mines and EIA plants data that are missing latitude and longitude coordinates. Currently, these records are being excluded. Instead, try to impute the Census tract and county from the other locational data given for these records.

We're (IMHO) overly aggressively dropping lat/lon values in the main PUDL ETL right now, and should make this fix as far upstream as possible.  IIRC, right now we're basically treating the floating point values as strings and declaring them inconsistent if the digits aren't identical, which is not good.
Ideally we would use the haversine distance between all the different (lon,lat) points to estimate an "actual" location and identify any totally crazy outliers (and assign to them the actual location).  Probably rectilinear coordinates are good enough though and much simpler, since all the points should be very close to each other, and if they're not very close, it'll be obvious in either spherical or euclidean coords.
We could also convert (lon, lat) into a geopoint / tuple stored in a single column.


Add support for removing the user's current avatar (reverting to gravatar)

Currently, there's no way to remove your avatar and revert back to the default gravatar.  We should add support for doing so.
We can do this by first converting this entry in zproect/legacy_urls.py:
url(r'^json/set_avatar$',                zerver.views.user_settings.json_set_avatar),
to a REST style API endpoint PUT /users/me/avatar, and then add a corresponding DELETE endpoint to remove it.

can i try this?

Can't find the corresponding function for DELETE. Do I create a new function to add to DELETE? What I have so far.

Yes you need a new function to do that.

@540KJ @tommyip @trueskawka I am putting a note here to indicate that we may have had multiple people working on this PR by accident.  Please coordinate on chat to avoid duplicating effort.

Yeah we should probably use the Assignees feature on Github to prevent this problem.

The Assignees feature on GitHub unfortunately doesn't really work -- you have to have full write access to the repo to be able to claim an issue with it.
I suppose we could try writing a GitHub bot that would allow folks to e.g. @assignmentbot claim and have that result in the bot, using the GitHub API with admin rights, add that user to the project and then assign the issue to that user.  But it'd be a nontrivial project.


Configure ArangoDB component to use the Quarkus managed Vertx instance

Describe the feature here
Depends on https://issues.apache.org/jira/browse/CAMEL-20901.

Fixed by 80700382a4123ecd8c1ab4baf1b280fc51508563.


chore(deps): update terraform-module

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/secrets-manager-secret-group/ibm (source)
module
minor
1.1.4 -> 1.2.1

terraform-ibm-modules/secrets-manager/ibm (source)
module
minor
1.3.1 -> 1.13.4

Release Notes

terraform-ibm-modules/terraform-ibm-secrets-manager-secret-group (terraform-ibm-modules/secrets-manager-secret-group/ibm)
v1.2.1
Compare Source
Bug Fixes

updated required ibm provider version to >= 1.51.0, <2.0.0 (#161) (106d975)

v1.2.0
Compare Source
Features

added new endpoint_type variable to allow you to choose what endpoint to use when communicating with Secrets Manager (#147) (a74b03f)

terraform-ibm-modules/terraform-ibm-secrets-manager (terraform-ibm-modules/secrets-manager/ibm)
v1.13.4
Compare Source
Bug Fixes

add support_details to the DA (#133) (3900f04)

v1.13.3
Compare Source
Bug Fixes

deps: update terraform-module (#64) (44b1dfe)

v1.13.2
Compare Source
Bug Fixes

deps: update terraform-module (#115) (90b868b)

v1.13.1
Compare Source
Bug Fixes

updated DA variable description (#124) (53f6cdd)

v1.13.0
Compare Source
Features

updated DA variable allowed_network to default to 'private-only' added new DA input variable existing_secrets_endpoint_type (#123) (a6b1c9e)

v1.12.4
Compare Source
Bug Fixes

add validation for resource group in a case existing SM CRN is not set (#113) (95afb00)

v1.12.3
Compare Source
Bug Fixes

update the DA reference architecture diagram (#111) (647b18a)

v1.12.2
Compare Source
Bug Fixes

fix kms reference error when sm crn is set (#112) (e83d417)

v1.12.1
Compare Source
Bug Fixes

do not create kms key if existing SM instance is passed (#110) (6b4d74f)

v1.12.0
Compare Source
Features

add support to use existing Secrets Manager instance in the DA solution (#109) (1bfd5e1)

v1.11.0
Compare Source
Features

updated the DA to support configuring the private and public cert engines (#90) (c7a53c8)

v1.10.0
Compare Source
Features

DA updates:- existing_resource_group has been renamed to use_existing_resource_group- kms_region input has been removed, its not porgrammtically determined- existing_kms_guid has been renamed to existing_kms_instance_crn and now required CRN value to be passed (#101) (ab617f2)

v1.9.0
Compare Source
Features

The following variables have been renamed in the DA solution:- existing_sm_kms_key_crn -> existing_secrets_manager_kms_key_crn- existing_en_instance_crn -> existing_event_notification_instance_crn- skip_en_iam_authorization_policy -> skip_event_notification_iam_authorization_policy (#105) (52fbdd3)

v1.8.0
Compare Source
Features

added the ability to optionally add a prefix to all resources created by the DA using the new prefix input variable (#99) (23c2542)

v1.7.0
Compare Source
Features

The following DA variables have been renamed:

sm_key_name -> kms_key_name
sm_key_ring_name -> kms_key_ring_name

(#93) (4593f02)
v1.6.0
Compare Source
Features

Add support to DA to provision IAM engine (#89) (9db51ed)

v1.5.0
Compare Source
Updates

The service_endpoints variable has been renamed to allowed_network and now only accepts the following values: private-only or public-and-private (#69) (1f9ff19)

v1.4.1
Compare Source
Bug Fixes

deps: bump kms-all-inclusive and IBM provider (#91) (3141151)

v1.4.0
Compare Source
Features

added new output secrets_manager_region (#88) (2a13066)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

:tada: This PR is included in version 1.2.6 :tada:
The release is available on:

GitHub release
v1.2.6

Your semantic-release bot :package::rocket:


GitLab Support

Hey @stefanbuck, I was just thinking I'd like to give this a try, but I'm wondering if you have any feedback on which parts of the code would need to be extended to support it (and of course, if it's something you'd be interested in merging). So far, I've thought of:

blob-reader
github-injection
relativeFile resolver
rubyFile resolver
javascriptFile resolver

Here's an example of viewing a Gemfile on the two sites:

Github: https://github.com/gitlabhq/gitlabhq/blob/49edb2e0f9edf0f717aae78a246efdd23ea08724/Gemfile
Gitlab: https://gitlab.com/gitlab-org/gitlab-ce/blob/49edb2e0f9edf0f717aae78a246efdd23ea08724/Gemfile

Do you think there is a big demand for this? Until now, no one requested GitLab support. If anyone is interested in adding GitLab support, please let us know.
Anyway, in order to add GitLab support we have to touch parts which is also required to support GitHub enterprise #75. Maybe we should start with that first see https://github.com/OctoLinker/browser-extension/issues/75#issuecomment-219690960.

Bitbucket support also useful - let me know if you prefer a separate ticket.

Just discovered this extension, but at the same time that it is not supporting GitLab, so yes, definitely interested ! :)

I hope we can customize the configuration.

Another request for Gitlab support! Specifically, my own private instance, not just gitlab.com.

FYI: somewhat popular JS author with a repo that I see around on occasion: https://gitlab.com/Rich-Harris/buble

Hi, what's the status of this?

Hi @nafg, I haven't done any more work on this. If you or anyone else would be interested in picking it up, I'd be happy to provide pointers.

I'm all ears :).
On Tue, Feb 28, 2017, 8:52 AM Joseph Frazier<EMAIL_ADDRESS>wrote:

Hi @nafg https://github.com/nafg, I haven't done any more work on this.
If you or anyone else would be interested in picking it up, I'd be happy to
provide pointers.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OctoLinker/browser-extension/issues/113#issuecomment-283044321,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGAUE6eupP63v8GhWfYfLtxweajKS3uks5rhCa3gaJpZM4JBrkb
.

Awesome, here's a (from memory) list of tasks to be done, ordered from easiest to hardest:

[ ] Change this line to just read the current domain, instead of hard-coding github.com
[ ] Get the changes in this pull request merged in. It will probably be easiest to make a pull request of your own, incorporating the changes from the other one, and then adding tests and bitbucket support as noted in the comments.
[ ] Extend the blob-reader to also support gitlab.com pages

After that, I think it will just be a matter of updating the browser extension metadata to have it run on gitlab.com urls as well as github.com, but that should be trivial. Feel free to ask any other questions you have.

One more thing, the additional permission for gitlab.com should be declared as a optional permission https://developer.chrome.com/extensions/permissions. I'm happy to help you with this.

@josephfrazier Hi, thanks for the great work, any schedule for this?

@int64ago, I don't have time available to work on this at the moment. If you'd like to help out, refer to the task list above. I can offer advice or answer questions to support you along the way!


Update npm release?

Hi,
can you publish the current version to npm, please?
I tried installing ng2-handsontable directly from GitHub but can't make it work in our angular-cli based application (mostly because the transpiled javascript files are missing when installing directly from GitHub). So I think an updated release would help a lot.

not really, we stuck with handsontable dependencies so it is not working properly :(

NPM version is up-to-date now and works with<EMAIL_ADDRESS>


CheckIfArrayElementsAreConsecutive.java

This answer will fail if the array has negative integers.
https://github.com/mission-peace/interview/blob/master/src/com/interview/array/CheckIfArrayElementsAreConsecutive.java#L19
int input[] = {-1,-2,-3,-4};

The solution assumes that the input array is positive. The assumption has been mentioned in the geeksforgeeks link.

Please assign this task to me ill do it.


Updated: keeweb 1.15.4

${}

586e57c6-3ae0-4e56-9003-94ce86fde041

Newer version of keeweb (1.15.5) is now available in master. a7aadcc3667958a873df367a5490a8f8c363d753


Certification

Suggestion for gaining a CodeRefinery certification and calling a workshop a CodeRefinery WS:
You have taken part in a train the instructor event,
You have to assisted in one 3-day workshop.
You have to teach 2 different lessons as part of one or several workshops (to strict?).
When you have become certified, you are a one-star coderefinery instructor.
To become a 2-star instructor, you need to teach at two external workshops (external to your institution), to become a 3-star, you need to teach at 4 external workshops. Okay, no more than three stars :grinning_face_with_smiling_eyes
CodeRefinery material is free to reuse, but you cannot call it a CodeRefinery Workshop unless, the there is at least two(too strict?) certified instructors.

Instead of the stars we could also list all instructors and next to the photo/avatar we could indicate a) how many workshops taught, b) how many different lessons taught?

Maybe. My intention is to promote the exchange of instructors -
establishing the network. I see your suggesting as more listing the
experience, but that is maybe only my interpretation?

I am unsure whether I like the idea of "ranks" or in other words whether the idea of "ranks" would rather attract or repel. And I (mis?)-interpreted your suggestion as listing of experience. But what I really want to achieve is promote the exchange of instructors and establishing the network also :-)

Right. I didn't see the rank perspective. How can we show (and kind of promote) that someone are a good networker?

The latest version seems to be this: https://coderefinery.github.io/instructor-training/07-future/#certification-for-coderefinery-instructors
I guess we should link to it from the website.

Our model now is to rather teach with us instead of running own workshop and the barrier to co-teach is now even lower and we can do that also without certification.
But we should document what we require if a group wants to run their own events.