Any way to run the simulation at normal game speed?

I tried using coordinator.SetStepSize(), but it only takes int values, and the default value of 1 is already much faster than a normal game.

I used the following workaround:
    while (coordinator.Update()) {
        // Slow down game speed for better look & feel while making experiments.
        sc2::SleepFor(15);
    }

It seems that we have no other way.

Another option is:
coordinator.SetRealtime(true);

However this also has the effect where a variable number of GameLoops may pass between calls to your OnStep depending on how slow your logic is. If this is undesirable I suggest alkurbatov's solution.

@KevinCalderone, @edwinsaunders' solution works, but keep in mind that you have to include manage_process header though.
#include <sc2utils/sc2_manage_process.h>


Mobile Responsiveness - Engagement Types Chart

URL: https://uno-cpi-sta.herokuapp.com/engagementtypechart2/
Issue 1:The top line of filters are not equally spaced when in landscape view. The “CEC Building Partners” filter is moving the data definition icon to a new line and moving it out of alignment with the second line of filters. The “Campus Partners” filter is pushing outside the box.

Issue 2: In a portrait view, the left column of filters is not in alignment.

@kalpanajha as QA tester


behavior in get_asset for optional asset?

If I have an asset that is optional to a pipeline, it seems like the current configuration of the combination of _get_asset() and _genome_asset_path actually prevent the usage of strict_exists as anything other than True?
For example here:
path = _genome_asset_path(self.genomes, genome_name, asset_name)
if strict_exists is None or check_exist(path):
    return path

If I just want to report a warning or nothing at all about some asset, then _genome_asset_path() throws an exception before I'd get to the next line yes?
e.g. in a pipeline:
# REQ
for asset in ["chrom_sizes", BT2_IDX_KEY]:
    res[asset] = rgc.get_asset(args.genome_assembly, asset)
# OPT
asset = "tss_annotation"
if args.TSS_name:
    res[asset] = os.path.abspath(args.TSS_name)
else:
    res[asset] = rgc.get_asset(args.genome_assembly, asset,
                                              strict_exists=False)

The resultant error when running if I do NOT have a tss_annotation asset.
python2
$ python2 pipelines/peppro.py --sample-name test --genome hg38 --input examples/data/test_r1.fq.gz --single-or-paired single -O ~/Downloads/peppro_example/
Changed status from initializing to running.

Loading config file: pipelines/peppro.yaml

Traceback (most recent call last):
  File "pipelines/peppro.py", line 2434, in <module>
    sys.exit(main())
  File "pipelines/peppro.py", line 627, in main
    res = _add_resources(args, res)
  File "pipelines/peppro.py", line 557, in _add_resources
    strict_exists=False)
  File "/home/jps3dp/.local/lib/python2.7/site-packages/refgenconf/refgenconf.py", line 144, in get_asset
    path = _genome_asset_path(self.genomes, genome_name, asset_name)
  File "/home/jps3dp/.local/lib/python2.7/site-packages/refgenconf/refgenconf.py", line 423, in _genome_asset_path
    "Genome '{}' exists, but index '{}' is missing".format(gname, aname))
refgenconf.exceptions.MissingAssetError: Genome 'hg38' exists, but index 'tss_annotation' is missing
Pipeline status: running
Starting cleanup: 0 files; 0 conditional files for cleanup

### Pipeline failed at:  (06-12 14:00:18) elapsed: 0.0 _TIME_

Total time: 0:00:00
Failure reason: Pipeline failure. See details above.

Changed status from running to failed.
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/home/jps3dp/.local/lib/python2.7/site-packages/pypiper/manager.py", line 1744, in _exit_handler
    self.fail_pipeline(Exception("Pipeline failure. See details above."))
  File "/home/jps3dp/.local/lib/python2.7/site-packages/pypiper/manager.py", line 1638, in fail_pipeline
    raise e
Exception: Pipeline failure. See details above.
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/home/jps3dp/.local/lib/python2.7/site-packages/pypiper/manager.py", line 1744, in _exit_handler
    self.fail_pipeline(Exception("Pipeline failure. See details above."))
  File "/home/jps3dp/.local/lib/python2.7/site-packages/pypiper/manager.py", line 1638, in fail_pipeline
    raise e
Exception: Pipeline failure. See details above.

python3:
$ python3 pipelines/peppro.py --sample-name test --genome hg38 --input examples/data/test_r1.fq.gz --single-or-paired single -O ~/Downloads/peppro_example/

Changed status from initializing to running.

Loading config file: pipelines/peppro.yaml

Traceback (most recent call last):
  File "/home/jps3dp/.local/lib/python3.6/site-packages/attmap/ordattmap.py", line 38, in __getitem__
    return super(OrdAttMap, self).__getitem__(item)
KeyError: 'tss_annotation'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/jps3dp/.local/lib/python3.6/site-packages/refgenconf/refgenconf.py", line 420, in _genome_asset_path
    asset_data = genome[aname]
  File "/home/jps3dp/.local/lib/python3.6/site-packages/attmap/pathex_attmap.py", line 51, in __getitem__
    v = super(PathExAttMap, self).__getitem__(item)
  File "/home/jps3dp/.local/lib/python3.6/site-packages/attmap/ordattmap.py", line 40, in __getitem__
    return AttMap.__getitem__(self, item)
  File "/home/jps3dp/.local/lib/python3.6/site-packages/attmap/attmap.py", line 32, in __getitem__
    return self.__dict__[item]
KeyError: 'tss_annotation'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "pipelines/peppro.py", line 2434, in <module>
    sys.exit(main())
  File "pipelines/peppro.py", line 627, in main
    res = _add_resources(args, res)
  File "pipelines/peppro.py", line 557, in _add_resources
    strict_exists=False)
  File "/home/jps3dp/.local/lib/python3.6/site-packages/refgenconf/refgenconf.py", line 144, in get_asset
    path = _genome_asset_path(self.genomes, genome_name, asset_name)
  File "/home/jps3dp/.local/lib/python3.6/site-packages/refgenconf/refgenconf.py", line 423, in _genome_asset_path
    "Genome '{}' exists, but index '{}' is missing".format(gname, aname))
refgenconf.exceptions.MissingAssetError: Genome 'hg38' exists, but index 'tss_annotation' is missing
Pipeline status: running
Starting cleanup: 0 files; 0 conditional files for cleanup

### Pipeline failed at:  (06-12 14:06:34) elapsed: 0.0 _TIME_

Total time: 0:00:00
Failure reason: Pipeline failure. See details above.

Changed status from running to failed.
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/home/jps3dp/.local/lib/python3.6/site-packages/pypiper/manager.py", line 1744, in _exit_handler
    self.fail_pipeline(Exception("Pipeline failure. See details above."))
  File "/home/jps3dp/.local/lib/python3.6/site-packages/pypiper/manager.py", line 1638, in fail_pipeline
    raise e
Exception: Pipeline failure. See details above.

Sorry for the ambiguity; the existence check is for the actual path that's returned. So in this case, no path can be returned at all since the asset key is missing. In other words, strict_exists governs how the case in which the genome/asset combo does resolve to a path, but that path doesn't exist. There's nothing currently in place to parameterize the behavior of the case you're outlining; right now the pipeline would need to catch this exception and react accordingly.

Gotcha. That makes sense.  I'll adapt on my side.


⚠ 366.ru has degraded performance

In c733249, 366.ru (https://366.ru) experienced degraded performance:

HTTP code: 200
Response time: 1732 ms

Resolved: 366.ru performance has improved in bb8afee.


proposal: x/vgo: specify Go version required by module

While it probably shouldn't upgrade Go for you if you import something that requires a newer version, vgo could at least tell you right away about the incompatibility and which version you need to upgrade to, rather than you having to guess it from compile errors. I imagine this as just another dependency entry in the go.mod, like this: require "go" v1.11.0.

Duplicate of #23969

Yep, dup. Closing here in favour of the old thread.


Support for rails 6

I successfully use your gem for our legacy project in previous year. It speed up my specs loading. Thank you! But right now we updated ruby on rails from 5 to 6 version and Zeus crashed. I also tested with new rails 6 application, and it also did not working.
Do you have any chance watch the problem?
Thank you again.

Hello,
I have the same issue.
➜  monbelappart-rails git:(feat-297-zeus) ✗ rails -v
Rails <IP_ADDRESS>

And I have the following output:
➜  monbelappart-rails git:(feat-297-zeus) ✗ zeus start
Starting Zeus server v0.15.14
[ready] [crashed] [running] [connecting] [waiting]
boot
└── default_bundle
    ├── development_environment
    │   └── prerake
    └── test_environment
        └── test_helper

Available Commands: [waiting] [crashed] [ready]
zeus dbconsole
zeus rake
zeus runner (alias: r)
zeus console (alias: c)
zeus server (alias: s)
zeus generate (alias: g)
zeus destroy (alias: d)
zeus test (alias: rspec, testrb)
exit status 1

DISABLE_BOOTSNAP=true zeus start works for me


added GTA event page short link

Added a GTA event page short link which can be used for the banner.

thanks :-)


createmappings api index pattern support

Signed-off-by: Petar Dzepina<EMAIL_ADDRESS>Description
createmappings api index pattern support
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

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

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

Codecov Report

Merging #260 (10640cb) into main (887be34) will decrease coverage by 1.18%.
The diff coverage is 5.29%.

@@             Coverage Diff              @@
##               main     #260      +/-   ##
============================================
- Coverage     38.02%   36.84%   -1.19%
+ Complexity      887      882       -5
============================================
  Files           176      179       +3
  Lines          6795     6957     +162
  Branches        834      849      +15
============================================
- Hits           2584     2563      -21
- Misses         3974     4158     +184
+ Partials        237      236       -1

Impacted Files
Coverage Δ

...rch/securityanalytics/SecurityAnalyticsPlugin.java
0.00% <0.00%> (ø)

...arch/securityanalytics/action/AckAlertsAction.java
0.00% <ø> (ø)

...search/securityanalytics/alerts/AlertsService.java
21.90% <ø> (ø)

...ch/securityanalytics/findings/FindingsService.java
36.48% <ø> (ø)

...securityanalytics/mapper/IndexTemplateManager.java
0.00% <0.00%> (ø)

...h/securityanalytics/model/CreateMappingResult.java
0.00% <0.00%> (ø)

.../opensearch/securityanalytics/util/IndexUtils.java
38.57% <0.00%> (-3.62%)
:arrow_down:

...ensearch/securityanalytics/util/XContentUtils.java
0.00% <0.00%> (ø)

...search/securityanalytics/mapper/MapperService.java
4.45% <4.25%> (-12.99%)
:arrow_down:

...ensearch/securityanalytics/mapper/MapperUtils.java
28.39% <43.75%> (+0.45%)
:arrow_up:

... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


How to display messages printed by the  echomsg command

Hi, how do you display the messages printed by commands like :echomsg and :echoerr using nvim-notify

You can't, see #5


Not able to use my production endpoint

urql version & exchanges: 2.0.6
Steps to reproduce

initialise a react native project using expo
use https://api.stacket.in:4000/graphql as the endpoint

Expected behavior
should be able to retrive data
Actual behavior
[CombinedError: [Network] Network request failed]

Just tried in both

web
React-Native

Seems to work correctly, we'll need more information to help you out 😅

Just tried in both

web
React-Native

Seems to work correctly, we'll need more information to help you out sweat_smile
I am attaching my dependencies

  "dependencies": {
    "@apollo/client": "^3.5.7",
    "@apollo/react-hooks": "^4.0.0",
    "@expo/metro-config": "^0.3.9",
    "@kanzitelli/if-component": "^0.3.0",
    "@react-native-async-storage/async-storage": "^1.15.14",
    "@react-native-community/clipboard": "^1.5.1",
    "@react-native-community/masked-view": "^0.1.11",
    "@react-native-community/netinfo": "7.1.3",
    "@react-native-picker/picker": "^2.2.1",
    "@react-navigation/bottom-tabs": "^6.0.9",
    "@react-navigation/native": "^6.0.6",
    "@react-navigation/native-stack": "^6.2.5",
    "@react-navigation/stack": "^6.0.11",
    "apollo-cache-inmemory": "^1.6.6",
    "apollo-client": "^2.6.10",
    "apollo-link-http": "^1.5.17",
    "aws-amplify": "^4.3.12",
    "aws-amplify-react-native": "^6.0.2",
    "date-fns": "^2.28.0",
    "expo": "^44.0.0",
    "expo-blur": "~11.0.0",
    "expo-dev-client": "~0.8.0",
    "expo-font": "~10.0.4",
    "expo-localization": "~12.0.0",
    "expo-splash-screen": "~0.14.1",
    "expo-status-bar": "~1.2.0",
    "expo-updates": "~0.11.5",
    "formik": "^2.2.9",
    "graphql": "^16.2.0",
    "graphql-tag": "^2.12.6",
    "i18n-js": "^3.8.0",
    "lodash": "^4.17.21",
    "mobx": "^6.3.12",
    "mobx-persist-store": "^1.0.4",
    "mobx-react": "^7.2.1",
    "react": "17.0.1",
    "react-apollo": "^3.1.5",
    "react-dom": "17.0.1",
    "react-native": "0.64.3",
    "react-native-confirmation-code-field": "^7.2.0",
    "react-native-gesture-handler": "~2.1.0",
    "react-native-mmkv": "1.3.2",
    "react-native-reanimated": "~2.3.1",
    "react-native-responsive-screen": "^1.4.2",
    "react-native-safe-area-context": "3.3.2",
    "react-native-screens": "~3.10.1",
    "react-native-shadow-2": "^6.0.0",
    "react-native-ui-lib": "^6.7.0",
    "react-native-web": "0.17.1",
    "rn-bounceable": "^1.1.0",
    "unique-names-generator": "^4.6.0",
    "urql": "^2.0.6",
    "yup": "^0.32.11"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "@expo/config-plugins": "^4.0.15",
    "@expo/webpack-config": "~0.16.2",
    "@react-native-community/eslint-config": "^3.0.1",
    "@types/i18n-js": "^3.8.2",
    "@types/lodash": "^4.14.178",
    "@types/react": "~17.0.21",
    "@types/react-dom": "~17.0.9",
    "@types/react-native": "~0.64.12",
    "@typescript-eslint/parser": "^5.9.0",
    "dotenv-cli": "^4.1.1",
    "prettier": "^2.4.1",
    "release-it": "^14.11.8",
    "typescript": "~4.3.5"
  }

Just tried in both

web
React-Native

Seems to work correctly, we'll need more information to help you out sweat_smile

https://snack.expo.dev/@dhairy/sandbox-react-native
Here is an example of the error. It is important to note the error only showes when making any query not while defining client

I mean, that's completely expected if the querying component isn't part of your urql-client 😅

The sandbox you linked just works 😅

The sandbox you linked just works sweat_smile

yes it works !
But when I am trying to use with this starter kit it gives error https://github.com/kanzitelli/expo-starter

The sandbox you linked just works sweat_smile

please try to run on android and see if it works


Small typo in provenance spec

Signed-off-by: Luke Hinds<EMAIL_ADDRESS>

/lgtm

/approve

Thanks Luke!


CacheKey model in menus causing database locks

Summary
In the past few days we've been seeing OperationalError: (1205, 'Lock wait timeout exceeded; try restarting transaction') coming from one of our CMS systems. Our infrastructure at this point is running about 5 servers through a load balancer with a MySQL database server.
This has been triggered from our clients trying to publish content & seems to be a result of the menu app & it's use of cache keys in a table.
Expected behaviour
I'd expect that any part of the system using cache would prepare a key and then check if that key exists in the cache, if not, set whatever data it needs in the cache with that key.
If for whatever reason there is a need to be storing cache keys in the database, I'd expect the key field to be unique.
Actual behaviour
Cache keys are stored in the database & errors appear to be triggered based on clearing those keys. Keys don't appear to be unique so we're seeing multiple objects with the same information;

Stacktrace;
OperationalError: (1205, 'Lock wait timeout exceeded; try restarting transaction')
  File "django/core/handlers/exception.py", line 42, in inner
    response = get_response(request)
  File "django/core/handlers/base.py", line 249, in _legacy_get_response
    response = self._get_response(request)
  File "django/core/handlers/base.py", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "django/utils/decorators.py", line 149, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "django/views/decorators/cache.py", line 57, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "django/contrib/admin/sites.py", line 211, in inner
    return view(request, *args, **kwargs)
  File "django/utils/decorators.py", line 67, in _wrapper
    return bound_func(*args, **kwargs)
  File "django/views/decorators/http.py", line 40, in inner
    return func(request, *args, **kwargs)
  File "django/utils/decorators.py", line 63, in bound_func
    return func.__get__(self, type(self))(*args2, **kwargs2)
  File "django/utils/decorators.py", line 185, in inner
    return func(*args, **kwargs)
  File "cms/admin/pageadmin.py", line 983, in publish_page
    all_published = page.publish(language)
  File "cms/models/pagemodel.py", line 713, in publish
    public_page = self._publisher_save_public(public_page)
  File "cms/models/pagemodel.py", line 1386, in _publisher_save_public
    obj.save()
  File "cms/models/pagemodel.py", line 589, in save
    super(Page, self).save(**kwargs)
  File "django/db/models/base.py", line 796, in save
    force_update=force_update, update_fields=update_fields)
  File "cms/models/pagemodel.py", line 604, in save_base
    return super(Page, self).save_base(*args, **kwargs)
  File "django/db/models/base.py", line 820, in save_base
    update_fields=update_fields)
  File "django/dispatch/dispatcher.py", line 191, in send
    response = receiver(signal=self, sender=sender, **named)
  File "cms/signals/page.py", line 21, in pre_save_page
    menu_pool.clear(instance.site_id)
  File "menus/menu_pool.py", line 343, in clear
    cache_keys.delete()
  File "django/db/models/query.py", line 609, in delete
    deleted, _rows_count = collector.delete()
  File "django/db/models/deletion.py", line 306, in delete
    count = query.delete_batch(pk_list, self.using)
  File "django/db/models/sql/subqueries.py", line 46, in delete_batch
    num_deleted += self.do_query(self.get_meta().db_table, self.where, using=using)
  File "django/db/models/sql/subqueries.py", line 28, in do_query
    cursor = self.get_compiler(using).execute_sql(CURSOR)
  File "django/db/models/sql/compiler.py", line 835, in execute_sql
    cursor.execute(sql, params)
  File "raven/contrib/django/client.py", line 123, in execute
    return real_execute(self, sql, params)
  File "django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "django/db/utils.py", line 94, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "django/db/backends/mysql/base.py", line 110, in execute
    return self.cursor.execute(query, args)
  File "MySQLdb/cursors.py", line 205, in execute
    self.errorhandler(self, exc, value)
  File "MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue

Environment

Python version: 2.7
Django version: 1.10.8
django CMS version: 3.4.5

@czpython given the related tickets, is there any work on this yet or any thought on a potential solution? I'm starting a load test tomorrow & if I see anymore issues coming from that related to this table I might start digging into how the CacheKeys table is used & a solution to purely generate cache keys avoiding the database.

@jrief heres my issue raised when I hit the issue with the menu cache keys.

As I said during the meeting today, we shall use Redis with wildcard key deletion. There is a workaround in memcached which achieves the same result.


[INTERNAL] Optimise themeBuild with workerpool via fsinterface

JIRA: CPOUI5FOUNDATION-614
This change enhances https://github.com/SAP/ui5-builder/pull/914 with a fsInterface like objects that "read" the information through postMessages via MessageChannel -> MessagePort

coverage: 93.444% (-1.1%) from 94.582% when pulling 83317429eb4d2dcec69cc3760b5241c19447235c on workerpool-fsinterface into 14ef52db1a66265e76c6856b3da6a10c9cf9f1ec on main.

Current build fails, because of the taskUtil that is provided in most of the cases, so the workerpool execution becomes there the new "default". I'll adjust those tests later


update version to 0.11.8, and add dist-es6 to gitignore

Description

For repository owners only:
Please remember to apply all applicable tags to your pull request.
Tags: FEATURE, BREAKING, BUG, PERF, DEV, DOC, SECURITY
For more info see: https://github.com/tensorflow/tfjs/blob/master/DEVELOPMENT.md

This change is

Review status: :shipit: complete! 1 of 1 LGTMs obtained

.gitignore, line 8 at r1 (raw file):
Previously, caisq (Shanqing Cai) wrote…

dist-es6/

I believe this is no longer needed. @nsthorat

Done.

Comments from Reviewable


Placing a light fixture instantly drains all power from the area

Tried to place some fixtures (both "light" and "unpowered light") to light up engineering on Saltern and all the APCs immediately dropped to 0%.
~I also couldn't move after this happened but that only happened once out of the two times I replicated the issue.~ gravity generator turned off lol

Can't reproduce by spawning in lights.
Unpowered lights have no power interaction iirc.

The issue turns out to be that if you delete the generator the APCs get drained nearly instantly, this is actually an issue with the depreciated powernet components so I'm just going to close it since replacing all of that stuff is a known mapping issue.


Update descriptions

update yaml multiline indicators
break lines according to yaml lint rules

Maybe multi-line indicators in the other Speces must be adjusted accordingly


Cmake third_party spew triage

I don't care.  Looks like there may be a (supported) way to set the log verbosity: https://cmake.org/cmake/help/latest/variable/CMAKE_MESSAGE_LOG_LEVEL.html ?


No such file "nginx.conf" during run upgrade operation

Steps:
1.
git clone --recurse-submodule https://github.com/zebrunner/zebrunner.git
2. ./zebrunner.sh setup
3. Create organization (pipeline version - 1.6), Register Repo
4. git checkout develop
5. git pull --recurse-submodules
6. ls -la mcloud/configuration/stf-proxy/ssl
chown -R ubuntu:ubuntu mcloud/configuration/stf-proxy/ssl
-> make sure to use your actual user and group name!
7. Run upgrade
Actual result: error messages are present ->
Upgrading Zebrunner from 1.9 to 2.0
cp: cannot stat 'mcloud/configuration/stf-proxy/nginx.conf': No such file or directory

fixed. in comparison with 1.9 this particular file was removed so when we pulled recursively we removed it from the disk.
so fix include removal of extra backup generation and creating this file from original from scratch

verified, fixed.


Update experimental deleting pattern images

Some images on deleting pattern page are out of sync with Carbon styles and will need to be updated asap.

Also, @alisonjoseph suggested we add a seperate table for experimental patterns to the pattern overview page.

Not stale


Type of firmware

Can it program IAR generated hex files?

Not hex files, you would need to make IAR output a binary file instead. There is a special build target doing just that in IAR projects though I can't remember the name from the top of my head.


ClearLinux Install

Hi guys, after installing gcc-10 and g++-10 on clearlinux (as the arch install) it seamed to build fine, but I still can`t pass this:
[ 97%] Linking C static library ../lib/librelic_s.a
[ 97%] Built target relic_s
/usr/bin/ar: /usr/lib64/libgmp.so: file format not recognized
make[2]: *** [lib/bls-signatures/src/CMakeFiles/combined_custom.dir/build.make:73: lib/bls-signatures/src/CMakeFiles/combined_custom] Error 1
make[1]: *** [CMakeFiles/Makefile2:477: lib/bls-signatures/src/CMakeFiles/combined_custom.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 98%] Linking CXX executable test_phase_4
[ 98%] Built target test_phase_4
[ 98%] Linking CXX executable test_phase_2
[ 98%] Built target test_phase_2
[ 99%] Linking CXX executable test_phase_3
[ 99%] Built target test_phase_3
[ 99%] Linking CXX executable test_phase_1
[ 99%] Built target test_phase_1
make: *** [Makefile:136: all] Error 2
Anyone was able to install this on Clearlinux?

I think maybe you did not search before posting....
install libsodium
install gmp-static
install libsodium-static

I think maybe you did not search before posting....

Hi, thanks for the answer. Yes I did, for hours. I`m new to clearlinux and the only way I know to install packages are with their bundle installer (swupd).
The problem is that there is no bundle with gmp-static and libsodium-static packages. I also tried with flatpak, without luck.
I'm now trying to find a way to compile these two.

GMP usage has been disabled in latest master, try again

uninstall libgmp-dev from system

GMP usage has been disabled in latest master, try again

I ended up formatting the whole thing and installing ubuntu server and took me 10min to install everything and the plotter.
I was usind swar and was plotting more than 40 plots a day with my system (using about 50% of the CPU on clearlinux).
Using the plotter it takes 1747s to create a plot and more 550s to copy to the HD. It means around 37 plots a day.
My friend is using swar on ubuntu desktop and is plotting only around 25 plots a day with the exactly same config.
I think clearlinux is faster for plotting so Ill give another try. Ill reinstall everything again and come back here.
Thanks for the reply.

if you don't plot in parallel with such high copy times, you will lose time
alternatively you can plot in series via -n x parameter, then copy will be parallel to next plot

also uninstall libgmp-dev from system

Clearlinux dont have a way to install or uninstall packages, only bundles.
Even on a fresh install I`m unable to build it.
What I used so far was this:
sudo swupd update
sudo swupd bundle-add c-extras-gcc10
sudo swupd bundle-add devpkg-libsodium
sudo swupd bundle-add git
Checkout the source and install
git clone https://github.com/madMAx43v3r/chia-plotter.git
cd  chia-plotter
Use gcc10 during build
export CC=gcc-10
export CXX=g++-10
git submodule update --init
./make_devel.sh
Attached is what make_devel.sh output.
log.txt
Any insights?

if you don't plot in parallel with such high copy times, you will lose time
alternatively you can plot in series via -n x parameter, then copy will be parallel to next plot

If I can't make it work on clear I'll go back to ubuntu and try this in a whole day.


Apply cruft updates

Automatically generated PR from repo-conformance to apply updates using scruft.

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

Project coverage is 94.31%. Comparing base (16fd165) to head (a578c0e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #379   +/-   ##
=======================================
  Coverage   94.31%   94.31%
=======================================
  Files           6        6
  Lines         299      299
=======================================
  Hits          282      282
  Misses         17       17

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


Not all valid color syntaxes are recognized by the color decorator

Does this issue occur when all extensions are disabled?: Yes/No
Yes

VS Code Version: 1.82.2
OS Version: Windows 11 Pro build 22621

Steps to Reproduce:

In settings, set "editor.defaultColorDecorators" to true
Add the following to a JavaScript file: const blues = ['hsl(192, 87%, 49%)', 'hsl(192 87% 49%)', 'hsl(192.5, 87.5%, 49.5%)'];
Note that the color decorator only appears on the first element. The other two elements are also valid CSS color syntax, yet don't register as colors by the ColorDecorator.

Hi, according tot he current default color provider, in the second hsl, you are missing commas between the numbers for the color, and in the third hsl, the first parameter must be an integer. Thanks for letting me know however that these are valid hsl values as well with the normal color decorators, the regex needs to be changed that matches these colors.


[Unity][DistIR] LowerGlobalViewToLocalView

This PR adds a new pass called LowerGlobalViewToLocalView.
It shards loop-level computation by rewriting TIR according to the sharding annotation on computational graph.
Introduction on what global view and local view are: https://thirsty-airplane-926.notion.site/DistIR-presentation-76d557b0c9344510b37bda790d5db3ec?pvs=4

ready for review


Update findTag Info

Update findTag MESSAGE_USAGE
Update findTag UG example screenshot

Codecov Report

Merging #175 (c91b145) into master (e5214d9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #175   +/-   ##
=========================================
  Coverage     57.60%   57.60%
  Complexity      616      616
=========================================
  Files           110      110
  Lines          2418     2418
  Branches        276      276
=========================================
  Hits           1393     1393
  Misses          933      933
  Partials         92       92

Impacted Files
Coverage Δ

...a/seedu/address/logic/commands/FindTagCommand.java
91.66% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Bug: Remove hardcoded mds broker name

Description
Update the mds broker name to dynamically populate from the variable.
Fixes # (issue)
Type of change

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

How Has This Been Tested?
 molecule --debug converge -s rbac-mds-kerberos-mtls-custom-rhel
PLAY RECAP *********************************************************************
control-center1            : ok=84   changed=34   unreachable=0    failed=0    skipped=41   rescued=0    ignored=0
kafka-broker1              : ok=115  changed=44   unreachable=0    failed=0    skipped=63   rescued=0    ignored=0
kafka-broker2              : ok=104  changed=44   unreachable=0    failed=0    skipped=48   rescued=0    ignored=0
kafka-broker3              : ok=104  changed=44   unreachable=0    failed=0    skipped=48   rescued=0    ignored=0
kafka-connect1             : ok=88   changed=35   unreachable=0    failed=0    skipped=49   rescued=0    ignored=0
kafka-rest1                : ok=84   changed=34   unreachable=0    failed=0    skipped=41   rescued=0    ignored=0
ksql1                      : ok=85   changed=34   unreachable=0    failed=0    skipped=45   rescued=0    ignored=0
mds-zookeeper1             : ok=2    changed=2    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0
schema-registry1           : ok=80   changed=33   unreachable=0    failed=0    skipped=43   rescued=0    ignored=0
zookeeper1                 : ok=74   changed=32   unreachable=0    failed=0    skipped=39   rescued=0    ignored=0

TASK [confluent.control_center : Grant role System Admin to Additional Control Center super users] ***
ok: [control-center1] => (item=user1)

TASK [confluent.control_center : Grant role System Admin to Control Center user] ***
ok: [control-center1]

Test Configuration:
Local docker environment
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Any dependent changes have been merged and published in downstream modules
[ ] Any variable changes have been validated to be backwards compatible

Closing in favour of https://github.com/confluentinc/cp-ansible/pull/857/files


fasterRCNN compilation error with python 3.8 and pytorch 1.12 cuda 11.3

I.m trying to setup sttran from scratch and I'm getting errors while setting up fasterRCNN package.
The command I run is :
STTran/fasterRCNN/lib: python setup.py install
fatal error: THC/THC.h: No such file or directory
    5 | #include <THC/THC.h>
      |          ^~~~~~~~~~~
compilation terminated.

The CUDA version you are using is too high. If you are not using a RTX30 GPU, it is better to downgrade to Cuda10.2.

hi zee-fee, you can download the fix here
https://github.com/jwyang/faster-rcnn.pytorch/pull/894

I downgraded to cuda 10.2 and now it works with torch 1.1


Correct error handling for external SSH client

In some cases, (e.g. private key not accessible or has incorrect
permissions) docker-machine failed with error "Something went wrong
running an SSH command!". This commit will add the correct debug
messages and show the correct errors for the bad private keys.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "master" git@github.com:mmalchuk/machine.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "master" git@github.com:mmalchuk/machine.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

partially fixes https://github.com/docker/toolbox/issues/153

partially fixes https://github.com/docker/machine/issues/2240

Looks pretty good, could you add a unit test please?  It should be fairly straightforward to generate a few temporary files with the properties that you're rejecting here.

@nathanleclaire unit tests added.

LGTM
Thanks!


Happy word

Happy added

Someone already added Happy.json. So will have to decline this one. Feel free to add new word.


chore: Sync ci.yml with contrib repo

Follows #173 and open-feature/dotnet-sdk-contrib#134 to synchronize ci.yml between both repos.
$ diff dotnet-sdk{,-contrib}/.github/workflows/ci.yml

Story here is a little convoluted, but basically this repo already had the linux and windows tests in one workflow, so for #173 I was able to just condition the new packaging job on both unit-tests-linux and unit-tests-windows completing successfully.
However, prior to open-feature/dotnet-sdk-contrib#134, the contrib repo had separate workflow files for its respective linux and windows tests, so as part of open-feature/dotnet-sdk-contrib#134, I merged those separate workflows into one workflow and, at the same time, rewrote them to use a job matrix.
For PR consistency, I almost included the same job matrix update as part of #173, but held off in the spirit of doing one thing at a time. So, with that, this PR now syncs the two ci.yml files so both will exactly match after open-feature/dotnet-sdk-contrib#134 is merged (anticipated sometime today).
Additionally, this PR also includes the nuget.config and CONTRIBUTING.md updates from open-feature/dotnet-sdk-contrib#134. Arguably, these may not be needed by this repo, but I'm including them here for (1) consistency, (2) to promote visibility, and (3) to help advertise that these are available if required and/or helpful to future contributors/bug reporters.

Looking for one more approval so we can merge this and address the code coverage failure @benjiro spotted via #219 🙏


Remove useless debug messages

This debug messages are causing problems on systems with multiple network interfaces - look at #32.

I think you can also remove the actual listen_interfaces attribute if it's not being used elsewhere

Done.

Cool, can you sign the CLA through supermarket so that we can take this?

Is it enough to be registered there? Because I'm.
P. S. It's totally ridiculous that you need this to remove 3 lines from YOUR code, because I didn't write anything there :-)
I'm just wondering what if I will request to remove everything from your cookbook? You won't be able to delete single line because this will broke my copyrights? :-)

Look, I don't make these legal rules, so there's no need to be snarky. All you have to do is click this link

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 2 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.
Please sign the CLA here.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 2 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.
Please sign the CLA here.

Since the CLA hasn't been signed in over 6 month for this PR I'm going to close it out at this point.  If the author would like to sign the CLA feel free to open up the PR again.


Document that you cannot use private IP ranges and have to use subnet

It is not explicitly documented that you cannot use private IP ranges successfully (<IP_ADDRESS>.  You must instead use the SubNet option.  Had an issue where someone was trying to filter in private range and traffic was blocked (app gateway) even though we could see the 10.72 traffic hitting app services.  NET integration was not being used.  Since it was coming from the backbone we could see the addresses but attempts to white list them broke connectivity.  We should explicitly add this example (jsanders) and resolution (add subnet).

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

ID: d90bbf62-44f9-30a6-d6ea-bbf776f6efc5
Version Independent ID: b3961eac-6c70-b345-f48c-e4c0ec67059c
Content: Azure App Service access restrictions - Azure App Service
Content Source: articles/app-service/app-service-ip-restrictions.md
Service: app-service
GitHub Login: @ccompy
Microsoft Alias: ccompy

@jsandersrocks Thanks for the feedback! We are taking a look into this and will get back to you soon.

@jsandersrocks Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

Added Note to documentation to clarify this scenario

Looks good.  Thanks!


Proposal: The News Update Bot of Telegram

Description
I created a bot to update daily news for users.
Every day when you submit /news, the bot will send you back the latest blockchain news of the day.

Requirements for this bounty:

Must use CryptoPanic API.
A telegram bot that takes full use of CryptoPanic API various filters, regions, currencies, etc.
Well structured codebase

You can submit v0 first and i will give you some feedbacks to proceed further

I have replaced Python with TypeScript to facilitate easier updates and enhance user convenience.
Additionally, I have integrated an API to create a more flexible, fast, and efficient connection between developers and the website.
This new version will allow you to choose your preferred language.
You can also select keywords so that the Telegram bot can deliver news that matches your requirements.
https://github.com/binaaaaaaaaa/Kaia-Telegram-bot-news

Much better. Please work on an improved implementation of this with a dedicated SDK for CryptoPanic API and make use of some sentiment analysis.
This news bot can work well with a portfolio tracker bot.
Anyway, approved for 700 KLAY payout.

Payout is completed so closing this issue. Open new issue if you want to submit an update.


Short solution needed: "How to use zlib" (nodejs)

Please help us write most modern and shortest code solution for this issue:
How to use zlib (technology: nodejs)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments explain solution.
Link to this issue in comments of pull request.

Zlib usage example


Remove unused Modal/index.js file

Details

We remove the Modal/index.js file because it is not used anywhere.
Fixed Issues

$ https://github.com/Expensify/App/issues/16176
Proposal: https://github.com/Expensify/App/issues/16176#issuecomment-1645374167
Tests

On each platform:

[x] Verify that no errors appear in the JS console
[x] Add in the platform-specific Modal component files a debug line (i.g. in .web.js file: console.log('Modal.web: render')),
[x] Verify in the console, that the correct platform-specific implementation of Modal is used.
[x] Switch reports several times.
[x] Open RHP.
[x] Go to the KeyboardShortcuts modal (on web/desktop press Ctrl+J, on native/mWeb go to Settings -> About -> Keyboard shortcuts) and verify that the modal works as expected.

Offline tests

Doesn't change anything network related.
QA Steps

[ ] Verify that no errors appear in the JS console
[ ] Switch reports several times.
[ ] Open RHP.
[ ] Go to the KeyboardShortcuts modal (on web/desktop press Ctrl+J, on native/mWeb go to Settings -> About -> Keyboard shortcuts) and verify that the modal works as expected.
[ ] Open several modals - verify that those modals work, i.g.:

[ ] avatar crop modal (upload a new avatar to the profile),
[ ] attachment modal (drag-and-drop an attachment),

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://github.com/Expensify/App/assets/104823336/ef7be02c-1d28-4ed7-9a0e-31f62763ec36

Mobile Web - Chrome
https://github.com/Expensify/App/assets/104823336/28cf3819-fe7e-4d51-8106-7b01fe4b0770

Mobile Web - Safari
https://github.com/Expensify/App/assets/104823336/e0806792-530c-433e-83f3-5e2bf39c2991

Desktop
https://github.com/Expensify/App/assets/104823336/e44849dd-fcf0-4efb-8a2c-b154f6530960

iOS
https://github.com/Expensify/App/assets/104823336/6953d2ca-ab79-460c-970a-0128019c6274

Android
https://github.com/Expensify/App/assets/104823336/b3c97165-324e-423d-80c0-0b49a4e2a342

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

Hey, are there any updates on this issue? @marcaaron

Sorry I didn't see this was being held up by me. Reviewing now. Thanks for your patience!

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/marcaaron in version: 1.3.49-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/marcaaron in version: 1.3.50-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.50-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


HDDS-10344. Schedule dependabot for weekend

What changes were proposed in this pull request?
By default Dependabot performs its duties (check for updates and open pull requests) on Monday.  We could better distribute CI workflow runs by shifting Dependabot schedule to the weekend, when fewer PRs are created by developers.
https://issues.apache.org/jira/browse/HDDS-10344
How was this patch tested?
Not tested.
Reference:
https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#scheduleday

Thanks @errose28, @kerneltime, @nandakumar131 for the review.

Note: it seems any change to dependabot.yml triggers a new run immediately (also seen after 11bc604d14), apparently regardless of the schedule.  Hopefully the next run will follow the schedule.


Packager prefixes repository_url with "www", triggering FB check failure

When running gftools packager on a new font, the autogenerated METADATA.pb inserts a boilerplate repository_url of
source {
  repository_url: "https://www.github.com/user/repo"
 # archive_url: "https://www.github.com/user/repo/family.zip"

The www. hostname component there means that the repository_url value clashes with the way that GitHub URLs are normally written (www-less): https://github.com/user/repo which, in turn, causes a FAIL from Fontbakery if somebody just replaces user/repo with the correct value.
It'd be better to use a boilerplate URL without the www., to avoid having users accidentally triggering that FAIL simply by editing the boilerplate.

Actually, quick update: www.github.com is a 301 permanently redirected to github.com, so there's no reason to use the www. prefix at all; it should just be removed from the boilerplate.
( via the output of curl -I -L https://www.github.com/ .)

thanks!


feat: dramatiq integration

This adds an integration for Dramatiq. I modeled the integration very closely to how the Celery integration works and the main difference is in how the test client is set up: because Dramatiq's workers process tasks in background threads, I had to make a custom transport and couldn't use the sentry_init fixture (as that sets up a thread-local mocked transport).

Codecov Report

Merging #109 into master will increase coverage by 1.03%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #109      +/-   ##
==========================================
+ Coverage   68.23%   69.27%   +1.03%
==========================================
  Files          25       25
  Lines        2317     1920     -397
  Branches      318      309       -9
==========================================
- Hits         1581     1330     -251
+ Misses        620      471     -149
- Partials      116      119       +3

Impacted Files
Coverage Δ

sentry_sdk/integrations/dramatiq.py
0% <0%> (ø)

sentry_sdk/integrations/celery.py
0% <0%> (-76.2%)
:arrow_down:

sentry_sdk/integrations/flask.py
0% <0%> (-75.76%)
:arrow_down:

sentry_sdk/_compat.py
52.08% <0%> (-27.92%)
:arrow_down:

sentry_sdk/integrations/aws_lambda.py
0% <0%> (ø)
:arrow_up:

sentry_sdk/integrations/sanic.py

sentry_sdk/worker.py
87.34% <0%> (+4.2%)
:arrow_up:

sentry_sdk/integrations/django/__init__.py
78.28% <0%> (+5.77%)
:arrow_up:

sentry_sdk/integrations/_wsgi.py
71.03% <0%> (+5.81%)
:arrow_up:

... and 11 more

Continue to review full report at Codecov.

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


Performance measurement in the Continuous Improvement and Learning Q1 Strategy

As discussed in our performance measurement meeting I've adjusted the Q1 strategy page to include draft performance management text, and a link to the CATS report on SharePoint.  I also shuffled a bit of content around.  Let me know what you think!

closes #910


Update supported versions in README

Bumping the supported version in the readme to help prevent confusion.

@JoshTheWanderer Thank you :+1:


Merge PR for Sunwell and Magister's Terrace

#25

Merge has been accepted.
New release v.1.2.1 has been done to Github and Curseforge.


Only sort duplicated columns once

> df = DataFrame(a=[2,1]);
> df[:b] = df[:a];
> sort!(df, cols=:a)
2×2 DataFrames.DataFrame
│ Row │ a │ b │
├─────┼───┼───┤
│ 1   │ 2 │ 2 │
│ 2   │ 1 │ 1 │

The column :a is not sorted here. This happens because :b and :a refer to the same array which gets permuted twice. By skipping duplicated columns in the permutation we get the correct result.
2×2 DataFrames.DataFrame
│ Row │ a │ b │
├─────┼───┼───┤
│ 1   │ 1 │ 1 │
│ 2   │ 2 │ 2 │

Have you bumped into this while doing real work? Just curious. FWIW, we'll still get weird results if a data frame contains two subarrays sharing the same parent. I don't think Julia handles aliasing very well except for obvious cases like this one anyway.

Yes I noticed this during "real work". sort() produced the right result but sort!() didn't.
In pre-processing data I had d[:a]=f(d[:b]) but in some cases f(x) would simply just return its input. I solved it by returning x*1 instead in those cases to avoid aliasing.
How can a DataFrame contain a SubArray? upgrade_vector(adv::SubArray) doesn't exist and not even upgrade_vector(adv::AbstractArray) so you'd have to collect the subarray before assigning it anyways. We don't have a SubDataArray unless I'm mistaken.
If sort! relied on Base.permute! any nested structures (such as a future SubDataArray) could implement Base.permute!(a::SubDataArray, p) and shuffle its indices instead of modifying the parent.

Thanks, I'm somewhat relieved we don't support sub arrays. Not sure whether there might be a use case for them at some point.

Thanks @ararslan

Thank you for the contribution!


Error while creating IAM role for instance

Hi,
Coming back to this project after a while. I'm following the tutorial here: https://towardsdatascience.com/how-to-train-deep-learning-models-on-aws-spot-instances-using-spotty-8d9e0543d365
I get an error while it tries to create AMI.
Tacotron-2 at master ✖ spotty create-ami
Waiting for the AMI to be created...
  - creating IAM role for the instance...
Error:
------
Stack "spotty-nvidia-docker-ami-qgogoanj" was not created.
See CloudFormation and CloudWatch logs for details.

Hi @ZohaibAhmed,
Can you, please, go to your AWS account -> CloudFormation service, find there the AMI stack (it has name "spotty-nvidia-docker-ami-xxxxxxxx"), open it and check what is the error message in the "Events" tab.

@apls777 It shows that there are no stacks (failed, deleted, or otherwise)? Seems like spotty didn't get around to creating the stack at all?

@ZohaibAhmed make sure you are looking stack in the right region, it should be there

@apls777 Got it, was looking at the default region, not the one in the spotty config. Here's the error:
CREATE_FAILED | AWS::Lambda::Function | SetLogsRetentionFunction | The runtime parameter of nodejs4.3 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs8.10) while creating or updating functions. (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: bb4a9a9b-3ab9-11e9-b03f-151ba91a4517)
-- | -- | -- | --

@ZohaibAhmed it seems you are using old version of the tool. Use the pip install -U spotty command to update it.

Thanks, also seemed like I need to request an increase for the particular instance I was allocating.

@ZohaibAhmed What do you mean by "request an increase"?

I had a limit on the particular type of instance I wanted to use (by default it was 0). Had to open a case with Amazon to allocate more (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-spot-limits.html)

@apls777 Don't want to open another issue on this repo for this, but all of the sudden, I get this error when I create-ami using spotty:
ract_config.py:46: YAMLLoadWarning:
  *** Calling yaml.load() without Loader=... is deprecated.
  *** The default Loader is unsafe.
  *** Please read https://msg.pyyaml.org/load for full details.
  config = yaml.load(f)
Waiting for the AMI to be created...
  - creating IAM role for the instance...
  - launching the instance...
  - installing NVIDIA Docker...
Error:
------
Stack "spotty-nvidia-docker-ami-hc4o3367" was not created.
See CloudFormation and CloudWatch logs for details.

Any ideas?

@ZohaibAhmed Apparently, new version of Docker CE was released, but NVIDIA Docker depends on the previous version. Here is a new issue. I'll fix this problem today.


Unexpected exception for parsing domain

Network request worked successfully, however response processing failed with the following error:
Traceback (most recent call last):
File "asd.py", line 6, in main
response = await asyncwhois.aio_rdap_domain('clientservices.scenber.com')
File "C:\Users\SAMPLE_USER\AppData\Local\Programs\Python\Python311\Lib\site-packages\asyncwhois_init_.py", line 93, in aio_rdap_domain
result = await DomainLookup.aio_rdap_domain(domain, httpx_client)
File "C:\Users\SAMPLE_USER\AppData\Local\Programs\Python\Python311\Lib\site-packages\asyncwhois\pywhois.py", line 156, in aio_rdap_domain
whois_dict = response.to_whois_dict()
File "C:\Users\SAMPLE_USER\AppData\Local\Programs\Python\Python311\Lib\site-packages\whodap\response.py", line 190, in to_whois_dict
flat.update(self._flat_entities(self.entities))
File "C:\Users\SAMPLE_USER\AppData\Local\Programs\Python\Python311\Lib\site-packages\whodap\response.py", line 238, in _flat_entities
vcard_type = vcard[0]
TypeError: 'DomainResponse' object is not subscriptable

Hey thanks for opening an issue and providing context around the exception.
It looks like the response from this registrar, ownregister.com, is not correctly implemented/not RDAP conformant.
Correct vcard array format (https://www.rfc-editor.org/rfc/rfc7483#section-5.1):

What is implemented here:

What it should be:

Additionally, this response has a case where "entities" is not an array, but an object:

Unfortunately, there's not much I can do besides file an RDAP conformance ticket with the registrar.
However, it would be reasonable to expect that this library should more gracefully handle situations like these. Although it's a losing battle to handle interpreting and parsing bad responses. @Yama85 From a user's perspective, do you have any preference on how the to_whois_dict method should behave when it encounters misformatted data? Maybe it would be a good improvement to not "fail" (raise an exception) and instead set a flag somewhere about the rdap conformance problem? Let me know.

There's new release of whodap that handles these scenarios.


Cache reset

Describe the purpose of the pull request.
Fixes / Enhancements
exposed reset function on normalizedInMemoryCache and added test for it.
previously requested as cache.clear() but cache.reset() function was already there in the abstract class. Did not want to break something so just went ahead with cache.reset();
@mainawycliffe rebased to beta

@mainawycliffe closed #447


billing: Update help center links about license management.

Updates:

Removes unused billing CSS rules for template IDs that have been removed as part of redesign of billing pages.
For fixed price plans, always show the same text about license management. Note that this does not address the current issues in the implementation of fixed price plan offers combined with the user selecting pay by invoice.
Updates both billing and upgrade pages to link to the appropriate help center links based on if it is self-hosted billing or Zulip Cloud billing.

Manually tested links to help center in dev environment when reviewing to make sure there were no visual changes in billing/upgrade pages due to the CSS changes, except for the fixed plan offer case.
Notes on links:

Made sure that these all open a new tab/window, as this seemed nicer than navigating away from a billing/upgrade page.
Zulip Cloud links are all relative as the current documentation for the organization will match what's on zulip.com help center pages.
Self-hosted links are to zulip.com so that they are directed to the most up-to-date help center billing documentation.

Screenshots and screen captures:

Zulip Cloud - upgrade - no visual changes
Automated license management:

Before
After

Manual license management:

Before
After

Pay by invoice selected:

Before
After

Self-hosted billing - upgrade - no visual changes
Automated license management:

Before
After

Manual license management:

Before
After

Pay by invoice selected:

Before
After

Self-hosted billing FIXED PRICE OFFER - upgrade
Automated license management- NO CHANGES:

Before
After

Pay by invoice selected - DESCRIPTIVE TEXT CHANGE:
Note: We should still now show the selection for Number of licenses, but as that's a bit more involved of a change, thought this was a good check-point to merge in that direction.

Before
After

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Looks great, merged, thanks @laurynmm!


WebSocketClientHandshaker13 doesn't work with HTTP proxies over clear HTTP

Expected behavior
When talking with an HTTP proxy over clear HTTP, a user agent should sent requests with an absolute url.
Actual behavior
WebSocketClientHandshaker13::newHandshakeRequest generates a request with relative url.
Steps to reproduce
NA
Minimal yet complete reproducer code (or URL to code)
NA
Netty version
4.1.36.Final
JVM version (e.g. java -version)
irrelevant
OS version (e.g. uname -a)
irrelevant

@slandelle will you provide a PR ?

FYI, it's currently very hard to workaround this issue by subclassing WebSocketClientHandshaker13: expectedChallengeResponseString is private, WebSocketUtil is package private.
I would love to contribute a fix but I'd like your opinion:

is this too much of a corner case so we should move WebSocketClientHandshaker13's url computation into a protected method so usr can subclass?
or should we add yet another constructor with a new boolean parameter to all WebSocketClientHandshakerXX classes and another factory method in WebSocketClientHandshakerFactory?

@slandelle will it be a problem to always use the relative url ?

@normanmaurer Absolutely, most server implementations will rightfully blow up because of the malformed request. The only case you use absolute urls is with HTTP proxy over clear HTTP.

hmm I see... I am not sure what is better (protected vs static method). WDYT ?

I'd say to go with the additional parameter/constructors/factory for Netty 4.1.
But this really needs to be cleaned up for Netty 5: drop early specs, make single constructor package protected and introduce a Builder a la DnsNameResolverBuilder.
WDYT?

@slandelle sounds fine to me...


NestedList doesn't seems to be working.

...getNestedList('title');

I just get plain array of title values.
1 => 'Root',
2 => ' Child',
3 => ' Child',
4 => '  Child',
5 => ' Child',
6 => 'Root'

There is no indication of level like:
1 => 'Root 1',
2 => ' Child 1',
3 => ' Child 2',
4 => '  Child 2.1',
5 => ' Child 3',
6 => 'Root 2'

this method return flattern array
Model::getNestedList($column,null,'→');
Output will add an arrow before each child


Add images

Update the images. They still need a pass to optimize for size and quality as it's yikes on mobile.

Ugh, there's a bunch of conflicts on this branch now. Will update in the AM.

I think I got all the conflict sorted out now :+1:

Nice work on cleaning this up and merging. Thanks for all your work on this @dboydgit! :)

No problem! I'm not sure what was happening with those conflicts, they were
odd. Some content getting duplicated for some reason.
On Thu, Oct 22, 2020 at 9:28 AM Mark Bennett<EMAIL_ADDRESS>wrote:

Nice work on cleaning this up and merging. Thanks for all your work on
this @dboydgit https://github.com/dboydgit! :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/devedmonton/devedmonton.com/pull/34#issuecomment-714573454,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFYYGMDGSBAUEHAEJZGBBZDSMBFRZANCNFSM4S2UXBVQ
.


[Feature] Date customisation for issue #107

https://github.com/daviddarnes/alembic/issues/107

This is a nice addition, thanks @strauhmanis! I'm not sure about the site.alembic prefix. As much as I like people using my theme, I don't want the configuration to stop them switching to another theme. Having an Alembic specific key in the config is going to leave legacy code for people. Can it be just date_format?

Tried to create a separate pull request by creating a new branch, but it did not work. Need to learn to do that!

On Sep 21, 2018, at 11:09 AM, David Darnes<EMAIL_ADDRESS>wrote:
@daviddarnes commented on this pull request.
In _sass/_theme.scss https://github.com/daviddarnes/alembic/pull/108#discussion_r219415312:

@@ -59,11 +59,11 @@ body {
.logo {
display: inline-block;
line-height: 0;

max-height: 4rem;

height: 4rem;
Could this fix be in it's own pull request? It's a better way to track fixes. Also, might be better to style the image so the size isn't a fixed width? Some users may upload quite a wide but short image, in which this case it will never be bigger than 4rem

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/daviddarnes/alembic/pull/108#pullrequestreview-157585189, or mute the thread https://github.com/notifications/unsubscribe-auth/AQXX_2mmeTxPpslbrEAhHfwtspHaS_EYks5udJ7WgaJpZM4Wv9KU.

@strauhmanis I think if you create a new branch from master and make those svg changes you can open a new pull request, you can do that with the branch dropdown on your fork

There are two pull request now, but it looks kinda messy :-)

On Sep 21, 2018, at 3:29 PM, David Darnes<EMAIL_ADDRESS>wrote:
@strauhmanis https://github.com/strauhmanis I think if you create a new branch from master and make those svg changes you can open a new pull request, you can do that with the branch dropdown on your fork
https://user-images.githubusercontent.com/1177460/45881198-63b5a380-bda2-11e8-8f56-49adc564fc10.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/daviddarnes/alembic/pull/108#issuecomment-423514760, or mute the thread https://github.com/notifications/unsubscribe-auth/AQXX_8qIy-4XPbp12p0vHMMf-X8P9jf2ks5udNu2gaJpZM4Wv9KU.

@strauhmanis hey! I updated both your pull requests so the changes you're proposing are in their own pull requests. Check out #110 and #108, they are small changes but now they are split into their own updates. You'll of course get credit for both!

Hey! Glad that everything worked out in the end! I’ll practice with multiple branching before making several PR’s next time!

On Sep 22, 2018, at 5:55 PM, David Darnes<EMAIL_ADDRESS>wrote:
@strauhmanis https://github.com/strauhmanis hey! I updated both your pull requests so the changes you're proposing are in their own pull requests. Check out #110 https://github.com/daviddarnes/alembic/pull/110 and #108 https://github.com/daviddarnes/alembic/pull/108, they are small changes but now they are split into their own updates. You'll of course get credit for both!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/daviddarnes/alembic/pull/108#issuecomment-423749672, or mute the thread https://github.com/notifications/unsubscribe-auth/AQXX_xbbekJvveqPmxRwFWCRXbHdwcBWks5udk97gaJpZM4Wv9KU.

Not to worry! Just me being picky. Really appreciate you contributing to the repo, thank you


Calendar Objects records firstOccurence and lastOccurrence can't save…

… dates before Unix epoch (negative values)
When a client wants to sync dates before 1-1-1970 (for example birthdays), the server response with:
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
  <s:sabredav-version>3.1.2</s:sabredav-version>
  <s:exception>PDOException</s:exception>
  <s:message>SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'firstoccurence' at row 1</s:message>
</d:error>

Dates before 1-1-1970 are represented by negative values that can't be stored in database (the type of these records are unsigned int)
Previous discussion here: https://github.com/fruux/Baikal/pull/537

Looks good. Waiting for the CI server to agree.


Security Enhancements

we need to hash SecurityCode.  In the network manager, I can see the whole account payload JSON.  Anyone who has any developer experience would be able to access this information and manipulate it.
Also change firebase configuration and hide config information in github repo

I was going to submit an Issue, but figure I'll post here. As someone who was checking out the website and signed up, I was a little off-put seeing that you guys rolled your own accounts/authentication. Opening up the network monitor in Firefox confirmed that I should be worried!

Passwords should use a more computationally expensive hash than MD5. They should also be salted. See: https://crackstation.net/hashing-security.htm

Passwords and security codes shouldn't be delivered in the user list or user profile requests! Like... what?! Better hope all your users have passwords that aren't easily found in a lookup or rainbow table, because someone could try and crack some passwords in hopes they can use the same password for their email account.

Admin authentication level shouldn't be determined by your security code. I see it has no functionality, but I made a dummy account with access to the admin dashboard very easily.

It's trivially easy to falsify the Edit Profile POST request to be able to edit other people's profiles (including their email, password hash, etc.). I managed to edit a dummy profile, while logged into a different profile.

Hi JDBar,
You're absolutely correct. We've replaced the site with a maintenance placeholder. We're moving all our db operations to a cloud server for the back end layer and ensuring the correct users edit the correct information.
We've also built filtering to only deliver relevant safe information. We're also going to implement salting and remove the admin authentication ties to the security code.
Thank you for clarifying and highlighting your concerns, we were working in the background to improve this but your comment has helped us raise the flags and stop everything to correct this as soon as possible.
Please feel free to shoot me an email to my personal email if you'd like to help out more. We are looking for more knowledgable cyber security people to help us out and we would love your input.
Thanks


New referenceerror: exports is not defined in ES module scope

I have a script on node v18.12.1:
import * as pg from 'pg'
const { Client } = pg

async function main() {

    const client = new Client({

        connectionString: process.env.DATABASE_URL
    })
    await client.connect()

    const res = await client.query(`DELETE FROM "Regeneration" WHERE`)

    console.log({ res })
    await client.end()
}

main()
    .catch((e) => {
        throw e
    })
    .finally(async () => {
        console.log(`Finished script.`)
    })

Running this using node --loader ts-paths-esm-loader gives::
(node:1090564) ExperimentalWarning: Custom ESM Loaders is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
ReferenceError: exports is not defined in ES module scope
    at file:///home/wvhulle/Documents/Inbiose/dsp/src/lib/ionExchange/script.ts:26:23
    at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
    at async loadESM (node:internal/process/esm_loader:91:5)
    at async handleMainPromise (node:internal/modules/run_main:65:12)

This error was not there a week ago.

Hello @wvhulle, could you give more detail, like your package.json, tsconfig, build and start scripts?

Yes, thank you for the speedy response.
This is my tsconfig:
{
	"ts-node": {
			"experimentalSpecifierResolution" :"node",
			"esm": true,
	},
	"compilerOptions": {
		"allowSyntheticDefaultImports" : true,
		"moduleResolution": "node",
		"module": "es2020",
		"lib": [
			"es2020",
			"DOM"
		],
		"target": "es2020",
		/**
			svelte-preprocess cannot figure out whether you have a value or a type, so tell TypeScript
			to enforce using \`import type\` instead of \`import\` for Types.
			*/
		"importsNotUsedAsValues": "error",
		"resolveJsonModule": true,
		/**
			To have warnings/errors of the Svelte compiler at the correct position,
			enable source maps by default.
			*/
		"sourceMap": true,
		"esModuleInterop": true,
		"skipLibCheck": true,
		"forceConsistentCasingInFileNames": true,
		"baseUrl": ".",
		"allowJs": false,
		"checkJs": false,
		"paths": {
			"$lib": [
				"../src/lib"
			],
			"$lib/*": [
				"../src/lib/*"
			]
		},
	},
	"include": [
		"**/*.ts",
		"**/*.d.ts",
		"**/*.js"
	],
    "exclude": [
		"../node_modules",
    ]
}

My package.json:
  "name": "dsp",
  "version": "7.0.0",
  "main": "svelte.config.js",
  "directories": {
    "doc": "docs",
    "test": "tests"
  },
  "dependencies": {
    "@neodrag/svelte": "^1.2.4",
    "@prisma/client": "^4.8.0",
    "carbon-icons-svelte": "^11.4.0",
    "csv": "^6.2.1",
    "dotenv": "^16.0.3",
    "fuzzysort": "^2.0.1",
    "ldap-authentication": "^2.3.1",
    "npm-check-updates": "^16.0.5",
    "pg": "^8.8.0",
    "snapsvg": "^0.5.1",
    "svelte-time": "^0.7.1",
    "xlsx": "https://cdn.sheetjs.com/xlsx-0.19.0/xlsx-0.19.0.tgz",
    "zod": "^3.19.1"
  },
  "devDependencies": {
    "@faker-js/faker": "^7.4.0",
    "@fingerprintjs/fingerprintjs": "^3.3.6",
    "@playwright/experimental-ct-svelte": "^1.25.1",
    "@playwright/test": "^1.25.0",
    "@sveltejs/adapter-node": "^1.0.0",
    "@sveltejs/kit": "1.0.1",
    "@tailwindcss/typography": "^0.5.4",
    "@types/express": "^4.17.14",
    "@types/lodash": "^4.14.184",
    "@types/node": "^18.11.9",
    "@types/pg": "^8.6.6",
    "@typescript-eslint/eslint-plugin": "^5.34.0",
    "@typescript-eslint/parser": "^5.34.0",
    "@untemps/svelte-use-drop-outside": "^1.6.0",
    "@vitest/coverage-c8": "^0.23.1",
    "autoprefixer": "^10.4.8",
    "carbon-preprocess-svelte": "^0.9.1",
    "chart.js": "^3.9.1",
    "concurrently": "^7.5.0",
    "csv-parse": "^5.3.0",
    "cuid": "^2.1.8",
    "d3": "^7.6.1",
    "d3-scale": "^4.0.2",
    "d3-shape": "^3.1.0",
    "daisyui": "^2.24.0",
    "date-picker-svelte": "^2.2.4",
    "dayjs": "^1.11.5",
    "eslint": "^8.22.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-svelte3": "^4.0.0",
    "express": "^4.18.2",
    "fast-check": "^3.1.2",
    "flubber": "^0.4.2",
    "jsdom": "^20.0.0",
    "jshint": "^2.13.5",
    "katex": "^0.16.0",
    "lodash": "^4.17.21",
    "node-forge": "^1.3.1",
    "papaparse": "^5.3.2",
    "postcss": "^8.4.16",
    "postcss-load-config": "^4.0.1",
    "prettier": "^2.7.1",
    "prettier-plugin-svelte": "^2.7.0",
    "prisma": "^4.8.0",
    "socket.io": "^4.5.3",
    "socket.io-client": "^4.5.3",
    "sortablejs": "^1.15.0",
    "svelte": "^3.54.0",
    "svelte-check": "^2.8.1",
    "svelte-preprocess": "^4.10.7",
    "svelte-select": "^4.4.7",
    "tailwindcss": "^3.1.8",
    "ts-node": "^10.9.1",
    "ts-paths-esm-loader": "^1.3.2",
    "tslib": "^2.4.1",
    "typescript": "^4.8.4",
    "vite": "^4.0.0",
    "vitest": "^0.25.3"
  },
  "scripts": {
    "dev": "eval $(grep '^PUBLIC_PORT' .env) && vite dev --port $PUBLIC_PORT",
    "build": "vite build",
    "package": "svelte-kit package",
    "preview": "eval $(grep '^TEST_PORT' .env) && vite preview --port $TEST_PORT",
    "check": "svelte-check --tsconfig ./tsconfig.json",
    "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
    "lint": "prettier --ignore-path .gitignore --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
    "format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. .",
    "test-e2e": "playwright test",
    "deploy": "bash deploy.sh",
    "test": "vitest",
    "coverage": "vitest run --coverage"
  },

  "type": "module",

}

The tsconfig i shared is for a subproject of the main project that modifies a sveltekit server to support websockets. I didn't run that server however to arrive at the error output mentioned in my first post.

I created a small project to try to reproduce the error you got, please download it and try on your own machine, it worked for me, so if it works for you, probably it is not related to this package.
I ran node --loader ts-paths-esm-loader src/index.ts
https://stackblitz.com/edit/node-tzu7um?file=package.json

I see, i was not passing the right tsconfig. Is there no option to pass the tsconfig file as an option in this repository?

Try running it like this node --loader ts-paths-esm-loader src/index.ts --project ./path/to/tsconfig.json ts-node uses --project arg to get the config file

@wvhulle any update?

Hey I've tested that out but it didn't work.

Ok, so maybe the only way is to run the command from a directory that has a tsconfig.json with the right config


Update pytket-pecos to 0.1.12

Description
The only difference between pytket-pecos 0.1.12 and 0.1.11 is that it depends on pytket-phir 0.4.0. This has some bug fixes and also drops its dependency on pytket-quantinuum, so we avoid circular dependencies here.
Checklist

[x] I have performed a self-review of my code.
[ ] I have commented hard-to-understand parts of my code.
[ ] I have made corresponding changes to the public API documentation.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have updated the changelog with any user-facing changes.

Superseded by #350 .


feat(mock-server): support add and remove mode

With this PR, the controller simulated by the mock-server can be put into inclusion and exclusion mode. No nodes will be found, but at least there won't be an error when trying to start those modes.

@zwave-js-bot automerge


upgraded to the latest orders image

the new image (0.4.2) improves order handling in case of an invalid order request

related to https://github.com/microservices-demo/orders/issues/11 and https://github.com/microservices-demo/orders/pull/39


ci: Verify and block merge if other projects are not updated

This will take the VERSION of all the components in order to
verify that they match among them before merging the runtime.
Fixes #1581
Depends-on: github.com/kata-containers/packaging#614
Signed-off-by: Gabriela Cervantes<EMAIL_ADDRESS>

Ah, I see the in-flight matching PR now: https://github.com/kata-containers/packaging/pull/614/files

/test

/test

@GabyCT  could you backport this for stable-1.6 and stable-1.7 ?


stable version of meepo

from 1.5.0, release stable version

major - range [1,9]
minor - range [0,9]
patch - range [0,99]

spring-spel and spring-mvc

major - spring's
minor - spring's
patch - wings build [100,999]

add -Dmeepo.log-level=ERROR for ci


Upgrade wrapper to the latest nightly

Getting rid of the branch snapshot

@bot-gradle test and merge

Your PR is queued. See the queue page for details.


Moving configuration values to config file.

@stefan-kenyon I updated how the configuration values are loaded into the API. Whenever you merge this branch into your dev branch you'll need to do an extra step before it will work.
I added a file called src/api/TinRoll.Api/appsettings.Development.tmp.json, this is a placeholder config file.
Please copy that file, remove the .tmp from the file path so it's just appsettings.Development.json, and then put your sql server config values in the SqlServer json property.
After that you should be able to use the API just like normal.


Rebrand and refunction of "support" button.

Is your feature request related to a problem? Please describe.
This is an optimization recommendation. My main point is making this button do more with fewer steps would lead to a bit more community curation/more accurate feeds to what people are interested in
There are barriers to entry on using "support", staking tokens for the sake of boosting content when a user like another users content (rather than their own video).

just a guess, but majority of supports are going to a users own content.  If supports are even simpler to give, users might support content they are viewing more.
supports can be a little vague on what kind of effect they will have (how much do I support?).  To support
-removing support is a barrier, it goes forgotten requires search to remove.
-unused lbry change sits idle, or possibly for too long in a support where it no longer is helpful.
as an engagement "support" is a bit bland

Describe the solution you'd like
Minimize Actions (currently: click, think how much, type how much, click ok)
Replace "support button with two" A primary "Instant support" and a smaller "custom" support button. This primary button would be designed to act similar to a "like" (actions: just click) button on a youtube type platform.
Set parameters in the settings for a instant support button.  The options would ideally be:
-portion of remaining balance to support
-minimum LBC to keep in wallet
-time frame to keep supported (automatic support removal)
they automatically support the video with a portion of their available balance.  if this could be a timed setting, it could unsupported automatically after e.g. 24 hours.   This can be a way that users can organically support video with fewer steps.
Describe alternatives you've considered
If automated support removal is a step too far, an alternative might be:
Add an easy way to remove all supports that are x(hours) old.  Design with the thought: open lbry, reclaim old supports to recharge, on to boost content with instant support.

Thanks for the detailed write up. There are some immediate things we can do as part of https://github.com/lbryio/lbry-desktop/issues/3822 and can take some ideas here.
Automated support removal won't be a thing, but we want to make it easier eventually but we need sdk support for it (will make sure we have an issue filed for that ).

We've made some progress with https://github.com/lbryio/lbry-desktop/issues/3822. We won't be doing any automated type stuff with supports for now, but do hope to make this easier down the road with SDK improvements around management.


how to ignore a folder?

Here's my metalsmith.json:
"metalsmith-ignore": [

	"less/**",
	"less",

]

It ignores all *.less files, but still copies less/ directory into the build folder.
Here are all the patterns I tried so far:
[

	"less/**/*.less",
	"less/*",
	"less/**/*",
	"less/",
	"less",
	"./less"

]

Any suggestions?

I had the exact same problem as you.
You might have invisible dotfile in your less directory. If you also delete dotfiles, it should work.
Here is my (working) configuration:
        .use(ignore([ // use ignore as soon as possible is important as it lowers the build time
            'js/bootstrap/**', // ignore bootstrap files
            'js/bootstrap/**/.*' // ignore bootstrap hidden files
        ]))
```js

Hope this helps!

I'm also confused about this. It doesn't appear very semantic to use a glob if you simply want to ignore a directory entirely. Ideally we could just put the folder name:
.use(ignore([
    'directory'
]))

In other words, you must explicitly ignore hidden files in addition to the directory if you want to ignore an entire directory that contains hidden file.

Thanks, @oupala. :+1:

Why not just use Metalsmith(__dirname).ignore("folder")?

Thanks @julmot for this interesting suggestion. I tried it just now and did not managed to make it work.
I replaced this:
.use(ignore([
    'images/logo.svg'
]))

by this:
.ignore(
  'images/logo.svg'
)

And my logo.svg file is no more ignored.

@oupala The .ignore() function will search relative from the source directory (.source(dir)). Are you sure that you aren't referencing from the metalsmith file? Also, .ignore() accepts an array too. So you don't need to replace it with a single string.

I think I am correctly referencing the file:
$ ls -l src/images/logo.svg
-rw-r--r-- 1 myuser myuser 4694 juil.  2  2015 src/images/logo.svg

By the way, I'm also using arrays when I need to ignore more than one item.

@oupala For me, it works like a charm.

Well, for me, it really doesn't... :-)
Does anyone has an idea about why it doesn't work in some cases, and which ones?

@oupala Did you tried other filenames? Can you please post your full code that is necessary to execute Metalsmith?
Regarding your question, I think this plugin still exists due to compatibility reasons.

When using ignore, it appears that we can use full path to the file. We need to use the ** prefix.
These syntaxes works:
.ignore([
      '**/src/images/logo.svg'
])

.ignore([
      '**/images/logo.svg'
])

.ignore([
      '**/logo.svg'
])

.ignore([
      'logo.svg'
])

But it seems that - if you wan to add some dir in the path, the path must be prepended by **.
Is there a way to specify a path relative to the source directory? Something like:
.ignore([
      'images/logo.svg'
])

or
.ignore([
      'src/images/logo.svg'
])

Thanks @oupala for that, ignoring a directory now works for me!


Vulnerability roundup 110: wasm3-0.5.0: 3 advisories [5.5]

search, files

[ ] CVE-2021-45929 CVSSv3=5.5 (nixos-21.11, nixos-unstable)
[ ] CVE-2021-45946 CVSSv3=5.5 (nixos-21.11, nixos-unstable)
[ ] CVE-2021-45947 CVSSv3=5.5 (nixos-21.11, nixos-unstable)

CVE details
CVE-2021-45929
Wasm3 0.5.0 has an out-of-bounds write in CompileBlock (called from CompileElseBlock and Compile_If).
CVE-2021-45946
Wasm3 0.5.0 has an out-of-bounds write in CompileBlock (called from Compile_LoopOrBlock and CompileBlockStatements).
CVE-2021-45947
Wasm3 0.5.0 has an out-of-bounds write in Runtime_Release (called from EvaluateExpression and InitDataSegments).

Scanned versions: nixos-21.11: 3ddd960a3b5; nixos-unstable: 5aaed40d22f.
Cc @malbarbo

See also: #138701

Marked vulnerable in 25dbfa36fd9c32fee1d15386cc358dfc3885bfd9.


TypeError: Cannot read property 'bind' of undefined

TypeError: Cannot read property 'bind' of undefined
  at Runtime._createRuntimeFor (node_modules\serverless-jest-plugin\node_modules\jest-runtime\build\index.js:709

Serverless Version 1.8.0

@nenti thanks for reporting the issue. I tried to reproduce the issue with Serverless 1.8.0 and several Node versions, but couldn't. What's your Node version and OS? Are you running sls invoke test when the issue appears?

I am also getting similar error.
`
$ sls invoke test
FAIL  tests/functions/demo.test.js
● Test suite failed to run
TypeError: Cannot read property 'bind' of undefined

  at Runtime._createRuntimeFor (node_modules/serverless-jest-plugin/node_modules/jest-runtime/build/index.js:709:52)
  at process._tickDomainCallback (internal/process/next_tick.js:135:7)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        0.059s
Ran all test suites.
`
serverless-jest-plugin version "^0.1.3"
sls version 1.12.1
Node Version 6.10.2
OS: mac os x 10.12.4

not sure but i think issue is related to versions of jest/jest-cli.  this package is using 18.1.0 and i also have latest jest 19.x installed.
https://github.com/facebook/jest/issues/3114

create a constructor in the class and initial your function for exemple:
constructor() {
super();
this.handleSubmit = this.handleSubmit.bind(this)
                  }

@nenti any updates?

@vaibhav-systango I don't use sls invoke test and run with plain jest. Working just fine, although you can't execute tests to remote systems this way.


Decommission Start/End Date Columns Not Loading in Well Search Results Table

About the Roadmap Item
The "Decommission Start/End Date" columns are currently not loading in the well search results table, causing incomplete data display for users. This issue prevents users from accessing key timeline information on well decommissioning, potentially impacting report accuracy and workflow.
Additional Context

Decommission Start/End dates are not sortable either. Also "Decommssion Start/End date" and "Licence" columns are not able to download (these columns are missing in the downloaded Excel or CSV)