Create Account

Describe the feature you would like to see added
Currently, our project relies on test users that are created through scripts for testing and development purposes. However, as we move towards a live deployment, we recognize the need to add a sign-up feature to the project to allow users to create their own accounts. This will enhance the user experience and allow us to better serve the needs of our users by providing them with a convenient and intuitive way to create and manage their own accounts. We believe that adding a sign-up feature to the project is an important step in its evolution and will help to ensure its long-term success.
Is your feature request related to a problem?
No response
Describe the solution you'd like
Currently, our project has a database query that is used to create new user accounts. However, we do not have a dedicated page or interface for users to sign up for an account. To improve the user experience and make it easier for users to create new accounts, we propose adding a sign-up page to the project. This page would be similar in function to the existing sign-in page, with the necessary elements such as forms for entering personal information, selecting a username and password, and agreeing to terms and conditions. By adding a sign-up page, we can provide users with a clear and intuitive path to creating their own accounts and make it easier for them to start using our product or service.
Describe alternatives you have considered
No response
Additional context
No response

Agreed, we need to talk to the kampus-bot team and sync with them, we initially wanted the registration to be only with the kampus discord bot to make sure we only get signups from the community. Thanks for creating this issue. We, at least, need to make a decision.

cc @cansirin @durmusrasit

This is getting done by remix-auth solution atm. So i'll close this for now, we can re-open if we think we need to work on it more.


Add Steps component to from-nuxtjs.mdx

Add Steps component to from-nuxtjs.mdx
Adds the Step component where needed.

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

en
guides/migrate-to-astro/from-nuxtjs.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

!coauthor


lookup callable: allows e.g.

...faults per included template or stop an infinite include recursion

I did a rebase. Travis CI fails on some python versions, but so it does for code not related to this pull request. Tell me if I need to do something about it.

I did a rebase. Travis CI fails on some python versions, but so it does for code not related to this pull request. Tell me if I need to do something about it.

Don't agree with that. Some failures are definitely due to this pr.

Don't agree with that. Some failures are definitely due to this pr.

2.5, 3.1 and 3.2 fail. A wild guess: Unicode literals? They were introduced in 2.6 and re-introduced in 3.3

2.5, 3.1 and 3.2 fail. A wild guess: Unicode literals? They were introduced in 2.6 and re-introduced in 3.3

Corrected: unicode literal u"" was the problem in 2.5, 3.1, 3.2 and AttributeError in 2.5 instead of TypeError in other version.


Removed dependancy on HTMLAgilityPack

Partial implementation of the official Reddit FlairTemplate API endpoint

Not pushing this out to NuGet just yet as I haven't tested it at all, but looks fine glancing at it, and I'd rather get this in there so others can work on stuff too.


fix: return status code 1 if migration process fails

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[BUG] panic: runtime error: integer divide by zero

Agent Environment

Running Datadog serverless in Python on AWS Lambda.
Datadog lambda extension v24
Describe what happened:
Submitting custom metrics from Python using the lambda_metric function. However, sometimes, there is an integer divide by zero error. This seems to occur when there is a large volume of metrics being submitted.
The stack trace looks like this:
panic: runtime error: integer divide by zero
goroutine 921 [running]:
github.com/DataDog/datadog-agent/pkg/serializer/internal/metrics.SketchSeriesSlice.SplitPayload(...)
/tmp/dd/datadog-agent/pkg/serializer/internal/metrics/sketch_series_list.go:330
github.com/DataDog/datadog-agent/pkg/serializer/internal/metrics.SketchSeriesList.SplitPayload({{0x16b5098, 0xc0015725c0}}, 0x1)
/tmp/dd/datadog-agent/pkg/serializer/internal/metrics/sketch_series_list.go:318 +0x292
github.com/DataDog/datadog-agent/pkg/serializer/split.Payloads({0x7f3962727258, 0xc00198c190}, 0xb8, 0x4175ea)
/tmp/dd/datadog-agent/pkg/serializer/split/split.go:117 +0x59d
github.com/DataDog/datadog-agent/pkg/serializer.Serializer.serializePayloadInternal({{0x16d60b0, 0xc0007d24a0}, {0x0, 0x0}, {0x0, 0x0}, 0x0, 0x1, 0x1, 0x1, ...}, ...)
/tmp/dd/datadog-agent/pkg/serializer/serializer.go:199 +0x35
github.com/DataDog/datadog-agent/pkg/serializer.Serializer.serializePayloadProto({{0x16d60b0, 0xc0007d24a0}, {0x0, 0x0}, {0x0, 0x0}, 0x0, 0x1, 0x1, 0x1, ...}, ...)
/tmp/dd/datadog-agent/pkg/serializer/serializer.go:195 +0xb3
github.com/DataDog/datadog-agent/pkg/serializer.(*Serializer).SendSketch(0xc0007d80a0, {0x16b5098, 0xc0015725c0})
/tmp/dd/datadog-agent/pkg/serializer/serializer.go:361 +0x2fc
github.com/DataDog/datadog-agent/pkg/aggregator.(*ServerlessDemultiplexer).ForceFlushToSerializer.func3({0x16b5098, 0xc0015725c0})
/tmp/dd/datadog-agent/pkg/aggregator/demultiplexer_serverless.go:126 +0x4c
github.com/DataDog/datadog-agent/pkg/metrics.Serialize.func2()
/tmp/dd/datadog-agent/pkg/metrics/iterable_metrics.go:137 +0x6f
created by github.com/DataDog/datadog-agent/pkg/metrics.Serialize
/tmp/dd/datadog-agent/pkg/metrics/iterable_metrics.go:135 +0x196

It seems like this occurs due to the length of sl being zero here:
https://github.com/DataDog/datadog-agent/blob/main/pkg/serializer/internal/metrics/sketch_series_list.go#L331-L335
Describe what you expected:
The extension to run without crashing
Steps to reproduce the issue:
Submit large volumes of metrics using the lambda_metric function. Occurs fairly consistently when 180,000 or so metrics are submitted, however, it sometimes occurs even when fewer metrics being submitted.
Additional environment details (Operating System, Cloud provider, etc):
AWS Lambda Python
DD_LOGS_INJECTION = false
DD_SERVERLESS_LOGS_ENABLED = false

Hi There, Thank you for opening up an issue regarding our agent. This is currently a known issue that is getting patched by our team and we will reach out once there is a fix on it. You can also check in on when the fix will be merged here:
https://github.com/DataDog/datadog-agent/pull/13453
For more official tracking and more automated update, you can also create a ticket using our service here:
https://help.datadoghq.com/hc/en-us
That way if there are other changes or relevant update, we can keep you up to date accordingly. Please make sure to include this Github issue URL so it would be easier for us to track too.
Thanks!

@DDuongNguyen are there any temporary workarounds you can suggest?

@DDuongNguyen Having this same issue after upgrading datadog-lambda-js from 6.78.0 to 6.84.0, and now we have no metrics. Is the only mitigation at the moment to rollback to the previous version?


[Map] DmFreedom

Hash: 9d33e49ad3917556a3f21be785cbfa20462e63c7
Current name: DmFreedom
This is an Unreal map.
Like a lot of Unreal maps, it can be played in UT as it uses no Unreal-specific actors.  It contains only Unreal weapons and pickups, which are swapped to UT ones when starting the map in UT.
It is, though, more properly classified as an Unreal map.

Classified back as an Unreal map.


Fatal error: Arrays are not allowed in class constants. Fix?

Wanted to check this out.
Got this error when trying the code the first time.
Fatal error: Arrays are not allowed in class constants in /home3/ccatlin1/public_html/pinboardtest/test/src/HtmlToRtf.php on line 17
Any fix to apply? Thanks! Am using php 5.45, but can set it to anyone needed.
Will also check the code myself, and see for a fix, but wanted to quick ask b4 making changes.
Best, looking forward to trying this,
-C

You should use PHP 5.6+

Thanks for the awesome quick reply! And the cool code to try out.
Did that just after posting here, figured it might be 5.6. Can report it works like a charm! All the hosting here is set at 5.45. =) Thanks again!
Going to check it on 7
Best,
-C


Use async await to fix empty quote reply at first time

This PR is a possible solution for #22075. The reason why quote reply is empty is when quote reply is clicked, it triggers the click function on '.comment-form-reply' button, and when the first time this function is triggered, easyMDE for the reply has not yet initialized, so that line 618 in repo-legacy.js got an undefined as easyMDE, and the following  lines which put quoted reply into the easyMDE is not executed.
The workaround in this PR is to pass the replied content to '.comment-form-reply' button if  easyMDE is not yet initialized (quote reply first clicked) and put the replied content into it the after easyMDE is created.
Now quote reply on first click:
https://user-images.githubusercontent.com/17645053/221452823-fc699d50-1649-4af1-952e-f04fc8d2978e.mov

Update:
The above change is not appropriate as stated in the comment
Use await instead

This change doesn't look stable. The 'click' event is a DOM native event, its handler function should follow the standard strictly, instead of adding  more customized arguments.
The code for on('click', 'button.comment-form-reply') could be extracted to a common async function, then make these two click event handler to await call that function to wait for EasyMDE ready.

This change doesn't look stable. The 'click' event is a DOM native event, its handler function should follow the standard strictly, instead of adding more customized arguments.
The code for on('click', 'button.comment-form-reply') could be extracted to a common async function, then make these two click event handler to await call that function to wait for EasyMDE ready.

Extraced the function and used await, please review again.

Found an error say "easyMDEOptions.onChange is not a function" after merging #23173 . Not sure if this is a normal behavior, added an empty onchange function to fix this for now.

Sorry, maybe it's my mistake from #23135
The easyMDEOptions?.onChange(...args); is incorrect, it should check whether onChange exists ....
Could you help to do a fix for that together? Thank you very much.

Sorry, it's my mistake from #23135
The easyMDEOptions?.onChange(...args); is incorrect, it should check whether onChange exists ....
Could you help to do a fix for that together? Thank you very much.

Added a commit for this.

Hmm, however, I haven't understood how the error occurs. It seems one question mark is enough.
Do you have any idea?

OK .... I messed something on my side. I must not have woken up ..... you are right.

Codecov Report

Merging #23168 (653eb17) into main (33e556e) will increase coverage by 0.01%.
The diff coverage is 49.51%.

:exclamation: Current head 653eb17 differs from pull request most recent head eda0e2b. Consider uploading reports for the commit eda0e2b to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main   #23168      +/-   ##
==========================================
+ Coverage   47.44%   47.45%   +0.01%
==========================================
  Files        1140     1140
  Lines      150804   150985     +181
==========================================
+ Hits        71549    71652     +103
- Misses      70788    70859      +71
- Partials     8467     8474       +7

Impacted Files
Coverage Δ

models/actions/run.go
1.73% <0.00%> (+0.02%)
:arrow_up:

models/actions/run_list.go
0.00% <0.00%> (ø)

models/actions/status.go
22.85% <0.00%> (-1.39%)
:arrow_down:

models/auth/oauth2.go
60.52% <ø> (ø)

models/auth/twofactor.go
19.73% <ø> (ø)

models/db/engine.go
44.80% <ø> (ø)

models/issues/label.go
55.95% <0.00%> (ø)

models/unittest/testdb.go
12.92% <0.00%> (ø)

modules/auth/password/hash/pbkdf2.go
69.69% <ø> (ø)

modules/avatar/hash.go
100.00% <ø> (ø)

... and 58 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

🎺 🤖


Styling button in _LinkDialog

Is it possible to change the button styling from the _LinkDialog without changing the style of the label of the InputDecoration of the Textfields? If I set the labelTextStyle, the labels in the TextFields and the Ok button get the same styling. Also the Ok button loses it's disabled styling.

You are welcome to submit a PR


Update service-quick-create-sharepoint-list.md

We are bringing this exact same feature to libraries.  So, I added "list or libraries" everywhere it previously just said "list" in the help article. @maggiesMSFT @Kate Follis

@kkamath-3 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Deps resolution can contain multiple versions of the same library

When dependency resolution happens in two or more targets, results of those are concatenated together, there is a risk of getting multiple version of the same artifact. Here is minimal reproducable build.sc:
import mill._
import mill.scalalib._

object reproduce extends ScalaModule {
  def scalaVersion = "2.12.4"

  def evicted = T{
    val result = resolveDeps(resolveOne)()
    result.foreach(println)
    result
  }

  def notEvicted = T{
    val result = resolveDeps(resolveTwo)() ++ resolveDeps(resolveThree)()
    result.foreach(println)
    result
  }

  def resolveOne = T {
    Agg(
      ivy"com.lihaoyi::utest:0.6.0",
      ivy"com.lihaoyi::utest:0.6.1",
    )
  }

  def resolveTwo = T {
    Agg(
      ivy"com.lihaoyi::utest:0.6.0"
    )
  }

  def resolveThree = T {
    Agg(
      ivy"com.lihaoyi::utest:0.6.1"
    )
  }
}

mill reproduce.evicted will print out one version of utest, whereas  mill reproduce.notEvicted will print out two versions on utest

This should be fixed in master, SBT style (we aggregate all ivyDeps until the last minute when we resolve them before compiling/execution)


[something to look into] Update Docker to 1.10 to update manifest version to 2

hey @poldracklab! Here is a fun little docker hub api adventure, mostly for fun, but it will make integration with Singularity better for you down the line. I noticed recently that your image returns a version 1 of the Docker manifest, versus version 2.  For example:
client=DockerApiConnection(image='poldracklab/mriqc')
DEBUG Headers found: Accept,Content-Type
VERBOSE Registry: index.docker.io
VERBOSE Namespace: poldracklab
VERBOSE Repo Name: mriqc
VERBOSE Repo Tag: latest
VERBOSE Version: None
VERBOSE Obtaining tags: https://index.docker.io/v2/poldracklab/mriqc/tags/list
DEBUG GET https://index.docker.io/v2/poldracklab/mriqc/tags/list
DEBUG Http Error with code 401
DEBUG GET https://auth.docker.io/token?service=registry.docker.io&expires_in=9000&scope=repository:poldracklab/mriqc:pull
DEBUG Headers found: Accept,Authorization,Content-Type

manifest = client.get_manifest()
VERBOSE Obtaining manifest: https://index.docker.io/v2/poldracklab/mriqc/manifests/latest
DEBUG GET https://index.docker.io/v2/poldracklab/mriqc/manifests/latest

Yours has the old version 1 fields, which have fsLayers instead of layers like:
{'architecture': 'amd64',
 'fsLayers': [{'blobSum': 'sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4'},
...

and we can verify version 1 of the schema:
manifest['schemaVersion']
1

versus what version 2 looks like, like this and was added here.
The reason this is important is because the newer schema returns information about the layer size. It should look something like this (this is for ubuntu):
In [3]: client.get_manifest()
VERBOSE Obtaining manifest: https://index.docker.io/v2/library/ubuntu/manifests/latest
DEBUG GET https://index.docker.io/v2/library/ubuntu/manifests/latest
Out[3]:
{'config': {'digest': 'sha256:f7b3f317ec734a73deca91b34c2b1e3dd7454650da9c8ef3047d29a873865178',
  'mediaType': 'application/vnd.docker.container.image.v1+json',
  'size': 3624},
 'layers': [{'digest': 'sha256:aafe6b5e13de557451e1781fe7276620275625f970015cbd10036ab7d8ae27c0',
   'mediaType': 'application/vnd.docker.image.rootfs.diff.tar.gzip',
   'size': 46792902},
  {'digest': 'sha256:0a2b43a726608d3835aa027bbe181624789130c212eb191baa481f1d788a0676',
   'mediaType': 'application/vnd.docker.image.rootfs.diff.tar.gzip',
   'size': 815},
  {'digest': 'sha256:18bdd1e546d21240bd4c3e4e29032a38f18102d780a78686508d40fe01c60158',
   'mediaType': 'application/vnd.docker.image.rootfs.diff.tar.gzip',
   'size': 514},
  {'digest': 'sha256:8198342c3e05101bb56b0a585dc34e39346ece39ee5d39287cda24b1fb445fed',
   'mediaType': 'application/vnd.docker.image.rootfs.diff.tar.gzip',
   'size': 850},
  {'digest': 'sha256:f56970a44fd409805e3872cac236d29f5eed1a45e189bb765bcd2163c915f384',
   'mediaType': 'application/vnd.docker.image.rootfs.diff.tar.gzip',
   'size': 161}],
 'mediaType': 'application/vnd.docker.distribution.manifest.v2+json',
 'schemaVersion': 2}

I am trying to get a feature added to Singularity 2.3 so you can do:
singularity pull docker://poldracklab/mriqc

and it will both create and import docker layers into a poldracklab-mriqc-latest.img (or one that you name specifically):
singularity pull --name myprecious.img docker://poldracklab/mriqc

Given that you have the version 2 manifest, I can get the size automatically, and the container is generated without needing it. Given that I can't get this manifest, we can only return the default Singularity image size, or you would need to specify it:
singularity pull --size 4000 docker://poldracklab/mriqc

which is more annoying of the two use cases, as it would vary per image! We could also get the size of the compressed layers from the content header (while it's stream downloading to the system), but then this would only work given that you don't already have the layers cached. We also can't get the uncompressed size from the last 4 bytes in the file because this is 32 bit, so it doesn't work for files greater than 4GB. We could also just estimate with some other hack on the fly, but the higher powers above me (and I agree) would like this to come from a reliable (single) place and not rely on the user's python, tar, etc.
So my next logical question was - why is this image delivering a Manifest Schema 1?  I first checked out the builds on Docker Hub, and they are over 6 months old! But duh, this is because you've been building and pushing from circle (makes sense, for testing right!) and those are pushed during CI here.
I then poked into the old manifest being served, and from the history, it looks like the v1Compatibility json (history) stops at April of this year:
for layer in manifest['history']: print(json.loads(layer['v1Compatibili
    ...: ty'])['created'])

2017-04-23T18:22:38.555180752Z
2017-04-23T18:22:28.997826306Z
2017-04-23T18:22:19.759039782Z
2017-04-23T18:22:10.947418041Z
2017-04-23T18:22:01.07861345Z
2017-04-23T18:21:54.31756029Z
2017-04-23T18:21:30.692066584Z
2017-04-23T18:21:24.244138728Z
2017-04-23T18:21:17.426181353Z
2017-04-23T18:20:44.055114417Z
2017-04-23T18:20:37.553078338Z
2017-04-23T18:19:39.267013266Z
2017-04-23T18:19:33.433588271Z
2017-04-23T18:19:21.2173366Z
2017-04-23T18:19:10.912841181Z
2017-04-23T18:16:10.119395228Z
2017-04-23T18:16:07.072211516Z
2017-04-23T18:15:52.52128285Z
2017-04-23T18:15:46.009745722Z
2017-04-23T18:15:36.445782669Z
2017-04-23T18:15:21.588705635Z
2017-04-23T18:15:18.094309164Z
2017-04-23T18:15:15.196973388Z
2017-04-23T18:15:11.113514794Z
2017-04-23T18:12:23.393168016Z
2017-04-23T18:12:20.789563151Z
2017-04-23T18:11:25.65503471Z
2017-04-23T18:10:49.379840044Z
2016-12-15T17:45:24.24960419Z
2016-12-15T17:45:23.840105252Z
2016-12-15T17:45:22.900373296Z
2016-12-15T17:45:22.024921767Z
2016-12-15T17:45:21.123443146Z
2016-12-15T17:45:19.987827436Z

That was largely just the wrong rabbit hole jumps out. My next thought was that it must be something to do with the build process - if the version of Docker on circle doesn't push a thing that can generate a version schema 2 manifest, then it would fall back to 1. You are installing 1.9.1. And after digging a bit in the abysmal hole of blue sadness that is the Docker documentation base, I found this tidbit:

Manifest Push with Docker 1.9 and Older
The Docker Engine will construct a Schema 1 manifest which the registry will persist to disk.
When the manifest is pulled by digest or tag with any docker version, a Schema 1 manifest will be returned.

so TLDR: if you are able to update your Docker on Circle (1.10 or up), this would be really great, because images will be served from Docker Hub that can tell users (the Singularity client being one of them!) how fat they are (let's be honest, Poldracklab images are VERY fat) and then with a TBD pull command, it will just create the right image size, instead of failing and then trying to shove a really fat cat into a tiny box, which only results in kittastrophe.

I think there reason why we are using version 1.9.1 is that this is the only one that supports caching on CircleCI right now. @oesteban if we pull last release like we do with fmriprep we can skip explicit caching and use more recent version of docker.

ah makes sense. If/when you do an update, ping here and I can test to see if the manifest version is updated with the new build.

@vsoch do you know how docker save should be used with docker 1.10? That's the only reason why we are hooked up to 1.9.

Is it different? If you want to do like:
  docker save -o $HOME/docker/cache.tar ubuntu:xenial-20161213 ${DOCKER_IMAGE}:${DOCKER_TAG}

based on the docs I think it's pretty similar, the default will stream to tar, but with -o/--output you can specify a file without the >, like:
docker save -o fedora-latest.tar fedora:latest

Are you hitting a bug?

We were force to use docker 1.9 because of CircleCI. Now with circle 2.0 this has been superseded :)

woohoo!


Translations support via languages.yml file

Currently all the theme settings have labels inserted directly to the theme blueprint as a strings, so if someone would like to use it on a page with primary language other than English, they'd have to edit them by hand, or override them with custom language file.
Also it seems to me, that exporting them to grav's language.yaml format would make the codebase more sustainable for future development.

I'm personally interested in this, as I'm currently developing Polish portal based on OPS.


SWA broken as of node version 20.13.0

Describe the bug
The SWA CLI does not work with node version 20.13.0 or later (also tested with 20.13.1 and 22.1.0).
There are no issues with node 20.12.2.
Running swa start does not report any errors. However after succesful startup of swa start the URL https://<IP_ADDRESS>:8082 (or https://localhost:8082) simply refuse connections (Chrome report ERR_CONNECTION_REFUSED).
To Reproduce
Steps to reproduce the behavior:

With node 20.12.2 setup some SWA project. Verify that swa start work as expected.
Upgrade to node 20.13.0. SWA is no longer working (but swa start report no errors).

Expected behavior
Nothing should break upgrading from node 20.12.2 to 20.13.0 (or later).
Desktop (please complete the following information):

OS: macOS 14.4 (arm64)
SWA CLI version: 1.1.7

Additional context
swa-cli.config.json:
{
  "configurations": {
    "app": {
      "appDevserverUrl": "https://<IP_ADDRESS>:8081",
      "host": "<IP_ADDRESS>",
      "port": 8082,
      "ssl": true,
      "sslCert": "localhost-cert/localhost.crt",
      "sslKey": "localhost-cert/localhost.key"
    }
  }
}

can reproduce.
seems that it's binding to the external ip of the local machine.

Also reproduced.
swa --version =
1.1.8
sw_vers =
ProductName:            macOS
ProductVersion:         14.5
BuildVersion:           23F79

I investigated and it seems that there has been a change in the behavior of node's http module.
ref: https://github.com/nodejs/node/issues/53204
There are two ways to deal with this.
The first is to access it with a localIpAdress address. (e.g. 192.168.xxx.xxx)
The second is to remove the following line (I would like to ask for instructions from the product owner :eyes:)
https://github.com/Azure/static-web-apps-cli/blob/352be8f4ce2d01e1dac17797a80f9f414d612bc0/src/msha/server.ts#L174
If you do either of these, it looks like you can get it to work with

@yamachu can you expand on what you mean by:

The first is to access it with a localIpAdress address. (e.g. 192.168.xxx.xxx)

please?

@johnnyreilly
Normally when you are developing an application using the SWA CLI, you would access the web front application by accessing http://<IP_ADDRESS>:8082 or http://localhost:8082
Instead, you access it by typing the localIp address(private ip address?) in the address bar of your browser within the network to which the machine you are currently serving is part of (you can see this address in ifconfig, etc.).

Ah I see - so this would not be something that you could commit to source control as it would be potentially different for each user.

Highly recommend using patch-package (https://www.npmjs.com/package/patch-package) on this project at this point.
Lets you do little tweaks like the above PR and check it into source control so any developer on the team can benefit.

We've released version 1.1.10 recently that explicitly has Node 20 support.   Please let us know if you are still having problems.
Thanks!


Prepare to publish stable null safety

cc @lrhn
There are no differences in lib/ against the latest published pre-release.
https://github.com/lrhn/charcode/compare/lrhn:aa1ab12...lrhn:1ef99b5
CI will fail because of constraints with a low upper bound in cyclic dependencies. The versions are known compatible and are dev_dependencies so won't impact anyone on publish. Please merge this despite the failing CI.


Add filter option for FileHelper::clearDirectory

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

Fixed issues
#47

Any idea about Windows failures?

Thanks!


fix(custom-vision): npm link

Update:

Npm module links
Endpoint Url variable

@Yonet : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Use OS_BOTIFY_TOKEN instead of GITHUB_TOKEN

Details
In https://github.com/Expensify/App/runs/5149725235?check_suite_focus=true we saw that the token wasn't able to start the lint job, this upgraded token will allow the lint job to start.
Fixed Issues
Broken deploy: https://github.com/Expensify/App/runs/5149725235?check_suite_focus=true
Tests

Merge this PR
Verify confirmPassingBuild runs correctly

@roryabraham looks like this was merged without passing tests. Please add a note explaining why this was done and remove the Emergency label if this is not an emergency.

🚀 Deployed to production by @timszot in version: 1.1.39-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Head tag keeps multiplying with empty contents

Hi, any idea why this would be happening?

var pjax = new Pjax({ selectors: ["head title", "body"] }) but it works the same if I remove the head title

You can inspect it here also: http://saulesinterjerai.lt/ same problem same code

Still an issue?

I believe this is being caused by the issue described here:

We can’t replace body.outerHTML or head.outerHTML. It creates a bug where a new body or new head are created in the DOM. If you set head.outerHTML, a new body tag is appended, so the DOM gets 2 bodys, & it break the switchFallback which replaces head & body.

See here for more information about why this happens.
The code there is supposed to prevent that by using this.switchElementsAlt() instead of the default outerHTML switch. However, I don't see switchElementsAlt() defined anywhere.


Current planning glitches

Planning with the latest android app of @skywave
From: Voorburg
To: Utrecht Centraal
24 sep 2013
Arrive by 11:00; shows only the Sprinter from 10:01 to Utrecht, no transfers.
It seems that the planner doesn't count 11:00 arrive by as the trip results arrive at 11:00.
When planning for Arrive By 11:01, I do get the Sprinter and Intercity option.
But the even more interesting case why doesn't the router suggest:
Taking the Sprinter at 10:01, transfer to the Intercity and arrive 15 minutes early?
I could consider that given that I would plan for 9:59 this would be "ok" just one train, no transfers, everything will be "ok" and the solution could still be considered "well found".

Issue "expired" code has been changed too much


Use pendify_auction_status

Pull Request Test Coverage Report for Build 6

3 of 12 (25.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 79.803%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

openprocurement/auctions/geb/utils.py
1
3
33.33%

openprocurement/auctions/geb/views/cancellation.py
1
4
25.0%

openprocurement/auctions/geb/views/auction.py
1
5
20.0%

Totals

Change from base Build 4:
-0.3%

Covered Lines:
810

Relevant Lines:
1015

💛  - Coveralls

@Leits я прибрав конфлікт


Read content from xlsx file.

Hello Mates,
I want to read .xlsx file from my application. I am able to parse the file with help of below code.
var Excel = require('exceljs'); var workbook = new Excel.Workbook(); workbook.xlsx.readFile('ccsdemoquestions.xlsx')     .then(function(data) {         // use workbook          console.error("else data: " + data);      });
Where can i get excels column values in data object?
Please guide me on the same.

You have to read the worksheet present within the workbook. You will get "rows" from the worksheet. So something like this:
var inboundWorkbook = new Excel.Workbook();
var inboundWorksheet = inboundWorkbook.getWorksheet(1); //or name of the worksheet
inboundWorkbook.xlsx.readFile(req.file.path).then(function() {
   inboundWorksheet.eachRow({ includeEmpty: true }, function(row, rowNumber) {
	console.log("Row " + rowNumber + " = " + JSON.stringify(row.values));
   });
});

I have implemented like this,
var XLSX = require('xlsx'); var workbook = XLSX.readFile('ccsdemoquestions_CM.xlsx');
`var itemToSave={
'tags':"",
'subCategoryId':"",
'entryId':"",
'Question':"",
'Answer' : ""
};
var dataarray = [];
for (var count = 1; count < 27; count++) {
console.error(workbook.Sheets.Sheet1['A'+count].v);
// console.error(workbook.Sheets.Sheet1['B'+count].v);
// console.error(workbook.Sheets.Sheet1['C'+count].v);
itemToSave.tags = workbook.Sheets.Sheet1['A' + count].v;
itemToSave.subCategoryId = workbook.Sheets.Sheet1['B' + count].v;
itemToSave.entryId = workbook.Sheets.Sheet1['C' + count].v;
itemToSave.Question = workbook.Sheets.Sheet1['D' + count].v;
itemToSave.Answer = workbook.Sheets.Sheet1['E' + count].v;
}`

@neeraj87
I apply the same of your code
var Excel = require('exceljs'); var inboundWorkbook = new Excel.Workbook(); inboundWorkbook.xlsx.readFile("Data/DataSet.xls").then(function() { var inboundWorksheet = inboundWorkbook.getWorksheet(1); //or name of the worksheet inboundWorksheet.eachRow({ includeEmpty: true }, function(row, rowNumber) { console.log("Row " + rowNumber + " = " + JSON.stringify(row.values)); }); });
but I got the error TypeError: Cannot read property 'eachRow'
I work in version<EMAIL_ADDRESS>so I update eachrow function exactly like the documentation but still doesn't work


Start adding tests for registration. Style cleanup

@hanningni please review
cc @jotiram @rahul-clarice

:+1:


aws: Removed runtime flag use_http_client_to_fetch_aws_credentials

Risk Level: Low
Testing: Adjusted tests
Docs Changes:
Release Notes: added

After this, and when #36910 is resolved, I think the last uses of curl will be removed.


Pre-commit setup

Hi everyone :wave:
Thanks for this awesome Project!
When setting up my development environment (i.e. running make dev-env), I get the following error
make dev-env
Found system python version: 3.10

...

Successfully installed pelorus-0.0.0
⎇ Configuring git to ignore certain revs for annotations
if [ "" != ".git-blame-ignore-revs" ]; then \
	git config blame.ignoreRevsFile .git-blame-ignore-revs; \
fi
./scripts/setup-pre-commit-hook
⎇ setting up pre-commit hook
warning: pre-commit hook exists, should be symlink to .git/hooks/pre-commit
make: *** [Makefile:76: .git/hooks/pre-commit] Erro 1

I believe this errors occurs because I have configured pre-commit library to automatically setup it self when cloning a repository (more info here).
Can I setup Pelorus' pre-commit script without touching my pre-commit library configuration?
And there is a reason Pelorus does not use the pre-commit library?

And there is a reason Pelorus does not use the pre-commit library?

We just haven't felt the need to. Does it have any advantages over our makefile checks? (I've heard of pre-commit, but haven't look into it).
It looks like it calls out to makefile targets. With make, we can run multiple targets at the same time, meaning we only have pip checking our environment once. Otherwise, we're paying the cost each time a separate target is run.

I believe the advantages are easy setup (there a lot of hooks already implemented) and it can be configured to check even if not started with the make dev-env command (but can be bypassed normally with --no-verify/-n flag in the git commit command).
That is kind of a disadvantage, if you do not have the hook installed (a python library, docker image, etc), it will install again (even if you have in your virtual environment). But not always. For example, the first time you use the pylama hook, it will install it. But after this (even if you do not have a virtual environment), it will not install it again (until it's version is updated in the config file).

What I mean is, when running multiple targets with make, it will only try to set up the dev-env once, instead of once for each target invocation.
I'm confused about the easy setup-- do you mean for adding new hooks?

It would set up the hooks only once. Just when there is updates (like adding new hooks or updating the version of a previous hook), pre-commit would download what needed again (and just for modified hooks).
About the easy setup, for example, I did not have shellcheck installed in my computer, but pre-commit could run the shellcheck hook because it was configured as a docker image (and already configured, so I just had to add it in the config file, like they explain in the repo's README).

another advantage is that it does not run unnecessarily. Example: black updated and was complaining about python code format, but my PR was not touching any Python file, it should not complain on my branch. pre-commit library just run when rules apply (like run docker linter just when dockerfiles change, running shellcheck just when sh files change, etc)


default skip all exception in beam

added a flag BEAM_STRICT_MODE to catch compile error or other exceptions on demand

addressed #4811


[fix] Sequence generator uses Faker's random seed.

Fixes richarda23/faker-biology#6
Update sequence generator to use faker's random seed.
After this change, generated sequences are consistent for a given seed:
# for i in [1 ... 3]; do python3 scripts/repro_bioseq.py; done;
Authors:
1 / Sylvia Young / TAGGGGGAACTTCCGCAATAGTCCCACAAGCGTCGCACGACTGGCAGAGATGGCGCAGAATCGTCCCCGCTCTGAATGGAGGTCATTCATAGGAGCGCAA
Authors:
1 / Sylvia Young / TAGGGGGAACTTCCGCAATAGTCCCACAAGCGTCGCACGACTGGCAGAGATGGCGCAGAATCGTCCCCGCTCTGAATGGAGGTCATTCATAGGAGCGCAA
Authors:
1 / Sylvia Young / TAGGGGGAACTTCCGCAATAGTCCCACAAGCGTCGCACGACTGGCAGAGATGGCGCAGAATCGTCCCCGCTCTGAATGGAGGTCATTCATAGGAGCGCAA

Sorry I missed this! Looks great, thank you for your contribution. I'll get a new release out with this change


Method to share data between script calls

I am currently doing a very brute force method of connecting to a MongoDB database, inserting one record, and then closing it all down.  Is there a method to store data to be shared among runs of the script?  I have to admit a lack of knowledge of Python.  I'm more of a Ruby person. :)

Hi Michael,
sure - two ways:

Just use a global variable, like this:

f = open("example.db")

def request(context, flow):
    f.write("foo")
    f.flush()

Use mitmproxy's context object,which you can (de)initialize with the start() and stop() hooks. An example of this is iframe_injector.py.

Cheers,
Max


mmultiscripts with odd number of post-scripts doesn't render correctly

If the number of post-scripts in an <mmultiscripts> element is odd, then the pre-scripts are rendered to the right (i.e., the <mprescripts/> acts as <none/>).  E.g.
<mmultiscripts>
<mi>X</mi>
<mi>a</mi><mi>b</mi>
<mi>c</mi>
<mprescripts/>
<mi>x</mi><mi>y</mi>
<mi>z</mi>
</mmultiscripts>

puts all the scripts as post-scripts.  I.e.,
  b y
X
  acxz

I wasn't sure when we want to fix this so I added it to the 2.6 milestone (so that we don't forget about it but can move it out again when 2.6 is finalized)

This is resolved in the issue1188 branch of my fork of MathJax for both HTML-CS and SVG output.  Also corrected in the CommonHTML output in the chtml branch.

=> Merged.

=> in testsuite
MathMLToDisplay/Presentation/ScriptsAndLimits/mmultiscripts/issue1188.html


Nick: Watch vst-lighting.com

Nick requests the watch of the watch_keyword vst-lighting\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

vst-lighting\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


[BugFix]Revert "[Enhancement] remove some useless operatitons when start as c…

…n (#31947)"
This reverts commit 6b577c1926fd68bffb5675b23fdfff0ba14dc7fd.
Fixes #issue
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:disappointed: fail : 9 / 12 (75.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/agent/heartbeat_server.cpp
0
1
00.00%
[221]

:large_blue_circle:
src/storage/storage_engine.h
0
1
00.00%
[268]

:large_blue_circle:
src/service/service_be/starrocks_be.cpp
0
1
00.00%
[100]

:large_blue_circle:
src/storage/storage_engine.cpp
7
7
100.00%
[]

:large_blue_circle:
src/storage/data_dir.cpp
2
2
100.00%
[]

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:disappointed: fail : 9 / 12 (75.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/agent/heartbeat_server.cpp
0
1
00.00%
[221]

:large_blue_circle:
src/storage/storage_engine.h
0
1
00.00%
[268]

:large_blue_circle:
src/service/service_be/starrocks_be.cpp
0
1
00.00%
[100]

:large_blue_circle:
src/storage/storage_engine.cpp
7
7
100.00%
[]

:large_blue_circle:
src/storage/data_dir.cpp
2
2
100.00%
[]

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:disappointed: fail : 9 / 12 (75.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/agent/heartbeat_server.cpp
0
1
00.00%
[221]

:large_blue_circle:
src/storage/storage_engine.h
0
1
00.00%
[268]

:large_blue_circle:
src/service/service_be/starrocks_be.cpp
0
1
00.00%
[100]

:large_blue_circle:
src/storage/storage_engine.cpp
7
7
100.00%
[]

:large_blue_circle:
src/storage/data_dir.cpp
2
2
100.00%
[]

@Mergifyio backport branch-3.2


let definition cannot be the last item of an interface

Can I have a let definition as the last item of an interface? It seems not.
Indeed, consider the following interface file X.fsti:
module X
val x: int
let y: int = x + 1

and the corresponding implementation file X.fst:
module X
let x = 1

Then, fstar.exe X.fst fails with the following error:
./X.fst(1,7-1,8): (Error) Some interface elements were not implemented by module X:
	let y
1 error was reported (see above)

This error disappears if I add another declaration after y in X.fsti (and implement it accordingly in X.fst)

This just bit me - it turns out it applies to all the let definitions at the end of an interface, not just the final one.


Generated modules don't include newlines by default

As discussed with @natefaubion - tidy-codegen should always print a trailing newline, but at the moment it doesn't.
An immediate workaround is to do trailing mod (lineBreaks 1), where mod is your generated module.

Fixed in 1.1.0


Merlin Model library v1.0

https://docs.google.com/presentation/d/1jxj9zjeRRu1BJSf8tzaWoQVr5h7HZbOUsSh39Rcwv80/edit#slide=id.g10be2c57ddf_7_0
Transformers4rec library (100s of session-based models)Retrieval: Two-tower (Walmart), Youtube DNN model (Postmates), TransformerRanking: TF - Wide and Deep, DLRM, DeepFM, TransformerMerlin SOK integrationExample notebooksDocumentation
Aha! Link: https://nvaiinfa.aha.io/epics/MERLIN-E-149

Closing this ticket. It's not being used to track development Previously mapped frmo Aha! .


⚠ Roblox Site has degraded performance

In 3c07f5d, Roblox Site (roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 4910 ms

Resolved: Roblox Site performance has improved in 136062f after 13 minutes.


Vittorio tests

Updated and modified my tests, added color check. Split 1 one of the tests into 2. And merged one test into another as it's more efficient.
Replaced  - super(TestSelectable, self).setUp(BASE_URL) with self._setUp(BASE_URL), otherwise tests fail on my machine right away.
Wanted to add color check for Grid but I need to work on it separately as value_of_css fails for some reason.

Fixed failing test by adding  super(TestSelectable, self).setUp(BASE_URL) which makes tests to fail on my machine.


[To Do]Add todo sample transcript to docs/transcripts

Add todo sample transcript to docs/transcripts
Description
Be part of #798

Thank you!!


Block xxxxx submission failed with: Block decode failed

Description
submission failed with: Block decode failed
[Description of the issue]
x11 coin Failure to submit normally, Appear "Block xxxxx submission failed with: Block decode failed"
Steps to Reproduce

start pool
mining
Block xxxxx submission failed with: Block decode failed

Expected behavior
submitted
Actual behavior
no submitted
Reproduces how often
100%
Version
Master
Additional Information
##coins.json
"hasMasterNodes": true,
##getblocktemplate
{
"capabilities": [
"proposal"
],
"version": 536870912,
"rules": [
],
"vbavailable": {
},
"vbrequired": 0,
"previousblockhash": "00000000000982e1df8ba1cd922379f113a7853209e9a7ad07fda06e5526a60e",
"transactions": [
],
"coinbaseaux": {
"flags": ""
},
"coinbasevalue":<PHONE_NUMBER>,
"longpollid": "00000000000982e1df8ba1cd922379f113a7853209e9a7ad07fda06e5526a60e13",
"target": "0000000000124399000000000000000000000000000000000000000000000000",
"mintime":<PHONE_NUMBER>,
"mutable": [
"time",
"transactions",
"prevblock"
],
"noncerange": "00000000ffffffff",
"sigoplimit": 40000,
"sizelimit": 2000000,
"curtime":<PHONE_NUMBER>,
"bits": "1b124399",
"height": 287153,
"masternode": {
"payee": "XnXCu4jfxC3zqKM4kcQBMKGuKe1ZqE9jtg",
"script": "76a91481ceef3fa6cde058e8eda14b2b3a4202d7ca472b88ac",
"amount":<PHONE_NUMBER>
},
"masternode_payments_started": true,
"masternode_payments_enforced": true,
"superblock": [
],
"superblocks_started": true,
"superblocks_enabled": false
}
##LOG
[2019-09-14 08:11:17.0973] [I] [BSH] Submitting block 287032 [00000000000a90d5c7389d9bc6400ed78aece253e2458779952780a28e15f317]
[2019-09-14 08:11:17.0973] [D] [BSH] ExecuteBatchAnyAsync("submitblock", "getblock")
[2019-09-14 08:11:17.0973] [W] [BSH] Block 287032 submission failed with: Block decode failed
[2019-09-14 08:11:17.0973] [D] [BSH] [0HLPOK57PO5KK] Sending: {"result":true,"error":null,"id":235}
[2019-09-14 08:11:17.0973] [I] [BSH] [0HLPOK57PO5KK] Share accepted: D=109.011
[2019-09-14 08:11:17.1016] [D] [BSH] [0HLPOK57PO5KK] Updating VarDiff
[2019-09-14 08:11:17.1016] [D] [MessageBus] Listening to Miningcore.Mining.ClientShare:
[2019-09-14 08:11:17.1016] [D] [BSH] [0HLPOK57PO5KK] [PIPE] Waiting for data ...
[2019-09-14 08:11:17.1502] [D] [BSH] [0HLPOK57PO5KI] Updating VarDiff [idle]
[2019-09-14 08:11:17.1502] [D] [MessageBus] Listening to Miningcore.Mining.ClientShare:
[2019-09-14 08:11:17.1502] [I] [BSH] [0HLPOK57PO5KI] VarDiff update to 76.03
[2019-09-14 08:11:17.1502] [D] [BSH] [0HLPOK57PO5KI] Sending: {"jsonrpc":"2.0","method":"mining.set_difficulty","params":[76.033281819155221],"id":null}
[2019-09-14 08:11:17.1502] [D] [BSH] [0HLPOK57PO5KI] Sending: {"jsonrpc":"2.0","method":"mining.notify","params":["00000153","3ffb913b104a6b722d1d8abac62e71ba5368b4f2b130622100023fa500000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff1f033861040422307c5d00","0c2f4d696e696e67436f72652f0000000002803c51b5000000001976a9149824a47f1692cc56b0b65de2da1c24d8b5d8855488ac803c51b5000000001976a9146b5f11f14fb1836c4cf57e07dcfbe351aba1060b88ac00000000",[],"20000000","1b0b8321","5d7c3022",false],"id":null}
[2019-09-14 08:11:17.3911] [D] [BSH] [0HLPOK57PO5KK] [NET] Received data: {"id":236,"method":"mining.submit","params":["Xgc5Y2zNmKriVLaQ9KyFJTggeuSEwNw8L2","00000153","2c2b0100","5d7c302a","6a1ce162"]}
[2019-09-14 08:11:17.3911] [D] [BSH] [0HLPOK57PO5KK] [NET] Waiting for data ...
[2019-09-14 08:11:17.3911] [D] [BSH] [0HLPOK57PO5KK] [PIPE] Received data: {"id":236,"method":"mining.submit","params":["Xgc5Y2zNmKriVLaQ9KyFJTggeuSEwNw8L2","00000153","2c2b0100","5d7c302a","6a1ce162"]}
[2019-09-14 08:11:17.3911] [D] [BSH] [0HLPOK57PO5KK] Dispatching request 'mining.submit' [236]
[2019-09-14 08:11:17.3911] [D] [BSH] SubmitShareAsync(0HLPOK57PO5KK)
[2019-09-14 08:11:17.3911] [I] [BSH] [0HLPOK57PO5KK] Share accepted: D=109.011
[2019-09-14 08:11:17.3911] [D] [BSH] [0HLPOK57PO5KK] Sending: {"result":true,"error":null,"id":236}
[2019-09-14 08:11:17.3911] [D] [BSH] [0HLPOK57PO5KK] Updating VarDiff
[2019-09-14 08:11:17.3911] [D] [MessageBus] Listening to Miningcore.Mining.ClientShare:
[2019-09-14 08:11:17.3911] [D] [BSH] [0HLPOK57PO5KK] [PIPE] Waiting for data ...
[2019-09-14 08:11:17.5955] [D] [BSH] UpdateJob()
[2019-09-14 08:11:17.5955] [D] [BSH] GetBlockTemplateAsync()
[2019-09-14 08:11:17.5955] [D] [BSH] ExecuteCmdAnyAsync("getblocktemplate")
[2019-09-14 08:11:18.6302] [D] [BSH] UpdateJob()
[2019-09-14 08:11:18.6302] [D] [BSH] GetBlockTemplateAsync()
[2019-09-14 08:11:18.6302] [D] [BSH] ExecuteCmdAnyAsync("getblocktemplate")

Hi, I am this error too when use CoinbaseTxComment for dgb-sha256

did the blocks started getting submitted ?


"undefined Projects" when organization has no projects

When an organization has no projects, its dashboard shows a wrong message:

Should say "No projects", or something like that. No "undefined"

It should say the {organization name} Projects, like this:

I made a new organization locally but I couldn't recreate it showing "undefined".


Upgrade azure pipelines SDK to v2

Update Azure pipelines SDK to version 2.
Reference docs - https://learn.microsoft.com/en-us/azure/machine-learning/migrate-to-v2-execution-pipeline?view=azureml-api-2

It's blocking next release, as current library/SDK misses binaries for ARM and fails to build on Mac.

I’m pretty sure we transitioned everything to the v2 sdk a while back see here. I also don’t see where we have a dependency on azureml v1 atm?
Also according to pypi the latest version of azureml-dataprep-rslex 2.22.2 was published in January and I don’t think we had any issue recently on our side on mac machines. When are you encountering the issue?

@fdroessler By Mac do you mean Intel or silicon based ones? I tried building it locally on my M1 but failed to do so because no ARM wheels are available for the mentioned library.

As @fdroessler said, we are already on the SDK v2 (which is the azure-ai-ml package instead of azureml-core. I get a different error, but indeed don't manage to install any version of azureml-fsspec on my M1. This issue seems to be tracked here: https://github.com/Azure/azure-sdk-for-python/issues/30593.

Looks like misdiagnosis, thanks for the feedback. I'll close this issue, and maybe open another one to keep track of apple silicon azureml problem.


Standalone example needs 'bundler/setup' to run

Running the standalone example results in an error:
cannot load such file -- dry/system/container (LoadError)
This PR adds the necessary require statement to get the bundler environment up and running.

oh thank you! I'm so used to running stuff with bundle exec that I just forgot about this :)


Switch to a third-party library for RSS parsing

We discussed this a couple times but never got around to do it.
I decided it was time to fix it after finding too many bugs
with the existing RSS code while testing thingpedia-common-devices
(in the parts that are not shown by the formatted output)

Pull Request Test Coverage Report for Build 27

11 of 11 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.9%) to 42.432%

Totals

Change from base Build 25:
-0.9%

Covered Lines:
252

Relevant Lines:
541

💛  - Coveralls


fix #1336 - slows down build slightly, but should no longer need to peri...

...odically clean
It looks like whatever issue was causing us to need to disable maven's incremental compilation because it was completely broken is no longer affecting the project. Second build goes up from 15 seconds to 30 seconds, but 3rd and following builds remain at 15 seconds, and in exchange, you should no longer ever have to run mvn clean.
@yilongli please review

lgtm


OCPBUGS-32867: replaces deprecated square/go-jose with go-jose/go-jose

This commit replaces all the references of github.com/square/go-jose to github.com/go-jose/go-jose@v2.
Manual cherry-pick of https://github.com/openshift/openshift-controller-manager/pull/342

/jira refresh

/jira refresh

/ok-to-test


Codecov github action

The same github action I've used in waku-bindings. Might require repo owner to register on codecov.io

Codecov Report
Patch has no changes to coverable lines.
:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
:loudspeaker: Thoughts on this report? Let us know!.

The same github action I've used in waku-bindings. Might require repo owner to register on codecov.io

Logos-co is not registeres in codecov. @corpetty I think you are the admin for it right?


[BUG] Duplicate records in effectivity satellites (vault_insert_by_period)

Describe the bug
When adding macro vault_insert_by_period in eff_sat, it doesn't insert the most recent closed records from source data.
Versions
dbt: 0.20.0
dbtvault: <IP_ADDRESS>
To Reproduce
Steps to reproduce the behavior:

Set a staging table with two records: one with end_date which doesn't equal '9999-12-31', the other with a specific end_date. Other columns of the two records are the same.
Set an eff_sat table which source_model is the staging table set in step 1
Run dbt run -m ${model_name}
There's only one record in the eff_sat table. The record which has end_date not equal '9999-12-31' doesn't exist in the eff_sat table.

Expected behavior
All the records in the staging table should exist in the eff_sat table in the first run of dbt run.
Screenshots
You can test with the code here.
sat_link_a_b_period.sql will have the following result in the first run:

Thanks for your report and continued assistance with this issue. I have taken a brief look at this. What I can see initially is that you seem to be end-dating in the stage table, and is_auto_end_dating is disabled (as per default). When we load an effectivity satellite, we don't perform any end dating (if auto end dating is disabled) and we expect the stage to only have the max date for the end date, in all records. The end dating can then be worked out later with your own logic and business rules. Your CASE WHEN not _fivetran_deleted... should be applied as a business rule later, and not in the stage table. Effectivity Satellites are still part of the raw vault, and therefore we load data without any soft business rules applied.
We will have a look through the examples you have provided (thanks, very helpful!) in more detail as soon as we can and get back to you on this.

I have investigated your example. The two example records in stage are duplicates as far as the eff sats macro is concerned. Nothing about the PKs / FKs differs so the eff sats macro loads the record with the earliest load date, hence the result of only one record in the eff sat table, and being a 'first' record for these PKs / FKs this is given the max end date. No account is taken of any end date calculated in stage. The auto end dating configuration is not relevant in the example because no closing eff sat record is being created. Alex has explained how for this situation you should calculate end dating later if you are not going to use auto end dating. I hope this helps to explain what is happening.

Thanks for your explanation. In my understanding, you mean that the eff_sat is only suitable for link records that have sfk changes, am I right? So how can we deal with the situation, for example, a record used to exist in the sat table, then we removed it?

Thanks for your explanation. In my understanding, you mean that the eff_sat is only suitable for link records that have sfk changes, am I right? So how can we deal with the situation, for example, a record used to exist in the sat table, then we removed it?

Not exactly. If the links don't change then no insert into the eff sat will occur. In your case we have two records in the same load/batch which are duplicates, so to avoid loading both the eff sat simply loads the earliest records.
We should never remove records from the table, manually or otherwise, as it is all insert only as per Data Vault 2.0 standards.
The eff sat logic will deal with records that 'flip flop', i.e. records which go in and out of being activez but we never delete those records, we simply insert a new record with the adjusted start and end dates.
Hope this helps. Please feel free to ask more questions

We will ensure that the methods for loading the Raw Vault are documented more clearly. This is not a bug as such, but a mismatch between the intended implementation of Data Vault 2.0 and dbtvault.
In short: A single load/batch (i.e. dataset present in the stage layer) should contain only a delta set of data; the changes since the last load. This means each batch should only have unique PKs. We can have 10 different PKs, but we cannot have any of those 10 PKs again in the same load.
Closing in favour of #93. Thank you.


Loading pre-trained model from .sashdat table file error

I am trying to load a model from a .sashdat table file using the following lines of code:
model5 = Model(sess)
model_file = '/disk/linux/dlpy/vgg16.sashdat'
model5.load(path=model_file)
I am getting the following error:

I recently installed dlpy using pip.

@wenyushi would you please take a look at this. Thanks

@carolinepotts Would you mind sharing the sashdat or the script that generates the model? Thanks.

@wenyushi It is actually one of the example notebooks - the one called A_Comprehensive_Image_Classification_Example in the quick_start folder

After vb015, we add padding_width, height, top and left as properties in the convolution and pooling layer. The model in the test case was generated before the change. Anyway, in order to be compatible with old Viya release, I will push a fix to check the existing of the properties.

@wenyushi I believe this is resolved, right? are we ready to close this issue?

Yes, please close it.


Is it possible to download models and textures from server in real time?

Yes this is covered at https://github.com/google-ar/sceneform-android-sdk/issues/94

@malik-at-work Is it possible to download from server textures and obj. files? I see the issue only about sfb

Assets need to be converted to sfb first, we do not load obj at runtime.
On Thu, Jun 21, 2018 at 11:06 AM Ulia<EMAIL_ADDRESS>wrote:

@malik-at-work https://github.com/malik-at-work Is it possible to
download from server textures and obj. files? I see the issue only about sfb
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google-ar/sceneform-android-sdk/issues/130#issuecomment-399193739,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbeusyoDoGBN0MoyhypTDIjmxGNoBuzbks5t--CjgaJpZM4Uxfzv
.


Fixed - The getter 'bodyText2' isn't defined for the class 'TextTheme'.

Fixes #94
Ref - https://docs.flutter.dev/release/breaking-changes/3-19-deprecations

@chenzhiguang can you please review this

Any word on getting this PR merged? When using the latest Flutter (3.24.1), this bug is a build breaker. 😊

use this in your pubspec.yaml @cliftonlabrum till this PR get's merged
markdown_viewer:
    git:
      url: https://github.com/ogtushar/markdown_viewer
      ref: fix-breaking-changes

Excellent, thank you! 😊


It isn't used, and the license is not friendly for integrations:
Copyright Bouke van der Bijl

I do not give anyone permissions to use this tool for any purpose.
Don't use it.

I’m not interested in changing this license. Please don’t ask.

Solomon fixed this in an alternative way.


bdutil extenstion for Apache Tajo

Hi,
It seems that yshan's contribution is waiting for review. His contribution is a bdutil extention for Apache Tajo, an open source SQL-on-Hadoop system (http://tajo.apache.org). The extension enables Google cloud users to deploy and setup Tajo cluster and start their big data analysis on GCP.
Can you please review the request?
https://github.com/GoogleCloudPlatform/bdutil/pull/67
Youngkyong

Hi @AngusDavis ,
I have updated the #67 about your comment.
Thanks!!

Closed by https://github.com/GoogleCloudPlatform/bdutil/commit/91ab4cc26ff3fd3cf20bd7d82bcde1c0b8d3147a


Limit the removePageBorders option, in PDFViewer, to only GENERIC builds

This option was added specifically for third-party users, but has never been used in the PDF.js project itself.
Furthermore there's no preference that can be used to enable it, and you need to provide the removePageBorders option when initializing a PDFViewer-instance.
This patch thus get rid of a little bit more unused code in the Firefox PDF Viewer.

/botio integrationtest


ci: move benchmark into Github Actions

Problem
we don't store those benchmark results properly and it's hard to compare with previous run.
Summary of Changes

try to use benchmark-action/github-action-benchmark@v1. it will store result and generate a useful github pages. it looks like https://yihau.github.io/solana/dev/bench/
remove some useless pipeline scripts
update pipelines

I would like to use this one as the first version and will add more missing benchmarks into it in the following PRs.

before merge

[x] create a gh-page branch
[x] set up self-hosted runner

@brooksprumo sorry for the late response. this one is ready for another look!

yes! I only set up 1 machine for running benchmark. it means it will run on the same machine every time!

@brooksprumo yeah should be possible but I will try to another plan for the benchmark haha.

I will try to store benchmark data into influxdb so that we can do more thing. will open another PR for it!


[WIP] Followups on visible-messages algorithm (#3040)

This contains the two still-WIP followup cleanup commits I mentioned on #3040 .

(@borisyankov made a comment on one line of this over on #3040 .)

@gnprice, what's the status of this PR? 🙂


expose QR decomposition from Eigen

In the Stan syntax, we should allow
Q <- qr_Q(Sigma); # and / or
R <- qr_R(Sigma);

that call the QR decomposition from Eigen. The most immediate benefit of this is that if Sigma is filled with iid standard normal entries, then Q is uniformally distributed among matrices such that Q * Q' = I iff the diagonal entries of R are strictly positive,
This means you have to flip the sign of any column of Q that corresponds to a negative diagonal element of R and then flip the sign of the negative diagonal element, so we should do that inside the Stan wrapper function.
Stewart gives a more efficient algorithm for generating a uniform orthongonal matrix in
http://scholar.google.com/scholar?cluster=9624126043451739081&hl=en&as_sdt=1,33
but it is more complicated to implement in Stan syntax. So, if we go that route, we really need an orthogonal matrix type that also handles the Jacobian.

This was merged a while ago.


功能经常报错有时又能用

Traceback (most recent call last):
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/anyio/_core/_sockets.py", line 164, in try_connect
    stream = await asynclib.connect_tcp(remote_host, remote_port, local_address)
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 1691, in connect_tcp
    await get_running_loop().create_connection(
  File "uvloop/loop.pyx", line 2039, in create_connection
    raise exceptions[0]
  File "uvloop/loop.pyx", line 2016, in uvloop.loop.Loop.create_connection
    await waiter
ConnectionRefusedError: [Errno 111] Connection refused

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpcore/_exceptions.py", line 10, in map_exceptions
    yield
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpcore/backends/asyncio.py", line 111, in connect_tcp
    stream: anyio.abc.ByteStream = await anyio.connect_tcp(
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/anyio/_core/_sockets.py", line 222, in connect_tcp
    raise OSError("All connection attempts failed") from cause
OSError: All connection attempts failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions
    yield
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpx/_transports/default.py", line 353, in handle_async_request
    resp = await self._pool.handle_async_request(req)
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpcore/_async/connection_pool.py", line 253, in handle_async_request
    raise exc
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpcore/_async/connection_pool.py", line 237, in handle_async_request
    response = await connection.handle_async_request(request)
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpcore/_async/http_proxy.py", line 261, in handle_async_request
    connect_response = await self._connection.handle_async_request(
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpcore/_async/connection.py", line 86, in handle_async_request
    raise exc
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpcore/_async/connection.py", line 63, in handle_async_request
    stream = await self._connect(request)
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpcore/_async/connection.py", line 111, in _connect
    stream = await self._network_backend.connect_tcp(**kwargs)
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpcore/backends/auto.py", line 29, in connect_tcp
    return await self._backend.connect_tcp(
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpcore/backends/asyncio.py", line 111, in connect_tcp
    stream: anyio.abc.ByteStream = await anyio.connect_tcp(
  File "/usr/lib/python3.9/contextlib.py", line 137, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
    raise to_exc(exc)
httpcore.ConnectError: All connection attempts failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/my/bot/zhenxun_bot/bot.py", line 22, in <module>
    nonebot.run()
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/nonebot/__init__.py", line 273, in run
    get_driver().run(*args, **kwargs)
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/nonebot/drivers/fastapi.py", line 172, in run
    uvicorn.run(
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/uvicorn/main.py", line 578, in run
    server.run()
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/uvicorn/server.py", line 61, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/nonebot/message.py", line 142, in _check_matcher
    await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)
> File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/nonebot/message.py", line 188, in _run_matcher
    await matcher.run(bot, event, state, stack, dependency_cache)
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/nonebot/internal/matcher/matcher.py", line 727, in run
    await self.simple_run(bot, event, state, stack, dependency_cache)
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/nonebot/internal/matcher/matcher.py", line 702, in simple_run
    await handler(
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/nonebot/dependencies/__init__.py", line 108, in __call__
    return await cast(Callable[..., Awaitable[R]], self.call)(**values)
  File "/home/my/bot/zhenxun_bot/extensive_plugin/nonebot_plugin_bawiki/command/global_future.py", line 56, in _
    await matcher.finish(await db_global_future(all_img=True))
  File "/home/my/bot/zhenxun_bot/extensive_plugin/nonebot_plugin_bawiki/data/bawiki.py", line 163, in db_global_future
    data = (await db_get_wiki_data())["global_future"]
  File "/home/my/bot/zhenxun_bot/extensive_plugin/nonebot_plugin_bawiki/data/bawiki.py", line 28, in db_get_wiki_data
    return await db_get("data/wiki.json")
  File "/home/my/bot/zhenxun_bot/extensive_plugin/nonebot_plugin_bawiki/data/bawiki.py", line 24, in db_get
    return await async_req(f"{config.ba_bawiki_db_url}{suffix}", raw=raw)  # type: ignore
  File "/home/my/bot/zhenxun_bot/extensive_plugin/nonebot_plugin_bawiki/util.py", line 131, in async_req
    resp = await cli.request(method, url, params=params, **kwargs)
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpx/_client.py", line 1533, in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpx/_client.py", line 1620, in send
    response = await self._send_handling_auth(
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpx/_client.py", line 1648, in _send_handling_auth
    response = await self._send_handling_redirects(
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpx/_client.py", line 1685, in _send_handling_redirects
    response = await self._send_single_request(request)
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpx/_client.py", line 1722, in _send_single_request
    response = await transport.handle_async_request(request)
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpx/_transports/default.py", line 353, in handle_async_request
    resp = await self._pool.handle_async_request(req)
  File "/usr/lib/python3.9/contextlib.py", line 137, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-XNwg48JX-py3.9/lib/python3.9/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.ConnectError: All connection attempts failed

在使用千里眼和查漫画等功能经常出现这样的报错，我想问一下这里是网络问题导致还是什么

可能是CDN使用的 域名SSL证书 / 域名本身 到期了，建议参考 文档 挂上代理并换源使用


[ Improvement: ] Folders. (Again... But different!? 😆😁)

Simple yet difficult?
"Consider implementing a feature inspired by the Windows file system, allowing users to organize notes into distinct folders with customizable names and labels for better categorization and organization."
When label's aren't enough...

Tap 6 times on card with app name, you will activate extra features, then in settings there will be option to add 3 extra label with custom names. (now it's hided because of something maybe wrong with this option)
i'm just indie developer, my capabilities are limited in the implementation of things🙄

also if you click on label chip you will see notes only with this label

Ahh oki ty this will do for now. :)
Maybe I'll fork and figure it out on my own.

added fully working labels finally 😄
in version 5.5.0


Refined WebSocket Message Architecture

closes #25
closes #35

Nice this looks good, just needs to be implemented to work with the board

Thanks for the feedback.
This was supposed to be a draft still

I like I like game clean blends with the board now

Yeah and I believe this will make it easier to make architectural changes without affecting your chess board too much


Hemanth paila framer motion

Fixed the issue #336.

Hey, @devvsakib Could you please resolve the conflicts?

Same things are happening.

Conflict because you reverted the previous commit.


ci: add concurrency to run tests only on most recent PR commit

What this PR does / why we need it:
This PR aims to use Github Actions' concurrency to run tests and code scanning only on most recent PR commits and cancel anything prior to that.
This seems to work but unfortunately it notifies you whenever a job gets cancelled and it's impossible to suppress this notification
It's supposedly on Github's roadmap to address this: https://github.com/community/community/discussions/13015

@pmalek Do want to merge it despite the warning emails?

@pmalek Do want to merge it despite the warning emails?

czeslavo approved these changes

I guess so 🙃


fix: Operator::remove_all behaviour on non-existing object fixed

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
fixes #1585

Great!


Native optimizations

By directly accessing the pointer backing arrays we can avoid data copies and zones.

Codecov Report

Merging #849 (3a6965e) into main (e877160) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #849   +/-   ##
=======================================
  Coverage   85.01%   85.01%
=======================================
  Files         126      126
  Lines        1742     1742
  Branches      147      147
=======================================
  Hits         1481     1481
  Misses        261      261

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


AttributeError: module 'torch.nn.functional' has no attribute 'one_hot'

if args['do_train']:
train_dataset = load_and_cache_examples(task, tokenizer)
global_step, tr_loss = train(train_dataset, model, tokenizer)
logger.info(" global_step = %s, average loss = %s", global_step, tr_loss)
I still get this error when running this step despite having torch 1.3.0 and torchvision 0.4.1. Has anyone found a solution for this error?

This may be caused by an update to the Hugging Face Transformers library. Please consider using Simple Transformers as this repo may not be compatible with the current Hugging Face library.


Add chunked prefill support in vllm and lmi-dist

Description

Adds enable_chunked_prefill flag for lmi-dist and vllm backends.
Tests pass locally.

let's add this after 7/22 release.


wallet handling due to moving standards

The last two updates on the Bitcoin client came with significant changes in terms of the integrated wallet.
First of all, of course, most catching to the eye, there's the support for multiple wallets (been there for a while) and the innovation is on-the-fly wallet change. Well, this shouldn't concern us here, just a notice.
It becomes interesting when we are looking at the account handling. This one got deprecated and accounts are replaced by labels now. At the first step of depreciation - done in bitcoin 0.16 - they were somehow working in parallel and the user only experienced the name change. In the background though, things have already been changing, that time one noticed in MPOS already, that on the Admin panel the newly introduced labels have been showing up as accounts but transactions have been missing on the admin panel.
Nowadays the logic has changed in another step, instead of binding an address to an account, a label is bound to an address now. Sounds trivial but that's basically elevating the whole level of MPOS's payment processor to wallet level rather than account level. Tbh I am not aware if and which deprecated RPC calls are currently being used by the processor, however, the whole visualisation is worth being adapted.
Another interesting feature recently introduced is the rework of CoinControl. Those improvements we could possibly use to work for us in the background in conjunction with the changes described above. As node owner now can opt to chose coins to send grouped by address instead of total amount, I can see some privacy improvement there for the convenience of the pool owner as well as the miner.  This change is only concerning entities who re-use addresses like miners, exchanges and some conservative merchants.
As usual, this is not (yet) a bug report but a try to catch future issues early. It's a call to contributors out there, if you like to work on, I am always happy to assist in any way as a client guy, from Bitcoin to Shitcoin ;-)

Nice find, but unless someone finds the time to adjust MPOS to support both new and all account systems, I don't know if we'll see it in the core here too :-/

It's a call for example to @lubuzzo as a very talented newcomer with deep understanding how things are working out ;-)

I have a complicated test at college tonight, so I still didn't take a look on that. But I'll take a look this week, and see what I can do.

Here's an example of what we get on the latest Bitcoin code
[Thu Oct 04 09:53:05.075170 2018] [:error] [pid 7884] [client <IP_ADDRESS>:9981] PHP Fatal error:  Uncaught Exception: RPC call did not return 200: HTTP error: 404 - JSON Response: [-32601] Method not found in /var/www/MPOS_OZC/include/lib/jsonRPCClient.php:120\nStack trace:\n#0 /var/www/MPOS_OZC/include/classes/bitcoinwrapper.class.php(58): jsonRPCClient->__call('listaccounts', Array)\n#1 /var/www/MPOS_OZC/include/pages/admin/wallet.inc.php(13): BitcoinWrapper->getrealbalance()\n#2 /var/www/MPOS_OZC/public/index.php(145): require_once('/var/www/MPOS_O...')\n#3 {main}\n  thrown in /var/www/MPOS_OZC/include/lib/jsonRPCClient.php on line 120, referer: https://ozc.pool.hashunlimited.com/index.php?page=dashboard

until now we were still able to use deprecatedrpc=accounts in the coin config but that's history....

Basically I am missing an idea what advantage the support of accounts could possibly have in MPOS, could that be entirely dropped?
While switching to labels would be a nice feature, the swap might not be straight forward as the output format has changed:
getaddressesbyaccount
  "CN872jALfKPxs2j4Amc2jALfKPxsCoJSfi1n2",
  "CQAmc2jALfKPxsG3UcAmc2jstXFFHcPfcH",
  "2fRRtu1yRnJPnY3vYarTf9VfQ9PPvogcm4",
  "2sBBaZAmc2jALfKPxs62jALfKPxsfQAzuddZ7",
  "chc1q8cfn447wt97myjmt3jgjayyg0drv27v639u8n4",
  "chc1q23f2jALfKPxs3xuhdx3sAmc2jALfKPxsc324as"

getaddressesbylabel
  "CN872jALfKPxs2j4Amc2jALfKPxsCoJSfi1n2": {
    "purpose": "receive"
  }

So what would be the 'beneficial' way of doing this?
Coding it to support both the old and new ways of daemon RPC access? How difficult would that be to do for a PHP coder? We would be happy to discuss and fix if we can with them.
In the BTC and new OZC daemons, there is literally NO access to the RPC at all via MPOS now. It can't actually 'see' the daemon at all.
#crysx

I thinks it goes a bit deeper as we are not only looking at a change in the data structure but also at some basic MPOS functionality which needs to be adapted (and idk how flexible we are there).
Apart from structure change of labels and sendmany, we need to see how the payment processor is validating the balances. MPOS will always attempt to pay from the "default" account. Now applying the label structure onto that one isn't an issue but keep in mind that the change will always be on a new address unless explicitly defined in the sendto. So they are not going to be credited towards the balance unless we consider the wallet as "account".

@TheSerapher I made a PR, #2776.
I believe I fixed the problem with the compatibility with the latest Bitcoin's change.
When you have some time, take a look.

Closing here to tidy up, further discussion belongs to the referenced PR.


[SPARK-41228][SQL] Rename & Improve error message for COLUMN_NOT_IN_GROUP_BY_CLAUSE.

What changes were proposed in this pull request?
This PR proposes to rename COLUMN_NOT_IN_GROUP_BY_CLAUSE to MISSING_AGGREGATION.
Also, improve its error message.
Why are the changes needed?
The current error class name and its error message doesn't illustrate the error cause and resolution correctly.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
./build/sbt “sql/testOnly org.apache.spark.sql.SQLQueryTestSuite*”

Fixed the Python test first.

@itholic Please, rebase on the recent master.

@itholic Could you fix the test failure. It seems it is related to your changes:
python/pyspark/sql/tests/pandas/test_pandas_udf_grouped_agg.py.test_invalid_args
"COLUMN_NOT_IN_GROUP_BY_CLAUSE" does not match "[MISSING_AGGREGATION] The non-aggregating expression "v" is based on columns which are not participating in the GROUP BY clause.
Add the columns or the expression to the GROUP BY, aggregate the expression, or use "any_value("v")" if you do not care which of the values within a group is returned.;
Aggregate [id#668L], [id#668L, plus_one(v#674)#687 AS plus_one(v)#688]

+1, LGTM. Merging to master.
Thank you, @itholic.


why TibSyllableTokenizer char code limit is less than 255?

tibetan char code is 0x0f00 - 0x0xfff.even though some char is bad.but,why did you limit
('\u0F40' <= c && c <= '\u0FBC') || ('\u0F20' <= c && c <=  '\u0F33') || (c == '\u0F00');
why remove head marks and others?

Well, it seems to me that it's the usual behavior of Lucene analyzers, and I can't see any use case on our website where it would be relevant to look for punctuation. That said, we're not building the analyzer for our website only, so if you want to add an option to keep punctuation please go ahead!
Out of curiosity, in what context will you be using the analyzer?

In our use cases, we are not interested in indexing any tibetan punctuation, but only words like the ones we would find in dictionaries. This is also what StandardAnalyzer does for English, for example.
Could you give us an example of a situation where this behavior is problematic?

As for the word limit of 255 chars, it is simply inherited from CharTokenizer
Have you run into a problem because of it?


Example(Inspect Module) version is too old

Component
Heimdall (Core)
Question
Inspect in Examples used the old version package. I think it should be heimdall_core::heimdall_inspect not heimdall_core::inspect.

i'll update all the examples tonight. they should all just use heimdall_inspect::inspect, they don't really need to go through heimdall_core anymore

收到


Add country links to IKEA sit/stand desks. Closes wunderkraut/WunderWay#111

Updated to square brackets following suggestion at https://github.com/wunderkraut/WunderWay/issues/111#issuecomment-132570259


Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in

Hello guys!
I am working with react-navigation and it has been working fine for me before,
but now when I have to include it in an app, it gives me this error.
the project works fine without the navigation feature,
I tried changing this line
import {StackNavigator} from 'react-navigation';
to
import StackNavigator from 'react-navigation';
but then navigation doesnt work, giving the error
(0 , _reactNavigation2.default) is not a function
Any help is highly appreciated
Thanks

You opened this issue on the wrong router repo :smile:

lol sorry


Broken scripts shipped with installation

There are some scripts, like the google-translate one, that are completely broken. In this case the script still uses the old translate.google instead of the actual Cloud API.
There were also some PR to the project without any reaction.
Would be great if such scripts are removed and no more available "out of the box".

List of scripts not working that are shipped with hubot:
shipit (ironically)
google-translate (requires API token)
google-images (requires API token)
pugme (broken image URLs)
any more?

maps as well (at least one part) - requires API Token too

This was fixed at some point. There's only a handful of scripts included now: https://github.com/hubotio/generator-hubot/blob/16d2c816add04f7bbd36d0efc28c0350f23f7f90/generators/app/index.js#L131-L137


Gaps in documentation

[Enter feedback here]
Step 1  -- the page jumps from JDBC doesn't open in a new window, taking you away from the instruction page.
For point 2 "Install the driver"  -- install it where?   https://www.cdata.com/kb/tech/spark-jdbc-azure-databricks.rst  gave clearer instructions.  (I don't know yet if it works but it tells me it can go under the "install library" of the cluster instead of needing to contact my server admin.
Thanks.

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

ID: ff86e045-4810-78b5-6646-534621f207b0
Version Independent ID: 8b23634b-12d2-ffec-47c4-391a6eec04f8
Content: JDBC and ODBC drivers and configuration parameters - Azure Databricks - SQL Analytics
Content Source: databricks/integrations/bi/jdbc-odbc-bi.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

Thanks for your dedication to our documentation. Unfortunately, we have been unable to address your issue and apologize for the delayed response. We are closing this issue, but if you feel that it's still a concern, please let us know directly at<EMAIL_ADDRESS>#please-close

#please-close


Code is in grey - not ideal.  Green, perhaps?

I'm writing ordinary text, which is bright white, and quoting code snippets. (Using the ``` syntax).   Unfortunately, these are much darker, a grey, and I need to turn up the brightness on the screen to even read this, and then the white is too bright.   It would be much better if the code stood out, being printed in green, perhaps, like on an old VT100 type terminal.  Obviously, it's the code that's the important bit. Aside from this, I'm a big fan of the colourful scheme.   No idea why this is the only one like it.    For later, perhaps a solarised background?

Thanks for bringing attention to this issue.
Have you disabled all CSS snippets, that might interfere with code blocks?
To be frank, the contrast of code blacks (and muted text in general) isn't the best (duh).  A slight increase in contrast of muted text, would benefit the theme as a whole greatly. I'm considering reducing the brightness of normal white text as well.
I like the idea of making code blocks stand out more. This could be realized using a CSS snippet, as I think your suggestion does not fit the theme.
.theme-dark {
  --solarized-background: #002b36;
  --vt100-foreground: #5afab8; /* I made this color up, it looks good to me */
}

/* code block and indented code in editing mode */
.markdown-source-view.mod-cm6 .cm-line.HyperMD-codeblock,
.markdown-rendered pre code,
.cm-s-obsidian span.cm-inline-code.cm-hmd-indented-code {
  color: var(--vt100-foreground);
  background-color: var(--solarized-background);
}

/* code blocks border in reading mode */
.markdown-rendered pre {
  background-color: var(--solarized-background);
}

Wow, @LEFD .   That looks terrific!   Thank you, that was just what I was looking for!


Fix link to decent patterns reddit

When I visited the site at https://decentpatterns.xyz/contribute/, and clicked the Reddit link out of curiousity, I got a 404.
The link currently ends up as https://decentpatterns.xyz/reddit.com/r/decentpatterns, in my browser *(Firefox 80, on OS X), because there is a missing slash in the url.
I think this should resolve it.

Awesome thanks!!


pretty_unicode not return str for python3 in some case

fix #253

No, just make it compile in python3. Never aware of the real issue of beanstalkd


There is no function named "Send" but the codes use it [Code Bug in Master Branch]

Bug Report

import path of package in question, e.g. .../services/preview/customproviders/mgmt/2018-09-01-preview/customproviders
SDK version master

In the sdk of cusomproviders of master branch, there are two files named "associations.go" and "customresourceprovider.go". The two files have a bug.
Here, we just have a look at associations.go because customresourceprovider.go has the same issue.
In associations.go, there are many places using client.Send  and the client is a AssociationsClient. However, we cannot find where the sdk defines the method Send.
Also, I find some other sdk of other services also have this issue.

Duplicate with #7757


When a match ends, you can only join it

Only the entry button is activated. At the end of the competition it must be the ready button, not the input button.

I can't reproduce this. Did I misunderstand the issue?

This was solved in the latest version.

Users who enter the game using the game entry button have only the input button, not the preparation button after the game ends.


[GH-3][GH-4] remove output attribute - allow for additional config options

This will resolve issues #3 and #4

Removed the default['logwatch']['output'] attribute: The 'Output' option changed functionality between logwatch versions 7.3.x (included with RHEL versions < 7) and 7.4. In logwatch versions 7.4.0+ the default option is already 'stdout' making the explicit attribute setting unnecessary.

Added the default['logwatch']['directives'] = [] attribute. Similar to the setting in the community squid cookbook attribute (https://github.com/chef-cookbooks/squid/blob/master/attributes/default.rb#L24) this allows for additional configuration options to be set.

fyi, I have a signed CLA - not sure why it didn't auto label on this one


[ISS-79] Fetch twitter usernames from GitHub API

Related Issue: #79
This PR adds in an additional end point to call GitHub's API at https://api.github.com/users/USERNAME. The following responses are found at the API documentation.
On a 200 response, we package the user's name and twitter_username within a user_info map and attach it to the GitHubAPI struct.
On a 404 response we return an error tuple with whatever failures are raised.
Further questions:

I wasn't too sure on the how we'd like the payload to be returned so if there's any modifications you'd like to see let me know!
Also, for back filling, did you want that complete in this PR or maybe another?
There were 3 dialyzer errors but they were present on the master branch before any changes.

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

Brilliant work @DuldR! clap👏🏻👏🏿orange_heartheart I added a few comments below.

I wasn't too sure on the how we'd like the payload to be returned so if there's any modifications you'd like to see let me know!

I added a comment in line 110 about this.

Also, for back filling, did you want that complete in this PR or maybe another?

As you created the migration (awesome), we should fill in the data. Do you mean this? We could add a worker called Notesclub.Workers.UserSyncWorker that calls your github function. Then, we could call this worker on Accounts.create_user/1. We could do it in a transaction like in Repos.create_repo/1. I could do this if you prefer. Let me know ;)

Yep! I don't mind doing that as well. Did you that want that portion included in this PR or a future one?

There were 3 dialyzer errors but they were present on the master branch before any changes.

Yeah, let's fix that in a different issue. Thanks for letting me know!
Well done, thanks Garrett!

Thank you, glad to help!

Those changes are superb @DuldR, thanks again! 🙏🧡🙏

Yep! I don't mind doing that as well. Did you that want that portion included in this PR or a future one?

Yes, if you could add those changes to this PR would be great. That way we would have all the things we need to start fetching and storing names and usernames.
Let me know if you have any issues or if I can help.
Thanks!

Those changes are superb @DuldR, thanks again! prayorange_heartpray

Yep! I don't mind doing that as well. Did you that want that portion included in this PR or a future one?

Yes, if you could add those changes to this PR would be great. That way we would have all the things we need to start fetching and storing names and usernames.
Let me know if you have any issues or if I can help. Thanks!

Added in the worker addition on Accounts.create_user and is working locally and test passing! I ran mix test and there are some failing tests, but they're also present on the master branch and unrelated to the PR. Let me know if there's any other changes needed!

Fantastic @DuldR, thanks! I run it in my local env and worked!
I added a minor suggestion below.
By the way, all tests pass for me both in main branch and yours. What tests are failing for you?
When these two things are ready, I think we can merge and deploy! fireworks

Nice, updated it! I figured out the problem, my postgres container was all jacked up. No issues with any tests, false alarm!

@DuldR Brilliant Garrett, thanks for this PR!! 🧡

Thank you for taking the time out to review!


BUG: Setting CE to live with wrong CI causes errors

What and why?
This adds an additional event instead of what was coded in PR https://github.com/ONSdigital/rm-collection-exercise-service/pull/304
How to test?

Set up a CE with correct outlined times and dates
Uploaded SEFT form type 0001
Uploaded sample looking for form type 0002
Hit the “set ready for live” button or if didn’t appear, hit the "edit date" MPS date and press “Save” the button should now be visible
I pressed “Set as ready for live” and selected “OK” on the popup confirmation window.
Went into “Replace sample file” and pressed “replace sample file”
Sample should have loaded with no issues

Trello
https://trello.com/c/G1zMQCAB/1964-bug-setting-ce-to-live-with-wrong-ci-causes-errors-track-time

/deploy scorfs

 BUG: Setting CE to live with wrong CI causes errors (5 days)


GROOVY-10027: NamedParam: check against declared/inferred argument type

https://issues.apache.org/jira/browse/GROOVY-10027

Merged. Thanks!


Docs: Update RULES.md for decreasing_or_equal_stop_time_distance

closes #1225
This PR updates RULES.md for decreasing_or_equal_stop_time_distance. more specifically:

updates the reference file to stop_times.txt
fixes typo in stop_pt_sequence
(to do) modifiy the definition to make it clearer

Please make sure these boxes are checked before submitting your pull request - thanks!

~[] Run the unit tests with gradle test to make sure you didn't break anything~
[x] Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
[x] Linked all relevant issues
~[ ] Include screenshot(s) showing how this pull request works and fixes the issue(s)~

Closing, the change here is included in PR #1257


Libressl

Would it be possible to support libressl as an alternative openssl?

Why?
As long as Arch doesn't replace openSSL with librSSL and nearly every other tool is using openSSL, there is no need for me to support it.
https://bbs.archlinux.org/viewtopic.php?id=180502
https://bbs.archlinux.org/viewtopic.php?id=246756

I think lots of non-arch users want to use this software. Void is a relatively well known distribution that uses libressl, and that prevents us from building hcxdumptool.

https://github.com/void-linux/void-packages/issues/20935
And I'm not sure that libressl support all HMAC/OMAC functions, used by hcxdumptool/hcxtools.
BTW:
There is a similar request for openWRT:
https://github.com/ZerBea/hcxtools/issues/106

Understandable. I hadn't seen that issue before, I personally don't have a huge preference for either library, but I hope they do switch to OpenSSL if it makes things easier.

You may have noticed that I haven't closed this request:
https://github.com/ZerBea/hcxtools/issues/106
mbedTLS is really lightweight and I think about it to switch over to this lib - if all functions can be realized with this lib, inclusive Elliptic Curve Diffie-Hellman (ECDH)-Exchange and Elliptic Curve Digital Signature Algorithm (ECDSA).


Regression in 1.4 with userforms

Cross posted from https://github.com/silverstripe/silverstripe-userforms/issues/506
1.3 is fine. However, whenever saving a paged-form with 1.4 installed a new page is created each time, and the order gets messed up when drag-dropping.
Before:

Attemp to drag "Page 2" line one item down

It looks as though the drag succeeds, but then it sees the "First Page" with sort = 0, and that forces the item to the bottom.

Ignore the "Page X" in the first column... that's just displaying the order the pages appear in the list. See the second column for the DB titles.

Ok cause is 1.3 used 1-based sort indexes, 1.4 uses 0-based indexes, so now there's no longer any distinction between "first item" and "item with no sort value".


Server listens to localhost instead of <IP_ADDRESS>

When I have a webserver on ip adress w.x.y.z and do npm start, I can ssh into the server and do wget localhost:9966 to get index..html, but when I go to w.x.y.z:9966 it does not work because the server doesn't listen to that ip address.
In node, you can listen to <IP_ADDRESS> so it works on any ip address and localhost as well.
Example: http://<IP_ADDRESS>:9966/ (Farum has root access to this server)

You can change this in package.json:
"start": "npm run fonts && npm run templates && npm run css-watch & budo -v -P --host localhost --live --dir dist --css app.css client/app.js -- -v"
For a production server, using a real webserver(apache for example) will be a better option.


Enhancement: Support GoTo/Implementation(s)

plugin version: 0.58.1
Description
GoTo/Declaration takes you to the declaration of a symbol in the .mli file.  It would be very handy to have a way to jump to the implementation in the .ml file, such as GoTo/Implementation(s) (highlighted in the screen shot and doesn't do anything at the moment).  Also, FWIW, GoTo/Type Declaration doesn't do anything at all, maybe should be disabled?
FWIW, "Implementations" was probably meant for finding all the subclasses of a class (if a class is selected) or the overriding implementations of a method in subclasses (if a method is selected).

I hope you get to work on this soon.  It's pretty odd that I can jump the to declaration in the .mli file and all the usages, but I can't jump to the definition in the .ml!

sorry for the delay.

No worries.  One other detail is that the very convenient control-clicking on a symbol takes you to the .mli and not the .ml--usually not what I want.  I'm conditioned to use that because in Python code, it takes you the definition of a method.

should be fixed in version 0.92