ListView positioned in Stack isn't scrolling unless both boundaries of the Positioned widget are set

Hey, the title is basically self-explanatory. If I specify any position attribute (top, left, etc... ) the ListView inside the widget no longer scrolls. Widget in question is the one with top property = 0.
import 'package:flutter/material.dart';
import 'dart:ui';

class WorkoutStore extends StatefulWidget {
  @override
  State<StatefulWidget> createState() => _WorkoutStoreState();
}

class _WorkoutStoreState extends State<WorkoutStore> {
  final Map<String, dynamic> _textThemes = {
    "TileTitle":
        TextStyle(color: Colors.white, fontSize: 24.0, fontFamily: 'Neighbor'),
    "TileSubTitle":
        TextStyle(color: Colors.white70, fontSize: 12.0, fontFamily: 'Neighbor')
  };

  @override
  Widget build(BuildContext context) {
    return SingleChildScrollView(
        child: Column(
      mainAxisSize: MainAxisSize.min,
      children: <Widget>[
        Container(
          decoration: BoxDecoration(
              gradient: LinearGradient(
                  begin: Alignment.topLeft,
                  end: Alignment.bottomRight,
                  colors: [Colors.blue.shade900, Colors.red.shade900])),
          height: 200,
          child: Stack(
            children: <Widget>[
              Container(
                  child: ClipRect(
                      child: BackdropFilter(
                          filter: ImageFilter.blur(sigmaX: 10.0, sigmaY: 10.0),
                          child: Container(
                              decoration: BoxDecoration(
                                  color: Colors.grey.shade500
                                      .withOpacity(0.15)))))),
              Positioned(
                top: 0,
                  child: SizedBox(
                      height: 100,
                      child: ListView(
                        shrinkWrap: true,
                        scrollDirection: Axis.horizontal,
                        children: <Widget>[
                          ClipRRect(
                              borderRadius: BorderRadius.circular(5),
                              child: Container(
                                height: 100,
                                width: 200,
                                color: Colors.white70,
                              )),
                          ClipRRect(
                              borderRadius: BorderRadius.circular(5),
                              child: Container(
                                height: 100,
                                width: 200,
                                color: Colors.white70,
                              )),
                          ClipRRect(
                              borderRadius: BorderRadius.circular(5),
                              child: Container(
                                height: 100,
                                width: 200,
                                color: Colors.white70,
                              ))
                        ],
                      ))),
              Positioned(
                  top: 20,
                  left: 20,
                  child: Column(
                    crossAxisAlignment: CrossAxisAlignment.start,
                    children: <Widget>[
                      Text('Featured Workout', style: _textThemes["TileTitle"]),
                      Padding(
                          child: Text('Hottest workouts right now',
                              style: _textThemes["TileSubTitle"]),
                          padding: EdgeInsets.only(top: 5)),
                      Padding(
                          padding: EdgeInsets.only(top: 10), child: Container())
                    ],
                  )),
            ],
          ),
        )
      ],
    ));
  }
}

flutter doctor is fine:

[√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.18362.239], locale en-GB)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
[√] Android Studio (version 3.4)
[√] Connected device (2 available)

• No issues found!

same issue:(

@Hanousi You shouldn't put the scrollable widget in the Positioned part.
I removed the positioned after is working well.

@Hanousi first you are not defining Positions correctly values in double, secondly use 0.0 as the value you dont want to use the positioned, e.g from Second Positioned widget that is:
 Positioned(
                  top: 20,
                  left: 20,
                  child: SizedBox(
//what ever code is
)),

Replace it with this:
 Positioned(
                  top: 20.0,
                  left: 20.0,
right:0.0,
bottom:0.0

                  child: SizedBox(
//what ever code is)),
)
)

i hope it may help you, by the way it solved my issue

Same issue

Same issue

@eslamwael74 did you apply i mentioned here?

No but i'll try

@jabirishaq it's working good but I changed widgets tree to solve this issue and added above your mentioned
ThankYou ^_^

@eslamwael74 what exactly did you change? I'm still having issues with the ListView not scrolling in a Positioned widget.

@slagathor2094 care about your widgets tree, upload your code to help you!

What to do to enable scrolling on stacked positioned items ?

@mahmudtopu3 If the stack is outside the bounds of the parent widget, scrolling won't work. The workaround is to use an Overlay. https://api.flutter.dev/flutter/widgets/Overlay-class.html

@slagathor2094 If i place stack inside singlechildScrollview will it work? Or any standard way of doing this?

@slagathor2094 If i place stack inside singlechildScrollview will it work? Or any standard way of doing this?

Did you find solution? So far i only managed to do required positioning using margins. But it is not good solution.
@jabirishaq solution didn't worked for me. I am using Stack widget and positioning items inside!

I'll label this as documentation:
ListView isn't scrolling when positioned in Stack unless both boundaries of the Positioned widget respectively to the scrollDirection are set (left and right when scroll.Direction: Axis.horizontal)

Hi @Hanousi,
Although the original code sample you shared doesn't scroll the listview positioned in Stack, but looking at other comments, it doesn't seem to be a right way to use. Also, there are solutions mentioned in above comments.
https://github.com/flutter/flutter/issues/36584#issuecomment-518485457
https://github.com/flutter/flutter/issues/36584#issuecomment-554950474
which seems to resolve your issue.
I am going ahead and closing this as non-issue from Flutter side. If you disagree, write in comments and I'll reopen.
Thanks.

@jabirishaq answer solved my issue. Root cause is making sure all LRTB values are specified. You can still specify value as int if you want.


blender: no path-guided lighting support

Describe the bug
blender supports path guiding for better lighting results since 3.4. the nixos package does not support this, presumably due to missing dependencies (at least that's what the hydra logs make it look like)
Notify maintainers
@veprbl @cillianderoiste
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.41, NixOS, 23.11 (Tapir), 23.11.20230807.b367b9c`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.15.1`
 - nixpkgs: `/nix/store/ikmjxacwnd92gy39mrg8gm4fgn2di4kl-source`

Yes, after some quick digging, it looks like the path guiding is done by OpenPGL - which, as far as I know, currently doesn't exist on nixpkgs.


Do you want a PR for es6-capability / eslint?

I refactored this project to use eslint and es6 complexity-parsing capability. It is working well. Someone suggested I should make a pull request here, but I wanted to ask if you were even interested in having me actively maintain this project. If not I don't mind keeping it in my es6-plato project.
https://www.npmjs.com/package/es6-plato
I also updated all the npm dependencies (migrated lodash, etc)
Let me know!

@jsoverson I'm all in for supporting @the-simian to take on an active role of maintaining and improving Plato as I generally understand you are busy / working on other projects.
It should be noted that the existing mainline Plato release currently does support ES6+ via typhonjs-escomplex, but there are many potential enhancements for future usage which I'd be glad to collaborate and share knowledge with @the-simian for inclusion into the mainline Plato release regarding future feature enhancements.
I've been delayed myself with external concerns regarding my work on typhonjs-escomplex in the past month which provides the ES6+ support backing metrics gathering, but should be back at it soon working towards a definitive stable release which will only strengthen any future feature enhancements to Plato.
Another cool trending point is to see the Plato usage / adoption increase after the initial ES6 support via typhonjs-escomplex was added in August. See npm-stats for the uptick in downloads. I'd gather there is a good chance that Plato might cross 6k daily downloads in October which shows that a dedicated maintainer such as @the-simian might provide even more momentum.

hey @typhonrt I'm going to get some work on it soon, He did add me as a contributor this week. What I got on my repo fixes a lot of issues in this tracker, so I am going to pull that in ASAP and go from there. Thanks for your feedback :)

if you can, please sir. I would love to have es6+ (proper eslint) compatibility on this!

hey @Announcement , I will get my work merged in when i can, but int he meantime my es6-plato repo and npm module is active and working. That's the thing I'll be merging, so you can use that now if you need something : https://www.npmjs.com/package/es6-plato


_unquote received cookie values

async def run_async():
    async with StreamSession() as session:
        async with session.get("https://httpbin.org/cookies/set/test/;") as response:
            response.raise_for_status()
        async with session.get("https://httpbin.org/headers", cookies={"test2": ";"}) as response:
            print(await response.text())

asyncio.run(run_async())

with fix:
{
  "headers": {
    "Accept": "*/*",
    "Accept-Encoding": "gzip, deflate, br",
    "Cookie": "test2=;; test=;",
    "Host": "httpbin.org",
    "X-Amzn-Trace-Id": "Root=1-658d99f2-20a0e91a0f976a473a0ff84d"
  }
}

without fix:
{
  "headers": {
    "Accept": "*/*",
    "Accept-Encoding": "gzip, deflate, br",
    "Cookie": "test2=hello2; test=\"\\073\"",
    "Host": "httpbin.org",
    "X-Amzn-Trace-Id": "Root=1-658d9984-543c3106592aea7d519449d9"
  }
}


fix(tooltip): added missing props

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 remained the same at 82.436%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5092

Relevant Lines:
5738

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 82.436%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5092

Relevant Lines:
5738

💛  - Coveralls


Python throws KeyError: 'taxii' error when starting medallion

Hey all,
I'm trying to spin up a test TAXII server for a project. I found this implementation and decided to give it a go instead of rolling my own.
The problem
When I run medallion config.json, I get the following error:
Traceback (most recent call last):
  File "/usr/bin/medallion", line 11, in <module>
    sys.exit(main())
  File "/usr/lib/python3.6/site-packages/medallion/scripts/run.py", line 78, in main
    set_config(application_instance, "taxii", configuration)
  File "/usr/lib/python3.6/site-packages/medallion/__init__.py", line 39, in set_config
    flask_application_instance.taxii_config = config[prop_name]
KeyError: 'taxii'

Setup steps performed
I followed the instructions in the Installation and Usage sections to set up medallion:

I installed python3.6 and pip3.6
I ran sudo pip3.6 install medallion
I created my config file based on the Usage instructions (see below)
I ran medallion config.json, which produced the error reported above.

Config file:
{
     "backend": {
        "module": "medallion.backends.mongodb_backend",
        "module_class": "MongoBackend",
        "uri": "mongodb://localhost:27017/"
     },
    "users": {
       "admin": "Password0",
       "user1": "Password1",
       "user2": "Password2"
    }
}

Notes

OS: Centos 7.6
Python version: 3.6.8
medallion version: 0.4.0

Any ideas how to get around this?
Thanks in advance!

Hi @jtcotton63, thanks for the detailed bug report. The code is expecting a taxii section in the config, like you can see in the sample config file. We need to fix it to work when with some defaults when some config values aren't present, but in the meantime you can try adding the following to your config file:
"taxii": {
      "max_page_size": 100
}

That fixed it! Thanks for the prompt response @clenk!


Wrong use of vl_argparse

Hello author, when I trained run_exp.m according to your steps, I found that "vl_argparse" was wrong. How should I solve this problem?

This is problem is mainly related to MatConvNet, which I haven't used for a long time. I am sorry I can't help you.

Thank you, the problem has just been solved. The problem with the function call is that there is a function with the same name


#994 Issue trying to open parent and children nodes while using lazy loading

Hello this issue is referring to the issue i made before (#994). The answer there wasn't the solution for me which is why I am creating this issue.
I tried the solution in the referred issue but it is not working for me. Here is my setup:
For example i have a node with id "/branches" and one which is a child with id "/branches/Bug".
So I am trying your code like:
$('#treeview').jstree(true)._load_node(['/branches'], function () { //Also tried with # too
  this.select_node("/branches/Bug");
});

I receive an error like this: https://localhost:8443/ETLTool/serverInterface.jsp?childsForId=undefined 500 (Internal Server Error)
This is how i initialize my jstree :
	$("#treeview").jstree({
		"plugins": ["types", "wholerow","state"],
		"types": {
			"folder": {
				"icon": "./images/folder.png"
			},
			"file": {
				"icon": "./images/file.png"
			}
		},

		"core": {
			"data": {
				"url": function(node) {

					if($("#treeDatasourceSelect").val() == "SVN") {
						if (node.id === "#") {
							return showOnlyScripts ?  "serverInterface.jsp?getRootScripts=YES"
									: "serverInterface.jsp?getRoot=YES";

						} else {
							console.log(node);
							return showOnlyScripts ? "serverInterface.jsp?scriptsForId=" + node.id
									:"serverInterface.jsp?childsForId=" + node.id;

						}
					}
					else {
						if (node.id === "#") {
							return"serverInterface.jsp?explorerRoot=YES";

						} else {
							return "serverInterface.jsp?explorerChildsForId=" + node.id;

						}
					}
				},
				"data": function(node) {

						return {
							"id": node.id
						}

				}
			}
		}
	});

What could also be interesting in order to find the mistake here is, that when i add and if statement to the url configuration like so:
 if (node.id != undefined) {...} the error of course goes away but I am confronted with this error here:
 Uncaught TypeError: Cannot assign to read only property 'children' of false

Try _load_nodes - it was a typo in the original answer, please keep the discussion in a single thread - I will reopen it if needed.
As for your data - there is something wrong with it - obviously there is no node with that ID.
Best regards,
Ivan

Just reporting that this solved the issue for me. It just was the missing s in the method name.. Damn javascript... :+1:


[SPARK-36946][PYTHON] Support time for ps.to_datetime

What changes were proposed in this pull request?
Support time for ps.to_datetime
Why are the changes needed?
ps.to_datetime does not support time elements
# pandas
df_pan = pd.DataFrame({'year': [2015, 2016], 'month': [2, 3], 'day': [4, 5], 'hour': [2, 3], 'minute': [10, 30], 'second': [21,25]})
df_pan['datetime'] = pd.to_datetime(df_pan[['year', 'month', 'day', 'hour', 'minute']])
df_pan

   year  month  day  hour  minute  second            datetime
0  2015      2    4     2      10      21 2015-02-04 02:10:00
1  2016      3    5     3      30      25 2016-03-05 03:30:00

# pandas on spark
df_test = ps.DataFrame({'year': [2015, 2016], 'month': [2, 3], 'day': [4, 5], 'hour': [2, 3], 'minute': [10, 30], 'second': [21,25]})
df_test['datetime'] = ps.to_datetime(df_test[['year', 'month', 'day', 'hour', 'minute']])
df_test

   year  month  day  hour  minute  second   datetime
0  2015      2    4     2      10      21 2015-02-04
1  2016      3    5     3      30      25 2016-03-05

Does this PR introduce any user-facing change?
Yes.
After that
# pandas on spark
df_test = ps.DataFrame({'year': [2015, 2016], 'month': [2, 3], 'day': [4, 5], 'hour': [2, 3], 'minute': [10, 30], 'second': [21,25]})
df_test['datetime'] = ps.to_datetime(df_test[['year', 'month', 'day', 'hour', 'minute']])
df_test

   year  month  day  hour  minute  second            datetime
0  2015      2    4     2      10      21 2015-02-04 02:10:00
1  2016      3    5     3      30      25 2016-03-05 03:30:00

How was this patch tested?
Unit test

Test build #143984 has started for PR 34211 at commit 46d22a6.

cc @HyukjinKwon @itholic @ueshin @xinrong-databricks FYI

Test build #144074 has finished for PR 34211 at commit c27ac5b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

cc @MaxGekk, can you pls take another look?

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144227/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48707/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48707/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48714/


Improve Type Hints

Type hinting is inconsistent throughout the code.
We should aim to improve this and make it more consistent and thus, useful in development.
To check which functions have missing hints or hints are not appropriate we can rely on the usage of mypy.  We can run the following to have an overview:
mypy giza_actions --disallow-untyped-defs

This will show multiple hinting errors that we should aim to solve.
We can omit the errors coming from external packages that do not have type hints, for example:
giza_actions/utils.py:5: error: Skipping analyzing "giza": module is installed, but missing library stubs or py.typed marker  [import-untyped]```

Hello, can I work on this one? Is there any group to ask questions about this issue?

Hey! Yes here is the Telegram link

Fixed in #44


Update discord.rovelstars.com display

This list has been using anti-consumer and privacy invasive practices and should be hidden from botblock for now.
The owner has aknowledged at one point they were logging user ips for users that login to a discord channel which the owner has said he removed, scraping data from other botlist and adding bots to his list without the bot owners consent and various other stuff that has been discussed.

@MattIPv4 pretty sure you already told before that botblock.org doesn't participate in playing the role of web police. So why this? Root has transferred fates database to RDL, and that doesn't mean RDL itself scraped it from other lists. Infact its quite the opposite. So I kindly request to revert this commit. Builderb hates me, and that is by no means valid reason; consider using the correct terms when asked to - RDL didnt scrape. Database from fates has been transferred to RDL under Root's ownership.


cks: Fix when deployed on a nw without internet access

Description
Fixes the issue of CKS clusters not being able to come up in a network without internet access by :

Loading the images in the k8s.io namespace
Setting the sandbox image of containerd to the pause image required by the current kube version

Types of changes

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

Bug Severity

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

How Has This Been Tested?
TODO

@blueorangutan package

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

@blueorangutan package

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

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

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

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

Test
Result
Time (s)
Test File

@blueorangutan test

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

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

Test
Result
Time (s)
Test File

test_01_add_primary_storage_disabled_host
Error
0.61
test_primary_storage.py

test_01_primary_storage_nfs
Error
0.11
test_primary_storage.py

ContextSuite context=TestStorageTags>:setup
Error
0.19
test_primary_storage.py

test_DeployVmAntiAffinityGroup
Error
44.49
test_affinity_groups.py

test_01_secure_vm_migration
Error
152.76
test_vm_life_cycle.py

test_02_unsecure_vm_migration
Error
270.52
test_vm_life_cycle.py

test_03_secured_to_nonsecured_vm_migration
Error
141.64
test_vm_life_cycle.py

test_08_migrate_vm
Error
41.56
test_vm_life_cycle.py

test_DeployVmAntiAffinityGroup_in_project
Error
77.16
test_affinity_groups_projects.py

test_02_list_snapshots_with_removed_data_store
Error
8.36
test_snapshots.py

test_02_list_snapshots_with_removed_data_store
Error
8.36
test_snapshots.py

test_03_deploy_and_scale_kubernetes_cluster
Failure
30.73
test_kubernetes_clusters.py

test_07_deploy_kubernetes_ha_cluster
Failure
57.24
test_kubernetes_clusters.py

test_08_upgrade_kubernetes_ha_cluster
Failure
38.86
test_kubernetes_clusters.py

test_09_delete_kubernetes_ha_cluster
Failure
35.79
test_kubernetes_clusters.py

ContextSuite context=TestKubernetesCluster>:teardown
Error
118.14
test_kubernetes_clusters.py

test_hostha_enable_ha_when_host_in_maintenance
Error
303.83
test_hostha_kvm.py

Env related failures. Have re-run the cks related tests, all passing
Test to check for failure while tying to upgrade a Kubernetes cluster to a lower version ... === TestName: test_01_invalid_upgrade_kubernetes_cluster | Status : SUCCESS ===
ok
Test to deploy a new Kubernetes cluster and upgrade it to newer version ... === TestName: test_02_upgrade_kubernetes_cluster | Status : SUCCESS ===
ok
Test to deploy a new Kubernetes cluster and check for failure while tying to scale it ... === TestName: test_03_deploy_and_scale_kubernetes_cluster | Status : SUCCESS ===
ok
Test to enable autoscaling a Kubernetes cluster ... === TestName: test_04_autoscale_kubernetes_cluster | Status : SUCCESS ===
ok
Test to deploy a new Kubernetes cluster ... === TestName: test_05_basic_lifecycle_kubernetes_cluster | Status : SUCCESS ===
ok
Test to delete an existing Kubernetes cluster ... === TestName: test_06_delete_kubernetes_cluster | Status : SUCCESS ===
ok
Test to deploy a new Kubernetes cluster ... === TestName: test_07_deploy_kubernetes_ha_cluster | Status : SUCCESS ===
ok
Test to upgrade a Kubernetes cluster to newer version ... === TestName: test_08_upgrade_kubernetes_ha_cluster | Status : SUCCESS ===
ok
Test to delete a HA Kubernetes cluster ... === TestName: test_09_delete_kubernetes_ha_cluster | Status : SUCCESS ===
ok

----------------------------------------------------------------------
XML: /root/results.xml
----------------------------------------------------------------------
Ran 9 tests in 1952.280s

OK


Reworks v0.11.0 changelog (fixes #60)

See #60; groups and rewords recent entries.

Looks great! Should we also add the recommended note on top, mentioning the versioning scheme (SemVer) and changelog format?

Good idea, I added a brief mention of both. For me this PR is ready for merge - agreed?

Yup, LGTM 👍


Update architecture.md

fix link to mesheryctl docs
Notes for Reviewers
This PR fixes #
Signed commits

[x] Yes, I signed my commits.

🚀 Preview for commit 9a941933156c0e7c5fb2dac79926227b08347482 at: https://64aadc147ed34f3f0a2eb148--meshery-docs-preview.netlify.app

Yay, @abdellani! 🎈


Update Component Browser List filtering.

The old filter should be simplified: the types and method shall not be in the list in any case. The entire input should be treated as filter, and spaces should match _ in names. Only the last part of the qualified name should be matched (so inserting logic could be simplified to just add the last QN segment (with import) and the name, instead of substituting all QN parts).

Refinement notes:

The parts of filtering logic which would not be used anymore should be removed - it's likely they won't be used anymore, and they will be in git history if needed.
Also the logic in input.ts will be pruned significantly


fix: copy css into package

Copy css into package folder when running build:package. Currently importing LogsReact breaks as the components.

 try to import their corresponding css files.

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

GitHub release
1.0.3
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


document or hide path_fragments functions

The two functions assemble_a_path_from_fragments and assemble_path_fragments need to be much better documented, or perhaps made into internal functions.
I don't understand what it means to "assemble" the paths.   And I can't tell what the difference is between the two.   Is it simply that one gives you a list of unused fragments when it's done?   Are the paths given as input supposed to have endpoint?   Is it OK if some of them are reversed?

hidden


Code distribution is large

Because the screenshot PNG is included with the code, the downloaded program is too big to fit on a CC floppy disk. Maybe move the image to a separate branch?

I updated the screenshot and its file size is now much smaller.


Small improvements to german translation.

Adding to the work of @flubshi . #120

@flubshi Can you please sign off on this? Thanks!


write built packages to file

This is useful for e.g. running nix copy after the build. Only packages that do not have preferLocalBuild = true are written to avoid copying useless paths to a cache.
This real world example is already making use of this changeset:
https://github.com/nrdxp/nrdos/blob/master/.github/actions/nix/run.sh

Btw. I am using --check-cache-status in nix-eval-jobs as a replacement for nix-build-uncached, so I personally don't really have a use for this project anymore.

also check out nix-fast-build. Maybe it already does what you need (needs flakes though).


Replace property tree object with boost property tree

Boost already supports a property tree object that can handle xml reading,there is no need to have our own.

https://www.boost.org/doc/libs/1_69_0/doc/html/property_tree.html

Do you want to wrap it in the property class or do you want to change it everywhere?. Can we just cleverly wrap it there and be done?

I don't really care, this is not a priority. I just know that the boost library will probably be better supported moving forward.

we could also switch from xml to json in a heartbeat

After all the reworking with property class, I do not think this rework is sensible or usefule anymore


Ignore dreaded mediapipe URL

For some reason this one URL does not pass link check. I don't know why.

Huh, the link checker does not run when modifying the link checker's config :zany_face:

Hallelujah


Add pull request number to URL when preview is triggered via GHA

If Uffizzi has been configured from our UI, then deployments that are triggered by pull requests are of the format:
https://pr-<issue-number>.foo.bar.app.uffizzi.com
However, if the user has configured Uffizzi via GitHub Actions, then deployments that are triggered by pull requests are of the format:
https://foo.bar.app.uffizzi.com
We should make these formats consistent. Add the PR number to the URL when previews are triggered from GitHub Actions.

To test:
Use the CLI version from branch feature/136_metadata_for_previews.
Run preview creation with GitHub labels.
uffizzi preview create --set-labels="github.pull_request.number=<NUMBER> github.repository=<ORGANIZATION_NAME/REPOSITORY_NAME>"

Create a preview without a label and pull request number
Create a preview with label and pull request number
Check parse of GitHub repository name (Name may only contain alphanumeric characters or single hyphens, and cannot begin or end with a hyphen). Check if the name with this condition parses well.
Create a preview without a label and pull request number and update this preview without a label and pull request number
Create a preview without a label and pull request number and update this preview with a label and pull request number
Create a preview with a label and pull request number and update this preview with a label and pull request number

tested.
Steps:
1.send a command with only one of the values.
(either with pull_request.number / or github.repository),
Actual result:

the console displays the error "undefined method `[]' for nil:NilClass" .
starts a preview run with infinite loader.
Expected result: return error to be readable format.
P.S. maybe in this case, the preview should not be started.
(it will not be created).

![image](https://user-images.githubusercontent.com/110913994/185987286-b063748f-04e9-4206-84f2-42052a9e0dad.png)

Tested. OK. Preview is created, errors removed.

TESTED on prod - OK.


Hook up SonarQube on Pipeline

Putting on the Fall 2022 board just to keep tabs, timeline for getting it actually done TBD.
✅ DEVOPS ticket created: https://carnegielearning.atlassian.net/browse/DEVOPS-2417

SonarQube in the pipeline! Moving to Done


Images should be rebuilt with the release tag

The release process currently retags images:

for the first GA, the last RC images are retagged (to avoid unintended changes being released)
for any other release, the last images built on the appropriate release branch are retagged

Now that binaries embed version information, this results in misleading information being shown to users, e.g. using subctl show versions. For example in https://github.com/submariner-io/subctl/issues/971, the RC1 images were tagged using the last built image on the 0.16 branch, embedding the commit information from those images instead of 0.16.0-rc1 (e.g. release-0.16-d1b6c9e194f8 for the gateway and route-agent images), and reproducing that for the GA images instead of 0.16.0. As a result, even though the setup is correctly running 0.16.0 images, that is not apparent.
Limiting the risk of releasing images with unintended changes is still desirable, so fixing this isn’t as simple as building the relevant branch.

One possible solution here would be to change the various programs that report their versions to look for an /app/version file, and if present, use that instead of their compiled-in version. Then, during release, the images can get an additional layer with only the correct /app/version file (and only an additional layer — in particular, the base image must not change). Ideally programs reporting their version should also provide a way to obtain their commit hash, to verify that they haven’t been changed since the RCs. The image layers can also be checked (the hashes of all the layers apart from the last one should match the RCs).


Add parity between Store convenience initializers and previewStore.

In version 2.0.1. A convenience initializer was added for storing items that conformed to Identifiable where ID was a UUID. This was a small, but great improvement for developer convenience, however the previewStore was not updated to provide similar functionality.
This PR simply extends previewStore with two additional functions that eschew the need to specify an ID key path when the item is Identifiable where ID is either a String or a UUID

This is a really nice quality of life improvement, thank you so much for making this change @connor-ricks!


Add unit test case for func HasAlertingRules in manager.go

Signed-off-by: Guangwen Feng<EMAIL_ADDRESS>

Thanks!


Document process for changing membership of Finance Committee

Add to the Finance Committee procedure document what needs to be done when the membership of the committee changes.

This is now done in https://github.com/astropy/project/blob/master/finance/finance-ctte-procedures.rst


Error Handling: Files Not Found

Browser: Safari Mac, Version 16.2 (186<IP_ADDRESS>.5)
I was trying to get this to work with a re-created zip file and the tool couldn't find data/manifest.js, generating an Unhandled Promise Rejection at line 268. Easy fix on my part, but better error handling would be nice (at a fairly low priority level, since the path I took to get there was low probability). Zip file available on request if you'd find it useful.
Sorry I don't know enough JS to feel confident taking a shot at this!

Thanks Bryant, I'll probably poke at this later this week.

Fixed in 9463c3a

I'm getting the error in the above screenshot now.

Steps to reproduce:

Unzip twitter archive unzip mytwitterarchive.zip -d mytwitterarchive
Move data/tweets_media/ mv mytwitterarchive/data/tweets_media/ .
Rezip the archive without the data/tweets_media in it zip -r mysmallertwitterarchive.zip mytwitterarchive/

mysmallertwitterarchive.zip is 792 megabytes
gobborg@lemur4:~/Downloads$ ls -lh mysmallertwitterarchive.zip
-rw-r--r--    1 gobborg  gobborg   792.0M Aug  3 08:32 mysmallertwitterarchive.zip

Environment info:
Firefox on Linux.
gobborg@lemur4:~/Downloads$ apk info firefox
firefox-109.0.1-r0 description:
Firefox web browser

firefox-109.0.1-r0 webpage:
https://www.firefox.com/

firefox-109.0.1-r0 installed size:
216 MiB

gobborg@lemur4:~/Downloads$ uname -a
Linux lemur4 5.15.120-0-lts #1-Alpine SMP Wed, 05 Jul 2023 18:59:57 +0000 x86_64 Linux
gobborg@lemur4:~/Downloads$ apk info zip
zip-3.0-r10 description:
Creates PKZIP-compatible .zip files

zip-3.0-r10 webpage:
http://www.info-zip.org/pub/infozip/Zip.html

zip-3.0-r10 installed size:
412 KiB

gobborg@lemur4:~/Downloads$ apk info unzip
unzip-6.0-r13 description:
Extract PKZIP-compatible .zip files

unzip-6.0-r13 webpage:
http://www.info-zip.org/UnZip.html

unzip-6.0-r13 installed size:
320 KiB


Support for HTTPS

Added support for HTTPS.
Optional certificate validation.
Now defaults to connect over HTTPS with validation.

@cgarwood, any chance to take a look at this merge request? I have the dependent integration working over HTTPS.

Since Fully Kiosk Browser's remote admin is non-https by default, I think we should still default to HTTP instead of HTTPS, but otherwise looks good 👍

@cgarwood, defaulted to HTTP as suggested. If you merge, please let me when it is published to Pypy to submit the pull request for Fully Kiosk in HA. Thanks!

Publishing to PyPi as 0.0.12: https://github.com/cgarwood/python-fullykiosk/actions/runs/3559698634


NoMethodError:  undefined method `has_prioritized_status?' for nil:NilClass

Hi, I wanted to used it with our rspec test suite using FB_TRACE=1 bundle exec rspec and after tests finished I get the following exception.
An error occurred in an `after(:suite)` hook.
Failure/Error: return if trait.has_prioritized_status?(status)

NoMethodError:
  undefined method `has_prioritized_status?' for nil:NilClass
# /Users/Aqualon/.rvm/gems/ruby-2.6.2/gems/factory_trace-0.3.1/lib/factory_trace/processors/find_unused.rb:88:in `mark_trait'
# /Users/Aqualon/.rvm/gems/ruby-2.6.2/gems/factory_trace-0.3.1/lib/factory_trace/processors/find_unused.rb:103:in `block in mark_declarations'
# /Users/Aqualon/.rvm/gems/ruby-2.6.2/gems/factory_trace-0.3.1/lib/factory_trace/processors/find_unused.rb:99:in `each'
# /Users/Aqualon/.rvm/gems/ruby-2.6.2/gems/factory_trace-0.3.1/lib/factory_trace/processors/find_unused.rb:99:in `mark_declarations'
# /Users/Aqualon/.rvm/gems/ruby-2.6.2/gems/factory_trace-0.3.1/lib/factory_trace/processors/find_unused.rb:80:in `mark_factory'
# /Users/Aqualon/.rvm/gems/ruby-2.6.2/gems/factory_trace-0.3.1/lib/factory_trace/processors/find_unused.rb:40:in `block in mark_as_used'
# /Users/Aqualon/.rvm/gems/ruby-2.6.2/gems/factory_trace-0.3.1/lib/factory_trace/processors/find_unused.rb:38:in `each'
# /Users/Aqualon/.rvm/gems/ruby-2.6.2/gems/factory_trace-0.3.1/lib/factory_trace/processors/find_unused.rb:38:in `mark_as_used'
# /Users/Aqualon/.rvm/gems/ruby-2.6.2/gems/factory_trace-0.3.1/lib/factory_trace/processors/find_unused.rb:11:in `call'
# /Users/Aqualon/.rvm/gems/ruby-2.6.2/gems/factory_trace-0.3.1/lib/factory_trace.rb:43:in `stop'
# /Users/Aqualon/.rvm/gems/ruby-2.6.2/gems/factory_trace-0.3.1/lib/integrations/rspec.rb:3:in `block (2 levels) in <top (required)>'

Hey, thank you for pointing this out. Let me check and I'll try to fix it ASAP.

I think I've found a problem and fix it in https://github.com/djezzzl/factory_trace/pull/10.
Could you please update the gem to latest version (0.3.2) which has this bug fixed? And let me know if it's not.
Thank you!

@djezzzl I was trying out this gem today on a project (installed version 0.3.2) and still see

Hey @jhirbour, thank you for pointing this out. Could you please share a full stack trace of the error? And please share the way how did you get it? (what command precisely?)

I just installed version 0.4.1 this morning and encountered the same error message.
$ FB_TRACE_FILE=log/factory_trace.txt bundle exec rspec
...
An error occurred in an `after(:suite)` hook.
Failure/Error: return if factory.has_prioritized_status?(status)

NoMethodError:
  undefined method `has_prioritized_status?' for nil:NilClass
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/factory_trace-0.4.1/lib/factory_trace/processors/find_unused.rb:74:in `mark_factory'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/factory_trace-0.4.1/lib/factory_trace/processors/find_unused.rb:40:in `block in mark_as_used'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/factory_trace-0.4.1/lib/factory_trace/processors/find_unused.rb:38:in `each'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/factory_trace-0.4.1/lib/factory_trace/processors/find_unused.rb:38:in `mark_as_used'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/factory_trace-0.4.1/lib/factory_trace/processors/find_unused.rb:11:in `call'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/factory_trace-0.4.1/lib/factory_trace.rb:53:in `stop'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/factory_trace-0.4.1/lib/integrations/rspec.rb:3:in `block (2 levels) in <top (required)>'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:355:in `run'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2080:in `block in run_suite_hooks'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2078:in `each'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2078:in `run_suite_hooks'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2010:in `with_suite_hooks'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.8.2/exe/rspec:4:in `<top (required)>'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/bin/rspec:23:in `load'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/bin/rspec:23:in `<top (required)>'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.16.3/lib/bundler/cli/exec.rb:74:in `load'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.16.3/lib/bundler/cli/exec.rb:74:in `kernel_load'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.16.3/lib/bundler/cli/exec.rb:28:in `run'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.16.3/lib/bundler/cli.rb:424:in `exec'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.16.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.16.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.16.3/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.16.3/lib/bundler/cli.rb:27:in `dispatch'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.16.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.16.3/lib/bundler/cli.rb:18:in `start'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.16.3/exe/bundle:30:in `block in <top (required)>'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.16.3/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.16.3/exe/bundle:22:in `<top (required)>'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/bin/bundle:23:in `load'
# /Users/cdemyanovich/.rbenv/versions/2.1.2/bin/bundle:23:in `<main>'
#
#   Showing full backtrace because every line was filtered out.
#   See docs for RSpec::Configuration#backtrace_exclusion_patterns and
#   RSpec::Configuration#backtrace_inclusion_patterns for more information.

Some environment information:
$ ruby -v
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin17.0]

Rails 3.2.13
factory_bot_rails 4.11.1
Please let me know if any other information would be helpful. Thanks!

Hi @cdemyanovich, thank you for pointing this out. May I ask you to share your trace with me so I can debug please?
You can gather it by running this command:
FB_TRACE=trace_only FB_TRACE_FILE=fb_trace_result.json bundle exec rspec
And then attach the file please, so I can investigate.

@djezzzl Here's the trace. I obfuscated some names to protect my client, but I hope the trace is still useful. Thanks!
fb_trace_result.json.zip

Thank you! I'll have a look soon.

I obfuscated some names to protect my client
Thanks, just hope that you did it properly, otherwise, I can get errors like you had and it won't be possible to find a problem =)

I replaced various parts of names with repeated "x" characters. If that won't work, I can reattach the file with alternate names.

That should be fine, the only requirement is you didn't create confusions. Like abc -> x and bfds -> x. Or like abc -> x and sometimes abc -> xx.

Hey @cdemyanovich, sorry for a long response. After debugging your trace file, I found weird case:
You've used factory with name us but it's not defined. That's why you get that error message.
{
        "names": [
          "us"
        ],
        "traits": [

        ],
        "parent_name": null,
        "declaration_names": [

        ],
        "definition_path": null
      }

Could you manually check what is this us? How is it used/defined?

I wasn't familiar with this factory, even though I've worked on this project for almost 2 years!
I found a definition like this:
FactoryBot.define do
  factory(:subsidiary_config_support, class: OpenStruct) do
    # lots of attributes

    # lots of traits

    trait :us do
      # lots of attributes
    end

    factory :us, traits: [:us]
    # lots of other factories defined by a list of traits
  end
end

I hope that helps. Please let me know if there's any other information that I can provide.

Sorry for not reporting back earlier, tried out latest 0.4.1 version and it works fine.

In one of my earlier comments, I mentioned that 0.4.1 is the version that I installed and that didn't work for me. What do you mean by "tried out latest 0.4.1 version and it works fine"?

@cdemyanovich he meant that 0.4.1 resolves his issue. It doesn't relate to yours :)

Ah. I didn't look at who responded before I responded. I'm sorry about that, everyone.

Hi @cdemyanovich, sorry that my response take so long time.
After digging into that case, I can't reproduce it even with the structure you've provided. I mean, in my output, there are always everything defined properly (nothing skipped).
I could suggest you and I think this is a good practice, is to have everything defined with uniq name. This should prevent you from any possible issues.
Let me know if that doesn't help.
Have a great day 👍


fixdphyper join reorder use wrong method to get hash and other conjuncts

Proposed changes
should use getHashJoinConjuncts() and getOtherJoinConjuncts() to get hash and other conjuncts of hash join node instead of categorizing them by checking if it's 'EqualTo' expression

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.61 seconds
stream load tsv:          512 seconds loaded<PHONE_NUMBER>9 Bytes, about 139 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          29.3 seconds inserted 10000000 Rows, about 341K ops/s
storage size:<PHONE_NUMBER>4 Bytes

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.12 seconds
stream load tsv:          538 seconds loaded<PHONE_NUMBER>9 Bytes, about 132 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          99.4 seconds inserted 10000000 Rows, about 100K ops/s
storage size:<PHONE_NUMBER>7 Bytes


[REQUEST] Add support - Roccat Nyth

Hi,
Because that the Roccat Nyth is a modular mouse, There's no "Right" profile for it.
If you could add it, it'll be great.
Device ID

I second the Roccat Nyth support. Is there anything you can assign me that could help you achieve getting this device supported?


Add docs around setFromVariant helper

#130  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rbro112 and the rest of your teammates on  Graphite


Function failed on loading user code

While trying to get a hello world sample working, I saw an error with functions loading user code.
Could this repo have step-by-step instructions for hello world? These are my rough steps to reproduce:
gcloud auth login
gcloud auth application-default login
gcloud config set project 'YOUR-AWESOME-PROJECT' # changed
npm i -g .
mkdir testgcx && cd testgcx
# Download index.js & package.json into this dir
gcx deploy myhook --runtime nodejs10 --trigger-http

Output:
gcx deploy myhook --runtime nodejs10 --trigger-http

    🤖 I generated a '.gcloudignore' file in the target directory.
       This file contains a list of glob patterns that should be ingored
       in your deployment. It works just like a .gitignore file 💜

🤖 Deployment initialized.
📦 Source code packaged.
🛸 Source uploaded to cloud.
⠙ Deploying function...Error: {"code":3,"message":"Function failed on loading user code. Error message: Error: cannot communicate with function."}
    at Deployer._poll (/Users/timmerman/Downloads/testgcx/gcx/build/src/index.js:82:19)
    at process.internalTickCallback (internal/process/next_tick.js:77:7)

I got this error
### Function failed on loading user code. This is likely due to a bug in the user code. Error message: Error: please examine your function logs to see the error cause
But I don't know how to resolve it. I checked the name of the function, but it's the same as my local one.
I verified the code locally and there is no errors. So I hope someone can help me with it


Aggregate improvements.

Introduce a RandomDistribution protocol that unifies all random distribution classes in the library.
Clean up tensor initializers to reduce code duplication.
Add identity(_:) function.
Make two Context initializers be required since they can be subclassed.
Enhance Layer methods and make backward-compatible.

Introduce inferring(from:), which is equivalent to applied(to:in:) with a default inference context.
Add back applied(to:) that simply calls inferring(from:). Add a deprecation warning that tells people to switch to either applied(to:in:) or inferring(from:).
Rename Layer.valueWithPullback(at:in:) to appliedForBackpropagation(to:in:) to ease the learning curve.

Improve documentation on everything.

I'm gonna merge now to unblock progress. Comments welcome!
I'm going to merge each commit instead of squashing here, because each commit in this PR is completely functionally independent and has a more descriptive commit message.


Create Backoff+Circuit-Breaker Strategy

A Backoff Strategy needs to temporarily halt the flow of all launches with increasing (exponential?) delays (to support the case that one failing launch indicates that further launches will also fail).
A Circuit-Breaker Strategy needs to permanently halt the flow of launches and give some global failure feedback.

Interface should align with the others in https://github.com/cefn/watchable/tree/main/packages/nevermore/src/strategies allowing Backoff and CircuitBreaker strategies to be composed in strategy pipelines.

This was completed in https://github.com/cefn/watchable/pull/67


Meaning of "error"

Section 4.3.1 ("Addressing and Memory Protection") says: "Note that failing to mark a global mapping as global merely reduces performance, whereas marking a non-global mapping as global is an error."
It is unclear what is meant by "error" in this context.  In general, the document should be clear when distinguishing software bugs from hardware-detected error conditions.  Since the former is almost certainly what is meant here, can the wording be changed to "...marking a non-global mapping as global is a software bug" or something similar?
I notice a similar situation in <IP_ADDRESS>: "In practice, such settings would almost always be an error"
I also suggest "software bug" here.
Other uses of the word "error" seem unambiguous where it is either a noun with an appropriate adjective (e.g., "hardware error") or it is an adjective modifying an appropriate noun (e.g., "error responses from slave devices").
Thanks,
-Paul

In this case, it means “software did the wrong thing.” The vagueness is
because the hardware takes no corrective action.
On Mon, Apr 8, 2019 at 10:04 AM pdonahue-ventana<EMAIL_ADDRESS>wrote:

Section 4.3.1 ("Addressing and Memory Protection") says: "Note that
failing to mark a global mapping as global merely reduces performance,
whereas marking a non-global mapping as global is an error."
It is unclear what is meant by "error" in this context. In general, the
document should be clear when distinguishing software bugs from
hardware-detected error conditions. Since the former is almost certainly
what is meant here, can the wording be changed to "...marking a non-global
mapping as global is a software bug" or something similar?
I notice a similar situation in <IP_ADDRESS>: "In practice, such settings
would almost always be an error"
I also suggest "software bug" here.
Other uses of the word "error" seem unambiguous where it is either a noun
with an appropriate adjective (e.g., "hardware error") or it is an
adjective modifying an appropriate noun (e.g., "error responses from slave
devices").
Thanks,
-Paul
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-isa-manual/issues/365, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA-7wjJW_5VggpHe2MYUozXCHa4oFODjks5ve3Z0gaJpZM4ciq2c
.

Thanks for the suggestions; hopefully the edits address your concerns.

Perfect.  Thank you.


Cannot use setTotalRecords with jenssegers mongodb

Summary of problem or feature request
Expected limit option to have type "integer" but found "string"
I got this message when i try run the code below

Code snippet of problem
$options =Option::query(); return \Yajra\Datatables\Datatables::of($options)->setTotalRecords(100)->make(true);

System details

Centos 7
PHP 5.4.6
Laravel 5.4
Laravel-Datatables 7.0
jenssegers/mongodb 3.2

Will try to check this if I can. Honestly, I haven't used mongodb yet :).

Solved the problem changing: Yajra\Datatables\Engine\QueryBuilderEngine
public function paging()
    {
        $limit = (int) $this->request->input('length') > 0 ? intval($this->request->input('length')) : 10;
        $skip = (int) $this->request->input('start') >= 0 ? intval($this->request->input('start')) : 0;
        $this->query->skip($skip)->take($limit);
    }

However, I am getting an error when i try the use datatables's search box. I used laravel scout instead.
Now this is the working code:
public function ajaxOptions(){
        $options = Option::query();
        $search = isset($_GET['ara']) ? $_GET['ara'] : null;
        if(!empty($search))
        {
            $options = Option::search($search)->get();
        }
        return Datatables::of($options)->setTotalRecords($options->count())->make(true);
    }

Thank you for your quick answer, and I'm sorry for my English.

Hey @orkunab
Were you able to figure it out? I was trying to extend Datatables instead of overriding vendor files and I'm not having any luck.


Sidebar is not expanding to the active group

When viewing a project the sidebar should be expanding the active group

This seems to be to do with MySQL returning the IDs as strings


Cannot find module 'react-dom' from 'react-compat.js'

Hello everyone!
While trying to execute tests in my project I get the following error:
Cannot find module 'react-dom' from 'react-compat.js'

My environment is as follows:

"react": "^15.4.2",
"react-addons-test-utils": "^15.4.2",
"jest": "18.1.0",
"react-native": "0.40.0",
"enzyme": "^2.7.1",

In my test file I have imports in the following order:
import * as React from 'react';
import 'react-native';
import { shallow } from 'enzyme';

I've read common problems and tried to search through issues, but haven't found anything. Sorry if I missed something.

You also need react-dom installed, even if you're not using it.

@ljharb thank you for blazingly fast answer!
That solved an issue. It seems like it's worth mentioning in the React Native setup guide.


Fix memory corruption when reading PERCPU_XXX maps

When accessing an eBPF map element, gobpf currently allocates a slice to store one value of that map.
It then calls bpf_lookup_elem() to get the element of the map.
But in the case of PERCPU_XXX maps, bpf_lookup_elem() writes an array of values with as many elements as the number of possible CPUs.
This led to an out-of-bounds write.

Thanks!


Image not rendered in the "Threatened Species" sub-sub-panel

What
Also getting this in the "Threatened Species" sub-sub-panel
Screenshot

I cannot reproduce. Closing


chips ripple doesn't extend to the end of the text

Can I ask you more detail about this issue?
I installed "@material/react-chips": "^0.10.0", but it looks to work well.

@TroyTae - this bug is specifically regarding FilterChips without a leading icon. The ripple isn't calculated correctly since there is no leading icon, and when the filter chip animates in, it still thinks its the shorter length.

Is there some bug replay code?
I test like this:
https://drive.google.com/open?id=17OgCyy24BA9j16utns3pADIx7Dird9Z9

I actually don't think you have the ripple on there. Although I the video might be missing some frames. Can you confirm this?

https://material-components.github.io/material-components-web-catalog/#/component/chips
Does MCW has same issue?
I can see that Ripple is appied my video and MCW example.
But when no leading icon Filter Chips, but ripple doesn't spread from clicked point.

Actually it looks like the chips catalog page isn't working. I think this is an existing bug.
Regarding the filter input chips it looks like the ripple isn't completely working in the React screenshot tests. So this is still most likely a bug.

I cannot sure that our thought same.
I think material-components-web-react and material-components-web had same issue.
That is chip's ripple can't calculate clicked point and style variable "translate-start" has NaN.
Is your idea the same?

Ah you're correct - I thought that was working yesterday when I checked. That specific issue must be a MDC Web issue then. We cannot confirm if the chips ripple extends to the end of the text bug is fixed without fixing this bug first.
I confirmed this with this codepen.

@TroyTae looks like there is already an MDC Web issue for it: https://github.com/material-components/material-components-web/issues/2812

@moog16
Fixed on https://github.com/material-components/material-components-web/pull/4565

Cool! Looks like its in v1.1.1. Let's update chips to v1.1.1 in the feat/mdcweb-typescript-update branch.

Closing for #804


feat(filter-panel): introduce filter panel component

Related Ticket(s)
https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/6034
Description
{{Add a human-readable description / detail summary of what the PR is changing and any details around how and why}}
{{If applicable, include a screenshot indicating an example or examples of what the PR is changing in the application}}
Changelog
New

{{new thing}}

Changed

{{changed thing}}

Removed

{{removed thing}}

Currently I'm missing functionality for the bubbles appearing on the top of the filter panel when a selection is made. Also the clear button for when you want to deselect all the choices. I'm trying to achieve this by using a CustomEvent.  Similar to how the functionality for the videoplayer is.

Currently I'm missing functionality for the bubbles appearing on the top of the filter panel when a selection is made. Also the clear button for when you want to deselect all the choices. I'm trying to achieve this by using a CustomEvent. Similar to how the functionality for the videoplayer is.

Hey @andysherman2121 the tags (or bubbles) are not a part of the filter panel component. The child container allows tags to be passed through if an adopter would like to enable them, but there are other experience that may want to put the tags above the search results so we didn't include that as a requirement for the filter panel. I apologize if that was not clear in the review!

Currently I'm missing functionality for the bubbles appearing on the top of the filter panel when a selection is made. Also the clear button for when you want to deselect all the choices. I'm trying to achieve this by using a CustomEvent. Similar to how the functionality for the videoplayer is.

Hey @andysherman2121 the tags (or bubbles) are not a part of the filter panel component. The child container allows tags to be passed through if an adopter would like to enable them, but there are other experience that may want to put the tags above the search results so we didn't include that as a requirement for the filter panel. I apologize if that was not clear in the review!

@oliviaflory Ah! no worries Olivia. i'll make the adjustment

Currently I'm missing functionality for the bubbles appearing on the top of the filter panel when a selection is made. Also the clear button for when you want to deselect all the choices. I'm trying to achieve this by using a CustomEvent. Similar to how the functionality for the videoplayer is.

Hey @andysherman2121 the tags (or bubbles) are not a part of the filter panel component. The child container allows tags to be passed through if an adopter would like to enable them, but there are other experience that may want to put the tags above the search results so we didn't include that as a requirement for the filter panel. I apologize if that was not clear in the review!

@oliviaflory Ah! no worries Olivia. i'll make the adjustment

@andysherman2121 Ok cool! Just making sure you weren't blocked just by that feature. Excited to see the preview when it's ready :)

@andysherman2121 the filter panel functionality with the pills doesn't show up for me, can you check?

@andysherman2121 the filter panel functionality with the pills doesn't show up for me, can you check?

Yeah there actually isn't supposed to be the pill functionality for now. That's optional if an adopter wants to use them

Overall this is looking good! 🎉
There are a handful of styling things and a few functional things for us to look at
Desktop
Functional
Single select
I should only be able to select one item within the single select options, but can select multiple. Expected behavior: selecting another item would deselect the first selected item

Styling
Type tokens

Current
Expecting

[ ] "Filter" and accordion headings should use $heading-01 token

Focus states
Expecting all focus states to be square corners, like the accordion example below

Clear and Input selects are rounded and the color looks a little off

[ ] Fix focus states to use $focus token and have square corners

Vertical alignment
Expecting the first level of filters to be aligned with the heading copy, they are inset by 16px currently.

Current
Expecting

[ ] Remove inset from first level of filters within a filter group Note: second level should remain 16px inset from first level

With the vertical alignment fix, I'd expect the selected state to span the width of the filter panel, and the icons to align within the accordion and selected single select

Alignment single  select

[ ] X should be vertically centered with text _Note: top alignment of X when text breaks to multiple lines is great!

Vertical spacing
Expecting the vertical space between multi selects and single selects to be the same so they have the same visual hierarchy

Current
Expecting

[ ] Fix vertical spacing, looks like multi select padding should increase

Color

[ ] Checkbox icon should be $icon-02 in enabled state, and change to $icon-01 on hover

Accordion height
Expecting the default size from Carbon of 40px, currently 48px. Could this be from the expressive theme overrides?

[ ] Accordion container height should be 40px per Carbon

Storybook
Placement

[ ] Please make sure demo has 16px top and left side padding

Demo name

[ ] Change story name to Filter panel (sentence case, lower case p)

@oliviaflory Sounds good! Will update everything! thanks for the reviews

Medium & small breakpoints
Function
Filter button interactive states

[ ] Need interactive states enabled for button, not seeing a hover state

Filter button + selected items
After selecting items within the filter panel, we expected to see the number of filters that have been selected appear within the filter button

[ ] add number of filters selected functionality

Selecting last item
When all the filter groups are open within the modal, and I select one of the items in the last filter group, the footer jumps to the center of the modal.
This happens in Safari on desktop in inspect mode, but did not see on my iPhone 12 in Safari.

[ ] modal footer should not change position when interacting with filters

Styling
Filter modal size
Expecting modal to use small size from Carbon modal sizes but it looks wider. Specs on Carbon site show small size should be 60% of the screen width at 672 (medium breakpoint)

[ ] Check that we are using small size from Carbon modal

Filter modal height
It's a bit jarring to have the modal changing height as the user expands the accordions within the medium breakpoint.

[ ] Fix filter panel height to be 80% of browser height in Medium breakpoint

Filter title & Close button X
The close button X is overlapping the first accordion

Additionally the Filter title should have 16px of padding below, it currently has 8px

[ ] Fix X overlap and Filter padding

Clear button
Disabled state doesn't look quite right when modal is first opened and no filters are selected

Current
Expecting

[ ] Check disabled state is correct

Clear text isn't accessible when filters are selected, changing to blue for some reason. Check if we are overriding Carbon or if secondary button code from Carbon is off.

Current
Expecting

[ ] Check why color is changing

Single select interaction
Single selects seem to have a delay to the active state. First click the single select goes to gray, then when selecting a second item, the first changes to the correct blue.

[ ] Single select should be $highlight-01 on first click.

So very close!
Focus state exceeds filter panel container
Good

exceeds panel container by 2px on either side

[ ] Focus should not exceed filter panel container

Grid alignment
Little bit off in the grid alignment

3 column knob
Expecting the Filter panel container to overhang on the left, and span to the edge of the 3rd column with 16px margin on the right, into the gutter.

4 column knob
Expecting the Filter panel container to overhang on the left, and span to the edge of the 4th column with 16px margin on the right. into the gutter.

[ ] Fix grid alignment
[ ] Change knob name to Grid alignment. Dropdowns should say: 3 columns and 4 columns

Themes & tokens!
@andysherman2121 let's clean up the tokens and they we should be done 🎉
Tertiary button tokens

[ ] Ensure tokens are used, dark themes were not looking good

Secondary button tokens
Within modal footer

[ ] Ensure tokens are used, dark themes were not looking good

Ghost button tokens

[ ] Ensure tokens are used, dark themes were not looking good

Primary button focus on modal footer
Current

Expecting

[ ] Ensure focus includes the inset white border

Input focus

[ ] Should use $focus token, which will appear white in dark themes

Content shifting
The content within the single select is shifting slightly on focus, is there a way to have it not shift? Thinking this may have happened when we fixed the focus outline bleeding over the edge of the modal?

[ ] fix content shifting when using keyboard

@andysherman2121 can you add a codesandbox example?


Dataclass help message

This PR allows to show customized help message for the dataclasses defined in .py files.
This is done via comment and argument parsing from the dataclass code.
Usage example:
python3 nemo_skills/finetuning/prepare_sft_data.py --help
prediction_jsonl_files: can specify multiple patters separated by space
Type: Optional[str], Default: None

preprocessed_dataset_files: can specify datasets from HF instead of prediction_jsonl_files
Type: Optional[str], Default: None

output_path:
Type: str, Default: ???

metadata: can provide additional metadata to store (e.g. dataset or generation_type)
Type: dict[], Default Factory: dict

skip_first: useful for skipping validation set from train_full generation (it's always first)
Type: int, Default: 0

add_correct: can set to False if only want to export incorrect solutions
Type: bool, Default: True

add_incorrect: if True, saves only incorrect solutions instead of correct
Type: bool, Default: False

downsampling_method: random or fair
Type: Optional[str], Default: None

num_output_samples:
Type: int, Default: -1

prompt:
Type: PromptConfig, Default Factory: get_default_prompt_config

  prompt.delimiter:
  Type: str, Default: ???

  prompt.prefix:
  Type: str, Default: ???

  prompt.template:
  Type: str, Default: ???

  prompt.context_type:
  Type: str, Default: empty

  prompt.examples_type:
  Type: Optional[str], Default: None

  prompt.num_few_shots:
  Type: int, Default: 5

filters:
Type: list[str], Default Factory: <lambda>

text_filter_type:
Type: Optional[str], Default: None

trim_solutions:
Type: bool, Default: False

Nice! Thanks @i-vainn! A couple of high-level comments.

Can we preserve the new lines in the comments? Right now, seems that everything is replaced with spaces, but for some longer docs might be better to show the same as in code with new lines as in the original comments.
Can you please move the type/default on the same line and do a similar format to the docs in code. E.g. instead of

batch_size:
Type: int, Default: 16

you'd have
batch_size (int, default: 16) - <description>

Let's not show default factory, at least for dataclasses. They are recursively displayed, so that default factory is just confusing. Maybe try to instantiate it and if it's dataclass ignore, otherwise, show as normal default?
Can you please modify the code, such that it's easy to get this help message as a string? We want to directly include it in the pipeline scripts alongside their own help to let people easily see all available parameters for pass-through scripts

Also, default: ??? might be a bit confusing, let's instead just say "required" or something like that. And it's best to retain some reference to hydra in the help message to let people know that they can do whatever cmd magic hydra supports direclty

Thanks for your comments, here is a refined version.
Here is how python nemo_skills/inference/generate_solutions.py --help output looks now:
output_file (str, default: None)

server (dict, default: None) - will be directly passed to model.get_client function

sandbox (dict, default: None) - will be directly passed to sandbox.get_sandbox function

prompt (PromptConfig)

  prompt.delimiter (str, required)

  prompt.prefix (str, required)

  prompt.template (str, required)

  prompt.context_type (str, default: empty)

  prompt.examples_type (Optional[str], default: None)

  prompt.num_few_shots (int, default: 5)

inference (InferenceConfig)

  inference.temperature (float, default: 0.0) - greedy

  inference.top_k (int, default: 0)

  inference.top_p (float, default: 0.95)

  inference.random_seed (int, default: 0)

  inference.tokens_to_generate (int, default: 512)

  inference.repetition_penalty (float, default: 1.0)

dataset (Optional[str], default: None)

split_name (Optional[str], default: None)

data_file (Optional[str], default: None)

batch_size (int, default: 16)

max_samples (int, default: -1)

skip_filled (bool, default: False)

offset (int, default: 0)

Thanks Ivan, looks great! For future reference, the final format is like this:
python nemo_skills/inference/generate_solutions.py --help

This script uses Hydra (https://hydra.cc/) for dynamic configuration management.
You can apply Hydra's command-line syntax for overriding configuration values directly.
Below are the available configuration options and their default values:
---------------------------------------------------------------------------
output_file: str = None
server: dict = None - will be directly passed to model.get_client function
sandbox: dict = None - will be directly passed to sandbox.get_sandbox function
prompt: PromptConfig = PromptConfig()
  prompt.delimiter: str = MISSING
  prompt.prefix: str = MISSING
  prompt.template: str = MISSING
  prompt.context_type: str = empty
  prompt.examples_type: Optional[str] = None
  prompt.num_few_shots: int = 5
inference: InferenceConfig = InferenceConfig()
  inference.temperature: float = 0.0 - greedy
  inference.top_k: int = 0
  inference.top_p: float = 0.95
  inference.random_seed: int = 0
  inference.tokens_to_generate: int = 512
  inference.repetition_penalty: float = 1.0
dataset: Optional[str] = None
split_name: Optional[str] = None
data_file: Optional[str] = None
batch_size: int = 16
max_samples: int = -1
skip_filled: bool = False
offset: int = 0


link line has different color

Thank you for taking the time to report an issue with react-d3-tree!
Feel free to delete any questions that do not apply.
Are you reporting a bug, or opening a feature request?
bug
What is the actual behavior/output?
link line has different color
What is the behavior/output you expect?
line has same color and developer can set custom color
Can you consistently reproduce the issue/create a reproduction case (e.g. on https://codesandbox.io)?
[Replace with your answer if relevant]
What version of react-d3-tree are you using?
[Replace with your answer]
If react-d3-tree crashed with a traceback, please paste the full traceback below.
[Replace with your traceback]

did u got your solution


feat|ix: support values added by ngValue

select elements with ngModel will now set ngModel to option values added by ngValue.
This allows setting values of any type without the use of ngOptions.
Interpolations inside attributes can only be strings, but the ngValue directive uses attrs.$set,
which does not follow any type restriction. Any $observe on the value attribute will therefore receive
the original value (result of ngValue expression). However, when a user selects an option, the browser
sets the select value to the actual option's value attribute, which is still always a string.
For that reason, when option are added by ngValue, we set the hashed value of the original value in
the value attribute and store the actual value in an extra map. When the select value changes, we
read access the actual value via the hashed select value.
Closes #9842
Closes #6297

[ ] Test that it takes precedence over interpolated option / option text
[x] Test for multiple selections
[x] Fix failing Chrome tests
[ ] Docs

Talking points:

The implementation works reasonably well, although it's a bit hackyspecial
With ngValue, option values are hash values, not the real values (which makes sense, but might be confusing)
afaik angular 2 suffers from the same problem as ng1 right now

This test fails:
      it('should work update the value as a result of changes to the options', function() {
        var A = { name: 'A'}, B = { name: 'B'}, C = { name: 'C'};
        scope.options = [A, B, C];
        scope.obj = {};
        compile(
          '<select ng-model="obj.value">' +
            '<option ng-repeat="option in options" ng-value="option">{{$index}}</option>' +
          '</select>'
        );

        var optionElements = element.find('option');
        expect(optionElements.length).toEqual(4);
        browserTrigger(optionElements.eq(0));

        optionElements = element.find('option');
        expect(optionElements.length).toEqual(3);
        expect(scope.obj.value).toBe(A);

        scope.options.shift();
        scope.$digest();

        optionElements = element.find('option');
        expect(optionElements.length).toEqual(3);
        expect(scope.obj.value).toBe(null);
      });

Have you tried if that works with regular interpolated options? Because I don't think it does

It certainly works with ngOptions, which is what we are trying to emulate, right?

@petebacondarwin I've updated the PR again with the changes we talked about (support for disabled options, and model updates when the options change / are removed / get disabled / get added).

I think you might have nailed it but it is the kind of change that I want to spend some time thinking about corner cases...

I did author some of these commits and I am OK with that :-)

I'll change the tests and then add some docs. Should I mentiond that performance in IE is going to be very bad with 3000+ options?

Why not

While fixing up the PR, I found a behavior in ngOptions and select that I find a bit confusing: You have a that select is multiple and the model contains two values, one of which is matched by an option, while the other isn't.
What happens is that the matching option gets selected, and the model keeps both values. Imo, I would expect no option to be selected, as the model isn't completely matched by the select options. Thoughts?

So in https://github.com/angular/angular.js/issues/13172 we decided that if no option at all can be selected, then the select should be invalid (required).
Doesn't say anything about a partial mismatch, though. We could decide not to select anything when not all options are matched, but I'm not convinced that this is a good idea.
Theoretically, setting the model to match the available options is the developers responsibility, so if that happens it's your own fault. However, it's not very easy to check if a select's options will match the model. We could expose the selectCtrl.hasOption function and make it work with ngOptions, so that users could manually check if a specific $viewValue is matched by their select, see (https://github.com/angular/angular.js/issues/12915)

I'm also fine with making a decision on this later. As far as I can tell, the described behavior hasn't bothered anyone yet.
@petebacondarwin I need your perf commit as part of the commit that handles multiple selects correctly. Because otherwise, the current behavior doesn't work as expected. If the model has two values set, but only one is matched by options, then without the "perf" fix, the option will set the model to the one value only. Delaying the update after render handles this.

:sparkles: :tada: :sparkles:


[AutoReply] As a Dev, I want OSSChat BOT can guide people create issue automatically

People would like to discuss problems in wechat group, sometimes it would turn into a meaningful idea, a requirement, a bug or some threads should be followed in Github Issue. But it takes a lot persuades as just a few people has this habit. So, the further works is stumbled.
Describe the solution you'd like
Someone in the group could create the issue with just a single message, such as "以上创建 Issue", "以上 10 条创建 Issue"。
Describe alternatives you've considered
Setup OSSChat with Chatopera Plugin, one can configure the BOT to enable such command.
BOT would analyze title and description automatically, then after the issue is created, the groups would be notified.
The workflow is integrated.

Github API

generate token as auth info
https://docs.github.com/en/rest/guides/getting-started-with-the-rest-api#issues

create issue
https://docs.github.com/en/rest/reference/issues#create-an-issue

Issue can be opened automatically now.

Now, BOT dialogue skills are uploaded in https://github.com/chatopera/chatbot-samples/tree/master/projects/OSSChatBot

It's great to hear the idea from @hailiang-wang for enhancing the OSSChat bot skills!
I believe it is very valuable for:

managing issues in WeChat rooms for privileged developers
summary the discussion in the WeChat rooms to the related issues (as well as a weekly report)
answer the FAQ for the new developers automatically in the WeChat rooms, with an easy to be managed YAML file in GitHub repo, and it should be able to update the backend engine automatically when it's get updated (i.e. a PR to it has been merged)

After reading the related codes, I have the following suggestions:

We should keep using YAML instead of JSON because the YAML is more manageable and readable
We should use ES Modules (export {}) instead of ES3 (module.exports = {}) because ESM has been enabled in LTS versions
We should design a straightforward mechanism to update the FAQ system, for example:

How can we put a YAML faq file in our osschat repo? for example, we can create a new faq/ folder to save them, one YAML for one project
how can we link the YAML to our projects? for example, we can add a property in the project settings
how can we enable FAQ in wechat rooms? for example, we can add an additional property in the project settings
etc.

FAQs management with YAML would be delivered in https://github.com/kaiyuanshe/osschat/issues/153
The init steps are  #152 logging chats for analysis, #154 creating github issue automatically.
Would like to do #153 as soon as possible, let us close #152 and #154 at first, so FAQs management would be easier.
@huan

We should use ES Modules (export {}) instead of ES3 (module.exports = {}) because ESM has been enabled in LTS versions

Which source code file do you mean? Would like to convert to the new way.

For example:

https://github.com/chatopera/chatbot-samples/blob/master/projects/OSSChatBot/conversations/plugin.js

Currently, Chatopera Bot platform is based on node:10.21.0, the latest new LTS features are not supported at this time. Would to try to upgrade to current LTS version 14.18.0 LTS.

Address how to setup auto reply in Wiki page
https://github.com/kaiyuanshe/osschat/wiki/How-to-setup-auto-reply-with-Chatopera


feat(tutorial): complete step 3

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

@kellychurchill Thank you for finding these issues. I knew it would be a typo or 2 somewhere but I just couldn't see them. I am still getting the same error in my local environment but it looks correct when I preview above.
Do you have any suggestions for my local environment?

👍 Looks good - 🎉 You are one step closer to completion of the Carbon React tutorial and earning the digital credential.
I don't know why you might still be seeing errors locally. Perhaps remove your node_modules folder and then do yarn again?

I figured out the main auth problem. I was missing an “=” between the key and my personal access token. I am all set now.


add CA guide

Fix memory unit from "mi:" to "Mi"
Add a guide on how to add a CA to pod or serverless workflow

@domhanak should I convert this to adoc?

@rgolangh oh I did not notice that, apologies and yes please.

@tomasdavidorg do you want to take a peek?


CI: Refactor K8s test to use kubectl get cep

I made a refactor on test:

Use always kubectl get cep instead of executing commands on cilium pods.
Remove old functions that are not longer needed.

Each commit explain what I did.

This change is

test-me-please

test-me-please

test-me-please

Please provide a more descriptive PR title which indicates that this is CI work and what it rewrites.

test-me-please

test-me-please

test-me-please


WHEN WILL I RECOVER MY 59.XXXXXXX PIRATECHAIN TOKENS BACK?
PLEASE REVIEW ATTACHMENTS BELOW. Thank you, Charles Swank<EMAIL_ADDRESS>

duplicate of https://github.com/PirateNetwork/PirateWallet-Lite/issues/115


Link to paper please?

Hi @zhudotexe,
Thanks for making this repo. We're making a repo LMI and we are considering using fastlmi in it. Could you help us find the paper referenced in the citation?
@software{Zhu_FastLMI_2023,
    author = {Zhu, Andrew},
    doi = {10.5281/zenodo.7916737},
    month = may,
    title = {{FastLMI}},
    url = {https://github.com/zhudotexe/fastlmi},
    version = {0.1.0},
    year = {2023}
}

I couldn't find the paper. Your help would be appreciated. Thanks!

Hi Jacob, thanks for your interest! We actually don't have an associated paper for this repo - this GitHub repository is the primary artifact and you can cite it with that bibtex.

Okay. Thanks!
On Dec 13, 2023, at 20:58, Andrew Zhu @.***> wrote:

Hi Jacob, thanks for your interest! We actually don't have an associated paper for this repo - this GitHub repository is the primary artifact and you can cite it with that bibtex.
—
Reply to this email directly, view it on GitHubhttps://github.com/zhudotexe/fastlmi/issues/1#issuecomment-1855045682, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJTZS2K6PJROI6STML2CYDTYJJTOLAVCNFSM6AAAAABAUD3YQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJVGA2DKNRYGI.
You are receiving this because you authored the thread.Message ID: @.***>


[SPARK-4688] Have a single shared network timeout in Spark

[SPARK-4688] Have a single shared network timeout in Spark

Thanks. I'm merging this in master.

Thanks for the review and commit.


Added Pong example

This example is just a silly little pong game. It demonstrates batching,
and how you make a game loop with regl.

Also, it has some sound effects. In order to mimimize the loading times,
the sound effects are generated by the game.

:+1:


Freezing properties, methods

An object is frozen when all of its properties are non-writable and non-configurable. The returned value can be changed only by setters and getters...
The same term can be used on properties. So a property is frozen when it is non-writable and non-configurable.
This can be used by o3:
this.freeze({
    x: true,
    y: true,
    ...
});

What about inheritance?
After inheritance the property becomes configurable and writable again: https://github.com/inf3rno/e3/issues/22#issuecomment-242180746

This is one example: https://github.com/inf3rno/e3/issues/21#issuecomment-242245574
I need to prevent calling the UserError.prototype constructor and clone from a descendant class, where they were extended. e.g.
var MyError = UserError.extend({
    prototype: {
        clone: function () {
            // the stack frame about this should be omitted by capturing the present stack
            // but it won't be, since the UserError does not know that it was called by a descendant
            var instance = UserError.prototype.clone.call(this);
            // ...
            return instance;
        }
    }
});

Why would somebody want to freeze a property? Usually this is because the lack of ppp in javascript. We have only public properties, so we cannot hide them and visible properties are modifiable. Freezing properties tries to fix this.

Should I implement the other static Object functions as well?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/isFrozen
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/preventExtensions
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/isExtensible
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/seal
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/isSealed
There is a lot, and I don't think I need them. If so, then I should add Object.defineProperty is well to the prototype and so on... There is a lot of them.

As far as I remember freeze is not enough, because it is not recursive. So if a property is an object, then that object can still be modified. I think there was something else too. The topic is complicated, but I want a feature like this, just to have it. xD


Can't install graphicsmagick

excited@excited:~/Downloads/Software/waifu2x-master$ th waifu2x.lua
/home/excited/torch/install/bin/luajit: /home/excited/torch/install/share/lua/5.1/trepl/init.lua:389: /home/excited/torch/install/share/lua/5.1/trepl/init.lua:389: module 'graphicsmagick' not found:No LuaRocks module found for graphicsmagick
no field package.preload['graphicsmagick']
no file 'lib/graphicsmagick.lua'
no file '/home/excited/.luarocks/share/lua/5.1/graphicsmagick.lua'
no file '/home/excited/.luarocks/share/lua/5.1/graphicsmagick/init.lua'
no file '/home/excited/torch/install/share/lua/5.1/graphicsmagick.lua'
no file '/home/excited/torch/install/share/lua/5.1/graphicsmagick/init.lua'
no file './graphicsmagick.lua'
no file '/home/excited/torch/install/share/luajit-2.1.0-beta1/graphicsmagick.lua'
no file '/usr/local/share/lua/5.1/graphicsmagick.lua'
no file '/usr/local/share/lua/5.1/graphicsmagick/init.lua'
no file '/home/excited/.luarocks/lib/lua/5.1/graphicsmagick.so'
no file '/home/excited/torch/install/lib/lua/5.1/graphicsmagick.so'
no file '/home/excited/torch/install/lib/graphicsmagick.so'
no file './graphicsmagick.so'
no file '/usr/local/lib/lua/5.1/graphicsmagick.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'error'
/home/excited/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
waifu2x.lua:6: in main chunk
[C]: in function 'dofile'
...ited/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00405d50

excited@excited:~/Downloads/Software/waifu2x-master$ sudo luarocks install csvigo
Error: No results matching query were found.
excited@excited:~/Downloads/Software/waifu2x-master$ sudo luarocks install cudnn
Error: No results matching query were found.

You should not use sudo. Probably another luarocks command that exists on your system is used. (torch7's luarocks command will change the luarocks repository.)
which luarocks
sudo which luarocks

If you are not using lua for other software, I recommend uninstalling it.

Has this issue been resolved? I still can't seem to install graphicsmagick through luarocks:
ubuntu@ip-172-31-59-19:~$ luarocks install graphicsmagick
Installing https://raw.githubusercontent.com/torch/rocks/master/graphicsmagick-1.scm-0.rockspec...
Using https://raw.githubusercontent.com/torch/rocks/master/graphicsmagick-1.scm-0.rockspec... switching to 'build' mode
Cloning into 'graphicsmagick'...
it seems to hang at the Cloning into 'graphicsmagick'... part, just frozen. Nothing seems to happen for a long while until I just ctrl-C the operaiton.
Cheers

Actually, sorry, this is the error I receive:
fatal: unable to connect to github.com:
github.com[0: <IP_ADDRESS>]: errno=Connection timed out
github.com[1: <IP_ADDRESS>]: errno=Connection timed out
Error: Failed cloning git repository.
The same seems to happen with luarocks install csvigo.

Okay. Feeling a little embarassed but my issue is resolved. Nothing but improper security group rules for an EC2 instances. Cheers.

I am having this same issue, and i'm not 100% sure how you all resolved this.

I fixed it with running
git config --global url."https://".insteadOf git://

before luarocks install.

The original cause of the issue is different, but currently related to #425 .
I pinned #425 to the issue tab.


[LIVY-592][Server] Allow proxy user to view or modify his session

What changes were proposed in this pull request?
This patch is ported from https://github.com/apache/incubator-livy/pull/172, with adding some unit tests.
Allow proxy user to view or modify his session. Here is the link to the corresponding Jira
https://issues.apache.org/jira/browse/LIVY-592
How was this patch tested?
New unit tests and existing unit tests.

Codecov Report

Merging #202 into master will decrease coverage by 0.15%.
The diff coverage is 63.15%.

@@             Coverage Diff              @@
##             master     #202      +/-   ##
============================================
- Coverage     68.72%   68.57%   -0.16%
- Complexity      911      914       +3
============================================
  Files           100      100
  Lines          5682     5696      +14
  Branches        856      862       +6
============================================
+ Hits           3905     3906       +1
- Misses         1217     1228      +11
- Partials        560      562       +2

Impacted Files
Coverage Δ
Complexity Δ

...n/scala/org/apache/livy/server/AccessManager.scala
75.47% <50%> (-5.38%)
46 <12> (+2)

...server/interactive/InteractiveSessionServlet.scala
67.71% <66.66%> (+0.51%)
6 <0> (ø)
:arrow_down:

...apache/livy/server/batch/BatchSessionServlet.scala
91.17% <66.66%> (+0.55%)
3 <0> (ø)
:arrow_down:

.../scala/org/apache/livy/server/SessionServlet.scala
71.57% <80%> (+1.24%)
20 <0> (ø)
:arrow_down:

...ain/scala/org/apache/livy/utils/SparkYarnApp.scala
73.23% <0%> (-6.34%)
33% <0%> (ø)

...c/main/scala/org/apache/livy/repl/ReplDriver.scala
30.76% <0%> (-2.57%)
7% <0%> (ø)

...ain/java/org/apache/livy/rsc/driver/RSCDriver.java
77.96% <0%> (ø)
40% <0%> (-1%)
:arrow_down:

.../scala/org/apache/livy/sessions/SessionState.scala
61.11% <0%> (+2.77%)
2% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Fix alignment when using preferredItemSize

Whenn using the preferredItemSize  modifier, the alignment was not passed down to the pagerContent and therefore did not work.
Please let me know if I should add any tests or you need something else :)

Nice!


Log file of notify-by-ses

I have configured this on within a nagios configuration on centos. May I know where should I find the log of this application as I have a confusion;
pager                                    {{nagios_admin_email}}
Can I change pager -> email and  {{nagios_admin_email}} -><EMAIL_ADDRESS>

Also I am not sure about whether notify-by-ses can be configured on a standard nagios set up

Hello @unaisarakkal, the sample file in README.md is taken from our ansible-nagios scripts:
https://github.com/npm/ansible-nagios/blob/master/templates/ses_nagios.cfg.j2
All variables in {{, }}, should be replaced with appropriate variables when you deploy the notifier. Another option, if you're able to deploy on Ubuntu, would be using our open-source ansible-nagios repo.


aftar install scoop from WingetUI scoop : File cannot be loaded because running scripts is disabled on this system

why aftar install scoop from WingetUI
powershell -ExecutionPolicy ByPass -File "%~dp0\install_scoop.ps1"
scoop : File C:\Users\xxx\scoop\shims\scoop.ps1 cannot be loaded because running scripts is disabled on this system. For more inf
ormation, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.

related to https://github.com/marticliment/WingetUI/issues/867

related to #867

but the problem occurs only when using WingetUI to install update and uninstall scoop packages.
scoop : File C:\Users\xxx\scoop\shims\scoop.ps1 cannot be loaded because running scripts is disabled on this system. For more inf
ormation, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.

and it doesn't happen when using the command line or Windows Terminal.


refactor: better name variables in codebase

This is a WP PR to solve #164
I plan to check the codebase file by file to improve variables names.
This is my approach to choose if a variable should be renamed:
I'm trying to understand the variable meaning by reading the code, if I need to search in the code base for that meaning, then I rename the variable.
Started with

[x] main.go
[x] pkg/webhook
[x] pkg/webhook/ingress
[x] pkg/webhook/namespacequota
[x] pkg/webhook/ownerreference
[x] pkg/webhook/registry
[x] pkg/webhook/services
[x] pkg/webhook/tenant
[x] pkg/webhook/tenantprefix
[x] pkg/webhook/utils

@prometherion let me know if you like it and if you think I should continue.

I think it's safe to merge, feel free to remove the WIP so I can proceed merging it!

Yep, but I'd like to move on more files! If you prefer I can split this in multiple PR.

Let's keep this PR but separating each change to a specific commit.

Let's keep this PR but separating each change to a specific commit.

Yep as usual.
I'll keep this WP ...

@prometherion if test passes you can merge for me!


removed the sentence

as per the user report #2049 .  i removed the following sentence
For information about how to write debugger extensions,

@RAJU2529 - Thanks for the PR, but I had created the fix last week, before your PR came in.


[Discord Extension] [Error]: API Token does not appear to be a valid discord bot token:

It appeared not long ago, and writes this error only with new tokens of discord bots.


Remove obsolete row for 3DUNet from egress bandwidth table

Can you please provide some additional information on the change. Its unclear why we have two entries with different sizes in the table.

3D UNet has non-uniform input set, and that caused the trouble to Early Stopping. Sometime around round 2 or so, we added one more sample to the sample set making it from total 42 samples to 43 samples. This should have changed at that time, but left untouched (by mistake).


Adding transaction Timer for Users

Describe the feature request
Since Taiko is scaling Ethereum, making users feel a better user experience is one of the main objectives. So I'll recommend adding a transaction Timer for each transaction so users get to know when the transaction is completing.
That way users will like it more and also feel relaxed.
Spam policy

[X] I verify that this issue is NOT SPAM and understand SPAM issues will be closed and reported to GitHub, resulting in ACCOUNT TERMINATION.

pls do note that this feature has been requested already