Issue with pairing QBKG39LM

Hello,
Home Assistant 2021.11.2
Gateway: ZNDMWG03LM Fw: 1.5.0_0102
I've reached a dead end here.
After performing an update of Xiaomi Gateway module in HA, I was kindly asked to update my firmware to the best supported version(zb stopped working) .
So I've updated my lumi gateway to the 1.5.0_0102, gateway is set to sg region if that matters.
But after I did this, I can't pair my Aqara E1 switch QBKG39LM
Pairing results in three beeps, the device is being added (my old entities for it are active) for a second or two, then the device is being removed again...
This is how it looks like in the logs
2021-11-23 22:12:47  DEBUG    gateway3      <IP_ADDRESS> | 332643664 lumi.gateway.mgl03 <= {'added_device': {'did': 'lumi.54ef44100017eeb8', 'mac': '54ef44100017eeb8', 'model': 'lumi.switch.b2lc04', 'version': '0.0.0_0020', 'zb_ver': '3.0', 'joined_type': 1}} [?]
2021-11-23 22:12:47  DEBUG    gateway3      <IP_ADDRESS> | Setup zigbee device {'did': 'lumi.54ef44100017eeb8', 'mac': '0x54ef44100017eeb8', 'model': 'lumi.switch.b2lc04', 'version': '0.0.0_0020', 'zb_ver': '3.0', 'joined_type': 1, 'type': 'zigbee', 'init': {'added_device': {...}}, 'nwk': '0xffff', 'fw_ver': 0, 'online': True}
2021-11-23 22:12:47  DEBUG    gateway3      <IP_ADDRESS> | 332643664 lumi.gateway.mgl03 <= {'device_model': 'lumi.switch.b2lc04'} [0.04]
2021-11-23 22:12:47  DEBUG    gateway3      <IP_ADDRESS> | lumi.54ef44100017eeb8 lumi.switch.b2lc04 <= {'8.0.2086': '00000000191821a2'} [0.0]
2021-11-23 22:12:48  DEBUG    gateway3      <IP_ADDRESS> | 332643664 lumi.gateway.mgl03 <= {'8.0.2104': {'model': 'lumi.switch.b2lc04', 'pdid': 71637, 'template_id': ''}} [0.01]
2021-11-23 22:12:48  DEBUG    gateway3      <IP_ADDRESS> | lumi.54ef44100017eeb8 lumi.switch.b2lc04 <= {'channel 2': False} [0.0]
2021-11-23 22:12:48  DEBUG    gateway3      <IP_ADDRESS> | lumi.54ef44100017eeb8 lumi.switch.b2lc04 <= {'8.0.2087': '8006FEA38B20014D6978040A54A05043'} [0.0]
2021-11-23 22:12:48  DEBUG    gateway3      <IP_ADDRESS> | 332643664 lumi.gateway.mgl03 <= {'pairing_start': 0} [0.0]
2021-11-23 22:12:48  DEBUG    gateway3      <IP_ADDRESS> | lumi.54ef44100017eeb8 lumi.switch.b2lc04 <= {'8.0.2088': 'a8ac21ef9d7ab0e6536026f774ba0a0a'} [0.05]
2021-11-23 22:12:49  DEBUG    gateway3      <IP_ADDRESS> | 332643664 lumi.gateway.mgl03 <= {'removed_did': 'lumi.54ef44100017eeb8'} [0.01]

I tried to manually pair with the remote.send_command but without success.
What else can I do here?
Edit found more logs (but got them just once)
Processing MQTT: zigbee/send b'{"cmd":"report","id":2000000207,"did":"lumi.54ef44100017eeb8","dev_src":"0","time":1637712400355,"rssi":-48,"mi_spec":[{"siid":8,"eiid":1,"arguments":[]}]}'
Processing MQTT: zigbee/send b'{"cmd":"report","id":2000000217,"did":"lumi.54ef44100017eeb8","dev_src":"0","time":1637712429415,"rssi":-47,"mi_spec":[{"siid":8,"eiid":1,"arguments":[]}]}'
Traceback (most recent call last):
File "/config/custom_components/xiaomi_gateway3/core/gateway3.py", line 620, in on_message
await self.process_zigbee_message(msg.json)
File "/config/custom_components/xiaomi_gateway3/core/gateway3.py", line 1063, in process_zigbee_message
for entity in device['entities'].values():
RuntimeError: dictionary changed size during iteration

What version of component ?

I've updated it to the newest possible through the auto-updater => 1.6.2

I have this switch and it works.
Are you adding a switch via component or via MiHome ?

MiHome doesn't support it afaik. before the firmware update I used component to pair the device.
I still have unavailable entities in the configuration. When I click pair, the device gets paired for about 3 seconds, I can even issue a click and gateway removes the device.

Maybe problem in the region.
What region is the gateway connected to?
MiHome mod for android by vevs supports.
https://www.kapiba.ru/2017/11/mi-home.html

I'm on sg at the moment. Yep Im using vevs version of MiHome.
Should I change the region?

try cn region

Okay, changing to CN helped. Didn't know I cannot pair the device in another region. I thought pairing through component should work regardless of the selected region.


How do you run this hack

Dude, the readme is basically blank, and there are no instructions on how to use this

compile it

its easy download source -> compile it > run ez

its easy download source -> compile it > run ez

how do u do it , please give instructions

bro use visual studio code 2019 and just compile it
Watch a tutorial on sln files


[BUG] Ambiguous title and bibliographic reference?

parkghost_times_1804.xml and stjamesparkghost_times_1804 are unique records with unique content and @xml:id values, but they appear to have identical <title> values under <titleStmt> and identical <bibl> values under <sourceDesc>, and they were published on the same day. How should they be distinguished when rendered in a list of articles?

Revisit 'All the World' articles which are showing identically in search now.

Fixed by adding incipit tooltip (using @title)


Add ios >= 7 to autoprefixer

Fixes https://github.com/zurb/foundation-sites/issues/9290 and brings the build config for the css distribution up to par with what we're now including in the template.

I think this change should also be included with the customizer.  We got bit assuming it ios > -7 was in the customizer.  Want me to add and create a pull request?


fix off-by-one error check

Consuming the first message isn't possible due to an off-by-one error in an
input check.

could you elaborate on why you need this fix?
i'm not quite following because 'acked' offsets should be 'real' offsets, which is zero based.

ah, sorry, missed the pr description.
i think in this case, you need to provide [{begin_offset, earliest}] as consumer config in start_consumer call

not an issue.
the right way to consume from earliest offset is not by faking a committed offset, (e.g. -2 for earliest), but to provide a default beging_offset in consumer config.


Note: T032 not available under Windows

At the moment, T032 is not available under Windows due to a problem with the ClustalO command line call (CalledProcessError). If fixed, we can add T032 back to the CI.
_ teachopencadd\talktorials\T032_compound_activity_proteochemometrics\talktorial.ipynb::Cell 13 _
[gw0] win32 -- Python 3.8.15 C:\Miniconda\envs\teachopencadd\python.exe
Notebook cell execution failed
Cell 13: Cell execution caused an exception

Input:
%%bash -s "$MY_EMAIL"
# ClustalO service requires an email address
# If email was set, run ClustalO service, else use pre-calculated alignments
if [ $1 != "None" ]; then
    echo "Email (MY_EMAIL) was set to "$1
    # Query ClustalO webservice from command line
    python scripts/clustalo.py --email $1 --stype protein --sequence data/sequences.fasta --outfmt fa --outdir data --outfile aligned_sequences --order input --pollFreq 20
else
    echo "Email (MY_EMAIL) was not set; use pre-calculated alignments."
fi

Traceback:

---------------------------------------------------------------------------
CalledProcessError                        Traceback (most recent call last)
Cell In[14], line 1
----> 1 get_ipython().run_cell_magic('bash','-s "$MY_EMAIL"','# ClustalO service requires an email address\n# If email was set, run ClustalO service, else use pre-calculated alignments\nif [ $1 != "None" ]; then\n    echo "Email (MY_EMAIL) was set to "$1\n    # Query ClustalO webservice from command line\n    python scripts/clustalo.py --email $1 --stype protein --sequence data/sequences.fasta --outfmt fa --outdir data --outfile aligned_sequences --order input --pollFreq 20\nelse\n    echo "Email (MY_EMAIL) was not set; use pre-calculated alignments."\nfi\n')

File C:\Miniconda\envs\teachopencadd\lib\site-packages\IPython\core\interactiveshell.py:2417, in InteractiveShell.run_cell_magic(self, magic_name, line, cell)
   2415 with self.builtin_trap:
   2416     args = (magic_arg_s, cell)
-> 2417     result = fn(*args,**kwargs)
   2418 return result

File C:\Miniconda\envs\teachopencadd\lib\site-packages\IPython\core\magics\script.py:153, in ScriptMagics._make_script_magic.<locals>.named_script_magic(line, cell)
    151 else:
    152     line = script
--> 153 return self.shebang(line,cell)

File C:\Miniconda\envs\teachopencadd\lib\site-packages\IPython\core\magics\script.py:305, in ScriptMagics.shebang(self, line, cell)
    300 if args.raise_error and p.returncode != 0:
    301     # If we get here and p.returncode is still None, we must have
    302     # killed it but not yet seen its return code. We don't wait for it,
    303     # in case it's stuck in uninterruptible sleep. -9 = SIGKILL
    304     rc = p.returncode or -9
--> 305     raise CalledProcessError(rc, cell)

CalledProcessError: Command 'b'# ClustalO service requires an email address\n# If email was set, run ClustalO service, else use pre-calculated alignments\nif [ $1 != "None" ]; then\n    echo "Email (MY_EMAIL) was set to "$1\n    # Query ClustalO webservice from command line\n    python scripts/clustalo.py --email $1 --stype protein --sequence data/sequences.fasta --outfmt fa --outdir data --outfile aligned_sequences --order input --pollFreq 20\nelse\n    echo "Email (MY_EMAIL) was not set; use pre-calculated alignments."\nfi\n'' returned non-zero exit status 1.

@AndreaVolkamer can you investigate under Windows?


Transcript page retrieval: discrepancy between page retrieved and page requested

Transcript page retrieval: discrepancy between page retrieved and page requested -- this is working properly on legacy site:

This is the problem that isn't happening for Frank on Mac/Chrome but is happening for Paul on Windows and Mac (Chrome and Firefox)


'File' object has no attribute 'getNode'

I'm getting this error when executing "log.write_snapshot(policy,i)" in line 393 of policyopt.nn.py (while running the main method in imitate_mj.py). Anyone know how to deal with this issue?

Ok so it turns out that the solution is to replace 'file.getNode' with 'file.get_node' (see daviddao's pull request). Hopefully this note is useful for people who have (or will) run into this same issue.


update Cohere example notebook

Problem
notebook was using out of date API
Solution

updated code to use new API
added Connect widget

Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Infrastructure change (CI configs, etc)
[x] Non-code change (docs, etc)
[x] None of the above: updates Colab code but not code that affects things outside of the notebook

Test Plan
tested in Colab

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1207540646643183

Associated integration page has been updated


Encrypt secret xattrs

Any xattr prefixed with "secret.$GATEWAY" must be encrypted by $GATEWAY's public key.  For example, if a UG wants to add an xattr called "bar" that a particular RG called "foo" can read, then it should call the attribute "secret.foo.bar".  Then, gateway "foo" can decrypt the secret and read it.  Syndicate Gateways should do so transparently.

Let's just worry about verifying authenticity for the release.


Selection merging doesn't behave as expected sometimes

It seems that selection merging gives different results based on how a selection was made exactly. Here are two scenarios which give different results, even though the selections involved are the same.
First, I double click to select a word, then cmd-click-draw to create another selection and merge it with the first one:

Notice that the selection which survives the merging is the one I created first.
Second, I click-draw to select a word, then cmd-click-draw to create another selection and merge it with the first one:

Notice that the selection which survives the merging is the one I created second.
In the first case, I expected that the selection which I was currently dragging would survive the merging (as in the second case).
cc @benogle and @nathansobo (who was recently looking at how merging works)

Just wanted to mention that I can still reproduce this, but the first case happens when you double-click a word and then start selecting towards that word from the right, not from the left (which was the behavior before).


Deployment succeeds but workflow reports failure

I have a static website am trying to deploy using GitHub actions. I've copied the workflow provided https://github.com/marketplace/actions/zeit-now-deployment.
Despite the deployment being successful, GitHub displays annotations errors:

Edit
I have a deadline to complete this project. Hence I'll need to remove the zeit deploy workflow and switch to deployment via Zeit GitHub integration. Here's the deployment GitHub Action for reference:
name: Deploy static website

on: [push]

jobs:
  deploy:

    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v1
      - uses: amondnet/now-deployment@v1
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          zeit-token: ${{ secrets.ZEIT_TOKEN }}
          zeit-team-id: team_XXXXXXXXXXX
          now-args: '--prod'

@brandiqa
team_XXXXXXXXXXX is example value. This is optional if not your deployment is made on team project.

If it doesn't work after editing, please let me know.


Feature Request: Autocrop

My kindle papwerwhite doesn't have a very big or high resolution screen. Many mangas have white borders. If there was some way to automatically crop white or black borders, the images could be a bit bigger. I think that would help quite a lot.

This seems like an interesting idea, but potentially hard to implement well. Could you maybe send me a few links for manga titles that have these borders, so I can better understand what you mean?

You don't have to look very far, just click a few random links on the landing page:
https://mangadex.org/title/304ceac3-8cdb-4fe7-acf7-2b6ff7a60613
https://mangadex.org/title/aa6c76f7-5f5f-46b6-a800-911145f81b9b
https://mangadex.org/title/70fe972b-3c88-4165-b9a5-3db96d6d2c14
https://mangadex.org/title/a96676e5-8ae2-425e-b549-7f15dd34a6d8 <- This one has borders on all four sides most of the time, sometimes those are a gray pattern.
I'm not expecting any miracles, so just walking through all the pixels from each side and cropping every line that has only the same color as the border should be good enough. You could also just use ImageMagick: http://www.imagemagick.org/script/command-line-options.php#trim

Just for reference, this is the code used in the Kindle Comic Converter.
https://github.com/ciromattia/kcc/blob/4ec4c9966c727d6dac44507d34607bd7d2c5ed5c/kindlecomicconverter/image.py#L302-L334
https://github.com/python-pillow/Pillow/blob/95cff6e959bb3c37848158ed2145d49d49806a31/src/libImaging/GetBBox.c#L33
For doing convolution filters in Go (gaussian filter, etc), this library can be useful: https://github.com/disintegration/imaging/blob/master/convolution.go

Autocrop support has been merged quite some time ago so I think this issue can be closed.


First Japanese l10n work for release-1.14

First Japanese l10n work for release-1.14.

Change List

Translate tasks/run-application/run-single-instance-stateful-application/ in Japanese (#13668)
Translate concepts/workloads/pods/pod/ in Japanese (#13671)
Translate tasks/access-application-cluster/service-access-application-cluster/ in Japanese (#13701)
[ja] Fix translation of 'Persistent Volumes' (#13848)
Translated cron-jobs.md in Japanese (#13937)
Translate /docs/concepts/_index.md into Japanese (#13944)
Copy includes directory (#14020)
 Translate /concepts/overview/working-with-objects/kubernetes-objects/ into Japanese (#14025)
Translate concepts/overview/working-with-objects/names.md into Japanese (#14066)
Translate concepts/overview/components.md into Japanese (#14067)
Translate docs/home/_index.md into Japanese (#14074)
ja-trans: concepts/containers/container-environment-variables/ (#14116)
ja-trans: Translate tasks/debug-application-cluster/get-shell-running… (#14146)
Translate overview/working-with-objects/namespaces.md in Japanese (#14045) (#14161)
ja-trans: concepts/containers/container-lifecycle-hooks/ (#14169)
Translate overview/working-with-objects/labels.md in Japanese (#14183) (#14319)
ja-trans: tasks/configure-pod-container/attach-handler-lifecycle-event/ (#14328)
Translate concepts/overview/kubernetes-api.md into Japanese (#14343)
Translate concepts/overview/working-with-objects/annotations/ in Japanese (#13382) (#14396)
Translate overview/working-with-objects/common-labels/ in Japanese (#14397) (#14403)
ja-trans: tasks/debug-application-cluster/debug-init-containers/ (#14488)
Translate concepts/workloads/pods/pod-overview/ in Japanese (#14426) (#14494)
Translate overview/working-with-objects/field-selectors.md in Japanese (#14350) (#14535)
Translate concepts/workloads/pods/init-containers.md in Japanese (#14543) (#14576)
Translate concepts/workloads/pods/podpreset/ in Japanese (#14544) (#14581)
Translate concepts/workloads/controllers/replicaset/ in Japanese (#14634) (#14641)
Translate concepts/containers/runtime-class/ in Japanese (#14670) (#14673)
Translate concepts/workloads/controllers/statefulset/ in Japanese #14679 (#14696)
Translate concepts/workloads/controllers/garbage-collection/ in Japanese (#14718)  (#14720)
Translate concepts/workloads/controllers/ttlafterfinished/ in Japanese #14734 (#14735)
Translate concepts/workloads/controllers/daemonset/ in Japanese #14761 (#14767)
Translate concepts/services-networking/dns-pod-service/ in Japanese #14777 (#14805)
Translate concepts/storage/volume-snapshot-classes/ in Japanese (#14846) (#14849)
Translate concepts/storage/dynamic-provisioning/ in Japanese #14847 (#14916)
ja-trans: tasks/debug-application-cluster/determine-reason-pod-failure/ (#14939)
ja-trans: tasks/run-application/run-stateless-application-deployment/ (#14955)
ja-trans: tasks/debug-application-cluster/debug-stateful-set/ (#15282)
ja-trans: tasks/run-application/scale-stateful-set/ (#15289)
ja-trans: tasks/run-application/delete-stateful-set/ (#15293)
Translate tasks/run-application/run-replicated-stateful-application/ in Japanese (#15368)
ja-trans: includes/default-storage-class-prereqs.md (#15376)
translate contribute/_index.md to japanese. (#15406)

Co-authored-by: @sotoiwa
Co-authored-by: @oke-py
Co-authored-by: @silverskyvicto
Co-authored-by: @progrhyme
Co-authored-by: @skikkh
Co-authored-by: @kakts
Co-authored-by: @hasebe
Co-authored-by: @yukinagae
Co-authored-by: @SatoruItaya

/lgtm

/assign @nasa9084

/approve


FutureWarning: from_items is deprecated

I'm getting this warning when using holoviews and geoviews from conda-forge:
/opt/conda/lib/python3.6/site-packages/holoviews/core/data/pandas.py:130: FutureWarning: from_items is deprecated. Please use DataFrame.from_dict(dict(items), ...) instead. DataFrame.from_dict(OrderedDict(items)) may be used to preserve the key order.
  zip(columns, data)])

Thanks, this was fixed in https://github.com/ioam/holoviews/commit/8aafda99a27a3cba9c11b849ed60bcd6ed38e321, which was included in the HoloViews 1.10.5 release. As far as I can tell that is already available on conda-forge.


Manifest test failure reasons due to test infra failures

modify https://github.com/istio/pilot/blob/master/test/integration/driver.go to clearly delineate if a test died because the test fails or if the test died because of infrastructure setup / teardown.

How can we tell? If a component fails with panic/segfault, it's indistinguishable from failing from infrastructure failure.

I would treat if best efforts.

Issue moved to istio/istio #1366 via ZenHub


RNG-168: LXM family of random number generators

Add support for generators included in JDK 17:
L64X128StarStar
L64X128Mix
L64X256Mix
L64X1024Mix
L128X128Mix
L128X256Mix
L128X1024Mix
Added benchmark for support routines for computing the unsigned long
multiplications in the 128-bit LCG (linear congruential generator).
Added a benchmark for the jump function to allow comparison with the
equivalent base XBG (xor-based generator).

The current code requires some further refactoring before merge.


DCBorderedTextView Remove Done Button

How to remove annoying done button above the keyboard?

There is a property called showToolbar. It's true by default. Just set it to false.
Another easy way is to change the property with using the attributes inspector. Switch Show Toolbar from Default to Off.

Thank you! That helped. Did not even noticed that functionality


control-service: modify the GraphQL data fetcher

Modify the GraphQL data fetcher to allow filtering and sorting
by last execution status, time, and duration.
To request the new properties, use the following query in the API call:
query jobsQuery($filter: [Predicate], $search: String, $pageNumber: Int, $pageSize: Int) {
  jobs(
    pageNumber: $pageNumber
    pageSize: $pageSize
    filter: $filter
    search: $search
  ) {
    content {
      jobName
      config {
        team
        description
        sourceUrl
        schedule {
          scheduleCron
          nextRunEpochSeconds
          __typename
        }
        contacts {
          notifiedOnJobFailureUserError
          notifiedOnJobFailurePlatformError
          notifiedOnJobSuccess
          notifiedOnJobDeploy
          __typename
        }
        __typename
      }
      deployments {
        id
        enabled
        lastExecutionStatus
        lastExecutionTime
        lastExecutionDuration
        __typename
      }
      __typename
    }
    totalPages
    totalItems
    __typename
  }
}

To filter and or sort by the new properties, use the following variables as an example:
{"pageNumber":1,"pageSize":25,"filter":[{"property":"deployments.lastExecution.time","pattern":null,"sort":"DESC"}],"search":""}

Testing done: new integration tests
Signed-off-by: Tsvetomir Palashki<EMAIL_ADDRESS>

I think we need unit tests.


Getting WebserviceException & KubernetesDeploymentFailed error message with status code 400" + "Error in entry script, ImportError: cannot import name 'Markup' from 'jinja2'" while trying to deploy my model to a AKS cluster.

Creating an issue
"Getting WebserviceException & KubernetesDeploymentFailed error message with status code 400, while trying to deploy my model to an AKS cluster."
I have been trying to execute my CD pipeline in Azure DevOps, but every time the deployment is failing in either AKS or ACI.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/d365community/forum/79b1327d-d925-ec11-b6e6-000d3a4f06a4.

Since it is a Duplicate of https://github.com/MicrosoftDocs/azure-docs/issues/91587, we will close this issue and discuss on the other Github issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


write the checksums before we create the release!

[merge]

Aha nice!

:) - just looking to reuse your autoupdate code in minishift and noticed it checks for these.


Change text color of work experience section to make it more readable in dark mode.

I can work on this issue under LGM-SOC.

Check #803
Closed: Duplicate.
@Amrutha1101 do comment there. If the assigned participant is unable to complete it within the deadline, you can take over

I would like to work on this issue under LGM-SOC


Common locking infrastructure

Worth noting here that idx.c code isn't touched here.

Corrected copyright headers and indentation.

Codecov Report

Merging #11 into master will decrease coverage by 1.21%.
The diff coverage is 56.6%.

@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
- Coverage   66.43%   65.21%   -1.22%
==========================================
  Files          12       13       +1
  Lines        1144     1147       +3
==========================================
- Hits          760      748      -12
- Misses        384      399      +15

Impacted Files
Coverage Δ

lib/locks.c
40% <40%> (ø)

lib/tls-gnutls.c
67.87% <88.88%> (-1.03%)
:arrow_down:

lib/tls-openssl.c
77.58% <88.88%> (-0.31%)
:arrow_down:

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 139f829...f43949d. Read the comment docs.


Duplicate scenario names?

Is there a way to ensure that a user can't enter a scenario run name that they've previously used? I'm starting to think about ways that people might break things, and while we could tell the difference between them using the time stamp, it would likely cause confusion for the user (and maybe the code?) if they had two runs named the same thing.

@BHagedorn-IDM
currently it is not allowed to have duplicate names because the storage location will collide

Let me know if this is ok for your concern


Introducing Action Button for Dropdown

This PR would make it possible to

add one or multiple "action buttons" within the dropdown list
perform an async request for this action (e.g. create new item)
use beforeInsert() as callback to get information which item has been selected
use showDenotationChar (default true) to switch off rendering or the denotation char if needed

Nothing should change for how quill-mention works at the moment. my changes "should" not break anything already working.
I have extended the demo with an example:

See also https://github.com/afconsult/quill-mention/issues/54

@MadSpindel  Hi, do you have a demo working example of this?


Add metadata to the cube

Adding the metadata the DOI should be straightforward, see https://api.datacite.org/dois/application/vnd.datacite.datacite+json/10.15468/dl.4bzxua for a predicate download example and https://schema.datacite.org/meta/kernel-4.4/ for the schema.  I'm not sure where a machine-readable set of parameters would go in there.
Spec: https://docs.gbif-uat.org/b-cubed/1.0/en/#metadata

I assume there is no dedicated field in the datacite schema for the parameters, so we can put the in description as GBIF already does for downloads:
"descriptions": [
{
"lang": "eng",
"description": "A dataset containing 44 species occurrences available in GBIF matching the query: { \"and\" : [ \"Geometry POLYGON((111.45376 19.11269,132.42993 19.11269,132.42993 27.50829,111.45376 27.50829,111.45376 19.11269))\", \"HasCoordinate is true\", \"HasGeospatialIssue is false\", \"OccurrenceStatus is Present\", \"TaxonKey is Struthiopteris hancockii (Hance) Tagawa\" ] } The dataset includes 44 records from 4 constituent datasets: 39 records from iNaturalist Research-grade Observations. 2 records from Herbarium of Taiwan Forestry Research Institute. 1 records from Database of Native Plants in Taiwan. 2 records from Dataset from Herbarium of Endemic Species Research Institute, Taiwan (TAIE). Data from some individual datasets included in this download may be licensed under less restrictive terms.",
"descriptionType": "Abstract"
}

I would suggest to just put it in a separate description, so it is not mixed with "abstract". The available options for descriptionType (which is mandatory) are:
Abstract
Methods
SeriesInformation
TableOfContents
TechnicalInfo
Other
TechnicalInfo or Methods seem like the most likely candidates?

I've implemented this so far: https://github.com/gbif/registry/blob/dev/registry-doi/src/test/resources/metadata/metadata-sql-download.xml
DataCite XML/JSON is machine-readable, but it's not possible to put arbitrary machine-readable data within that metadata. DataCite recommend we link out to it using a relatedIdentifier with type URL and relation HasMetadata.
I plan to add Frictionless Table Schema or STAC metadata within the generated cube (for GBIF downloads — like the GBIF DWC downloads have an EML metadata.xml).  There should also be a way to generate that metadata when using the cube software elsewhere, not on GBIF.org.

but it's not possible to put arbitrary machine-readable data within that metadata

Not even in TechnicalInfo, cf. how the predicates are currently stored in abstract?

DataCite recommend we link out ...

But that would then mean we would have to host the metadata somewhere indefinitely?

I plan to add Frictionless Table Schema within the cube.

Sounds good to define the fields in the cube, but not the SQL query/API parameters that was used to generate the cube. That info could be placed at the Data Package level (which would also contain the Table Schema). We can even create our own fields for it.
This is how such a datapackage.json could look like:
{
  "id": "doi of the cube",
  "cubeSettings": {
    "sql": "SELECT * FROM ...",
    "otherProperty": "any other steps we want to document"
  },
  "resources": [
    {
      "name": "occurrence-cube",
      "schema": "Table schema listing the fields, their type and definition"
    },
    {
      "name": "taxa",
      "schema": "Table schema listing the fields, their type and definition"
    }
  ]
}

The content for the Description fields is just "Free text" so I could put JSON in there; I just don't think that sort of thing is the intention of DataCite.  You'd need to retrieve .descriptions[x].description, decode it, then parse that.


Controller sends full email

I'm using A0LockViewController but I have a problem authenticating with Active Directory connection. If I understand it correctly, using email with matching domain should just use the local part as a username.
let controller = lock.newLockViewController()
controller.usesEmail = false
controller.defaultADUsernameFromEmailPrefix = true
I tried experimenting with the values but it still sends the full email.
Any idea to solve this? Thanks.

@malbarando is this still an issue?


Make from_slice() const?

Version of tinytga in use (if applicable): 0.5.0

Description of the problem/feature request/other
I'm experimenting with embedded-graphics on a very restricted system with only 40 kB available RAM, and while it does work with primitives like circles, fonts etc., using tinytga, the size grows up to 80 kB bytes or so while loading a 2 kB file. I therefore wonder if fn from_slice() could be made const so that image processing is done at compile-time? I realise that this could be an elaborate task due to the limitations of constant expressions.

I don't think that will be possible, but I also don't think that this is your problem. I'm pretty sure I've successfully used tinytga on a microcontroller with 8 kB of RAM in the past.
Can you provide a bit more information about the system, like what architecture/controller you are working with? Or can you even make the code that you use to draw the image and an example image available?

Thanks for the quick reply. It could be that it's the rust compiler that does something unexpected. The target is a a Commodore 64 8-bit computer using llvm-mos/rust-mos. I'll shortly push the display driver to a crate with instructions how to run this (which involves Docker due to the special toolchain).

Now that's an interesting project, I'm happy to help with that. I had never expected to use any Rust code I've written to run on my C64, but I'll definitely try it when we get this working.

Sounds great - here's preview of what I have so far ;-)
https://github.com/embedded-graphics/tinytga/assets/3248398/07f29486-9954-4d07-ada0-2f316ab70aa8

The retro-display display driver is out: https://crates.io/crates/retro-display

This is great, and 2K is not bad at all. Yes, I started looking into conversion from RGB by calculating the color difference and realised that this can be done in many ways. There are crates available, but I didn't continue investigating.


chore: update TLS certificates

Signed-off-by: Guilhem Barthes<EMAIL_ADDRESS>Description
Update the TLS certificates used by local deployment
How has this been tested?
The CI that should works now 🤞
Checklist

[x] changelog was updated with notable changes
[ ] documentation was updated

/e2e

End to end tests: :hourglass_flowing_sand: STARTING


Add async style guide from creator of SignalR

Style guide - https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md
Quality guidance with examples of bad and good patterns of how to write asynchronous code.

@quozd could you please check? Can't fully understand why pipeline failed.


Hex literals: specify long for 32-bit 2.3 compatibility

In Python 2.3, hex literals larger than sys.maxint would overflow and
return negative numbers; specifying them as longs ensures they're
evaluated as the expected value.

I encountered this on a 32-bit PowerPC CPU with Python 2.3; the unit tests failed previously, but work with this patch.

Thank you @mistydemeo!


Make level field optional

Nested set requires only left and right values, others must be optional.
Here is a list of functions using level field:

fetchTree
getDescendants
getParent (really no profit of using level here)
getAncestors

Second this! Great package!


npm start gets dependency failure. Flexbox with rxjs

I'm submitting a...

[x ] Bug report
[ ] Feature request
[ ] Documentation issue or request

Current behavior

ERROR in node_modules/@angular/flex-layout/core/typings/observable-media/observable-media.d.ts(11,14): error TS2416: Property 'subscribe' in type 'ObservableMedia' is not assignable to the same property in base type 'Subscribable'.
Type '(next?: (value: MediaChange) => void, error?: (error: any) => void, complete?: () => void) => Sub...' is not assignable to type '{ (observer?: PartialObserver): Unsubscribable; (next?: (value: MediaChange) => void...'.
Types of parameters 'next' and 'observer' are incompatible.
Type 'PartialObserver' is not assignable to type '(value: MediaChange) => void'.
Type 'NextObserver' is not assignable to type '(value: MediaChange) => void'.
Type 'NextObserver' provides no match for the signature '(value: MediaChange): void'.
Expected behavior

Success
Minimal reproduction of the problem with instructions

Tried up the following instructions as specied in ngx-rocket.
This happened when trying to "npm start".
Among my search, there is some conflicts between the flexlayout and rxjs. I have 6.30 version of rxjs right now
Environment
- generator version: 2.0.0
- node version: 9.10.0  <!-- run `node --version` -->
- npm version: 6.1.0  <!-- run `npm --version` -->
- OS:  Mac<!-- Mac, Linux, Windows -->

Others:

Hi, some days ago i got a similar error after updating FlexLayoutModule to @latest

And googling i find the solution, and was updating de typescript version from 2.7.2 to 2.9.2

Hope this helps! 👍

See https://github.com/angular/flex-layout/issues/827
To fix the issue:

Update TypeScript to ~2.9.2 as @akires47 said
Update @angular/flex-layout to ^6.0.0-beta.18
Update rxjs to ^6.3.2

And you should be good.
It should have been resolved anyway with the latest 5.1.0 generator version, so I'm closing this issue.


time

Add AM after time for arc day 2

See https://github.com/Tsukihimates/Tsukihime-Translation/pull/1399


[SeaTunnel #804] [patch] Improve the pull_request template

Purpose of this pull request
We should have a unified pull request name form, like SeaTunnel #xxx, it will be useful for us when we want to read the issue.
Add vcs.xml will help us jump to issues directly id Intellij IDEA.

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] Change does not need document change, or I will submit document change to https://github.com/InterestingLab/seatunnel-docs later

cc @CalvinKirs, seems the Dead Link Checker is unstable sometime.
FILE: ./seatunnel-dist/docker/README.md

  2 links checked.

FILE: ./README_zh_CN.md

  [✖] https://www.qutoutiao.net/

  19 links checked.
  ERROR: 1 dead links found!
  [✖] https://www.qutoutiao.net/ → Status: 0
Error: Process completed with exit code 1.

cc @CalvinKirs, seems the Dead Link Checker is unstable sometime.
FILE: ./seatunnel-dist/docker/README.md

  2 links checked.

FILE: ./README_zh_CN.md

  [✖] https://www.qutoutiao.net/

  19 links checked.
  ERROR: 1 dead links found!
  [✖] https://www.qutoutiao.net/ → Status: 0
Error: Process completed with exit code 1.

thanks for helping check the root cause.

The name form we can discuss, like [SeaTunnel #xxx] or [SeaTunnel-804] in slack chat.

don't submit these files

.idea/.gitignore, good catch, it's my mistake.
.idea/vcs.xml this file is the keypoint that help us jump to issuse directly, and it will not cause any problem, refer to
https://github.com/apache/flink/tree/master/.idea

don't submit these files

hi @CalvinKirs, thanks for your review.
.idea/.gitignore, good catch, it's my mistake.
.idea/vcs.xml this file is the keypoint that help us jump to issuse directly, and it will not cause any problem, refer to https://github.com/apache/flink/tree/master/.idea

Thx,got it 👍


Documentation example doesn't work

I am using caddy 0.8.2 with all features enabled.
Here is my simple test config:
localhost:80
root /tmp/hugo
hugo

Here is the output of caddy:
/tmp: caddy -conf /tmp/caddy.conf
Activating privacy features... done.
Usage:
  hugo new site [path] [flags]

Flags:
  -f, --format="toml": config & frontmatter format

Global Flags:
  -b, --baseURL="": hostname (and path) to the root, e.g. http://spf13.com/
  -D, --buildDrafts[=false]: include content marked as draft
  -F, --buildFuture[=false]: include content with publishdate in the future
      --cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
      --config="": config file (default is path/config.yaml|json|toml)
  -d, --destination="": filesystem path to write files to
      --disableRSS[=false]: Do not build RSS files
      --disableSitemap[=false]: Do not build Sitemap file
      --editor="": edit new content with this editor, if provided
      --ignoreCache[=false]: Ignores the cache directory for reading but still writes to it
      --log[=false]: Enable Logging
      --logFile="": Log File path (if set, logging enabled automatically)
      --pluralizeListTitles[=true]: Pluralize titles in lists using inflect
      --preserveTaxonomyNames[=false]: Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
  -s, --source="": filesystem path to read files relative from
      --stepAnalysis[=false]: display memory and timing of different steps of the program
  -t, --theme="": theme to use (located in /themes/THEMENAME/)
      --uglyURLs[=false]: if true, use /filename.html instead of /filename/
  -v, --verbose[=false]: verbose output
      --verboseLog[=false]: verbose logging

Error: unknown flag: --force
CRITICAL: 2016/03/05 unknown flag: --force
panic: exit status 255

goroutine 1 [running]:
panic(0xb02140, 0xc82014cef0)
	/usr/local/go/src/runtime/panic.go:464 +0x3e6
log.Panic(0xc8201014f0, 0x1, 0x1)
	/usr/local/go/src/log/log.go:320 +0xc1
github.com/hacdias/caddy-hugo.Setup(0xc820086800, 0xc8201ce070, 0x0, 0x0)
	/home/caddy/go/src/github.com/hacdias/caddy-hugo/hugo.go:50 +0x3ff
github.com/mholt/caddy/caddy.loadConfigs(0x7ffc161e152b, 0xa, 0x7f773429a4e0, 0xc8200f7d10, 0x0, 0x0, 0x0, 0x0, 0x0)
	/tmp/custombuild_1212_768707807/src/github.com/mholt/caddy/caddy/config.go:166 +0xa15
github.com/mholt/caddy/caddy.Start(0x7f773429abc8, 0xc8200f7ce0, 0x0, 0x0)
	/tmp/custombuild_1212_768707807/src/github.com/mholt/caddy/caddy/caddy.go:140 +0x2aa
main.main()
	/tmp/custombuild_1212_768707807/src/github.com/mholt/caddy/main.go:103 +0x61f

Hey @klingtnet
What's the version of Hugo that's installed on your computer?

Hi @hacdias
Hugo was downloaded: /home/MYUSERNAME/.go/bin/hugo.
I've changed the paths in my config file like you proposed to do, but the problem is still the same.
/tmp: caddy -conf /tmp/caddy.conf
Activating privacy features... done.
Usage:
  hugo new site [path] [flags]

Flags:
  -f, --format="toml": config & frontmatter format

Global Flags:
  -b, --baseURL="": hostname (and path) to the root, e.g. http://spf13.com/
  -D, --buildDrafts[=false]: include content marked as draft
  -F, --buildFuture[=false]: include content with publishdate in the future
      --cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
      --config="": config file (default is path/config.yaml|json|toml)
  -d, --destination="": filesystem path to write files to
      --disableRSS[=false]: Do not build RSS files
      --disableSitemap[=false]: Do not build Sitemap file
      --editor="": edit new content with this editor, if provided
      --ignoreCache[=false]: Ignores the cache directory for reading but still writes to it
      --log[=false]: Enable Logging
      --logFile="": Log File path (if set, logging enabled automatically)
      --pluralizeListTitles[=true]: Pluralize titles in lists using inflect
      --preserveTaxonomyNames[=false]: Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
  -s, --source="": filesystem path to read files relative from
      --stepAnalysis[=false]: display memory and timing of different steps of the program
  -t, --theme="": theme to use (located in /themes/THEMENAME/)
      --uglyURLs[=false]: if true, use /filename.html instead of /filename/
  -v, --verbose[=false]: verbose output
      --verboseLog[=false]: verbose logging

Error: unknown flag: --force
CRITICAL: 2016/03/05 unknown flag: --force
panic: exit status 255

goroutine 1 [running]:
panic(0xb02140, 0xc820150d70)
	/usr/local/go/src/runtime/panic.go:464 +0x3e6
log.Panic(0xc8201014f0, 0x1, 0x1)
	/usr/local/go/src/log/log.go:320 +0xc1
github.com/hacdias/caddy-hugo.Setup(0xc820088680, 0xc8200f7f30, 0x0, 0x0)
	/home/caddy/go/src/github.com/hacdias/caddy-hugo/hugo.go:50 +0x3ff
github.com/mholt/caddy/caddy.loadConfigs(0x7ffd056d452b, 0xa, 0x7f10fe2d64e0, 0xc8200f7d10, 0x0, 0x0, 0x0, 0x0, 0x0)
	/tmp/custombuild_1212_768707807/src/github.com/mholt/caddy/caddy/config.go:166 +0xa15
github.com/mholt/caddy/caddy.Start(0x7f10fe2d6bc8, 0xc8200f7ce0, 0x0, 0x0)
	/tmp/custombuild_1212_768707807/src/github.com/mholt/caddy/caddy/caddy.go:140 +0x2aa
main.main()
	/tmp/custombuild_1212_768707807/src/github.com/mholt/caddy/main.go:103 +0x61f

hugo version
Hugo Static Site Generator v0.15-DEV BuildDate: 2015-09-22T16:36:41+02:00

Running hugo help:
 /tmp: hugo --version
Usage:
  hugo [flags]
  hugo [command]

Available Commands:
  server          Hugo runs its own webserver to render the files
  version         Print the version number of Hugo
  config          Print the site configuration
  check           Check content in the source directory
  benchmark       Benchmark hugo by building a site a number of times.
  convert         Convert your content to different formats
  new             Create new content for your site
  list            Listing out various types of content
  undraft         Undraft changes the content's draft status from 'True' to 'False'
  genautocomplete Generate shell autocompletion script for Hugo
  gendoc          Generate Markdown documentation for the Hugo CLI.

Flags:
  -b, --baseURL="": hostname (and path) to the root, e.g. http://spf13.com/
  -D, --buildDrafts[=false]: include content marked as draft
  -F, --buildFuture[=false]: include content with publishdate in the future
      --cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
      --config="": config file (default is path/config.yaml|json|toml)
  -d, --destination="": filesystem path to write files to
      --disableRSS[=false]: Do not build RSS files
      --disableSitemap[=false]: Do not build Sitemap file
      --editor="": edit new content with this editor, if provided
      --ignoreCache[=false]: Ignores the cache directory for reading but still writes to it
      --log[=false]: Enable Logging
      --logFile="": Log File path (if set, logging enabled automatically)
      --noTimes[=false]: Don't sync modification time of files
      --pluralizeListTitles[=true]: Pluralize titles in lists using inflect
      --preserveTaxonomyNames[=false]: Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
  -s, --source="": filesystem path to read files relative from
      --stepAnalysis[=false]: display memory and timing of different steps of the program
  -t, --theme="": theme to use (located in /themes/THEMENAME/)
      --uglyURLs[=false]: if true, use /filename.html instead of /filename/
  -v, --verbose[=false]: verbose output
      --verboseLog[=false]: verbose logging
  -w, --watch[=false]: watch filesystem for changes and recreate as needed

Use "hugo [command] --help" for more information about a command.

Error: unknown flag: --version
CRITICAL: 2016/03/05 unknown flag: --version

I'm suppose that you're downloading hugo with go get -d on the first run of caddy-hugo?
The version from there seems to be fairly old.

The version from there seems to be fairly old.

What? From where?

As you can see here, the plugin checks if Hugo is in the Path. If so, it will return its path and use that version of Hugo. If it doesn't, he will check if it's on $HOME/.caddy/bin. If it doesn't, it will be downloaded from GitHub releases (the same that are available at gohugo.io) to that location and return the path of the executable.

Remove everything from $HOME/.caddy/bin and remove all the Hugo executables you have on your computer.
The error you are receiving doesn't make any sense because the command that is being executed is hugo new site /tmp/hugo --force. Unless you have a very old version on your computer that doesn't support --force flag, I can't understand what's going on.

@hacdias
You're right, I had installed hugo sometime ago. I removed all previous hugo installation (to be clear, it was only one :smile: ) but the automatic installation of hugo fails:
/tmp: caddy -conf /tmp/caddy.conf
Activating privacy features... done.
Unable to find Hugo on your computer.
Downloading Hugo from GitHub releases... downloaded.
Checking SHA256...checked!
Unziping... open /tmp/caddy-hugo127013417: is a directory

/tmp: ll caddy-hugo127013417
total 4,4M
-rwxrwxr-- 1 MYUSERNAME users 4,4M  5. Mär 15:43 hugo_0.15_linux_amd64.tar.gz

Hey @klingtnet
Download Caddy + Caddy-hugo from this link, please: https://dl.bintray.com/hacdias/generic/caddy-hugo/1457123545/ . The version on caddyserver.com has that bug. I'm waiting for @mholt to update it whenever he can.
The link I'm sending you only has caddy-hugo plugin. It's automatically built everytime this repository is updated. I fixed that yesterday, so the executables in that link should work.

The tarball is broken:
/tmp: curl -Lsf 'https://dl.bintray.com/hacdias/generic/caddy-hugo/1457123545/:caddy_linux_amd64.tar.gz' | tar -C ~/bin -xvzf - -- hugo

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Why those double dots? The link should be https://dl.bintray.com/hacdias/generic/caddy-hugo/1457123545/caddy_linux_amd64.tar.gz and not https://dl.bintray.com/hacdias/generic/caddy-hugo/1457123545/:caddy_linux_amd64.tar.gz.

I copied the link directly from the site.

The fixed link works:
/tmp: curl -Lsf 'https://dl.bintray.com/hacdias/generic/caddy-hugo/1457123545/caddy_linux_amd64.tar.gz' | tar -C ~/bin -xvzf - -- caddy
caddy

Be patient, I will try to run this caddy version.

O.o I see. Don't know why they use the colon on download page.
Sure :)

Running from tmp won't work because you're trying to create a hard link that crosses device boundaries:
/tmp: caddy -conf /tmp/caddy.conf
Activating privacy features... done.
Unable to find Hugo on your computer.
Downloading Hugo from GitHub releases... downloaded.
Checking SHA256...checked!
Unziping... done.
rename /tmp/caddy-hugo156319884/hugo_0.15_linux_amd64/hugo_0.15_linux_amd64 /home/MYUSERNAME/.caddy/bin/hugo: invalid cross-device link

Running from a different from folder (inside my userhome) won't work as well, because you're downloading to /tmp which is usually a tmpfs.
~/tmp/caddy-hugo: caddy -conf ./caddy.conf
Activating privacy features... done.
Unable to find Hugo on your computer.
Downloading Hugo from GitHub releases... downloaded.
Checking SHA256...checked!
Unziping... done.
rename /tmp/caddy-hugo000115982/hugo_0.15_linux_amd64/hugo_0.15_linux_amd64 /home/MYUSERNAME/.caddy/bin/hugo: invalid cross-device link

Proposed solution: Copy the binary and remove the /tmp directory.

Thanks. I'll change that here. :)

You're welcome. Can't wait to try out the hugo admin panel because this is basically what I wanted to develop by myself before I discovered caddy.

After this build is finished, the new binaries will be available on the same link as the others.
I hope you enjoy the admin interface! And help building it, if you want to =D

I've a lot of other work to do at the moment, but I will try to contribute when I got some spare time.

Already available! :D

Yeah, I already noticed :+1:
You forget to set the executable of ~/.caddy/bin/hugo after downloading it. After setting the flag, everything works fine!
Installation steps (for anyone else):
curl -Lsf 'https://dl.bintray.com/hacdias/generic/caddy-hugo/1457193456/caddy_linux_amd64.tar.gz' | tar -C ~/bin -xvzf - -- caddy
caddy -conf ./caddy.conf
chmod +x ~/.caddy/bin/hugo
caddy -conf ./caddy.conf

You forget to set the executable of ~/.caddy/bin/hugo after downloading it. After setting the flag, everything works fine!

I'm not unedrstanding. Forget what? The chmod stuff?

Yeah, correctly.

Oh... I'll add that :D Thanks. I think I can close the issue.

Ok, thanks for your work!


Incorrect number returned by getBadgeCount()

Our iOS app receives push notification with a badge payload, which would change the badge count on the app without going through our app code. However, when calling getBadgeCount() after opening the app, the returned number is still 0. At the same time, calling setBadgeCount(0) also won't clear the badge on the app.
This is not reproducible when the notification is received while the app is in foreground, in which case the badge count would be incremented by us, instead of the system code.
It seems like the system badge count is out of sync with the "internal notifee badge count". Has anyone else run into similar problems?

bump

bump

bump


[fix] Fixed template exception if social account app not enabled #218

Fixed 500 internal server error in /accounts/login/ if
allauth.socialaccount is not in INSTALLED_APPS.
Closes #218

Coverage remained the same at 98.391% when pulling bbeffb3d4467ca096de1eae42015c3572eb49751 on issues/218-fix-accounts-login-socialaccount into e3577f03a0c381e1ab53ace751dd902d3498647d on master.

Coverage remained the same at 98.391% when pulling bbeffb3d4467ca096de1eae42015c3572eb49751 on issues/218-fix-accounts-login-socialaccount into e3577f03a0c381e1ab53ace751dd902d3498647d on master.


Deploy Formio to openshift

Deploy the form builder of formio to the openshift environment

Deployed it by forking the formio repo and making changes to the docker file.


[WEBSITE] Use Old Palomachain.com Website Home page as new link https://palomachain.com/lightnode

CHORE:

Recover the old Paloma HomePage for the Nodesale into its own URL: https://palomachain.com/lightnode
Replace "Purchase your LightNode" URL with https://palomachain.com/lightnode

Shipped.


Drain emission tuples on same block that they are created.

Tuples are created here:
https://github.com/opentensor/subtensor/blob/b310e93d32ddb90c428d357648b6ed4314f226e4/pallets/subtensor/src/block_step.rs#L172
Drained the next block here:
https://github.com/opentensor/subtensor/blob/b310e93d32ddb90c428d357648b6ed4314f226e4/pallets/subtensor/src/block_step.rs#L87

closing as no longer valid


nixos/vivid: init module

I wanted a way to configure vivid (a LS_COLORS manager) simply, but it requires disable default flags from other moducle, so it seems more foolproof to have a dedicated module for this.
Things done
Created a module programs.vivid.

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[x] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Can you have a look @zowoq please?


Add feature enablement information

Added information on how to get WFP enabled

@deadlypants1973 can you take a look at this?

https://github.com/cloudflare/cloudflare-docs/pull/6947


SVG optimization

Hi again, :)
is there a way of not optimize SVG files?
I'm having some problems with that, and want not to have that optimized when in production!
thanks again

@nunodotferreira I will add in the followng config option to disable SVG optimisation entirely for V2 (exact name might change):
Either don't optimize anything at all:
{
    [...]
    disableSVGOptimization: true
    [...]
}

or for specific files:
{
    [...]
    disableSVGOptimization: [
       "aFileName.svg",
       "anotherCustomSVG.svg",
       [...]
    ]
    [...]
}

that's fine, i'm using this in some cases, but if .svg files are complex the optimization fails and then i used the original file.
So both options are fine.
Thanks


Implement spatial OData filters

quite a list of these functions in the spec:
Geospatial Functions
double geo.distance(Point p0, Point p1)
geo.distance(location, geography'POINT (30 10) ')
double geo.length(LineString p0)
geo.length(geography'LINESTRING (30 10, 10 30, 40 40) ')
bool geo.intersects(Point p0, Polygon p1)
geo.intersects(location, geography'POLYGON ((30 10, 10 20, 20 40, 40 40, 30 10))')
Spatial Relationship Functions
bool st_equals
st_equals(location, geography'POINT (30 10)')
bool st_disjoint
st_disjoint(location, geography'POLYGON ((30 10, 10 20, 20 40, 40 40, 30 10))')
bool st_touches
st_touches(location, geography'LINESTRING (30 10, 10 30, 40 40)')
bool st_within
st_within(location, geography'POLYGON ((30 10, 10 20, 20 40, 40 40, 30 10))')
bool st_overlaps
st_overlaps(location, geography'POLYGON ((30 10, 10 20, 20 40, 40 40, 30 10))')
bool st_crosses
st_crosses(location, geography'LINESTRING (30 10, 10 30, 40 40)')
bool st_intersects
st_intersects(location, geography'LINESTRING (30 10, 10 30, 40 40)')
bool st_contains
st_contains(location, geography'POINT (30 10)')
bool st_relate
st_relate(location, geography'POLYGON ((30 10, 10 20, 20 40, 40 40, 30 10))', 'T********')

Usefull sample spatial query to get it started:
Retrieve all Locations within a provided Polygon and expand the Thing entities to retrieve their metadata.
/v1.0/Locations?$expand=Things&$filter=st_within(location, geography'POLYGON ((-79.39 43.651,-79.371 43.651,-79.371 43.641,-79.39 43.641,-79.39 43.651))')

for tests see https://github.com/opengeospatial/ets-sta10/pull/26

First step is done:
http://localhost:8080/v1.0/Locations?$filter=st_within(location,geography'POLYGON((-101 50, -101 51, 101 51, 101 50, -101 50))')
works

some error handling to add when geometry is not valid, example
http://localhost:8080/v1.0/Locations?$filter=st_within(location,geography'POLYGON((-101 50, -101 51, 101 51, 101 50, -101 0))')
first point must be same as last point.
current response: http 200 ok
{
"value": null
}
expected response: http 400 + error message

done

Hi,
I'm new to gost environment, so sorry if the question seems stupid.
Is the st_within filter still working ? (I may be using it in a wrong way)
Using Docker image, I'm trying to do this request: v1.0/Locations?$filter=st_within(location, geography'POLYGON ((-30 -30, 30 -30, 30 30, -30 30, -30 -30))'), and I'm getting a 502 Bad Gateway from nginx.
Here's the complete stacktrace from the server.

Hi, we can reproduce this error, we'll take a look at it to diagnose. In the meantime you can experiment with st_intersects like v1.0/Locations?$filter=st_intersects(location, geography'POLYGON ((-180 -90, -180 90, 180 90, 180 -90, -180 -90))')

Took some more time to fix because of the Locations endpoint only returning max 2 locations when using a filter, should be fixed in 2f952f30b80135a7899379bd2f37b1d82c877971


Bria-RMBG 1.4 results differs from ZHO node (process_detail=False)

We are in process of adjusting our workflows so that they do not use the ZHO node and using RMBG from this pack and in the process it turned out that the results are different, and not for the better.
We use it with disabled process_detail so results should be the same.

After searching the source code, I tried to compare - the algorithm looks the same at first glance and I haven't found any obvious errors yet.
If anyone has any ideas on how to fix this, that would be great.
P.S.: Also, during the second run, a strange thing happens, that the results start to be equally bad for both nodes, but this is apparently related to the Comfy cache and can be ignored for now (I just restarted Comfy after one run while I was trying to find the main error).

For both nodes I had added such code:

from hashlib import sha256
print("hash of input tensors:", sha256(im_tensor.cpu().numpy().tobytes()).hexdigest(), flush=True)

before result = rmbgmodel(im_tensor)
and the same hash check after:
result = torch.squeeze(F.interpolate(result[0][0], size=(h, w), mode='bilinear'), 0)
and the results are the same, so the difference is not in the implementation, but rather somewhere immidatly after it.
hash of input tensors(ZHO):
2f9af99e2eb77f1e2c2258a9550ba15c32fb48f027c5ee34e74b918991e299ff
hash of output result after squeeze(ZHO):
48fc5b6e2a8a94a9a06ffef2ea07e711696e6d8fbf60cbae2e0ecd0e1fd92d3d
hash of input tensors:
2f9af99e2eb77f1e2c2258a9550ba15c32fb48f027c5ee34e74b918991e299ff
hash of output result after squeeze:
48fc5b6e2a8a94a9a06ffef2ea07e711696e6d8fbf60cbae2e0ecd0e1fd92d3d


Update FDTables

We should update to the newest version of Justin's fdtables library.

Apparently this was already done, closing.

I've ported the newest fdtables into RawPOSIX, but found some issues related to mmap and shutdown. Should I first merge current version into main or should I leave it in porting-fdtables branch?


fix client timeout issue

Hello,
I have very rarely some connections timeout with images on google storage. I am not sure it is an issue on google side so I was wondering what this PR does and if it is possible to merge it to 0.13 branch ?
Thank you,

Hi @maingoh -- I think that's an excellent idea. I can either cherry-pick this change into 0.13-release, or if you send me a PR to do it, I'd be happy to merge.


x/crypto/ssh: TCP Forwarding Twice Hangs Second Connection

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?
> go version
go version go1.6 linux/amd64

What operating system and processor architecture are you using (go env)?
Ubuntu 14.04.4 LTS
> go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/wolf/goworkspace"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"

What did you do?
(Use play.golang.org to provide a runnable example, if possible.)
If I use Dial() on an SSH Client more than once, the second returned net.Conn can not read/write until the first Dial completes.  The write's appear to work fine on the returned net.Conn, but aren't actually delivered until the first one is Close()d.
Example:
        sshClient, err := ssh.Dial("tcp", serverstr, sshConfig)
        remoteConn, err := sshClient.Dial("tcp", remoteString)
        defer remoteConn.Close()
        remoteConn2, err := sshClient.Dial("tcp", remoteString)

In this code, remoteConn2 will not send bytes until remoteConn is Close()d, and remoteConn2 will not Read() until remoteConn is closed.

What did you expect to see?
I expect every Dial()ed connection to be independent of the others and able to fully multiplex.  I don't want to have to wait for previous Dial()ed connections to close.
This greatly hinders throughput.

What did you see instead?
I must Close() previously Dial()ed connections if I want any new ones to work.

This was with a single-threaded dev server, I believe that was the issue.  But, the concurrent performance off ssh still seems a bit low.


can't SSL to gitreceive (via git push) on fresh AWS installation

Just installed using v20160701.0.
When I try to git push I get: fatal: unable to access 'https://blah/blah.git/': SSL: certificate verification failed (result: 5)
@jvatic has more context on this (via irc)

Fixed by #3049.


Illustrate which tests ExpectationsTestRunner is running

Motivation
As a new developer on ruby-lsp, I found a little difficult to understand which tests were running due to the metaprogramming in use.
Implementation

I've added an option to use the minitest spec runner.
I've tried to distinguish the test name from the fixture file in the output.


Removed description from Outputs

Removed description from Output parameters, that were causing Errors "Error BCP129: Function "description" cannot be used as an output decorator."
Change
Feel free to remove this sample text

Thank you for your contribution !
Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context.
List any dependencies that are required for this change.

Type of Change
Please delete options that are not relevant.

[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[ ] I'm sure there are no other open Pull Requests for the same update/change
[ ] My corresponding pipelines / checks run clean and green without any errors or warnings
[ ] My code follows the style guidelines of this project
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation (readme)
[ ] I did format my code

@lukemurraynz Output decorators are supported as of Bicep 0.4.1008. See Azure/bicep#4091

Thanks,  Ahmadabdalla.
I am running: Bicep CLI version 0.4.613 (d826ce8411), so will update, sorry for that.


route parameters

How to route url like /usr?username=xxx ?

This is not a support area. Please use the IRC channel or Stack Overflow (but don't post a question as low-quality as the one here over there).

sorry for that.


crypto API isn't used in node.js context

After commit 319dc6e2e75f8ff57e9e708e2187bdabba6ca86a, Node Crypto API isn't used anymore.
I'm not sure if this is critical as v4 is random or pseudo-random based (RFC advise on usage of cryptographic quality random numbers but doesn't require it in any way).
I'm not sure if this is something that planned to be fixed (Math.random is significally faster and this may be a good reason to keep it that way and not to use Crypto API by default).
As for now I'm using options.rng passing function(){ return crypto.randomBytes(16) } as random generator.

It's also important to note that current information in README is incorrect for a more that a year stating that "Cryptographically strong random # generation on supporting platforms" which is not.
Also docs on options.rng are not correct referencing "built-in generators" that no longer exists

I'm not sure if this is critical

It is, unfortunately. The random data being cryptographically secure, is what prevents malicious users from generating collisions.
The security of UUIDs is thus significantly worse when the random source isn't cryptographically secure - not just when generating random tokens (eg. e-mail verification), but also when, for example, creating UUIDs for items in the database. Depending on exact implementation, that could result in privilege escalation within the application.
I'd recommend using the defunctzombie fork instead, as this version doesn't appear to be actively maintained anymore. The npm package name for that is uuid.

fixed


Fix unused_must_use warning

Hmm... ICEs in doc tests. this is probably https://github.com/rust-lang/rust/issues/61442...


Update C# signal documentation and remove bind array

Updates C# signal documentation and code examples to the new API in 4.0
Removes bind array from connect documentation (removed in https://github.com/godotengine/godot/pull/63595)
Replace all nameof usages with the exposed StringName

Marking as draft because there might still be changes to the C# Callable implementation (for starters, Callable.Bind is not implemented so this doc is currently wrong).

@raulsntos could you check my C# pseudo-code in my documentation of WorkerThreadPool https://github.com/godotengine/godot/pull/65268, please?
Interestingly enough, there's no this required…?
And should I set my PR as Draft, because you mentioned that Callable in C# might change?

Would be good to finalize and merge this soon :)

Rebased and removed Bind and Unbind from the C# documentation since it's not implemented, we can add it back if/when it's added to C#.


fix: json validation error with markdown cells

Description
This should fix #718. The cleanup routine after editing a notebook would add the "outputs" attribute to all cells in the notebook, which would cause the JSON validation of nbconvert to fail for cells where no output is expected.
I've also added a cleanup of the "execution_count" property, which should make SCM management of the notebook easier (execution count of cells is prompt to frequent changes in interactive sessions). I can remove it if that change is superfluous.
Finally, I think #1032 can be safely closed, I have not encountered it with recent versions of snakemake.
QC

[ ] The PR contains a test case for the changes or the changes are already covered by an existing test case.
[ ] The documentation (docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).

It looks like tests are failing due to a failed deployment of slurm. I don't really know what to do about that.

Should be fixed with the merge I just did


Added my profile 😇

Just added some lines in profiles.json

Looks great 🔥
Thanks for contributing, make sure to leave a star if you liked the project ⭐


skip next actions when ContinueFromNextActivity and StopActionsRunOnFailure

Thank you for your contribution.
Before submitting this PR, please make sure:

[x] PR description and commit message should describe the changes done in this PR
[x] Verify the PR is point to correct branch i.e. Release or Beta branch if the code fix is for specific release , else point it to master
[x] Latest Code from master or specific release branch is merged to your branch
[x] No unwanted\commented\junk code is included
[x] No new warning upon build solution
[x] Existing unit test cases are passed
[ ] New Unit tests are added for your development
[x] Sanity Tests are successfully executed for Existing Functionality
[x] After creating pull request there should not be any conflicts
[ ] Resolve codacy comments
[ ] Builds and checks are passed before PR is sent for review
[ ] Resolve code review comments

StopActionsRunOnFailure has greater precedence than ContinueFromNextActivity. So the current implementation works fine. Hence closing this PR.


Output to custom stream instead of stdout

should use the IO class for this purpose

Does not offer much of an advantage currently. If specific use cases demand this, it would be easy to implement, but for now, no.


Compatible with python3?

Is this library compatible with python3?

#4 Fixes this issue. Let me know if it can be merged.


Don't Merge! PR real time test for webhook case

Docs Build status updates of commit 6834d34:
:clock10: Pending: waiting for processors (24 builds ahead of you)
:warning: Docs Build is busy, currently there are 24 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 6834d34:
:clock10: Full build: the average full build time is 7 min(s) 40 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit 6834d34:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/testing.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Fix an issue with using 0 in the middle of a filter

Got 'grammar' error when trying to use 0 in the middle of any filters in overview window at backend
More info: https://issues.shopware.com/issues/SW-23910

Can you fill the template?

And can you change the target to 5.6?

Please keep to the contribution guideline


Update tenant.md

Changed "are" to "will" since "are" doesn't make sense.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/cloud-adoption-guide/adoption-intro/tenant.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


WIP: Async migration device_tracker

Description:
Migrate component device_tracker to async.

I'm not done with it, it is on WIP state 😄

@balloob done 💯

Ok to merge after final comment addressed 👍  🐬  🎉


Shardboard framework

M-Bot should run (on its webserver) an optional frontend dashboard for puzzle viewing/management. This will probably involve Django somehow--if we can figure out how to run both of them in the same app, that would be ideal.

Okay, just kidding. This is a terrible way to do this, we're going back to separate apps but with database notifs instead of sockets.


The detail of Bart program model

In the train.py, the model is not valid during training. So I copy the valid part from predict.py.
But  during training at start, the valid acc drop from 0.007 to 0.004 and does not increase during training.
I use bart-base as pretrained model.
Can you provide more details for the experiment?

I found even if train 25 epochs when the loss drop to 0.003.
It outputs a lot program like  Find(farmer)Relate(occupationbackward)**Find(George Segal)And()>Find(Rutgers University)< b>QueryRelation()
While the target is Find(farmer)Relate(occupationbackward)**Find(George Segal)And()Find(Rutgers University)QueryRelation()

It sames the split token always wrong

I sames to solve this problem.
This problem is caused by the token <b> <c>, whick is not included in pretrained vocab.
I solve this problem by replace this two with # and |.
Thanks again for such wonderful work.

It is due to the error in the latest BART checkpoint. If somebody meets this problem, you can download the previous checkpoint from https://cloud.tsinghua.edu.cn/f/3b59ec6c43034cfc8841/?dl=1 and load it as the pretrained model to achieve our reported results.


How many connections can the Nokia gateway sustain?

https://www.nokia.com/networks/fixed-networks/fastmile/5g-gateway-32-2/
E.g., try to connect 20 devices (esp. microcontrollers) to it simultaneously.
I.e., check experimentally whether it's a hardware limitation
If it can connect enough devices, then can replace much of the cudy/hologram setup.
Currently in the 3d printer office, though it was set up for use at MSE with the formlabs printers.

Looks like 128 is the default, and this can be adjusted in settings:

Not seeing anything for mac address filtering, only ip address filtering #25


APP-716, Create 3rd party Room Box Component

Create 3rd party Room Box Component
https://perzoinc.atlassian.net/browse/APP-716

LGTM


Question regarding pub med evaluation calculations

Hi,
I am trying to replicate the pub med evaluation stats and have a question regarding the reporting.
As I understand it you are defining:

tp: expected and actual are not empty and they match
fp: expected and actual are not empty and they don't match
tn: both expected and actual are empty
fn: expected is not empty but actual is empty

Say I am limiting it to the first three manuscripts. Just looking at the 'strict' measure, it is getting the title correct for two out of the three manuscripts. It is reporting an accuracy for title of 95.45%.
The reason for that is that it is calculating tn as 19 as it is using totalFields of 22.
int tn = totalFields - tp - (fp + fn);
https://github.com/kermitt2/grobid/blob/master/grobid-trainer/src/main/java/org/grobid/trainer/evaluation/EvaluationUtilities.java#L458
Perhaps it is a matter of perspective, but shouldn't the accuracy be 66.67%? (All the other three values, i.e. precision, recall and f1, are reported as 66.67%).
The other question was related to recall. Usually it is defined as tp / (tp + fn). In your evaluation it is calculated as tp / all (all is 3 in this case, tp is 2 and fn is 0). i.e. it is reporting recall as 66.67% instead of 100.00% (that of course affects the f1 score). I am just wondering whether that is intentional?

Hello!

Regarding the first point, I am following the standard definition of accuracy. Accuracy is defined as:

accuracy = (tp + tn) / (tp + tn + fp + fn)

Accuracy must be understood as the ability to correctly label what should be present (tp) and correctly not label that should not be present (tn). So, for a field corresponding to a low number of labels per instance (the general case), the accuracy will always be very high because there are many tokens/fields that should not be labelled. Not tagging as title a part of the abstract will increase the accuracy for title. We can have indeed for title tn as 19 with totalFields of 22 when we output find 3 titles out of 22 fields.
That's the way accuracy is defined, but, for sure, more intuitive metrics are precision/recall/f0 which does not consider tn.

Regarding the second point, you're right regarding recall = tp / (tp + fn). Recall is the ratio of correct hits over all expected hits. Here all expected hits are the hits correctly returned by the system plus the misses.

For token level (tp+fn) is no problem, but for field level the miss might be partial (some tokens are fn, some might be fp and some might be tp). So it's more robust to use the all as the number of expected hit (as given in the evaluation set). recall at 2/3 is correct in your example for recall at field level, 100% would be wrong (there are 3 titles expected). It is not reliable to evaluate the miss at field level withfn, it would overestimate (incorrecty) recall.


Hugo server doesn't rebuild after changes to /i18n

What version of Hugo are you using (hugo version)?

$ hugo version
Hugo Static Site Generator v0.79.1-EDB9248D/extended darwin/amd64 BuildDate: 2020-12-19T15:48:14Z

Does this issue reproduce with the latest release?
Yes

When running hugo server (both with and without --disableFastRender), if I change any translations file in /i18n, the change isn't reflected in the generated site, even after refreshing the browser myself.
Interestingly, hugo server does watch the /i18n folder and correctly picks up changes because it prints i18n changed "/i18n/es.toml": WRITE and (if run without --disableLiveReload) it even refreshes the page. But the modified text is not applied.
I also tried using these flags with no success: --ignoreCache --gc --noHTTPCache --forceSyncStatic --cleanDestinationDir.
More info. in case this is a corner case related to my (maybe particular) setup:
/layouts/_default/single.html
{{ define "main" }}

{{ if fileExists (printf "layouts/partials/%s/%s.html" .Lang .File.BaseFileName) }}
  {{ partial (printf "%s/%s" .Lang .File.BaseFileName) . }}
{{ else }}
  {{ partial .File.BaseFileName . }}
{{ end }}

{{ end }}

/layouts/partials/my-page.html
{{ $js := resources.Get "js/my-script.js" | resources.ExecuteAsTemplate (printf "js/my-script-%s.js" .Lang) . }}
{{ if $.Site.Params.Minify }}
  {{ $js = $js | minify | fingerprint "sha512" }}
{{ end }}
<script defer src="{{ $js.RelPermalink }}" integrity="{{ $js.Data.Integrity }}"></script>

/assets/js/my-script.js
var text = "{{ i18n `page_myTranslation` }}",

/i18n/es.toml
page_myTranslation.other = "Mi traducción"

Thanks!

This is a bug and still repros on Hugo Static Site Generator v0.74.3/extended darwin/amd64 BuildDate: unknown

This bug still repros in Hugo Static Site Generator v0.79.1-EDB9248D/extended darwin/amd64 BuildDate: 2020-12-19T15:48:14Z

Can you please rename this issue into "Hugo does not load changed i18n string after detecting changes in /i18n" to make more clear in the subject, that it rebuilds, but not using the changed information?
Some further triage:

are all your i18n labels english (a-z, no special characters)
how does your configuration section for languages look like?

@davidsneighbour, thanks for looking into this!
Thanks to your questions I investigated further and solved the issue.
I was calling ExecuteAsTemplate like this:
{{ $js := (resources.Get "js/shop.js" | resources.ExecuteAsTemplate (printf "js/shop-%s.js" .Lang) .) }}

And since ExecuteAsTemplate is cached and uses the path as the key, the file wasn't being regenerated.
I changed that line to:
{{ $js := (resources.Get "js/shop.js" | resources.ExecuteAsTemplate (printf "js/shop-%s-%s.js" .Lang now.Unix) .) }}

And now everything works as expected 🥳.
This is the second time I got bitten by ExecuteAsTemplate; maybe something should be added to the docs?
Thanks!

I remember having read this in a conversation on discourse.gohugo.io recently: The name of the executeAsTemplate must be different than the resource.Get name. Not sure why, but your change is properly done :)


Bump ddev-dbserver to v1.14.1 (pin mysql 8.0.19), minor test cleanup

The Problem/Issue/Bug:
Mysql 8.0.20 seems to have landed, and seem to be incompatible with xtrabackup 8.0.11 (latest), "Unknown redo log format (4)."
xtrabackup version 8.0.11 based on MySQL server 8.0.18 Linux (x86_64) (revision id: 486c270)
200428 16:12:37  version_check Connecting to MySQL server with DSN 'dbi:mysql:;mysql_read_default_group=xtrabackup;port=3306;mysql_socket=/var/tmp/mysql.sock' as 'root'  (using password: YES).
200428 16:12:37  version_check Connected to MySQL server
200428 16:12:37  version_check Executing a version check against the server...
200428 16:12:37  version_check Done.
200428 16:12:37 Connecting to MySQL server host: localhost, user: root, password: set, port: 3306, socket: /var/tmp/mysql.sock
Using server version 8.0.20
xtrabackup: uses posix_fadvise().
xtrabackup: cd to /var/lib/mysql
xtrabackup: open files limit requested 65535, set to 1048576
xtrabackup: using the following InnoDB configuration:
xtrabackup:   innodb_data_home_dir = .
xtrabackup:   innodb_data_file_path = ibdata1:12M:autoextend
xtrabackup:   innodb_log_group_home_dir = ./
xtrabackup:   innodb_log_files_in_group = 2
xtrabackup:   innodb_log_file_size = 50331648
Number of pools: 1
200428 16:12:37 Connecting to MySQL server host: localhost, user: root, password: set, port: 3306, socket: /var/tmp/mysql.sock
Unknown redo log format (4). Please follow the instructions at http://dev.mysql.com/doc/refman/8.0/en/ upgrading-downgrading.html.
xtrabackup: Error: recv_find_max_checkpoint() failed.
The command '/bin/sh -c /create_base_db.sh;' returned a non-zero code: 1
Makefile:60: recipe for target 'mysql_containers' failed
make: *** [mysql_containers] Error 1

A couple of recent PRs and a testbot misconfiguration showed some problems with tests that should be cleaned up quickly in master, rather than being cleaned up there. This was supposed to be just that cleanup, but since all builds are now broken, it will have to go into the mainline.
How this PR Solves The Problem:

Allow pinning database versions, rather than using latest. This is currently implemented for mysql 8.0.19.
Minor test cleanups

Manual Testing Instructions:

Tests should work
mysql version in container should be 8.0.19.

Automated Testing Overview:

Related Issue Link(s):
Release/Deployment notes:

@jeffsheltren how would I report the incompatibility between xtrabackup 8.0.11 and mysql 8.0.20? I would assume there will be a new release of xtrabackup, since it says "xtrabackup version 8.0.11 based on MySQL server 8.0.18". I didn't easily find an xtrabackup issue queue.


QuickSearch : Disable Autosearch

Currently "QuickSearch" starts searching as soon as user type in the box. Is there any way it can be delayed or disabled and fired when user hit enter once typing is complete?

I'm kind of surprised no one's responded to this. You should just need to do this:
let columnFilter = Q.first(filters, x => x.field == fld.column);
columnFilter.handler = h => {
    if (h.active) {
        h.request.Criteria = Serenity.Criteria.and(h.request.Criteria,
        [[fld.column], 'like', '%' + h.value + '%']);
    }
};

Thank you @DavidKing0193 for your input. Would you please let us know which function to override to add those lines?

Ah yes, sorry!
That should go in yout xyzGrid.ts file overriding function: getQuickFilters(). Please let me know if you need further information!

Thank you @DavidKing0193 for your input. Actually we are looking for QuickSearch, not QuickFilter. They are two different. QuickSearch is in grid, and when user type something in that field, it starts searching immediately on fields which are set for "QuickSearch" (defined in myRows.cs file.

Of course I had to misread that.  Based on my research (#1187), it appears that searching by a user defined action isn't possible.

Dear DavidKing,
Thank you so much for the help, and nothing to be sorry about.


Use tzlocal for timezone conversions.

Wow, 1 line instead of 25, that's elegant!

An issue I have with this implementation is that it produced this error because I had /etc/timezones listing some America/NewYork timezone (selected at install), while globally TZ was set to my actual timezone. So there is a conflict and get_timezone() returned zoneinfo.ZoneInfoNotFoundError. I can imagine this non-obvious issue might occur to many people.
We could try to except this error, but then my timezone is not taken into account and everything is in UTC.

I could get a better result with a slightly different implementation: e2d10b6a95895b53f68ccb422eedf26ea670641e


Script: ensure prevrandao is set, even if no mixHash in response

Motivation
ref https://github.com/foundry-rs/foundry/issues/4238
ensure prevrandao is set, even if no mixHash in response
Solution
same fix as anvil but when running forge script.

this doesn't compile,
please put this in a Some
please consider enabling changes by maintainer

the opposite might be helpful as the changes by @DaniPopes @Evalir were errorful.
i would suggest reverting this pr back to the original commit 50212024e134b4117b17145e3999bf14e775418a by @0xCalibur

hey @0xm3rlin — yeah we committed a suggestion which was errorful. That being said, we can't push to this branch as the PR comes from the fork's master, which is protected. Happy to merge this ASAP if @0xCalibur fixes it—it's just a one line change. If not happy to close and reopen on another PR to merge this quickly.

hey @0xm3rlin — yeah we committed a suggestion which was errorful. That being said, we can't push to this branch as the PR comes from the fork's master, which is protected. Happy to merge this ASAP if @0xCalibur fixes it—it's just a one line change.

I'm confused...so I just need to go back to the original changes?

well, this has been more effort than expected lol
I'm closing this, and pushed changes manually to #4929
can't make changes manually here since this is opened from master branch

oops


[SPARK-19748][SQL]refresh function has a wrong order to do cache invalidate and regenerate the inmemory var for InMemoryFileIndex with FileStatusCache

What changes were proposed in this pull request?
If we refresh a InMemoryFileIndex with a FileStatusCache, it will first use the FileStatusCache to re-generate the cachedLeafFiles etc, then call FileStatusCache.invalidateAll.
While the order to do these two actions is wrong, this lead to the refresh action does not take effect.
  override def refresh(): Unit = {
    refresh0()
    fileStatusCache.invalidateAll()
  }

  private def refresh0(): Unit = {
    val files = listLeafFiles(rootPaths)
    cachedLeafFiles =
      new mutable.LinkedHashMap[Path, FileStatus]() ++= files.map(f => f.getPath -> f)
    cachedLeafDirToChildrenFiles = files.toArray.groupBy(_.getPath.getParent)
    cachedPartitionSpec = null
  }

How was this patch tested?
unit test added

Test build #73502 has started for PR 17079 at commit fd3bb21.

Test build #73502 has finished for PR 17079 at commit fd3bb21.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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/SparkPullRequestBuilder/73502/
Test PASSed.

cc @cloud-fan @gatorsmile

good catch! Can you show a real example that fails because of this bug? I'm wondering why the existing unit tests didn't expose this bug...

there is no related test case for InMemoryFileIndex with FileStatusCache.
When I do this PR, and add a fileStatusCache in DataSource, I found this bug..

Test build #73546 has started for PR 17079 at commit 1ec20a5.

Test build #73546 has finished for PR 17079 at commit 1ec20a5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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/SparkPullRequestBuilder/73546/
Test PASSed.

LGTM except two minor comments.

Test build #73560 has started for PR 17079 at commit 94879a8.

Test build #73560 has finished for PR 17079 at commit 94879a8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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/SparkPullRequestBuilder/73560/
Test PASSed.

thanks, merging to master/2.1!


[Feature Request]: Security & IoT questions analysis and prediction on stack overflow

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
i want to do analysis of the data of all stack overflow security & IOT related questions with the help of dataset available on Kaggle :
https://www.kaggle.com/datasets/shibli007/iot-security-stack-overflow-dataset
i will do a complete data analysis ,processing ,EDA , feature engineering as well as train different model and evaluate for security based question detection (binary classification)
i will also create a streamlit application for prediction point of view and reame.md for reference and setup
demo :
https://github.com/user-attachments/assets/d63cd875-9f2c-44f6-b3ef-84e5b8a4ae5f
Use Case
This can be used for analyzing the trend of security and digitalization based question and queries of different users
Benefits
It can be used to find out the different trend related to security questions
Priority
High
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

@sanjay-kv please assign this issue to me along with level and label of gssoc'24

I dont think this is something we looking for, sorry about that.

this was just prediction, i will include analysis of security questions also which will help understand what type and frequency of security based questions can be asked on stack overflow

ok


Batches are now flushed in end window

Batches are now flushed in end window for JdbcNonTransactionalBatchOutputOperator

too old!


support writing golang in it?

You can use syntactic plugin to at least get syntax color but current version of kod is not ready to be used.

ok thanks..
On Sun, 30 Sep 2018 at 12:44 Emilio González<EMAIL_ADDRESS>wrote:

You can use syntactic plugin to at least get syntax color but current
version of kod is not ready to be used.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/linde12/kod/issues/33#issuecomment-425711572, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ATuCwjzVvkG80_Ar2du7jSfZCWTC-8rbks5ugKCcgaJpZM4XA2N4
.


[Bug]: Unprotected login and signup

Contact Details
No response
What happened?
The login and signup page doesn't have proper Gmail verification system. So anyone can login with any fake email and spam the website's database with too many accounts.
This is a major threat to Digitomize's security and credibility.
Expected Behavior
Proper user verification system via otp through email.
What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
Relevant log output
No response
Are you interested in contributing?

[X] I'd like to work on this issue

Code of Conduct

[X] I have used the search function to check if an issue already exists
[X] I agree to follow this project's Code of Conduct

Which program are you contributing in?
gssoc, ssoc

We have implemented an email verification, it will be live after #963 merges


move insert-css from peerDep to dep

close https://github.com/stackcss/sheetify/issues/68

See https://github.com/stackcss/sheetify/issues/70#issuecomment-219307574


Swipe disabled when using TouchableWithoutFeedback

Using the suggested example code found here https://github.com/dancormier/react-native-swipeout/blob/master/example/SwipeoutExample.js#L46
I am unable to swipe whenever I have TouchableWithoutFeedback enabled.
Here is my code:
    return (
      <Swipeout
        right={swipeoutBtns}
        rowID={0}
        sectionID={0}
        autoClose={true}
        backgroundColor="white"
        onOpen={(sectionID, rowID) => {
          this.setState({
            sectionID,
            rowID
          });
        }}
        onClose={() => console.log("===close")}
        scroll={event => console.log("scroll event")}
      >
        <TouchableWithoutFeedback onPress={() => console.log("press children")}>
          <View style={{ height: 100 }}>
            <Text style={styles.liText}>yo</Text>
          </View>
        </TouchableWithoutFeedback>
      </Swipeout>
    );

Any help would truly be appreciated. Thanks!
Heres my info if it helps
 react-native info
info
  React Native Environment Info:
    System:
      OS: macOS 10.14.6
      CPU: (4) x64 Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz
      Memory: 226.37 MB / 16.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 10.15.3 - /usr/local/bin/node
      Yarn: 1.13.0 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
    IDEs:
      Android Studio: 3.4 AI-183.54<IP_ADDRESS>52501
      Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.3 => 16.8.3
      react-native: 0.59.4 => 0.59.4
    npmGlobalPackages:
      create-react-native-app: 2.0.2
      react-native-cli: 2.0.1

I sovled this problem by set the "sensitivity" property of the swipeout ,maybe you can set the value to 1.

This doesn’t seem to work.
Is anyone able to test the above code to see if it works?

Does it matter it is the content over an open drawer navigator?

Its does matter! For anyone who encounters this issue. If Swipeout is inside of a drawer navigator you must disable gestured on that navigation.
Inside of the navigation options add  drawerLockMode: "locked-open"
Thanks again everyone for the help and a great lib!

I sovled this problem by set the "sensitivity" property of the swipeout ,maybe you can set the value to 1.

works ok on ios, but not smoothly on android


Authenticate via Git API

This PR allows user to authenticate with GitHub personal token.
Config includes orgs that are allowed.
paths to login /auth/login/github

As suggested above, I've added the following tickets to extend the functionality here:

use org.kohsuke.github to replace GithubClient: https://mrc-ide.myjetbrains.com/youtrack/issue/mrc-4682

include support for specifying allowed github team as well as org (replicate logic from OrderlyWeb) and note that this should apply to web login as well as API: https://mrc-ide.myjetbrains.com/youtrack/issue/mrc-4683

change the login/github endpoint to login/api since we will be adding montagu access, and the auth provider will be defined in the app config rather than something the user should be deciding on: https://mrc-ide.myjetbrains.com/youtrack/issue/mrc-4684/

add a full integration test: https://mrc-ide.myjetbrains.com/youtrack/issue/mrc-4685


Typescript build

added support typescript

Wow. Some great changes. Typescript looked to be only 2 lines of the changes.
If you were to merge this, would js still work?

Oops. See the branch is different. Thanks all for this template

@MatsMaker feel free to edit the main readme. Thanks


Publishing chapter 13 :)

Don't merge this yet—but once all the PRs are in, let's get this chapter shipped!

Great


Remove ignition provider by inlining ignition config

Closes #33

Duplicate of #34 which has been merged.


docs(readme): update to 2.0

Codecov Report

Merging #74 (d7fb914) into main (97f8b09) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #74   +/-   ##
=======================================
  Coverage   86.88%   86.88%
=======================================
  Files          13       13
  Lines         305      305
  Branches       36       36
=======================================
  Hits          265      265
  Misses         40       40

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 ef938a1...d7fb914. Read the comment docs.


[Bug][1.39.1] Failing in a specific map soft locks the game

Describe the bug
In the map "Time to beat the odds" on the current version, if you fail (specifically without nofail on), the game soft locks. When you fail, the game looks similar to if you had nofail turned on, but the menu stops working and eventually the notes stop coming.
 I haven't tested this with a fresh install with nothing but chroma installed, so I'm not 100% certain it is just chroma though.
Link to map: https://beatsaver.com/maps/3f7f2
To Reproduce
Steps to reproduce the behavior:

Go to the song "Kagetora. - Time to beat the odds (extended)"
Click Play on any of the difficulties.
The choice with the heck settings screen doesn't change anything
Die
Get soft locked into the map

Expected behavior
Exiting out of the map after dying ;)
Additional context
From what I can tell, it looks like what is happening is some crucial object was deleted, then the game got stuck in a callback loop trying to access the deleted element. I am 100% not an expert on this so I could be very wrong though.
The first log file is the entire log from starting the game to causing the bug.
_latest.log
This second log file is narrowed down to just about the minute before I triggered the bug for the first time tonight. This particular log file kept on going repeating the last few lines over and over for probably 10000+ lines.
log.txt

Duplicate https://github.com/Aeroluna/Heck/issues/128