Vulnerability roundup 93: geary-3.34.2: 1 advisory [5.9]

search, files

[ ] CVE-2020-24661 CVSSv3=5.9 (nixos-20.03)

Scanned versions: nixos-20.03: 0d0660fde3b.
Cc @hedning
Cc @lethalman
Cc @worldofpeace

20.03 is frozen and EOL.
Closing.


delete directory by user name - [closed]

In GitLab by @guyingyan on Mar 14, 2018, 10:24
Merges dev-devops -> dev-devops

In GitLab by @wknet123 on Nov 13, 2019, 10:37
the API Server Coverage is  %   UI Coverage is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:37
the it is failed check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:37
the API Server Coverage is  %   UI Coverage is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:37
the it is failed check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:37
the API Server Coverage is  %   UI Coverage is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:37
the it is failed check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:37
the API Server Coverage is  %   UI Coverage is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:37
the it is failed check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:37
closed


Addressed comments from Chang, Bogart and Mudur

This PR tries to address the comments for the Notebook DC2 Coadd Run1.1p GCR tutorial Part I: GCR Access.ipynb from Chihway and others in #215

@EiffL @fjaviersanchez I updated the native filter description. Please take a look. Note the native filters don't work on any native quantities; it only works on quantities that are related to the underlying data format.


[KYUUBI #6445] use normalized extra name for optional distribution de…

…pendencies
:mag: Description
Issue References 🔗

This pull request fixes #6445
Describe Your Solution 🔧
use hive-pure-sasl instead of hive_pure_sasl for extra name for optional distribution dependencies.
this avoid potential WARNING: pyhive x.y.z does not provide the extra 'hive-pure-sasl' and missing dependencies when a package depends on pyhive[hive_pure_sasl] and python build system choose to normalize it to pyhive[hive-pure-saal].
Types of changes :bookmark:

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪
Behavior Without This Pull Request :coffin:
a package depends on pyhive[hive_pure_sasl] may complain WARNING: pyhive x.y.z does not provide the extra 'hive-pure-sasl' and missing dependencies to support hive feature.
Behavior With This Pull Request :tada:
based on my test on our internal pypi, users use pyhive[hive_pure_sasl] are not affected by this change. But we should update README when we release a new version of pyhive.
Related Unit Tests

Checklist 📝

[x] This patch was not authored or co-authored using Generative Tooling

Be nice. Be informative.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 58.44%. Comparing base (ef203e0) to head (d82e5ca).
Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6454      +/-   ##
============================================
- Coverage     58.46%   58.44%   -0.02%
  Complexity       24       24
============================================
  Files           656      656
  Lines         40267    40267
  Branches       5498     5498
============================================
- Hits          23544    23536       -8
- Misses        14219    14227       +8
  Partials       2504     2504

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

A quick look at #6341 shows that it changes hive_pure_sasl to hive-pure-sasl as well, but there's no record of why this was done. I think it's good to keep a seperate PR

Thanks, merged to master


:penguin: Add support for NVIDIA Jetson Nano

Is your feature request related to a problem? Please describe.
Support the NVIDIA Jetson Nano device. More and more enterprises are building AI/inferencing apps using Jetson appliances.
Describe the solution you'd like
N/A
Describe alternatives you've considered
N/A
Additional context
N/A

Also, let me know if you need help with implementing this. I do have access to a Jetson in the office. /cc: @rishi-anand @venkatnsrinivasan

I think we might just need to do a tumbleweed image or, any that contains the dtbs - for booting firmware should be updated with a version of u-boot that boots EFI ( https://en.opensuse.org/HCL:Jetson_Nano#Update_Firmware ). Other than that images should be also bootable. maybe the RPI ones would even get us to the boot screen?

I think I got a carrier board which is not official - I'm checking out if could be problematic. Currently I can't make it to recovery mode. Having a closer :eyes: or will have to order a different one.

ok, I can access recovery mode for flashing (it was the USB cable :/).
Now stuck at https://forums.developer.nvidia.com/t/jetson-nano-developer-kit-cloning-issue-jetpack-4-4-hangs-on-tegradevflash-oem-platformdetails-storage-storage-info-bin/144600/2

current status:

Can use u-boot to chainload to GRUB
Grub correctly shows entries, however, images that we currently have doesn't seem to work (kernel is stuck). trying with official kernel (linux-tegra) doesn't work either as misses EFI support.

Currently working on:

building a custom kernel
building a custom jetson image for kairos
documenting the flashing proces (for the eMMC variant)

https://github.com/kairos-io/packages/pull/123

Rebuilding the 4.9 kernel from Nvidia with the EFI_STUB enabled fails with:

This is weird - when booting the openSUSE images we got past that point, but couldn't actually load the initramfs. I'm about to think that has to do with the kernel version which is quite old.

similarly, when trying to specify the devicetree from the filesystem, ends up with the same result - this points to the fact that it's not a DTB file issue probably, but either a failure in the kernel while allocationg memory

neither all of the kernel seems to work, however:

I tried the leap kernel that goes almost through. it stops at some point in the boot process, before switching the initrd.
Tried the tumbleweed kernel, which doesn't get past by the EFI stub part.
Tried the arch linux kernel, which surprisingly booted almost up to the initramfs, but then it started to fail with kernel crashes:

Generally I'd say we are not in a good state - u-boot works, GRUB works too, and the partitioning as well. I will collect up the docs up to now that should be good base for Nvidia Jetson boards - however - it is not booting on the jetson nano, as upstream is stuck at 4.9 and that doesn't seem to boot via EFI stub.

Ok - this has to do with the initramfs - I've traced the messages back to the kernel, clearly should exec /init here, but doesn't seem to like it. same results with uncompressed initramfs, gzipped one, and custom carved out ones from busybox.

ok, turns out there are too many roadblackers for the kernel at the moment. However, I managed to get a shell in - but no drivers available to recognize the eMMC storage. I've documented my findings here: https://github.com/kairos-io/kairos/pull/952


Bad error message when using self.class in a module

→ View on sorbet.run
Input:
# typed: true

module BadModule
  def foo; self.class; end
end

module OkModule
  include Kernel
  def foo; self.class; end
end

class BadClass < BasicObject
  include ::BadModule
end

class OkClass < BasicObject
  include ::OkModule
end

puts OkClass.new.foo # unexpected missing method error
puts BadClass.new.foo # expected missing method error

Observed output:
editor.rb:4: Method class does not exist on BadModule https://sorbet.org/docs/error-reference#7003
     4 |  def foo; self.class; end
                   ^^^^^^^^^^
  Did you mean to `include Object` in this module?
    ???: Did you mean: Object#class?

editor.rb:9: Method class does not exist on OkModule https://sorbet.org/docs/error-reference#7003
     9 |  def foo; self.class; end
                   ^^^^^^^^^^
  Did you mean to `include Object` in this module?
    ???: Did you mean: Object#class?
Errors: 2

Observed runtime behavior:
❯ ruby foo.rb
OkClass
editor.rb:4:in `foo': undefined method `class' for #<BadClass:0x00007f91a50965f8> (NoMethodError)
        from editor.rb:21:in `<main>'

Expected behavior:
The static system should match the runtime; we should only emit a missing method error for the class that does not include Kernel.

This is potentially a number of bugs. The other is that we suggest include Object, when Object is a class, not a module and thus can't be included.
Also, we suggest that the owner for #class is Object. While it's true that the documentation for #class lives on Object, merely including Kernel is sufficient to get access to the method, so I think Sorbet should define #class on Kernel. Right now, class only exists in our symbol table because we enter it as an intrinsic method; we don't actually mention it in an RBI file.

Looks like this is fixed. Not sure when.


The problem of initialization

Inspired by this comment in the Haskell Discourse.
It feels natural that a "constructor" could have effects, performing some initialization on the component, initialization which might use functionality from the component's dependencies. Think the PostConstruct annotation in Java.
In dep-t, one style of initializers is supported, but there are some catches:

Dependencies between initializers ("the repository should only be initialized after the logger has been initialized") are not automatic. They could be deduced from the dependency graph, but "reifying" the dependency graph from the Has-style typeclasses seems difficult.
Components may briefly exist in an "unitialized" state, because you would basically get a (Initializer m, SomeComponent m) pair, not something like Initializer (m (SomeComponent m)).

Possible solutions:

Bite the bullet and write some Initializer monoid that can be tagged with dependencies and/or priorities, and performs an automatic topological sort (?).
Always rely on "lazy initialization" of resources. Initialize the component when first accessed.

OTOH: Stop Using @PostConstruct in Your Java Applications.
In Java Spring, there's also BeanFactoryPostProcessor and PriorityOrdered.

BeanFactoryPostProcessor beans that are autodetected in an ApplicationContext will be ordered according to PriorityOrdered and Ordered semantics. In contrast, BeanFactoryPostProcessor beans that are registered programmatically with a ConfigurableApplicationContext will be applied in the order of registration; any ordering semantics expressed through implementing the PriorityOrdered or Ordered interface will be ignored for programmatically registered post-processors. Furthermore, the @Order annotation is not taken into account for BeanFactoryPostProcessor beans.

This is kind of similar to my Initializer idea...

Interesting! Execution Order of @PostConstruct. It seems that, by default, Java's PostConstruct doesn't guarantee that the inizializations follow dependency order. You need an extra DependsOn annotation for that.

Moving to a more registry way of doing things, with constructors that use positional parameters instead of Has, would make functions like lmapConstructor (useful to install named loggers)  more difficult to implement.
I also kinda dislike positional parameters for dependencies and would prefer to keep using Has.


address issue #7, incompatable with python3

I've been able to test this against a local LCDd, and with these changes the 'examples.py' script runs fine with either python2 or python3.

#7 issue can be closed when this pull request is merged

Oops, I also added some changes to address #6 as well.  I meant to put that in a separate pull request but I screwed up, sorry!


problem when with multiple calls to bootstrap

The dependency-injection sample (live example) stopped working as of beta.22 (though it does work under beta.21).
To see the problem:

Click on the "Next User" button in the User section.
What should happen is that the user should toggle between Alice and Bob (with Alice having appropriate authorization and Bob doesn't).
What actually happens when clicking the button is ... nothing visible to the user.

I added some trace code and the click event handler is being called, but the view isn't being updated.
The sample code is here.
There are two other failures (pipes and template-syntax), but they seem to be related to the same issue (of the view not being refreshed as it should).

@matanlurey commented:

Interesting - it works if I comment out bootstrap(ProvidersComponent) and only bootstrap a single app.

Opening this as a tracker issue.
cc @kwalrath @TedSander

This is not supported right now, unfortunately. It will have to remain blocked for the time being.

Ok, thanks; in this case, I was able to rewrite both failing test cases to avoid multiple invocations of bootstrap.

Closing for now.

Hi, what is this blocked on? I have indications that this can be a blocker for companies that try to gradually introduce AngularDart. (One such company started adding AngularDart via separate mini-apps -- and they hit this issue on mini-app #2.)
Feel free to close again if there's a workaround.

Actually we ends up on some JS driven solution:
document.write("<ng-root-"+window.easyDartLoaders.length+"></ng-root-"+window.easyDartLoaders.length+">");

window.easyDartLoaders.push({
    "plugin": "knowledgeBase",
    "data":  "{'someDataForPlugin':true}")
  })

in Dart:
List<Loader> loaders = [];
main() async {
  for (JsObject o in (context["easyDartLoaders"] as JsArray)) {
    loaders.add(new Loader.fromJsObject(o));
  }

  for (int i = 0; i < loaders.length; i++) {
    Type component =getComponentToBootstrap(i);
    if(component!=null){
      bootstrap(component);
      loaders[i].index = i;
    }
  }
}

Type getComponentToBootstrap(int i) {
  switch (i) {
    case 0:
      return NgRoot0;
    case 1:
      return NgRoot1;
    default:
      return null;
  }
}

@Component(selector: "ng-root-0",
    template: "<root-switcher [loader]='myLoader'></root-switcher>",
    directives: const [RootSwitcher])
class NgRoot0 {
  Loader get myLoader => loaders[0];
}

@Component(selector: "ng-root-1",
    template: "<root-switcher [loader]='myLoader'></root-switcher>",
    directives: const [RootSwitcher])
class NgRoot1 {
  Loader get myLoader => loaders[1];
}

This isn't a priority at the moment, though I'll leave the issue open for others.


Cannot send email

/usr/local/lib/node_modules/homebridge-messenger/node_modules/nodemailer/lib/smtp-transport/index.js:175
return callback(err);
Error: Error: self signed certificate
/usr/local/lib/node_modules/homebridge-messenger/lib/email.js:73:17
/usr/local/lib/node_modules/homebridge-messenger/node_modules/nodemailer/li
b/mailer/index.js:230:21
at SMTPConnection.
(/usr/local/lib/node_modules/homebridge-messenge
r/node_modules/nodemailer/lib/smtp-transport/index.js:175:24)
Object.onceWrapper
(node: events: 628:26)
at SMTPConnection.emit (node:events:513:28) at SMTPConnection.
onError (/usr/local/lib/node_modules/homebridge-messenger/n
ode_modules/nodemailer/lib/smtp-connection/index.js:774:14)
TLSSocket.SMTPConnection.onSocketError (/usr/local/lib/node_modules/homebr
idge-messenger/node
modules/nodemailer/lib/smtp-connection/index. js: 190:45)
at ILSSocket.emit (node:events: 513:28)
emitErrorNT (node:internal/streams/destroy:157:8)
emitErrorCloseNT
(node: internal/streams/destroy:122:3)
[20/03/2024,
[20/03/2024,
01:46:321
bridge process
Process Ended.
Code: 1, Signal: null

Same

But how do you report issues or ask questions? That Git doesn't have an Issues or Discussions section, and I can't figure out how to use this since there is like zero information.


Update CONTRIBUTING.md

Added Java requirement and mentioned correct branch names for new Organized version

:tada: This PR is included in version 2.90.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Expectations for mtx: cells by columns instead of cells by row

As shared on the_matrix_reloaded:
Just playing with getting  data into Seurat and discovered that the .mtx has cells by row, while Seurat’s (I’m using 2.3.4) Read10X() for example expects cells by column, and consequently fails. I understand the wider reasons for having cells by row, but just FYI the tools might not be expecting it.
.mtx is closely associated with cellranger/10X:

How is the MEX format used for ... matrices
Feature-Barcode matrices

As a result, there are read10X convenience functions and vignettes for Seurat and EdgeR based on this expectation.
This could be partially mitigated by clearly documenting the DCP matrix file formats which is in progress.

Perhaps a more general solution: rather than selecting "formats", users should select the tool they want to use. So the list would be "scanpy", "seurat", "SingleCellExperiment", etc.


update readme

i have a question as follows,can you give me some advice?

how to generate datasets/of_images?????Thanks!

datasets/of_images refers to images/screenshots taken at certain intervals from the videos for optical flow. That'd be created during training and are handled by optical_flow_prep.py. In the above image the error is because you're trying to run the prediction script without training, hence it's unable to load the weight parameters that are present in the file temporal_stream_model.h5 (It'd be created after training).

@ap916 I run the createDatabase.py,but all the counts are 0


[Feature] VEIP Data Service Config

Hi Davi!
Do you know of the possibility to add VEIP Data Service Profile configuration via SNMP?

Hi Jorge.
Thank you for the contact. But at the moment, we have no plans to implement VEIP. At the moment, the focus is on performance gain in the functions already implemented. But in the future we may see the possibility of implementing yes.

How implement VEIP on package?


Adding a test utility class to help test conditions

@DomGarguilo - Here's that test class you asked to pull into a PR, if it looks good I guess you can go ahead and merge it and i'll merge main back into my other PR.


add TPR-2 proposal

@smarterclayton  early comments?

I assume he means the POST is handled and the object is created.
On Tue, Mar 28, 2017 at 10:27 AM, Dr. Stefan Schimanski <
<EMAIL_ADDRESS>wrote:

@sttts commented on this pull request.
In contributors/design-proposals/thirdpartyresources.md
https://github.com/deads2k/community/pull/1#discussion_r108436381:

+}

+// ThirdPartyList is a list of ThirdParty objects.
+type ThirdPartyList struct {

metav1.TypeMeta json:",inline"
metav1.ListMeta json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"

// Items individual ThirdParties
Items []ThirdParty json:"items" protobuf:"bytes,2,rep,name=items"
+}
+```

+## Behavior
+### Create
+When a new TPR-registration is completed, no synchronous action is taken.
define "completed"
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/deads2k/community/pull/1#pullrequestreview-29466284,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAABYkLlhuMxZICrpsT7ozSp6wSZerQDks5rqRjQgaJpZM4MomQn
.

comments addressed in a new commit.

opened against the real community repo.


Change instagram tiles to 320px

In order to prevent horizontal scroll on smaller screens,
as discussed  #here

You'll need to open a PR in the root repository :)
https://github.com/LekoArts/gatsby-themes/tree/master/examples/jodie


Nightly test for SBG end-to-end workflow

Description: setup a nightly test that executes the SBG end-to-end workflow
Acceptance Criteria:
o The nightly test is successfully executed in one or more target venues

PR #84 only adds the test configuration- is updating the sbg_L1_to_L2_e2e_cwl_step_by_step_dag.py DAG to run in non-DEV venues also a requirement for this issue?

Just executing the SBG DAG in the Dev venue should be enough for this ticket. Were you able to run the test on Dev?

Yep, test output attached in PR, no issues running the DAG to completion in DEV.

Completed, was able to trigger the integration test successfully.


Validators are applied to empty optional fields

Bug
Please complete:

OS: macOS 10.14.6
Python version import sys; print(sys.version): 3.7.4
Pydantic version import pydantic; print(pydantic.VERSION): 1.3a1

Where possible please include a self-contained code snippet describing your bug:
from typing import Optional

from pydantic import validator
from pydantic.dataclasses import dataclass

@dataclass
class MyDataclass:
    a: str
    b: Optional[str] = None

    @validator('a', 'b')
    def must_include_space(cls, v):
        if ' ' not in v:
            raise ValueError('must contain space')
        return v

MyDataclass(a='With space')

Since b is Optional and has a default value of None, you’d expect MyDataclass(a='With space') to be valid, but the code above fails with:
pydantic.error_wrappers.ValidationError: 1 validation error for MyDataclass
b
  argument of type 'NoneType' is not iterable (type=type_error)

IMO, the expected behavior is that validators are not applied to empty optional fields.

It looks like this is specific to pydantic dataclasses, and is happening due to this line:
https://github.com/samuelcolvin/pydantic/blob/5510a13f6ce2b3909aced8e1ae6a23fea4484862/pydantic/dataclasses.py#L80
The problem as I understand it is that 3.7 dataclasses don't give you a way to tell whether an attribute was obtained via a default value or via passing the argument. So when pydantic goes to do validation, there is no way for it to realize that it should ignore the un-provided default.
@samuelcolvin Any ideas here? One approach would be to just raise a warning/exception for dataclasses with validators on fields with default values that don't have always=True.
Maybe it would be possible to override the __init__ to track which fields were provided vs. not? Sounds like maybe more pain than its worth though; not sure.

@daninfpj thanks so much for reporting this.
@dmontagu I've just read through dataclasses._init_fn. yuk. We definitely don't want to implement our own __init__.  I think your warning/exception approach is the only option.

I’m not sure the difference lies in whether the value was provided vs. not.
The way most common validators work (i.e. Rails Active Record Validations) is that the only validate optional fields against other rules if a value is present (regardless of if it was provided).
In my example above, this should also be valid:
values = {'a': 'With space'}
MyDataclass(a=values.get('a'), b=values.get('b'))

A case that comes to mind is the values coming from GET or POST parameters.
My current workaround for this is skipping the validators if the field allows None (field.allow_none) and its value is None.

I’m not sure the difference lies in whether the value was provided vs. not.

It does. That's how pydantic works. It's the intended (and I would argue correct) behaviour.

My current workaround for this is skipping the validators if the field allows None

Looks good to me, you could also just do if value is None: return in each validator which would be more explicit.

I think this is resolved in Pydantic V2. That said, you should still handle the
from typing import Optional

from pydantic import field_validator
from pydantic.dataclasses import dataclass

@dataclass
class MyDataclass:
    a: str
    b: Optional[str] = None

    @field_validator('a', 'b')
    def must_include_space(cls, v: Optional[str]):
        if v is None:
            return v
        if ' ' not in v:
            raise ValueError('must contain space')
        return v

MyDataclass(a='With space')  # this works even without the `if v is None` because defaults are not validated
MyDataclass(a=' ', b=None)  # adding `if v is None` makes this work, as discussed above this is how it is going to be


Create BalancedConcatStrings.cpp

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Please accept

Hi,
Thanks for this pull request (PR).
Unfortunately, we are marking this PR invalid for hacktoberfest. We believe it does not follow the recommended guidelines:

Quality Standards
In line with Hacktoberfest value #2 (Quantity is fun, Quality is key), we have provided examples of the quality standards we encourage. This applies mainly to beginners.

PRs that are automated e.g. scripted opening PRs to remove whitespace / optimize images.
PRs that are disruptive e.g. taking someone else's branch/commits and making a PR.
PRs that are regarded by a project maintainer as a hindrance vs. helping.
Something that's clearly an attempt to simply +1 your PR count for October.

Learn more at https://hacktoberfest.digitalocean.com/details


Add variables for battery

I would like to start a short discussion about variable names (to prevent confusing variable names).
We want to provide the output curves of decentralized batteries (State of Charge and Output Power of battery) to the platform.
From my point of view, we have to add these variables. I suppose the following variable name for the State of Charge: Actual Storage|Electricity|Battery which is analogous to the already existing variable Maximum Storage|Electricity|Hydro|Pumped Storage. However, State of Charge|Electricity|Battery could be more intuitive.
Furthermore, we suppose the names Input Power|Electricity|Battery and
Output Power|Electricity|Battery for the electricity consumed (stored) and delivered by the batteries.
I just want to cross-check in terms of intuitive and consistent variable names.

thank you @erikfilias for your answer. That would address our issue. However, I would suggest adding
Maximum Discharge|Electricity|Energy Storage System:
description: Maximum discharge when consuming energy from the energy storage system unit.
unit: MW
As far as I have seen, #35 just needs to be merged - so the PR would be a nice next step.

thank you @erikfilias for your answer. That would address our issue. However, I would suggest adding
Maximum Discharge|Electricity|Energy Storage System:
description: Maximum discharge when consuming energy from the energy storage system unit.
unit: MW
As far as I have seen, #35 just needs to be merged - so the PR would be a nice next step.

Totally agree. Thanks @sebastianzwickl.

From openTEPES variables, we have the following variables related to ESS (#32 ):
Maximum Energy Charge|Electricity|Energy Storage System:
   description: This is the upper bound that energy storage system could charge energy at time "t".
   unit: GWh

Initial Storage Level|Electricity|Energy Storage System:
   description: Initial energy stored in the energy storage system unit at first load level. (ESS that includes hydro, battery, etc.)
   unit: GWh

Maximum Charge|Electricity|Energy Storage System:
   description: Maximum charge when storing energy the energy storage system unit.
   unit: MW

Maximum Storage|Electricity|Energy Storage System:
   description: Maximum energy that can be stored by the energy storage system unit.
   unit: GWh

Minimum Storage|Electricity|Energy Storage System:
   description: Minimum energy that can be stored by the energy storage system unit.
   unit: GWh

Spillage|Electricity|Energy Storage System:
   description: Energy spillage that could not be stored by an energy storage system (ESS). Several energy models include spillage variables related to renewable energy production; however, another way is to include a spillage variable to the ESS unit since it is the last sink of the power network.
   unit: GWh

Stored Energy Inventory|Electricity|Energy Storage System:
   description: State of the stored energy by ESS
   unit:  GWh

We'll add these variables and other ones in a new PR only related to power plants after merging #35 .

@erikfilias , what is the difference between Maximum Energy Charge and Maximum Storage?
regarding Stored Energy Inventory, maybe it could be named Stored Energy (without inventory which I do not find usefull)?
What about discharge variables? eg Maximum Discharge, Minimum Discharge?
We are also thinking of the variables we would need for plan4eu in terms of short term storage. We probably will need some additionnal variables related to charge/discharge gradients and perhaps also time frames. (work ongoing)

@sebastianzwickl

We want to provide the output curves of decentralized batteries (State of Charge and Output Power of battery) to the platform.
From my point of view, we have to add these variables. I suppose the following variable name for the State of Charge: Actual Storage|Electricity|Battery which is analogous to the already existing variable Maximum Storage|Electricity|Hydro|Pumped Storage.
However, State of Charge|Electricity|Battery could be more intuitive.

=> Maximum Storage|Electricity|Hydro|Pumped Storage is a constraint, it is the maximum amount of energy that could be stored in the 'pumped storage' system, then it is not 'state of charge'

In general for most variables we have a varaible that is the current state, and also a maximum and minimum: eg. Active Power, Maximum Active Power, Minimum Active Power, which should exist for all systems that sends power to the grid (or virtually sends power, like eg demand-response); or Volume, Minimum Volume, Maximum Volume ; Storage, Minimum Storage, Maximum Storage

Furthermore, we suppose the names Input Power|Electricity|Battery and
Output Power|Electricity|Battery for the electricity consumed (stored) and delivered by the batteries.
=> We should find a 'compromise' name that would be the same for everyone
I just want to cross-check in terms of intuitive and consistent variable names.

Regarding the plan4eu model, we have different kind of systems that do storage (and that are treated the same inside the solving model):

short term hydro storage (which in this nomenclature is 'pumped storage'
batteries
load shifting demand-response (which consists in shifting energy from one period to another, and is modelled like a battery)
For all those systems we need variables:
related to 'volume' constraints (maximum/minimum stored energy in the system)
related to bounds on the 'instantanous' storage/discharge (which are comparable to Max/Min Active Power for generation plants)
related to current status of stored energy and of current charging/discharging
storage efficiency (when 1MWh is 'charged', how much is really available for discharging?
probably bounds on charging/discharging gradients
probably time frames (will be needed for demand-response to handle constraints such as 'energy can be shifted from the period '8am-15am' to the period '16pm-23pm')

Maximum Storage and Minimum Storage are "static" values independent of the time (e.g., hour). Expressed in GWh
Variable minimum and maximum storage capacity are "dynamic" values depending on the time (e.g., storage hydro reservoir volume profile that may depend on the time of the year). Expressed in GWh
I guess that Maximum Energy Charge corresponds to the dynamic values
Of course, gradients for charging and discharging can be defined

Maximum Storage and Minimum Storage are "static" values independent of the time (e.g., hour). Expressed in GWh
Variable minimum and maximum storage capacity are "dynamic" values depending on the time (e.g., storage hydro reservoir volume profile that may depend on the time of the year). Expressed in GWh
I guess that Maximum Energy Charge corresponds to the dynamic values
Of course, gradients for charging and discharging can be defined

Ok understood; but why do we need different names in variable as it would be found from the presnece of not of the subannual? This is how we do in plan4eu. eg for max volume, when only one value is defined it means it is 'static', when a profile is there then means it's 'dynamic' but the variable name is the same.

OK. No different names are needed.
We can agree on Maximum Storage and Minimum Storage or Maximum Storage and Minimum Storage Capacity

OK. No different names are needed.
We can agree on Maximum Storage and Minimum Storage or Maximum Storage and Minimum Storage Capacity

@arght I think we should not use 'capacity' for naming a variable that deals with amount of energy as capacity is used mainly for 'power' (see all "capacity" variables). Maybe Storage, Minimum storage, Maximum storage ?

I agree because I also understand capacity intuitively with power.


Mycontact branch

add a contact form and finish the mobile version
Name field accepts up to 30 chars.
Email field accepts only emails.
Message field accepts up to 500 chars.
All fields have placeholder text.
All fields have the correct type.
A user cannot submit the form if one or more of the fields is empty.

Dear stanleySimeon,
Note Microverse communicated the bug in the linters and the technical team informed all students to submit the project even with failing limiters test as long as the linters in the working laptop is passing.

Okay
On Tue, 13 Jun 2023 at 16:41, samuelkinyanjui @.***>
wrote:

Dear stanleySimeon,
Note Microverse communicated the bug in the linters and the technical team
informed all students to submit the project even with failing limiters test
as long as the linters in the working laptop is passing.
—
Reply to this email directly, view it on GitHub
https://github.com/samuelkinyanjui/-finish_mobile_version_rev/pull/2#issuecomment-1589993538,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVYCZFOVLMW2OCUM6RIJ5OTXLDF7VANCNFSM6AAAAAAZFM4EHY
.
You are receiving this because you commented.Message ID:
@.***>

Move on!
On Tue, 13 Jun 2023 at 16:45, Stanley Simeon @.***> wrote:

Okay
On Tue, 13 Jun 2023 at 16:41, samuelkinyanjui @.***>
wrote:

Dear stanleySimeon,
Note Microverse communicated the bug in the linters and the technical
team informed all students to submit the project even with failing limiters
test as long as the linters in the working laptop is passing.
—
Reply to this email directly, view it on GitHub
https://github.com/samuelkinyanjui/-finish_mobile_version_rev/pull/2#issuecomment-1589993538,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVYCZFOVLMW2OCUM6RIJ5OTXLDF7VANCNFSM6AAAAAAZFM4EHY
.
You are receiving this because you commented.Message ID:
@.***
com>

And I'm sorry
On Tue, 13 Jun 2023 at 16:45, Stanley Simeon @.***> wrote:

Move on!
On Tue, 13 Jun 2023 at 16:45, Stanley Simeon @.***>
wrote:

Okay
On Tue, 13 Jun 2023 at 16:41, samuelkinyanjui @.***>
wrote:

Dear stanleySimeon,
Note Microverse communicated the bug in the linters and the technical
team informed all students to submit the project even with failing limiters
test as long as the linters in the working laptop is passing.
—
Reply to this email directly, view it on GitHub
https://github.com/samuelkinyanjui/-finish_mobile_version_rev/pull/2#issuecomment-1589993538,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVYCZFOVLMW2OCUM6RIJ5OTXLDF7VANCNFSM6AAAAAAZFM4EHY
.
You are receiving this because you commented.Message ID:
@.***
com>


Local Git Repo cannot push

It hangs up at write 0 percent

Counting objects: 18558, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (12799/12799), done.
Writing objects:   0% (1/18558)


Uki: Failed to mount iso during interactive install

Kairos version:

3.0.0-alpha2
CPU architecture, OS, and Version:

qemu vm amd64
Describe the bug

E0207 05:07:24.566727     978 mount_linux.go:232] Mount failed: exit status 32
Mounting command: systemd-run
Mounting arguments: --description=Kubernetes transient mount for /run/install/cdrom --scope -- mount -t auto /dev/disk/by-label/UKI_ISO_INSTALL /run/install/cdrom
Output: Running scope as unit: run-r4708308a905f49cb8d7248e1e574807b.scope
mount: /run/install/cdrom: /dev/sr0 already mounted on /run/install/cdrom.
       dmesg(1) may have more information after failed mount system call.

ERRO[2024-02-07T05:07:24Z] Failed mounting device /dev/disk/by-label/UKI_ISO_INSTALL with label UKI_ISO_INSTALL
  ERROR   1 error occurred:
          	* mount failed: exit status 32
          Mounting command: systemd-run
          Mounting arguments: --description=Kubernetes transient mount for /run/install/cdrom --scope -- mount -t auto /dev/disk/by-label/UKI_ISO_INSTALL /run/install/cdrom
          Output: Running scope as unit: run-r4708308a905f49cb8d7248e1e574807b.scope
          mount: /run/install/cdrom: /dev/sr0 already mounted on /run/install/cdrom.
                 dmesg(1) may have more information after failed mount system call.
1 error occurred:
	* mount failed: exit status 32
Mounting command: systemd-run
Mounting arguments: --description=Kubernetes transient mount for /run/install/cdrom --scope -- mount -t auto /dev/disk/by-label/UKI_ISO_INSTALL /run/install/cdrom
Output: Running scope as unit: run-r4708308a905f49cb8d7248e1e574807b.scope
mount: /run/install/cdrom: /dev/sr0 already mounted on /run/install/cdrom.
       dmesg(1) may have more information after failed mount system call.```
**To Reproduce**
<!-- Steps to reproduce the behavior, including the kairos command used, if any -->
kairos-agent interactive-install
**Expected behavior**
<!-- A clear and concise description of what you expected to happen. -->
installation completed with no error
**Logs**
<!-- If applicable, add logs to help explain your problem. -->

**Additional context**
<!-- Add any other context about the problem here. -->

@mudler


Rs4xx feature

to take advantage of the rs4xx feature in the serial2 crate

Looks good! Thanks :D

Will release it together with the automatic timeouts once my colleagues get round to reviewing the PR >.<

Released with v0.9.0 :rocket:


Updated keras and opencv keras snippets attempt 2

Hopefully this works @HalfdanJ

Hi @sryu1 , sorry for being unresponsive, travel has prevented me from working on on teachable machine, and will also be prevented the coming week over Thanksgiving.
/gcbrun

To run linter locally, cd to snippets and run "npm i" "npm run lint" with nodejs installed.

@HalfdanJ could you pls merge this now?

@HalfdanJ ?

@HalfdanJ might it be possible if I get collaborator permissions just for this repository so I can manage things when you are away?

/gcbrun


Drag and drop widgets

I came across your repo recently, and finally found an example drag and drop implementation in GTK4 - also, the whole repo is impressive.
Though, I tried to modify the example, so it supports dragging and dropping the widgets (for example to reorder the labels) but no luck so far. Do you have any idea for this scenario?

Hello @swanux.
Thank you very much!
Over the weekend I will try to recreate the scenario you described.
The only reference I could find was an example in C in the Gtk 4 demo, I'll try to recreate it in Python:

If you have any tips or tutorials, be sure to share them here 😁.

Hello @natorsc
Thank you for the response.
I took a look into the demo app, and translated the part of the code I thought may be relevant (not a proper translation, just a quick overview).
Here it is:
C:
static void
canvas_item_init (CanvasItem *item)
{
  char *text;
  char *id;
  GdkRGBA rgba;
  GtkDropTarget *dest;
  GtkGesture *gesture;
  GType types[2] = { GDK_TYPE_RGBA, G_TYPE_STRING };

  n_items++;

  text = g_strdup_printf ("Item %d", n_items);
  item->label = gtk_label_new (text);
  gtk_widget_add_css_class (item->label, "canvasitem");
  g_free (text);

  item->fixed = gtk_fixed_new ();
  gtk_widget_set_parent (item->fixed, GTK_WIDGET (item));
  gtk_fixed_put (GTK_FIXED (item->fixed), item->label, 0, 0);

  gtk_widget_add_css_class (item->label, "frame");

  id = g_strdup_printf ("item%d", n_items);
  gtk_widget_set_name (item->label, id);
  g_free (id);

  if (theme_is_dark ())
    gdk_rgba_parse (&rgba, "blue");
  else
    gdk_rgba_parse (&rgba, "yellow");

  set_color (item, &rgba);

  item->angle = 0;

  dest = gtk_drop_target_new (G_TYPE_INVALID, GDK_ACTION_COPY);
  gtk_drop_target_set_gtypes (dest, types, G_N_ELEMENTS (types));
  g_signal_connect (dest, "drop", G_CALLBACK (item_drag_drop), NULL);
  gtk_widget_add_controller (GTK_WIDGET (item->label), GTK_EVENT_CONTROLLER (dest));

  gesture = gtk_gesture_rotate_new ();
  g_signal_connect (gesture, "angle-changed", G_CALLBACK (angle_changed), NULL);
  g_signal_connect (gesture, "end", G_CALLBACK (rotate_done), NULL);
  gtk_widget_add_controller (GTK_WIDGET (item), GTK_EVENT_CONTROLLER (gesture));

  gesture = gtk_gesture_click_new ();
  g_signal_connect (gesture, "released", G_CALLBACK (click_done), NULL);
  gtk_widget_add_controller (GTK_WIDGET (item), GTK_EVENT_CONTROLLER (gesture));
}

Python:
def canvas_item_init(item):
    text = "Item %d" % n_items
    item.label = Gtk.Label(text)
    item.label.get_style_context().add_class("canvasitem")
    item.fixed = Gtk.Fixed()
    item.fixed.set_parent(item)
    item.fixed.put(item.label, 0, 0)
    item.label.get_style_context().add_class("frame")
    id = "item%d" % n_items
    item.label.set_name(id)
    if theme_is_dark():
        rgba = Gdk.RGBA()
        rgba.parse("blue")
    else:
        rgba = Gdk.RGBA()
        rgba.parse("yellow")
    set_color(item, rgba)
    item.angle = 0
    dest = Gtk.DropTarget.new(GObject.TYPE_INVALID, Gdk.DragAction.COPY)
    dest.set_gtypes([Gdk.RGBA, GObject.TYPE_STRING])
    dest.connect("drop", item_drag_drop)
    item.label.add_controller(dest)
    gesture = Gtk.GestureRotate.new()
    gesture.connect("angle-changed", angle_changed)
    gesture.connect("end", rotate_done)
    item.add_controller(gesture)
    gesture = Gtk.GestureClick.new()
    gesture.connect("released", click_done)
    item.add_controller(gesture)

Also, here's an auto-generated API documentation (I find it useful overall): https://amolenaar.github.io/pgi-docgen/
Currently I believe the issue is with the Gtk.DropTarget and what type it accepts - as tested with your code I get every signal emitted, except tha drop which would be the point. Also the usual dnd highlight doesn't appear.


SOW-24: add development plan reference to events

We need to update resolveDevelopmentPlanCSV to not assign a new reference when we update the development plan

Thanks for spotting that Ronan :) Done!


Typescript error: 'Tooltip' cannot be used as a JSX component.

I got this error:
'Tooltip' cannot be used as a JSX component.
  Its instance type 'Tooltip' is not a valid JSX element.
    The types returned by 'render()' are incompatible between these types.
      Type 'React.ReactNode' is not assignable to type 'import("/Users/leadream/figma/heron-transfer-plugin/node_modules/@types/react-dom/node_modules/@types/react/index").ReactNode'.
        Type '{}' is not assignable to type 'ReactNode'.ts(2786)

My dependencies:
"react": "16.8.0",
"react-dom": "16.8.0",
"typescript": "^4.6.3",

tsconfig.json
{
  "compilerOptions": {
    "target": "es6",
    "outDir": "dist",
    "jsx": "react",
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "experimentalDecorators": true,
    "removeComments": true,
    "noImplicitAny": false,
    "moduleResolution": "node",
    "resolveJsonModule": true,
    "allowSyntheticDefaultImports": true,
  },
  "include": ["src/**/*", "react-tooltip-lite/dist/index.d.ts", "typings.d.ts", "node_modules/@types/**/*", "node_modules/@figma/**/*"]
}

Any solutions?

This usually happens when you have multiple incompatible versions of @types/react or @types/react-dom installed. You could use yarn resolutions or npm overrides to force a certain version across all your deps.

Thanks @magnattic . Add this in package.json solved it.


Basic pulse scheduler

Summary
Closes #1921
Details and comments
First basic scheduling pass from QuantumCircuit to Schedule. No fancy tricks, but you get the option of backwards/forwards pulses (aka left/right justifying, greedy/lazy scheduling).
TODO:

[x] FIX CYCLIC IMPORT ISSUE
[x] TESTS
[x] Fix bug where groups of pulses corresponding to one QASM instruction (e.g. CNOT) are also forward scheduled, but I believe their relative timing shouldn't be changed.
[x] Add to changelog
[x] Update structure to reflect transpiler
[x] methods input type
[x] accept a list of circuits to schedule rather than just one
[x] Update mock and tests to use u1, u2 etc
[x] Make issue for parallelizing schedule over circuits
[x] Move nonlocal vars used in nested funcs to before those helper funcs
[x] Accept cmd_def + meas_map in place of backend
[x] remove cx-parameterized
[x] Update docstrings in basic.py
[x] set buffer = True in union, or use insert maybe
[x] Qubits are measured into the MemorySlot of their own label: this needs a TODO, an issue, and documentation
[x] Compare to barrier grouped scheduling style

On hold
Waiting for executed (scheduled) Schedules to match QASM execution: Right now, due to some resolution issues that Thomas is working on, executing a bell state on the backend (whether scheduled from a QuantumCircuit or hand crafted) yields incorrect data, and does not match executed transpiled circuits.

Placing this on hold while we resolve schedule performance issues and CmdDef accuracy.

Any ETA on this?

Please copy circuit name to schedule. Some Ignis modules identify an experiment by circuit name.

I cannot visualize any single qubit gate pulse using the scheduler.  They all look more or less like this:

Moreover, when plotting any schedule, it is near impossible to see most pulses:

@nonhermitian This is an issue of pulse visualizer. This is not designed to visualize such large schedule. Maybe it is good time to deploy interactive visualizer you developed.
For your first figure, it is better to set scaling option. I think scaling=10 works (usually pi pulse amplitude is very small).
For the second figure, maybe filtering channels (specifying channels_to_plot option to remove unnecessary u-channels) is useful because many FrameChange instructions are added in u-channels against the intention of a user. This is automatically done by CmdDef for frame synchronization with corresponding d-channels.

I think there's a bug here with the 'alap' schedule when there are no measurements.
I schedule this circuit on one of the 20Q devices:

q_0: |0>──■──
        ┌─┴─┐
q_1: |0>┤ X ├
        └───┘
q_2: |0>──■──
        ┌─┴─┐
q_3: |0>┤ X ├
        └───┘
 c_0: 0 ═════

 c_1: 0 ═════

I get the same schedule for both asap and alap but seems like the alap should be pushed to the right.

When I add measurements then this is fixed.

I found that the following test fails.
    def test_reflect_cargs_in_measure(self):
        """Test that measurements into different cargs result in different schedules."""
        qc = QuantumCircuit(2, 2)
        qc.measure(0, 0)
        qc.measure(1, 1)
        sched1 = schedule(qc, self.backend, method="as_soon_as_possible")

        qc = QuantumCircuit(2, 2)
        qc.measure(0, 1)  # CHANGED!
        qc.measure(1, 0)  # CHANGED!
        sched2 = schedule(qc, self.backend, method="as_soon_as_possible")

        self.assertNotEqual(sched1, sched2)

This can be a problem since transpiler can change qargs-cargs mapping like this.
Suppose users set the measurement result of q[0] to c[0] in the original circuit, but what if transpiler changes the qubit mapping from q[0]->q[0] to q[0]->q[1]?
Users will expect c[0] stores the result of original q[0] (that is after-mapped q[1]).
The only message left by transpiler is qargs-cargs in measure ops.
So scheduler must take care of qargs-cargs mapping in measure ops.
(This was not an issue in manual scheduling since users specify the mem_slots in acquire command by themselves.)
I think we need to set mem_slots indices in acquire command along with cargs in the transpiled circuit. Thoughts?

@ajavadia , I think you're right that there is a bug, but I think the bug is that ALAP and ASAP should actually be the same in that case, even if there are measures. The pulses internally to a CX should be set in time.

@itoko you are right, there is already an issue for that: https://github.com/Qiskit/qiskit-terra/issues/2704
I will fix this in a follow up after this PR is merged


⚠ Avatar API Endpoint has degraded performance

In 7d57655, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 4169 ms

Resolved: Avatar API Endpoint performance has improved in 1eea65d after 1 minute.


Google Dart

What would be the downside of porting Babylon.js to Google Dart?

Why should we do that should be the first question:)

async/await getting added to dart2js is a pretty nice coroutine support.
On Sun, Jan 11, 2015 at 12:41 PM, David Catuhe<EMAIL_ADDRESS>wrote:

Why should we do that should be the first question:)
—
Reply to this email directly or view it on GitHub
https://github.com/BabylonJS/Babylon.js/issues/356#issuecomment-69503064
.

I understand but this is not our plan. And hopefully TS will add support for this as well:)


add RollDice plugin entry

I had fun porting the isPrime plugin, so I made a new plugin to roll some dice 😄
Please hit me up if something's amiss.

@taooceros if you got 2 secs could you help resolve the conflict, I am afk, other wise will do it tomorrow

@taooceros if you got 2 secs could you help resolve the conflict, I am afk, other wise will do it tomorrow

Sorry, I am also afk now😂😂😂 Let's do it tomorrow.

Merged. Thank you :)


Fix README

Thank you for the fix
👍

Coverage remained the same at 97.603% when pulling 25a8e0eb46f6aaf0f99c5b2b9aace3036ebbfaa5 on walkersumida:patch-2 into a81bf04fe96f6e3113b38fea46136804b646b05e on Dynamoid:master.

@andrykonchin
Dynamoid is good gem. Thank you 👍


Support developer training

through organizing monthly R UG meetings, supporting the monthly Posit training seminars, or other meetings (e.g., bringing back Tech meetings).

KD hosted and organized and/or presented at (in FY 23):

3 Posit Training Seminars
6 NMFS R UG meetings


fletcher32 calculates wrong results

Sorry, but there is a bug. It comes in with 33afeaa5984d800a14aec638c3645b9450183f87. I do not see quickly the problem. I will try to look at it later.
Using the following sketch I get not the same result calculating using fletcher32 or Fletcher32. I also implemented a very basic own one which gives the same result as Fletcher32.
The output on an Arduino Nano (ATmega 328P):
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum: 531239522 != 531239522 != 531239522
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum: 165916914 != 165851378 != 165916914 <<<<<<<<<< ERROR
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum: 122596904 != 122531368 != 122596904 <<<<<<<<<< ERROR
Fletcher32 Checksum: 605022322 != 605022322 != 605022322
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum: 31964681 != 31899145 != 31964681 <<<<<<<<<< ERROR
...

The output on an Arduino MKRZERO (SAMD21):
Fletcher32 Checksum: 780509277 != 780509277 != 780509277
Fletcher32 Checksum: 150721686 != 150656150 != 150721686 <<<<<<<<<< ERROR
Fletcher32 Checksum: 478771874 != 478706338 != 478771874 <<<<<<<<<< ERROR
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum: 657660082 != 657594546 != 657660082 <<<<<<<<<< ERROR
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER>
Fletcher32 Checksum:<PHONE_NUMBER> !=<PHONE_NUMBER> !=<PHONE_NUMBER> <<<<<<<<<< ERROR
...

And here the used sketch:
#include "Arduino.h"

#include <Fletcher.h>
#include <Fletcher32.h>

#ifdef ARDUINO_ARCH_AVR
#define MAX_LEN 1024
#else
#define MAX_LEN 16384
#endif

uint32_t myfletcher32(uint16_t *data, const uint16_t length)
{
  uint32_t s1 = 0;
  uint32_t s2 = 0;
  for (uint16_t i = 0; i < length; i++)
  {
    s1 = (s1 + data[i]) % ((((uint32_t) 1) << 16) - 1);
    s2 = (s2 + s1) % ((((uint32_t) 1) << 16) - 1);
  }
  return (s2 << 16) | s1;
}

void test_fletcher32() {
  const uint16_t max_len = MAX_LEN / 2;
  uint16_t values[max_len];
  for (uint16_t i = 0; i < max_len; i++) {
    values[i] = (uint16_t) random(0, ((uint32_t) 1) << 16);
  }
  Fletcher32 checksum_instance;
  checksum_instance.begin();
  for (uint16_t i = 0; i < max_len; i++) {
    checksum_instance.add(values[i]);
  }
  uint32_t checksum1 = checksum_instance.getFletcher();
  uint32_t checksum2 = fletcher32(values, max_len);
  uint32_t checksum3 = myfletcher32(values, max_len);
  Serial.print("Fletcher32 Checksum: ");
  Serial.print(checksum1);
  Serial.print(" != ");
  Serial.print(checksum2);
  Serial.print(" != ");
  Serial.print(checksum3);
  if ((checksum1 != checksum2) || (checksum2 != checksum3)) {
    Serial.println(" <<<<<<<<<< ERROR");
  } else {
    Serial.println();
  }
}

void setup()
{
  Serial.begin(115200);
  while (!Serial);
}

void loop() {
  test_fletcher32();
  delay(1000);
}

The bit shift is not the same as modulo. It just corrects a small overflow. So using it together with delay the modulo does not work.

The bit shift is not the same as modulo. It just corrects a small overflow. So using it together with delay the modulo does not work.
You mentioned this typo already in fletcher16.

Yes, It only works for small overflows, and the sum of (s1 & xxxx) + (s1 >> bits)  should not be beyond the modulo number.
So it should work in the add() in the classes, as it is done after every addition.
Would it be possible to add your test code to find the bug to the unit test ? In the test folder?

Yes, good idea to put it in as unit test. I never did this. But I will try this later.
Oh, sorry, I skipped fletcher64. But I expect it's the same. Let us see if I can somehow manage to check this as a unittest.

unit tests are pretty straightforward in this, just compare a value with the function return.
To make the output 'debug able' do not put more than ~20 or so tests in a single unit test (or print some divider whatever).

Note I updated your sketch above to get syntax highlighting.
Add   cpp   after the three backquotes


Prefetch Windows 10

Get-ForensicPrefetch is not compatible with the Prefetch format on Windows 10

Windows 10 uses a much different file format for Prefetch files.  This is likely going to be a large effort to fix. http://blog.digital-forensics.it/2015/06/a-first-look-at-windows-10-prefetch.html


feat(clerk-js): Organization slugs

Type of change

[ ] 🐛 Bug fix
[x] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[x] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[x] @clerk/types
[ ] @clerk/clerk-expo
[ ] @clerk/backend-core
[ ] @clerk/clerk-sdk-node
[ ] @clerk/edge
[ ] build/tooling/chore

Description

[x] npm test runs as expected.
[x] npm run build runs as expected.

Added support for organization slugs. Added slug as a parameter in clerk.createOrganization().

@nikosdouvlis Awesome feedback, hope this is better. https://github.com/clerkinc/javascript/pull/191/commits/8b89c5154f91615b2eea6f4219a797b85df117c1


Add node-selector to namespace

Why this change?
When https://github.com/openshift/cluster-kube-apiserver-operator/pull/394 merges, all the pods running openshift cluster will have a defaultNodeSelector if it has been set by cluster-admin including pods running in openshift-* namespace. The main advantage of having that feature is in a multi-tenant environment, any new project created can be steered towards compute nodes(non-master nodes).
What should I do?
If you think, the pods in your namespace shouldn't have defaultNodeSelector set, please review this PR.
/cc @deads2k @sjenning

/lgtm


Add Diar-az

Diar-az creates files for a (diarization) corpus from Gecko and provides organization, cleaning and correction of data for Kaldi to Gecko to Kaldi/corpus and back.

I think this should fall into "Other software" instead of "Diarization dataset".
This is not a new dataset. It's just a format conversion tool, is it correct?

Its a tool specifically for the ruv-di dataset

If so, we should add ruv as a dataset, and this repo as "Other Software".

The dataset was never published, only the resulting models. Also, yes that
dataset should be added but it was also lost in a cyber security attack in
January 2024 on Reykjavik University’s servers. If you want, you could put
a placeholder text for the RÚV-DI dataset here in this repo and we could
try to recreate the dataset. We have a license that lists all the shows and
episodes contained within the dataset. So we could recreate it from that.
Other software works in my opinion.
On Tuesday, August 20, 2024, Quan Wang @.***> wrote:

If so, we should add ruv as a dataset, and this repo as "Other Software".
—
Reply to this email directly, view it on GitHub
https://github.com/wq2012/awesome-diarization/pull/39#issuecomment-2299036910,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABUMNYEZUD2QOJQQ7AE2X5TZSNI2HAVCNFSM6AAAAABMY6MAQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJZGAZTMOJRGA
.
You are receiving this because you commented.Message ID:
@.***>

The dataset was never published, only the resulting models. Also, yes that dataset should be added but it was also lost in a cyber security attack in January 2024 on Reykjavik University’s servers. If you want, you could put a placeholder text for the RÚV-DI dataset here in this repo and we could try to recreate the dataset. We have a license that lists all the shows and episodes contained within the dataset. So we could recreate it from that. Other software works in my opinion.
…
On Tuesday, August 20, 2024, Quan Wang @.> wrote: If so, we should add ruv as a dataset, and this repo as "Other Software". — Reply to this email directly, view it on GitHub <#39 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUMNYEZUD2QOJQQ7AE2X5TZSNI2HAVCNFSM6AAAAABMY6MAQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJZGAZTMOJRGA . You are receiving this because you commented.Message ID: @.>

Yes, I think Other software works and maybe a better fit, as it's not really a dataset, rather it was a tool to support the ruv-di dataset. To correct this, should this pull request be just updated or a new one created?

To correct this, should this pull request be just updated or a new one created?

I'm OK either way.

To correct this, should this pull request be just updated or a new one created?

I'm OK either way.

Fixed, added to other software.

@afk0901 i believe you also need to put the placeholder text for the dataset for this pr to be properly closed.
In terms of recreating the dataset i believe it's actually best if @wq2012 recreates the dataset with daan and pet of google. And @afk0901 finish our writeup of this dataset creation. When we are both done we compare notes on arxiv and write the dataset paper together for interspeech, icassp, or sand2025, or wand in october.

For continuity and clarity I believe it's best if my second paragraph is dealt with separately, not in this pr. Thus i have created a new issue for it within this repo.

To correct this, should this pull request be just updated or a new one created?

I'm OK either way.

Fixed, added to other software.

I didn't see the change.


Wait for boundary debug paint before capturing

When pushing a new route with PageTurn widget, it crashes.
The solution is to wait for boundary debug paint.
Refer to:
https://stackoverflow.com/questions/57645037/unable-to-take-screenshot-in-flutter

Thanks for the PR!


Dashrews/rox 15123 fix clone test to use rocks too

Description
Now that the setting of the Postgres flag is automatic and most importantly permanent, we must be more deliberate in setting up RocksDB for these upgrade tests.  So the updates here are to specifically set the version in Rocks to what we want it to be before executing the migrator.  This will have the Rocks in the state we want it and ready for the migrator run.
Checklist

[ ] Investigated and inspected CI test results
~- [ ] Unit test and regression tests added~
~- [ ] Evaluated and added CHANGELOG entry if required~
~- [ ] Determined and documented upgrade steps~
~- [ ] Documented user facing changes (create PR based on [openshift/openshift-docs]~(https://github.com/openshift/openshift-docs) and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
It is a test.

/retest


syntax: ALLBUT should not include "containedin" syn-matches

To highlight trailing whitespace I am using basically the following:
exec 'syn match EOLWS display excludenl /\s\+'
      \ . (mode == 'i' ? '\%#\@!' : '')
      \ . '$/ containedin=ALLBUT,EOLWSOK,EOLWS'

" Match mixed whitespace (space followed by tabs).
syn match EOLWS   display excludenl / \+\ze\t/ contained containedin=ALLBUT,EOLWSOK,.*Comment
syn match EOLWSOK display excludenl /^ \($\|\t\)/ contained containedin=gitcommitDiff,gitDiff

However, syntax/lua.vim includes this:
syn region luaTableBlock transparent matchgroup=luaTable start="{" end="}" contains=ALLBUT,luaBraceError,luaTodo,luaSpecial,luaIfThen,luaElseifThen,luaElse,luaThenEnd,luaBlock,luaLoopBlock,luaIn,luaStatement

This causes EOLWSOK (end-of-line: whitespace OK) to be included there, although I am saying that it should only be included in gitcommitDiff,gitDiff.
:h :syn-contained says:

This works as if the containing item has a "contains=" argument that includes this item.

I think this should further be restricted, so that it would be included with ALLBUT (and others like ALL).
If this is considered to be not backward-compatible, a new keyword like ONLY could be added.
However, are there use cases where something with containedin is also to be expected to be included with ALLBUT?

Did you find a workaround for this issue? I'm having a very similar one, I don't know how to say I want something to be contained "only" in a specific group.

I'm having the same issue with ALLBUT used in the c.vim syntax file:
https://github.com/vim/vim/blob/67fbdfefd26a237831c3838f799d3e6198c8a34a/runtime/syntax/c.vim#L162
The only workaround I can think of is to first clear the syntax group and then redefine it with my own syntax groups added to the list after ALLBUT.
In my case I have a list of C++ STL keywords that I would like to be highlighted only when appearing after a ::, like std::vector, but not when they appear on their own. This can be achieved with the following:
syntax match cppSTLscope "::" nextgroup=cppSTLtype
syntax keyword cppSTLtype containedin=cppSTLscope hours path vector
hi def link cppSTLtype Type

And it works fine as long as the keywords do not appear inside parentheses. Because of the ALLBUT in cParen, vector is always highlighted inside parentheses, like in foo(vector);.

I think I had the same issue in the past when I tried to customize the highlighting of various texts inside comments (e.g. codespans between backticks).  Similar to @bfrg, the only workaround I found was to include my custom syntax groups inside any syntax group defined with the ALLBUT argument.

I'm having the same issue with ALLBUT used in the c.vim syntax file:
https://github.com/vim/vim/blob/67fbdfefd26a237831c3838f799d3e6198c8a34a/runtime/syntax/c.vim#L162

I'm having exactly the same trouble with the cParen group. It's like we need a containedin=NOTHINGEXCEPT,{groups} rule, does anyone who knows the vim source code know whether something like that could be doable?

The best work around that I've found is using the cParenGroup cluster (shoutout to a comment by @bfrg on another thread for pointing me in the right direction 🙏 ).
You can see in the cParen rule, that the @cParenGroup cluster is excluded. So adding the groups that you don't want highlighted to this cluster will do it:
syn cluster cParenGroup add=groupYouDontWantToMatchInCParen


Add command python manage.py makemigrations in the documentation

We should add the command python src/manage.py makemigrations in the docs since the migrations for app doesnt work unless we do makemigrations for it.

@anshuldutt21  Are you sure about this? Because migrations are already added in the migrations folder. If you still had to run makemigrations look at the diff when the command is run, if it creates some new file please open a PR for the same.
Also, another way is to remove the folder and then run the command, this will create only one file 0001_initial.py and then you can find the diff.
The idea is to minimize the no. of commands user needs to run for setting up the project.

@rtgdk yes it does create a new file in the migrations after runninig the command.

@anshuldutt21 Can you paste the content of it?

-- coding: utf-8 --
Generated by Django 1.11.28 on 2020-02-15 16:52
from future import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
    ('app', '0001_initial'),
]

operations = [
    migrations.CreateModel(
        name='LicenseNamespace',
        fields=[
            ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
            ('licenseAuthorName', models.CharField(blank=True, default='', max_length=100, null=True)),
            ('fullname', models.CharField(max_length=70)),
            ('shortIdentifier', models.CharField(max_length=25)),
            ('submissionDatetime', models.DateTimeField(auto_now_add=True)),
            ('userEmail', models.EmailField(max_length=35)),
            ('notes', models.CharField(default='', max_length=255)),
            ('xml', models.TextField()),
            ('archive', models.BooleanField(default=False)),
            ('publiclyShared', models.BooleanField(default=True)),
            ('description', models.TextField()),
            ('namespace', models.CharField(max_length=200)),
            ('url', models.CharField(max_length=200)),
            ('license_list_url', models.URLField(max_length=250)),
            ('github_repo_url', models.URLField(max_length=250)),
            ('promoted', models.BooleanField(default=False)),
        ],
        options={
            'verbose_name': 'LicenseNamespace',
            'verbose_name_plural': 'LicenseNamespaces',
        },
    ),
    migrations.CreateModel(
        name='OrganisationName',
        fields=[
            ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
            ('name', models.CharField(max_length=250)),
            ('orgId', models.CharField(max_length=25)),
        ],
        options={
            'verbose_name': 'OrganisationName',
            'verbose_name_plural': 'OrganisationNames',
        },
    ),
    migrations.AddField(
        model_name='licenserequest',
        name='archive',
        field=models.BooleanField(default=False),
    ),
    migrations.AddField(
        model_name='licenserequest',
        name='licenseAuthorName',
        field=models.CharField(blank=True, default='', max_length=100, null=True),
    ),
    migrations.AddField(
        model_name='licenserequest',
        name='notes',
        field=models.CharField(default='', max_length=255),
    ),
    migrations.AddField(
        model_name='licensenamespace',
        name='license_request',
        field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='app.LicenseRequest'),
    ),
    migrations.AddField(
        model_name='licensenamespace',
        name='organisation',
        field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='app.OrganisationName'),
    ),
]

The above file is the 2nd migration file created after doing makemigrations. The contents are also different. I think the best way should be to run makemigrations in the docs before migrating.

@anshuldutt21 Okay, I got it. These models were created last year and the changes haven't been migrated in the migrations files.
Can you raise a PR, after deleting the migrations folder rerun the migrations command which will append changes to 0001_initial.py ? (We want only one file in migrations folder)
We don't want any developer/user to run makemigrations (one less command to setup the repo), so we provide premigrated files in the repo.


Mu 19

Check this PR, I've been fixing issues from GitHub Actions and I hope to improve this. thank you.

Hi, I've fixed the issues that you saw in my PR, please, review again this PR.

Thanks for the observations.


Add BackOff to SeekToCurrent components

SeekToCurrentErrorHandler
AfterRollbackPostProcessor

@artembilan Don't feel obliged to review this while you are on vacation - it doesn't have to go into the M4 milestone.

He-he! There is non-formal [DO NOT REVIEW] prefix to let me know 😉

Enjoy your time off - thanks a lot for what you have done so far.
If there are any last minute bug fixes before Monday, I can ask Oleg or Soby to review.


Dispatched <?> instead of message or resource

Happened several times, while using phone on 3G phone carrier.

Internet connection was fine though, as files were correctly uploaded. Only the late step "send message" from mobile to broker went wrong.

This may have to do with the order of calls of onActivityResult(),onResume(), onRestoreInstanceState() ...

Not seen recently. May be reopen later.


deploying the template fails

I try to deploy the resulting template with :
aws cloudformation deploy --template-file /home/adrian/Downloads/dlg/aws-iam-temporary-elevated-access-broker/packaged-template.yaml --stack-name stack --s3-bucket bucketspa3 --capabilities CAPABILITY_NAMED_IAM
This always fails and I have to rollback. I have admin privileges on my IAM role.
some of the errors I get:
The following resource(s) failed to create: [LambdaExecutionRole, ApiGatewayLogGroup, GetrequestsLogGroup, DynamodbstreamLogGroup, WebBucket, FederateconsoleLogGroup, CustomauthorizerLogGroup, GetpendingrequestsLogGroup, GetallrequestsLogGroup, CloudWatchRole, LambdaLayer, OriginResponseLogGroup, RejectrequestLogGroup, FederatecliLogGroup, KMSDecryptPolicy, DeleterequestLogGroup, OriginAccessIdentity, CreaterequestLogGroup, DynamoDBReadPolicy, HttpoptionshandlerLogGroup, LambdaEdgeFunctionRole, requestTable, CloudFrontCachePolicy, ApprovalSNSTopic, GetprocessedrequestsLogGroup, ApproverequestLogGroup]. Rollback requested by user.

There may be an SCP and/or permission boundary in place. Please see the following documentation for additional troubleshooting: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#basic-ts-guide

I don't think it's a SCP/permission boundary, I've setup the account and there's no such thing.
I will look into that link for more debugging tomorrow, thanks.

This is the first error I get......

2021-12-08 15:19:49 UTC+0000
LambdaLayer
CREATE_FAILED
Property validation failure: [Value of property {/Content} does not match type {Object}]

not sure what it means and I couldn't find any references on it either.

If the value of that property doesn't match the validation rules, then the validation of the whole object fails. Are you passing a parameters file when running the deployment? CloudFormation will fail if it does not receive all required parameters that are defined in the template.

This is the template file that was generated using the command you provided.  In that file I added a few params, but they're not related to Lambda.
I believe the erorr is related to this section, which I've not modified:
LambdaLayer:
Properties:
CompatibleRuntimes:
- python3.8
- python3.9
Content: lambda-layer/
Description: Python layer for Temporary Elevated Access Broker
LayerName: temporary-elevated-access-broker-python
LicenseInfo: MIT License
Type: AWS::Lambda::LayerVersion
Full file attached, extension changed to .txt so that i can be uploaded.
packaged-template.txt

Looking at the template provided, it appears that the LambdaLayer source code refers to the local path instead of the Amazon S3 location. The packaged template should be updated with the proper references for the newly-uploaded objects. Can you re-run the CloudFormation package command and share the output?

It appears that the package command is still not transforming the LambdaLayer function with the S3 location. The Code property should have been updated with the bucket and uploaded object name. What version of the AWS CLI do you have installed? You can call aws --version to check the version. If you have an older version installed, you will need to upgrade: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html

I've updated this, but still fails.

It appears that the package command is not recognizing the 'lambda-layer' folder. Unfortunately, I was not able to reproduce this on my end. You may need to manually upload the files to an S3 bucket and then add the location to your template, as shown in the following example:
LambdaLayer:
Type: 'AWS::Lambda::LayerVersion'
Properties:
Content:
S3Bucket: mybucket
S3Key: f03ebff8a8a10440fe23667d0c0cddf4
LayerName: temporary-elevated-access-broker-python
Description: Python layer for Temporary Elevated Access Broker
LicenseInfo: MIT License
CompatibleRuntimes:
- python3.8
- python3.9

It appears that the package command is not recognizing the 'lambda-layer' folder. Unfortunately, I was not able to reproduce this on my end. You may need to manually upload the files to an S3 bucket and then add the location to your template, as shown in the following example:
  LambdaLayer:
    Type: 'AWS::Lambda::LayerVersion'
    Properties:
      Content:
        S3Bucket: cf-deployment-resources
        S3Key: f03ebff8a8a10440fe23667d0c0cddf4
      LayerName: temporary-elevated-access-broker-python
      Description: Python layer for Temporary Elevated Access Broker
      LicenseInfo: MIT License
      CompatibleRuntimes:
        - python3.8
        - python3.9


Support checking overlapping subnets

This allows the caller to specify $check_subnets and also provide a $cidrprefix so that the code can check if the proposed IPaddress/CIDRprefix will make a subnet that overlaps with any other subnet defined on other interfaces.
is_ipaddr_configured() returns a simple true/false answer, like it always has.
where_is_ipaddr_configured() returns an array of the conflicting interfaces and subnets. This is handy for front-end validation so that the caller can be returned information about what addresses conflicted and display it to the user.
This should be helpful for stopping stupidity by users that put overlapping subnets on various interfaces.

Once this seems good, I plan to enhance it to also check that OpenVPN tunnel networks do not overlap with other OpenVPN tunnel networks or ordinary interface networks. Then I can add such validation to the OpenVPN server/client edit pages also.
In particular, that will stop the common error of people putting the same tunnel network in every OpenVPN server they setup on a system.

Closing in favor of #1601 which has both changes together and is integrated with current code in master.


Broken +layout.server.js (1.0.0-next.409)

Describe the bug
The data returned by +layout.server.js does not survive client side navigation
Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-8owdvn
Logs
No response
System Info
System:
    OS: Linux 5.0 undefined
    CPU: (4) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    Yarn: 1.22.10 - /bin/yarn
    npm: 7.17.0 - /bin/npm
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.64
    @sveltejs/kit: next => 1.0.0-next.406
    svelte: ^3.46.0 => 3.49.0
    vite: ^3.0.0 => 3.0.7

Severity
serious, but I can work around it
Additional Information
No response

Duplicate of #5904.

@Conduitry Thx for the fast response. Would it be possible to adjust the title of the other issue? I'm not using await parent(), so I did not see that a similar issue has been reported already


chore: release main

:robot: I have created a release beep boop
db-service: 1.14.0
1.14.0 (2024-10-15)
Added

assoc-like calc elements after exists predicate (#831) (05f7d75)

Fixed

Improved behavioral consistency between the database services (#837) (b6f7187)
Treat assoc-like calculated elements as unmanaged assocs (#830) (cbe0df7)

sqlite: 1.7.4
1.7.4 (2024-10-15)
Fixed

Improved behavioral consistency between the database services (#837) (b6f7187)

postgres: 1.10.1
1.10.1 (2024-10-15)
Fixed

add cds schema for postgres build plugin (#843) (6306d5c)
Improved behavioral consistency between the database services (#837) (b6f7187)
null as default value (#845) (0041ec0)

hana: 1.3.1
1.3.1 (2024-10-15)
Fixed

combination of groupby and orderby (#825) (10e0534)
Improved behavioral consistency between the database services (#837) (b6f7187)
list optimization for Buffer values (#817) (3e60de2)
null as default value (#845) (0041ec0)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

db-service-v1.14.0
sqlite-v1.7.4
postgres-v1.10.1
hana-v1.3.1
:sunflower:


57 viewmodels infobar

@christiannagel I set the base branch for this pull-request to 51-navigation instead of main to trigger the Nuget-Package-Build only once.


develop

chore(button): add stories
chore(button): add stories
chore(button): change stories
docs(button): change explore
docs(readme): change explore
docs(button): change explore
chore(demo): change App.tsx
docs(readme): change Documentation

Codecov Report

Merging #125 (298f399) into master (76aa451) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #125   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines           15        15
  Branches         6         6
=========================================
  Hits            15        15

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 76aa451...298f399. Read the comment docs.


Use QDType bit interfaces for classical simulation

Final part of #1142!

Remove classical sim ints_to_bits and bits_to_ints, and always use QDType bit interfaces (from_bits, to_bits etc.).
Update all bookeeping bloqs to use the QDType bit features.

Fixes #811
Fixes #606
Fixes #643

Since this will close all those bugs, can you open a bug for classical simulation of fixed point. A brief overview of the current situation where you pass around ints because of deficiencies in fxpmath; and potential alternatives going forward

Since this will close all those bugs, can you open a bug for classical simulation of fixed point. A brief overview of the current situation where you pass around ints because of deficiencies in fxpmath; and potential alternatives going forward

Done!


Perform testing of Beta Release using SRA and Illumina samples for bugs

Performed testing using SRA samples and a Illumina samples. Pipeline completed successfully!


Not displaying clients players should connect with

What is the output link of /viaversion dump?
http://hastebin.com/obawisomiy.json
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
Bugneecord 1206 & ViaBackwards
How does this error happen? login? Using an item?
When logging in with a 1.8.X client users get the following error message: http://i.imgur.com/pogmSeG.png --- instead of receiving a message stating what clients are supported.
My server is 1.10, I have ViaBackwards for 1.9 and ViaVersion for 1.11, I'm using viaversion on individual spigot instances instead of bungeecord.
They are connecting to my hub server, these are the spigot.yml client messages if that makes any difference:
'outdated-client: '&cOutdated client! Please use &a{0}'
'outdated-server: '&cOutdated server! I''m still on &a{0}'
Is there an error in the console? Use pastebin.com. Is there a kick message?
http://i.imgur.com/pogmSeG.png

This is a BungeeCord related issue and unrelated to ViaVersion.
Consider editing your Bungee error messages.


False test failures in test_optimize

https://dev.azure.com/scipy-org/SciPy/_build/results?buildId=12017&view=logs&jobId=87857631-9804-5a40-bb8b-a910aba70c72&j=9cb18180-add1-582e-7886-3faf914ed2d6&t=99cdde51-ae30-5ee2-ea06-bcb259c37a54
PR https://github.com/scipy/scipy/pull/14008 is unrelated to these functions
2021-05-09T22:48:31.3573645Z =================================== FAILURES ===================================
2021-05-09T22:48:31.3574655Z _____________________ TestOptimizeWrapperDisp.test_powell ______________________
2021-05-09T22:48:31.3576150Z [gw0] linux -- Python 3.8.9 /opt/hostedtoolcache/Python/3.8.9/x64/bin/python
2021-05-09T22:48:31.3576957Z scipy/optimize/tests/test_optimize.py:227: in test_powell
2021-05-09T22:48:31.3577697Z     assert_allclose(self.trace[34:39],
2021-05-09T22:48:31.3578349Z E   AssertionError:
2021-05-09T22:48:31.3579178Z E   Not equal to tolerance rtol=1e-07, atol=1e-14
2021-05-09T22:48:31.3579833Z E
2021-05-09T22:48:31.3580440Z E   Mismatched elements: 10 / 15 (66.7%)
2021-05-09T22:48:31.3581095Z E   Max absolute difference: 1.88854381
2021-05-09T22:48:31.3581774Z E   Max relative difference: 2.58885441
2021-05-09T22:48:31.3582626Z E    x: array([[ 2.618034, -0.883139,  0.951535],
2021-05-09T22:48:31.3583518Z E          [ 1.309017, -0.441569,  0.475767],
2021-05-09T22:48:31.3584402Z E          [ 2.309017, -0.441569,  0.475767],...
2021-05-09T22:48:31.3585285Z E    y: array([[ 0.72949 , -0.441569,  0.47101 ],
2021-05-09T22:48:31.3586171Z E          [ 0.72949 , -0.441569,  0.480525],
2021-05-09T22:48:31.3587046Z E          [ 1.45898 , -0.883139,  0.951535],...
2021-05-09T22:48:31.3587995Z         direc      = array([[ 1.00000000e+00,  0.00000000e+00,  0.00000000e+00],
2021-05-09T22:48:31.3588801Z        [ 0.00000000e+00,  0.00000000e+00,  1.00000000e+00],
2021-05-09T22:48:31.3589763Z        [ 8.25698323e-05, -1.92910237e-03,  2.73077404e-04]])
2021-05-09T22:48:31.3590539Z         fopt       = 1.5591321672741119
2021-05-09T22:48:31.3591206Z         func_calls = 125
2021-05-09T22:48:31.3591826Z         numiter    = 3
2021-05-09T22:48:31.3593047Z         opts       = {'disp': True, 'maxiter': 1000, 'return_all': False}
2021-05-09T22:48:31.3594070Z         params     = array([ 3.60437847, -0.52486935,  0.48752774])
2021-05-09T22:48:31.3594874Z         res        =    direc: array([[ 1.00000000e+00,  0.00000000e+00,  0.00000000e+00],
2021-05-09T22:48:31.3595863Z        [ 0.00000000e+00,  0.00000000e+00,  1.000...ssfully.'
2021-05-09T22:48:31.3597491Z     nfev: 125
2021-05-09T22:48:31.3599962Z      nit: 3
2021-05-09T22:48:31.3600602Z   status: 0
2021-05-09T22:48:31.3601157Z  success: True
2021-05-09T22:48:31.3602100Z        x: array([ 3.60437847, -0.52486935,  0.48752774])
2021-05-09T22:48:31.3602911Z         self       = <scipy.optimize.tests.test_optimize.TestOptimizeWrapperDisp object at 0x7efe830ff760>
2021-05-09T22:48:31.3603660Z         warnflag   = 0
2021-05-09T22:48:31.3604641Z ----------------------------- Captured stdout call -----------------------------
2021-05-09T22:48:31.3605379Z Optimization terminated successfully.
2021-05-09T22:48:31.3606254Z          Current function value: 1.559132
2021-05-09T22:48:31.3606952Z          Iterations: 3
2021-05-09T22:48:31.3607659Z          Function evaluations: 125
2021-05-09T22:48:31.4309047Z ____________________ TestOptimizeWrapperNoDisp.test_powell _____________________
2021-05-09T22:48:31.4311583Z [gw0] linux -- Python 3.8.9 /opt/hostedtoolcache/Python/3.8.9/x64/bin/python
2021-05-09T22:48:31.4312758Z scipy/optimize/tests/test_optimize.py:227: in test_powell
2021-05-09T22:48:31.4313752Z     assert_allclose(self.trace[34:39],
2021-05-09T22:48:31.4314586Z E   AssertionError:
2021-05-09T22:48:31.4315835Z E   Not equal to tolerance rtol=1e-07, atol=1e-14
2021-05-09T22:48:31.4316663Z E
2021-05-09T22:48:31.4317417Z E   Mismatched elements: 10 / 15 (66.7%)
2021-05-09T22:48:31.4318326Z E   Max absolute difference: 1.88854381
2021-05-09T22:48:31.4319231Z E   Max relative difference: 2.58885441
2021-05-09T22:48:31.4320772Z E    x: array([[ 2.618034, -0.883139,  0.951535],
2021-05-09T22:48:31.4322039Z E          [ 1.309017, -0.441569,  0.475767],
2021-05-09T22:48:31.4323492Z E          [ 2.309017, -0.441569,  0.475767],...
2021-05-09T22:48:31.4324794Z E    y: array([[ 0.72949 , -0.441569,  0.47101 ],
2021-05-09T22:48:31.4326109Z E          [ 0.72949 , -0.441569,  0.480525],
2021-05-09T22:48:31.4327386Z E          [ 1.45898 , -0.883139,  0.951535],...
2021-05-09T22:48:31.4328415Z         direc      = array([[ 1.00000000e+00,  0.00000000e+00,  0.00000000e+00],
2021-05-09T22:48:31.4329464Z        [ 0.00000000e+00,  0.00000000e+00,  1.00000000e+00],
2021-05-09T22:48:31.4330799Z        [ 8.25698323e-05, -1.92910237e-03,  2.73077404e-04]])
2021-05-09T22:48:31.4331868Z         fopt       = 1.5591321672741119
2021-05-09T22:48:31.4332971Z         func_calls = 125
2021-05-09T22:48:31.4333714Z         numiter    = 3
2021-05-09T22:48:31.4335234Z         opts       = {'disp': False, 'maxiter': 1000, 'return_all': False}
2021-05-09T22:48:31.4336772Z         params     = array([ 3.60437847, -0.52486935,  0.48752774])
2021-05-09T22:48:31.4337958Z         res        =    direc: array([[ 1.00000000e+00,  0.00000000e+00,  0.00000000e+00],
2021-05-09T22:48:31.4339421Z        [ 0.00000000e+00,  0.00000000e+00,  1.000...ssfully.'
2021-05-09T22:48:31.4340321Z     nfev: 125
2021-05-09T22:48:31.4341029Z      nit: 3
2021-05-09T22:48:31.4342358Z   status: 0
2021-05-09T22:48:31.4346047Z  success: True
2021-05-09T22:48:31.4346828Z        x: array([ 3.60437847, -0.52486935,  0.48752774])
2021-05-09T22:48:31.4347505Z         self       = <scipy.optimize.tests.test_optimize.TestOptimizeWrapperNoDisp object at 0x7efe82a1df40>
2021-05-09T22:48:31.4348078Z         warnflag   = 0
2021-05-09T22:48:31.5091218Z ____________________ TestOptimizeNoWrapperDisp.test_powell _____________________
2021-05-09T22:48:31.5094215Z [gw0] linux -- Python 3.8.9 /opt/hostedtoolcache/Python/3.8.9/x64/bin/python
2021-05-09T22:48:31.5095455Z scipy/optimize/tests/test_optimize.py:227: in test_powell
2021-05-09T22:48:31.5096452Z     assert_allclose(self.trace[34:39],
2021-05-09T22:48:31.5097304Z E   AssertionError:
2021-05-09T22:48:31.5098627Z E   Not equal to tolerance rtol=1e-07, atol=1e-14
2021-05-09T22:48:31.5099457Z E
2021-05-09T22:48:31.5100222Z E   Mismatched elements: 10 / 15 (66.7%)
2021-05-09T22:48:31.5101139Z E   Max absolute difference: 1.88854381
2021-05-09T22:48:31.5102030Z E   Max relative difference: 2.58885441
2021-05-09T22:48:31.5103318Z E    x: array([[ 2.618034, -0.883139,  0.951535],
2021-05-09T22:48:31.5104603Z E          [ 1.309017, -0.441569,  0.475767],
2021-05-09T22:48:31.5105895Z E          [ 2.309017, -0.441569,  0.475767],...
2021-05-09T22:48:31.5107174Z E    y: array([[ 0.72949 , -0.441569,  0.47101 ],
2021-05-09T22:48:31.5108472Z E          [ 0.72949 , -0.441569,  0.480525],
2021-05-09T22:48:31.5109752Z E          [ 1.45898 , -0.883139,  0.951535],...
2021-05-09T22:48:31.5110859Z         direc      = array([[ 1.00000000e+00,  0.00000000e+00,  0.00000000e+00],
2021-05-09T22:48:31.5111953Z        [ 0.00000000e+00,  0.00000000e+00,  1.00000000e+00],
2021-05-09T22:48:31.5113310Z        [ 8.25698323e-05, -1.92910237e-03,  2.73077404e-04]])
2021-05-09T22:48:31.5114276Z         fopt       = 1.5591321672741119
2021-05-09T22:48:31.5115063Z         func_calls = 125
2021-05-09T22:48:31.5115831Z         numiter    = 3
2021-05-09T22:48:31.5117239Z         params     = array([ 3.60437847, -0.52486935,  0.48752774])
2021-05-09T22:48:31.5119290Z         retval     = (array([ 3.60437847, -0.52486935,  0.48752774]), 1.5591321672741119, array([[ 1.00000000e+00,  0.00000000e+00,  0.0000...000000e+00,  0.00000000e+00,  1.00000000e+00],
2021-05-09T22:48:31.5121168Z        [ 8.25698323e-05, -1.92910237e-03,  2.73077404e-04]]), 3, 125, 0)
2021-05-09T22:48:31.5122384Z         self       = <scipy.optimize.tests.test_optimize.TestOptimizeNoWrapperDisp object at 0x7efe82d0fa60>
2021-05-09T22:48:31.5123403Z         warnflag   = 0
2021-05-09T22:48:31.5125092Z ----------------------------- Captured stdout call -----------------------------
2021-05-09T22:48:31.5126112Z Optimization terminated successfully.
2021-05-09T22:48:31.5127210Z          Current function value: 1.559132
2021-05-09T22:48:31.5128064Z          Iterations: 3
2021-05-09T22:48:31.5128939Z          Function evaluations: 125
2021-05-09T22:48:31.5865917Z ___________________ TestOptimizeNoWrapperNoDisp.test_powell ____________________
2021-05-09T22:48:31.5868607Z [gw0] linux -- Python 3.8.9 /opt/hostedtoolcache/Python/3.8.9/x64/bin/python
2021-05-09T22:48:31.5869869Z scipy/optimize/tests/test_optimize.py:227: in test_powell
2021-05-09T22:48:31.5870670Z     assert_allclose(self.trace[34:39],
2021-05-09T22:48:31.5871384Z E   AssertionError:
2021-05-09T22:48:31.5872399Z E   Not equal to tolerance rtol=1e-07, atol=1e-14
2021-05-09T22:48:31.5873059Z E
2021-05-09T22:48:31.5875584Z E   Mismatched elements: 10 / 15 (66.7%)
2021-05-09T22:48:31.5876648Z E   Max absolute difference: 1.88854381
2021-05-09T22:48:31.5877604Z E   Max relative difference: 2.58885441
2021-05-09T22:48:31.5879287Z E    x: array([[ 2.618034, -0.883139,  0.951535],
2021-05-09T22:48:31.5880720Z E          [ 1.309017, -0.441569,  0.475767],
2021-05-09T22:48:31.5882054Z E          [ 2.309017, -0.441569,  0.475767],...
2021-05-09T22:48:31.5883374Z E    y: array([[ 0.72949 , -0.441569,  0.47101 ],
2021-05-09T22:48:31.5884669Z E          [ 0.72949 , -0.441569,  0.480525],
2021-05-09T22:48:31.5885928Z E          [ 1.45898 , -0.883139,  0.951535],...
2021-05-09T22:48:31.5886975Z         direc      = array([[ 1.00000000e+00,  0.00000000e+00,  0.00000000e+00],
2021-05-09T22:48:31.5888010Z        [ 0.00000000e+00,  0.00000000e+00,  1.00000000e+00],
2021-05-09T22:48:31.5889367Z        [ 8.25698323e-05, -1.92910237e-03,  2.73077404e-04]])
2021-05-09T22:48:31.5890311Z         fopt       = 1.5591321672741119
2021-05-09T22:48:31.5891091Z         func_calls = 125
2021-05-09T22:48:31.5892185Z         numiter    = 3
2021-05-09T22:48:31.5899833Z         params     = array([ 3.60437847, -0.52486935,  0.48752774])
2021-05-09T22:48:31.5901826Z         retval     = (array([ 3.60437847, -0.52486935,  0.48752774]), 1.5591321672741119, array([[ 1.00000000e+00,  0.00000000e+00,  0.0000...000000e+00,  0.00000000e+00,  1.00000000e+00],
2021-05-09T22:48:31.5903514Z        [ 8.25698323e-05, -1.92910237e-03,  2.73077404e-04]]), 3, 125, 0)
2021-05-09T22:48:31.5904580Z         self       = <scipy.optimize.tests.test_optimize.TestOptimizeNoWrapperNoDisp object at 0x7efe82d14700>
2021-05-09T22:48:31.5905463Z         warnflag   = 0
2021-05-09T22:48:31.8269840Z ============================= slowest 10 durations =============================
2021-05-09T22:48:31.8285501Z 38.85s call     build/testenv/lib/python3.8/site-packages/scipy/stats/tests/test_continuous_basic.py::test_moments[ksone-arg57-True-True-False]
2021-05-09T22:48:31.8287744Z 33.06s call     build/testenv/lib/python3.8/site-packages/scipy/stats/tests/test_stats.py::TestMGCStat::test_twosamp
2021-05-09T22:48:31.8289595Z 32.74s call     build/testenv/lib/python3.8/site-packages/scipy/stats/tests/test_fit.py::test_cont_fit[MLE-genhyperbolic-arg32]
2021-05-09T22:48:31.8300484Z 21.67s call     build/testenv/lib/python3.8/site-packages/scipy/stats/tests/test_distributions.py::TestLevyStable::test_pdf_nolan_samples
2021-05-09T22:48:31.8302470Z 18.61s call     build/testenv/lib/python3.8/site-packages/scipy/stats/tests/test_continuous_basic.py::test_cont_basic[500-200-ksone-arg57]
2021-05-09T22:48:31.8304387Z 18.27s call     build/testenv/lib/python3.8/site-packages/scipy/stats/tests/test_continuous_basic.py::test_cont_basic[500-200-kstwo-arg58]
2021-05-09T22:48:31.8306355Z 15.12s call     build/testenv/lib/python3.8/site-packages/scipy/stats/tests/test_continuous_basic.py::test_moments[vonmises-arg101-False-False-False]
2021-05-09T22:48:31.8308328Z 14.35s call     build/testenv/lib/python3.8/site-packages/scipy/sparse/linalg/dsolve/tests/test_linsolve.py::TestSpsolveTriangular::test_random
2021-05-09T22:48:31.8310088Z 13.90s call     build/testenv/lib/python3.8/site-packages/scipy/stats/tests/test_mstats_basic.py::TestCorr::test_kendall_p_exact_large
2021-05-09T22:48:31.8311361Z 13.55s call     build/testenv/lib/python3.8/site-packages/scipy/stats/tests/test_continuous_basic.py::test_moments[kstwo-arg58-True-True-False]
2021-05-09T22:48:31.8353547Z =========================== short test summary info ============================
2021-05-09T22:48:31.8354565Z FAILED scipy/optimize/tests/test_optimize.py::TestOptimizeWrapperDisp::test_powell
2021-05-09T22:48:31.8355301Z FAILED scipy/optimize/tests/test_optimize.py::TestOptimizeWrapperNoDisp::test_powell
2021-05-09T22:48:31.8355999Z FAILED scipy/optimize/tests/test_optimize.py::TestOptimizeNoWrapperDisp::test_powell
2021-05-09T22:48:31.8356705Z FAILED scipy/optimize/tests/test_optimize.py::TestOptimizeNoWrapperNoDisp::test_powell
2021-05-09T22:48:31.8357452Z XPASS scipy/linalg/tests/test_matfuncs.py::TestFractionalMatrixPower::test_singular Too unstable across LAPACKs.
2021-05-09T22:48:31.8358238Z XPASS scipy/interpolate/tests/test_gil.py::TestGIL::test_rectbivariatespline race conditions, may depend on system load
2021-05-09T22:48:31.8358970Z XPASS scipy/ndimage/tests/test_datatypes.py::test_uint64_max runs only on darwin
2021-05-09T22:48:31.8360206Z XPASS scipy/optimize/tests/test_linprog.py::TestLinprogIPSparse::test_bug_6690 Fails with ATLAS, see gh-7877
2021-05-09T22:48:31.8361280Z XPASS scipy/optimize/tests/test_linprog.py::TestLinprogIPSparsePresolve::test_bug_6690 Fails with ATLAS, see gh-7877
2021-05-09T22:48:31.8362492Z XPASS scipy/optimize/tests/test_minimize_constrained.py::TestBoundedNelderMead::test_outside_bounds_warning Failing on Azure Linux and macOS builds, see gh-13846
2021-05-09T22:48:31.8363362Z XPASS scipy/special/tests/test_basic.py::TestCephes::test_fdtri_mysterious_failure Returns nan on i686.
2021-05-09T22:48:31.8376734Z = 4 failed, 42871 passed, 2094 skipped, 204 xfailed, 7 xpassed in 637.14s (0:10:37) =
2021-05-09T22:48:32.8475966Z *** Looks like some tests failed.

The test that is failing looks pretty strict. It seems to be checking that a portion of the sequence of vectors passed to the objective function hasn't changed since SciPy 0.7.0. Regarding evaluation count, the test admits in a comment that

some leeway must be added: the exact evaluation count is sensitive to numerical error, and floating-point computations are not bit-for-bit reproducible across machines, and when using e.g., MKL, data alignment etc., affect the rounding error.

I'm not sure why early iterations wouldn't diverge due to small perturbations.
Also, while the test checks that the optimal value of the objective function matches the optimal value of the objective function from SciPy 0.7.0, it doesn't seem to check that the solution vector matches that from SciPy 0.7.0. On my machine, the test as-written passes, but the solution vector does not match that from SciPy 0.7.0:
..\..\scipy\optimize\tests\test_optimize.py:213: in test_powell
    assert_allclose(params, self.solution)
E   AssertionError:
E   Not equal to tolerance rtol=1e-07, atol=0
E
E   Mismatched elements: 3 / 3 (100%)
E   Max absolute difference: 3.87562941
E   Max relative difference: 3.8591869e-06
E    x: array([ 3.875629, -0.524869,  0.487528])
E    y: array([ 0.      , -0.524869,  0.487526])

If the solution vector doesn't match, clearly the sequence of iterations diverges at some point. On the CI runs that fail, it apparently diverges earlier than it does on my machine.
I think it is safe enough to xfail the test for now to get CI green, and someone can take a closer look at their leisure; see gh-14026.

@mdhaber if you're confident that there is no bug and the method is still working, fine with me. We should still have a way to keep track of things like these (some flag or a meta-issue maybe). Otherwise I am afraid nobody will ever take another look.

3.87562941 instead of 0.0 isn't a small difference though - is that a second valid solution, or is it just way off?

Looks like a second valid solution. Seems to give the same value of the objective function, because that test passes.

Test now xfail-ed in master, giving it a 1.7.0 milestone so we don't wait too long with looking into this more.

I guess I'll leave the milestone, maybe this will get checked during rc phase...

I don't plan on looking into it deeper, personally. It seems plausible that a change in arithmetic somewhere lead to a change in the trajectory toward one of many optimal solutions. It might be that this change exposed a bug that has been in Powell for a long time and doesn't manifest in a more obvious way, but the first argument seems more plausible to me. So I think there are many other issues that I would work on first.

Test now xfail-ed in master, giving it a 1.7.0 milestone so we don't wait too long with looking into this more.

Same, but now with a bumped milestone...

We've bumped the milestone quite a bit on this one, maybe we should remove the milestone at this point.


Add OSGi tests to verify TestNG is works in OSGi environment

Sample pax-exam tests: https://github.com/pgjdbc/pgjdbc/pull/507

Just for the reference, the manifest has been broken since 7.1.1 (Import-Package attribute has double quoting): https://github.com/cbeust/testng/commit/424f59b3a2744bb2e5cc96df941006cd5586d9bd#diff-c0dfa6bc7a8685217f70a860145fbdf416d449eaff052fa28352c5cec1a98c06R89-R91
I have no idea if fixing the quotes makes testng workable, so it is better to add a test than guess.