Can't open scene with missing script

Tested versions
4.4 dev 694d3c2
Works in 4.3
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; <IP_ADDRESS>33) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)
Issue description
Trying to open scene with missing script results in error:

This is printed in the console:
  Attempt to open script 'res://TheScriptHeNeeds.gd' resulted in error 'File not found'.
  Failed loading resource: res://TheScriptHeNeeds.gd. Make sure resources have been imported by opening the project in the editor at least once.
  C:\godot_source\scene/resources/resource_format_text.cpp:284 - Parse Error: File unrecognized. [Resource file res://INeedScript.tscn:6]
  Failed loading resource: res://INeedScript.tscn. Make sure resources have been imported by opening the project in the editor at least once.

Steps to reproduce

Create scene
Attach a script
Close scene
Delete script file
Try to open scene again
Select "Open Anyway" on missing dependencies

Minimal reproduction project (MRP)
wherescript.zip

I also saw this weird "saved in a newer format" error, I don't remember the circumstance, but the message in itself is completely wrong so that part is a bug too.

Bisecting points to #95508 as the culprit, @Summersay415

So the option could be ignore ERR_UNRECOGNIZED when opening scene, but that would require to change error when newer format is used (#90571).

Based on this regression, I think #95508 was wrong, as it claimed to add an error only when no ResourceFormatLoader is found, but that is evidently not the case.
I'll revert it for now, and we can revisit how to signal that there is no ResourceFormatLoader in a safer way.


auto config a new joined node as management node or compute node

when adding a new node to the existing harvester cluster using ISO installation we should allow auto-configuration of the role to either be management or compute node(by default).

[ ] auto promotes the compute node to be a management node when meets the criteria.
[ ] remove the management node and promote a new one when the downtime is overdue.
[ ] remove node roles from the listing page but kept on the detail page

additional the node name for the management node is harvester-1 while additional nodes are harvester-. Maybe the duplicate name is the issue. can we check from the ISO side, thanks to @gitlawr

link to PR https://github.com/rancher/harvester/pull/270, https://github.com/rancher/harvester-installer/pull/10

link to PR https://github.com/rancher/harvester-installer/pull/42

link to PR https://github.com/rancher/harvester-installer/pull/42

Test completed


Few critical bluetooth regressions were fixed in 0.3.54

If you Completed all troubleshoot options, check below

[x]  Did you Follow all installation instructions carefully from here?
[x]  Did you check All troubleshoot options from here?

Desktop (please complete the following information):

Distro: Ubuntu
Desktop: Environment Gnome]
Version: 22.04
PipeWire Related packages Version: wireplumber
Kernel version:

Describe the bug
There are few critical bluetooth (mainly buffer) related bugs That were inntroduced in 0.3.53

Would you be able to release 0.3.54 soon, as it fixes those regressions?
How would you recommend working around the regressions? Is a revert plausible? How would you recommend applying it locally, without loosing future updates?

And an opportunity to thank you for all the work in bringing pipewire to Debian based distros, that's a great addition!

Would you be able to release 0.3.54 soon, as it fixes those regressions?

Yes I am aware of it. But was busy from couple of day on other thing. will release today.
for 2) please wait

Hope everything is ok. To let you know, If some release is made by upstream, I will release the nearest weekend of the release day. Thank you.


Correction in terminology

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

#sign-off

@ckittel: I'm sorry - only the author of this article, @faisalm, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


doc initial

Need more description for our forms and libraries:

data
def
check
typeof
libraries:

k/data/nat
k/data/bool
k/data/list
k/data/vec
k/equality

done


Fix yarn workspaces failing in CI

@Weakky I think our flow expects yoga installed globally. While packages have yoga from lerna bootstrap it also needs to be globally installed. A quick fix will be to add link step in CircleCi, however it could be a bug that CI build help to detect.


[5.6] Let apiResource support except option.

We might want to exclude some methods when using Route resources.
This is possible with Route::resource() but not with Route::apiResource().

This PR give the possibility to exclude an array on methods passed in except.

Awesome to see @lucasmichot active again. I've been sincerely worried. 😅

❤ 👍


TaskLocal not always restoring context after execution

I finally managed to reproduce the issue I was talking about on gitter.
The app below crashes with MatchError because variable becomes true on 2nd iteration (on my machine).
Happens on both RC1 and #613 (commit # 63044eb)
import monix.execution.Scheduler.Implicits.global
import monix.eval._
import scala.concurrent.duration._

object Fakes extends App {
  implicit val opts = Task.Options(false, true)
  val local = TaskLocal[Boolean](false).runSyncUnsafeOpt(Duration.Inf)

  def attempt = local.read flatMap {
    case false => local.bind(true) {
      Task.unit
    }
  }

  for (_ <- 1 to 1000) {
      attempt.runSyncUnsafeOpt(Duration.Inf)
  }
}

Ironically, this works when LCP is disabled
/cc @leandrob13

@oleg-py got it, will test and debug asap

So this sample should probably work because it's on the same thread, don't know what is wrong here; but it got me thinking ... your usage of runSyncUnsafeOpt in that loop is incompatible with the chosen model and this can't work for all tasks.
The problem gets more complicated when you introduce forks:
  def attempt = local.read flatMap {
    case false => local.bind(true) {
      Task.shift // <-- fork
    }
  }

In such a case the restore will happen on another thread entirely, captured in a ThreadLocal, which will never be seen from main. Basically the restore happens for the bind continuation of that Task, so the loop that should work is this:
def loop(n: Int = 1000): Task[Unit] =
  if (n > 0) attempt.flatMap(_ => loop(n - 1))
  else Task.unit

Is this a use case we care about?
If yes, then we cannot deliver on TaskLocal. If no, then we need to warn people in the docs, but if somebody as capable as you @oleg-py couldn't see the problem in this, then I'm afraid that TaskLocal is too error prone.

Btw, our implementation is inspired by the implementation of Twitter's Future and Local.
But it has one big difference. Back when we implemented this, @leandrob13 used an immutable Map in that ThreadLocal which I liked very much, however Twitter's implementation uses a mutable Array.
I'm now thinking that we might have made the wrong decision and that we also need a mutable Array.

@alexandru I used shift initially in my testing, but as I went on simplifying, unit was enough.
Honestly, my understanding of concurrency issues is somewhat superficial. I prefer to rely on good practices (immutables, pure functions) and abstractions (Task) to avoid having them 😅.
As I mentioned on gitter, I encounter similar problem when managing connections in oleg-py/quill-monix. The Task I produce is eventually run by http4s server, so I have little control over how it gets evaluated.
TaskLocal is a key for supporting transactions in quill-monix which has the potential to be a decent alternative for doobie in FP setting. It also has other uses like per-request logging data (and horrible ones, like avoiding passing arguments to functions :).

Yeah. I'm a little busy at work, but will play around with it this week. Maybe we need to go back to the basics. I'm curious how it behaves with a mutable Array in it, like Twitter is doing.
I somehow thought we outsmarted them, but I think they outsmarted us 😀

Getting back from holidays. Should I pause this until @alexandru tests the mutable Array alternative?

@oleg-py I tested and it seems that the problem lies within the bindL implementation based ob bracket.
Reverted back to this:
def bind[R](value: A)(task: Task[R]): Task[R] =
    Task.suspend {
      val saved = ref.value
      ref.update(value)
      task.doOnFinish(_ => restore(saved))
    }

and it works as you expect. The problem is that bracket forces an async boundary by using the onCancelRaiseError:
def apply[A, B](
    acquire: Task[A],
    use: A => Task[B],
    release: (A, Either[Option[Throwable], B]) => Task[Unit]): Task[B] = {

    acquire.flatMap { a =>
      val next = try use(a) catch { case NonFatal(e) => Task.raiseError(e) }
      next.onCancelRaiseError(isCancel).flatMap(new ReleaseFrame(a, release))
    }
  }

Since the boundary is forced, the release is done in another thread instead of the current one. That is something that is ok with bracket.  Tested for #601 and the test I based on your reports passes. I can do the revert in #613 if you guys think it is ok.

The async boundary in onCancelRaiseError is a light one, being managed by TrampolineRunnable instances pushed in the Scheduler, which knows how to execute them on the current thread.
That piece of logic never forks the execution.
What happens actually is that in the TaskRunLoop we are using Local.bind on executing stuff, restoring the previous context on the current thread after execution has completed or forked on another thread.
So on one of those Async values we end up doing:
// Saving the current context
savedLocals = Local.getContext()

// ...

Local.bind(savedLocals) {
  // Executing the bind continuation ...
  startFull(Now(value), context, callback, this, bFirst, bRest, runLoopIndex())
} // <-- restore happens afterwards

This is also consistent with how the TracingScheduler works:
final class TracingRunnable(r: Runnable, context: Context = Local.getContext())
  extends Runnable {

  def run(): Unit = {
    val prev: Context = Local.getContext() // <-- saves current context
    Local.setContext(context) // <-- sets the context we had on scheduler.execute()
    try r.run() finally Local.setContext(prev) // <-- restores saved context
  }
}

@alexandru @oleg-py As we discussed in gitter, I came up with this that seems to fix the problem reported:
def bindL[R](value: Task[A])(task: Task[R]): Task[R] =
    Task.eval(ref.value).flatMap { saved =>
      value.bracket(v => ref.bind(v)(task))(_ => restore(saved))
    }

If this is approved I can add it in #613.

@oleg-py Nevermind, this breaks the other tests. I had a premature conclusion on this one.

@oleg-py I got it working for your example that uses Task.unit with bind and bindL keeping the bracket implementation:
def bindL[R](value: Task[A])(task: Task[R]): Task[R] =
    local.flatMap { r =>
      val saved = r.value
      value.bracket { v =>
        r.update(v)
        task.doOnFinish(_ => restore(saved))
      }(_ => restore(saved))
    }

If I changed your example above from Task.unit to Task.shift and it is still failing because of the reasons @alexandru gave above ( I tried to explain it (here)[https://gist.github.com/leandrob13/382df8a7b8cec321bf5d2791df240889] ).
I don't think we can guarantee the cleanup of the original thread the Task starts from with our current status. This effort might require to keep an additional state of the context before and after a bind so the former can be restored on the original thread upon reaching an async boundary. It would mean to change the LocalAwareCallback I proposed. We can see if @oleg-py can do it in #635

Will close the issue for now. If you think it's still relevant, you can reopen.

Definitely think this is still relevant! Would love to have monix with quill-jdbc but this issue is a blocker!


fix: SettingsStatic class default to yaml file

Description
This patch fixes scenarios where the user renamed the settings file to settings.json.<something> which caused the settings setup script to concatenate the settings name incorrectly
Related Issue
N/A
Motivation and Context
Fixes a bug
How Has This Been Tested?
Local reproduction of issue
Screenshots (if appropriate):
Types of changes
Update of a method, no backward compatiblity implications
Checklist:

[x] My code follows the code style of this project.
[] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my code changes.
[x] All new and existing tests passed.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 3 (0.0%)  changed or added relevant lines in 1 file are covered.
104 unchanged lines in 12 files lost coverage.
Overall coverage decreased (-5.9%) to 53.741%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/utils/settings.ts
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/repositories/event-repository.ts
1
97.44%

src/handlers/event-strategies/replaceable-event-strategy.ts
2
84.62%

src/adapters/web-server-adapter.ts
3
56.67%

src/handlers/event-message-handler.ts
3
85.28%

src/factories/rate-limiter-factory.ts
4
45.45%

src/app/worker.ts
5
34.29%

src/cache/client.ts
5
40.0%

src/adapters/redis-adapter.ts
6
6.38%

src/handlers/request-handlers/rate-limiter-middleware.ts
8
17.5%

src/utils/settings.ts
10
65.82%

Totals

Change from base Build<PHONE_NUMBER>:
-5.9%

Covered Lines:
1027

Relevant Lines:
1871

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

-3 of 3 (0.0%)  changed or added relevant lines in 1 file are covered.
104 unchanged lines in 12 files lost coverage.
Overall coverage decreased (-5.9%) to 53.741%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/utils/settings.ts
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/repositories/event-repository.ts
1
97.44%

src/handlers/event-strategies/replaceable-event-strategy.ts
2
84.62%

src/adapters/web-server-adapter.ts
3
56.67%

src/handlers/event-message-handler.ts
3
85.28%

src/factories/rate-limiter-factory.ts
4
45.45%

src/app/worker.ts
5
34.29%

src/cache/client.ts
5
40.0%

src/adapters/redis-adapter.ts
6
6.38%

src/handlers/request-handlers/rate-limiter-middleware.ts
8
17.5%

src/utils/settings.ts
10
65.82%

Totals

Change from base Build<PHONE_NUMBER>:
-5.9%

Covered Lines:
1027

Relevant Lines:
1871

💛  - Coveralls


Normalize DanTheMan827.ClassicContext 1.0.1

null
Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-No-Executables


Backout noarch

This recipe shouldn't be noarch: python since it has a py2k selector. This was my error during the review of the staged-recipe.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@lewismc - I think this should be ready to be merged.

+1
I will do it asap thanks
On Fri, Nov 10, 2017 at 8:02 AM Joshua Adelman<EMAIL_ADDRESS>wrote:

@lewismc https://github.com/lewismc - I think this should be ready to
be merged.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/conda-forge/pycovjson-feedstock/pull/1#issuecomment-343512612,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABHJl66UM9EdfZqRY-8nl6Un6XZgOEfYks5s1HOFgaJpZM4QYfoo
.

--
Lewis
Dr. Lewis J. McGibbney Ph.D, B.Sc
Director, MCMA Associates L.L.P.
Skype: lewis.john.mcgibbney
Email: http://www.mcmaassociates.com/contact-us.html
Web:http://www.mcmaassociates.com/

Thank you @synapticarbors


Directory Structure cleanup

We have an inconsistent directory and export/import structure in some parts of PD.
Redux "Atoms"
load-file/ is a good example of the structure we want
labware-ingred/ is probably the worst offender
Components

elements/ - highly reusable, small. Kind of things that might exist in Components Library but are PD-specific (or just not migrated to component library)

scenes/ - "main page" that changes when you navigate. It's composed of many compounds.

compounds/ - a case-specific component, composed of many elements, is part of a scene (sometimes limited number of a few scenes). Example: Step Edit Form. It's specific for a certain case.

Plus the App.js entrypoint
Containers
Ideally, the containers/ directory should should go away and everything in there moved to components/, with the index.js doing the connect().
Practically, that might be a lot of refactoring, but time-box it and see if it can be done.
CSS
Now we have a lot of Foo.js + foo.css. Instead we should do:
compounds/Foo/
compounds/Foo/index.js
compounds/Foo/style.css

compounds/index.js # <-- so you can do `import {Foo} from '../path/to/compounds'

@b-cooper @IanLondon
Please make a milestone for this one.


Any plan to support bot authentication capabilities via Azure Bot Service?

V3 SDK seems to support bot authentication via Azure Bot Service as documented here.
Is there any plan to support this in the new botbuilder SDK?

We're working on the same OAuth support now.  You can see it in PR #520.
Hopefully, it'll come in quite soon. I believe the support is already there in the Node SDK, and we're just waiting on some minor code review changes.

Circling back on this. Seems the PR has been merged late May. Are we releasing a new nuget package? @cleemullins

@sidecus  we are working on releasing the nuget package shortly. Short term solution, build the package yourself.  Longer term, daily builds are on the horizon.

Hi, is this released? i do not find in recent nuget? any documentation how to use it?

@EricDahlvang, can you post instructions (that we'll probably need to re-use often) for how to configure and consume the daily feed? As the daily feed has the right code, that should resolve this issue.

You can register a MyGet feed the same way you register any NuGet package source by using the Package Manager Settings dialog. You can find it under Tools > Library Package Manager > Package Manager Settings in the Visual Studio menu.

In the Options dialog, choose Package Sources then click the green + button.  This will create a new package source entry.  Fill in the Name field, and add the botbuilder.myget.org url as the Source ( https://botbuilder.myget.org/F/botbuilder-v4-dotnet-daily/api/v3/index.json )

Lastly, click Update then OK
This package source will now be available when managing packages for a solution or project:

Thanks @cleemullins and @EricDahlvang , is there any documentation i can refer on how to use OAuth Prompt. by using daily feed, i can refer to OAuth classes but it break other stuff.

@tusharvaja
Please try the latest Bot Builder on Nuget: https://www.nuget.org/packages/Microsoft.Bot.Builder/4.0.7
This documentation provides some guidance for implementing OAuth: https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-tutorial-authentication?view=azure-bot-service-3.0&viewFallbackFrom=azure-bot-service-4.0  with some examples https://github.com/Microsoft/BotBuilder-Samples/tree/master/samples/csharp_dotnetcore/18.bot-authentication and https://github.com/Microsoft/BotBuilder-Samples/tree/master/samples/csharp_dotnetcore/24.bot-authentication-msgraph


Fix case-typo in setting name

See https://github.com/raspberrypi/pico-examples/pull/16

Haha these were the suggestions I made in beta! I don't know how I managed to get from "gdbPath" to "gdbpath" but this genuinely baffled me and I thought VSCode (or Cortex Debug, in any case) had silently updated to stop supporting it or something. Mystery solved, thank you.

Haha these were the suggestions I made in beta! I don't know how I managed to get from "gdbPath" to "gdbpath" but this genuinely baffled me and I thought VSCode (or Cortex Debug, in any case) had silently updated to stop supporting it or something. Mystery solved, thank you.

Sorry that your beta-suggestions got dropped, we must have lost them in the Great Git Squashing.
BTW is it deliberate that main.cpp in this repo includes a pico_explorer.hpp which doesn't seem to exist? I've not actually tried cloning this repo though so maybe there's some other magic going on.
And have you seen https://github.com/raspberrypi/pico-setup ? Seems like that does "automatically" a lot of what the README in this repo is describing "manually"? :man_shrugging:

Sorry that your beta-suggestions got dropped, we must have lost them in the Great Git Squashing.
BTW is it deliberate that main.cpp in this repo includes a pico_explorer.hpp which doesn't seem to exist? I've not actually tried cloning this repo though so maybe there's some other magic going on.
And have you seen https://github.com/raspberrypi/pico-setup ? Seems like that does "automatically" a lot of what the README in this repo is describing "manually"? :man_shrugging:


problem mbedtls generate RSA pem format key pairs.

#3465 # Description

Type: Bug
Priority: Minor

Bug
OS
Mbed linux
mbed TLS build:
Version: 2.16.8
OS version: ubuntu 20.04 lts amd64 (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04))
Additional environment information:
Question
Hello, I use mbedtls_pk_write_key_pem() and mbedtls_pk_write_pubkey_pem() interface to generate RSA key pairs. The mbedtls_pk_write_key_pem generated the PKCS#1 format private key pem file, but mbedtls_pk_write_pubkey_pem generated a PKCS#8 format public key pem file. I understand that  PKCS#* version of generating the key pairs by write_pubkey_pem() and write_key_pem()  should be coincident.

PKCS#8 format for private keys is more advanced and more general than the format laid out in PKCS#1. Also PKCS#8 is a format exclusively for private keys and shouldn't be used for public keys. Synchronising the formats would mean that both use PKCS#1, which would be a step back from what we have now.
How does the formats being different affect your use case?

PKCS#8 format for private keys is more advanced and more general than the format laid out in PKCS#1. Also PKCS#8 is a format exclusively for private keys and shouldn't be used for public keys. Synchronising the formats would mean that both use PKCS#1, which would be a step back from what we have now.
How does the formats being different affect your use case?

Hi yanesca,
Thanks for your reply. I samely want to use the advanced PKCS#8 private key pem file, How does the PKCS#8 private key pem file can be generate by  mbedtls_pk_write_key_pem()? I use mbedtls_pk_write_key_pem() interface, a PKCS#1 format pem key will be generated.

Oh, I see it now, thank you for clarifying.


Make wio_terminal display frequency consistent

58 MHz works on all examples.

Some background adding on to https://github.com/atsamd-rs/atsamd/pull/604#issuecomment-1099634925:
Support for selecting display SPI speed was added in #320 (2020-11-15), where these were set to 58 MHz:
buttons, clock, orientation, usb_serial_display

and these to 24 MHz:
qspi, sdcard

possibly because they also use SPI for storage access.  These examples were added after #320:
microphone, wifi_connect, wifi_scan

all of which picked 24 MHz.
The ILI9341 datasheet suggests that the maximum speed would be 10 MHz, but as noted in #320 as much as 80 MHz has been confirmed to work.
The display does not work for wifi_scan at 24 MHz; it does at 32 MHz, 40 MHz, and 58 MHz.  The other examples work at 58 MHz speed too, so make it consistent to reduce confusion in users creating new demos.

Could you please update the BSP's README?

@jbeaurivage Rebased and README updated.  I'm not sure what you were looking for, let me know if this isn't it.

@pabigot sorry my mistake, I meant updating the changelog! But the info you put in the readme definitely doesn't hurt

@jbeaurivage OK, that makes sense.  Should I add entries for my other recent fixes too?

Yes please! No worries, all the entries can be in this pr.

@jbeaurivage done

Thanks for all the improvements @pabigot!


High regen missile micro

Regen 3, missile 2, thruster 2? or maybe TP

Or just normal regen missile micro, that waits to heal after attacking.

Mine laying missile micro wrecks this.


Configuration for HA

To include Geiger to HA -> in configuration.yaml, add:
sensor:
  - platform: rest
    name: EIK_Geiger
    resource: http:// <IP-Address> /cpm
    json_attributes:
      - "data"
    value_template: "OK"
  - platform: template
    sensors:
      cpm:
        value_template: "{{ state_attr('sensor.EIK_Geiger', 'data')['cpm'] }}"
        unit_of_measurement: "cpm"
      cpm_m:
        value_template: "{{ state_attr('sensor.EIK_Geiger', 'data')['cpm_M'] }}"
        unit_of_measurement: "cpm_avg_m"
      cpm_h:
        value_template: "{{ state_attr('sensor.EIK_Geiger', 'data')['cpm_H'] }}"
        unit_of_measurement: "cpm_avg_h"
      raw_volt:
        value_template: "{{ state_attr('sensor.EIK_Geiger', 'data')['raw_volt'] }}"
        unit_of_measurement: "raw_voltage"

Thanks!! Added to readme


This is awesome!

Just came across Dext. Such a cool project. I'm a long-time Quicksilver/Alfred/Spotlight user, so an extensible Electron app inspired by these concepts really appeals to me. :)
I would love to see this on the Electron website. @vutran would you care to open a pull request?
https://github.com/electron/electron.atom.io/blob/gh-pages/CONTRIBUTING.md#adding-an-app-or-project-to-the-site

Hi @zeke, thanks for the kind words! Definitely sounds good. I'm still working on a logo/icon/site for Dext so I have been holding out till that is done before opening a PR.

working on a logo/icon/site

:+1:

@zeke Officially submitted! 🎉

😎

💃


Combine production fields from platform API

Combine the production fields to more represent what we have on the currently library site.

@jennpb @Heesoomoon @pollecuttn
From the code here, I'm not 100% we can combine the fields back into their original state.
What that code is doing is combining:

subfield a & e into the list places
subfield b & f into the list agents
subfield c & g into the list places

As these are all lists, we won't be able to tell whether e.g. index 0 in places should be combined with index 0 of agents.
@jtweed am I right in saying this, or misreading the explanation in the comment?

It certainly seems like you might be right. I'm going to have to defer this one to @silveroliver, as I'm sure this was discussed at length during his sessions with the librarians.

So I think I misunderstood the exploding. from what I can tell I was saying, if we have three 260 fields:

a1 b1 c1
a2 b2 c2
a3 b3 c3

We then zipped them into 1 production event, which would be:

places: a1, a2, a3
agents: b1, b2, b3
dates:c1, c2, c3

This is wrong, what we do is have three production events:

places: a1, agents:  b1, dates: c1
places: a2, agents:  b2, dates: c2
places: a3, agents:  b3, dates: c3

Why each field of each event is a list is to account for a record that is:

a1b1 a2b2 c1
places: a1, a2, agents:  b1, b2, dates: c1

Which would result in a production event of:

places: a1, a2, agents:  b1, b2, dates: c1

This record above would allow us to stick it back together, but if we had the record:

a1 a2b2 c1
places: a1, a2, agents:  b2, dates: c1

Basically we couldn't tell that a2 is associated with b2 as we can't use order for reference.
However - I'm not sure that this ever happens. 👈 if not, we can infer how to stick these back together.

What next
So using the above examples, we were talking about flattening out the production events into multiple events.
Marc
a1b1 a2b2 c1
Old JSON
[{
  "places": ["a1", "a2"],
  "agents": ["b1", "b2"],
  "dates": ["c1"]
}]

New JSON
[{
  "places": ["a1"],
  "agents": ["b1"],
  "dates": ["c1"]
}, {
  "places": ["a2"],
  "agents": ["b2"],
  "dates": ["c1"]
}]

...and...
Marc
a1 a2b2 c1
JSON
[{
  "places": ["a1"],
  "dates": ["c1"]
}, {
  "places": ["a2"],
  "agents": ["b2"],
  "dates": ["c1"]
}]

Ping @silveroliver @Heesoomoon - sorry if this is verbose, but covers my understanding of the issue?

What makes this hard is we might get:
a1 a2b2 c1
Where the a and c are shared by the 2's!
Would result in:
a1 a2 c1
a1 b2 c1

I need to dig out more examples like this.

Transformation file has been updated. This is ready for review by @jtweed and then ready to be worked on.

@silveroliver Do we have an example, just for completion of this issue?

If this is correct:
 {
 	"production": [{
 		"label": "London : Mac Keith Press, NY : HarperCollins, 1998",
 		"places": [{
 			"label": "London",
 			"type": "Place"
 		}],
 		"agents": [{
 			"label": "Mac Keith Press",
 			"type": "Agent"
 		}],
 		"places": [{
 			"label": "NY",
 			"type": "Place"
 		}],
 		"agents": [{
 			"label": "HarperCollins",
 			"type": "Agent"
 		}],
 		"dates": [{
 			"label": "1998",
 			"type": "Period"
 		}],
 		"function": {
 			"label": "Publication",
 			"type": "Concept"
 		},
 		"type": "ProductionEvent"
 	}]
 }

We've got duplicate keys for places and the others, which makes it invalid and unparsable?

This works?
 {
 	"production": [{
 		"label": "London : Mac Keith Press, NY : HarperCollins, 1998",
    "event": [
      {
        "type": "Place",
        "label": "London",
 			  "type": "Place"
      },
      {
        "type": "Agent"
        "label": "Mac Keith Press",
        "type": "Agent"
 		  }
    ],
 		"type": "ProductionEvent"
 	}]
 }

Progress notes:
These aren't defined, but just on a conversation @silveroliver and I had
They're also based on the fact that 260 is a broken field, and it might be worth sorting that systemic problem out
Short term
We going to be adding the label to the current structure.
This will allow us show the label, and search on the different terms within that label.
This will not allow us to combine the fields in an order defined by us.
Medium term
Look at migrating 260 to 264
Longer term
Continue modelling in a world where the data is more consistent and expressive.
@jennpb I'd say this ticket is probably closed as the next steps have been defined?

Yep, now the next step is #3890


Hang when attempting to discover offset manager

PyKafka v2.1.2
Python 3.5
I have noticed that occasionally I will experience one of my tests hanging, specifically when the offset manager is trying to be discovered with a BalancedConsumer.
The topic is being created dynamically from my test case.
2016-01-18 22:11:02,093| shepherd.orgstreamer/77: Getting new Kafka consumer... @_get_kafka_consumer:112 #DEBUG
2016-01-18 22:11:02,097| pykafka.handlers/77: RequestHandler.stop: about to flush requests queue @stop:134 #INFO
2016-01-18 22:11:02,097| pykafka.topic/77: Adding 1 partitions @update:147 #INFO
2016-01-18 22:11:02,098| kazoo.client/77: Connecting to kafka:2181 @_connect:575 #INFO
2016-01-18 22:11:02,102| kazoo.client/77: Zookeeper connection established, state: CONNECTED @_session_callback:444 #INFO
2016-01-18 22:11:02,134| pykafka.balancedconsumer/77: Rebalancing consumer "74f0aa9b3750:bed7ddf6-d74b-4864-bd00-daf837cebece" for topic "b'vk.datarouter.data.filtered.shepherd.test.2'". @_rebalance:518 #INFO
2016-01-18 22:11:02,136| pykafka.balancedconsumer/77: Balancing 1 participants for 1 partitions.
Owning 1 partitions. @_decide_partitions:403 #INFO
2016-01-18 22:11:02,140| pykafka.cluster/77: Attempting to discover offset manager for consumer group 'b'shepherd.test.2'' @get_offset_manager:346 #INFO

And then it just hangs indefinitely. I have not yet tracked down the cause of this, but will investigate further and try to get a reproducible test case.
Update 01/20/2016:
This is an annoying bug as it's preventing my automated tests from running reliably. It seems to be only happening when attempting to consume (or maybe just creating the BalancedConsumer?) the first time with a new Kafka cluster.
It looks to be hanging at BalancedConsumer._rebalance() while it is waiting for the _rebalancing_lock.

Thanks @spudfkc. I believe this is the same issue that we see in our own test cases. We haven't yet been able to pinpoint the cause, so do post any further information you find on it.

@spudfkc These test hangs are really difficult because it's not always obvious how to replicate them reliably. Do you have a test case that hangs every time, or at least most of the time?

pykafka 2.2.0, python 2.7.9, kafka <IP_ADDRESS>
I observed the same behaviour in production last night. The trigger was that we shut down one Zookeeper node in a 3-node cluster and one Kafka broker in a 3-broker cluster for server maintenance.
All balanced consumers except one handled it gracefully. The one that didn't handle it well was left with the main process still running, but apparently not doing anything (no normal log output after the rebalance). The final log output before hanging was:
2016-04-13 23:31:15,280 - INFO - Adding 12 partitions
2016-04-13 23:31:15,281 - INFO - Updating leader for <pykafka.partition.Partition at 0x7f58d57527d0 (id=2)> from broker 1 to broker 2
2016-04-13 23:31:15,281 - INFO - Updating in sync replicas list for <pykafka.partition.Partition at 0x7f58d57527d0 (id=2)>
2016-04-13 23:31:15,281 - INFO - Updating leader for <pykafka.partition.Partition at 0x7f58d5752950 (id=8)> from broker 1 to broker 2
2016-04-13 23:31:15,281 - INFO - Updating in sync replicas list for <pykafka.partition.Partition at 0x7f58d5752950 (id=8)>
2016-04-13 23:31:15,281 - INFO - Updating leader for <pykafka.partition.Partition at 0x7f58d5752a50 (id=11)> from broker 3 to broker 2
2016-04-13 23:31:15,281 - INFO - Updating in sync replicas list for <pykafka.partition.Partition at 0x7f58d5752a50 (id=11)>
2016-04-13 23:31:15,281 - INFO - Attempting to discover offset manager for consumer group 'threaded_consumer_sessionizer_service'
2016-04-13 23:31:15,315 - INFO - Found coordinator broker with id 3
2016-04-13 23:31:16,255 - INFO - RequestHandler worker: exiting cleanly

Just in case it is useful, the full log output from when the rebalance starts until the process hangs is here: https://gist.github.com/cscheffler/01cd9da95425a5ef803d3be3f2338e1e

This is hard to replicate reliably, but I can't close it because it's definitely a real issue. I'm keeping an eye out for new information we get from our production logs when stuff like this happens to us at Parsely (which it occasionally does).

This has ceased to be a common occurrence in our automated testing, so I'm going to close it for now.


[cmake] on macOS, include mbedtls-config.h causes lots of errors

Describe the bug A clear and concise description of what the bug is.
Errors printed when building on macOS.
Bug introduced with #5084.

Expected behavior A clear and concise description of what you expected to happen.
No errors.

I use ./tests/toranj/build.sh cmake to build locally (on macbook or imac) and I get this error:
In file included from src/core/common/instance.hpp:50:
In file included from src/core/common/random_manager.hpp:44:
third_party/mbedtls/repo/include/mbedtls/entropy.h:129:5: error: unknown type name 'mbedtls_sha256_context'; did you mean 'mbedtls_aes_context'?
    mbedtls_sha256_context  accumulator;
    ^~~~~~~~~~~~~~~~~~~~~~
    mbedtls_aes_context
third_party/mbedtls/repo/include/mbedtls/aes.h:99:1: note: 'mbedtls_aes_context' declared here
mbedtls_aes_context;
^
1 error generated.

Seems like after building with cmake the "third_party/mbedtls/mbedtls-config.h" somehow gets modified:
abtink@Abtins-iMac ~/GitHub/openthread (master) $ git status
On branch master
Your branch is ahead of 'origin/master' by 93 commits.
  (use "git push" to publish your local commits)

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   third_party/mbedtls/mbedtls-config.h

(To unblock others) ensure to git stash after this.

It seems to be an issue with unifdefall. Running
unifdefall -Isrc/core -Iexamples/platforms/simulation -Ietc/cmake -Iinclude -Ithird_party/mbedtls/repo/include third_party/mbedtls/mbedtls-config.h > /dev/null

results in the same errors. But these errors are harmless. The command output is correct. I think we can use redirections to hide these errors.
Regarding https://github.com/openthread/openthread/issues/5114#issuecomment-645659998, it is caused by in-source building. The build system will pre-process <src>/third_party/mbedtls/mbedtls-config.h and output to <build>/third_party/mbedtls/mbedtls-config.h. If <src> and <build> are the same, the input file will be truncated before processing, just like cat mbedtls-config.h > mbedtls-config.h. I'm considering changing the output path to somewhere like <build>/intermediate/third_party/mbedtls/mbedtls-config.h to prevent this.

It turns out that the unifdef tool shipped with macOS is too old. So changing to invoke unifdef only if its version is greater than or equal to 2.10.


Problem pulling image from docker

Hello,
I'm trying to deploy another superset environment to do some upgrade tests. We use superset 1.0.1.
We deploy on GCP and run via his own shell, but when i launch my terraform run, i get and imagepullerror:

and when i do a describe, i got an unauthorized error:

{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"repository","Class":"","Name":"apache/superset","Action":"pull"}]}]}

its weird because if i do a docker pull apache/superset:1.0. we dont get the authentication error.

i want to know if someone got this error before.
Regards

Hi there @JoaquinPretell92 at first glance -- this seems like a DockerHub issue :/ Docker over time has gotten more restrictive on who can pull images and have started to impose restrictions. A side effect is that you're required to login to Dockerhub in some cases.
Check: https://github.com/docker/hub-feedback/issues/1484#issuecomment-726446687 as wel


WIP: Verisure app api

Description:
Let the verisure component use the latest version of vsure. Vsure now uses the verisure app API.
I have not been able to update the Camera, mouse and Lock component.
This will PR will add door-window sensor as well.
Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

Have been testing for a while and seems to work well.
@turbokongen do you have the possibility to look at the components that I don't possess: lock, mouse and camera?

I will have a testrun tomorrow, and I'll report back. :+1:

@turbokongen I have not done anything for those components yet,  didn't think about setting up the structure and let you just add some json-paths. Hang on a day or two and I'll prepare the components first.

@turbokongen I have done what I can now, hopefully not to far off :)

Ok just a quick one for tonight:
Traceback (most recent call last):
  File "/srv/hass/src/home-assistant/homeassistant/helpers/entity_component.py", line 155, in _async_setup_platform
    entity_platform.schedule_add_entities, discovery_info
  File "/usr/local/lib/python3.4/asyncio/futures.py", line 358, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.4/asyncio/tasks.py", line 290, in _wakeup
    future.result()
  File "/usr/local/lib/python3.4/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/local/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/hass/src/home-assistant/homeassistant/components/lock/verisure.py", line 26, in setup_platform
    "$.lock.lockDevice[*].deviceLabel")])
TypeError: 'bool' object is not iterable

Traceback (most recent call last):
  File "/srv/hass/src/home-assistant/homeassistant/helpers/entity_component.py", line 155, in _async_setup_platform
    entity_platform.schedule_add_entities, discovery_info
  File "/usr/local/lib/python3.4/asyncio/futures.py", line 358, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.4/asyncio/tasks.py", line 290, in _wakeup
    future.result()
  File "/usr/local/lib/python3.4/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/local/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/hass/src/home-assistant/homeassistant/components/sensor/verisure.py", line 39, in setup_platform
    '$.mouse[*].deviceLabel')])
TypeError: 'bool' object is not iterable
2017-05-09 21:07:00 ERROR (MainThread) [homeassistant.components.camera] Error while setting up platform verisure
Traceback (most recent call last):
  File "/srv/hass/src/home-assistant/homeassistant/helpers/entity_component.py", line 155, in _async_setup_platform
    entity_platform.schedule_add_entities, discovery_info
  File "/usr/local/lib/python3.4/asyncio/futures.py", line 358, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.4/asyncio/tasks.py", line 290, in _wakeup
    future.result()
  File "/usr/local/lib/python3.4/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/local/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/hass/src/home-assistant/homeassistant/components/camera/verisure.py", line 32, in setup_platform
    "$.smartCam.smartcamDevice[*].deviceLabel")])
TypeError: 'bool' object is not iterable

@persandstrom what's the status of this?

The lock component that is not working as expected. The lock does not
update its status until 1-2 minutes after it islocked/unlocked. I don't
have a lock myself and have failed to reverse engineer it. Maybe it's time
to continue with this anyway as this change gives acces to new components
and everytging else gets much snappier.
Den 24 juni 2017 8:08 AM skrev "Paulus Schoutsen"<EMAIL_ADDRESS>
:

@persandstrom https://github.com/persandstrom what's the status of this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/pull/7394#issuecomment-310817419,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABzM_VmB3vzZBILZRoBcGKjVeA8_F5Gcks5sHKf3gaJpZM4NNYA4
.

I have been doing testing and reverse engeneering of the app, but can't get
the lock to update properly. From the app side, everything works the same
as the alarm component. And that works like it should in ha. But for some
reason the lock does not. It takes a good 1-2min before the update comes
in. All the feedback data looks good too but no update. I'm really short of
ideas.

jun. 2017 08:15 skrev "Per Sandström"<EMAIL_ADDRESS>

The lock component that is not working as expected. The lock does not
update its status until 1-2 minutes after it islocked/unlocked. I don't
have a lock myself and have failed to reverse engineer it. Maybe it's time
to continue with this anyway as this change gives acces to new components
and everytging else gets much snappier.
Den 24 juni 2017 8:08 AM skrev "Paulus Schoutsen" <
<EMAIL_ADDRESS>
:

@persandstrom https://github.com/persandstrom what's the status of
this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/home-assistant/home-assistant/pull/
7394#issuecomment-310817419>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABzM_
VmB3vzZBILZRoBcGKjVeA8_F5Gcks5sHKf3gaJpZM4NNYA4>
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/pull/7394#issuecomment-310817701,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP2koG5nAG1ShVLHqktsrbF81Qb-mPZGks5sHKmYgaJpZM4NNYA4
.

Okay, if you want to go ahead and merge this, could you rebase the branch to resolve the conflicts ?

@turbokongen or @persandstrom Could you check out my suggestions here for possible fix for responsiveness before merge?

Going to merge it. If suggestions from @yada75 seem to work, you can open another PR.

2 lint issues reported.

@balloob I can fix that and probably merge tomorrow, @yada75 has provided me with some more info and I think we can get a "good enough" solution.

Why have the jsonpath matching strings in home assistant and not in the vsure library? Wouldn't you want to abstract those away from a user of the library?

@MartinHjelmare That would either be a huge amount of paths to maintain, or only a small subset (i.e. the ones used by HA). It is simpler provide the raw data to the users and not try to foresee how they want to use it.

Would the change in component device names be considered breaking change?

@yada75  no,  this is only in dev so far, what do you have in mind?

Well, this breaks current automations for some that uses Entity Id. Not sure what is best. As i only have lock i feels somewhat odd to rename lock.nameto lock.name_lock but It's a logical change to name of sensors to _temperature and _humidity. If we added config part for lock ex Autolock would that be added in lock or switch? and how should that be named? Just some thinking out of the box.

Is it possible to get the lock to give changed by "Thumb turn" or changed by "Asterisk key" Nice to know if its locked from inside or outside. The Verisure app gives me that info.

@thomas70 Add that as a new issue, I guess it is possible but I will not try to implement it since I don't have a yale lock.


Add initial Drop for numerous drivers

Thank you for your contribution!
We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:
Submission Checklist 📝

[ ] I have updated existing examples or added new ones (if applicable).
[ ] I have used cargo xtask fmt-packages command to ensure that all changed code is formatted correctly.
[ ] My changes were added to the CHANGELOG.md in the proper section.
[ ] I have added necessary changes to user code to the Migration Guide.
[ ] My changes are in accordance to the esp-rs API guidelines

Extra:

[ ] I have read the CONTRIBUTING.md guide and followed its instructions.

Pull Request Details 📖
Description
Please provide a clear and concise description of your changes, including the motivation behind these changes. The context is crucial for the reviewers.
Testing
Describe how you tested your changes.
I will add more info about status/issues I've encountered etc later today or tomorrow morning. Opening as a draft until then.
cc https://github.com/esp-rs/esp-hal/issues/1382

Closed via #2544


Resolution support

Added a basic (X11 only) resolution implementation using X11 bindings.
It should theoretically work on NetBSD just as it does on Linux.
Next up

Wayland support, the Linux world has been moving slowly but steadily towards adopting Wayland and a lot of people are running it as their daily driver.
This method requires that the user is in a graphical environment, resolution will fail to fetch in a TTY.

I can confirm this works on my one screen setup, but more testing should be done.

Also could you push the changes to macchina to display the resolution. I can't test it without that.

Looks good !
But a question, why the xlib feature is in Cargo.toml even though nothing is gated by that feature ?.

Yeah, you're right, it's useless, I had it from a previous mockup I wrote a while ago, before I push the changes, I'll need to add the same piece of code for NetBSD, and also try and understand how wayland works a little bit so we can display the res for all display servers :)

Also could you push the changes to macchina to display the resolution. I can't test it without that.

Yeah, I'll need to work on this, it's sort of a waste of time/dangerous to push stuff between repos without being sure if they'll work or not.

I don't think we need to link against wayland or do anything big to get screen resolution on there, /sys/class/drm is where video adapters store their resolution among other things.

Great ! If we read from /sys/class/drm then we probably could read the resolution even in a TTY

Great ! If we read from /sys/class/drm then we probably could read the resolution even in a TTY

Yes siiir!

OR (this one is less work):
1. read /sys/class/drm (A) directory

2. visit all entries within (A)

3. check if A has a modes file

4. read /sys/class/drm/A/modes content

5. if modes is empty -> error(%message)
   else ok(%resolution)

I like this one better since there is a lot of symlinking business going on in /sys/class/drm. It might be better to not deal with symlinks at all.

OR (this one is less work):
1. read /sys/class/drm (A) directory

2. visit all entries within (A)

3. check if A has a modes file

4. read /sys/class/drm/A/modes content

5. if modes is empty -> error(%message)
   else ok(%resolution)

I like this one better since there is a lot of symlinking business going on in /sys/class/drm. It might be better to not deal with symlinks at all.

I went with it, and was able to fetch resolution from there, but now I need to append every single resolution to a main resolution string, and separate each screen resolution with a ", " elegantly.

We can avoid using X11 with this fallback by the way.

I also have no clue as to how X11 handles multiple screens.

I went with it, and was able to fetch resolution from there, but now I need to append every single resolution to a main resolution string, and separate each screen resolution with a ", " elegantly.

But the list is huge. Are you planning on displaying all of them ?
The first one is the one which seems to hold the current resolution. I'd say just show that.
1366x768
1920x1080
1920x1080
1920x1080i
1920x1080i
1920x1080i
1920x1080
1920x1080i
1920x1080i
1920x1080
1920x1080
1920x1080
1920x1080
1920x1080
1280x720
1280x720
1280x720
1280x720
1280x720
1024x768
1024x768
1024x768
832x624
800x600
800x600
800x600
720x576
720x576
720x576i
720x480
720x480
720x480
720x480
720x480i
720x480i
640x480
640x480
640x480
640x480
640x480
720x400

It shouldn't only display connected screens, that list is gigantic, but I'll accept the PR so we can test how it works with macchina.

I'll accept the PR so we can test how it works with macchina.

I mean you can just do something like this in cargo.toml to test it.
Cargo.toml
libmacchina = { path = "~/Projects/libmacchina" }

and test it offline.

I'll accept the PR so we can test how it works with macchina.

I mean you can just do something like this in cargo.toml to test it.
Cargo.toml
libmacchina = { path = "~/Projects/libmacchina" }

and test it offline.

Oh no, I've already tested both implementations, they work fine on my machine, same output.

Oh then you can go ahead and push it.

Oh then you can go ahead !


Clarification on how to load products with multiple variants.

Looking at the create_product_variant function, I only see specification for one variant-attribute.
variant_id = etl_data_loader.create_product_variant(
                                                  product_id,
                                                  sku=product["sku"].replace("-00","-1{}".format(i + 1)),
                                                  attributes=[
                                                  {"id": qty_attribute_id, "values": [qty]}],
                                                  costPrice=product["price"],
                                                  weight=0.75,
                                                  stocks=[{"warehouse": warehouse_id, "quantity": 15}])

Is there a way to pass a list of attribute ids in a dictionary to the function, I took a look at the code but wasn't able to find out by myself.

Here's what I wrote to handle this.
def create_product_variant(self, product_id, sku, attribs, price):

    input = {
        "sku": sku,
        "attributes": attribs,
        "priceOverride": price
    }

    variables = {
        "input": input,
        "product": product_id
    }
    variables = MyDict(variables)
    query = """
        mutation createProductVariant($input: ProductVariantBulkCreateInput!, $product: ID!) {
            productVariantBulkCreate(variants: [$input], product: $product) {
                productVariants {
                    id
                }
                bulkProductErrors {
                    field
                    message
                    code
                }
                count
            }
        }
    """

    response = graphql_request(
        query, variables, self.headers, self.endpoint_url)
    id = response["data"]["productVariantBulkCreate"]["productVariants"]
    for x in id:
        id_val = x['id']

    errors = response["data"]["productVariantBulkCreate"]["bulkProductErrors"]
    handle_errors(errors)

    return id_val

the way I was doing it was creating product variants in a for loop, if I find the time I will add the bulk version you posted here to the code ! Thanks


ci(rust): make cargo-target cache also dependent on rustc version

Current Behavior

The cargo-target cache aims to allow previously compiled Rust components to be reused and reduce compilation time.

The cache key is such that caches are not updated when rustc is updated.

This is okay for jobs that use rust stable, but for jobs that use rust nightly, it appears, the regular update of the compiler causes those jobs to often re-compile Ockam's dependencies.

See #3180.

Proposed Changes

Make cache key for cargo-target also dependent on  version of rustc.

To do this, rustup commands need to be executed before the cache key is calculated by ./.github/actions/cargo_target_dir_cache.

Below are new example keys for jobs Rust - Test and Rust - Nightly Test of the Rust workflow.

cache-cargo-target-Rust-test-ghcr.io/build-trust/ockam-builder@sha256:e43dd94652096b03cc472a3c709c7335e8b166cab77b7a7b56f88fa38f3d24cc-bb4d9732ca9adc221394c6a3dd81bf9e1b1a5f02f5295601616bbe8566835a8e-507d552b127d9150cea6d7bdfd3217277f5a9df97b8e3b311d2c229d381e03c3

cache-cargo-target-Rust-test_nightly-ghcr.io/build-trust/ockam-builder@sha256:e43dd94652096b03cc472a3c709c7335e8b166cab77b7a7b56f88fa38f3d24cc-bb4d9732ca9adc221394c6a3dd81bf9e1b1a5f02f5295601616bbe8566835a8e-e7a1f9fced36bc53c690f650f8ce2e378fd7c650cab8ad2e7ac1278325ed7a6f

Now cargo-target caches are now unique for each...

Workflow (here Rust)
Job (here test and test_nightly)
ockam-builder docker image (here e43dd...)
Hash of Cargo.lock files (here bb4d9...)
Hash of rustc --version output (here 507d5... and e7a1f...)

Checks

[x] All commits in this Pull Request are signed and Verified by Github.
[x] All commits in this Pull Request follow the Ockam commit message convention.
[x] I accept the Ockam Community Code of Conduct.
[x] I have accepted the Ockam Contributor License Agreement by adding my Git/Github details in a row at the end of the CONTRIBUTORS.csv file in a separate pull request to the build-trust/ockam-contributors repository.

@neil2468 wanted to thank you again for this contribution! CI time have been looking a lot better of the last few days 🙏

@mrinalwadhwa you are very welcome. I'm glad it's made a difference.


Filtering by tags

Fixes Issue

Changes proposed

Note to reviewers

Screenshots

@shovonroy173 functionality works great, but there are 2 change request i would like to make.

on scroll of the page, make the tags section sticky.
show the selected tag, currently if i select any tag, i'm not able to know which one is selected.

Ok, I will do that.
On Sun, Mar 24, 2024, 17:05 Rohit @.***> wrote:

@shovonroy173 https://github.com/shovonroy173 functionality works
great, but there are 2 change request i would like to make.

on scroll of the page, make the tags section sticky.
show the selected tag, currently if i select any tag, i'm not able
to know which one is selected.

—
Reply to this email directly, view it on GitHub
https://github.com/rohitdasu/projectmate/pull/450#issuecomment-2016779609,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AT2EA4NMQQBCAYWZG3XWLPLYZ227DAVCNFSM6AAAAABFFRTFKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWG43TSNRQHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

@rohitdasu,  check the updates, let know for any other updates

@shovonroy173 could you pls fix the build issue

@shovonroy173 build issue got fixed

@rohitdasu  , single click deselect applied . All the updates done. Please check.

@rohitdasu , single click deselect applied . All the updates done. Please check.

sure, will check and let you know.

Ok .
On Mon, Apr 1, 2024, 11:22 Rohit @.***> wrote:

@rohitdasu https://github.com/rohitdasu , single click deselect applied
. All the updates done. Please check.
sure, will check and let you know.
—
Reply to this email directly, view it on GitHub
https://github.com/rohitdasu/projectmate/pull/450#issuecomment-2029207384,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AT2EA4L76KROL7FG3SCSB7TY3DYZZAVCNFSM6AAAAABFFRTFKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRZGIYDOMZYGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@rohitdasu, hi sir, is everything working fine ?

Are you saying that some tags missing ?? But , I checked the number of tags
manually , even then the they are the same . In this db ,  all the
unique tags are showing. Please suggest me how can I test it further ??
On Wed, Apr 3, 2024, 23:45 Rohit @.***> wrote:

@rohitdasu https://github.com/rohitdasu, hi sir, is everything working
fine ?
Hi @shovonroy173 https://github.com/shovonroy173 its not working as
expected. I did test it, when we click any tag and which is not rendered in
the frontend, its not showing but its in the db. Please test it properly.
—
Reply to this email directly, view it on GitHub
https://github.com/rohitdasu/projectmate/pull/450#issuecomment-2035283798,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AT2EA4OLCKXJ2DVWYLXRO6LY3RBL5AVCNFSM6AAAAABFFRTFKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZVGI4DGNZZHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Visit Preview

this is one of the examples, I've clicked javascript tag - but it's showing no data. please filter projects in the backend so it will display all projects according to the tag.

sorry for being late , but working on it

where: {
tags: { hasEvery: tag, mode: 'insensitive' },
},
"hasEvery" take only string | string[] , when i add (mode: 'insensitive') , showing this error "Object literal may only specify known properties, and 'mode' does not exist in type 'StringNullableListFilter'." @rohitdasu sir , what to do now. I have applied several methods none of worked.

where: { tags: { hasEvery: tag, mode: 'insensitive' }, }, "hasEvery" take only string | string[] , when i add (mode: 'insensitive') , showing this error "Object literal may only specify known properties, and 'mode' does not exist in type 'StringNullableListFilter'." As it is predefined to type StringNullableListFilter { equals?: List | Null has?: String | Null hasEvery?: List hasSome?: List isEmpty?: Boolean } @rohitdasu sir , what to do now. I have applied several methods, searched through the documentation , none of them worked.

no problem. let me handle this. thanks for contributing :)

Thank you for giving me my first opensource project. It's a pleasure to
working with you.
On Wed, Apr 10, 2024 at 5:03 PM Rohit @.***> wrote:

Merged #450 https://github.com/rohitdasu/projectmate/pull/450 into main.
—
Reply to this email directly, view it on GitHub
https://github.com/rohitdasu/projectmate/pull/450#event-12420465305, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AT2EA4MUCA3XXUKMEI5OP4LY4UPQVAVCNFSM6AAAAABFFRTFKSVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGQZDANBWGUZTANI
.
You are receiving this because you were mentioned.Message ID:
@.***>


BYOS Feedback

I wanted to submit some additional feedback regarding the BYOS design doc.
I make heavy use of a self-hosted build agent in order to utilize MSI, so I can skip having to use and update the various DevOps connections for deployments. Rather, it's far easier to just use a system-assigned identity to restrict access to Azure resources as necessary. Given that VMSSes support identity integration, this would be a big draw towards elastic build pools for me.

Hey, thanks for the feedback - we're tracking this internally and it should be coming soon. I'm going to close here since the feedback has been propogated internally.

@WhitWaldo can you let us know the name(s) of Azure DevOps org(s) where you would like to preview this feature?


Request-ify synthesis of the main function for the @main attribute

Now that EmittedMembersRequest is cached, we need to synthesize it when collecting all the members of the class. Use a request for this, instead of just doing it from the AttributeChecker.
Also add some SILGen tests to ensure that the main function is actually emitted; previously we didn't test for this.
This fixes the regression from https://github.com/apple/swift/pull/32581.

CC @compnerd

@swift-ci Please smoke test

@swift-ci Please test source compatibility

@swift-ci Please smoke test

@swift-ci Please test source compatibility

@swift-ci Please smoke test

@swift-ci Please test source compatibility

@swift-ci please test Windows platform


Document jackson and yasson support

Addresses #411, #437, #438 and #439.

JSON support is documented in docs/src/main/docs/webserver/08_json-support.adoc (for rendered see https://helidon.io/docs/latest/#/webserver/08_json-support). So some of the information in the README.adocs should be consolidated there (and you could optionally nuke the READMEs).

There are some future plans for the docs to be exploded in the workspace, however let's keep things in one place for now.
I concur, nuke the READMEs.

There are some future plans for the docs to be exploded in the workspace, however let's keep things in one place for now.
I concur, nuke the READMEs.

README.adoc instances nuked per request.

Merging shortly after one final proof.


Regression in metadata discovery after upgrading msal-common v13.1.0 to v14.0.2

Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
3.0.2
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
3.0.2
Public or Confidential Client?
Public
Description
After upgrading the @azure/msal-common library the metadata discovery goes into an infinite loop.
Error Message
GET https://login.microsoftonline.com//v2.0/v2.0/.well-known/openid-configuration net::ERR_FAILED 404 (Not Found)
Msal Logs
No response
MSAL Configuration
{
    auth: {
        authority: 'https://login.microsoftonline.com/<redacted tenant id>/v2.0',
        protocolMode: ProtocolMode.OIDC,
    },
}

Relevant Code Snippets
function MsalInstanceFactory(configuration): IPublicClientApplication {
    return new PublicClientApplication(configuration);
}

Reproduction Steps

Initialize the PublicClientApplication with the provided authority
Request a login
Metadata discovery fails because the discovery endpoint has duplicate v2.0 in URL.

Expected Behavior
The discovery URL is correct (as was the behaviour with msal-common v13.1.0).
Identity Provider
Azure AD / MSA
Browsers Affected (Select all that apply)
Chrome, Firefox
Regression
@azure/msal-common v13.1.0
Source
External (Customer)

@koenigst Hello.
Thanks for bringing this up to our attention. This PR causes a regression. Can you please remove /v2.0 from authority URL as an interim solution while we are working on the fix?


rocPRIM selects wrong code paths for warp reductions and scas on gfx1036

Trying to build on gfx1036 a piece of code using (roc)Thrust fails due to
error: Illegal instruction detected: Invalid dpp_ctrl value: broadcasts are not supported on GFX10+

and this can be traced back to rocPRIM, similarly to #180
Trying the workaround proposed there to define ROCPRIM_DISABLE_DPP results in a different error (trace limited to rocprim part):
In file included from /opt/rocm-5.6.0/include/rocprim/rocprim.hpp:56:
In file included from /opt/rocm-5.6.0/include/rocprim/device/device_merge_sort.hpp:35:
In file included from /opt/rocm-5.6.0/include/rocprim/device/device_merge_sort_config.hpp:25:
In file included from /opt/rocm-5.6.0/include/rocprim/device/detail/config/device_merge_sort_block_merge.hpp:25:
In file included from /opt/rocm-5.6.0/include/rocprim/device/detail/config/../device_config_helper.hpp:30:
In file included from /opt/rocm-5.6.0/include/rocprim/device/detail/../../block/block_reduce.hpp:32:
/opt/rocm-5.6.0/include/rocprim/block/detail/block_reduce_warp_reduce.hpp:65:56: error: too few template arguments for alias template 'warp_reduce_crosslane'
    using warp_reduce_output_type = ::rocprim::detail::warp_reduce_crosslane<
                                                       ^
/opt/rocm-5.6.0/include/rocprim/warp/detail/warp_reduce_crosslane.hpp:42:1: note: template is declared here
using warp_reduce_crosslane =

Explicitly defning ROCPRIM_DETAIL_USE_DPP to 0 or false in addition to ROCPRIM_DISABLE_DPP, before inclusion of rocprim headers, allows compilation to proceed.
This seems therefore a combination of two issues:

failure to detect gfx1036 as NAVI
falure to define ROCPRIM_DETAIL_USE_DPP to false if ROCPRIM_DISABLE_DPP is defined.

The second aspect is confirmed by looking at the occurrences of the string in the rocprim source code:
rocprim/config.hpp:    #define ROCPRIM_DETAIL_USE_DPP true
rocprim/warp/detail/warp_reduce_crosslane.hpp:    bool UseDPP = ROCPRIM_DETAIL_USE_DPP
rocprim/warp/detail/warp_scan_crosslane.hpp:    bool UseDPP = ROCPRIM_DETAIL_USE_DPP

This was tested with the official AMD .deb packages for 5.6.0

Thank you for the report, we're tracking this internally.

Hi, thanks for the detailed report, these errors are now fixed internally, so they'll make it to a release eventually. In the meantime you can apply these commits to fix these errors.

Thank you very much!


Make attri2vec reproducible

Part of #749

Codecov Report

Merging #936 into develop will increase coverage by 0.5%.
The diff coverage is 85.9%.

@@            Coverage Diff            @@
##           develop    #936     +/-   ##
=========================================
+ Coverage     83.9%   84.5%   +0.5%
=========================================
  Files           53      58      +5
  Lines         5101    4956    -145
=========================================
- Hits          4281    4186     -95
+ Misses         820     770     -50

Impacted Files
Coverage Δ

stellargraph/layer/graphsage.py
79.4% <ø> (ø)
:arrow_up:

stellargraph/utils/ensemble.py
0% <0%> (-85.5%)
:arrow_down:

stellargraph/utils/loss.py
0% <0%> (ø)
:arrow_up:

stellargraph/datasets/datasets.py
70.8% <100%> (+20.8%)
:arrow_up:

stellargraph/core/graph.py
98.6% <100%> (ø)
:arrow_up:

stellargraph/mapper/sequences.py
92.1% <100%> (ø)
:arrow_up:

...rgraph/utils/saliency_maps/integrated_gradients.py
100% <100%> (+4.3%)
:arrow_up:

...argraph/interpretability/saliency_maps/__init__.py
100% <100%> (ø)

...ph/utils/saliency_maps/integrated_gradients_gat.py
100% <100%> (+10.3%)
:arrow_up:

stellargraph/version.py
100% <100%> (ø)
:arrow_up:

... and 18 more

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 db41cfa...8d5abd3. Read the comment docs.

So it seems like #970 is also a problem here too, which does narrow things down a bit since this doesn't use SeededPerBatch at all 🤔
Unlike Graph/HinSAGE I think there's actually nothing inherently random in this algorithm which I didn't realise before I started this.
Also there's no node attribute inference in the tests, since attri2vec doesn't directly do node attribute inference - in the demo, it gets the embeddings using unsupervised learning, then you do NAI on the embeddings.


Is this project officially unsupported?

Having trying to follow along with the installation process on Node version 14.x and Node version 16.x - I got errors, which according to the rest of the issues in this repo are not specific to my environment.
When I switch back to Node version 10.x I seem to get through the process without errors (though I see some other issues)
The last commit in the project was on July 15th, 2020 (15 months ago at the day of writing) - and I see no announcement of decommissioning / deprecation of the project
It is safe to assume that no further development / bugfixes will be merged into the repo?
I'd like to know if it is worth trying to contribute

direnv has larged obsoleted this project for me.
https://direnv.net/man/direnv-stdlib.1.html#codeuse-node-ltversiongtcode

I second @wyuenho 's advocacy of direnv, though I personally don't use the direnv stdlib use node functionality - instead I add an .envrc to my project like so:
# .envrc

use_nvm() {
  local node_version=$1

  local nvm_sh=~/.nvm/nvm.sh
  if [[ -e $nvm_sh ]]; then
    source $nvm_sh
    nvm use $node_version
  fi
}

use_nvm


Fix CQL2 parser for BETWEEN operator

Fixes https://github.com/stac-utils/pgstac/issues/249

@bitner since there was already a test, I simply made a small update to it. Would that be sufficient?


alert: Send alert for ha'ed vm's

Description
When ha is performed on vm's send the alert for it so that
its for admins to know which vm's got ha'ed else its time
consuming to get those details from logs

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[X] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[X] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[X] Trivial

clgtm, but would the subject exactly the same as the content be helpful? can we add more info to the mail content?

@DaanHoogland if you have any content then let me know.. i can add that

clgtm, but would the subject exactly the same as the content be helpful? can we add more info to the mail content?

@DaanHoogland if you have any content then let me know.. i can add that

source and target host? time down? time up? down time duration?
just suggestions @ravening . What would you need to know as operator. As said, clgtm

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_multiplication_x: el7 :heavy_check_mark: el8 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 1723

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: debian :heavy_check_mark: suse15. SL-JID 1771

@blueorangutan package

@rohityadavcloud a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 2039

@blueorangutan package

@rohityadavcloud a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 2143

@blueorangutan package

@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 2152

@blueorangutan package

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_multiplication_x: suse15. SL-JID 2157

@blueorangutan test

@blueorangutan test

@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-2845)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 31418 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5664-t2845-kvm-centos7.zip
Smoke tests completed. 92 look OK, 0 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

HI @ravening Can you address outstanding comments. Thanks.

Ping @ravening

Ping @ravening

@nvazquez done

@blueorangutan package

@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: debian :heavy_check_mark: suse15. SL-JID 2545

@blueorangutan package

@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_multiplication_x: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2647

@blueorangutan package

@nvazquez a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result: :heavy_multiplication_x: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2895

@blueorangutan package

@nvazquez a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2898

@blueorangutan test

@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-3628)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 32812 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5664-t3628-kvm-centos7.zip
Smoke tests completed. 92 look OK, 0 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File


Separate Blockchain/Snapshot database files from Wallets files

Is your feature request related to a problem? Please describe.
Every time it is required to import a new Snapshot or for some reason the database gets corrupted, it is needed to add all of the wallets again using their private keys, which is really tedious.
Describe the solution you'd like
Separate those two functionalities so that it is possible to import a snapshot or even start from block 0, without having to re-add all wallets.
Describe alternatives you've considered
Have two different folders, one for Wallets, and another for the Databases.

This is how snapshots work. The reason being that the wallet file will contain transactions. If you want to start from block 0 you simply just don't use a snapshot. Snapshots in order to work must start with a fresh instance. If this is not suitable then simply don't use and you can sync from 0.

Also just to add the wallet files are separated from a snapshot but they are not agnostic nor should they be.


Minor UI changes

[x] Enter to search in popup
[x] Clear text button in popup
[x] Add case insensitive for search text
[x] Update extension icon
[x] selected text popup layout issue
[x] alignment and size issue

closed


Formated computer and cactbot wont work anymore

Hello there!
I thought it would just take a simple copy/paste of my ACT's folder in Program Files to get back to work but it actually would also have taken a copy/paste of what was in my user's /roaming folder xD
So i re-installed everything properly, step-by-step in a clean way but i can't get cactbot to work anymore :-(
Only 2 things have changed from prior to formating : big windows 10 update and i updated to latest cactbot's version.
Everything seems fine in the Overlay console as shown below :

To test it i teleported to Summerford Farms and had some ERP with the dummies but no emote would trigger anything :-(
In case this can help finding the issue :
• I still ran ACT in that state during my weeklies; and while i was doing O5S it popped the light trigger text (+sound) and same for Ultimatum (yes i had a strange OT), but nothing else
• I play the game in french and i set both ACT and raidboss-example.js to french
Does anyone have any idea? :•)
Thanks in advance !

Did you rename raidboss-example.js renamed to raidboss.js?

Wow i feel idiot... I personally renamed the raidboss.js that is in user folder to raidboss-example.js cause it was working like that before i format my comp.
Well thank you very much @Riunia the dummy and i just had lots of good time :)

Excellent sleuthing! Glad you got it sorted out.  :)


Not all values work correct

Got an issue with some of the values not being presented in the graphs. For instance heat energy produced. It does show current value, but the graph stays at 0.
This happens with quite a few.

@MarFanNL @IgorYbema Any way you guys can have a quick look?

Check if heishamon gets the values. And then if your mqtt server is receiving it.

@IgorYbema yes and yes. I see current value, but somehow the historic graphs are not filled

Are the values updated in heishamon and mqtt?

Yes, even in domoticz. But no graphs.

Seems like a domoticz issue then to me. I'm not using this plugin from @MarFanNL anymore so I can't help furhter.
If the pluging provides the data domoticz should then graph it.


Documentation erroneously claims "support" for Image Quilts, though the images were pre-made

The documentation leads the reader to believe that one can specify a list of images to be quilted together thanks to the Tufte CSS.  In fact, the examples in the documentation are pre-crafted images that have simply been rendered using the other documented styles.
Either a feature should be written to arrange images in Tufte-style quilts, or the documentation should be amended for clarity.

Wow, you won't even update the docs to be less confusing?  That seems to go against the very philosophy of clarity that Tufte always espouses.

@spacehobo Have you tried submitting a PR

Why should I?  wontfix means won't


Add missing ` from styleguide rule

I was walking through the documentation and noticed a markdown issue. Cheers! 🍻

I signed it!


CoffeScript

Would be great if .coffee files had icon.

Granted! Update the extension, disable, enable and restart! 😄


Edit pass on update considerations

Fixes #33170
Make the language match the terms used in the runtime breaking changes docs.

Internal previews

📄 File
🔗 Preview link

docs/csharp/whats-new/version-update-considerations.md
Version and update considerations for C# developers

Thanks @gewarren
Just made updates. The definitions should match, it's just that the LDM has a focus for making sure code that has compiled before still compiles.


Changing colors

Hey there,
great component - i had a quick question regarding changing colors of individual checkboxes.. is there a way to do that? I dont want them all to be the same color - but varied.. is there a way to do that?
thanks

You can add individual classes using the class property and instantiate the plugin on specific classes, also.
If you need an example, I can provide you one.
However, it is something to definitely improve.
Thank you.


Errors in HHVM 3.5.0

this is setup of app
HHVM
HipHop VM 3.5.0 (rel)
Compiler: tags/HHVM-3.5.0-0-ga90f4733cfa0d8fefdafc7433f758f78cdc75424
Repo schema: b88b6fee8ef78ab638506d212abcbefe74a276ac

NGINX
nginx version: nginx/1.4.6 (Ubuntu)

NGINX config
location /blog {
    index index.php;
    include /etc/nginx/mime.types;
    try_files $uri $uri/ /index.php?$query_string;
}

More than anything, I am just stoked someone is working on Habari on HHVM. Thanks for the report, we'l check things out ASAP.

Okay, I just moved one of my habari installs to using HHVM 3.5 and everything seems to be running fine with no errors, but I am using Apache and not NGINX. Once I have a free moment I will check with that config and get back to you.

Alright cool, thanks!

@chrisjdavis did you ever have a chance to investigate this?

Yep. I could never reproduce it.
Sent from my iPhone

On Nov 20, 2016, at 7:56 PM, Michael Bishop<EMAIL_ADDRESS>wrote:
@chrisjdavis did you ever have a chance to investigate this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

No reproduction case. Closing due to inactivity.


Add note for CONF_IN and CONF_OUT call types

[Enter feedback here]
It may be helpful to have a note for audio conferencing call types as CONF_IN and CONF_OUT call types show the display name and username of the person that organized the meeting, not the individual participant that performed the call in/out action.  This is not clear from current documentation

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

ID: 0ad0c889-56d5-35fe-de15-177b6d922d07
Version Independent ID: e4363647-33e1-b665-5881-169fb619a5b3
Content: Microsoft Teams PSTN usage report - Microsoft Teams
Content Source: Teams/teams-analytics-and-reports/pstn-usage-report.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

Thanks for the feedback! We will consider adding this in our future updates.


Karate editor

Hi,
This is a thread to try and gather requirements for a Karate editor. My current thinking is to use JetBrain's MPS as it allows to embed multiple grammars in one DSL. Karate currently embeds gherkin, javascript, java, json, xml, json-path, xpath etc and I think productivity would greatly increase with editor/IDE support.
Some feature that I believe would help are:

syntax coloring
validation
auto completion with a priority on karate gherkin json and xml with the rest to follow (javascript, java, json-path, xpath)
debugging
formatting

There are of course many more features a modern editor provides, would need to see what comes first based on effort and complexity.
I will post back more detailed analysis if this is something you are interested.

yes I would love to see a good IDE for Karate, I wonder if you have seen the Karate UI (experimental) where I tried to implement a debugger: https://github.com/intuit/karate/wiki/Karate-UI
I was thinking it would be nice to have a 'standalone' editor so that even non-Java programmers (or even non-programmers) could be productive, but any ideas are welcome. I don't have much experience with MPS.

Hi,
I believe mps and xtext allows for building a standalone editor without eclipse or IntelliJ.

I took a quick look at https://www.jetbrains.com/mps/ and it looks very promising. Do you know if it can be used in open-source projects ?

Yes it's open source and can be freely used on closed and open source projects

closing due to inactivity


[Bug]: Query id error while running elasticsearch with same index name

Bug Description
getting error while running elasticsearch  with same index name,
while entering a query to generate response,
Query id 40b9d01f-b211-413d-b3d4-a799eff700d6 not found in either
retriever_dict
or
query_engine_dict
.
How to resolve this error?
some temporary work around what I am doing is: by changing the index name I am not getting the error
so, how resolve the error without changing index name?
Version
llama-index==0.10.12
Steps to Reproduce
` from dense_pack2.base import DenseXRetrievalPack as dp2
from llama_index.vector_stores.elasticsearch import ElasticsearchStore
vector_store = ElasticsearchStore(
index_name="dense_index_56",
es_url="http://localhost:9200",
)
retriever_chunk = dp2(
    documents,
    proposition_llm=global_variable.embed_model,
    query_llm=global_variable.llm,
    text_splitter=SentenceSplitter(chunk_size=1024),
    vector_store = vector_store
    )`

Relevant Logs/Tracbacks
No response

@LikhithRishi ah, this proof-of-concept llama pack wasn't quite built with external vector stores in mind
We need to store all_nodes in the docstore (and save and load the docstore if we want to rebuild later)
A quick change to the source code would be like this (to allow passing in the vector store and storing nodes in the docstore)
        self.vector_index = VectorStoreIndex(
            all_nodes,
            service_context=service_context,
            storage_context=StorageContext.from_defaults(vector_store=vector_store),
            show_progress=True,
            store_nodes_override=True,
        )

contributions certainly welcome, or you can download/edit the code and run locally

@LikhithRishi ah, this proof-of-concept llama pack wasn't quite built with external vector stores in mind
We need to store all_nodes in the docstore (and save and load the docstore if we want to rebuild later)
A quick change to the source code would be like this (to allow passing in the vector store and storing nodes in the docstore)
        self.vector_index = VectorStoreIndex(
            all_nodes,
            service_context=service_context,
            storage_context=StorageContext.from_defaults(vector_store=vector_store),
            show_progress=True,
            store_nodes_override=True,
        )

contributions certainly welcome, or you can download/edit the code and run locally

Hi Logan ,
we tried this one but it is not working , below are the code lines we are using:
`
storage_context = StorageContext.from_defaults(vector_store=vector_store)
    self.vector_index = VectorStoreIndex(
        all_nodes, service_context=service_context, show_progress=True, storage_context=storage_context
    )

`


[BUG-General] Text not working properly on master compared to v0.1.0

Describe the bug
I have a method that reads a codefile, creates a Text / Paragraph object and colors it via tokens generated by pygments (through the set_color method on different ranges of the Text object e.g. Text[1:10]).
This is working very neat on version 0.1.0 as the manim image below shows:

However, when I run the same code on the current master branch, I get the following output:

The first problem (resulting in the different style) is that the font is not detected anymore. The fontname is JetBrains Mono Regular and is installed on my PC.
The second problem (resulting in the weird coloring) is that the Text implementation seems to have changed to not include specific characters anymore. This can be seen on the next two images. The first shows v0.1.0 and the second the current version (latest master). It can be seen that the Text object is not of the same length as the raw string that was used to create the Text object.

Would really appreciate if you can provide some clarity about:

Whether the Text stripping is intended and why it is done (and what gets stripped)
Why the font is not detected anymore

System Specifications
System Details

OS:  Windows 10 v20H2
RAM: 16 GB
Python version): 3.8 (venv using Poetry)

Latex details

Distribution:  ManimLaTeX

Installed packages: default (no new packages installed)

FFMPEG
Output of `ffmpeg -version`:
4.3.1

Yeah, the backend has been changed to Pango and this needs some investigation.

Hello! Thank you for your report.
So, both issues are caused by our recent switch of the text rendering engine from Cairo to Pango; if you want to restore functionality it should be sufficient to change Text(lines_str, **config) over here
https://github.com/ManimCommunity/manim/blob/a0548a7e5cd20a7fdd9c11734709569188ac2658/manim/mobject/svg/text_mobject.py#L393
to CairoText(lines_str, **config).
We also know that the characters that are being stripped from the text are the spaces; the coloring is applied to the code as if the spaces were still counted (which is why it looks so off).
I have no idea about why the font is not detected, however -- @naveen521kk, do you know?

Maybe the family name be wrong?
I have no idea about it. Did you get any console warning saying that you may get ugly text? (If you are running on pycharm terminal please try and switch to cmd to see it).
Also, if it doesn't make any error message we can't figure it out we can't do anything because we dont have access to the C API underneath it.

I can confirm that in the past I've tried selecting a font that I know is installed in my system, but Pango will just use the default font without any kind of visible error message.

Pango uses Fontconfig at the backend to select font(we literally has no access to its API). Maybe your font config is not configured properly to detect it?

See #625

@naveen521kk good recommendation. We should document somewhere that PangoText can only access fonts that are shown when you run fc-list.

Its a fresh Windows installation with only PyCharm, Python, Poetry,  GitKraken, manim dependencies, DaVinciResolve and Discord. There is nothing named gtk on it (not even a folder). But yeah, its probably due to some other dependency that made the command available (probably ManimLatex?).
Anyway, so the problem is that fonts which are not listed by fc-list are not found by Pango. So, is there any way to install the font on Windows in a specific way that it is listed? I haven't found anything about it.

Even I don't know. Usually installing the font will simply work out of the box.

Found out on discussing with Pango developers that this is because of ligatures and can't be avoided. But Pango itself can handle colours but currently, our SVG parser doesn't support this. So, moving the Text class to not use the SVG parser may be one way but that requires a lot of work and the binding we use isn't complete. So, one now using CairoText would be a possible solution and also making the CodeMobject use CairoText.
https://github.com/leifgehrmann/pangocairocffi/issues/19
https://gitlab.gnome.org/GNOME/pango/-/issues/516
https://github.com/leifgehrmann/pangocairocffi/issues/19

Ooooooh ligatures!! Yikes I wouldn't have thought of that. Thanks for the report @naveen521kk
So as far as I can tell, the actual fix is to fix our SVG parser so read SVGs output by Pango. This is of course a major task that we have been putting off for a while.
So right now, if the user wants different fonts, they have to use PangoText, but if they want colored text, they have to use CairoText :thinking:
Thoughts? @eulertour @behackl @cobordism @huguesdevimeux

OR we have to rewrite the way we are coloring words in PangoText.

I would rather not use SVG here. Cairo can directly return NumPy arrays. So, using that will work but requires a full rewrite of Text class.

Or we can simply set a parameter like code where it renders character by character as in https://github.com/naveen521kk/manim/commit/ab239c22b326d6010957f0bb57289a0736a844ab if code is set to true, then everything would look good? What to you think?

Character-by-character would mean no ligatures no? Also perhaps no kerning, tracking, etc. That would make text render in a way that is not as intended. Also, I wonder if that would be considerably slower?

Character-by-character means no ligatures yes. I don't know whether it make it slow.

That would make text render in a way that is not as intended.

That's why I am saying it will be done only when a parameter is set to true. Or rather than character by character we can use layout.set_markup("<span font_features='liga=0'>#This is some custom confl</span>") which will simply disable it. Note, if this is done for other languages which depend on ligatures heavily then this will render unexpected text. (For example Arabic in the code).

I see. Yeah, there are a few ways of patching it. But no easy way of actually fixing it it seems :sweat:
At this point I'm looking forward to hearing what others think. I'm not leaning either way right now.

I don't have a lot to add since I haven't had a part in the recent font developments, but from the issues I've seen on the discord and problems like this I think it'd be best for Cairo to be the default for rendering fonts and Pango to have opt-in APIs like PangoText and an optional installation.
This and the windows installation problem are both hard to debug and don't have good solutions even when they have been. It feels like a huge step backward in terms of stability.

Is there any plan to address this? I'd rather not cut a new release with a known regression from the previous one.

I tend to agree. CairoText seems more stable, we should use it as default for a bit longer.
Development of PangoText should not stop, by any means, and all the work by @naveen521kk should not ngo to waste. Anyone want to pick up or help him finish ironing out the details?

It looks like reverting #609 is the first step, is everyone okay with that?

Instead of reverting #609 we could make Paragraph use CairoText rather than Text. The codeMobject, use Paragraph and it would simply fix the colouring issues, for codeMobject though, which must done before the release.

This has already been fixed via #798.


Add icon for browserslist

.browserslistrc

this is a svg file, if the icon exists in the nerd fonts repositories, please add it. Closing this because it's unrelated to this repo purpose.


consider adding a MMTF.fetch( pdbId ) function

This would be for ease of use. Currently there is an example.
Code would look roughly like this:
function fetch(pdbid, onLoad, onError){
  var baseUrl = "http://mmtf.rcsb.org/full/";
  var xhr = new XMLHttpRequest();
  xhr.addEventListener( "load", onload, true );
  xhr.addEventListener( "error", onerror, true );
  xhr.responseType = "arraybuffer";
  xhr.open( "GET", baseUrl + pdbid.toUpperCase() );
  xhr.send();
}

also add MMTF.FETCH_URL = "http://mmtf.rcsb.org/v0/

fetch should also support full and reduced variant for the url

done c11bcf163fdea968676af76cb6691ea131a3c85a


@keyframe nested into @media fixed

@keyframe were not parsed if nested into a @media

 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.:x: mirko-incomedia sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Launch

Do we want to do anything for a launch such as fundraising, kickstarter, event?

I think we do once we have the 501c3 status, again hopefully soon. We should to register with the State, this requires completion of 501c3 status.

I am going to close this one given that we are past this opportunity. Certainly something like this could be done on an anniversary.


trend_adx always calculates to 20

not sure why the trend_adx indicator always calculates to 20.

Hi @amanbedi23 ,
At this moment ADX implementation works like a charm.
In fact, I have implemented some tests in the library based on the dataset provided by Stockcharts.
Probably, you try with a really small dataset. ADX indicator needs a dataset with more than 14 rows to get any results.
Best,
Dario


Security > Logging; Ensure to log who is doing what in TransactionService (Like in Tenant)

Dups of #1193


Fixed data source form not functional because of eval supported fields

LGTM. As @sharat87 pointed out, please make the same changes for other plugins as well if necessary.


How to print sensor data to nokia 5110 lcd?

I want to print sensor data to the nokia 5110 lcd using RPi zero w. I have seen the examples but unable to fiqure out to print data assigned to variables. I don't know the syntax. I saw syntax to print a string.
I am adding here my test code
import time
from luma.core.interface.serial import spi
from luma.core.render import canvas
from luma.lcd.device import pcd8544
from RPi import GPIO
serial = spi(port=0, device=0, gpio_DC=23, gpio_RST=24)
device = pcd8544(serial,rotate=0)
device.contrast=0
with canvas(device) as draw:
draw.text((0,0),text="hi", fill=255)
for j in range(0,100,10):
# I want to print "j" value to the nokia 5110 lcd,
#i dont know the syntax to print it
print("j= ",j)
time.sleep(2)
time.sleep(3)

I found the answer
for j in range(0,100,10):
# I want to print "j" value to the nokia 5110 lcd,
#i dont know the syntax to print it
with canvas(device) as draw:
draw.text((5,5), 'j={}' .format(j), fill=255)   # by writing this line i can print j to lcd
print("j= ",j)
time.sleep(2)

Glad you managed to solve it !


Linked gifs and images

Slack embeds gifs and images automatically in the channel. Will this be the case for digest emails?

:+1:, this is eminently doable. I won't do it for files or uploaded images, since those are accessible only with a login, but for linked images it should be fine.

It is done. Only thing is, it doesn't paste the image in-line in the message, just afterwards, but good enough for now I think.


release: fix notes

Some notes were merged to the section of released version. This PR moved them to the right place

[x] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[x] I adhere to the Command Guidelines.

@Juliehzl, please review and merge


Add relationship routes;  /:resource/relationships/:related

There are two ways to do this:

Hardcoding the routes in. I can do this because I will know all of the possible relationships from the resource definitions. The downside to this approach is that the route config will become a bit less tidy.

Star routes, then managing finding the routes from within the middleware. This can still use the definitions, but it would keep the route config file more orderly.

When I add these, I need to keep in mind the possibly-unexpected behavior of those routes. A related link that may exist, but does not currently, returns a 200 OK response and null data, rather than a 404. Interesting.
For more: http://jsonapi.org/format/#fetching-resources-responses


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 76 ms

Resolved: ClamAV performance has improved in 802366f.


Input component

Description
We need a generic Inputfield (<input />) styled to match our design system.
Figma:
https://www.figma.com/file/wnBveAG2ikUspFsQwM3GNE/Altinn-Studio-Apps?node-id=12857%3A8186
Additional Information
No response

Blocked by #357


[ Feature Request ] Inboxer behind a proxy

Hi guys.
It would be nice if you could also add proxy support.
Regards.

I want to close this project. Take a look at the explanation: #101
If you still need this project, please, fork the repo.