attaching image links to records

In an email, Debra requested "a method for me to submit or request that image links be attached to records".
"I used to send Jan a URL of a manuscript in a digital library, and he created the links. Depending on the urls, he could match our folio numbers to the correct images. (Sometimes we could just link to the first page, but for many we have direct links to each page.)"
I will note for posterity that on OldCantus the Admin area included a link simply labeled "Image Links", which leads to https://cantus.uwaterloo.ca/image-links-csv; it seems somebody (presumably Jan) could upload a CSV with all the links here.

This particular CSV seems to have the source id, folio #s in sequence, and a URL for their page view (which increment by 1 every folio)--presumably each CSV is/was individually created by inspection of the URLs and then gets fed into the image links for each chant view.

We've let Debra know that she needs to send us (whoever's developing on CantusDB at the time) a link to the images and a link to the MS, and we'll add the proper image links to all the chants in the MS. We can set up tools to help us accomplish this however we want (since Jan was the only one to interact with this page on OldCantus, we think, we don't need to set this up the exact same way), so it might make sense to wait for Debra to send us a few of these. In handling the import process several times, it will become clear the best way to automate the process.

I think I have a list of manuscripts needing links somewhere, actually! Is what you want the Source ID# and the URL to e.g. folio 1r?

I think I have a list of manuscripts needing links somewhere, actually! Is what you want the Source ID# and the URL to e.g. folio 1r?

yes, that should be all we need!

We have our first new example of this!
GB-Ob Can. Lit. 202 has images available on the Digital Bodleian website. This is a case where we have direct links to each page; take, for example, this link to folio 22r.
Thoughts on how to proceed?
As Jacob has noted elsewhere, we have a bare-bones way of doing this in CantusUltimus -- an interface for mapping each image in an IIIF manifest with a specific folio. I don't know/think that we want to limit images linked in CantusDB to IIIF servers only, so we can't steal that version whole-cloth (plus, that version needs some work anyway).

I'm guessing the previous steps to do this went something like:

Given a link to some source facsimile, create links for each page. For some sources this is easy (if the link is www.library.org/SomeSource/page1 you can just increment ); for Digital Bodleian each page has a long unintelligible modifier, but they can be found in the IIIF manifest; I don't know what approach one would want for something that has weird links and no manifest (sounds annoying).
Given a CSV containing a bunch of pages in some source with their relevant links (from above), for each page, find all the chants that match (source) and (page), and send an edit request to update (link) using the third value in the list.  (Is this a thing that is possible?)

(If there is a way to mass-update a bunch of chants satisfying certain conditions, I can imagine it coming in handy in other ways, like "increment all the folios from 139 to 150 by one, because I mislabeled 138w as 139" or "I deleted a chant on the folio, please decrease the sequence numbers by one to reflect this" or something like that. )

This seems right to me.
2 is definitely possible (in the sense that it would be fairly easy to implement in django, not that it is already implemented in some way -- I don't know if Cantus DB has any sort of "bulk update" process already). I think the question for 1 is whether we want to automate any of that (for example, in the case where the images are served by an iiif server or in the case where there is some easy thing to increment) or leave that up to whoever is creating the csv and their own excel or python magic to one-off create the csv.

The way the OldCantus API works (accepting a CSV file where each line has a source ID and a folio, as well as a URL) makes sense. I'll try to get something like this set up within the next week.

I think having a "if there is a IIIF manifest, do blah" step seems sensible--those manuscripts will eventually be in CU anyway (if they aren't already), so it seems worthwhile to spend the time figuring out where the manifest is, how it is set up, etc, in some way that hopefully can be productive across both platforms.
I don't think the non-IIIF ones are going to be sufficiently standard for it to be worth trying to automate it (vs just doing some excel magic on it) but I could be wrong.

It might be worth the Cantus site hosting its own IIIF viewer and then opening IIIF manifests in it. (E.g. https://cantusdatabase.org/viewer.html?manifest=https://example.com/manifest.json.
most viewers will let you link to canvases directly, so you would control the page links for yourself, rather than relying on outside sites.

I was thinking of writing a function that would take a CSV file and add/update image links based on the information in the file - the thought was that we would do some amount of manual set-up in building the CSV file depending on how the image links worked, and then it could be loaded into this function. Eventually we can set up a view to call this function, but initially it could be entirely non-user-facing.
I have no experience with IIIF - I'm thinking I'll start working on this function on Thursday when I'm next in the lab. But if I should spend some time researching IIIF to set this up to be more automatic right from the get-go, I can do that - let me know within the next ~40 hours if this would be a better idea than setting up the simple CSV-based function.

I was thinking of writing a function that would take a CSV file and add/update image links based on the information in the file - the thought was that we would do some amount of manual set-up in building the CSV file depending on how the image links worked, and then it could be loaded into this function. Eventually we can set up a view to call this function, but initially it could be entirely non-user-facing.

+1 to this initial approach.

I have no experience with IIIF - I'm thinking I'll start working on this function on Thursday when I'm next in the lab. But if I should spend some time researching IIIF to set this up to be more automatic right from the get-go, I can do that - let me know within the next ~40 hours if this would be a better idea than setting up the simple CSV-based function.

Let's maybe talk? We could crib from Cantus Ultimus and have code that basically extracts what's needed from the IIIF manifests (this is exactly what we do in the CU map folios procedure).
Alternatively, we could go with the "host a viewer" approach. Although in this case, maybe we just treat Cantus Ultimus as the "viewer." For example, for the Salzinnes manuscript, the image links on Cantus DB link directly to Cantus Ultimus.

The long-term plan is to use Cantus Ultimus as the viewer whenever there're IIIF images available.

The long-term plan is to use Cantus Ultimus as the viewer whenever there're IIIF images available.

So if, as is the case now, we have a manuscript for which we just found publicly-available images (MS. Canon. Liturg. 202) and those images are available from an IIIF server, should we just put that manuscript on Cantus Ultimus and link from Cantus DB to Cantus Ultimus? (I guess, in other words, by long-term do you mean it shouldn't be done now?)

You should be putting in as many IIIF manuscripts as possible on CU. If you are planning to link them to Cantus DB, we just need to be careful about the URLs.
Note that in CU: "Visit record in Cantus Database" points to the old Cantus DB. (Separate issue?)

You should be putting in as many IIIF manuscripts as possible on CU. If you are planning to link them to Cantus DB, we just need to be careful about the URLs.

Ok, perfect. The most recent version of Cantus Ultimus now has stable ID's for manuscripts, so we should have fewer (no?) problems with links going forward.

Note that in CU: "Visit record in Cantus Database" points to the old Cantus DB. (Separate issue?)

Yes...we have a pull request ready to go for that but need to wait for a fix that has been made in CantusDB to go to production or there will be a broken link. So that should be fixed very soon!

Yes...we have a pull request ready to go for that but need to wait for a fix that has been made in CantusDB to go to production or there will be a broken link. So that should be fixed very soon!

Which CantusDB fix is this that needs to go to production? I feel like I'm missing something, but nothing in https://github.com/DDMAL/CantusDB/pull/1027 seems relevant to CU...?

Hmm...I thought I was waiting on https://github.com/DDMAL/CantusDB/pull/969, but it seems like that has already been put on production. I re-ran tests a few days ago and it failed so I assumed the issue was still that the redirects were not on production. But clearly it's something else! I'll investigate.

@jacobdgm On more investigation, it looks like the failing test has to do with the json_node_export API in CantusDB. I've opened a new issue #1031 .

Just to clarify: the failing test is happening on CU and not CD, correct?
(there are several intermittently failing tests in the CD test suite - see, for example, #778; there are several others - that I've been meaning to fix for the past year, and that developers currently need to just learn to ignore)

the failing test is happening on CU and not CD, correct

Yes...to recap as I understand it: the failing test is on CU, it was failing because of the change to the json_node_export API from OldCantus to NewCantus, the way that NewCantus does it now is good, so I've made changes to CU so that it works with the NewCantus API, and now the tests on CU pass. (and we can "close" this tangent on this issue -- sry!)

relevant - in an email from Debra:

I'm looking at the Muenster Antiphoner
https://cantusdatabase.org/chants/?source=123724&folio=330r&feast=&search_text=&genre=
And there is a printer error on the folio numbers = 319 goes to 330 but there is nothing missing.
Our image links from CantusDB, however, jump to 340 at this spot (for 330). I think they are all matching up before that point in the source.
Our folio 330r should go to this one: https://daten.digitale-sammlungen.de/0009/bsb00090351/images/index.html?fip=<IP_ADDRESS>&id=00090351&seite=645
Our 340 still goes to the image for 350 but it gets sorted out sometime after that. Do you need me to find where it's correct again? It seems fine by folio 350 and I spot-checked to the end.
Let me know if you have any questions, or if you want a more detailed list of the correct and incorrect image links.
(And, should I just fix these by manually copy-and-pasting or is it better for you to fix them?)

just inspecting a little further...it's possible this was half-corrected at some point but not quite done right.
As Debra says, folio 330r should point to image 645, but in fact points to 665. This stays that way until folio 340r, which also points to 645 (correctly). So it's just [the chants on] folios 330-339 that need to be remapped to images 645-664.

I'm going to take a stab at this with the Utrecht and GB-Ob Can. Lit. 202 sources.


miflora lib updated to version 0.3

miflora lib updated to version 0.3 to support negative temperature values. See https://github.com/open-homeautomation/miflora/pull/65 for more information.
Used miflora constructor changed and it is using the GatttoolBackend. This is not a configurable option.
Requirements file changed accordingly.

Excellent. Sooner or later we should switch over to another more stable backend though.
Thanks


Fix: The overnight update job rake task

What
This suddenly failed and seems to not be accepting arguments
This fix changes the method of calling the rake task and
works locally
Checklist
Before you ask people to review this PR:

Tests and rubocop should be passing: bundle exec rake
Github should not be reporting conflicts; you should have recently run git rebase master.
There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
The PR description should say what you changed and why, with a link to the JIRA story.
You should have looked at the diff against master and ensured that nothing unexpected is included in your changes.
You should have checked that the commit messages say why the change was made.

Codecov Report

Merging #2751 (6d48fde) into master (cfc5b2e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master     #2751   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          534       534
  Lines        11187     11187
=========================================
  Hits         11187     11187

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 cfc5b2e...6d48fde. Read the comment docs.


branch : Yashk

Note to the contributors:
Have you read the Contribution Guidelines? If not, check CONTRIBUTING.md file first.

What kind of change does this PR introduce? (select / add custom)
(new project | feature | docs | bug )
Description
...

Checklist

mark [X] to make it checked.

[X] I've read the contribution guidelines.
[X] I've mentioned my project in the Readme as per guidelines.
[X] I've checked that my project is not a duplicate project and I have cross checked the exisiting projects in this repository.

Hey @Greeshma2903  You can Visit now! <3
Related Issues
Fixes Issue # (write number after #)

Hey, closing this PR since I've merged the previous one 👍🏽


Add empty what happens next markdown field

What problem does this pull request solve?
Trello card: https://trello.com/c/AbPj2LRr/1191-allow-markdown-on-confirmation-page-what-happens-next-content

Adds a null what_happens_next_markdown field to the form. Also adds this null field to the most recent made_live_form.
To do in other PRs:

add logic in the runner (https://github.com/alphagov/forms-runner/pull/496) and admin to use the markdown field if it's present, and the HTML if not
convert the HTML content in the API into markdown and store it in this new field
cleanup: delete the old field and all the logic related to it which we no longer need

Things to consider when reviewing

Ensure that you consider the wider context.
Does it work when run on your machine?
Is it clear what the code is doing?
Do the commit messages explain why the changes were made?
Are there all the unit tests needed?
Has all relevant documentation been updated?

Does this have to change? https://github.com/alphagov/forms-api/blob/main/db/seeds.rb#L85

@aliuk2012 I don't think so at the moment - the seed still works and sets what_happens_next_markdown to null in the database, which is the default value (which we want because that's the state the forms in prod will be in after the migration). Good spot though - I'll add a note to the card so that I remember to update the seed when we do the conversion to markdown.


PagerDuty configuration: unable to set severity field using template

What did you do?
I am trying to set the severity using templated label with below pagerduty configuration in alertmanager:
  pagerduty_configs:
  - send_resolved: true
    routing_key: xxx
    description: |-
      test-cluster.{{ range .Alerts }}{{ .Annotations.summary }}.
      {{ end }}
    severity: '{{ .Labels.pdseverity }}'

I am setting .Labels.pdseverity on an alert in Prometheus.
What did you expect to see?
The alertmanager should be able to trigger a PD alert with its severity set based on the templated label.
What did you see instead? Under which circumstances?
PagerDuty v2 API allows severity of alert to be set, default being error.
With the above configuration, though an alert is in firing state in Prometheus, I don't get the triggered alert in PD.
However, when I directly set the value, like below, I get to see the incident in PD with the given severity, i.e. warning:
  pagerduty_configs:
  - send_resolved: true
    routing_key: xxx
    description: |-
      test-cluster.{{ range .Alerts }}{{ .Annotations.summary }}.
      {{ end }}
    severity: 'warning'

Would like to know how to set the severity field with a templated value. Thanks in advance.
Environment

Alertmanager version:
alertmanager, version 0.21.0 (branch: HEAD, revision: 4c6c03ebfe21009c546e4d1e9b92c371d67c021d)
build user:       root@dee35927357f
build date:       20200617-08:54:02
go version:       go1.14.4

Prometheus version:
prometheus, version 2.27.1 (branch: HEAD, revision: db7f0bcec27bd8aeebad6b08ac849516efa9ae02)
build user:       root@fd804fbd4f25
build date:       20210518-14:17:54
go version:       go1.16.4
platform:         linux/amd64

Logs: No error logs from alertmanager to indicate configuration error.

You made the mistake of using .Labels, which is part of the Alert structure.
You may want to use .CommonLabels at that point?
Check the documentation https://prometheus.io/docs/alerting/latest/notifications/.

Thanks @sbrass for getting back on this.
We have the pdseverity defined for each alert at Alert level.
Would you be having any suggestion on getting this alert level data here? Thanks.

The answer depends on your configuration, for example chosen routes and your application case.
I would try to route explicitly by your pdseverity label, i.e., all alerts send to a receiver will share a common label, pdseverity, which you then can access by .CommonLabels.pdseverity.
Alternatively, if you group alerts by cluster, service and/or host and have multiple alerts with possible differing pdseverity, you will want to choose the highest pdseverity to apply as payload severity?
I would expect Go Template to be able to handle such a case, where you want to have the highest severity printed.
However, I can not come up with a quick example for such an application.

isn't the severity not even passed to PD?
seems like Severity should be mentioned in notifiers.go


Issues with asynchronous simultaneous updates

I think that i'm having relatively frequent issues where two near-simultaneous updates are causing incorrect resultant counts (they are getting fixed by periodic counter_culture_fix_counts).
My question is  whether my analysis is correct, and also checking if there is a mechanism in counter_culture to change the strategy from a increment/decrement basis to a count basis (slightly slower, but more resilient to this kind of issue)
Background (simplified):
I've got a counter for pupils that is dynamic based on a field in tests (FYI there are other counter_cultures defined on this model)
counter_culture :pupil, {
      column_name: proc { |model|
        (model.completed? && nil || "uncompleted_tests_count"
      },
      column_names: snipped
}

Two processes can update this -- a server-to-server callback action's sidekiq job and a redirect action. Mostly the redirect action happens first, and the redirect is responsible for marking the test as completed. However occasionally the callback's job happens first. The callback's job adds data to the test and also sets it as completed if it isn't already completed (just in case).
Occasionally they happen at roughly the same time. I've seen this happen (in logs) when trying to trace a "uncompleted_tests_count" that was set to -1.  (I see three  counter-culture decrements in the logs, while having only 2 total test models. Of the three counter culture decrements two come almost simultaneously (milliseconds apart) and from different sources (one web, one from a sidekiq job).
However I notice that I also have other counter culture changes (increments in sidekiq jobs) that are also almost simultaneous which are both (I believe) duplicate sidekiq jobs. This is a known thing for  sidekiq  (and more generally for any at-least-once distribution  ). But in this case they don't seem to have doubly incremented the db.
So I'm wondering why the difference in behaviour -- why does the increment/decrement mechanism within counter-culture (seem to) be idempotent with Sidekiq & similar near-but-not-totally simultaneous duplicate jobs, but not with two processes.
Is there something specific that does the deduplication of identical updates?  Or was it just luck in my case (where the specific timing of the two different cases were different ).
Is there any way of ameliorating this  in my configuration / use of counter culture?

@timdiggins counter_culture runs a thread-safe update in the database along the lines of counter_column = COALESCE(counter_column, 0) + 1 so in the simple case concurrent updates shouldn't cause any issues. However, I could see how the use of a dynamic counter cache could be causing issues—if two threads simultaneously see this switch from uncompleted to completed, they might trigger two updates. I don't think there should be a difference from Sidekiq thread concurrency vs multiple process concurrency, though, so I'm guessing that's just a coincidence.
I can't think of anything off the top of my head that counter_culture could do to handle this automatically. Perhaps you could pessimistically lock the row before you start your changes in all the different spots, that should prevent this?


Sync upstream 5 Aug 2024

This sync contains https://github.com/activemerchant/active_merchant/pull/5181 from upstream which was blocking us.

 Active_merchant_old: Fix bundle audit rexml


[ENH] Override default publish folder name

Description
When loading module by name, module and its dependencies must be placed in garrysmod/lua/bin/Modules/ModuleName where ModuleName is exactly module's main assembly name. Any typo in folder name will make module load process impossible. We can override default publish folder name from publish to publish/$(AssemblyName). For example, for a module with name TestModule, the output of dotnet publish TestModule.csproj -c Release will be located at bin\Debug\net5.0\publish\TestModule and one can simply copy folder to Modules or ship to another machine or user without fear of typos.
Technical implementation
We can add GmodNET.API.props file to a GmodNET.API NuGet package, so any project referencing API will have its publish dir name overridden. Since .props files are imported before the main body of the project file, developers can override publish dir name themself one more time.

Sure, why not. If it eliminates confusions then I am for it.

What about having json file that specifies what assembly should be loaded?

@SupinePandora43 What do you mean? Can you elaborate?

What about having json file that specifies what assembly should be loaded?

Do you mean to have the user add an additional configuration .json?
E.g: mymodule.json
{
    "startup": "MyDllName.dll"
}

?
If that is what you mean I'd be against that since it adds a layer of complexity. I agree with @Stat1cV01D that elimination of confusion is something to go for. I believe adding another json is just something else you can forget as a new developer.

It seems like implementing this with only NuGet .props and .targets is not possible due to the properties evaluation order. We can fix achieve desired behavior by writing our own SDK, but this can wait for future releases.


inconsistency in recommendations

We mention: For Windows 10, we recommend uploading the .msixupload or .appxupload file here rather than .msix, .appx, .msixbundle, or .appxbundle. For more info about packaging UWP apps for the Store, see Packaging a UWP app with Visual Studio.
But https://docs.microsoft.com/en-us/windows/uwp/packaging/packaging-uwp-apps mentions: appxupload is the only type of valid app package for Partner Center that can be created using Visual Studio. Other valid app packages can be created manually, without Visual Studio.

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

ID: 0098ee34-7905-a879-190b-10f783f638a6
Version Independent ID: beb7fc7d-233c-5a15-a9a6-ffe86639527c
Content: Upload app packages - Windows UWP applications
Content Source: windows-apps-src/publish/upload-app-packages.md
Product: uwp
GitHub Login: @JnHs
Microsoft Alias: JnHs

Thanks for your feedback and for pointing out the inconsistencies in the docs! I have updated https://docs.microsoft.com/en-us/windows/uwp/packaging/packaging-uwp-apps to discuss .msixupload as well as .appxupload. I also took the liberty to update the screenshots.


Cache lib directories in circle

tsc is much, much faster on the second run. This PR caches packages/*/lib after running yarn prepare.

By tsc is much faster on a second run, are you saying that tsc is faster when no typescript files change? Or is tsc faster even with typescript source changes?

By tsc is much faster on a second run, are you saying that tsc is faster when no typescript files change? Or is tsc faster even with typescript source changes?

Both! Typescript introduced incremental compilation in version 3.4. It stores information in lib/tsconfig.tsbuildinfo which "remembers a faster way to type check the project". If the project has changed, the strategy might not be as fast, but in general it's much faster.


plugin_dir should be located in common section

http://sphinxsearch.com/docs/current.html#conf-plugin-dir

Just pushed bceb1da39ca489dc2f4aa12518c36deb5a48928b to develop that shifts this setting from searchd to common - though it's not backwards compatible at this point. Not quite clear when Sphinx made this change either (somewhere between 2.2.6 and 2.2.10 - but not mentioned in their release notes).

:+1:

@pat, please add another option http://sphinxsearch.com/docs/current.html#conf-query-log-min-msec in searchd section ;)

Now in develop courtesy of 2ce0b7fc54d91ded74b2931c8a295a846e5d60b8.

:+1: x2

Can this be closed now as of https://github.com/pat/riddle/commit/f9364782f992b46b241fa633cc51cad30847c629?

@dentarg I guess so, yes :)


rqt container plugin freeze

I see frequent lockups when trying to place plugins inside the rqt container widget.
For me it is extremely easy to reproduce:

launch roscore
launch an empty rqt window
launch a container plugin from the rqt menu
launch any other plugin from the rqt menu, for example Topics/Topic Monitor
drag the Topic Monitor widget over the container widget and drop it
drag the Topic Monitor widget away from the container widget and drop it
repeat steps 5+6, after a few times the Topic Monitor remains undocked and appears frozen.

It happens for any plugin, not just Topic Monitor
Apart from the problem being solved, I am also interesting to hear if anybody can reproduce this.

Me and some of my co-workers are experiencing the same issue. As soon as a container is part of the perspective, any plugin undocked and dragged freezes after before I am able to dock it again.

@krixkrix @remod Please provide more information like platform, ROS distro, Qt version, which binding and version is being used etc.

I just reproduced the problem with the latest Kinetic Debian on a 16.04 machine

I am using 16.04/kinetic as well, with default installations of Qt (4.8 and 5.5).

For me, the issue persists on 18.04/melodic with Qt 5.9.5.

Could reproduce on 20.04/focal and galactic and found quick-fix: run 'rqt --clear-config' to remove all frozen plugins.


How can I realize the feature transfer which is introduced in the paper.

Dear authors:
The excellent work has made a great improvement on image warping. However, I'm still confusing about feature transfer which is introduced just a little in the paper. How can I achieve feature transfer between 2 persons using the code?
Thank you.

BTW, I'll add something to the README regarding this.


null safty not working properly

class Foo {
  String? bar;

  void func() {
   if (bar == null)
     return;
    var temp = bar;
  }
}

in the func method "bar" is not available without !

Documentation explains why this is the case: https://dart.dev/null-safety/understanding-null-safety#working-with-nullable-fields
tldr is that something like this is a valid subclass of Foo, which makes sound promotion of fields (even if they are final) currently impossible:
class Bar extends Foo {
  String? get bar => random.nextBool() ? super.bar : null;
}

The language team is aware that this is one of the common sources of complaints and they are looking at various possible solutions, see label:field-promotion on the language repo.


[Launcher] Action runner should support running generic targets as non-elevated

Currently, we hard-coded running PowerLauncher as a non-elevated target. In the future, we might need to run other targets as non-elevated, so we need to rewrite a part of the action runner to support this.

Closing this ahead of 0.19 release since it's not a user facing fix.


NOISSUE - API For Search

What does this do?
Service layer and API layer for search
Which issue(s) does this PR fix/relate to?
No issue
List any changes that modify/break current functionality
Adds API endpoint for search
Have you included tests for your changes?
No
Did you document any new/modified functionality?
No
Notes
N/A

Current dependencies on/for this PR:

11-28-feat_add_retrieve_users_by_name

PR #86   👈

This stack of pull requests is managed by Graphite.

Closed in favour of #88


chore(main): release 2.1.3

:robot: I have created a release beep boop
2.1.3 (2024-11-10)
Dependencies

Update to eslint-config-plus-prettier v4 (#44) (3ab1783)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/aimeerivers/watchthis-home-service/releases/tag/v2.1.3 :sunflower:


Fix for invalid module assigned to entities

Can one of the admins verify this patch?

Ok to test

test this please

I resubmitted this in a separate PR in order to merge in some fixes from master that were causing the build to break. Thanks Tomek for the fix!


docs upload needs to be atomic

Right now whenever the bot uploads the docs, the site goes down. Usually it is quick enough but if it times out or whatever, the docs end up in a bad state.

And we need the ability to roll back.

I've bumped this to the "Next" milestone because the uploads are sometimes taking long enough that our site is down for minutes at a time, several times a day.

Dupe of https://github.com/flutter/flutter/issues/4236
But yeah, working on this now :)


WIP: Implement Twomes API v2 provisioning spec

What does this change

Twomes API v2 provisioning spec implemented in go (golang).
This code uses a clean/hexagonal architecture to separate concerns. Short description of folders:

pkg/twomes: Business logic.
pkg/ports: Describes ports for which adaptors can be made.
pkg/repositories: Implements repository adapters.
pkg/services: Implements service adapters. Services are an entry point to business logic and uses repositories for storage.

New docker image:

Previous
New

Size
1GB
15MB

Vulnerabilities
3190
0

vulnerabilities scanned with grype

TODO
The following changes still need to be pushed to this PR. Please do not commit to this PR.

[x] Database spec needs to be updated.
[x] Update docker image build process.

Testing

[ ] This change does not need testing.
[x] I tested this change.
[ ] I did not test this change.

I tested all currently implemented endpoints with insomnia (postman alternative):
POST /app - create a new app resource

Using admin_authentication_token as Bearer authentication header.

POST /campaign - create a new campaign resource

Using admin_authentication_token as Bearer authentication header.

POST /property - create a new property resource

Using admin_authentication_token as Bearer authentication header.

POST /device_type - create a new device_type resource

Using admin_authentication_token as Bearer authentication header.

POST /account - create a new account resource

Using admin_authentication_token as Bearer authentication header.

POST /account/activate - activate an account

Using account_activation_token as Bearer authentication header.

POST /device - create a new device resource.

Using account_authentication_token as Bearer authentication header.

GET /device/{device_name} - get information about a device

Using account_authentication_token  as Bearer authentication header.

POST /device/activate - activate a device

Using device_activation_token as Bearer authentication header.

POST /upload - used by device to upload measurements

Using device_authentication_token  as Bearer authentication header.

Trello card(s)

Change API endpoints to support provisioning v2: https://trello.com/c/KdpUasyz
Perform database migration for provisioning changes: https://trello.com/c/vNpVum0G
Add app identifiers to database, may be campaign dependent and return info in POST on /account with additional campaign parameter: https://trello.com/c/E8LDdJDF
Remove device display name from API: https://trello.com/c/LwFrCLIo
allow app to use POST on /device and create a device, return installation manual URL: https://trello.com/c/ODJsCUgv
Remove device registration step in provisioning (move to API call invoked by app): https://trello.com/c/vXFsG49r
Make server less picky: store proper values (only ignore improper properties/also store improper properties): https://trello.com/c/tEbmdCya

The PR seems mostly ok, as I indicated in our meeting 31-Mar-23.
In particular

lack of tools for registereing a new device_type, a new property or new combination of device_type and property is fine.
lack of documentation how to deploy a local API plus database instance using docker compose up and how to use tools like Ngrok to make this API and database combi accessible for an app under development and device under development is also fine.

HOWEVER, we should discuss two issues before deploying:

I don't think it is necassary at this stage to make the API/database/server aware of the upload interval (via POST /device_type)  it may expect from a particular device type. Indeed, this is currently a device-type-specific property established at compile time, but there is no reason why it should remain this way; we could make it instance specific, or even dynamically configurable later. Then, upload_interval at the server is meaningless.
The only two use case we currently (seem to) have is to allow the user to see that (a) the server received 1 or more uploads from a specific (newly) configured devices (and hence, it can show the fourth green tick and consider provisioning a success, and (b) is could show how long ago (or: when) it received the lastest info from a particular device.

Those use cases can easily be satisfied by returning the follwing info from a GET /device/{device_name}:

latest upload: <latest upload time, expressed as ISO8601 zulu time>
lastest properties: <list of latest properties, with for each property: property_name and latest property value time, expressed as ISO8610 zulu time>

It is up to the app developers to use this information during provisioning (that's relatively straghtforward: as long as upload is null then don't give the forth tick) and any "health" screen  how to show this (i.e. do they how it relative to current time as in "... ago", or do they represent tie time in local time compared to the smartphone timzeone or the home timezone). I would like to encourage the NeedForHeat app designers to try do do it without knowing the upload interval. Or... IF they need it, then the server does not make the judgement abouth health; it's then up to the app logic to make this judgement.
2.a (Perhaps we can postpone this to after deploying; not sure). We are considering dropping the requirement that a property needs to be registered with a particular device_type beforehand. The API and database just allow all combinations. It might be wise to drop this requirement before deplying v2. Then, if the server encouters a new property in some upload, it just adds it to the list.
2.b: I would like to consider moving the unit to the property name, using the encoding standard we used in the analysis (using dunder (__) as a prefix before the unit part of the variable.

Let's merge this PR and deploy v2 API and database on the test server, parallel to the current v1.

PR description was updated with latest endpoint screenshots.


Should ElasticClient accept authentication settings?

Documentation on credentials says that credentials should be passed manually to http clients through their own mechanisms of hooks. I did the same in http4s client https://github.com/Philippus/elastic4s/pull/3118, but now when I think about that, shouldn't ElasticClient provide a single unified mechanism by accepting credentials in a constructor argument? In tests it is implemented by overriding Executor, which also seems to be an anti-pattern. I don't see anything that prevents having single authentication mechanism on the level of ElasticClient. @Philippus WDYT?
We can provide 3 different authentication mechanisms (same way how it is implemented in http4s client):

UsernamePassword, allowing to pass username, password parameters
ApiKey, with apiKey parameter
Obvious NoAuth that turns off authentication

ElasticSearch supports one more mechanism, which is temporary tokens, which I'd argue would be harder to implement as it requires building the logic of refreshing those tokens (and it is hard to implement manually with the current implementation). So I think it can be omitted, and support only 3 auth methods above.

Additionally I can say that it won't break any existing methods of authentication, people can continue using their direct http client - level authentication mechanisms and pass NoAuth to ElasticClient if they want to.

IMHO, I feel like ElasticClient (similar to Executor) is a bit redundant. We could also do the authentication bit in HttpClient as well.


How to set Navbar to FixedMode

I have a XF application and i implemented this plugin successfully, i want to have all the title shown on the navbar. I have looked at all the code relating to this plugin but havent found a solution for XF. Has anyone has a solution for this?

Set FixedMode to true on BottomBarPage


Adding InclusiveManifestEvaluator and ResidualEvaluator

These two evaluators will be needed in DataTableScan class, as well as several other classes in the core module.

+1
This is a little different because we're storing the whole visitor instance as a thread local as opposed to just the internal state, but that's effectively the same.  LGTM.


Submit tests to GAIA benchmark

GAIA is a benchmark which aims at evaluating next-generation LLMs (LLMs with augmented capabilities due to added tooling, efficient prompting, access to search, etc).
Paper:
https://arxiv.org/abs/2311.12983

We introduce GAIA, a benchmark for General AI Assistants that, if solved, would represent a milestone in AI research. GAIA proposes real-world questions that require a set of fundamental abilities such as reasoning, multi-modality handling, web browsing, and generally tool-use proficiency. GAIA questions are conceptually simple for humans yet challenging for most advanced AIs: we show that human respondents obtain 92% vs. 15% for GPT-4 equipped with plugins. This notable performance disparity contrasts with the recent trend of LLMs outperforming humans on tasks requiring professional skills in e.g. law or chemistry. GAIA's philosophy departs from the current trend in AI benchmarks suggesting to target tasks that are ever more difficult for humans. We posit that the advent of Artificial General Intelligence (AGI) hinges on a system's capability to exhibit similar robustness as the average human does on such questions. Using GAIA's methodology, we devise 466 questions and their answer. We release our questions while retaining answers to 300 of them to power a leader-board

Leaderboard:
https://huggingface.co/spaces/gaia-benchmark/leaderboard

ha! very interesting, probably won't be able to do right now but would love to see how it would hold against those :)

First place is currently AutoGen 😉


Make Nacos Config  extension-configs/shared-configs support  profile  configure

我们鼓励使用英文，如果不能直接使用，可以使用翻译软件，您仍旧可以保留中文原文。
We recommend using English. If you are non-native English speaker, you can use the translation software.
Which Component
Nacos Config
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Make Nacos Config  extension-configs/shared-configs support  profile  configure
Describe alternatives you've considered
like it  already supported by  ${spring.application.name}-${profile}.${file-extension:properties}
but the extension-configs/shared-configs not yet
hope it support by  ${ext/shared-config-name}-${profile}.${file-extension:properties} like below:

create common-develop.yaml、common-test.yaml on nacos dashboard
config it in bootstrap.yml

   spring:
    application:
      name: nacos-config
    profiles:
      active: develop
    cloud:
      nacos:
        config:
          shared-configs:
            - dataId: common.yaml
            group: manage
            refresh: true

i hope when i change my profile from develop to test,it auto load common-test.yaml, not change the dataId to common-test.yaml

Additional context
Add any other context or screenshots about the feature request here.

use namespace is better


Trigger E_WARNING halt execution

According to http://php.net/manual/en/errorfunc.constants.php
E_WARNING should not halt script execution
To reproduce :
$app->get('/hello/:name', function ($name) {
trigger_error('E_USER_WARNING', E_USER_WARNING);
echo "Hello, $name";
});
=> I get a 500 error
Removing  E_WARNING from error_reporting disable this behavior but for me reporting setting's should not interfere with script execution.

Dont think this is Slim related. Look at error_reporting

@JoeBengalen Thank you for your quick answer.
Outside of Slim, updating error_reporting does not modify script behaviour
E_ERROR => halt script
E_WARNING => does not halt the script
and that's it.
I think this may due to Slim::handleErrors

Ohw you using slim v2. I've never used that version myself so I cannot really help you with that. But looking at the code Slim should respect the error reporting level:
https://github.com/slimphp/Slim/blob/2.x/Slim/Slim.php#L1408

Totally agree with you, but error_reporting should just interfere with error displaying and logging, and imho not changing script behavior.

Replace Slim's handleErrors with your own one.

@akrabat can you explain me how to do that ?
btw the problem occured with E_USER_NOTICE too if it's is in error_reporting.

http://docs.slimframework.com/errors/500/
$app->error(function (\Exception $e) use ($app) {
    // do something here
});

Overloading errorHandler does not change anything. handleErrors trigger ErrorException stopping the call process

handlerErrors() checks the error reporting level before throwing the exception. Try setting the error reporting level to 0 and try again. The exception should not be thrown.
error_reporting(0);
Note. You should not leave error reporting at 0, but just to test it for now.

Ah yeah. Sorry.
What you need to do is write your own middleware that resets the error handler:
<?php
require '../vendor/autoload.php';

class ErrorHandlerMiddleware extends \Slim\Middleware
{
    public function call()
    {
        set_error_handler(null);
        $this->next->call();
    }
}

$app = new \Slim\Slim();
$app->add(new ErrorHandlerMiddleware);

$app->get('/', function () use ($app) {
    trigger_error('E_USER_WARNING', E_USER_WARNING);
    echo "
Here
";
});

$app->run();

Or, extend the Slim class and override handleErrors :)

@JoeBengalen this what I said before, removing E_WARNING from error_reporting does the job ;)
@akrabat I was reading the PrettyExceptions middleware in order to write my own error middleware ;)
Despite i fixed this for my usage, don't you think it's a major issue ?

Slim 2 is no longer under active development and is only accepting security fixes.
Slim 3 doesn't have this "feature" :)

ok and is slim 3 ready for "end user" ?

We're at beta 2. Expecting RC1 towards the end of next week.

Nice, i will give it a try.
BTW, thank you for your help ;)

Nice, i will give it a try.
BTW, thank you for your help ;)

You're welcome :)


I want use custom font for buttons

Help me to use custom font for button

If you are using Calligraphy, you can set the custom font on the view in the XML and it should work, the widget extends TextView and uses the text views paint object to draw the text.

Just checked, the implementation is wrong, so this wouldn't work, I'll apply a fix and get back to you.

Version 1.4 fixes this issue. I've test it with Calligraphy as well as the new android XML fonts


JPEG & PNG: Fix loss of config info upon close and reopen

Both the JPEG and PNG readers, because the can only read scanlines in
strictly ascending order, have a section where if they need to backtrack,
they do so by closing the file and re-opening.
But in this close/open, any 'config' settings they were passed when they
opened the first time would get lost. And this could include the IOProxy
they were supposed to be using.
The config info needs to be remembered and applied again if the file
is closed and reopened internal to the reader's operations.

Closes #2544

Original reporter of the bug says that this patch fixes it. Merging.


retry for CHLNG not resetting sequence?

With osdp.net configured for 3 PD's (at 0, 3, and 7) It appears that it does not reset the sequence number if it gets a NAK 0 and it was attempting to set up a secure channel.  See attached log, packet 11 (a nak-0/s0/a=3) and packet 14 (a chlng/s1/a=3).  IMO while this PD has issues the ACU code should be going back to sequence number 0 when it receives a NAK 0.
21.log

The assumption is made that only the ACU set the sequence cadence. The PD should only reply to the sequence number value it was sent be the ACU command.

Are we assuming that a sequence zero that is sent from PD is a request to reset the connection?

A sequence number of 0 from a PD means the PD thinks the sequencing is screwed up and the ACU should go back to sequence 0.  If this happens inside a secure channel the ACU should additionally discard the current secure channel connection because if you can't trust the link layer (i.e frame header/sequence number) then you can't trust the rolling MAC value.  And you might be under attack by an intercept-in-the-middle attack.

{"command":"polling","action":"reset"} will make libosdp-conformance as a PD reset the sequence number to zero.  Useful for testing this?


zketcd: short and debug path encodings

Adds a human-readable path tag "path_debug" for building with easier
to read paths. Default paths are changed to be shorter, with classic
paths supported with "path_old".
Also gets rid of 'aver' key since the version can be inferred from the
ACL key itself.
Fixes #23

this is the last 0.0.1 blocker /cc @xiang90

LGTM


[Prototype] Can we run monaco outside of the zone?

What the issue is about
Monaco has lots of event listeners, and we run it inside of zone which (probably) adds overhead
Where to start
Read about zone.js
https://blog.thoughtram.io/angular/2017/02/21/using-zones-in-angular-for-better-performance.html
Search for usages of
https://github.com/codelab-fun/codelab/blob/master/libs/code-demos/src/lib/shared/monaco-config.service.ts

I will play around with this. This will be a good opportunity to dive deeper into zones.


New package: ADOLC v1.0.0

Registering package: ADOLC
Repository: https://github.com/TimSiebert1/ADOLC.jl
Created by: @TimSiebert1
Version: v1.0.0
Commit: 95916dc24705e00732d50a24ef44d07871fdaf07
Reviewed by: @TimSiebert1
Reference: https://github.com/TimSiebert1/ADOLC.jl/issues/11

I think the name is fine. It’ll just need a manual merge in three days

[noblock]
Just a reminder about the manual merge ;) Is there a need to add the "Override AutoMerge: name similarity is okay" label here ?
As for the name situation: this package is intended to be a wrapper of the ADOL-C algorithmic differentiation library, therefore the name.

I don’t have merge permissions, but I’ll ask on Slack for a full maintainer to manually merge. It sometimes takes a few days and multiple reminders before someone gets around to it. [noblock]


Viewport Resetting Issue When Zooming Nodes and Clicking on Another Node

Describe the Bug
Upon adding a new node, I'm utilizing fitView() to appropriately adjust the nodes within the viewport. However, I've observed that if I perform a zoom in or zoom out action on any node and subsequently click on another node, the viewport resets.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue

Add nodes to the flow diagram.
Utilize the Zoom In or Zoom Out functionality on the graph.
Click on any node within the diagram.

Expected behavior
Clicking on a node should retain the current viewport zoom level, maintaining the user's chosen zoom setting.
Screenshots or Videos
https://github.com/xyflow/xyflow/assets/18742807/fdc5a6f9-a6e7-432c-8c30-6cff06f136ae
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]

Additional context
Here is how I am using the fitView() function:

React.useEffect(() => {
fitView({ padding: 1, minZoom: 0.75 });
}, [nodes, fitView]);

Hey @imam2nd
as soon as you click a node, the nodes array changes and the fitView inside your useEffect gets called. You need to find another solution when you want to call fitView. There are different options for this:

onNodeDragStop
useNodesInitialized
on button click

Does it help?

@moklick, I attempted the methods that you've mentioned above, yet none appear to suit my particular scenario. Nonetheless, I've found that I can handle them using internal business logic.
Thanks for your response regardless.


Koken

Koken is a free system designed for publishing independent web sites of creative work.
http://koken.me/

Although free, Koken is not open source software: http://help.koken.me/customer/portal/questions/1096498-license


Use the right size of CDF for uv_intra_mode.

LGTM, so one smaller cdf size if CDF is disabled?

Yeah, the last mode is CfL.


hub.Keraslayer() compatibility issue with TPUs

Below code works fine on CPU and GPU but fails on TPU
model = tf.keras.Sequential([
                hub.KerasLayer('https://tfhub.dev/tensorflow/efficientnet/b3/classification/1')
                tf.keras.layers.Dense(1, activation='sigmoid')
            ])

model.compile(
            optimizer=config.OPTIMIZER,
            loss=config.LOSS,
            metrics=config.ACCURACY
        )
history = model.fit(
        dataset,
        epochs=config.EPOCHES,
        steps_per_epoch=(config.TOTAL_TRAIN_IMG//config.BATCH_SIZE),
    )

versions
tensorflow: 2.2.0
tensorflow_hub: 0.8.0

@orionpax00,
While trying to reproduce your error, I have encountered an error, NameError: name 'config' is not defined . Can you please help us to reproduce your issue. Thanks!

config is just a simple python class with designated values store in its variable
For Exampe
class config:
    OPTIMIZER: <value>
    ...

@orionpax00 Can you update the reproducible code so we can reproduce it on colab. Thanks!

@orionpax00,
Can you please provide the complete code including Config File so that we can reproduce it and can look into it? Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


feature request: rating counter

What feature do you want to get added on the base engine?
a rating counter. there are some modded songs that are so fuckin fast, to the point you cant tell how many sicks/goods/misses you have, so thats why i think a rating counter would be a good idea to add to the engine.
To test your sight, and reliability, please select the option of what should NOT be requested.

That's not happening

mk


L.GeoJSON.asFeature should pass through FeatureCollections

Should fix #5045. Unit tests wanted.

Added the requested unit test. I have verified that this test fails without @IvanSanchez's fix.


When I try to convert the output html to pdf in chrome, the output is only in the middle of the second page

When I open html/Inline html with AsciiDoc Slides with chrome and convert it to pdf by adding ?print-pdf to the url, I get only the middle of the second page.
It is broken at the time of preview.
If I set AsciiDoc Slides to 0.5.1 and use the output html, I can convert it correctly.
My environment is Linux(Debian sid amd64), so this may be a Linux-specific problem.
i use codium 1.44.2 and AsciiDoc Slides 1.2.0.

@matoken  Commit 18c1c00f468bc4046a1510fd77905ab33fc8fad4 should fix issues with pdf-export. Its included in version 1.3.0 i just released...


Updated license header to "Copyright (c) 2019 Skymind Holdings Bhd." for 2019 files and only "Copyright (c) 2020 CertifAI Sdn. Bhd." for new files in 2020 only.

When you added a new program / programs , put a cross on the  OS that you have test it on

(Example: [ X ] Windows  )
[X] Windows
[  ] Linux Ubuntu
[  ] Mac
[  ] Others  (State here -> xxx )
Assign a reviewer to review your code.

Done the necessary as per instructed in issue #120


Storage: remove the condition that is already verified by preconditions

GitHub is not displaying this change visually clear. What this all is about, is to remove the check that is verified by a precondition below.
if() line removal (plus the curly braces) is the only thing that gets modified here (the rest of the change is indentation).

If you hide the whitespace difference, you see exactly what changed:
https://github.com/Azure/azure-sdk-for-c/pull/2062/files?diff=split&w=1


fixed Markdown syntax in 4-3-commerce-and-trust.md

corrected Markdown link

This branch has not been deployed.


React boiler plate project (starting server error): SOLUTION

npm start

<EMAIL_ADDRESS>start /home/nilesh/Desktop/Work/React files/ReduxSimpleStarter
node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js

sh: 1: node: not found
npm ERR! Linux 4.13.0-37-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>start: node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the redux-simple-starter package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs redux-simple-starter
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls redux-simple-starter
npm ERR! There is likely additional logging output above.
For all guys facing the same error
Do the following:

Go to your terminal and install node ( not node js cause you have already installed node js and npm)

This could be done by writing:
sudo apt get install nodejs-legacy
in your terminal and after the package is installed
go to your project file folder i.e ReduxSimpleStarter and start the server by writing following command
npm start
Note : Non mac users can ignore the architecture error that my come during (npm install )
Kindly let me know in the comments, if you guys face any further problem

what about those on windows?
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli   'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli   'start' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>7 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
9 verbose lifecycle<EMAIL_ADDRESS>CWD: C:\wamp\www\ReduxSimpleStarter
10 silly lifecycle<EMAIL_ADDRESS>Args: [ '/d /s /c',
10 silly lifecycle   'node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js' ]
11 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
12 info lifecycle<EMAIL_ADDRESS>Failed to exec start script
13 verbose stack Error<EMAIL_ADDRESS>start: node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at EventEmitter.emit (events.js:214:7)
13 verbose stack     at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at ChildProcess.emit (events.js:214:7)
13 verbose stack     at maybeClose (internal/child_process.js:915:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd C:\wamp\www\ReduxSimpleStarter
16 verbose Windows_NT 10.0.17134
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
18 verbose node v8.12.0
19 verbose npm  v6.4.1
20 error code ELIFECYCLE
21 error errno 1
22 error<EMAIL_ADDRESS>start: node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js
22 error Exit status 1
23 error Failed at the<EMAIL_ADDRESS>start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

ok, after an hour or so, I was able to fix this by starting over ( alot of fixes for this issues ), then do a fresh npm install, and change in package-json the "scripts" "start" does not need the 'node and dir to webpack-dev-server', instead make it this:
"start": "webpack-dev-server"
and that's all I did to get it to work, on windows machine..of course took over an hour to try all the fixes..

If anyone is having more issues with this try deleting the node_modules folder. Then, run npm install.  After that's done downloading run npm cache clean --force and npm run dev.


Design icon for "Development" rules

@molant if the name of this category of rules changes let me know, this is for the new category discussed in #391 that will have lots of rules.

Preferences for the icon for the "Development" rules? @molant @alrra @sarvaje

I can't decide 🤔
We can probably ask around the office see what they think.

I prefer the first one, is like more development. The second one for my is more like settings.

This was closed via https://github.com/sonarwhal/sonarwhal.com/commit/6e967f65ba6b92577cdf4d12446ef7ca5959ae5c


Update locale nl

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Bug] 'Multiple API Configurations' causes build error

Is this a regression?
I don't know
Description
Hi, I'm trying to use Multiple API configurations feature with 2 ng-doc.api.ts files, and it causes an error below while building an application.

✘ [ERROR] Could not resolve "./ng-doc.api-list.json"
ng-doc/plugin-api-doc/api/api0/ng-doc-api-list.module.ts:4:20:
4 │ import apiList from './ng-doc.api-list.json';

I have debugged build steps, and I found out APIListEntity is being destroyed on build process.
Eventually, it fails to generate ng-doc.api-list.json file for an APIEntity.
As I guess, it fails to build because APIListEntity uses same id, "NgDocIndexFile".
In a set method of NgDocEntityStore, one of APILists is being removed, as it uses same key "NgDocIndexFile" for each APIListEntity instance.
override set(key: string, value: NgDocEntity): this {
    if (this.get(key) !== value) {
	this.get(key)?.destroy();
    }

    return super.set(key, value);
}

Please provide the exception or error you saw
While building ng doc application, it shows error below

✘ [ERROR] Could not resolve "./ng-doc.api-list.json"

    ng-doc/plugin-api-doc/api/api0/ng-doc-api-list.module.ts:4:20:
      4 │ import apiList from './ng-doc.api-list.json';
        ╵                     ~~~~~~~~~~~~~~~~~~~~~~~~

OS
Unix (Linux, macOS, etc.)
Browser
None
Node version
18.16.0
Anything else?
No response

Hey, big thanks for the ticket and help! You are right, it's a mistake with id that I made several months ago when I was refactoring all these classes. I'll release a fix right now.

:tada: This issue has been resolved in version 17.5.1 :tada:
The release is available on:

v17.5.1
GitHub release

Your semantic-release bot :package::rocket:


CLOUD-41495 Kerberos related request params validation

@keyki plz review it. Unfortunately @RequestParam, built in validations and custom validations are not friends together, too complicated to implement (not impossible), so i choose this stupid simple solution

Jenkins build failed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1663/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1664/


feature/BAI-271-strongly-type-ui-theme

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.ARADDCC012 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.ARADDCC012 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Break points bring up a "This application is in break mode" and doesn't break in source

PTVS 2.2.1 (2.2.31007.01)
VS 2015 Update 1 RC 24606.01
Python 3.5 64-bit virtual env
Bottle project
Put breakpoint in routes.py about() method
F5 with Microsoft Edge browser selected
Browse to about page
You'll see this:

Debug interactive works, but call stack doesn't appear (see pic).

It's a VM with defaults for everything in VS, except for auto-indent set to None for Python.


Creators can upload assets to the library

creators can upload assets to their own library.
Nice to have: They can choose to make the asset public so other users can use them aswell

Implemented


Illuminate\View: Normalize first level data keys passed upon view creation

Similar to what VueJS does when passing props using kebab-case whch are automatically converted into accessible camelCase variables, I wanted to have a go to see if it would be possible to avoid "losing" a variable when passing it via @include() or @component() data array using for example:
@include('foobar', ['foo-bar' => 'baz'])

I know it's not properly lost as it's always accessible with $__data['kebab-case'] but I wanted to see if I could make it easier/automagic for developers to retrieve it.
This should be of course only applied to the first level keys of the data array.
I believe this could make our life a bit easier as you could access it straight away with $fooBar.
What has been done here:

Implementing a new normalizeDataKeys() method on ViewFactory using official regex to identify if the key is legal or not.
Make sure this is called on make() and file() methods only for data passed by the developer, we don't want this to be applied to $__env for example.
Covering the functionality with unit tests.
Make sure tests/View tests are green.

PS: I've just realised that PSR-2 has been applied on the Factory file and some breaklines have been removed as well as some spaces have been added in docblocks. Surprisingly, StyleCI didn't flag this as an issue. Let me know if it is one, I'll revert those.

Just a suggestion - the PR is very long because of lots of Style changes that are unrelated to the PR itself.
This makes it harder for Taylor to see what it is you are actually changing (theres too many changes).
Just focus on the PR, and dont make any style changes unrelated to the lines of code you are changing. Dont worry if the StyleCI check "Fails" on the PR - this can be easily fixed later.

@laurencei this is what I suggested at the end of my previous comment.
This should look shorted now.

Would prefer people just pass the keys correctly to begin with.


Upgrade version to 2.2

Signed-off-by: Angie Zhang<EMAIL_ADDRESS>Issue #, if available: https://github.com/opensearch-project/index-management/issues/431
Description of changes:
CheckList:

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

* What went wrong:
Could not determine the dependencies of task ':integTest'.
> Can't get https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/2.2.0/latest/linux/x64/tar/builds/opensearch/plugins/opensearch-notifications-<IP_ADDRESS>.zip to /home/runner/work/index-management/index-management/src/test/resources/notifications/opensearch-notifications-<IP_ADDRESS>.zip

Blocked by notifications not being on 2.2 yet

Closing this in favor of the merged PR https://github.com/opensearch-project/index-management/pull/446
Note that PR is on 2.x, let's just bump main to 3.0 instead

Hi @downsrob  ,  bumping the version to 3.0 is failing due to notifications not being on 3.0 yet . To unblock my PR which needs latest OpenSearch changes  on main , I plan to backport same changes to main . Sounds good ?


Support API keys for iTMSTransporter

Feature Request
As a result of this conversation, it was brought up that using API keys for the transporter part of fastlane may be useful.
Motivation Behind Feature
Required 2FA by apple means that users have to once a month generate a session token to use for their CI. Fastlane provides a wrapper around transporter to upload builds to testflight, so you should be able to use api keys with transporter to avoid that problem for this feature of fastlane.

Just for easier visibility, copying over the post by @stevekohls

@janpio @ScottRobbins I did a little sleuthing:
Make your way to /Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin
And do a:

$ ./iTMSTransporter -help upload

And you'll see:
...
 -apiIssuer <arg>                      The -apiIssuer option specifies your App Store
                                       Connect Issuer ID.  You must also include the
                                       -apiKey option.
 -apiKey <arg>                         The -apiKey option specifies your App Store
                                       Connect API Key ID.  You must also include the
                                       -apiIssuer option. This option will search the
                                       following directories in sequence for a private
                                       key file with the name of AuthKey_<apiKey>.p8:
                                       ./private_keys, or <user home>/private_keys, or
                                       <user home>/.private_keys, or <user
                                       home>/.appstoreconnect/private_keys.
...
 -jwt <arg>                            The -jwt option specifies a JSON web token.
                                       You cannot use the -jwt option with the
                                       apiIssuer and apiKey options.

This is not in the iTMSTransporter docs (yet)

Awesome, didn't know that.
We have to decide if it is worth to invest much time here - iTMSTransporter is currently "only" used to upload apps in deliver and pilot - so for TestFlight and the AppStore itself. And most importantly you can work around 2FA perfectly by just using an app specific password, no messing around with the session necessary. So iTMSTransporter is already pretty nice!
(Was that unknown to you? Maybe we have to work on our error messages and notices a bit?)
That being said:
The code lives here: https://github.com/fastlane/fastlane/blob/master/fastlane_core/lib/fastlane_core/itunes_transporter.rb
It should be easy enough to introduce a few new ENV variables that can be used instead of the username + password (or app specific password) combination that is used right now.

And most importantly you can work around 2FA perfectly by just using an app specific password, no messing around with the session necessary. So iTMSTransporter is already pretty nice!

If i'm reading https://docs.fastlane.tools/best-practices/continuous-integration/#use-of-application-specific-passwords-and-spaceauth right

because your CI machine will not be able to prompt you for your two-step or two-factor auth information, you also need to generate a login session for your CI machine in advance. You can get this by running:

fastlane spaceauth -u<EMAIL_ADDRESS>This seems to indicate that you need to generate this login session before running, and above it says:

Again, the session should be valid for about one month, however there is no way to test this without actually waiting for over a month.

So you'll have to manually do that once a month, correct?
This isn't a terribly large amount of work to do once a month, but it'd be nice for people who only need to upload the build to iTunes Connect to not have to do it.

The code lives here: https://github.com/fastlane/fastlane/blob/master/fastlane_core/lib/fastlane_core/itunes_transporter.rb

It should be easy enough to introduce a few new ENV variables that can be used instead of the username + password (or app specific password) combination that is used right now.

Great! Hopefully soon I can open up a PR to add that option if it's something other people would benefit from.

Nah, you just proved that we have to work on https://docs.fastlane.tools/best-practices/continuous-integration/#use-of-application-specific-passwords-and-spaceauth to make this clearer 👍
iTMSTransporter, the upload part of deliver and pilot, just needs the application specific password to work with 2FA accounts. All the complicated session stuff, that has to be updated from time to time, is for the normal API that is used to upload metadata etc, not for iTMSTransporter.
(PR that hopefully will improve this lives here: https://github.com/fastlane/docs/pull/779)
Clearer?

Yes, that is much clearer, thank you!

@ScottRobbins You mentioned:

Great! Hopefully soon I can open up a PR to add that option if it's something other people would benefit from.
Let me know if that's in progress, or if I or my teammates can provide any help. I certainly could provide a review.

For background, our team develops a white label app that is distributed to many customers. Each customer has their own developer account, so 2FA is not a feasible option for us. Using an API key approach would be much smoother.

Let me know if that's in progress, or if I or my teammates can provide any help. I certainly could provide a review.

I'm going to  work on that this weekend 👍 I'll let you know if i run into trouble or don't think I will be able to work on it.

I am curious @stevekohls, just so I am understanding correctly:
Where do you see the benefit in using API keys vs. application specific passwords (which is already possible, see https://docs.fastlane.tools/best-practices/continuous-integration/#use-of-application-specific-passwords-and-spaceauth)?

@janpio I still get prompted with 2FA even I have added FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD to my environment variables.
I just want to upload binaries to the AppStore.
My lane is
  lane :beta do
    build_app(scheme: "MyApp",
              include_bitcode: true)
    upload_to_testflight(skip_waiting_for_build_processing: true)
  end

@kimdv Please open a new issue for your problem, then we can discuss this in detail. (You probably also have to do the second part of https://docs.fastlane.tools/best-practices/continuous-integration/#use-of-application-specific-passwords-and-spaceauth with spaceauth, as upload_to_testflight also uses the normal Spaceship login to talk to Apple, not just iTMSTransporter which is happy with the app specific password.)

@kimdv Please open a new issue for your problem, then we can discuss this in detail. (You probably also have to do the second part of https://docs.fastlane.tools/best-practices/continuous-integration/#use-of-application-specific-passwords-and-spaceauth with spaceauth, as upload_to_testflight also uses the normal Spaceship login to talk to Apple, not just iTMSTransporter which is happy with the app specific password.)

Open new issue for discussion #14258

Note with the API Keys: Using transporter, your API key must be given the "Admin" or "App Manager" role. "Developer" won't let you upload builds, will error with:

You must be an App Store Connect Admin or App Manager user in order to deliver content or metadata. (1150)

This contradicts apple's documentation


🐛 [Bug]:

What happened?
when i open the colab file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5d3dceee7940] error reading header
https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1726453530/ei/ukLnZo7TLoq3kucP3L_kqQE/ip/<IP_ADDRESS>/id/f1aa353403952935/itag/636/source/youtube/requiressl/yes/ratebypass/yes/pfa/1/wft/1/sgovp/clen%3D463772648%3Bdur%3D545.611%3Bgir%3Dyes%3Bitag%3D335%3Blmt%3D1629834060752995/rqh/1/hls_chunk_host/rr3---sn-p5qs7nzy.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/mh/ww/mm/31,29/mn/sn-p5qs7nzy,sn-p5qlsn6l/ms/au,rdu/mv/m/mvi/3/pl/20/vprv/1/playlist_type/DVR/dover/13/txp/5511222/mt/1726431700/fvip/5/short_key/1/keepalive/yes/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,pfa,wft,sgovp,rqh,xpc,vprv,playlist_type/sig/AJfQdSswRQIhAKzENbdzKNuYZBGMNqnvFNIs6ZNZ8UbE55fo0OuM79rbAiA8gq8yXM_18NZqKav4c0oTjypdDGvyYL2g344nrbriAA%3D%3D/lsparams/hls_chunk_host,mh,mm,mn,ms,mv,mvi,pl/lsig/ABPmVW0wRAIgUf_v1s85Rhj80m1l5D0f4X_4o5gFY81t6ImnDOmsq-kCIF2DdVNGyvt8HArvz4o_4FBAyhL9vsX4Bvn4wueV8Cu1/playlist/index.m3u8: Invalid data found when processing input
Error   File "/content/ShortGPT/gui/ui_tab_short_automation.py", line 114, in create_short
for step_num, step_info in shortEngine.makeContent():
File "/content/ShortGPT/shortGPT/engine/abstract_content_engine.py", line 74, in makeContent
self.stepDictcurrentStep
File "/content/ShortGPT/shortGPT/engine/content_short_engine.py", line 109, in _prepareBackgroundAssets
self._db_background_trimmed = extract_random_clip_from_video(
File "/content/ShortGPT/shortGPT/editing_utils/handle_videos.py", line 57, in extract_random_clip_from_video
.run()
File "/usr/local/lib/python3.10/dist-packages/ffmpeg/_run.py", line 325, in run
raise Error('ffmpeg', out, err)
What type of browser are you seeing the problem on?
Chrome
What type of Operating System are you seeing the problem on?
Windows
Python Version
3.9
Application Version
1
Expected Behavior
working
Error Message
No response
Code to produce this issue.
No response
Screenshots/Assets/Relevant links
No response

Here is an alternative which is maintained https://github.com/SamurAIGPT/Text-To-Video-AI


Detect ChromeOS and treat it like Android

On the long march to conquer the Chromebook soft keyboard bug, this PR updates the braintree/browser-detection package and makes sure ChromeOS inputs are handled like Android inputs.

@crookedneighbor fair enough. i had actually only added it in this PR bc i noticed in the log that historically the tag commit is the same commit as the changelog. also this lib is tiny. i'll open a new PR with answers to your Qs.


After Changing Surah from Top Right Droddown, dropdown still shows old Selected Surah;

After Changing Surah from Top Right Droddown, dropdown still shows old Selected Surah. This makes user confused if he selected the correct surah.
Check this video: https://www.screencast.com/t/zx4v9qjRf
Surah name should also be display as an heading before starting of the Surah name.

Thanks for filing this! Will take a look!

@naveed-ahmad Close This Issue


streamlit app for observing sessions

Also changed the sqlite connection strings to be relative to file so it works outside of docker.

Looks good so far. Can you add the following?

Select session id from a dropdown
Display metadata
Display completion text and audio in a chat mesage
Display transcription in a chat message
Option to display/remove certain events. received_audio detracts from this review process since it is most of the events


Context menu padding/margin error when used with fabric ui

monaco-editor version: 0.17.0
Browser: Firefox Developer Edition 68.0b14 (64-bit) & Chrome 75.0.3770.100 (Official Build) (64-bit)
OS: Windows
I'm trying to use the monaco editor in a typescript app I have, together with Fabric UI. I have not done any special css customization to either of them but they seem to share some css classes since the context menu gets quite a lot of margin/padding.
Any guidance to how I can enforce the default look and feel of the menu? Which css classes etc should I target?
Context Menu
Too much space!

Command Palette
Looks fine!

I believe there are CSS styles from your stylesheet which end up targeting dom nodes from the context menu. Please comment out your CSS and then slowly add it back in or use the inspect element from Developer Tools on those dom nodes to discover which CSS is affecting the monaco-editor dom nodes.


chore: remove Procfile from Rust templates

Changes

:broom: Removed Procfile from Rust templates. It appears the file is no longer needed.

Curious why it's not needed any longer.
/lgtm

Curious why it's not needed any longer. /lgtm

We did testing and it works without it, not sure why.

Probably the need was removed some time ago.

I guess this is it: https://github.com/paketo-community/cargo/pull/116/


[Unified Language Service] Text Analytics API Review

For the first preview of the Language API including TA we plan to expose our existing async service, with a few minor alterations in order to align with internally discussed naming conventions.
Swagger PR for first preview version:  https://github.com/Azure/azure-rest-api-specs/pull/16256

API Stewardship Review 12-Oct-21
Today's conversation will be focused on the batch API described in the design doc.
Internal design doc:  Language Unified REST API

We are switching this to records from document b/c documents has a broader definition w/in Cognitive. records has a broader meaning.
There will be existing APIs that overlap with the names. These will adhere to the breaking change rules.

All of the inputs & outputs should be the same.
There will be impact to the SDK team when building the client libraries.

Hi @markweitzel , the PR for this API version has been updated according to prior feedback, and also after a long discussion over email regarding the optional records property (which has been reverted back to documents).  I can share more details about the email thread if necessary, but we have decided to just make all of the mutually exclusive options within the analysisInput object optional instead of required for simplicity and to avoid the need to complicate the structure.  This should avoid the breaking change later when / if we add additional properties to this object in the future.


Don't know how to mount the DokanInstance...

I've got the following code :
var fs = new DavFS(
      _server,
      _token,
      _mountPoint,
      _remotePath
);

var logger = new ConsoleLogger("[Dokan] ");

var dokan = new Dokan(logger);

DokanInstanceBuilder builder = new DokanInstanceBuilder(dokan)
    .ConfigureLogger(() => logger)
    .ConfigureOptions(options => new DOKAN_OPTIONS
    {
        Options = DokanOptions.DebugMode | DokanOptions.StderrOutput | DokanOptions.RemovableDrive,
        MountPoint = _mountPoint,
    });

DokanInstance dokanInstance = builder.Build(fs)

DavFS is defined in another file.
So, I've got a DokanInstance object, but how do I mount it ?
Both DokanInstance and Dokan classes don't have any .Mount() method...
I don't understand how to run the instance !

Hi @Silloky ,
Build(fs) will instantiate and return a DokanInstance which peform the mount for you

Thanks for your answer !
Oh, so Build automatically mounts it ?

This is correct

Okay thanks !


How PipeCNN  do Xilinx's KCU1500 (XCKU115 FPGA)?

What can I do to run on Xilinx's KCU1500 (XCKU115 FPGA) platform?Thanks！

What do you mean by this ?


[SPARK-44751][SQL] Move XSDToSchema from catalyst to core package

What changes were proposed in this pull request?

Move XSDToSchema from catalyst to core package
Why are the changes needed?

It facilitates the a follow-up refactoring PR.
Does this PR introduce any user-facing change?

No
How was this patch tested?

Unit tests.
Was this patch authored or co-authored using generative AI tooling?

No

tests passed at https://github.com/shujingyang-db/spark/actions/runs/6750039898
Merged to master.


Update install-x11-basics.sh

Updating the output to say it is enabling autologin for the pirate user instead of pi

Thanks, good catch!


Question and pull request

Hello,
Firstly, thank you for this wonderful tool!
I did have an issue with the escaping where '\0' was not being escaped and was being converted to NULL in the string - this caused me an issue when using an import process on Linux.
I have forked and fixed this; and I have put in a pull request in-case it's something you'd like to add.
While making this change, I see there are a number of commented out conversions in escape_string like '\t' which is no longer converted to '\t' - I wondered why this might be, and if putting them back in would cause some specific issue?
Cheers

Hi xoozoo, the pull request is merged. Nice one 👍

Sweet - cheers - my first pull request :)

A new nuget package is published :)


Don't Merge! PR real time test for source branch full build

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

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

Docs Build status updates of commit fdcd4c3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docfx.json
:white_check_mark:Succeeded

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


Add files via upload

📥 Pull Request
Description
I have added 27 GFG problems along with their solutions in cpp.
Fixes #775
Type of change

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

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Kindly add hacktoberfest-accepted label also.
Thank You!


Add static tariffs

[](Would it be possible to equip sensor with static tariffs according to https://www.cezdistribuce.cz/webpublic/file/edee/distribuce/cezdistribuce_pasmaplatnostintavt_prubehove_mereni.pdf?
My new setup now uses static tariff AKU8V1 and I would very much welcome to use the same sensor in HA rather then devising new one and redo all the automatons around it.

I have same request - at very similar situation that I am now having PVT1. If would be possible to add just manual option to add the tariff or reflect those static ones. It would be really helpfull to be able to use the integration again after change of the tariff.

I also vote for this request. I have EVV2. Thank you very much! Lukas

Same here, i have EVV3. Or is there another solution?

Hi all, for static traffic you can use the standard HA Scheduler helper very effectively. It can be set graphically or using the configuration in the configuration YAML file.
schedules:
     bathroom_schedule:
         name: TRV - Static TRV start/stop
         icon: mdi:thermometer-check
         monday:
           - from: "06:30:00"
             it: "08:30:00"
         tuesday:
           - from: "06:30:00"
             it: "08:30:00"
         wednesday:
           - from: "06:30:00"
             it: "08:30:00"
         thursday:
           - from: "06:30:00"
             it: "08:30:00"
         friday:
           - from: "06:30:00"
             it: "08:30:00"

Automation example:
alias: TRV - bathroom scheduler
description: ""
trigger:
  - platform: state
    entity_id:
      - schedule.bathroom_schedule
    to: "on"
    id: TRV Start
  - platform: state
    entity_id:
      - schedule.bathroom_schedule
    to: "off"
    id: TRV Stop
action:
  - choose:
      - conditions:
          - condition: trigger
            id: TRV Start
        sequence:
          - service: climate.set_temperature
            data:
              temperature: "{{ states('input_number.trv_bathroom_temperature_high') }}"
            target:
              entity_id: climate.aqara_srt_e1_05
      - conditions:
          - condition: trigger
            id: TRV Stop
        sequence:
          - service: climate.set_temperature
            data:
              temperature: "{{ states('input_number.trv_bathroom_temperature_low') }}"
            target:
              entity_id: climate.aqara_srt_e1_05
mode: single

Since the said request is spreading like wildfire, when these codes are added to the application.


Show problems

Mac os 10.15.2
Python 3.7.7

Other people have also replied that the GUI does not show on Mac/Windows...
I have no idea how to fix that since I'm running Ubuntu, but if somebody finds a fix, please post it here so we can help everyone else!
I'd love to make this work cross-platform!

@shaohongwu this problem is because of your pygame version - did you try to install the recent development branch?
pip3 install pygame==2.0.0.dev4 should ideally help fix it.
but my problem is after i change the pygame version, nothing even comes (pygame just keeps on loading)

I could get it to work on MacOS Catalina 10.15.4 by installing pygame following the official guide.

wow @vlievin for me the irony is other games were working but this one! Let me try this! what's the pygame version you've got?

and @vlievin did you test this within a virtual env or sys wide?

it works finally
python 3.7.7 from official Python site (not the one that comes with Mac / homebrew)
pygame 1.9.6

I am using python from my main virtualenv with:
python 3.7.4 (default, Aug 13 2019, 15:17:50)
pygame==1.9.5.dev0
numpy==1.17.2
sounddevice==0.3.15

Hello, I'm testing on my computer and I get this error“Input sound settings for device None and samplerate None Hz not supported, using defaults...”How to add my own device？


support bitcount with GlideString

support bitcount with GlideString

Looks good, but can we add a test that checks the binary version?

Make sure to run ./gradlew spotlessApply before pushing


pin osbuild to a version before the depsolver changes

pin osbuild to a version before the depsolver changes
https://github.com/osbuild/osbuild/pull/1674 broke the depsolver API.
This is already fixed in images, but bumping images in bib requires
more changes, and we want to unblock everything ASAP, so let's just
pin osbuild to get the old depsolver once again.
Fixes #352

Containerfile: remove outdated rpm-ostree upgrade
I'm getting the following error, so this is no longer needed:
The same or higher version of rpm-ostree is already installed, cannot update it.

We will need to do it in #342, so I'm not too worried about it. :)


components: postcss compile the styles

Context: https://pluralsight.slack.com/archives/C70HPSJPP/p1629824121052000
We meant to postcss-compile the styles for the css custom prop fallback values for IE. But that doesn't seem to be working. Adjust the build:css step for all components to accomplish this.

Won't fix IE support has been dropped


Tag filtering happens after steps validation

It seems that you are unable to filter scenarios using the tags unless all steps have definitions.
As a background, I'm trying to have all feature files inside a single folder and having the capability to run either UI or Integration test whichever suits the scenario best. I'm using webdriverio for UI and jest-cucumber for integration.
With this error, I'm unable to run my jest-cucumber tests without running into step definition problems. Webdriverio supports this on the other hand.

I actually use it this way in my own project. I have Jest Cucumber tests running only scenarios tagged as @ui, and SpecFlow running scenarios with C# step definitions tagged with @api. This works as expected for me in my project using the latest version of this package. This issue is over a month old, so perhaps you got it working by now, or moved onto something else, but it would help if you could post steps to reproduce if you're still having problems.
This is what my global Jest Cucumber configuration looks like:
const setJestCucumberConfiguration = require('jest-cucumber').setJestCucumberConfiguration;

setJestCucumberConfiguration({
    tagFilter: '@ui'
});

Been some time since I revisited this functionality and upon further testing, it works if you have a steps file for the feature but not when you use it with autoBindSteps.
I'll put in some code to replicate this when i get the time but hopefully this would suffice for you.


Add EDW glossary entry

Description & motivation
Adds EDW glossary entry to the analytics engineering glossary

I made some substantial changes to the written content here, lmk if you have any questions or want to chat through this version I have!

You killed it, Kira! I responded to your one comment, but I think I'm going to start adding this content to the PR

@KiraFuruichi Okay, I added the new content. You can view the preview here. If it looks good, go ahead and approve the PR so I can merge. Thanks!!

Should be good to go now!


Support for Spuul.com

[x ] I've verified and I assure that I'm running youtube-dl 2017.12.23

Before submitting an issue make sure you have:

[x ] At least skimmed through the README, most notably the FAQ and BUGS sections
[x ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://spuul.com/videos/17034-jab-pyaar-kisise-hota-hai
Single video:https://spuul.com/videos/16786-dulhan-hum-le-jayenge

Description of your issue, suggested solution and other information
Please include support for downloading videos from spuul.com.

Sorry for opening a duplicate issue but plz look into providing support for this site.


Can i make state of table true and drag drop column order like jquery data table?

How can i save state  of table  and also want to reroder column dynamically for server side table.

Not support SSR

SSR is not supported. Also, saving this.columns might be enough to restore the state of  table columns.

Can you we use drag column order client side , Then i will also save in the DB state for the SST

https://github.com/OneWayTech/vue2-datatable/blob/master/plugins/HeaderSettingsDnD.js

https://github.com/OneWayTech/vue2-datatable/blob/master/src/HeaderSettings/index.vue#L72


TransitioningContent add ability to bind or run when required

It would be great to be able to to bind or choose when to run a transition. At the moment the default is to always run on load, but it would be great if we can choose when to start a transition.
A use case scenario would be to disable transitions when updating a collection as some collections update frequently and the transitions would be off putting for the user. So via MVVM binding it would be nice to have a dependancy property where we can bind to transition enabled = true or false kind of thing?

Hi,
You instructed me to add comments in an existing issue instead of the Gitter chat room. Anyway would it be possible to bind the materialDesign:IndexedItemOffsetMultiplierExtension to a property in my ViewModel as means of working around this issue?

And sorry for irritating you as I think I made you angry as I don't know what the rules are about what to comment and what not to in the Gitter chat room:( Sorry James you are doing your best and you get idiots like myself not conforming...I do sincerely apologise.

ha, I'm not irritated :)
To be honest, I just can't remember half the things going on :) and time is always in short supply

Phewww I was worried for a second:) Also do you accept donations from a company? My MD wanted to contribute towards your project?

https://pledgie.com/campaigns/31029
Many thanks!

No worries will do this ASAP

Hi @ButchersBoy ,
I finally managed to get the donation in phewww a few minutes ago under the name of markcvrs:). I had a problem with PayPal but all is good now. Hopefully I can keep giving at every new release..that is my plan.
Just wanted to thank you once again for a great toolkit and as for my other promise of a testimonial and images etc...could you please tell me where to send the stuff to i.e. email address?


Create npm-publish.yml

@AbegaM @IanMayo I think this PR will help us to iterate faster

@AbegaM @IanMayo I think this PR will help us to iterate faster

You're not joking there @thevahidal


refactor: run black pre-commit

related to #106

Why are we now going back to black (pun intended) instead of ruff, which formats compatible to black?

because I didn't know when I started using it ruff was not including a formatter. feel free to set it back (I self merged these PR as they influence nearly everything in the repo and creates inconsistency with feature branches)


open source time

When will the code be open source please?

Hi @FudongGe, thanks for your interest. We're planning to release the code and models during the conference. If you have any questions, feel free to drop me an email.

When will the code be open source please?

Sorry for the late reply. I've been busy with other projects lately and haven't updated them in a timely manner. I upload a preliminary code in the dev branch, but there are still some environmental conflicts that haven't been resolved well. You can take a look at some of the modules first. If you have any problems,  feel free to drop me an email.

Sorry for the late reply. I've been busy with other projects lately and haven't updated them in a timely manner. I upload a preliminary code in the branch, but there are still some environmental conflicts that haven't been resolved well. You can take a look at some of the modules first. If you have any problems, feel free to drop me an email.dev

Thanks for your quick response. And I have a question. In your paper, does the term 'online' imply that the teacher model and the student model are trained simultaneously, instead of following the conventional distillation approach where a teacher model is pre-trained and then used to guide the student model? Based on the preliminary code you provided, this is how I understand it.


Pull request: Update Japanese Translation on 10 Sep, 2021

add scanning work type translations.

Thank you merged!


feat(apply)!: Extend workflow for AWS and Terratest

Description
Adding improvements:

execution of tests prepared in Terratest
possibility to do Terraform plan & apply on AWS
add option fail_fast , which set to false do not cancel jobs, which are not finished (then all tests in Terratest can finish their work and destroy all resources)
add option apply_timeout, which allow to increase timeout (useful for tests, which take longer than default 30 minutes)

Motivation and Context
PR is connected with #31 . Deploying examples during PR or release sometimes is not enough, that's why workflows were extended to execute additionally Terratest - this approach will increase the quality of delivered code.
How Has This Been Tested?
All workflows were tested on a clone of the AWS modules repository.
Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes if appropriate.
[ ] All new and existing tests passed.

For backwards compatibility, changes were tested with internal, cloned repository for Azure

I'm closing this PR, because we agreed on different approach, which is going to be delivered in #37


Use IsValueType rather than IsByRef to cast from null to None

IsByRef is for determining if a paramater is passed by reference, use IsValueType instead

What happens if you don't do this?