Support modules key

raven-ruby logs gem versions to Sentry, it'd be great if raven-php could do the same with modules installed via composer.
If there's no nice way of getting the information from composer directly, a path setting for locating the composer.lock file (which stores the names and version of all installed modules) might be a good alternative.
It would also be useful to be able to include the versions of our own software.

This feature has finally been implemented in #577 and will be available since version 2.0. The composer.json file will be loaded from the path configured in the project_root option of the client

It would also be useful to be able to include the versions of our own software.

This can be done too by using the Event::withModules method. Please note that you will have to manually merge any existing value with the new one as calling that method will replace the existing data


Where is tf.layers.flatten?

I hope this question is considered suitable for asking here on GitHub rather than StackOverflow as it relates to a possibly missing feature of the TensorFlow API. I apologize beforehand if I am wasting your time.
This concerns TensorFlow 1.1.0 and tf.layers
The tutorial on tf.layers uses manual reshaping to get from 4-rank to 2-rank tensors (search for the word flatten):
https://www.tensorflow.org/tutorials/layers
This is not very elegant and I would prefer to use a flatten() function.
The documentation for tf.layers.dense() says something about flattening the input, but it apparently does something else, as discussed in other threads https://github.com/tensorflow/tensorflow/issues/8175 and https://github.com/tensorflow/tensorflow/pull/9043
There does not seem to be any tf.layers.flatten() function, see e.g. the API docs:
https://www.tensorflow.org/api_docs/python/tf/layers
Although there is one for tf.contrib.layers.flatten() as shown here:
https://www.tensorflow.org/api_docs/python/tf/contrib/layers/flatten
I wonder if flatten() has been omitted for some reason when moving layers to TF core (why?) or perhaps it has been moved somewhere else, but I have searched and I cannot find it anywhere?
Furthermore, I would like to ask if I can expect that tf.layers is going to be the standard builder API going forward? Or will you focus on Keras instead? I have previously used PrettyTensor. There is also tf.slim and other builder APIs. I don't want to change builder API every 6 months, so I'd like to know what the TF developers are betting on this time?

I too think that there too many movements within the APIs and it is now time that they are stablized.

@fchollet for layers roadmap

There will be a tf.layers.flatten() in the future for sure. We are still working on some layer refactoring at the moment, but adding more layers in the core layers module will be the step right after.

Thanks for the quick answer.
Is your recommendation to use tf.contrib.layers.flatten() for the time being? That is not very elegant.
It is a bit hard to understand why such a simple function is not in tf.layers already? Is there some technical reason?

Only a single line is required to use all the high level ops from layers or its alias slim.
layers = tf.contrib.layers
layers.flatten()
or
slim = tf.contrib.slim
slim.flatten()

@martinwicke, this issue comes up regularly. We should consider adding tf.layers.flatten, as previously discussed...

Sigh. Alright.

I have now upgraded to TensorFlow 1.3 and this is still missing. I will try my best to be polite, but it is frustrating that you still haven't completed the builder API for TensorFlow. It is more than a year ago that I pleaded with you to consolidate the many builder APIs so we could have a single API that was complete and well-documented. I am struggling to understand why this is not a priority for you. Perhaps we view software engineering differently. To me the API is an incredibly important aspect of any software library. Perhaps Keras is now the most complete API for TensorFlow and it seems there's a person dedicated to its development. Perhaps you should consider making Keras the main builder API then. But please make a decision for one API, stick with it and finish it. Thanks.

Can't agree more! Why there is still no tf.layers.flatten? And the changes of tf over versions are so big that it is a mess when learning

Any update?

If this is extremely important to you, please do send us a PR.

There is in fact a flatten layer in TF 1.4 in tf.layers: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/layers/core.py#L347-L406
In general, feel free to use layers from tf.keras in your workflow.

@fchollet THX. Found it. Just wondering if this two will be merged in future? Btw, using keras means one more hierarchy :)

What's the difference of tf.layers and tf.contrib.slim by the way. they are so many interface are exactly same but with different behaviours, even same codes but totally different error messages, so confusing.

Just use Keras. I have lost patience with all the other TensorFlow APIs and just use Keras now. It's not perfect and some features are missing or broken, but it's the best TensorFlow API I've found and it's still under serious development so we can expect it to improve in the future.


There are plans to compare images with OpenCV for images to click on the image what exists on the screen?

I saw this functionality in TagUi and wanted to ask if it would be here?

that would make this lib hacker's paradise <3


[3778] Set HESA states correctly

Context
https://trello.com/c/Csx5hMPq/3778-l-hesa-set-states-correctly
Changes proposed in this pull request

Fix gender mapping
Fix state mapping
Add missing TRN attribute
Add new field hesa_updated_at to trainees to help with data analysis
Fix study_mode mapping
Remove deferral atributes (there is no defer date or reinstate date in HESA)
Change the way created_from_hesa is set (it shouldn't be touched in future updates)
Add new table hesa_metadata to store important information that can be use dby the funding department later on

Important business
~* Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?~
~* Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?~

 [L] HESA set states correctly

 Import SPLength and other HESA funding meta data into Register database


Improve gears tutorial

Improve gears tutorial, like said at issue #396  .
Closes #396
@llaske

Good job. Thanks.


Change the way auto-sized columns behave

Plus fix default values for ToggleInput
Currently, auto-sized columns will shrink when space is needed. This is not good, because it basically makes it impossible to achieve table-like layouts where one column always has the same physical width across multiple ColumnSets.
This change prevents auto-size columns from shrinking.

@dclaux,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Datastudio dashboard template

I can't seem to figure out the Datastudio Dashboard template step here. Launching the Datastudio URL, it gives me a message "The linked connectorid was invalid".
I also tried looking for a template in Datastudio community but can't find any similar.

Hello there!
We're working on getting the connector published so it's more easily accessible.  In the meantime, I've shared all the scripts for the charts here: https://github.com/GoogleCloudPlatform/fourkeys/blob/main/METRICS.md

Duplicate of #86


Extension runs extremely slow

Everything is really laggy, especially when editing text. I've tried running this both in linux and macOS.

This extension became very slow on v0.2.0.
I don't know why but it seems that the current script (maybe the frontent javascript) is not perfectly compatible with the gradio v3.23.0.
To run faster, downgrade tag-editor to v0.1.2 and use old webUI is a possible for now.

Any ETA for a fix? this is one of the best tagging app out there and its very hard to use when its that slow.

https://github.com/toshiaki1729/dataset-tag-editor-standalone
Standalone Version is released (https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor/issues/65#issuecomment-1529001674 for detail)
Still WIP but this may help you.

with the latest webUI (gradio 3.28.1), tag-editor seems to be working much faster.

https://github.com/toshiaki1729/dataset-tag-editor-standalone Standalone Version is released (#65 (comment) for detail) Still WIP but this may help you.

+1 i really like this extension but ya it runs extremely slow lately. The stand alone version work perfectly though. Gonna stick to that in the mean time. Keep up the good work.

stable diffusion:1.3.1gradio: 3.31.0

I got a slow running under latest webUI and latest tag-editor. I really like this extension, but it's sometimes frastrating that you have to wait for minutes before operation.
stable diffusion:1.3.1
gradio: 3.31.0


API review for Service Discovery

Has there been any planning or experimentation around providing a common interface for use with service registries that allow or even require the client to register, or is this feature expected to be limited in scope to the discovery side only?
Example registries would include at least Consul and Eureka

@codymullins missed your comment sorry. @ReubenBond can describe what we have and what we plan.

@TimHess good question. We considered it and decided that we would not add a common service registration interface in the initial release. It would be worthwhile to explore the idea, though, so if you'd like to open an issue with requirements and a proposal, that would be greatly appreciated.
@codymullins Aside from the API doc comments, there are the package READMEs and the conceptual docs: https://learn.microsoft.com/en-us/dotnet/aspire/service-discovery/overview
For your specific scenario, resolving backend services from a Blazor WASM app, you likely need some way to propagate the configuration to the Blazor WASM app. Aspire uses environment variables to configure service discovery. You can also use appsettings.json, which Blazor WASM loads from wwwroot (docs: https://learn.microsoft.com/en-us/aspnet/core/blazor/fundamentals/configuration?view=aspnetcore-8.0). The abovementioned README shows how you can configure service discovery in your appsettings.json file. I hope that helps.

Putting this in preview4


improve docs for testing on data

I wonder if you would like something like this here.

@h-mayorquin That, or a link to there from here, assuming the DataLad website itself does not have such instructions (which would be the ideal link to point to)


Java FX Application instead of YAML

Hi Wedjaa,
I created a JavaFX application based on your repo.
If you like it, please accept my merge request.
Kind regards
Carlos

Thank you!
Looks good -- but I like to keep this library as simple as possible - so I won't be merging it into the library.
You could create the app using this library and release it as a separate thing, what do you think?


Set Default Username to Supplied Value When Prompting

This branch covers an edge case where a username specified in wrds.Connection(wrds_username='<username>') gets excluded on a (re-)prompt for credentials. Specifically, when the custom user does not exist as a .pgpass entry but you supplied the username when creating the object, the value is ignored.
Before:
>>> import wrds
>>> db = wrds.Connection(wrds_username='testXX')
Enter your WRDS username [vjef]:
...

After:
>>> import wrds
>>> db = wrds.Connection(wrds_username='testXX')
Enter your WRDS username [testXX]:
...

The value you gave for wrds_username then becomes the default in the prompt, instead of reverting to your logged-in user via getpass.getuser(). The change mainly corrects an annoyance, but it is useful. It might be even better to skip a prompt for username if one is provided, but I'm taking the shortest path initially.

should also bump the minor version


allow uri-like pathes for app.root and gem.path

when the app.root points to uri:classlaoder:// the rack-application can be packed one-to-one into WEB-INF/classes.
similar for setting gem.path to uri:classloader:// allows to embed the gems in WEB-INF/classes.
setting the gem.path is only needed for jruby-1.7.x and app.root only works with the 1.7.19+. all this allows a simplified packaging: https://github.com/mkristian/jruby-pack#packing-jarwar-files-of-ruby-application
and bypasses all the need of real-path.

@mkristian interesting thanks, while I appreciate the new direction this is getting super-ugly uri: special handling now leaking on 3 places ... will give it some more thoughts later.

@kares I did reduce the patch to something generic ;)

looks better - thanks! but I'm not sure if it will pass the tests (will get 1.1-stable green just bare with me), the real_path code is a bit more responsible than it should be - I think it is expected to return nil (as getRealPath does) for resources that do not exists, otherwise things might not work as expected (e.g. Rails 2/3/4 detection).
what I'm thinking as an alternative (please let me know what you think) ... is introducing another layout since when all is under WEB-INF/classes. it's needs a bit different packaging than Warbler does right? thus configuring a layout sounds appropriate. let me know if I did miss/misunderstood something ...

yes, indeed a new layout will be the better way. even with the current
"patch" it needs quite some configuration in the web.xml to fit the
"alternative" packaging. so a new layout could be much better way to go.
thanx for the input - much appreciated.

@kares this a new layout - so there are no side effects for existing apps.
any idea how to get rid off:
 <context-param>
    <param-name>rackup</param-name>
    <param-value>eval File.read( 'uri:classloader://config.ru' )</param-value>
 </context-param>

when running jetty or tomcat without packing a war then there is no WEB-INF/classes - the classes directory is somewhere else and jruby-rack does not find the config.ru !?

looks good to me (assuming it works with the class-loader) that WebInf in the name evokes smt "special" about the layout ... have you considered something like ClassPathLayout (I know naming is the hard) ?
that eval is a uglish - probably we do not use the whole cp to locate the config.ru script while booting (it sure happens before the layout is set and used) ... might look into that in detail later if needed.

so I did change the classname ;)
and added the search on context-classloader as last place to search for config.ru

@kares so from my side: I am excited. well, if this goes into 1.1-stable then I would add a small IT on jruby itself for it - it makes it easy to bundle a rack application with maven.

@mkristian looks good thanks, I'll sure get this into 1.1.18 (will do some testing myself) ... I'll just need to figure out something around the ErrorApp - should be released next week. thanks!

on 1.1-stable with a cherry on top, thanks!


unit testing test

I'll go ahead and merge this PR, it is still work in progress, but two unit tests are now passing 😄
Tomorrow, Monday is dependabot day, it will raise 3 PRs, and 0 if this one PR is merged


[opencensus-cpp] Update to 2021-08-26

Update to 2021-08-26

What does your PR fix?

Installs all needed headers and updates to version 62d8281.

Which triplets are supported/not supported? Have you updated the CI baseline?
linux / windows, Yes

Does your PR follow the maintainer guide?

Yes

@dllg ,Please run command "./vcpkg x-add-version opencensus-cpp --overwrite-version" and commit again

Thanks for the update!


[Question]: Thumbnails gone with Home Assistant and "bropat/eufy-security-ws" docker: 1.1.0

Ask your question
Eufy Doorbell T8210
Home assistant docker: 2012-12.1
"bropat/eufy-security-ws" docker: 1.1.0
eufy-security add-on: 2.9.0
So all newest versions.
I always had Thumbnails. Now it's all gone. I strongly suspect that this is a change made by eufy in response to these criticisms https://www.zdnet.com/home-and-office/smart-home/eufy-responds-to-security-concerns/
Is it??
Does the Thumbnail option ever return??

I too am having this issue.  It looks like the pictureUrl that is send over is in a non-standard format and no longer a jpg.  For example below is an example I am getting back when motion is detected from my T8210 doorbell camera:
{
type: 'event',
event: {
source: 'device',
event: 'property changed',
serialNumber: 'T8210P202016046C',
name: 'pictureUrl',
value: 'https://security-app.eufylife.com/v1/s/g/cwaPeMHkl'
}
}
If you download that URL you will see it it not a valid JPG.  They used to be standard JPG files.

https://www.theverge.com/2022/12/19/23517250/anker-eufy-security-camera-answer

Due to changes from Eufy it is currently not possible to get the thumbnails. More about this here.


feat: Add Haruna Media Player

Replaces Celluloid with Haruna since it uses Qt and is an official KDE application.
If you prefer Celluloid then that is fine!

Oh that looks great, thanks!


release for scala 2.12.6

I am excited myself to upgrade, the new setting to cache compiler plugin classloaders may speed up compilation with semanticdb-scalac up to 15%! I haven't been able to try upgrading until this morning thanks to https://github.com/scalamacros/paradise/issues/116
Upgrading patch versions for SemanticDB requires more work than bumping up a version number in build.sbt due to the fact that semanticdb-scalac instruments several steps in typer to recover lost syntactic structure. I took a quick look at what changed between 2.12.4 and 2.12.6 in scalac Typers and the diff is ~300 loc so I will need to through that one by one https://gist.github.com/olafurpg/864d497882689e0b8d0a0d25f4840c08
I'm at flatMap(Oslo) this week so I'm afraid I won't have time to look into this until next week.

Disgraceful, you should give everybody their money back :stuck_out_tongue:

This is on my queue after https://github.com/scalacenter/scalafix/issues/704

This is also blocking sbt 1.1.5 usage, since it seems to use 2.12.6, which leaks into sbt plugins requiring semanticdb 2.12.6, which is not available.
Downloading https://repo1.maven.org/maven2/org/scalameta/semanticdb-scalac_2.12.6/2.1.7/semanticdb-scalac_2.12.6-2.1.7.pom
Downloading https://repo1.maven.org/maven2/org/scalameta/semanticdb-scalac_2.12.6/2.1.7/semanticdb-scalac_2.12.6-2.1.7.pom.sha1
[error] coursier.ResolutionException: Encountered 1 error(s) in dependency resolution:
[error]     org.scalameta:semanticdb-scalac_2.12.6:2.1.7:
[error]         not found:
[error]             C:\Users\oc\.ivy2\local\org.scalameta\semanticdb-scalac_2.12.6\2.1.7\ivys\ivy.xml
[error]             https://repo1.maven.org/maven2/org/scalameta/semanticdb-scalac_2.12.6/2.1.7/semanticdb-scalac_2.12.6-2.1.7.pom
[error] (coursierResolutions) coursier.ResolutionException: Encountered 1 error(s) in dependency resolution:
[error]     org.scalameta:semanticdb-scalac_2.12.6:2.1.7:
[error]         not found:
[error]             C:\Users\oc\.ivy2\local\org.scalameta\semanticdb-scalac_2.12.6\2.1.7\ivys\ivy.xml
[error]             https://repo1.maven.org/maven2/org/scalameta/semanticdb-scalac_2.12.6/2.1.7/semanticdb-scalac_2.12.6-2.1.7.pom

@ochrons how are you using semanticdb-scalac with sbt 1.1.5? semanticdb-scalac is intended to be used only for compiling normal project sources, not sbt builds.

I apologize the slow reponse, past weeks have been busy with conference. I've been at ScalaDays all this week. I will take a look at this issue next week before continuing https://github.com/scalacenter/scalafix/issues/704

@olafurpg I have no idea where the semanticdb-scalac comes from, but if I change sbt version from 1.1.4 to 1.1.5 I get that error 😅
The project uses Scala 2.12.4
My sbt plugins are
addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.0")

addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.2.2")

addSbtPlugin("se.marcuslonnberg" % "sbt-docker" % "1.4.1")

addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.6")

addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.22")

addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.6.12")

addSbtPlugin("com.vmunier" % "sbt-web-scalajs" % "1.0.6")

addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.1.2")

addSbtPlugin("org.irundaia.sbt" % "sbt-sassify" % "1.4.12")

addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.1.3")

addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.2")

addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "1.5.1")

addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.5.10")

if you're not specifying a default scalaVersion I think it falls back to the same version of scala used by sbt. You should be able to fix this with
scalaVersion in ThisBuild = "2.12.4"

I bet you forgot the in ThisBuild bit. Everybody forgets it.

The in ThisBuild seems to have been The Trick, thanks Sam! I recently migrated this project from sbt 0.13 to 1.x...

Opened #1557 upgrading to 2.12.6 :)

scalameta/paradise for 2.12.6 is on it's way to Maven Central, please note that scalameta/paradise is no longer under development and will not support 2.13. Please migrate to https://docs.scala-lang.org/overviews/macros/annotations.html those macro annotations are supported natively by the compiler in 2.13 under the scalac option -Ymacro-annotations https://github.com/scala/scala/pull/6606

scalaVersion := "2.12.6"

scalafixSemanticdbVersion := "4.0.0-M1"

Could you release this for 2.12.7?
Thanks!

@EmergentOrder I opened https://github.com/scalameta/scalameta/issues/1781 to track this 😉

@olafurpg Yeah that'd be the right way to do this :stuck_out_tongue:
oops


#8460: Enable Clang-17

blocked by: https://github.com/tenstorrent/tt-metal/issues/8579

do these changes still work with default Ubuntu gcc?

do these changes still work with default Ubuntu gcc?

It will build, but I haven't run post-commit with gcc-9 + these changes

do these changes still work with default Ubuntu gcc?

It will build, but I haven't run post-commit with gcc-9 + these changes

Can we try 1 run to get an idea?

Pipelines w Clang-17:

post-commit: https://github.com/tenstorrent/tt-metal/actions/runs/9200186861
nightly fd: https://github.com/tenstorrent/tt-metal/actions/runs/9199329749
device-perf: https://github.com/tenstorrent/tt-metal/actions/runs/9203282435
models-perf: https://github.com/tenstorrent/tt-metal/actions/runs/9203284969
microbenchmarks: https://github.com/tenstorrent/tt-metal/actions/runs/9203283633
TG frequent: https://github.com/tenstorrent/tt-metal/actions/runs/9201943927
T3K frequent: https://github.com/tenstorrent/tt-metal/actions/runs/9201947767

Post-commit w GCC9 (current compiler) + these changes: https://github.com/tenstorrent/tt-metal/actions/runs/9211901494


fix: Differentiate port based on VISUALIZER_TYPE

My last MR introduced a bug, sorry about this - I overlooked that the healthcheck port needs to differentiate based on the VISUALIZER_TYPE. This adds the check by moving the healthcheck to a simple script.

Ok. Thanks a lot for fixing it :)


zenodo_get does not obtain latest version

In
https://github.com/PTB-MR/mrpro/blob/d396143f62bfbaed5dd9b66b86be3182f3467192/examples/t1_mapping_with_grad_acq.py#L59
we are downloading v1 of the dataset instead of v2. Easy but not safe fix would be to set dataset to "13207352". This will download v2 but not v3 if there is one.

Is it a bug or a feature that we download a fixed version of the data?

good question - I thought of it as a bug, but maybe it might actually be a feature because it allows us to update the data on zenodo and then update mrpro accordingly. Otherwise we might have the problem that we discover bugs with the updated data which would then automatically break all our test pipelines. So the easy fix would be the right fix.

not a bug :)


New stock items from trackable parts

Dear Team,
I encountered a small problem. I hope somebody can make a PR:
When you create a new stock item from a trackable part, it has the same behavior like normal stock items. I mean you can edit the quantity, or even have more than 1 quantity, so the new item is definitely not unique. But when you open the edit stock item dialog and just save it without making any changes the item finally becomes unique (see screenshots below).
As I understand there is a step called serialization, where you can assign unique serial numbers for these stock items, but in my case where alphanumeric serials needed I cannot use it.
Steps to Reproduce

create a new stock item from a trackable part. Note there is a quantity displayed, and no "serialized" message shows up, and in the menu you can add/remove quantities

Edit stock item and just save it without making any changes

now it is unique

Expected behavior

When I create a new stock item with quantity is 1, it means no further serialization needed, so it can be unique directly. In this case the serial/batch should be specified.  It will be nice to indicate "this is a trackable part" somehow on the form as well.
Version Information
recent master branch

Confirmed on latest master

Thank you!

Sorry I have just realized the serial field can be alphanumeric as well :) I thought it has to be numeric.
However if I specify a serial number which is greater than 2^31, the API call api/stock/xxx returns with an error 500.

@rkalman I thought that specific error had been fixed.. Apparently not. Can you send through the complete error message you see?

@rkalman managed to reproduce that too.. fix incoming - https://github.com/inventree/InvenTree/pull/2721


Multiple Message Widgets

Not sure if someone has asked this before, but is there a way to have multiple message widgets without having to deal with non-unique CSS classes? I am currently doing something like this (snippet below) but when the 'active' class is attached to the 'rcw-widget-container' class, all the other widgets become active.
      <div className={"rcw-widget-container" + this.props.item.id}>
        <Widget
          handleNewUserMessage={this.handleNewUserMessage}
          chatId={"rcw-widget-container" + this.props.item.id}
        />
      </div>

It would be nice to be able to control each unique chat widget differently.

Did you figure this out? My usecase is to have one chat widget and another full-screen chat on the same page. It seems like the toggleChatWidget() method toggles all widgets at the same time

I am also trying to achieve this... any possible way to have more than one  in a single app?


Fix added for tests failing: change the option wheelPxPerZoomLevel

closes: #8479

Thank you for your contribution but your change will break the intention of the test. The reason for failing is in the Leaflet code and not in the test


Allow retrieving the matching network

Companion bug for https://github.com/maxmind/mod_maxminddb/issues/81
The following ruby script
require 'maxminddb'
db = MaxMindDB.new('GeoLite2-ASN.mmdb')
p db.lookup('<IP_ADDRESS>')

gives me this output (reformatted for readability):
#<MaxMindDB::Result:0x000055a27cd962b8
  @raw={
    "autonomous_system_number"=>13335,
    "autonomous_system_organization"=>"Cloudflare, Inc.",
    "network"=>"<IP_ADDRESS>/24"
  }>

It would be awesome for the library to allow fetching this information as well. mod_maxminddb and the python-bindings could use it.

It turns out that this information is already exposed as netmask in MMDB_lookup_result_s. I am going to close this issue as the mod_maxminddb change should be doable with no changes to libmaxminddb.

Looking forward to have it exposed in mod_maxminddb and the python bindings then :)


docs: update docs for the AWS X-Ray tracer

Signed-off-by: Sunil Narasimhamurthy<EMAIL_ADDRESS>Commit Message: update envoy docs to contain information related to AWS X-Ray extension and update codeowners for the same extension
Additional Description:
Risk Level: Low
Testing: N/A
Docs Changes: The PR updates the envoy documentation to reference X-Ray as a tracing extension that is supported by envoy and also gives reference towards the specific http header that is provided by this extension.
Release Notes: N/A
Platform Specific Features: N/A

Thanks mattklein123 & htuch for your time.


GZT syntax not working correctly

Reported by hankin on 5 Oct 2000 21:02 UTC
! err522_gzt.jnl
! the gzt= notation isn't working
yes? use "/home/tao2/taodata/alltao/t0n156e.cdf"
yes? use "/home/tao2/taodata/alltao/t0n165e.cdf"
let t_20_1xy = T_20[this is OK
shade t_20_1xy[d=2](i=1,j=1]
!) -  t_20_1xy[this is not
shade t_20_1xy[d=2](d=1,gt=T_20[d=2],gz=T_20[d=2]]
!) -  t_20_1xy[*** NOTE: Ambiguous coordinates on T axis: T_20_1XY[D=2](d=1,gzt=T_20[d=2]]

) -
T_20_1XY[**ERROR: inconsistent sizes of data regions: T axis
T_20_1XY[D=1,GZT=T_20D=2] has 3324 points (L=0001:3324)
expression has 5371 points (L=0001:5371)
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/160

Comment by ansley.b.manke on 23 Jul 2010 23:56 UTC
Seems to be working in a script I created.  The datasets in the report aren't around anymore. In the FERRET/bench directory:

yes? use gt4d011
yes? define axis/t=1-aug-1982:31-jan-1983:7/units=days/t0=1-aug-1982 treg
yes? define axis/z=0:100:10/units=`salt,return=zunits`/depth zreg
 !-> define axis/z=0:100:10/units=METERS/depth zreg
yes? let var = z[+ L[gt=treg](gz=zreg])
yes? save/clobber/file=zt_test.nc var
 LISTing to file zt_test.nc
yes? can dat/all
yes? can var/all
yes? use gt4d011
yes? use zt_test.nc
yes? let salt_1xy = salt[let regrid_var = salt_1xy[gzt=var,d=2](d=1,x=136w,y=0]
yes?)
yes? shade regrid_var


rst generation is not compatible with pandoc <IP_ADDRESS>

It appears that pandoc (atleast version <IP_ADDRESS>) does not generate div_h1 tags, instead it generates only h1 tags.  So the gsub! in lib/slideshow/filters/slide_filter.rb will fail, which means that contents are never put into the resulting html.  The quick solution I came up with was editing slide_filter.rb and adding:
51   puts "  Adding #{slide_count} slide breaks (using div_h1 rule)..."
52
53+   add_slide_directive_before_h1 content
54
55   content

@Edgy Not sure if you're still interested. With version 3 rst is no longer supported in the core. You're welcome to create a plugin.Cheers.


⚠ ClamAV has degraded performance

In a69b1c1, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 79 ms

Resolved: ClamAV performance has improved in 9fc06a9.


Add update node collection

Modified according to the requirement https://www.pivotaltracker.com/story/show/121049511
@benbp @pscharla
@RackHD/corecommitters

@RackHD/corecommitters please review.

no, I rebased the code too dirty, close and will reopen it.

BUILD on-tasks #1603 : UNSTABLE
   - ** BUILD build-config-setup  #98194: SUCCESS
   - ** BUILD unit-tests  #9293: UNSTABLE
   - ** BUILD smoke-test  #3374: SUCCESS

   - ** BUILD on-taskgraph #1515: SUCCESS
      - ** BUILD build-config-setup  #98196: SUCCESS
      - ** BUILD unit-tests  #9294: SUCCESS

   - ** BUILD on-http #2537: SUCCESS
      - ** BUILD build-config-setup  #98198: SUCCESS
      - ** BUILD unit-tests  #9295: SUCCESS

BUILD unit-tests  #9293  Error Logs:

Test Name: update-node-job Should modify node collection via waterline
Error Details: expected updateByIdentifier to have been called with arguments some:test:node, { key1: { ip: "123.456.789.012", key2: { key3: "value" }, port: "12345" } }     updateByIdentifier(some:test:node, {   miscProperties: { key1: { ip: "123.456.789.012", key2: { key3: "value" }, port: "12345" } } }) => [object Promise] at UpdateNode.run [as _run] (/home/jenkins/workspace/on-tasks/build/lib/jobs/update-node-job.js:9:1357)
Stack Trace: AssertionError: expected updateByIdentifier to have been called with arguments some:test:node, { key1: { ip: "123.456.789.012", key2: { key3: "value" }, port: "12345" } }
    updateByIdentifier(some:test:node, {
  miscProperties: { key1: { ip: "123.456.789.012", key2: { key3: "value" }, port: "12345" } }
}) => [object Promise] at UpdateNode.run [as _run] (lib/jobs/update-node-job.js:9:1357)
    at spec/lib/jobs/update-node-job-spec.js:49:27
    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)
    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)
    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)
    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)
    at Async.drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)

BUILD on-tasks #1603  Error Logs:

Test Name: update-node-job Should modify node collection via waterline
Error Details: expected updateByIdentifier to have been called with arguments some:test:node, { key1: { ip: "123.456.789.012", key2: { key3: "value" }, port: "12345" } }     updateByIdentifier(some:test:node, {   miscProperties: { key1: { ip: "123.456.789.012", key2: { key3: "value" }, port: "12345" } } }) => [object Promise] at UpdateNode.run [as _run] (/home/jenkins/workspace/on-tasks/build/lib/jobs/update-node-job.js:9:1357)
Stack Trace: AssertionError: expected updateByIdentifier to have been called with arguments some:test:node, { key1: { ip: "123.456.789.012", key2: { key3: "value" }, port: "12345" } }
    updateByIdentifier(some:test:node, {
  miscProperties: { key1: { ip: "123.456.789.012", key2: { key3: "value" }, port: "12345" } }
}) => [object Promise] at UpdateNode.run [as _run] (lib/jobs/update-node-job.js:9:1357)
    at spec/lib/jobs/update-node-job-spec.js:49:27
    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)
    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)
    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)
    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)
    at Async.drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)


Update site-recovery-deploy-source.md

added 2301 requirement notice

@sethmanheim

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Implemented closed form of Ridge regression

Here I've implemented ridge regression.
Also I've created a test which uses bikes rent data set which allows to know how to use Ridge regression

Thanks!

Can anybody tell me how this conflict appeared?  I didn't edit CorrelationTests and Correlation files.

FYI: I've resolved the conflicts and pulled the change into the ridge-regression branch (not yet in master).


Add Snake NPC

Description
Task: Add a Snake NPC.
Feature: Friendly Animals (NPC) (Team 4)
Adds an interactable NPC that resembles a Snake. Each NPC will have specific stats (possibly including but not limited to HP, Speed, Attack etc.) and perhaps slightly different roaming tasks. NPC should also allow interaction with the player with a dialogue box and accommodate quest-giving to the player. They may also offer helpful gameplay hints.
Part: A snake NPC sprite will wander the map, being drawn to the player if in close proximity and then pause so the player can read dialogue if nearby.
Quest/Storyline Progression/Hints: The player will then have the option to interact with the Snake and trigger dialogue and/or quests. This may either give hints or progress the storyline with a quest.
Dependencies

[ ] NPC Sprite of a Snake (@shubhgupta2510 / Team 4)
[ ] Minigame Dialogue Box from Team 7 (Team 7)
[ ] Questline Flag/Trigger Handling from (Team 5)

Milestones

[ ] Create base NPC behavior for Snake and document on wiki (August 15)
[ ] Implement tests for Snake (August 21)
[ ] Accommodate Dialogue/Quest Progression (August 21)
[ ] Snake NPC implemented and tested (August 25)
[ ] Update documentation on wiki (August 25)

Completion Deadline:
Completion Deadline: Aug. 27
Documentation

Friendly NPC Documentation
Snake (NPC) Documentation

Member

Shubh Gupta (shubhgupta2510)

Hi there, please remember to add the specified labels like assignees, projects and milestones


Investigate faster polygon operations

The current burn_vector_geometry relies on calling earcut to break a polygon down into a triangular mesh, which is then checked for overlap. I don't necessarily see a better way for all_touched=True since it relies on computing overlaps. But in case of all_touched=False, it's just searching for centroids.
In this case, it's just a point in polygon check. The ad hoc benchmarking seemed to show that is was beating geopandas points-in-polygon, but not massively so (something like one order of magnitude).
I came across these two:
https://github.com/dengwirda/inpoly
https://github.com/KlausC/PolygonInbounds.jl
They do some prior work so it should be more efficient to search collections of points. It would be worthwhile to investigate, although it should maybe end up in numba-celltree instead.

The 10x speed up compared to geopandas is not that impressive -- I guess because it's building a celltree for the earcut polygons.
However, that tree could be re-used in case multiple operations are required for a polygon dataset. This a pretty convincing argument to add an earcut staticmethod which returns a UgridDataArray with the earcut topology as the mesh, and returns the polygon indices as the data.
This also gives a clean composing way of implementing: https://github.com/Deltares/xugrid/issues/234


[Bug]: No error message when using multiple Ledger devices

Issue description

Missing Error message when you try to send an amount of IOTA with the confirmation of a wrong ledger Device.
Wrong behaviour after this failure on the firefly account.

Expected behaviour
There should applie an error message like "the confirmation device is wrong".
Actual behaviour
First Error:
I have two Ledger Devices. NanoS and NanoX.
I created on each Ledger Device an Account. Then I sent my IOTA from the NanoS account to the NanoX account.
But I confirmed the transaction with my NanoS device. There appeared no error message or information. Just appeared something like "successfull". After some time I could see the following error via the transaction in the explorer:
6111d0436e905eb55a963714d269e8709b345f175de29a99b76e5bf40fbc8f2d
Second Error: The Firefly Account show that I have my balance on the Nano S account but do net let me move the balance again. It shows me the error message that I do not have enough coins to send. So your discord support (tOOk) helped me to inform me I have to make a new account on this device. I did and it worked correctly. So I had again my coins on the nano S and could no correctly send them to the nanoX.
Can the issue reliably be reproduced?
Yes
Steps to reproduce the issue
"Actual Behaviour"
Diagnostics
Its a mess that I cannot copy paste....

v1.3.3
plattformversion 10.0.22000
Architecture x64

Errors
"insufficientFunds: insufficient funds 0/1398100000 available or input address used as output

Duplicate declaration

[X] I have searched the issues tracker this issue and there is none

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi, is this still an issue in the latest version?

The network was recently upgraded and we released a new version firefly iota 2.0.2. You need iota ledger app 0.8.6, if you cant see it in the ledger store need to upgrade your firmware

Closing issue due to inactivity, please update to the latest version and reopen the issue if the problem persist 🌷


modules\Module\Providers/../Routes/web.php): failed to open stream: No such file or directory

After create new module get this error : require (opencart\core\modules\Autoparts\Providers/../Routes/web.php): failed to open stream: No such file or directory

Seems you forgot to add the routes web file


how to use two language at same time??

can we have 2 language at a same time?
I have created multilingual site using angular-translate. Its working awesome but i have new requirement according to which i want 2 language on same page at time.So my container will be in user's local language , but inside that i want to show some content in different language but changing  language affects my container's content also???

No, at the moment this is not possible (at least: not possible in one app).
We have this feature on the plan for the next big version. #995


Video download slow since 19th May

Has anyone else found downloading profile posts unusably slow for the last two days? Scraping stories still just fine!

Yes, same here.

Thanks! Good to know it's not just me!

Interestingly, just 4 days before this issue we received a bug report "Instaloader works too fast".
Since July 2020, Instaloader's rate controller can be easily customized without having to touch Instaloader's code. So luckily, if you find Instaloader downloading too slow, too fast or that its perceived download speed varies too much, you can easily adapt it to match your expectations: https://instaloader.github.io/module/instaloadercontext.html#ratecontroller

Same here.
It does not seem to have anything to do with the rate controller. The actual download of media is really slow. I can see the partially downloaded '.temp' files growing very slowly. It seems Instagram has added to throttle on their side.

It's something server side. I'm using 4.7.1 and this behavior started a few days ago with video files. It takes around 4 minutes to download each video here.

This is exactly what's happened to me; when I view the .temp file it's now growing much more slowly than normal for profile videos only; snatching stories is still really fast. It was fine on Wednesday the 19th so started on the 20th. Has to be instagram side as I've changed nothing and running latest version.

Just started using instaloader today, to learn that I was 4 days late :) Have anyone found a workaround? Does being logged in or using a different user-agent help?

Note that with decreased speed instaloader might fail to download a complete video file, leaving you with a partially-downloaded one!
It looks like issue is indeed in user-agent string. Probably the one used in instaloader got banned by Instagram. A working WORKAROUND is this:

visit echo.opera.com with a browser to see your user-agent
add --user-agent argument to your instaloader command

Alternatively, you can use my user-agent (Microsoft Edge Beta on Linux):
--user-agent 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.57 Safari/537.36 Edg/91.0.864.27'

Uh, much easier than I thought. Thanks.

Didn't work for me 😞

Interestingly, just 4 days before this issue we received a bug report "Instaloader works too fast".
Since July 2020, Instaloader's rate controller can be easily customized without having to touch Instaloader's code. So luckily, if you find Instaloader downloading too slow, too fast or that its perceived download speed varies too much, you can easily adapt it to match your expectations: https://instaloader.github.io/module/instaloadercontext.html#ratecontroller

Many thanks for the clarification. What I didn't quite get is how to properly implement it though.

class MyRateController(instaloader.RateController):
    def sleep(self, 5):
        raise MyCustomException()

L = instaloader.Instaloader(rate_controller=lambda ctx: MyRateController(ctx))

In this example, would instaloader wait for 5 seconds between each single call? And what is the default waiting time of instaloader in seconds? I would like to avoid running into the "too many calls" exception which I am getting quite frequently.

Thanks to you all for sharing your observations! In my experiments, the download speed was fine and seemed not to depend on the user agent, however, sometimes these things might depend on the geographical region or other factors.
Does this problem still occur, or does changing the user agent still lead to faster downloads?
For reliably comparing download times, there is a flag --no-sleep, which removes all random delays between requests, while still maintaining the delays that the rate controller considers necessary.

Many thanks for the clarification. What I didn't quite get is how to properly implement it though.

class MyRateController(instaloader.RateController):
    def sleep(self, 5):
        raise MyCustomException()

L = instaloader.Instaloader(rate_controller=lambda ctx: MyRateController(ctx))

In this example, would instaloader wait for 5 seconds between each single call? And what is the default waiting time of instaloader in seconds? I would like to avoid running into the "too many calls" exception which I am getting quite frequently.

Instagram has a set of rules regarding how many requests of a certain type are permitted in a certain time frame. We regularly do a bunch of incredibly time-intensive experiments to confirm or update our belief of how their rate limits work. The rate controller keeps track of the requests that Instaloader makes and implements delays to remain within Instagram's limits while still providing a reasonably fast experience.
If you want to add an additional delay of 5 seconds before every request, the following snippet could be used
import instaloader

class MyRateController(instaloader.RateController):
    def query_waittime(self, query_type, current_time, untracked_queries=False):
        return 5 + super().query_waittime(query_type, current_time, untracked_queries)

L = instaloader.Instaloader(rate_controller=lambda ctx: MyRateController(ctx))

The slow download is still affecting me. I've tried to change my user agent to the same as my browser (Firefox), but it didn't work.
I didn't try with --no-sleep, but as I mentioned before, it's the download of media that's slow. Not so noticeable with pictures because they're small anyway, but very noticeable with videos, especially larger ones. I can tell that the slowness is in the download itself because I can see the .temp file, and its very slow growth.

The slow profile download is a problem for me too.
Things I have tried:

Changed the --user-agent string to my browser(firefox), that didn't change anything.
Tried with --no-sleep but no change.
Changed accounts, with no change.

The issue is the same as others with very slow .temp file growth so, it's a download speed issue. Stories download works with fast speeds as before and in regards to being rate limited, the profile i usually use for scraping was last used almost a month ago with Instaloader.

Unfortunately download of videos from profiles still very very slow rendering instaloader pretty much unusable until there is a fix 😞
All stories and pictures fine.
Have tried everything mentioned here and more and nothing has worked.
Started on the 20th of May.

I have one account that doesn't exhibit this behavior, and I couldn't figure (yet) what triggers video slowdown. Maybe accounts are getting flagged for this permanently?

I'm not logged in when mine does it, but logging in makes no difference. Maybe IP is flagged. Although videos load at normal speed in app and on browser.

Then let's track this as a bug rather than a question.
Also related to video downloading is #1022 (there are multiple video versions with different URLs available), however all video versions available in the structures we fetch seem to be served very slowly.

Maybe it can be fixed by using iOS or Android IG app useragent or instagram.com referrer?

No news about fix it?

If you need an urgent solution:

The following project got the same problem fixed: https://github.com/HuiiBuh/InstagramDownloader/pull/205
I also noticed the following project did not have such a problem: https://github.com/adw0rd/instagrapi (probably because it uses private API)

Changing the user-agent string solves this for me. Maybe your account/ip got flagged and is slow on purpose?

After reading #1233 I tried L.context.user_agent = None and this fixed the speed problem for me

I also just placed # in front of Line 155 del header['Referer'] in instaloadercontext.py and this fixed the speed problem as well

This is fixed in Version 4.7.5. Thanks to @fireattack for discovering and contributing the solution!

how you insert this snipset and where? in new file? or inside instaloader.py?
How you invoke that behavior?
Cause using python3  instaloader_wait.py get relative path and circular errors.


fix: typo in readme, fixes #34

fixes #34

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Features tab is not showing

Hello, I configured my Angular project to run Protractor with Cucumber-JS and to get a report with SerenityJS. I am able to run a report but I do not see the features tab.
Here is my folders organization:
 - features
 --- features
 ----- foo.feature.ts
 ----- bar.feature.ts
 --- resources // Helpers and json values
 --- steps
 --- tsconfig.e2e.json

Here is my protractor configuration:
exports.config = {
  allScriptsTimeout: 11000,

  seleniumAddress: 'http://localhost:4444/wd/hub',

  baseUrl: 'http://localhost:4200',

  specs: [
    './features/features/*.ts'
  ],

  multiCapabilities: [{
    'browserName': 'firefox'
  }, {
    'browserName': 'chrome'
  }],

  directConnect: false,

  framework: 'custom',

  frameworkPath: require.resolve('serenity-js'),

  cucumberOpts: {
    require: ['./features/steps/*.ts'],  // require step definition files before executing features
    format: ["pretty"] // <string[]> (type[:path]) specify the output format, optionally supply PATH to redirect formatter output (repeatable)
  },

  beforeLaunch: function() {},

  onPrepare: function () {
    require('ts-node').register({
      project: 'features/tsconfig.e2e.json'
    });
    browser.driver.manage().window().setSize(1800, 1500);
  }
};

I am using:

Angular 4.1.
Protractor 5.1.
CucumberJS 1.3.3
SerenityJS 1.8.0

My report only gives me Overall test results and Requirements  tabs. Let me know if you need more informations.

Hey, @jbprat!
Would you be able to push the skeleton project to github so I could try to reproduce the issue?
One thing that makes me think is that your feature files have a .feature.ts extension rather than just .feature. Is that the case?
J

The feature.ts instead of just feature was the issue.
Now that I have my features and capabilities tabs, I see another issue.
I'm running the tests with IE, Chrome and Firefox, in the report if I click on a feature from the Test count panel, I can see all my different tests:

But if I click on the features tab, I can only see one automated test, as you can see here:

I'll need an hour to create a skeleton of the project, so let me know if you still need it.

That would be helpful, thanks very much! You might want to use the cucumber seed to create the skeleton.

Hi,
I tested the issue with your repository and the bug is pretty easy to reproduce without me having to push a github repository. Here are the steps:

Replace the capabilities key in the config with this code:

    multiCapabilities: [{
        browserName: 'chrome',

        chromeOptions: {
            args: [
                '--disable-infobars',
                // "--headless",
                // "--disable-gpu",
                // "--window-size=1024x768"
            ]
        }
    }, {
        browserName: 'firefox'
    }]

To be able to run Firefox, I used a webdriver-manager globally installed instead of your local one.
I had to add this line to the protractor config:
    seleniumAddress: 'http://localhost:4444/wd/hub',

You can see the different behaviours below.

Let me know if you can reproduce the issue!

@jbprat, does the issue you're facing look similar to the one reported on StackOverflow here? I.e. is it due to the location of your protractor.conf.js?

Hi,
No, it was my first issue. I'm the commenter on it. Since I renamed my e2e folder to features I can see the tabs, the report is just different as I've shown you in the example.
I'm going to fork your repository to show you the behavior!
Envoyé de ProtonMail mobile
-------- Message d'origine --------
On 14 août 2017 18:12, Jan Molak a écrit :

@jbprat, does the issue you're facing look similar to the one reported on StackOverflow here? I.e. is it due to the location of your protractor.conf.js?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

You can checkout my fork from your cucumber-seed project! https://github.com/jbprat/seed-cucumber
I updated the readme with instructions on how to run firefox.

@jan-molak Did you get the time to see my repo?

Thanks @jbprat! Would you mind pushing the contents of your target directory too, so that I can have a look at the json files?

@jan-molak I added the target folder to my git repo! ;)

Thanks! I managed to reproduce the issue, the fix is on the way!

Great!
Envoyé depuis ProtonMail mobile
-------- Message d'origine --------
On 30 sept. 2017 01:31, Jan Molak a écrit :

Thanks! I managed to reproduce the issue, the fix is on the way!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

The latest version should resolve the problem you've experienced. Please let me know if everything's working OK for you now?


RFC: Simplify response_headers

Content
Change the type of response_headers from Mapping[str, ResponseHeader to Sequence[ResponseHeader]. This better aligns with how response_cookies are defined, and gets rid of the pattern of having to define the name of a header as a key in a mapping, and leaving the name attribute on the header blank.
Before:
@get(
    response_headers={"foo": ResponseHeader(value="bar")},
    response_cookies=[Cookie(key="foo", value="bar")],
)
async def handler() -> str:
    ...

After:
@get(
    response_headers=[ResponseHeader(name="foo", value="bar")],
    response_cookies=[Cookie(key="foo", value="bar")],
)
async def handler() -> str:
    ...

Overriding behaviour is kept the same, internal types are updated such that resolve_response_headers returns a frozenset like resolve_response_cookies does.
Further ideas
In addition to the proposed change, I was thinking if we maybe want to update response_headers and response_cookies to accept plain Mapping[str, str]. @starlite-api/maintainers please comment.
PR Checklist

[ ] Have you followed the guidelines in CONTRIBUTING.rst?
[ ] Have you got 100% test coverage on new code?
[ ] Have you updated the prose documentation?
[ ] Have you updated the reference documentation?

Makes sense to me, why it wasn't like that before?

I like.

In addition to the proposed change, I was thinking if we maybe want to update response_headers and response_cookies to accept plain Mapping[str, str]

so response_headers={"foo": "bar", "baz": "qux"} is functionally equivalent to response_headers=[ResponseHeader(name="foo", value="bar"), ResponseHeader(name="baz", value="qux")]?
Alternatively, response_headers could be typed Sequence[tuple[str, str] | ResponseHeader], e.g., response_headers=[("foo", "bar"), ResponseHeader(name="baz", value="quz", documentation_only=True).

Alternatively, response_headers could be typed Iterable[tuple[str, str] | ResponseHeader]

The thing with that is, that it's a bit counterintuitive when not using a mix of strings and ResponseHeaders:
response_headers=[("foo", "bar"), ("baz", "quz")] just doesn't seem right compared to response_headers={"foo": "bar", "baz": "quz"}. The latter also gives you immediate feedback for duplicate keys in your IDE / type checker.
I was contemplating what the best solution would be here, and I settled for Mapping[str, str] | Sequence[ResponseHeader] because it's the easiest, and it does actually support all the use cases.
The "most complete" would probably be something like Mapping[str, str] | Iterable[ResponseHeader | tuple[str, str]],
so you can do response_headers={"foo": "bar"}, response_headers=[ResponseHeader(name="foo", value="bar", documentation_only=True)] or response_headers=[("foo", "bar"), ResponseHeader(name="baz", value="quz", documentation_only=True] if you really want the mix.
I'm not certain if we need to provide the flexibility to mix both styles, since Sequence[ResponseHeader] already allows to express everything you could, and Mapping[str, str] is basically just a convenience shortcut. I'd also argue that the mixed style leads to poor readability, and we might simply not want to promote such a pattern.
wdyt?

@peterschutt I added a proposal for those changes in #1213

wdyt?

Sounds like you've put a lot more thought into this than I have, so I'm on board with what you think is best.


Update welcome_message_helper.rb

I rule and have completed some work on Case Manager that's ready for review!
I included a greeting message
This pull request makes the following changes:

My greeting message

(If there are changes to the views, please include a screenshot so we know what to look for!)
It relates to the following issue #s:

Bumps #884

For reviewer:

Adjust the title to explain what it does for the notification email to the listserv.
Tag this PR:

feature if it contains a feature, fix, or similar. This is anything that contains a user-facing fix in some way, such as frontend changes, alterations to backend behavior, or bug fixes.
dependencies if it contains library upgrades or similar. This is anything that upgrades any dependency, such as a Gemfile update or npm package upgrade.

If it contains neither, no need to tag this PR.

Codecov Report

Merging #2258 (bba8ccd) into main (bd21b9e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2258   +/-   ##
=======================================
  Coverage   96.24%   96.24%
=======================================
  Files          79       79
  Lines        1653     1653
=======================================
  Hits         1591     1591
  Misses         62       62

Impacted Files
Coverage Δ

app/helpers/welcome_message_helper.rb
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


Custom pin icon

Is it possible to use a custom icon for pins?

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

ID: 8a5842eb-0d03-05bf-db8e-23ee198e8e71
Version Independent ID: bd76b816-c155-2b88-1271-b47f69690352
Content: Add a pin with Azure Maps
Content Source: articles/azure-maps/map-add-pin.md
Service: azure-maps
GitHub Login: @jingjing-z
Microsoft Alias: jinzh

@MiladOrderDynamics See documentation at https://docs.microsoft.com/en-us/azure/azure-maps/map-add-custom-html. We have a new version of map control that makes adding a custom icon easier. + @rbrundritt to comment

Thanks.


Zenstack deleted all my code projects

Description
I ran this
npx zenstack generate --schema schema/main.zmodel --output ..
It deleted everything in the directory above the current directory.
Expected behavior
I didn't expect it delete all my files.
It should check the output directory does not include the whole project before deleting it.

Could do a check similar to what Prisma does: https://github.com/prisma/prisma/blob/main/packages/client/src/generation/generateClient.ts#L772
Prisma passes the generated name to ensure it is the generated package.
If this route sounds good I could create a pull request.
packages\sdk\src\utils.ts
export function ensureEmptyDir(dir: string) {
    if (!fs.existsSync(dir)) {
        fs.mkdirSync(dir, { recursive: true });
        return;
    }

    const stats = fs.statSync(dir);
    if (stats.isDirectory()) {
        // *** If directory has files and we find the generated package ***
        // *** Then it is safe to delete recursively ***
        if (fs.readdirSync(dir).length !== 0 && require(`${dir}/package.json`).name?.startsWith(".zenstack")) {
            fs.rmSync(dir, { recursive: true });
            fs.mkdirSync(dir, { recursive: true });
        } else {
            throw new Error(`Path "${dir}" already exists and contains files that were not generated by zenstack`);
        }
    } else {
        throw new Error(`Path "${dir}" already exists and is not a directory`);
    }
}


Update build.sh

Hello!!
I have seen that a new version of aslprep (0.7.0) is available. Could you please update it?
Thanks in advance!

Dear @lucsanara - this is updated - please let me know if its working as expected.

Hello!! thanks @stebo85. Just tried to work with it at shows the following warning:
WARNING: Version 0.7.0 of aslprep (current) has been FLAGGED
(reason: Broken entrypoint for Docker/Apptainer. GIFTI outputs not separated by hemisphere.).
That means some severe flaw was found in it and we strongly
discourage its usage.

Ok, thank you for letting us know - let’s see when they publish an update


add options to get_location

Something like this for #16

I will close this PR, I will implement this on my own.
Thanks for the PR tho! 😄


fix error from betabinom stats using only integers for a and b

Reference issue

Closes: #18026
The issue stemmed from the fact that we were trying to substract a float from an int64 array. This does not work with operators like += or -=. Hence, we need to use - and + "normally".
Alternatively, I could also have explicitly cast the variable as float but this felt more sensible to me.

Would it be sufficient to change one line (wherever the result might first be a floating point array) instead of all of them? Where possible, mutating the original array rather than creating copies may be preferable for memory and performance.
This also needs a unit test to confirm that the issue is resolved.

Okay, let me try the changes you mentioned.

Please hold off on submitting new PRs while the old ones are reviewed. This will avoid the need to make the same sorts of changes on each one.

Sorry, I did not get you here

Please wait before submitting new PRs while the your other PRs are reviewed. This will avoid the need to make the same sorts of changes on each one.

I don't get how that is a problem. I create a new branch for every new PR off of the main upstream branch. Finally everything will be merged in the same codebase. Other places where I contribute, this is fine. Does scipy deploy some other strategy?

It is not a policy of SciPy; it is a request from me if you'd like me to review your PRs. It is not a question of merge conflicts but reviewer effort. Since these are your first contributions to the library, there will likely be some things to fix. More often than not, the same sorts of things will need to be fixed about several PRs. If you open one PR and learn from the review process before opening the next PR, you are less likely to need to fix the same shortcomings in future PRs, and reviewers will not need to make the same comments multiple times.

I understand now. I think you took my previous comment to be in a rude tone. It never intended it to be so. I will keep your suggestions in mind for future contributions.

But if you'd prefer, I don't need to be the one to review the PRs.

Rest assured, I have no preference for anyone reviewing my PRs. I am more than glad with you reviewing them.

It looks like this still fails:
betabinom.stats(10., 2, 3, moments='k')  # n is a float now

Thanks @vmpyr. I think your other PRs will be reviewed again shortly.

Some other minor points. I'll push the fix.

Thank you, I am busy with exams currently so didn't see this earlier.
Thank you @mdhaber for the timely and insightful reviews. I'll resume work on other PRs asap.


make runnable on Chrome

Only two small changes were required to run on Chrome:

The keys function was using special syntax in the for loop.
The script type needed to be text/javascript instead of
application/javascript;version=1.8.

It still works on FireFox too, of course.

Nice! Thanks for this. Let me try it and get back to you.
On Fri, Sep 18, 2015 at 3:49 AM Nathan Glenn<EMAIL_ADDRESS>wrote:

Only two small changes were required to run on Chrome:

The keys function was using special syntax in the for loop.
The script type needed to be text/javascript instead of
application/javascript;version=1.8.

It still works on FireFox too, of course.
You can view, comment on, or merge this pull request online at:
https://github.com/desilinguist/ibleu/pull/2
Commit Summary

make runnable on Chrome

File Changes

M bleu.html
https://github.com/desilinguist/ibleu/pull/2/files#diff-0 (2)
M js/utils.js
https://github.com/desilinguist/ibleu/pull/2/files#diff-1 (6)

Patch Links:

https://github.com/desilinguist/ibleu/pull/2.patch
https://github.com/desilinguist/ibleu/pull/2.diff

—
Reply to this email directly or view it on GitHub
https://github.com/desilinguist/ibleu/pull/2.


Non existent 'ntp' role

Hello,
dev.yml tries to execute the 'ntp' role that is not defined anywhere. This makes provisioning the local server vagrant up fail. Is this an oversight, or am I missing something ?

I'm sorry, I should have installed the dependancises specified in requirements.yml first - an oversight on my part:
ansible-galaxy install -r requirements.yml


Debugger

This is a preliminary pull request so that other folks can have an easy way to check out the new debugger code.
Engineering/design/* suggestions/comments/* are all very much appreciated and welcome. Luckily, everything is fairly independent and loosely coupled so I can change basically anything without too much difficulty.
It should be noted that I've worked on this in a vacuum for the entire summer. So, there's likely dozens of very low hanging bugs for us to squash 😄.
This code uses some of the features from the newest stable python update, 3.10. So, make sure you're up to date.
You can run the debugger with asteroid --adb <FILENAME> (python asteroid/__init__.py --adb <FILENAME>). There are some basic docs in adb/docs/`. I kept them fairly small so that if we make major changes now I can easily change things.
There is an experimental explicit mode that exposes pattern matching. Right now it is very experimental and that should be noted on any release documents. My plan for the semester is to beef it up and improve the debugger overall.
RE: How do these changes affect asteroid development?

For most situations, the inclusion of the debugger does not change the development experience. Following what I've done in other nodes and unify clauses should be pretty straight forward. There's documentation at the bottom of the walk.py file for all of the functions I used to get the debugger's behavior working within the walker.

Tests seem to be failing because the github actions python version is not up to 3.10. Let me fix that


API_ENV=?

For production what is the value
API_ENV="prod" or API_ENV="production"

You have to use "prod". If you use a value other than "local", "test", or "prod", it will automatically fall back to "local".

Let's add comments to the .env file with some useful info

i will consider that


How to put  tag link to each row (first cell of each row)?

Hello, @gregnb
How are you?
I tried exactly same like above to put tag to row(first cell of each row).
But it displays still pure text instead tag
Hope you would help me to handle this.
I will look forward to hear back from you
Albert

Try this:
class Example extends React.Component {

  render() {

    const columns = [
      {
        name: "Link",
        options: {
          filter: false,
          customBodyRender: (value, tableMeta, updateValue) => {
            return (
              {value}
            );
          }
        }
      },
    ];

    const data = [
      ["http://www.google.com"],
      ["http://www.cbs.com"],
      ["http://www.yahoo.com"],
    ];

    const options = {
      filter: true,
      filterType: 'dropdown',
      responsive: 'stacked',
      selectableRows: false
    };

    return (
      <MuiThemeProvider>
        <MUIDataTable title={"ACME Employee list"} data={data} columns={columns} options={options} />
      </MuiThemeProvider>
    );

  }
}

check out Biganth's answer here https://github.com/gregnb/mui-datatables/issues/309

@gregnb What if I would like to render a button with a path created using object values placed in several columns?

@KrzysztofMadejski this answer might also help you https://github.com/gregnb/mui-datatables/issues/1022#issuecomment-545089461.

sdds


Animation to About us Section

In reference to
Add animation to the about us section #49

Will I create another branch with the new files? I am not sure if the changes I made are viewable

Hello @harikesh409  . Why my pull request #200 was not merged and you created a similar pull request #201 and merged it? I'd also created an issue before opening the PR.

Hello @harikesh409 . Why my pull request #200 was not merged and you created a similar pull request #201 and merged it? I'd also created an issue before opening the PR.

I have not seen that PR and it is just a revert so as soon as I opened the site it was messed up and I immediately reverted the #98 pr by creating a new one.

Hello @harikesh409 . Why my pull request #200 was not merged and you created a similar pull request #201 and merged it? I'd also created an issue before opening the PR.

I have not seen that PR and it is just a revert so as soon as I opened the site it was messed up and I immediately reverted the #98 pr by creating a new one.

Okay! I just wanted to know. Looking forward to contribute something good in the project. Thanks 😊 .

Hello @harikesh409 . Why my pull request #200 was not merged and you created a similar pull request #201 and merged it? I'd also created an issue before opening the PR.

I have not seen that PR and it is just a revert so as soon as I opened the site it was messed up and I immediately reverted the #98 pr by creating a new one.

Okay! I just wanted to know. Looking forward to contribute something good in the project. Thanks 😊 .

All the best. 👍


Tests for cdk pgstac infra

Script for testing MAAP eoapi infra

can we close this @omshinde ?

And also delete the branch if closing.


Deactivating fake_braintree for specific tests

For the vast majority of our tests, we want to have fake braintree enabled in order to keep things quick. However, some of our tests need to get to braintree and test the sandbox. It'd be great if we could do something like:
FakeBraintree.disable!

# Test code

FakeBraintree.enable!

Just to allow requests through as and when we need to. Is there a way to do this?

@gabebw is there more convenient method for now?


Unable to create a machine

I tried this driver with this version of docker-machine: https://github.com/frapposelli/machine/commit/2cfb40d5fbd705d306d4498fed7066979cc415f0
I'm unable to create a vm:
./bin/docker-machine -D create -d vmwareappcatalyst test

Docker Machine Version: 0.5.2-dev ( 8ba03bd )
Found binary path at /Users/dgageot/go/src/github.com/docker/machine/bin/docker-machine-driver-vmwareappcatalyst
Launching plugin server for driver vmwareappcatalyst
Plugin server listening at address <IP_ADDRESS>:61645
() Calling RPCServerDriver.GetVersion
Using API Version 1
() Calling RPCServerDriver.SetConfigRaw
() Calling RPCServerDriver.GetMachineName
(flag-lookup) Calling RPCServerDriver.GetCreateFlags
Making call to close connection to plugin binary
Making call to close driver server
(flag-lookup) Calling RPCServerDriver.Close
Successfully made call to close driver server
Found binary path at /Users/dgageot/go/src/github.com/docker/machine/bin/docker-machine-driver-vmwareappcatalyst
Launching plugin server for driver vmwareappcatalyst
Plugin server listening at address <IP_ADDRESS>:61649
() Calling RPCServerDriver.GetVersion
Using API Version 1
() Calling RPCServerDriver.SetConfigRaw
() Calling RPCServerDriver.GetMachineName
(test) Calling RPCServerDriver.GetMachineName
(test) Calling RPCServerDriver.DriverName
(test) Calling RPCServerDriver.GetCreateFlags
(test) Calling RPCServerDriver.SetConfigFromFlags
Running pre-create checks...
(test) Calling RPCServerDriver.PreCreateCheck
(test) Calling RPCServerDriver.GetConfigRaw
(test) Calling RPCServerDriver.GetConfigRaw
Creating machine...
(test) Calling RPCServerDriver.Create
(test) Creating SSH key...
(test) Creating VM...
(test) DBG | appcatalyst_driver: HTTP Debug - Method: POST URI: http://localhost:8080/api/vms
(test) DBG | Writing VMX to: /Users/dgageot/Documents/AppCatalyst/test/test.vmx
(test) DBG | Writing VMX to: /Users/dgageot/Documents/AppCatalyst/test/test.vmx
(test) Starting test...
(test) DBG | appcatalyst_driver: HTTP Debug - Method: PATCH URI: http://localhost:8080/api/vms/power/test
Error creating machine: Error in driver during machine creation: API Response: 500: VIX Error: The operation was canceled, code: 10, operation: vm.PowerOn

@dgageot are you currently running VMs with Fusion?

Yes! That was the issue. You might want to say it in the error message.

We're working on making it a non issue :-)


title change

ohhhh nice

I always monitoring, nice to see you here. Hope we can do something amazing together


Spurious analyzer error when assigning generic closure literal to typed variable

The code below should have no errors, but results in a single error, on the declaration of f.
    error • A value of type '<T>(T) → int' can't be assigned to a variable of type 'Foo(T) → int' at /Users/leafp/tmp/test.dart:6:11 • invalid_assignment

typedef Foo = int Function<T>(T x);
int foo<T>(T x) => 3;
void test() {
  var g = <T>(T x) => 3;
  // All three of the following should be equivalent from a typing standpoint
  g = <T>(T x) => 3;
  Foo f = <T>(T x) => 3; // error on this line
  Foo h = foo;
}

Commented about this in https://github.com/dart-lang/sdk/issues/29237#issuecomment-291566634 but my guess is that the "typedef Foo" is not creating a FunctionTypeImpl that is generic (type.typeFormals.isNotEmpty). The reason the last line Foo h = foo; works is most likely due to implicit instantiation (turning it into Foo h = foo<dynamic>;)

Should this be 1.23 @kevmoo ?

It's possible this bug is just an instance of #29237 .  If not, if this is something specific to closure literals, I would say that this one could be pushed off.

This specific issue was fixed by  https://codereview.chromium.org/2798663003/


Health check middleware

consider to use the health check middleware (ASPNET core 2.2)
https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/health-checks?view=aspnetcore-2.2

Add this as guidance on the maturity level2

I can pick this up if you want


Auto-Rotate doesn

Description
Please provide a detailed description of the bug, how to reproduce it, and the
expected behavior.  Always include a code snippet, screenshot, any errors
reported in the console, and the model to help us understand and fix the
problem.
Live Demo

https://glitch.com/edit/#!/model-viewer

Browser Affected

[ ] Chrome
[ ] Edge
[ ] Firefox
[ ] Helios
[ ] IE
[ ] Safari

OS

[ ] Android
[ ] iOS
[ ] Linux
[ ] MacOS
[ ] Windows

Versions

model-viewer: vX.X.X
three.js: rXX

Sorry, can't delete, seems I accidentally clicked "Create" while typing.


Transactions coming through twice

I've been using fintech-to-ynab since April and haven't had any problems. Suddenly though (over the last week or so) items have been pulling through twice.
I use Monzo and Heroku to run the script.
Is there a way I can troubleshoot this?

Yeah I believe so; not super familiar with how this works.
On Thu, 15 Nov 2018, 12:24 Scott Robertson<EMAIL_ADDRESS>wrote:

Are you using webhooks or?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fintech-to-ynab/fintech-to-ynab/issues/128#issuecomment-439022761,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIK7jO5_eOcEQor-EEo43Z4bc6S7IHieks5uvVzwgaJpZM4Yfe0L
.

Hi, what would be the best way to debug this issue I too have the same problem happening with every transaction duplicated on import for roughly the past 4-6 weeks.  Prior to this, the import worked flawlessly without any issue. I have the app running on Heroku via webhooks

@ajonesw other than Monzo having 2 different transaction ids, i really don't see how it can happen. It has never happened to me, even when trying my hardest to replicate ite, so it's basically impossible for me to debug.

Hey Scott, the account this is happening is a Monzo Joint account (obviously with two users). Could this possibly mean there are two ids created per transaction in order for each user to receive the notification?

I'm also having the same issue on a regular account. More people seem to have the same problem

If possible, do some debugging and get some logs etc. Impossible for me to debut as I cannot replicate it.

The only way transactions will appear twice is if they have different transaction IDs. In that cases it's a Monzo issue.

@scottrobertson Hi Scott, further information to add to this issue. The transactions are duplicated right away but a the second transaction appears in YNAB the following day. Could it be that monzo are calling the service twice, once when pending, then again when the transaction clears. Possibly even with a different transactionID when it clears

Even if they call it twice, if the id is the same it makes no difference. Ynab will only allow 1 transaction with the same id.
I will reach out to Monzo and see what happens. Can you try and capture IDs of the transactions that are being duplicated so they can debug?

@scottrobertson I captured a couple some examples of this happening. Two updates are received roughly 12 hours apart for the same transaction; again presuming this delay is when the transaction clears/settles. The JSON data is identical apart from the following differences..
First Message :
"settled": "",
"updated": "2019-01-03T19:55:41.087Z",
Second Message (Received following day) :
"settled": "2019-01-04T08:00:50.912Z",
"updated": "2019-01-04T08:00:51.041Z",
All other data is identical including the transaction IDs.
Any way for me to share the JSON data with you without posting publicly?

@ajonesw can you put it in a Gist and email me at scottymeuk (at) gmail.com

To anyone experiencing this, please make sure your app is up to date. Updating on heroku is annoying, but here are some ideas: https://github.com/fintech-to-ynab/fintech-to-ynab/wiki/Getting-Started#updates-on-heroku
Closing for now. If someone can show this happening on the latest versions, then i will reopen, but i am unable to replicate this at all on the latest versions.

Hi
Just setup Heroku app for webhook feed from Monzo to YNAB.
Am getting duplicate transactions - once from webhook and another from YNAB direct import.

@QuaCKeReD that is expected, they cannot work together in that way.


IdentityModel.Tests need to also be run on net48 (windows).

Used to be the case in prior repository, needed to run tests to validate netstandard2.0 target.

I think maybe this is referring to the wrong package, or else we can just close it. We historically ran access token management's tests on windows mac and linux, but we don't have (and never had) a .NET Framework build of access token management.

Is #60 related to this?

DATM targets ASP.NET (Core) - no netfx.

My bad, I meant Duende.IdentityModel. Title updated.


Paraguay time

Today 4/10/2020 we had a change to 1 hour more
<-04>4<-03>,M10.1.0/0,M3.4.0/0     did not change time ...it is still the old time

The latest IANA update is  2020a (Released 2020-04-23) and it is the last update applied to the repository.
iana


Title: Joke Maker extension

Is your feature request related to a problem? Please describe.
I would like to make a Chrome extension that can tell us jokes when we want to.
Describe the solution you'd like.
when you enable or click on that extension a dialog box popup will appear which will tell you a joke.
Describe alternatives you've considered.
I will add new features to it like a button that will generate jokes with sound effects.
Add any other context or screenshots about the feature request here.
No response

Hello @anshulsoni4
This extension already exists in this project.

Uhh
Alright, can I edit the ui of some extension?

Uhh Alright, can I edit the ui of some extension?

Yes, you can.

so i have customized the BMI Extention pls check my PR @Sukriti-m


Update docs to reflect new M365 capabilities

@nancy-wang just curious on the status of this pr? Curious if I can close it or not


Use sys.executable instead of hard coding python binary string

This is necessary to get the right binary on Windows
Fixes #3636

Oh, awesome. I didn't know about sys.executable.

I'll be honest and admit neither did I.


Zero-knowledge transactions

It'd be interesting to see how cleanly these could be integrated into cruzbit with as little sacrifice to simplicity as possible.

There are some beginnings of Go implementations of non-interactive zero-knowledge proofs but nothing mature. This is probably a blocker at the moment.

BTW any protocols requiring a trusted setup are a non-starter, I think.


event.mouseHooks is broken in jquery 3

Hi, I like your plugin, but since wp3.5.6 slider doesnt work, there is Uncaught TypeError: Cannot read property 'concat' of undefined.
seems like event.mouseHooks is broken in jquery 3.5

Are you sure you mean WP3.5.6 ?
That is very old!

Oh, thats true, I mean about  version 5.6 ))

Hi, I'm working on a fix.

Fixed in 1.4.4

Thanks Fabio, appreciate the prompt action and support - have a great weekend..
Dave-P


Error in Elixir 1.15 trying to use the module TypeCheck.Type which is currently being defined

After upgrading to Elixir 1.15.0 (compiled with Erlang/OTP 25) we're faced with this error at compile time:
error: you are trying to use/import/require the module TypeCheck.Type which is currently being defined.

This may happen if you accidentally override the module you want to use. For example:

    defmodule MyApp do
      defmodule Supervisor do
        use Supervisor
      end
    end

In the example above, the new Supervisor conflicts with Elixir's Supervisor. This may be fixed by using the fully qualified name in the definition:

    defmodule MyApp.Supervisor do
      use Supervisor
    end

  lib/type_check.ex:141: TypeCheck.Type (module)

== Compilation error in file lib/type_check/internals/bootstrap.ex ==
** (CompileError) lib/type_check/type.ex: cannot compile module TypeCheck.Type (errors have been logged)
    expanding macro: TypeCheck.__using__/1
    lib/type_check/type.ex:7: TypeCheck.Type (module)
    (elixir 1.15.0) expanding macro: Kernel.use/1
    lib/type_check/type.ex:7: TypeCheck.Type (module)
    expanding macro: TypeCheck.Internals.Bootstrap.Macros.if_recompiling?/1

The error does NOT occur in previous version Elixir 1.14.5 (compiled with Erlang/OTP 25)

Thank you very much for reporting this problem!

We're guessing it has something to do with code path pruning mentioned in release notes: https://github.com/elixir-lang/elixir/releases

@Qqwy Since Jose Valim already posted a working diff - when can we expected to have a new release which works on 1.15? :)

Version 0.13.5 has been released which supports Elixir v1.15. 🚀
Check #186 for details on what was necessary to make this work.
Most importantly, some 'dogfooding' checks where TypeCheck uses itself had to be turned off. These should be re-introduced in a future version. #187 was opened to track this.


ci: automatically maintain PR approval labels via a GH action

Description of changes
Replaces the bot currently running as my personal account. This is the same codebase, so there should be no major change in behavior.
Not fully tested end-to-end since it's kinda difficult to do so with GH actions, but tested as well as I could on my own nixpkgs fork.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

@Mic92 @zowoq since you've set yourselves as owners for .github/workflows, could you let me know how this can be moved forward? Thanks!

Per https://github.com/NixOS/nixpkgs/actions/workflows/label-approved.yml this seems to work on push but not on pull_request_review currently... I guess github doesn't provide github.event.number for those events like it does for pushes, obviously.
Investigating.

Now all properly working (seemingly). Sorry for the noisy tests "in prod".

The build time is not great, given that we have a limited number of parallel actions.

I need to look at whether there's a way to get the Docker build cached. TBF, it's kind of absurd that GitHub isn't doing that already.
The alternative is rewriting all of it in JavaScript, or doing the weird tricks that the by-name check is currently doing...

Also, as indicated by the failure: GH's docs that say that this needs the pull-requests perm are possibly wrong/incomplete, I'll try adding the issues perm bit too.

Extremely confused by GH actions:

But in the workflow:
issues: write
pull-requests: write

Could it be because this is a workflow from an unmerged pull request? Runs on my repo didn't have this problem, so I'm kind of unsure what could be causing it.

It seems like GH only allows granting "write" in fork PRs on private repositories.
Also, we could avoid running the build on every run by having the docker image built and pushed to a registry and referencing it as eg. image: docker://ghcr.io/nix-community/label-approved:... in the action.yml.


DNS Changes & Documentation updates: OSS SIte

Related Issue
https://github.com/newrelic/opensource-website/issues/757
Acceptance Criteria

[ ] leave the connect to Amplify from the repository
[ ] move the DNS entry over to Gatsby Cloud --> need to work with ELB
[ ] also move the SSL cert --> need to work with ELB
[ ] Publish any documentation changes (troubleshooting, architecture, etc)

blocked on the issue with sub-domains on Fastly which Gatsby is working on for June. Ticket TBD.

ticket created for help-elb. id is EKB-1676.

opensource site is updated for gatsby cloud, documentation updated to match. closing.


[Forwarding/Replying to Email] - Lost Email after Screen Autolocks (returns to the original email without saving a draft copy of the Email) [Pre-release version]

Describe the bug
After starting to compose a Forwarded Email, the email is lost if the screen is allowed to Autolock.
To Reproduce
Steps to reproduce the behavior:

Open an email.
Select Forward
Add in email address(es) into the "To" "CC" or "BCC" field(s).
Write 📝 something at the top 🔝.
Wait for the screen to Autolock.
Remember & return and unlock the screen.
See the original email and wonder where your forwarded email went & feel like you've just wasted 🗑 your time ⌚.

Expected behavior
A new email should autosave if the screen autolocks and still be there when the screen is unlocked again.
This is also happening when replying to an email. Just recently I started writing a reply to an email, went back to a home screen or another app, and when I returned to K-9 Mail, my reply text was gone and the original email appeared again.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

K-9 Mail version: [5.731, 5.732]
Android version: [10]
Device: [LG G7]
Account type: [IMAP]

Additional context
Add any other context about the problem here.
Logs
Please take some time to retrieve logs and attach them here:

Works as expected on my devices. A draft is saved and the compose screen is still active when the device is unlocked.
Can you please try to reproduce the issue and record a debug log. See https://github.com/k9mail/k-9/wiki/LoggingErrors

Ok, I see 👀, will try that later, it's happened several times already now.

Works as expected on my devices. A draft is saved and the compose screen is still active when the device is unlocked.
Can you please try to reproduce the issue and record a debug log. See https://github.com/k9mail/k-9/wiki/LoggingErrors

Hey @cketti I have tried to get a bug report, though the cmd window is showing "> was unexpected at this time." ... when running the command on the 3rd step: "adb logcat -d --pid=<PID> > k9-log.txt"

Hey @cketti was able to get a log text file after a new email disappeared.
k9-log-new-message-lost.txt
Hope it helps.

None of the logs contain any relevant information. Please try recording an unfiltered log. Write down the time you lock the screen (or the screen autolocks, if that is important for triggering the issue). Write down the time you unlock the screen again. Ideally there will be some time between the screen locking and unlocking so the entries in the log can more easily be associated with one of the events.

Alright @cketti, though the logs contain my actual email address(es) and I'm not sure it's a good idea to share them with my email address(es) in them.

Feel free to redact the log. With "unfiltered" I meant you shouldn't filter using the process ID.
Use adb logcat > k9-log.txt to start logging. Then press CTRL-C to stop logging once you're done.

Ohhh now you tell me... that wasn't on the instruction link you sent before.

Works as expected on my devices. A draft is saved and the compose screen is still active when the device is unlocked.
Can you please try to reproduce the issue and record a debug log. See https://github.com/k9mail/k-9/wiki/LoggingErrors

That log capture includes a lot of personal information, including email addresses, email names, actual email subject lines, some of the first lines of the body of the email, from email address for emails, all the folders under the inboxes. As well as info about other apps on the phone, and email on other apps. Which makes it take extra time to redact it when the text file is over 100,000 lines long. Even with Replace All on Notepad++ it seems to be taking a long time to get through it all.

Hi @cketti was able to reproduce the problem yesterday though I had a screensaver set to come on when the screen locks, and before I disabled the screensaver, I tried it again and pressed the lock button after the screen autolocked with the screensaver on, though now I can't seem to reproduce that problem. ... Which process ID's do you need? The log file I have from yesterday is over 100,000 lines long.  Thank you.

Well, I don't think there's anything fundamentally wrong with how K-9 Mail is saving drafts. It works for me and many others.  Also, your previous logs don't show any errors logged by K-9 Mail.
It's probably that your device is doing something "strange". The hope is that the log will contain some hint on what is going on exactly. I don't know what I'm looking for, otherwise I'd explicitly ask for it.

Ok, then which process ID's are not needed?
Because
3828  4519 E InputMode: plaintext for ExternalViewNode(className=android.widget.TextView, inputMode=plaintext, id=com.fsck.k9:id-subject)/android.view.accessibility.AccessibilityNodeInfo@1876f; boundsInParent: Rect(0, 0 - 993, 85); boundsInScreen: Rect(284, 308 - 1277, 393); packageName: com.fsck.k9; className: android.widget.TextView; text: is showing the email subject lines, and
3828  4519 E InputMode: plaintext for ExternalViewNode(className=android.widget.TextView, inputMode=plaintext, id=com.fsck.k9:id-preview)/android.view.accessibility.AccessibilityNodeInfo@1786b; boundsInParent: Rect(0, 0 - 1068, 121); boundsInScreen: Rect(256, 397 - 1324, 518); packageName: com.fsck.k9; className: android.widget.TextView; text: » is showing the first portion of the email body.
((And there's even the gmail widget process showing other emails on gmail.))
Well K-9 Mail is now saving drafts it seems, now that I pressed the lock button after the screen autolocked with the screensaver on yesterday. Or the unsent emails still in the compose stage are not disappearing now after the screen autolocks.


Avoid unnecessary processing...

by discarding directories or files with permissions already correctly set

Hey there -- I really appreciate the contribution.
Cheers,
Robby


initialize collectors to empty list in JobCollectContext

otherwise it can lead to a NPE if kill is called before prepare was called

ack


Changelog file?

Hello!
I'm using 0.33 version.
From the latest commit I found that the new version is 0.38.1.
Where I can find which changes are been made?
p.s, Only this issue I can find searcing with "changelog" keyword:
https://github.com/akalongman/php-telegram-bot/issues/360

Hm, we don't have a changelog per se (which we really should!), but you can check through the releases page and read what has changed in each version there.
https://github.com/akalongman/php-telegram-bot/releases

Hm...in release 0.34 I see:
Table structure fixes (thanks to @jacklul )

So what fixes are been made?
How to integrate them into existing project?

You can always pull the repository to temporary directory and make a comparison between release tags or browse through commits and check changes.

Another big ping to myself and #112 ❗
Really need to get this sorted.
And what about update scripts? I'm still on 0.33 now and want to quickly update it to latest without data loss or something.
It would be great if the scripts were working after composer update/install.

Right, that's my next mission.
Wow, 0.33 is quite far back :grin:

+1 for update script!


Model: Absolute path imports

Feedback from user testing of new JS model:
If an absolute, instead of a relative, path is given to an import statement, the class constructor is imported, but not the static class methods

We need an example, since there is no such thing as absolute path imports. If they work at all it's an error. The paths must always be relative, or as named in the unoproj file.

Repro here:
fuselibs-public-612.zip


[Azure Monitor] OpenTelemetry Update Metrics Exporter aggregation temporality

Breeze require delta aggregation temporality for most instruments

API change check
API changes are not detected in this pull request.


cmd+backspace stops working in the editor after using copilot

cmd+i
now cmd+backspace invokes workbench.action.chat.remove instead of deleting the line in the text editor

The ChatWidget is writing its context keys to the editor's ContextKeyService, so we need a scoped CKS at some point, either inside the ChatWidget or outside in the inline widgets

@roblourens pushing a fix to use a scoped CKS but this does look like debt. Isn't a better fix to reset context keys when hiding/dispose the chat widget?

I don't think those context keys should be applied on the editor at all, they are intended to just be active inside the widget's dom tree.


Scipy.stats is not imported

Description
when trying to import stats from scipy it produces the following error,
File "", line 1, in
import scipy.stats
File "/anaconda3/lib/python3.6/site-packages/scipy/stats/init.py", line 343, in
from .stats import *
File "/anaconda3/lib/python3.6/site-packages/scipy/stats/stats.py", line 169, in
import scipy.special as special
File "/anaconda3/lib/python3.6/site-packages/scipy/special/init.py", line 648, in
from ._ellip_harm import ellip_harm, ellip_harm_2, ellip_normal
File "/anaconda3/lib/python3.6/site-packages/scipy/special/_ellip_harm.py", line 7, in
from ._ellip_harm_2 import _ellipsoid, _ellipsoid_norm
ImportError: cannot import name '_ellipsoid'
What steps will reproduce the problem?

SpyderVersion 3.2.6 / conda environment/ Mac system
just try to import

What is the expected output? What do you see instead?
importing the stats from scipy.
File "", line 1, in
import scipy.stats
File "/anaconda3/lib/python3.6/site-packages/scipy/stats/init.py", line 343, in
from .stats import *
File "/anaconda3/lib/python3.6/site-packages/scipy/stats/stats.py", line 169, in
import scipy.special as special
File "/anaconda3/lib/python3.6/site-packages/scipy/special/init.py", line 648, in
from ._ellip_harm import ellip_harm, ellip_harm_2, ellip_normal
File "/anaconda3/lib/python3.6/site-packages/scipy/special/_ellip_harm.py", line 7, in
from ._ellip_harm_2 import _ellipsoid, _ellipsoid_norm
ImportError: cannot import name '_ellipsoid'
Please provide any additional information below
Version and main components

Spyder Version: 3.2.6
Python Version: 3.6.3
Qt Versions: 5.6.2, PyQt5 5.6 on Darwin

Dependencies
pyflakes >=0.6.0 :  1.6.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.20.3 (OK)
numpy >=1.7      :  1.13.3 (OK)
sphinx >=0.6.6   :  1.6.3 (OK)
rope >=0.9.4     :  0.10.5 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
psutil >=0.3     :  5.4.0 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
sympy >=0.7.3    :  1.1.1 (OK)
cython >=0.21    :  0.26.1 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
IPython >=4.0    :  6.1.0 (OK)
pylint >=0.25    :  1.7.4 (OK)

I think this is a duplicate of issue #5299. Please take a look at that issue for a possible fix.

I reinstalled SciPy package and the problem was solved

Great! Thanks for letting us know about it.


Create Hello_rudyz123.java

What does the program do ?
----prints hello
In what programming language it is written?
Java

This pull request do not contains files in specific folders. Please fix it and reopen for help see https://help.github.com/articles/moving-a-file-to-a-new-location/