The CxenseSdk.getInstance() function throws exception when used with version 2.6.0

It seems that the function getInstance() of the SDK has the annotation "unused" and when we use it, we receive an exception with the following message :
java.lang.IllegalStateException: The Cxense SDK is not initialized! Make sure to call AppInitializer.getInstance(context).initializeComponent(CxSdkInitializer::class.java) before calling other methods.
The start of the stack trace :
at io.piano.android.cxense.DependenciesProvider$Companion.getInstance(DependenciesProvider.kt:182)  at io.piano.android.cxense.CxenseSdk$Companion.getInstance(CxenseSdk.kt:478) ...
Example of using:

CxenseSdk.getInstance().configuration
CxenseSdk.getInstance().getUserSegments(...)
PageViewEvent.Builder(...)
...

I did not find in the documentation a solution or an equivalent for CxenseSdk.getInstance()
Could you please tell me what is wrong ?
Thanks in advance.

Hi @wizard112,
SDK uses AndroidX Startup library for initialization and looks like you've disabled it. Check that your app's merged manifest contains <provider android:name="androidx.startup.InitializationProvider" ...><meta-data android:name="io.piano.android.cxense.CxSdkInitializer" .../>
If you've disabled auto-initialization, call AppInitializer.getInstance(context).initializeComponent(CxSdkInitializer::class.java) as described in documentation

Hi @DeKaN,
Thank you for the precision.
So I need to use AppInitializer.getInstance(context).initializeComponent(CxSdkInitializer::class.java) but your class CxSdkInitializer and DependenciesProvider are internal, if I want to create my own Initializer I need the function init of Cxense SDK but I don't know how initialize the Cxense SDK because the classes are internal
Is there any another solution ?

Hi @wizard112,
The best solution is "don't remove androidx.startup.InitializationProvider provider from app's manifest". But I'll make CxSdkInitializer public in the next release.

Hi @wizard112,
it will be available before Friday

Hi @DeKaN ,
Okay, thank you.
We will use this new release.

Hi @DeKaN,
Super ! We will upgrade the SDK.

it works, thank you


[Pipeline] add azure-batch-cli-extension in blocklist to avoid command tree generate failure

azure-batch-cli-extension is not compatible with the latest batch SDK

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

Creates an issue in azure-batch-cli-extension repo https://github.com/Azure/azure-batch-cli-extensions/issues/134


Floating IPs

@ejj

Current coverage is 53.59% (diff: 55.20%)

Merging #690 into master will decrease coverage by 0.09%

@@             master       #690   diff @@
==========================================
  Files            82         82
  Lines          7133       7387   +254
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           3830       3959   +129
- Misses         2992       3084    +92
- Partials        311        344    +33

Powered by Codecov. Last update 43308ff...1dc021b

Btw, I think there's a lot of low hanging code coverage fruit, notably in google.go

So one fairly high level comment.  Something feels slightly wonky about the API, but I can't quite put my finger on it.  I think it might be better if you combined the Assign and Remove functions into a single UpdateFloatingIPs function.  For each machine, if the floating IP was "" the function would remove the floating IP, and if it was not "" it would assign it.  The awkward thing about this is you're moving the join into the cloud provider which doesn't seem ideal.
Another option -- Have a function AssignFloatingIP(m machine.Machine, ip string) and it's remove analog that does the assignment for a single machine and explicitly takes the IP that you intend to assign.  At least that way it's not buried implicitly in the machine.Machine.
What do you think?  Something about the API feels off to me, but I'm not quite sure what it is.

@ejj I like a separate add/remove. Does the following sound good to you?

AssignFloatingIP(machine.Machine, ip string)
RemoveFloatingIP(machine.Machine)

I'm also open to changing machine.Machine -> id string for both functions since the provider should be able to work off of that. The reason I don't really like combining add/remove is I think it's awkward since there are lots of states of machine.Machine (e.g. the DB has no floating IP for machine X which we pass to the "update" function-- intent is not clear).

@ejj I think splitting machine and ip into separate arguments in AssignFloatingIP(m machine.Machine, ip string) is weird because the cluster would have already updated the FloatingIP of the machine before the method is called. That's why I chose to combine them. Do you still think it's nicer that way? What are your concerns with the current methods?

After some refactoring, I decided to go with UpdateFloatingIPs([]machine.Machine). I started with the other approach but found the code less intuitive, mainly because

separating assign & remove in cluster introduces more ordering concerns that the cluster alone doesn't have enough context about... for example, user requests IP to be updated from X -> Y, do we assign or remove first? ...or do we just assign? only the provider knows
UpdateFloatingIPs([]machine.Machine) signature is more similar to other provider methods

@ejj I have finished incorporating your feedback and will rebase and add tests for (GCE, Floating IPs) once https://github.com/NetSys/quilt/pull/706 is reviewed, revised, and merged to master.

@ejj Rebased.

I'm happy with this overall.  Just the one big question about the amazon spec

I think it should be ready to go now :D

@ejj Have you reviewed this since https://github.com/NetSys/quilt/pull/690#issuecomment-273687896? is it ready to merge?

@tejas, yes it's ready.  Just needs to be rebased (the unit tests fail)

pushed a small fix for GCE after rebasing
$ git diff
diff --git a/cluster/google/google.go b/cluster/google/google.go
index c9848def..27daf782 100644
--- a/cluster/google/google.go
+++ b/cluster/google/google.go
@@ -40,6 +40,12 @@ import (
 // region preference.
 const DefaultRegion = "us-east1-b"

+// ephemeralIPName is a constant for what we label NATs with ephemeral IPs in GCE.
+const ephemeralIPName = "External NAT"
+
+// floatingIPName is a constant for what we label NATs with floating IPs in GCE.
+const floatingIPName = "Floating IP"
+
 const computeBaseURL string = "https://www.googleapis.com/compute/v1/projects"
 const (
        // These are the various types of Operations that the GCE API returns
@@ -114,16 +120,21 @@ func (clst *Cluster) List() ([]machine.Machine, error) {
                        // XXX: This make some iffy assumptions about NetworkInterfaces
                        machineSplitURL := strings.Split(item.MachineType, "/")
                        mtype := machineSplitURL[len(machineSplitURL)-1]
+
+                       accessConfig := item.NetworkInterfaces[0].AccessConfigs[0]
+                       floatingIP := ""
+                       if accessConfig.Name == floatingIPName {
+                               floatingIP = accessConfig.NatIP
pick 6a687587 cluster: Add floating IP machine rule
+                       }
+
                        mList = append(mList, machine.Machine{
-                               ID: item.Name,
-                               PublicIP: item.NetworkInterfaces[0].
-                                       AccessConfigs[0].NatIP,
-                               FloatingIP: item.NetworkInterfaces[0].
-                                       AccessConfigs[0].NatIP,
-                               PrivateIP: item.NetworkInterfaces[0].NetworkIP,
-                               Size:      mtype,
-                               Region:    zone,
-                               Provider:  db.Google,
+                               ID:         item.Name,
+                               PublicIP:   accessConfig.NatIP,
+                               FloatingIP: floatingIP,
+                               PrivateIP:  item.NetworkInterfaces[0].NetworkIP,
+                               Size:       mtype,
+                               Region:     zone,
+                               Provider:   db.Google,
                        })
                }
        }
@@ -293,7 +304,7 @@ func (clst *Cluster) instanceNew(name string, size string, zone string,
                                AccessConfigs: []*compute.AccessConfig{
                                        {
                                                Type: "ONE_TO_ONE_NAT",
-                                               Name: "External NAT",
+                                               Name: ephemeralIPName,
                                        },
                                },
                                Network: fmt.Sprintf("%s/global/networks/%s",
@@ -441,7 +452,7 @@ func (clst *Cluster) UpdateFloatingIPs(machines []machine.Machine) error {
                _, err = service.Instances.AddAccessConfig(clst.projID, m.Region, m.ID,
                        networkInterface.Name, &compute.AccessConfig{
                                Type: "ONE_TO_ONE_NAT",
-                               Name: "External NAT",
+                               Name: floatingIPName,
                                // Google will automatically assign a dynamic IP
                                // if none is provided (i.e. m.FloatingIP == "").
                                NatIP: m.FloatingIP,

alright, i think it's ready :D https://github.com/NetSys/quilt/pull/690#issuecomment-275720398

my bad @kklin pr'd #734


⚠ Bofrost.es has degraded performance

In 18b2e88, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1713 ms

Resolved: Bofrost.es performance has improved in 1cc9933 after 3 hours, 10 minutes.


Faster array-unique implementation

Using the array-unique package to find unique file names seemed rather slow. I think it has to do with the expensive Array.prototype.splice calls.
Using an ES6 trick with Array.from(new Set(array)) I'm able to decrease that time quite a bit.
Running a test on an npm project (zeit/front), which has 411 file names in the unique array, is a lot faster (I'm able to reproduce this consistently):
> [debug] testing array-unique on files: 2.578ms
> [debug] testing Array from Set implementation on files: 0.555ms

As an added benefit, one less dependency :)

Interestingly, I added the set implementation as a fixture to array-unique's benchmark suite, and it had a different story to tell:
array-unique   (master ⚡☡=)  yarn run benchmark
yarn run v1.2.1
$ node benchmark/index.js
Benchmarking: (3 of 3)
 · long
 · med
 · short

# benchmark/fixtures/long.js (76 bytes)
  array-unique-immutable:
  array-unique x 773 ops/sec ±9.08% (77 runs sampled)
  filter x 14.14 ops/sec ±1.61% (35 runs sampled)
  for-in x 449 ops/sec ±0.83% (86 runs sampled)
  linear-search-01 x 4.17 ops/sec ±3.06% (14 runs sampled)
  set x 594 ops/sec ±1.25% (82 runs sampled)
  while-hash x 516 ops/sec ±1.58% (82 runs sampled)
  while x 18.49 ops/sec ±1.14% (46 runs sampled)

  fastest is array-unique

# benchmark/fixtures/med.js (74 bytes)
  array-unique-immutable:
  array-unique x 21,383 ops/sec ±1.60% (85 runs sampled)
  filter x 10,088 ops/sec ±1.19% (85 runs sampled)
  for-in x 9,370 ops/sec ±0.83% (89 runs sampled)
  linear-search-01 x 2,796 ops/sec ±0.86% (87 runs sampled)
  set x 12,247 ops/sec ±0.84% (86 runs sampled)
  while-hash x 12,187 ops/sec ±1.43% (84 runs sampled)
  while x 17,535 ops/sec ±0.81% (86 runs sampled)

  fastest is array-unique

# benchmark/fixtures/short.js (73 bytes)
  array-unique-immutable:
  array-unique x 1,159,738 ops/sec ±1.26% (90 runs sampled)
  filter x 1,336,787 ops/sec ±0.61% (87 runs sampled)
  for-in x 346,310 ops/sec ±1.12% (90 runs sampled)
  linear-search-01 x 5,389,841 ops/sec ±0.67% (92 runs sampled)
  set x 628,843 ops/sec ±1.17% (84 runs sampled)
  while-hash x 371,995 ops/sec ±1.85% (85 runs sampled)
  while x 5,064,443 ops/sec ±0.85% (85 runs sampled)

  fastest is linear-search-01
✨  Done in 117.17s.

TL;DR forIn >> array-unique and forIn > Set
From the previous tests, I figured for-in might be a better way to go w.r.t string. I did more tests, specifically using real filenames as the input set. I also ran tests with no duplicates, every element having a duplicate (the same array concat'd twice) and shuffling the duplicated list (probably the worst scenario).
my forIn implementation won (seems like a pretty straightforward coding interview question haha). I think this actually amkes sense given that we're caching everything in an object, and since we're dealing with objects instead of arrays/numbers as keys, JS doesn't have to do any extra work in serializing keys. For strings, in general, forIn seems to be the best.
If you're curious:
array-unique x 73,779 ops/sec ±2.49% (81 runs sampled)
set x 51,384 ops/sec ±2.94% (81 runs sampled)
for in x 99,179 ops/sec ±3.07% (81 runs sampled)
better for in x 121,670 ops/sec ±2.62% (81 runs sampled)

Fastest is better for in

array-unique duplicated x 65,785 ops/sec ±2.40% (78 runs sampled)
set duplicated x 55,063 ops/sec ±2.13% (86 runs sampled)
for in duplicated x 109,488 ops/sec ±0.97% (88 runs sampled)
better for in duplicated x 127,666 ops/sec ±1.96% (88 runs sampled)

Fastest is better for in duplicated

array-unique shuffled x 72,387 ops/sec ±1.45% (86 runs sampled)
set shuffled x 54,278 ops/sec ±2.59% (83 runs sampled)
for in shuffled x 98,850 ops/sec ±2.79% (83 runs sampled)
better for in shuffled x 126,678 ops/sec ±2.31% (86 runs sampled)

Fastest is better for in shuffled

A test from now-cli on zeit/front:
...
> [debug] locating files /Users/pranaygp/github/front: 15.909ms
set implementation: 0.894ms
for in implementation: 0.614ms
> [debug] Getting files: 25.051ms
> [debug] Need to compute hashes for 441 files
...

Ready to Ship! :)

Thanks a lot! 😍


Python: Feature python integration tests

Motivation and Context
This PR is intended to add stability to the python integration tests.
Description

add specific version of setup tools to the build-system requirements
downgrade torch from 2.0.1 -> 2.0.0 (again) as 2.0.1 has an ubuntu regression around cuda dependencies.

See Actions runs:

https://github.com/microsoft/semantic-kernel/actions/runs/5294711366
https://github.com/microsoft/semantic-kernel/actions/runs/5467333776

Contribution Checklist

[ ] The code builds clean without any errors or warnings
[ ] The PR follows SK Contribution Guidelines (https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
[ ] The code follows the .NET coding conventions (https://learn.microsoft.com/dotnet/csharp/fundamentals/coding-style/coding-conventions) verified with dotnet format
[ ] All unit tests pass, and I have added new tests where possible
[ ] I didn't break anyone :smile:

@CodiumAI-Agent

Preparing review...

PR Analysis

🎯 Main theme: Improving stability of Python integration tests
🔍 Description and title: Yes
📌 Type of PR: Enhancement
🧪 Relevant tests added: No
✨ Minimal and focused: Yes, the PR is focused on improving the stability of Python integration tests by adjusting the build system requirements and the parallelization of the tests.
🔒 Security concerns: No, the changes in this PR do not introduce any obvious security concerns.

PR Feedback

💡 General PR suggestions: The PR is generally well-structured and focused. However, it would be beneficial to add tests that verify the changes made in this PR. Also, consider adding comments in the code to explain why specific versions of dependencies are required (e.g., setuptools>=67.8.0).

🤖 Code suggestions:

relevant file: python/pyproject.toml
suggestion content: Consider specifying the exact version of 'setuptools' that is known to work with your project, instead of '>=67.8.0'. This can help avoid potential issues with future versions of 'setuptools'. [important]

relevant file: .github/workflows/python-integration-tests.yml
suggestion content: Consider adding a comment explaining why 'max-parallel' was increased from 1 to 3. This will help future contributors understand the reasoning behind this change. [medium]

How to use

Tag me in a comment '@CodiumAI-Agent' to ask for a new review after you update the PR.
You can also tag me and ask any question, for example '@CodiumAI-Agent is the PR ready for merge?'


Add to_iso8601() presto function

Implementing to_iso8601() presto function with three signatures for Date, Timestamp, and TimestampWithTimezone input. Adding test cases to validate functionality.
Created new PR due to issues with squashing and rebasing on the original.
Resolves #4725

@aditi-pandit @majetideepak I've finalized my changes here, including accounting for Date type refactor. However, a concern with DST remains - copying my comment from my original PR:

Though it does not account for DST, which Presto seems to be doing:
presto:default> SELECT to_iso8601(TIMESTAMP '2001-08-22 03:04:05.321 America/Los_Angeles');
_col0
2001-08-22T03:04:05.321-07:00
(1 row)
I don't see this being possible unless we store some additional info, perhaps in the TimeZoneDatabase, to keep track of which timezones use DST, as well as the portions of the year DST would apply to.
Any thoughts?

@mbasmanova would appreciate your input on the situation here, in regard to adding to_iso8601() function to velox:

My implementation does not account for DST, which Presto seems to be doing:

presto:default> SELECT to_iso8601(TIMESTAMP '2001-08-22 03:04:05.321 America/Los_Angeles');
             _col0
 -------------------------------
 2001-08-22T03:04:05.321-07:00
(1 row)

I don't see this being possible unless we store some additional info, perhaps in the TimeZoneDatabase, to keep track of which timezones use DST, as well as the portions of the year DST would apply to.
Any thoughts?

@svm1 Since we need to match Presto's semantic, would you look into Presto's implementation and think about how this can be implemented in Velox?

@mbasmanova As I mentioned, Velox seems to currently be handling timezones with TimeZoneDatabase.cpp - this maps each timezone to a unique ID. There is no knowledge stored beyond this.
I dug around the Presto implementation - it seems to be relying on a series of time-functions from external libraries, like joda.time, as well as some custom Java implementations. Specifically, the ISODateTimeFormat class from joda.time seems to have methods equipped that convert to ISO format while accounting for DST. The timestamp value passed in as a long appears to reserve some bits for the timezone, as a bitwise operation with a mask is used to extract the timezone from the input value. Passing this timezone into joda.time's methods seems to generate an ISO string with a DST-included GMT offset.
I wasn't able to dig deeper into where/how exactly this DST logic is implemented in the library, as I haven't been able to setup a debug build to step through the function's execution and observe how the output is being constructed. Though from what I do see, our structure in Velox is certainly quite different. Looking into if any similar libraries may exist for C++.


Feature/cu kz5921 camera shake on hit

Moved camera code to ComponentCamera.
Established parametrized camera shake whenever player gets hit

Task linked: CU-kz5921 OnHit player camera shake


AKS default to SLB and VMSS

This checklist is used to make sure that common guidelines for a pull request are followed.

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

[x] I adhere to the Command Guidelines.

for milestone 76.


add a helper method that generates files from an s3 bucket or s3 uri that returns a generator of Documents like

creating a storage backend based on S3 does not make much sense because it's not a vector database (therefore no ANN support or so).
However, we can add a helper method that generates files from an s3 bucket or s3 uri that returns a generator of Documents like: https://docarray.jina.ai/api/docarray.document.generators/?highlight=from_files#docarray.document.generators.from_files
Later you can index these docs in a proper storage backend in docarray
Originally posted by @alaeddine-13 in https://github.com/jina-ai/docarray/issues/377#issuecomment-1150801340

To be handled in docarray v2


Time varying ability matrix

This PR allows one to use an ability/labor productivity matrix that varies over time.  Changing the shape of the e parameter object from SxJ to TxSxJ.

Codecov Report
Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (d8a0fa4) 80.28% compared to head (83770e7) 80.25%.

Additional details and impacted files

@@            Coverage Diff             @@
##           master     #895      +/-   ##
==========================================
- Coverage   80.28%   80.25%   -0.04%
==========================================
  Files          18       18
  Lines        4144     4173      +29
==========================================
+ Hits         3327     3349      +22
- Misses        817      824       +7

Flag
Coverage Δ

unittests
80.25% <79.06%> (-0.04%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

ogcore/SS.py
87.67% <100.00%> (+0.08%)
:arrow_up:

ogcore/TPI.py
93.02% <100.00%> (-0.02%)
:arrow_down:

ogcore/aggregates.py
100.00% <100.00%> (ø)

ogcore/parameters.py
84.14% <100.00%> (+0.29%)
:arrow_up:

ogcore/tax.py
99.45% <100.00%> (ø)

ogcore/utils.py
87.84% <100.00%> (-0.04%)
:arrow_down:

ogcore/parameter_plots.py
80.86% <75.00%> (+0.15%)
:arrow_up:

ogcore/household.py
92.72% <69.56%> (-2.76%)
:arrow_down:

@jdebacker. I deleted my ogcore-dev conda environment and reinstalled it in my clone of your branch. When I ran run_ogcore_example.py and got the following error:
(ogcore-dev) richardevans@Richards-MacBook-Pro-2 run_examples % python run_ogcore_example.py
Number of workers =  7
Traceback (most recent call last):
  File "/Users/richardevans/Docs/Economics/OSE/OG-Core/run_examples/run_ogcore_example.py", line 138, in <module>
    main()
  File "/Users/richardevans/Docs/Economics/OSE/OG-Core/run_examples/run_ogcore_example.py", line 77, in main
    p.e = np.tile(p.e.reshape(1, p.S, p.J), (p.T, 1, 1))
                  ^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: cannot reshape array of size 224000 into shape (1,80,7)

@rickecon Noted about the example.  That was for some testing and should be taken out.  Will update.

All test we expect to pass on Python 3.11 pass locally.  The three failures are the txfunc.py functions whose results vary with the version on Python/SciPy used:
=========================== short test summary info ============================
FAILED tests/test_txfunc.py::test_txfunc_est[DEP] - assert False
FAILED tests/test_txfunc.py::test_tax_func_loop - assert False
FAILED tests/test_txfunc.py::test_tax_func_estimate - assert False
========= 3 failed, 496 passed, 16819 warnings in 32781.69s (9:06:21) ==========

I was also able to run the run_ogcore_example.py script all the way through without issue.
I believe this PR is ready to merge.

LGTM. Thanks, @jdebacker.


Get value that two or more objects Firebase Angular 5

I have one object users that I would like get the values another objects
I need to import its operators ?

import { Observable } from 'rxjs';
import 'rxjs/add/operator/map';

this.db.list('/users/lawyers/' + '-LCEhWVdcmj_Z4VQQo6q').valueChanges().subscribe( result => {
  this.specialties = result;
  this.finalData = this.specialties.map(function(specialty) {
    console.log(specialty)
    return this.db.object('specialties' + `${key.key}`)
  })
})

but to show this error
TypeError: Cannot read property 'db' of undefined
and more if is possible I would like to get the third object

Please ask questions like this on stackoverflow.


Create puppet-abstration-hiera.md

Moving this over from standards.  Made some edits to clean it up, but it needs more work.

Is this new or based on something from cs-standards?

@trlinkin This is a copy of the standard from https://github.com/puppetlabs/cs-standards/blob/master/standards/puppet-abstration-hiera.md.


Tests fail sometimes in CI - race condition between output filenames?

I'm not sure I understand the concurrency model for the tests, but the output filenames used (for CSV/JSON etc) are pretty static, so may overlap when the whole set of tests are running, causing failures.

eg failure https://github.com/Innablr/revolver/actions/runs/8056797041/job/22006621638?pr=209
  337 passing (338ms)
  1 failing

  1) Validate ObjectLog
       Check ObjectLogCsv:

      AssertionError: expected +0 to equal 3
      + expected - actual

      -0
      +3

      at Context.<anonymous> (test/lib/auditLog.spec.ts:58:65)

Works on my local


Author name in commits for auditing

As an operator I'd like the commit to come from the author who initiated the build/release rather than from an automated account
Describe the solution you'd like: Would be nice to see the commit being linked to the actual github user who commited a change, but since this requires personal access tokens, at least having their name instead of automated account may be sufficient for now
Additional context: While demoing the gitops workflow at the dashboard design meeting we got feedback for this feature on being asked why we use the term "Automated Account" and not the name of the user account. The more GitOps way to go about it is to have actual author information included in the commits.

Opened issue with vsts as their build variables aren't providing the author name we need in order to accomplish this.

@samiyaakhtar is this still an issue?

@andrebriggs no, this has been resolved. Closing


How to set 'platform' and 'platform_version' for centos?

Hello,
How do you set platform and platform_version for CentOS or RHEL machines?
I have attempted to set ChefSpec::ServerRunner.new(platform: 'centos', version: '7.3.1611') according to ohai platform and ohai platform_version however, this returns the error Fauxhai::Exception::InvalidPlatform: Could not find platform 'centos/7.3.1611' in any of the sources!.  I have also tried a number of iterations of version: '7', '7.*', ' 7*', '7.3', '7.3*' and platform: 'centos', 'CentOS', 'RHEL' 'rhel')  I've also tried wrapping the version in an array, platform: ['centos'], version: ['7.3.1611'] to no avail.  It seems all of the examples in this repo set Ubuntu.
At this point, I'm stumped.  What am I doing wrong?
Thanks!
[maraaaa@chef test]$ ohai platform_version
[
  "7.3.1611"
]
[maraaaa@chef test]$ ohai platform
[
  "centos"
]

##########################
# Create cookbook

[maraaaa@chef ~]$ chef generate cookbook test
Generating cookbook test
 - Ensuring correct cookbook file content
- Committing cookbook files to git
- Ensuring delivery configuration
- Ensuring correct delivery build cookbook content
- Adding delivery configuration to feature branch
- Adding build cookbook to feature branch
- Merging delivery content feature branch to master

Your cookbook is ready. Type `cd test` to enter it.

There are several commands you can run to get started locally developing and testing your cookbook.
Type `delivery local --help` to see a full list.

Why not start by writing a test? Tests for the default recipe are stored at:

test/smoke/default/default_test.rb

If you'd prefer to dive right in, the default recipe can be found at:

recipes/default.rb

[maraaaa@chef ~]$  cd test/
[maraaaa@chef test]$ ls
Berksfile  chefignore  metadata.rb  README.md  recipes  spec  test

##########################
# Run default tests, get warining

[maraaaa@chef test]$ rspec
WARNING: you must specify a platform and platform_version to your ChefSpec Runner and/or Fauxhai constructor, in the future omitting these will become a hard error
.

Finished in 4.01 seconds (files took 3.33 seconds to load)
1 example, 0 failures

##########################
# Attempt to set versiom, but get Invalid platform

[maraaaa@chef test]$ perl -pi -e "s/runner = ChefSpec::ServerRunner.new/runner = ChefSpec::ServerRunner.new\(platform: 'centos', version: '7.3.1611'\)/" spec/unit/recipes/default_spec.rb

[maraaaa@chef test]$ cat spec/unit/recipes/default_spec.rb
#
# Cookbook:: test
# Spec:: default
#
# Copyright:: 2017, The Authors, All Rights Reserved.

require 'spec_helper'

describe 'test::default' do
  context 'When all attributes are default, on an unspecified platform' do
    let(:chef_run) do
      runner = ChefSpec::ServerRunner.new(platform: 'centos', version: '7.3.1611')
      runner.converge(described_recipe)
    end

    it 'converges successfully' do
      expect { chef_run }.to_not raise_error
    end
  end
end

[maraaaa@chef test]$ rspec
F

Failures:

  1) test::default When all attributes are default, on an unspecified platform converges successfully
     Failure/Error: expect { chef_run }.to_not raise_error

       expected no Exception, got #<Fauxhai::Exception::InvalidPlatform: Could not find platform 'centos/7.3.1611' in any of the sources!> with backtrace:
         # ./spec/unit/recipes/default_spec.rb:13:in `block (3 levels) in <top (required)>'
         # ./spec/unit/recipes/default_spec.rb:17:in `block (4 levels) in <top (required)>'
         # ./spec/unit/recipes/default_spec.rb:17:in `block (3 levels) in <top (required)>'
     # ./spec/unit/recipes/default_spec.rb:17:in `block (3 levels) in <top (required)>'

Finished in 0.37283 seconds (files took 6.81 seconds to load)
1 example, 1 failure

Failed examples:

rspec ./spec/unit/recipes/default_spec.rb:16 # test::default When all attributes are default, on an unspecified platform converges successfully

#765 seems to be doing effectively the same thing... using SoloRunner instead of ServerRunner (I'm assuming I'll be using search, hence the ServerRunner) and using the fat comma 'platform' => 'centos' instead of the new hash syntax platform: 'centos', but I get the same error using the fat comma, so I think the differences are stylistic only. (OFC: please correct me if I'm wrong!)
But he doesn't seem to be getting the same error...  I AM testing the cookbook on the same platform (different VM) that I'm writing the cookbook.
Also, setting:
runner = ChefSpec::ServerRunner.new(platform: 'ubuntu', version: '16.04')

resolves all errors... even running the rspec tests on a CentOS VM....
Also, setting:
      runner = ChefSpec::ServerRunner.new(platform: 'centos', version: '6.7')

So it seems to just be an issue with setting centos versions for 7.X?  I have to be missing something here...  What am I doing wrong please?
Thanks!

According to the fauxhai repo:
https://github.com/customink/fauxhai/tree/master/lib/fauxhai/platforms/centos
It looks like 7.3.1611 isn't included in the latest release (v3.10.0 at the time of this comment)
I came across this issue because my rspec tests were also blowing up.
ChefSpec::ServerRunner.new(platform: 'centos', version: '7.2.1511') worked for me

Thanks, ch4rms.  That worked for me, too.  Would still think that it would correctly parse "7.2", but this is fine for now.

Should it though? Technically, "7.2" isn't a valid CentOS/RHEL version
number since they switched numbering conventions.
How are older versions managed? Can I set a CentOS v "6.42"?
On Feb 15, 2017 05:50, "sfromm-plm"<EMAIL_ADDRESS>wrote:
Thanks, ch4rms. That worked for me, too. Would still think that it would
correctly parse "7.2", but this is fine for now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sethvargo/chefspec/issues/798#issuecomment-280002417,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQYAKiIgoVHyiHq_agHuuTxSXIO8bx2bks5rcvSKgaJpZM4L3bPR
.

@maraaaa :  I think you're probably right.  Just logged into the box I'm writing this chef stuff for, and redhat-release says 7.2.1511.

@tas50 you can probably close this, its certainly misfiled since it amounts to a request for additional fauxhai platforms in fauxhai


Block sizes are smaller, than it's text content. An example code below. I've tested it on viz-js.com

digraph G {
fontname = "Bitstream Vera Sans"
fontsize = 8
node [
fontname = "Bitstream Vera Sans"
fontsize = 8
shape = "record"
]
edge [
fontname = "Bitstream Vera Sans"
fontsize = 8
]
Animal [
label = "{Animal|+ name : string\l+ age : int\l|+ die() : void\l}"
]
}

Due to https://github.com/mdaines/viz.js/issues/82?

Duplicate of https://github.com/mdaines/viz.js/issues/81?


Output panel encoding

ng serve --host localhost --port 3000 --serve --open

** NG Live Development Server is listening on localhost:3000, open your browser on http://localhost:3000/ **
webpack: wait until bundle finished: /
Date: 2018-03-26T08:40:49.599Z
Hash: 5c832b61970350d91df4
Time: 31511ms
chunk {inline} inline.bundle.js (inline) 3.85 kB [entry] [rendered]
chunk {main} main.bundle.js (main) 871 kB [initial] [rendered]
chunk {polyfills} polyfills.bundle.js (polyfills) 549 kB [initial] [rendered]
chunk {scripts} scripts.bundle.js (scripts) 367 kB [initial] [rendered]
chunk {styles} styles.bundle.js (styles) 2.66 MB [initial] [rendered]
chunk {vendor} vendor.bundle.js (vendor) 27.7 MB [initial] [rendered]

if i run into terminal the encoding is correct

@dmaglio this is caused by a tool not emitting UTF-8 and there is currently no support for defining the encoding used in the output channel in VS Code. I intend to deprecate using the output channel for ouput and only support to use the terminal for output, which can be done using the setting npm.runInTerminal.
In addition the recommended way to run npm-scripts is the recently added support for running npm script as tasks ('Tasks>Run Task'). Can you give this a try and let me know whether this covers your needs.
I´ll therefore close this issue.


Onboarding

This is an umbrella feature for a new use onboarding process (registering a first-timer user). A good learning material can be found here: https://www.useronboard.com
As part of the onboarding we need to collect data from a user and guide them through the product explaining basic usage and benefits.
We need to think about which path to take here, I can see at least two:

ask to Sign Up with any of the services (Facebook, Yahoo, Google) collecting email and Full Name and then to as for USAC lic #
or ask for lic # first + email + ask to "connect" using Facebook/Yahoo/Google explaining that it will be used to login in future.

I in doubts that we need password at all.
Required data

[ ] collect USAC licence #

[ ] pull name from USAC by lic # (example url)

[ ] collect email

[ ] load avatar from gravatar if available

Optionally

[ ] phone (for very rare, but important SMS notifications regarding last minute changes to events)
[ ] "Sign Up with Facebook" (gives us Email and Name, we can double-check name from USAC)
[ ] "Sign Up with Google"
[ ] "Sign Up with Yahoo"

I think we need password to protect their personal data. Especially if we are going to ask them to share their own family events with us.

@Me4ta their data protected, what do you mean?


Convert media store to Pinia

Fixes

Fixes #1042 by @obulat
Description

This PR converts the Media store from Vuex to Pinia, and typescriptifies it.
It replaces the types that were previously set to be used from JS with TS generics. There are still a couple of places where I couldn't fix types, and added ts-ignore to be able to commit and push the changes.
Testing Instructions

Run the app. Searching all media types, filtering and loading more and viewing the detail pages should all work.
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[ ] My code follows the established code style of the repository.
[x] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@obulat I opened https://github.com/WordPress/openverse-frontend/pull/1186 with suggestions for how to avoid the create* pattern using mocks. Sorry I didn't get that to you yesterday.


Failure on Linux

I'm aware that you clearly say dotnet-core is
not stable on Linux and Mac
https://github.com/progaudi/tarantool-csharp
but you also say
"it should work on Windows, Mac, Linux"
https://groups.google.com/forum/#!topic/tarantool/khoj-ZauD_U
Since I don't have Windows, I downloaded mono
and a few other things, trying to make it run
on my Ubuntu 16.04 computer.
I managed to build and publish and make a
sample program that tries to connect to Tarantool,
but the program collapses when it tries to connect.
For what it's worth -- perhaps not much -- these are
my notes on the matter.
Re tarantool-csharp
from Roman Kozachenko (roman-kozachenko) and
Anatoly Popov (aensidhe), downloaded from
https://github.com/progaudi/tarantool-csharp
initially downloaded on 2016-11-03, downloaded
again on 2016-11-21, to my computer with Ubuntu 16.04.
Installing mono:
Installation with the regular Ubuntu-distro mono is
no good, it is too old, and eventually I could not
get around the "dotnet publish" bug described in
https://github.com/dotnet/cli/issues/3658
Therefore one must follow the instructions at
mono-project.com/download
followed by
sudo apt-get install mono-complete
sudo apt-get update
so that
mono --version
says "Mono JIT compiler version 4.6.1" etc.
This version seems okay.
Installing additional mono-related packages:
I also installed mono-xsp4 and monodevelop, but believe now
that they are not necessary, in fact monodevelop
gave me some trouble, I never persuaded it to work.
Installing dotnet:
I failed with xbuild, missing import files, due to a known problem
http://stackoverflow.com/questions/40249511/net-standard-on-linux
but saw suggestions that Microsoft's dotnet preview
would work. So I downloaded dotnet preview from
https://www.microsoft.com/net/core#ubuntu
By the way, sudo apt-get causes a message to appear
"
This software may collect information about you and your use of
the software, and send that to Microsoft.
Please visit http://aka.ms/dotnet-cli-eula for more information.
"
so eventually any documentation should suggest
export DOTNET_CLI_TELEMETRY_OUTPUT=1
Installing tarantool-csharp:
The makers recommend nuget; however, my attempts
to install nuget failed (time wasted here was due
partly to the horribleness of the advice page
http://www.monodevelop.com/documentation/creating-a-simple-solution/),
and in any case I read that nuget has issues on non-Windows machines
https://docs.nuget.org/ndocs/policies/nuget-faq
so I downloaded from github and built from source, thus:
...
cd ~
mkdir mono
cd mono
git clone https://github.com/progaudi/tarantool-csharp tarantool-csharp
cd ~/tarantool-csharp
dotnet restore
cd ~tarantool-csharp/src/tarantool.client
rm -r bin/*
dotnet build
The "dotnet build" step actually puts .dll files in
multiple directories. They are all bad, except the
ones in
~/tarantool-csharp/src/tarantool.client/bin/Debug/net461
so I went to that directory with cd, and made a file
test.cs ...
using System;
using System.Linq;
using System.Threading.Tasks;
using ProGaudi.Tarantool.Client;
public class HelloWorld
{
static public void Main ()
{
Test().Wait();
}
static async Task Test()
{
await Box.Connect("<IP_ADDRESS>:3301");
}
}
and compiled it ...
mcs -r:Tarantool.CSharp.dll test.cs
and ran it ...
mono test.exe
and got the error "System.InvalidOperationException;
this operation is only valid on generic types".
If anyone suggests I should have tried
Client.Box.Connect, that wouldn't even have passed
the mcs stage ("The name 'Client' does not exist in
the current context"), and I used many variations.

Hello, @pgulutzan.
Tarantool-csharp library working under .Net Core, not under mono.
You can try to run tests for example. To do that you need execute the following commands:
git clone https://github.com/progaudi/tarantool-csharp tarantool-csharp
cd tarantool-csharp
docker-compose up -d
dotnet restore
dotnet test -f dotnetcoreapp1.0 tests/tarantool.client.tests/

Or, please take a look inside samples/docker-compose/dotnet, there is a simple ASP.net core app.

Yes, if I build with dotnet rather than with mono, the error does not occur. Thank you.


how can I train on GPU?

I tried below command, but it run training loop with cpu. Can you provide some examples?
CUDA_VISIBLE_DEVICES=3,4,5,6 python scripts/main.py local classifier --d.source CIFAR10 --encoder_config resnet19_32x32 --local.mode nce --t.epochs 1000 -d 3 -n gpu_test

Even without the CUDA_VISIBLE_DEVICES it trains on CPU? It does GPU by default, so this is strange.

@rdevon sorry for bothering. I checked my pytorch version again, and it was cpu-only compiled version.  After changing it to gpu-support compiled version, it works.


Add intellisense checks in code cell smoke test

This PR adds simple checks for code completion suggestion and colorization.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 42.555%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
26729

Relevant Lines:
56928

💛  - Coveralls


feat: prevent dismiss toast on hover

Hover to stop dismiss

LGTM! Thanks for the contribution

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Remove hacktoberfest

Since it's February now.. :)
Removing all the mentions of Hacktoberfest from the README and SETUP guides.

Also approved! :)


Use actual newline (instead of "\n") to split strings in yq rule

Fixes d79f4d4
Fixes #463
This is required since versions of yq older than 4.30.3 do not parse "\n" correctly. See https://github.com/mikefarah/yq/issues/1430 and https://github.com/mikefarah/yq/commit/e02bb7194897edb916a6787fb8f8e5a7f432dd94

Type of change

Bug fix (change which fixes an issue)

Test plan

Manual testing; please provide instructions so we can reproduce:

Build any yq rule: bazel build //lib/tests/yq:stamped
Look at the processed stamping yaml: cat bazel-bin/lib/tests/yq/_stamped_stamp.yaml

Without this fix, the file only contains the first item of bazel-out/stable-status.txt and bazel-out/volatile-status.txt respectively. With the fix, every item appears in the yaml.

Wow that was silly. I was debugging this to fix it myself, and stumbled on this thread without realizing it's a PR on bazel-lib :)


openvas_lib.common.ClientError: [400] create_task_response: Bogus element: preference

Hi,
I'm trying to launch a scan and getting below error.
>>> from openvas_lib import VulnscanManager, VulnscanException
>>> scanner = VulnscanManager("<IP_ADDRESS>", "admin", "admin")
>>> scan_id, target_id = scanner.launch_scan(target='<IP_ADDRESS>', profile='Full and fast')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "openvas_lib/__init__.py", line 657, in launch_scan
    comment=comment)
  File "openvas_lib/ompv7.py", line 715, in create_task
    return self._manager.make_xml_request(request, xml_result=True).get("id")
  File "openvas_lib/common.py", line 389, in make_xml_request
    response.get('status_text')))
openvas_lib.common.ClientError: [400] create_task_response: Bogus element: preference

Thanks.

I am having the same problem.
Thanks,
Steve

me too

I am having the same problem in kali3.0 and openvas7.0.2

Thanks, it's working now.

Hi @MarioVilas
Is it possible to update https://pypi.org/project/openvas_lib/ too?
Thanks.

I don't have access to it. /cc @cr0hn

I just added continuous integration cycle with auto-upload to Pypi the new pull-request.
It was uploaded to Pypi with version: 1.1.3.
Please, test it and feedback if something was wrong.
Thx!

Hi @cr0hn,
I've verified and it has not been updated. I think you should upload with the newer version as 1.1.3 already there.
Thanks.

Ups, sorry. Just submitted version 1.1.4

Hi,
version 1.1.4 uploaded but something broken after installing using pip.
>>> from openvas_lib import VulnscanManager, VulnscanException
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named openvas_lib

may its not able to map with sit-packages. Could you please review from your end why its not able to import openvas_lib ?
Thanks.

@cr0hn ,
Got the issue. Package missing openvas_lib folder https://pypi.org/project/openvas_lib/1.1.4/#files
Please upload with the openvas_lib folder in the package.

I just fixed the issue. I was an error in the setup. In my machine now I can import the library. Please, check and feedback me

Perfect. Work like a charm. Thanks @cr0hn


fix change event is not fired on startup loop, if there are no further changes

I use the change event to load the items from remote.
sometimes the event wasn't fired.

I am using OnPush change detection, and needed this PR #111 and also PR #193 for proper rendering. Otherwise it would render an empty scroll area that only rendered if you clicked the scroll bar.
So I am now using a patched version of virtual-scroll.ts, please accept this PR so I can switch to using the installed package instead -- thanks!

Rinto Jose has granted me maintainer permissions to this github repo as well as npm. I've combined several pull requests into 1 via https://github.com/rintoj/angular2-virtual-scroll/pull/204 (because it was easier due to merge conflicts/etc). It has been merged into master.
Your changes should now be included in master, however your commit history was squashed. You'll have to manually check the src/virtual-scroll.ts file to see if your changes were included. Please let me know if anything was missed. Feel free to submit future pull requests & I'll try to handle them promptly. Also, if you'd like maintainer permissions, please let me know.
Thanks.
Devin


Copy edits (1st pass)

I have used the same text as Myxa wherever possible.  Please review.

Closing pull request.  I will open a new one with the next commit.


docs: explain how to use Shorebird in a headless environment (e.g. IDX)

Some users would like to use Shorebird in a headless environment.
Should be possible with shorebird login:ci or otherwise copying ones oauth token from a local machine to the headless machine.
We could write some docs explaining such other than:
https://docs.shorebird.dev/ci/generic/

Works fine. Thanks.


Added pedigree information to IBS result data story.

Added a bit more to the data story written by @reprogrammer

Coverage remained the same when pulling 6283dafcf731af4a0d3b3647e3cf951dcfab1095 on deflaux:master into b2554b8e4f62346a62f5310461f4d697f28f750a on googlegenomics:master.


Update SharpCompress to version 0.38.

https://github.com/adamhathcock/sharpcompress/releases/tag/0.38.0

Already implemented in other PR.


[wip] Add sanitizing to refresh endpoint

Description
Hi all,
I've stumpled upon another help wanted issue (#656) and decided to give it a try.
However, the longer I started inspecting the code, the more questions appeared.
So let's try to agree on solution (if there is any) before continuing the code changes.
Here's the result of my investigation:

At the moment Sanitizer is used in EnvironmentEndpoint which returns a list of key-value pairs with settings/properties/configuration
It makes sense to sanitize (so replace with asterisks) some of the values which should not be exposed to the outer world
The requester of #656 claims that similar treatment should be given to RefreshEndpoint
After futher investigation, RefreshEndpoint returns only a list of keys (not values) from the configuration. So there isn't anything to sanitize - unless we'd like to return values as well?
I've compared 3.x and 4.x and it's the same output from the RefreshEndpoint (keys only)

So kindly please advise how to approach this issue and whether it's actually an existing issue.
I'm happy to continue with code changes, if we agree what's the desired solution.
cc: @bart-vmware & @TimHess

Quality checklist

[ ] Your code complies with our Coding Style.
[ ] You've updated unit and/or integration tests for your change, where applicable.
[ ] You've updated documentation for your change, where applicable.
If your change affects other repositories, such as Documentation, Samples and/or MainSite, add linked PRs here.
[ ] There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.
[ ] You've added required license files and/or file headers (explaining where the code came from with proper attribution), where code is copied from StackOverflow, a blog, or OSS.

Hi @cieciurm,
Thanks for looking into this - the issue is less about what is returned from /refresh and more about what happens when the application's configuration is updated.
Here is the step by step process to recreate what the open issue is talking about:

Change the value of Management:Endpoints:Env:KeysToSanitize via any config provider that can be updated at runtime
/refresh is called
this is the bug --> Any subsequent request to /env should use the now-current values in KeysToSanitize

With the revisions made in Steeltoe v4/main, this should already work and /refresh shouldn't need to be called explicitly, but given that no PR has linked to the issue, I don't conclusively know if works as expected.
In Steeltoe v3 and prior, some values that come from configuration were only read at startup and did not use IOptions or any other mechanism for supporting runtime reconfiguration.

Hi again,
Apologies it took so long to reply. Hopefully my persistence in veryfing, if it works correctly again main (v4.0) can make it up ;)
Steps to reproduce:

Create WebApp
Reference Steeltoe.Management.Endpoint and Steeltoe.Logging.DynamicLogger
Setup appsettings.json

  "Management": {
    "Endpoints": {
      "Actuator": {
        "Exposure": {
          "Include": [ "*" ]
        }
      },
      "Env": {
        "KeysToSanitize": [ ]
        //"KeysToSanitize": [ "info:appsetting1" ]
      }
    }
  },
  "info": {
    "appsetting1": "appsetting1",
    "appsetting2": "appsetting2",
    "password": "secret"
  },

Run the WebApp
Go to /actuator/env and see:

   {
      "name": "JsonConfigurationProvider: [appsettings.json]",
      "properties": {
        "AllowedHosts": {
          "value": "*"
        },
        "info:appsetting1": {
          "value": "appsetting1"
        },
        "info:appsetting2": {
          "value": "appsetting2"
        },
        "info:password": {
          "value": "******"
        },

(password is one of the DefaultKeysToSanitize to verify if sanitize works at all)

Change value to "KeysToSanitize": [ "info:appsetting1" ]
Call POST /actuator/refresh from Postman
Go again to /actuator/env and still see:

   {
      "name": "JsonConfigurationProvider: [appsettings.json]",
      "properties": {
        "AllowedHosts": {
          "value": "*"
        },
        "info:appsetting1": {
          "value": "appsetting1"
        },
        "info:appsetting2": {
          "value": "appsetting2"
        },
        "info:password": {
          "value": "******"
        },

Could this potentially mean that the keys to sanitize doesn't refresh at all even on v4?

Could this potentially mean that the keys to sanitize doesn't refresh at all even on v4?

You're right, the keys to sanitize do not refresh. The reason appears to be the list of keys is set when the sanitizer is initialized and never updated, so we would need to either enhance the sanitizer to support a more dynamic list or re-create it if the list changes.

Hi again,
apologies but due to private obligations (just became a dad), I won't be able to work on this issue.


docs: Add descriptions of tricks avaiable

Fixes issue
Closes #221
👨💻 Changes proposed
Added short descriptions of css tricks available in Code-Magic
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
Hey!! Suggest changes if required.

📷 Screenshots

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


Update "Settings" to "All IDPs" + explanation

I've added a short explanation about what happens to partners invited when Email OTP is disabled (dead-ended; will not support creation of viral accounts.)

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

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

#sign-off


Implement change of helper functions

This fixes issues with Laravel 6

@brozot Please merge the PR.

Thanks for this fix. Please merge the PR.

@brozot  pleaseeee!!!


Remember download

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

WARNING
All invalid issues will be rejected!!

Before going further

If your problem is a bug with youtube-dl or a request for new site support please report it here

Make sure you are using the latest youtube-dl-gui version (Click the Settings icon and then About to view the current version)

Make sure you are using the latest youtube-dl version (Click the Settings icon and then Update to update to the latest youtube-dl version)

Make sure you searched the bugtracker for similar issues including closed ones

Make sure to read the FAQs file

[x ] I think my problem is NOT with youtube-dl
[x ] I've verified and i assure that I'm running youtube-dl-gui 0.4
[x ] I assure that i am using the latest version of youtube-dl
[x ] Searched bugtracker
[x ] I've read the FAQs file

What is the purpose of your issue?

[ ] Bug report
[x ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

Please remove any sections between (---) if they are not related to your issue

Bug report
If the problem occurs when downloading a URL please provide the full verbose output as follows:

Restart youtube-dl-gui
Go to Options > Extra tab
Enable Debug youtube-dl
Go to Options > Advanced tab and Clear your log content
Try to download the URL
Copy the whole log content and insert it between the ``` part below

delete me and insert your log content here

What operating system do you use ?
List of actions to perform to reproduce the problem:

..
..
..

What is the expected behaviour ?
What happens instead ?

Feature request (request for a new functionality)
Please make sure that the requested feature is NOT already in the TODO list

[ ] I've verified and i assure that my requested feature is NOT in the TODO list

What operating system do you use ?

Hi and thanks for the new version. But i thought that should be possible to keep the files fer downloading in the list when shut down program and continue later but not. Maybe in next update.

https://github.com/MrS0m30n3/youtube-dl-gui/issues/44


initial draft

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #
Test URLs:

Before: https://main--prisma-cloud-docs--hlxsites.hlx.page/
After: https://--prisma-cloud-docs--hlxsites.hlx.page/
Worker: https://prisma-cloud-docs-production.adobeaem.workers.dev/?branch=

This was supposed to be comprehensive LA for Vex Format. I am closing this pull request as no decision was taken for publishing it. We can use a new branch, when the request comes back.


Trying to access array offset on value of type null

Pulse Version
v1.0.0-beta11
Laravel Version
v10.42.0
PHP Version
8.2
Livewire Version
v3.4.2
Database Driver & Version
MySQL 8.0.30
Description
As soon as I add:
    'recorders' => [
    ]

In the pulse.php config file. I get this error:
Trying to access array offset on value of type null
Steps To Reproduce

Open pulse.php config file
Add recorders' => []
You should be getting an error.

I'm using the default configuration for Pulse same for the Pulse dashboard

Hi @jean-mathieu-myevent, may I ask why you're adding that?
I assume the error appears when loading the dashboard, which would be because the cards can't load their configuration.

Hi @jean-mathieu-myevent, may I ask why you're adding that?
I assume the error appears when loading the dashboard, which would be because the cards can't load their configuration.

Initially I was trying to implement this:
https://github.com/maantje/pulse-database
But as soon as I added it in the recorders array it was given this error. So when attempting to debug, I noticed by just adding the array even while being empty it would give that error.

This issue only arises on the dashboard when you are using cards that do not have their recorders registered.
I would recommend making sure all cards you reference in your dashboard have their appropriate recorders added.


Write a C++ program to convert miles to feet

Description
Write a C++ program to convert miles to feet
1 mile = 5280 feet
Input  : 5
Output : 26400

How to contribute

Save the solution in ConvertMilesToFeet.cpp file
Add ConvertMilesToFeet.cpp file in convert-miles-to-feet folder

!assign


fixed problem of the work with flush of the mmap

For windows for syscall.FlushFileBuffers you must use file handle, not handle what was received with syscall.CreateFileMapping function

Hah, we've just hit this exact thing. Was about t submit a PR too! @edsrzf Any chance of getting this merged upstream?

Better late than never? :sweat_smile: :grimacing: Thank you!


ronn.xcodeproj does not exist

hey!
I was having trouble getting Reaper or Logic to detect the plugin so I tried building it, but got this error and can't figure out what's going on:
-> ./build.sh
-- The C compiler identification is AppleClang <IP_ADDRESS>00032
-- The CXX compiler identification is AppleClang <IP_ADDRESS>00032
CMake Error at CMakeLists.txt:5 (project):
  No CMAKE_C_COMPILER could be found.

CMake Error at CMakeLists.txt:5 (project):
  No CMAKE_CXX_COMPILER could be found.

-- Configuring incomplete, errors occurred!
See also "/Users/jorge-work/Downloads/ronn-master/plugin/juce/ronn/build/CMakeFiles/CMakeOutput.log".
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project ronn.xcodeproj build -target ALL_BUILD -configuration Debug -hideShellScriptEnvironment

User defaults from command line:
    HideShellScriptEnvironment = YES

xcodebuild: error: 'ronn.xcodeproj' does not exist.

I tried changing the -DCMAKE_PREFIX_PATH on the juce/ronn/build.sh script to where libtorch is on my computer, but that didn't seem to help...
thanks for the work, it looks like it must be a lot of fun to play with

Hey @jmarcosfer, thanks for taking a look at the project!
After checking out the README I realized that some details were missing.
You will also need to have FRUT installed. See their README for details.
In addition to updating the libtorch path in build.sh, you will also need to edit the CMakeLists.txt file and update some paths in there. See the commented lines below. You will need to update the relative path to your local install of FRUT, as well as the path to your JUCE install.
# This file was generated by FRUT's Jucer2CMake from "ronn.jucer"

cmake_minimum_required(VERSION 3.4)

project("ronn")

# Update the path below to reflect the correct relative path to FRUT on your system
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../../../../../FRUT/prefix/FRUT/cmake")
include(Reprojucer)

find_package(Torch REQUIRED)

set(ronn_jucer_FILE
  "${CMAKE_CURRENT_LIST_DIR}/ronn.jucer"
)

# Set the absolute path to your JUCE installation
set(JUCE_MODULES_GLOBAL_PATH "/path/to/JUCE/modules")```

I updated the steps in the README to make it slightly clearer. Let me know if this helps. I can provide further details if you run into any issues with these steps.

Thanks @csteinmetz1!
I've followed your path changes, and installed FRUT, but unfortunately I'm still getting the exact same error.
I could share the CMakeOutput.log if that's of any help?
I had at look at my cmake version (3.15.4) since I saw on the CMakeLists.txt that the minimum required is version 3.4 but I could only find the latest stable release is 3.20 🤷🏼♂
Could it be something to do with my Xcode install?

Hey @jmarcosfer,
I know its been a while, but I have circled back around and tried to make the build process a lot simpler using CMake via the new JUCE integration. This doesn't require FRUT, which makes the paths easier. If you are still interested, I am curious if this new update works for you. I'd suggest cloning a new copy of the repo to start and follow the new instructions in the README. Let me know if you give it a try. Thanks!

thanks a lot Christian! will definitely give it a try as soon as I get some time, I'll let you know how it goes

Hey, I just wanted to report, I had the same problem with DAWs not recognising the plugins. I was able to successfully compile locally and now Ableton sees the ronn vst3 and it runs 👍

It was necessary to add
CMAKE_PREFIX_PATH="libtorch" cmake -Bbuild -GXcode "-DCMAKE_OSX_ARCHITECTURES==i386;x86_64"
to the build command...

Thanks for trying this out @leoauri! I just added a new line in the CMakeLists.txt that will add the libtorch directory to the path automatically. The current setup is working well for me now on macOS.


Convert "Thanks" component to a stateless component

React has two types of components:

Stateful - Has an internal state that can change based on logic or parameters passed from a parent.
Stateless - Components that are simply presentational and contain no logic.

Stateless components include some performance benefits. They use a slightly different format from what you may be used to. There is a 2nd issue to convert RenderTickets to a stateless component. I'll submit a pull request for that item so you can see the simplified code format and use it for reference here.

Stateless.


Milestone 1 Comment

Missing Teamwork contract in Canvas submission (-10)
Good Job! (90/100)

Feel free to send me your teamwork contract on slack or in this issue to receive the mark!


Remove deprecated XLA GPU flags from docs.

Several XLA GPU flags have been removed since the docs were last written. This PR removes:
Async collectives. Enabled by default now, see: https://github.com/openxla/xla/commit/4298a065f7b8381d690a95fe6d437cff037b3ff4
Triton softmax fusion. Removed, see: https://github.com/openxla/xla/commit/896e241de756ddf846ea17d3026eff2e6bd03013
Addresses: https://github.com/jax-ml/jax/issues/25430

cc @Tixxx

Thanks for tagging me, wasn't aware of this when i opened(https://github.com/jax-ml/jax/pull/25447). Mine also removes xla_gpu_enable_highest_priority_async_stream(enabled by default), can you add that change in your pr so i can just close mine.

Added xla_gpu_enable_highest_priority_async_stream.
Could I get one of your to review so we can get this merged in?

LGTM. But would need one of google folks to merge it.


Speed up testing in CI

Description
This is a rather generic issue with the goal to speed up the testing step in the CI.

@michalk8, I checked again and the runtime of the CI: (ubuntu-latest, 3.7) and (mac-os, 3.8) take roughly 15 minutes, (ubuntu-latest, 3.8) takes over half an hour. Is the reason for this that we download and check the datasets in the latter case? If so, wouldn't it suffice to only check this when we change one of the functions downloading the datasets, on the cron job and before a new release (in this case just to ensure everything is working)?

Also possibly related is this RuntimeWarning by matplotlib in tests/test_plotting.py::TestGeneTrend::test_transpose_all_models_for_1_lineage_failed_same_plot:
RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory.

We should also check if using a lil_matrix in tests/test_utils.py speeds things up:
SparseEfficiencyWarning: Changing the sparsity structure of a csr_matrix is expensive. lil_matrix is more efficient.

@michalk8, I checked again and the runtime of the CI: (ubuntu-latest, 3.7) and (mac-os, 3.8) take roughly 15 minutes, (ubuntu-latest, 3.8) takes over half an hour. Is the reason for this that we download and check the datasets in the latter case?

Nope, it's the PETSc/SLEPc installation in that case (takes 14 minutes, testing takes 12 minutes).
In pygppca, I cache the .tox dir here, so we should do this here once tox is used for CI as well.
Afaik I've tried to make PETSc/SLEPc work on Mac as well with the cache, but because of 1 extra step (manually building it from source and dynamically linking some stuff), the cache breaks things - however, we should revisit this (maybe I made some mistake).


can't cross database?

sometimes , we were get data from muti database, muti tables
but , medoo, does't support :  select a from  abc.ccc?
i fixed code on local
if( strpos($table, '.') != false ){
$table = implode('"."', preg_split("/./", $table));
}

+1


Typescript- Maintain two RequestInformations targetting browser and node each

RequestInformation class uses the url module which is node specific. Browser has its own URL implementation.
In #728 I added utils which exported URL by maintaining separating node and browser exports. However, this is an issue with typings lacking node-browser resolution. That is, since the typings always points to the node index.d.ts files in package.json TS will report an incompatible error when we set the URL to a browser implementation. It does not detect the browser typings browser/index.d.ts.
I ran into this compile time error when working with the tests.
One solution I can think of now is to maintain separate RequestInformation class for node and browser. I am not fully convinced with this solution yet.

Thanks for the additional details here. I'm still not understanding something, the whatwg URL API has been available in node 10, added in 6 and it's available in 97% of browsers so it should be safe to use in a cross platform manner.
Whether we compile it against the node types or the browser types "doesn't matter", the APIs will be fulfilled at runtime and the auto-completion experience should be the same for developers as the API surface aligns.

I think the limitation is caused by TypeScript. Looks like the dom lib in TS does not apply the compatibility and I get the error.
Type 'URL' is not assignable to type 'import("url").URL'.
  Types of property 'searchParams' are incompatible.
    Type 'URLSearchParams' is missing the following properties from type 'URLSearchParams': entries, keys, values, [Symbol.iterator]

This blocks the transpilation for something as the following:
import {URL as nodeURL} from "url"
const url: nodeURL = new URL("");


Moving symfony/property-access to require-dev

symfony/property-access is used only for tests and that is the reason why it is moved to require-dev. This will require less dependencies for the users.

Hey @N-M .. thanks for the PR.
I've taken a quick look at our usage and it looks like this is required by our serialisation process inside \Paddle\SDK\Client, specifically the ObjectNormalizer instance.
With this I don't think we can drop the dependency to a dev only right now.

Hey @mikeymike, you are right I missed that. Good catch.


--giftcount flag not reflecting different numbers

Describe the bug
The --giftcount flag is not reflecting the numbers following after it.
To Reproduce
Steps to reproduce the behavior:

Send the --giftcount flag with other numbers then the default 5
Userstate still shows that the user is gifting the default 5

Expected behavior
It should reflect the given number after the --giftcount flag
Screenshots

Using --count should work; the website seems to be out of date.

Ah gotcha, thank you that worked.

Yup, I'm working on fixing the site so it's always up-to-date, but we're not there yet. Thanks for helping, @iProdigy.


Plug-in as requirement?

Maybe idea to make the YouTube plugin a requirement of the skill? https://github.com/OpenVoiceOS/ovos-ocp-youtube-plugin

the requirement needs to be installed in ovos-audio/media, not in the skill itself
the new skill.json spec accounts for this already, when the appstores are finished this will be solved


--help: --compact: clarify description

What does this PR change? What problem does it solve?
I was confused. Compact/compress the pruned what what? Turns out it makes the stdout information more compact.
Changes:   -c, --compact                use compact format
To:   -c, --compact                compact printed output
Was the change discussed in an issue or in the forum before?
No.
Checklist

[x] I have read the Contribution Guidelines
[x] I have enabled maintainer edits for this PR
[ ] I have added tests for all changes in this PR
[ ] ~I have added documentation for the changes (in the manual)~
[ ] There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
[ ] I have run gofmt on the code in all commits
[x] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

@jtagcat You have marked all my comments as resolved, but made no other changes to this PR. In what way are my comments thereby resolved?

@jtagcat You have marked all my comments as resolved, but made no other changes to this PR. In what way are my comments thereby resolved?

Haven't pushed yet.


Update and refactor alerts related docs

Purpose
Update and refactor alerts related docs
Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

@RAVEENSR , please build the mkdocs locally with strict=true before sending PRs so that we can identify and fix the build issues locally in order to avoid build breaks.

@RAVEENSR , please build the mkdocs locally with strict=true before sending PRs so that we can identify and fix the build issues locally in order to avoid build breaks.

Ack, sorry for the mistake.


Won't download new files, ex. transcripts if transcript generated after the last download

Great app.
One thing I noticed is if a transcript file gets added to a recording but the recording had already been downloaded, the transcript file won't be downloaded (since the script thinks it's already downloaded the meeting).
Any way to trigger the download of the transcript files?

Here's a pull request that solves this issue: https://github.com/ricardorodrigues-ca/zoom-recording-downloader/pull/19

Any updates on why this PR was closed instead of merged? It would be really nice to get this issue fixed.


Instructions to reload cache on Mac Sideloading page

https://github.com/OfficeDev/office-js-docs-pr/blob/master/docs/testing/sideload-an-office-add-in-on-ipad-and-mac.md
The instructions to force a reload of your add-in by clearing your cache on a Mac appear to be incorrect. I'm not sure what the appropriate directions are but I think I was able to clear my cache by navigating to "com.microsoft.Office365ServiceV2/Data/Caches/com.microsoft.Office365ServiceV2/" and removing files.

Article URL

Issue

Aha!!! I was about to reinstall Office. Thanks @jedunn!!

@jedunn @mattblackdev - The topic has been updated. Thanks!


More examples on how to block entire TLD domains.

We need guidance on how to block top level domains entirely. For example, how do we block the newly enabled .ZIP TLD that google just launched? The platform validation checks do not recognise this.

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

ID: 5f078ade-1f5b-ca3f-190a-8182a4f3d155
Version Independent ID: 2556b079-c975-79f7-bad0-44ba3fc18ed5
Content: Allow or block URLs using the Tenant Allow/Block List
Content Source: microsoft-365/security/office-365-security/tenant-allow-block-list-urls-configure.md
Service: microsoft-365-security
Sub-service: mdo
GitHub Login: @Dansimp
Microsoft Alias: chrisda

Looking into this.

Per the PM, we are working on this updating this feature. Stay tuned for documentation updates a few weeks later.


[prim_sha2,rtl] HMAC/SHA-2 secure wiping fix

This PR fixes the secure wiping feature in prim_sha2 engine such that internal variables are overwritten with the WIPE_SECRET value rather than XORed. This change makes it more secure and also consistent with how the secret key is wiped in HMAC. This change has no impact on DV, given its current state (value overwritten to variables is not checked atm) no impact on block-level DV - hmac_smoke and hmac_wipe_secret pass. A TLT has been updated in this PR to correspond with this change.
Once merged, this would close #22555.

@andreaskurth thanks for the suggestions to simplify; addressed them in my upcoming forced push. Additionally, I remove the secure wipe input (enable and value) from hmac_core.sv; they are not used there and are waived as "not currently used, but keeping them attached for future use" - is there any reason now to still keep them?

Additionally, I remove the secure wipe input (enable and value) from hmac_core.sv; they are not used there and are waived as "not currently used, but keeping them attached for future use" - is there any reason now to still keep them?

As hmac_core only stores non-confidential values in its flops and doesn't instantiate any modules, I don't see a need for a secure wipe input into that module -- removing that input SGTM

Rebased and pushed again to see if we go green again :(

The tests failing again don't seem to have anything to do with the changes in this PR.

The tests failing again don't seem to have anything to do with the changes in this PR, but checking again to confirm.

I agree that the failures don't seem to be related to the changes in this PR.


Hide types/smart references that are not actually applicable in the scope

Example: CRM > Client > name field should not include enums defined in other entity collections.

Is this specific of WebEditKit or is it a problem with the lack of constraints being defined in the language?
In other words, does it happen also in MPS?

It doesn't happen in MPS because, as far as I understand it, it has some machinery to compute "substitute menus" which is specific to its editors (it's not a constraint, it's editor behavior).
I've tried to replicate the relevant parts of it, hard-coding it for smart references, but I failed to find the check that it does wrt scoping. I've only determined that it does it at generation time, so that the generated Java code statically filters the items (rather than dynamically as we're doing it).


Could not install package

I've tried installing this package but I get the following error:
Could not install package 'Square.OkIO 1.5.0'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile78', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
Am I missing something?
I'm running Windows 10 Pro and Visual Studio 2015 with .NET Framework 4.6.

HI @luzianscherrer Are you trying to install the component into an Android class library? This library only works with Android. It is a Xamarin.Android binding for the Java/Android library.  For a normal, or in your case, a portable library, use SocketIoDotNet. SocketIoDotNet should work for all platform types, even the Xamarin ones.

Thanks for getting back to me. The project that I'm working on is a Xamarin "Shared Asset Project" using Android and Windows Phone as target platforms. But I have now switch to SocketIoDotNet in the meantime and that works. You can close the issue.

i need to install socket into pcl.


fix(test): start coding button tests fixed

Also made a code change to fix the ID of the 'Start Coding' button. Pls review to ensure it doesn't break anything else.
These changes eliminate couple of automation failures.

@rgarg1 snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1967-fabric8-planner.int.rdu2c.fabric8.io

Can one of the admins verify this patch?

@rgarg1 snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1967-fabric8-planner.int.rdu2c.fabric8.io


Consider renaming ALTAIR_* constants

There are a number of constants in the spec such as 'ALTAIR_INACTIVITY_PENALTY_QUOTIENT'.  Having the fork name first makes it slightly harder to parse mentally, as well as being less amenable to reading after sorting the constants by name.
Swapping it around so the "what" goes first and the "when" comes after makes life a little bit easier, for example:
INACTIVITY_PENALTY_QUOTIENT: 67108864
INACTIVITY_PENALTY_QUOTIENT_ALTAIR: 50331648

It's not a major difference, but I think the benefit of having it this way around will increase with the number of hard forks.

I'm fine either way. /cc @djrtwo

ah, yeah. This makes sense

addressed!


Multi-User Interaction

Distinguish between organizers and attendees with different app roles and permissions.
Acceptance Criteria

[x] Upon registration, users are assigned a specific role (organizer or attendee) based on their selection or invitation code.

[x] Organizer Permissions: Can create and manage events, including setting details and generating QR codes.
Can view a list of attendees and their check-in status in real-time.
Can send notifications to attendees.

[x] Attendee Permissions: Can view and sign up for upcoming events.
Can check into events using QR codes.
Can receive notifications from organizers.

[x] The app securely authenticates users and authorizes access to features and data based on the user's role to prevent unauthorized actions.

[x] Organizers can view their managed events and attendee lists, while attendees can only view events they are interested in or have signed up for.

[x] The app's user interface dynamically adapts to show relevant options and information based on the user's role.

[x] If a user attempts to access a feature outside their role's permissions, the app displays an appropriate error message and redirects them accordingly.

[x] Users can easily find and access a feature within the app to request a change of role from attendee to organizer or vice versa.

Completed


Playground

Thanks so much - this library is awesome!
The very handy playground includes iris, but it's not clear how to use it.  The input table is visible but output says Error: ReferenceError: iris is not defined.
Wonder if worth preserving state in e.g. URL hash string so examples could be shared this way?

Ah, you just have to click the input box to select iris:

Then input is equal to iris. perhaps confusing and we can switch to just calling them cars and iris in the playground itself.
Would love it if the playground was fancy enough to store and restore the state, PRs welcome on both fronts


Initial Job gRPC API Implementations

This pull request primarily includes initial implementations of the discussed gRPC job APIs to support the job workflow.
These APIs include:

reserveJobId
resolveJobSpecification
getJobSpecification
dryRunResolveJobSpecification
claimJob
changeJobStatus

All API implementations are backed by interactions with the database necessitating associated database schema changes.
There are many TODO left in the code in various places. Many of these are left in as potential discussion items.
Large design decisions (particularly exception behavior and design) can be iterated upon.
This PR is being opened now to unblock parallel development on an M2 agent and to facilitate a faster feedback loop once this "big bang" of APIs have some implementation

Coverage increased (+0.3%) to 89.652% when pulling<PHONE_NUMBER>39540c2cc547bfb1608b39a90cf975 on tgianos:persistJobSpecification into f19b9cb6b125aff7745943264c7d8545453a8700 on Netflix:master.


Release 2.5.0

Changed mind. Because of the Request Method Data processor changes, going right to 3.0.


Column pin/hide doesn't work properly in linked child table

No column header in Pinned column

Steps to reproduce:
Linke Table B to A for example selection to filter 2. Without selecting any row in A, pin a column in B
Expected results:
Column in B is pinned
Actual results:
Pinned column in B is empty

Pinned column is not synchronized with the selection in the main table

Steps to reproduce:
Linke Table B to A for example selection to filter 2. Selecting any row in A, pin a column in B 3. Unselecting any row in A
Expected results:
B should be empty
Actual results:
Pinned column in B is not empty

Can not hide column in linked table

Steps to reproduce:
Linke Table B to A for example selection to filter 2. Hide any column in B
Expected results:
Column should be hidden
Actual results:
Column is not hidden
https://user-images.githubusercontent.com/100243033/232829764-6c7e3362-870f-4ade-b57f-c3a3687e46c4.mp4

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-14585

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16120


removed package version so it uses same version as default gcc

This fix is already applied in PR #147


Fix LinkSamples

Simple fix for this issue.
I didn't change the structure of the sentence because that would affect the other translations and that's not up to me to decide.

What do you mean, how? 😊

In the files changed tab i can review my PR, but i have no idea if i should or not interact with the content of that tab.


chore: internal design

add Preprocessor class (close #60 )
add DataContainer class (close #61 )
update python-semantic-release to v8 to reactivate automatic upload to PyPi

Codecov Report

Merging #69 (f3e2a10) into main (f6ecc49) will increase coverage by 4.11%.
Report is 1 commits behind head on main.
The diff coverage is 95.66%.

@@            Coverage Diff             @@
##             main      #69      +/-   ##
==========================================
+ Coverage   91.60%   95.72%   +4.11%
==========================================
  Files          40       54      +14
  Lines        2692     3319     +627
==========================================
+ Hits         2466     3177     +711
+ Misses        226      142      -84

Files Changed
Coverage Δ

xeofs/models/rotator_factory.py
100.00% <ø> (ø)

xeofs/preprocessing/_base_stacker.py
73.91% <50.00%> (-2.28%)
:arrow_down:

xeofs/preprocessing/_base_scaler.py
81.81% <75.00%> (-2.40%)
:arrow_down:

xeofs/data_container/mca_data_container.py
82.92% <82.92%> (ø)

xeofs/utils/xarray_utils.py
92.53% <88.88%> (-2.30%)
:arrow_down:

xeofs/preprocessing/stacker.py
93.00% <89.23%> (-0.96%)
:arrow_down:

xeofs/data_container/eof_rotator_data_container.py
89.58% <89.58%> (ø)

...data_container/_base_cross_model_data_container.py
89.83% <89.83%> (ø)

xeofs/data_container/mca_rotator_data_container.py
91.11% <91.11%> (ø)

xeofs/data_container/_base_model_data_container.py
91.66% <91.66%> (ø)

... and 33 more


parquet RowGroup pruning for Dictionary(Decimal) type incorrect

Describe the bug
Parquet RowGroup pruning by statistics works incorrectly for Dictionary(Decimal) type.
To Reproduce
use arrow;
use arrow::array::{ArrayRef, Decimal128Array, DictionaryArray, Int32Array, RecordBatch};
use datafusion::error::Result;
use datafusion::prelude::*;
use parquet::arrow::ArrowWriter;
use parquet::file::properties::{EnabledStatistics, WriterProperties};
use std::fs::File;
use std::sync::Arc;

#[tokio::main]
async fn main() -> Result<()> {
    // Prepare record batch
    let array_values = Decimal128Array::from_iter_values(vec![10, 20, 30])
        .with_precision_and_scale(4, 1)?;
    let array_keys = Int32Array::from_iter_values(vec![0, 1, 2]);
    let array = Arc::new(DictionaryArray::new(array_keys, Arc::new(array_values)));
    let batch = RecordBatch::try_from_iter(vec![("col", array as ArrayRef)])?;

    // Write batch to parquet
    let file_path = "dictionary_decimal.parquet";

    let file = File::create(file_path)?;
    let properties = WriterProperties::builder()
        .set_statistics_enabled(EnabledStatistics::Chunk)
        .set_bloom_filter_enabled(true)
        .build();
    let mut writer = ArrowWriter::try_new(file, batch.schema(), Some(properties))?;

    writer.write(&batch)?;
    writer.flush()?;
    writer.close()?;

    // Prepare context
    let config = SessionConfig::default()
        .with_parquet_bloom_filter_pruning(true)
        .with_collect_statistics(true);
    let ctx = SessionContext::new_with_config(config);

    ctx.register_parquet("t", file_path, ParquetReadOptions::default())
        .await?;

    // In case pruning predicate not created (due to cast), there is a record in resultset
    ctx.sql("select * from t where col = 1")
        .await?
        .show()
        .await?;

    println!();

    // In case of triggered RowGroup pruning -- the only RowGroup eliminated while pruning by statistics
    ctx.sql("select * from t where col = cast(1 as decimal(4, 1))")
        .await?
        .show()
        .await?;

    Ok(())
}

Expected behavior
Results from both queries from the script above should match
Additional context
The problem also happens with bloom filters (if enable them in pattern matching expressions in prune_by_bloom_filters), so there is a chance that ArrowWriter produces incorrect metadata (statistics / bloom filters).
+ after adding larger value to the batch (like 100 as i128 which is 10.0 when casted to decimal(4, 1)), RG is not pruned, so perhaps something like * pow(10, scale) lost while writing statistics / calculating filters.

Research findings:
with parquest_pruning turned off
    let config = SessionConfig::default()
        .with_parquet_bloom_filter_pruning(true)
        .with_parquet_pruning(false)
        .with_collect_statistics(true);

both queries return the same result:
+-----+
| col |
+-----+
| 1.0 |
+-----+

take


WebSocket proxying

https://nginx.org/en/docs/http/websocket.html

The generated configs already handle websockets.  Enable reverse proxy, and view the /etc/nginx/nginxconfig.io/proxy.conf file further down the page.  This file is included by the site-specific proxy setting.


[dunfell][gatesgarth][hardknott][master] Regenerate all current releases with updated rosdep and fmi* work around in ros-generate-cache.sh

Merged in other branches as well (except the last commit which was only for dunfell):
6f4356593..8ebad24b0  dunfell -> dunfell-next
0539ba2ac..f0414c57b  gatesgarth -> gatesgarth
0539ba2ac..f0414c57b  gatesgarth -> gatesgarth-next
4ab7351e3..f295a3a2d  hardknott -> hardknott
4ab7351e3..f295a3a2d  hardknott -> hardknott-next
4ab7351e3..f295a3a2d  master -> master
4ab7351e3..f295a3a2d  master -> master-next


refactor CI to latest design

By this PR, kepler action will be a trigger for local dev cluster and local dev cluster will be the place we design and impl the comments for set up our test env on a clean env.

https://github.com/sustainable-computing-io/aws_ec2_self_hosted_runner/pull/19 merge it as it is.


Validate calculation tree outputs

The changes made in #2625 are nominally working, but there's limited testing & validation, so there are probably still errors which we can and should be catching.
- [x] Add `xbrl_factoid` labels & node color legend to visualizations of `XbrlCalculationForest`
- [ ] Check whether orphaned nodes in all calculation forests are expected
- [ ] Check that trees disconnected from seed nodes aren't supposed to be connected.
- [ ] Add unit tests for tag and weight propagation
- [ ] Add unit tests `XbrlCalculationForest` construction
- [ ] Add unit tests for `XbrlCalculationForest` to `pd.DataFrame` output
- [ ] Check that all calculation components that appear in the exploded metadata also have their own record in the exploded metadata.
- [ ] When merging data & metadata identify any `xbrl_factoid` values that only appear in only one side or the other.
- [ ] Validate that calculations built from only leaf nodes produce reported root node values (requires additional dimensions)

Pruning Trees
income_statement_ferc1

Seems like there's a lot of nodes getting pruned from the electric operating expenses table. Is that expected?
Are there supposed to be so few nodes from depreciation_amortization_summary_ferc1?

Full Digraph:

Pruned Forest:

Orphaned nodes
There are some nodes which appear in the metadata, but not in the final output.  This could be fine, or it could be that they're disconnected because of remaining errors in the metadata. These lists exclude nodes whose xbrl_factoid ends with _correction or _member.
balance_sheet_assets_ferc1
balance_sheet_asset_orphans = [
    ("utility_plant_summary_ferc1", "utility_plant_in_service_classified"),
    ("utility_plant_summary_ferc1", "utility_plant_in_service_property_under_capital_leases"),
    ("utility_plant_summary_ferc1", "depreciation_amortization_and_depletion_utility_plant_in_service"),
]

balance_sheet_liabilities_ferc1
None! 🎉
income_statement_ferc1
income_statement_orphans = [
    ("electric_operating_revenues_ferc1", "forfeited_discounts"),
    ("electric_operating_revenues_ferc1", "miscellaneous_service_revenues"),
    ("electric_operating_revenues_ferc1", "sales_of_water_and_water_power"),
    ("electric_operating_revenues_ferc1", "rent_from_electric_property"),
    ("electric_operating_revenues_ferc1", "interdepartmental_rents"),
    ("electric_operating_revenues_ferc1", "other_electric_revenue"),
    ("electric_operating_revenues_ferc1", "revenues_from_transmission_of_electricity_of_others"),
    ("electric_operating_revenues_ferc1", "regional_transmission_service_revenues"),
    ("electric_operating_revenues_ferc1", "miscellaneous_revenue"),
    ("electric_operating_revenues_ferc1", "other_miscellaneous_operating_revenues"),
]

on the orphaned nodes
balance_sheet_assets_ferc1 w/ notes!
balance_sheet_asset_orphans = [
    ("utility_plant_summary_ferc1", "utility_plant_in_service_classified"), # expected bc we stranded these guys in favor of our new utility_plant_in_service_classified_and_unclassified
    ("utility_plant_summary_ferc1", "utility_plant_in_service_property_under_capital_leases"), # expected bc we stranded these guys in favor of our new utility_plant_in_service_classified_and_unclassified
    ("utility_plant_summary_ferc1", "depreciation_amortization_and_depletion_utility_plant_in_service"), # expected. A duplicate of 4 other fields, though this is not explicitly defined in the metadata.
]

All of these should be sub-components of a calculation for  other_operating_revenues.
income_statement_orphans = [
    ("electric_operating_revenues_ferc1", "forfeited_discounts"),
    ("electric_operating_revenues_ferc1", "miscellaneous_service_revenues"),
    ("electric_operating_revenues_ferc1", "sales_of_water_and_water_power"),
    ("electric_operating_revenues_ferc1", "rent_from_electric_property"),
    ("electric_operating_revenues_ferc1", "interdepartmental_rents"),
    ("electric_operating_revenues_ferc1", "other_electric_revenue"),
    ("electric_operating_revenues_ferc1", "revenues_from_transmission_of_electricity_of_others"),
    ("electric_operating_revenues_ferc1", "regional_transmission_service_revenues"),
    ("electric_operating_revenues_ferc1", "miscellaneous_revenue"),
    ("electric_operating_revenues_ferc1", "other_miscellaneous_operating_revenues"),
]

Okay, I've added a new calculation linking other_operating_revenues to these nodes. It was entirely missing from the XBRL metadata.

Regarding the nodes below: the utility_operating_expenses field of the income statement table should be a sum of all the operational expenses sub-totals from the electric operating expenses table. That's the calculation that is entirely commented out in pudl.src.ferc.transform (starting line 1569 or so) because the utility_operating_expenses also has a separate intratable calculation. We'd discussed having different calculations for the electric and non-electric dimensions of that field in the income statement table but we hadn't implemented a way to actually do this.

I've made a draft pr over here. I'm about to add in more explicit understanding of dimensions into this table. which i believe will pretty easily enable having different calculations for different sets of dimensions. (bc the effective primary key of this new table will be:
[
    "xbrl_factoid",
    "table_name",
    "xbrl_factoid_calculation_component", # halp me w/ this name plz
    "table_name_calculation_component", # halp me w/ this name plz
    "utility_type",
    "subdimension"
]

Soooo with an eye toward the future, I think adding these "utility": "electric" specific calculation components into

@zaneselvans the only remaining tasks in here are unit tests it seems. Because the bulk of this work has been long since done I'd recommend we close this unless there is any blocking concerns.

Ugh, yeah. I guess we just won't have tests until it breaks.


Kos builder

Before sending a pull request, please review Contribution Guidelines:
https://github.com/google/syzkaller/blob/master/docs/contributing.md

Hi Manasse,
I have updated kos.go (responsible for creating the VM and generating SSH to access it) by adding those two lines that I was missing. As for the executor, I have implemented only the first part (I'll add to this repo). As for the remaining part, Anna suggested to use pseudo syscalls, which I'll try to understand by tomorrow 😅😊

Hello @FahimaGold, great!

Could you please fix the CI before we merge. There is on failing Ci check.


Question: Is it possible to load an entire audio but only display waveform for the first 10 seconds?

Wavesurfer.js version(s):
6.1.0
Browser and operating system version(s):
Google Chrome, Mac OS 13.2
I am trying to use Wavesurfer to load an audio file, but only display the waveform for the first 10 seconds of the audio. The user should still be able to play the audio and listen to the entire thing. Is this possible?
I came up with a solution using the property minPxPerSecond. I know the waveform will be displayed in a container with a fixed width of 189 pixels. So I wrote the following component but it seems like the waveform still displays the entire audio. Is this approach valid or is there an alternative I should try?
const containerWidth = waveformRef.current.offsetWidth; // 189 pixels
const wavesurfer = WaveSurfer.create({
  container: waveformRef.current,
  hideScrollbar: true,
  height: 32,
  barMinHeight: 4,
  barWidth: 2,
  barRadius: 3,
  normalize: true,
  waveColor: mode === 'light' ? '#000000' : '#FFFFFF',
  progressColor: '#81E281',
  cursorColor: 'transparent',
  minPxPerSec: Math.ceil(containerWidth / 10), // Ensure that we use 19 pixels per second
});

In the parent component holding the waveform, I define it with overflow: hidden
<Box
  sx={{
    overflow: 'hidden',
    border: 'none',
  }}
>
  <Box ref={waveformRef} />
</Box>

Closing this issue, I found the solution:
Assign the property fillParent to false, and then fix the width of the parent component


reordered cards to surface CE/EE

What's changed

Reordered component cards on docs home page to surface CE/EE and de-emphasize  Cloud/UCP/DTR

fyi Reviewers

@johndmulhausen

Signed-off-by: Victoria Bialas<EMAIL_ADDRESS>

LGTM