Device render problem

Of course Cosmograph is best experienced on a large monitor with nice graphics card, but still, some people are expecting to see at least a reduced version on other devices.
Besides going out of memory (I realise that is a different and difficult issue!) we have seen two types of error, on creating the graph and setting the data.
I guess these are more problems with regl than Cosmograph, but is there any plan to cope with these devices?
new Graph(canvas, config)
(regl)  "OES_texture_float" extension is not supported by the current WebGL context, try upgrading your system or a different browser
graph.current.setData(nodes, links)
(regl) invalid width

@awaterho Unfortunately I don't think there's a way to resolve those issues:

The "OES_texture_float" one most likely means that the GPU doesn't support floating point textures. But they are required to do the calculations;
I'm not sure what the "invalid width" one exactly mean, but most likely it's also related to hardware.

Sometimes updating your browser and/or GPU drivers can help, but the only way to know is to try. Maybe if you can collect information about GPU types and browser versions from the affected users, we could do some investigation.

happy to close this as 'wont fix' as i understand using the latest libraries is the way forward.

Hey, I did go back to look at those "(regl) invalid width" issues, and found that I could not set the spaceSize to be 8192 in the cosmo config. Trying that, then catch the exception to reset spaceSize to 4096 means cosmograph will run happily on more devices

@awaterho Good point! We'll see what we can do about it.


Add on position changed event

This introduces a onPositionChanged event so we can keep track of the player position on a current track.

This can't be merged. Made another PR here: https://github.com/doublesymmetry/KotlinAudio/pull/36


Display of items-per-page-label in Grid with pagniation

Hi.
I'm using SlickGrid in an angular project (Angular 11) and when I try to display it with pagination I occure a weird display

The problem is not on the CSS, I have to work on it
But what I don't understand is that in spite of my settings :
enablePagination: true,
pagination: {
pageSizes: [5, 10, 15, 20, 25, 50, 75, 100],
pageSize: 25
}
and the good display in the grid (effectively) 25 lines
the select control keeps displaying the first item of pageSizes (eg 5)
SlickGrid Version :
"angular-slickgrid": "2.22.1",

This repo is dead. Please use as post issues to: https://github.com/6pac/SlickGrid/wiki
Or GhisCoding also has a number of extensions of the basic grid, notably Aurelia and Angular: https://github.com/ghiscoding/


AttributeError: module 'configparser' has no attribute 'RawConfigParser'

botocore is throwing an error that it has no attribute 'RawConfigParser'.
File "/lib/python3.5/site-packages/botocore/configloader.py", line 106, in load_config
parsed = raw_config_parse(config_filename)
File "/lib/python3.5/site-packages/botocore/configloader.py", line 147, in raw_config_parse
cp = six.moves.configparser.RawConfigParser()
AttributeError: module 'configparser' has no attribute 'RawConfigParser'
code trigger:
s3 = boto3.resource('s3')
environment:
Python 3.5.2
boto==2.43.0
boto3==1.4.5
botocore==1.5.92
six==1.10.0
running on a mac 10.12.6 within a virtualenv
Thank you.

There's a related earlier issue here.  Can you try upgrading to the latest version of botocore and see if you're still getting this issue?
If not, if you try to access the RawConfigParser in your virtualenv do you still get this error?  I.e can you share the output of this command?
$ python -c 'from botocore.compat import six; print(six.moves.configparser.RawConfigParser)'
ConfigParser.RawConfigParser

Additionally, also ensure that you're not creating resources in multiple threads.
(http://boto3.readthedocs.io/en/latest/guide/resources.html?highlight=multithreading#multithreading-multiprocessing)

Closing due to inactivity.


fix(jenkins/release/jenkins): use offical chart

Signed-off-by: wuhuizuo<EMAIL_ADDRESS>

/approve


Add TransitChat repos

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks @AvidDabbler for this contribution!


Add Dockerfile to enable builds

This adds a simple Dockerfile which produces a docker image that can be pushed to a container registry.
Updates #57
Signed-off-by: Steve Sloka<EMAIL_ADDRESS>

Any thoughts or reviews on this PR?


Cannot restore with v13 snapshot manually

OS
Your OS: macOS
Versions
The db-sync version (eg cardano-db-sync --version): 13.0.1
PostgreSQL version: 14.4
Build/Install Method
The method you use to build or install cardano-db-sync: Docker
Run method
The method you used to run cardano-db-sync (eg Nix/Docker/systemd/none): Docker
Additional context
Docker Compose file used is here. Only started postgres:
docker compose up -d postgres

Also drop the public schema in the new database:
DROP SCHEMA public;

Problem Report
When restore snapshot like:
tar -zOxf ~/Downloads/db-sync-snapshot-schema-13-block-7477999-x86_64.tgz | psql -h localhost -d cexplorer -U postgres

I got encoding errors like these:
invalid command \??X
invalid command \?q?9?A'???DNFTCX?@?fZqub*?d0?Zml?
invalid command \???U????9y??K3DKicks0240XTEq?????*ʗ?C?!
ERROR:  invalid byte sequence for encoding "UTF8": 0xb0
ERROR:  invalid byte sequence for encoding "UTF8": 0xbc
invalid command \?g?45]<wk?p???Nbutterfly00108X???????J?|Kݷ
                                                           ?E?w+5#XS?F$?KShapes08563KShapes12772KShapes13110KShapes13876KShapes25239KShapes32877KShapes34715KShapes36413KShapes37319KShapes48525X?J6?鑪_K(q$,???bI?LI???w~?MCardaStars150X?.?D@Sh?E??EZ????ՓU????LPomCyclr3830KPomRidr3830X??`Xx@=?D???P?
ERROR:  invalid byte sequence for encoding "UTF8": 0xd2 0xfb
ERROR:  invalid byte sequence for encoding "UTF8": 0xf2 0x11 0x64 0x85
invalid command \m??f????D?gC???????>
ERROR:  invalid byte sequence for encoding "UTF8": 0x80
ERROR:  invalid byte sequence for encoding "UTF8": 0xb6
ERROR:  invalid byte sequence for encoding "UTF8": 0x9a
invalid command \???xn????]]6???A??Z??w?CBLC??$b?SmE
ERROR:  invalid byte sequence for encoding "UTF8": 0x9a
ERROR:  invalid byte sequence for encoding "UTF8": 0xd0 0xd2
ERROR:  invalid byte sequence for encoding "UTF8": 0x9a

If use pg_restore instead of psql,
tar -zOxf ~/Downloads/db-sync-snapshot-schema-13-block-7477999-x86_64.tgz | pg_restore -h localhost -d cexplorer -U postgres

it ends up with:
pg_restore: error: input file appears to be a text format dump. Please use psql.
db-sync-snapshot-schema-13-block-7477999-x86_64.sql: Write error
tar: Error exit delayed from previous errors.

These db-sync snapshots contain two componenets; the database and the ledger state.
If you try to restore this manually it will not work.


Is it possible to make this plugin available on android platform too ?

Is it possible to make this plugin available on android platform too ?

It's not possible to do it with the same features. See: https://github.com/GEDYSIntraWare/cordova-plugin-webview-proxy/pull/17#issuecomment-1007998079


Update CMakeLists.txt

make it optional for unit test

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


clean up the bibliography entries for the suggested readings and exemplars, and put them all in ACM style.

@drpaulralph  says:
Please clean up the bibliography entries for the suggested readings and exemplars, and put them all in ACM style.
But the refs seem fine to me.

They are not. This is ACM style: https://www.acm.org/publications/authors/reference-formatting


Improve / remove errors

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

Comparison is base (3db5fe4) 75.28% compared to head (1708f67) 93.30%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1280       +/-   ##
===========================================
+ Coverage   75.28%   93.30%   +18.01%
===========================================
  Files          36        7       -29
  Lines       10513      239    -10274
===========================================
- Hits         7915      223     -7692
+ Misses       2598       16     -2582

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


Dill file missing when serving web project in Dart 3

I am trying to make js_bindings example work but I am having this error when trying to serve using DDC. It works OK when using dart2js compiler.
Dart SDK version: 3.0.0-151.0.dev (dev) (Fri Jan 20 22:45:17 2023 -0800) on "macos_x64"
webdev serve example

[INFO] Reading cached asset graph completed, took 672ms
[INFO] Checking for updates since last build completed, took 1.2s
[INFO] Serving `example` on http://<IP_ADDRESS>:8080
[INFO] Running build completed, took 338ms
[INFO] Caching finalized dependency graph completed, took 504ms
[SEVERE] build_web_compilers:entrypoint on example/main.dart (cached): Bad state: Unable to locate required sdk resource build_web_compilers|lib/src/dev_compiler/dart_sdk.sound.js

[SEVERE] build_web_compilers:sdk_js on asset:build_web_compilers/$package$ (cached): Error compiling dartdevc module:build_web_compilers|lib/src/dev_compiler/dart_sdk.sound.js

Unhandled exception:
PathNotFoundException: Cannot open file, path = '/Users/jonathanrezende/Dart/current/lib/_internal/ddc_platform_sound.dill' (OS Error: No such file or directory, errno = 2)
#0      _File.throwIfError (dart:io/file_impl.dart:618:7)
#1      _File.openSync (dart:io/file_impl.dart:473:5)
#2      _File.readAsBytesSync (dart:io/file_impl.dart:533:18)
#3      loadComponentFromBinary (package:kernel/kernel.dart:27:36)
#4      compileSdkFromDill (package:dev_compiler/src/kernel/command.dart:544:19)
#5      _compile (package:dev_compiler/src/kernel/command.dart:210:12)
#6      compile (package:dev_compiler/src/kernel/command.dart:52:12)
#7      internalMain (package:dev_compiler/ddc.dart:37:24)
#8      main (file:///opt/s/w/ir/x/w/sdk/pkg/dev_compiler/bin/dartdevc.dart:18:14)
#9      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:293:33)
#10     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26)

webdev needs to make a new release to be compatible with the latest DDC changes (https://github.com/dart-lang/sdk/issues/50700). See https://github.com/dart-lang/sdk/issues/51106#issuecomment-1404208094 for a plan and more context.

@jodinathan and @parlough for reporting this. We are working on releasing a new webdev version that will support current SDK layout changes for dart 3.0 that exist in dev SDK channel. I am moving this issue to webdev repo.


Rename factory girl to factory bot

FactoryGirl was renamed to FactoryBot (https://github.com/thoughtbot/factory_bot), so the changes from FactoryGirlInstruments to FactoryBotInstruments are included in this PR.
The https://github.com/mahzilla/factory_girl_instruments/blob/f919bde870dd846051f71178d0129bfad4ae936a/README.md and https://github.com/mahzilla/factory_girl_instruments/blob/f919bde870dd846051f71178d0129bfad4ae936a/factory_bot_instruments.gemspec still have factory_girl_instruments strings since they appear to require coordination with the owner of factory_girl_instruments gem.

Thank you for changing the name of the gem. Next steps after merging this gem would be to rename the gem, and to update the name of the repository.

H @shiroyasha, Do you have a plan to release a new version of the gem? The gem is very helpful, so it would be nice if we could use it from rubygems.org. Thank you.


[WIP] Update v1.18 OWNERS_ALIASES

Update OWNERS_ALIASES for v1.18 to include recent changes.
~I did this using a cherry-pick; if that should be a merge instead, I can do that.~
/cc @VineethReddy02

@sftim LGTM. Can you rebase the PR? We can go ahead with getting this done.

/retitle [WIP] Update v1.18 OWNERS_ALIASES

/milestone 1.18

👋 Please rebase this PR on dev-1.18 in order to avoid merge conflicts.
Feel free to /hold cancel after you've rebased.
/hold

I'm going to /close this one.


Issue with arming when "allow open" sensor is active

Currently if I have sensor which is configured to "allow open" and it is active while trying to arm the alarm the arming will fail.
This is because of the following logic in validate_event function
           sensor_config = self._config[entity]
            if event == EVENT_LEAVE and not sensor_config[ATTR_IMMEDIATE]:
                continue
            elif event == EVENT_ARM and sensor_config[ATTR_ALLOW_OPEN]:
                continue          #<--- We expected this continue statement to execute and skip the validation of this sensor but the state is EVENT_LEAVE and not EVENT_ARM so we skip this if statement.

I think the fix should be:
            sensor_config = self._config[entity]
            if event == EVENT_LEAVE and not sensor_config[ATTR_IMMEDIATE]:
                continue
            if event in [EVENT_LEAVE, EVENT_ARM] and sensor_config[ATTR_ALLOW_OPEN]:
                continue

I tested it on my setup and it seems to do what I would expect but maybe i'm missing something.

I agree, must have overlooked it.
You can create a PR for this change if you wish.
Thanks for doing all the work 👍

Sure. will send a PR. thanks.


CI builds fail with SPACESHIP_SKIP_2FA_UPGRADE variable

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
We have faced with the issue passing 2fa for CI. We created SPACESHIP_SKIP_2FA_UPGRADE and other necessary environment variables in our pipelines to pass 2fa. We use flag added in this issue: https://github.com/fastlane/fastlane/issues/18098. This issue is random sometimes it passes successfully but sometimes it fails with the issue below.
Failed build: https://github.visualstudio.com/virtual-environments/_build/results?buildId=98456&view=logs&j=80d86624-2c9a-5cad-9434-144b838e69fb&t=7f6ff0d4-adc5-5557-eba3-0604338bbbf7&l=2586
Command executed
In our pipeline we use tool xcversion. It uses fastlane 2.173.0 and tries authenticate with bypass 2fa.
Used commands:

xcversion install
xcversion list

Complete output when running fastlane, including the stack trace and command used

    vsphere-clone: Installing Xcode versions...
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/client.rb:911:in `handle_401'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/client.rb:885:in `block in send_request'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/client.rb:643:in `with_retry'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/client.rb:879:in `send_request'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/client.rb:723:in `request'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/upgrade_2fa_later_client.rb:32:in `try_upgrade_2fa_later'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/client.rb:511:in `send_shared_login_request'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/portal/portal_client.rb:28:in `send_login_request'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/client.rb:805:in `do_login'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/client.rb:390:in `login'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/client.rb:352:in `login'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/portal/spaceship.rb:25:in `login'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/portal/spaceship.rb:103:in `login'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/xcode-install-2.6.8/lib/xcode/install.rb:350:in `spaceship'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/xcode-install-2.6.8/lib/xcode/install.rb:391:in `fetch_seedlist'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/xcode-install-2.6.8/lib/xcode/install.rb:210:in `seedlist'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/xcode-install-2.6.8/lib/xcode/install.rb:429:in `list_versions'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/xcode-install-2.6.8/lib/xcode/install.rb:320:in `list'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/xcode-install-2.6.8/lib/xcode/install/list.rb:13:in `run'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/xcode-install-2.6.8/bin/xcversion:12:in `<top (required)>'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/bin/xcversion:23:in `load'
==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/bin/xcversion:23:in `<main>'
==> vsphere-clone: Failed to bypass 2FA upgrade
==> vsphere-clone: To disable this from trying again, set SPACESHIP_SKIP_UPGRADE_2FA_LATER=1

==> vsphere-clone: /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/client.rb:519:in `send_shared_login_request': Need to acknowledge to Apple's Apple ID and Privacy statement. Please manually log into https://appleid.apple.com (or https://appstoreconnect.apple.com) to acknowledge the statement. Your account might also be asked to upgrade to 2FA. Set SPACESHIP_SKIP_2FA_UPGRADE=1 for fastlane to automaticaly bypass 2FA upgrade if possible. (Spaceship::AppleIDAndPrivacyAcknowledgementNeeded)
==> vsphere-clone: 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/portal/portal_client.rb:28:in `send_login_request'
==> vsphere-clone: 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/client.rb:805:in `do_login'
==> vsphere-clone: 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/client.rb:390:in `login'
==> vsphere-clone: 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/client.rb:352:in `login'
==> vsphere-clone: 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/portal/spaceship.rb:25:in `login'
==> vsphere-clone: 	from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.173.0/spaceship/lib/spaceship/portal/spaceship.rb:103:in `login'
==> vsphere-clone: 	from /usr/local/lib/ruby/gems/2.7.0/gems/xcode-install-2.6.8/lib/xcode/install.rb:350:in `spaceship'
==> vsphere-clone: 	from /usr/local/lib/ruby/gems/2.7.0/gems/xcode-install-2.6.8/lib/xcode/install.rb:391:in `fetch_seedlist'
==> vsphere-clone: 	from /usr/local/lib/ruby/gems/2.7.0/gems/xcode-install-2.6.8/lib/xcode/install.rb:210:in `seedlist'
==> vsphere-clone: 	from /usr/local/lib/ruby/gems/2.7.0/gems/xcode-install-2.6.8/lib/xcode/install.rb:429:in `list_versions'
==> vsphere-clone: 	from /usr/local/lib/ruby/gems/2.7.0/gems/xcode-install-2.6.8/lib/xcode/install.rb:320:in `list'
==> vsphere-clone: 	from /usr/local/lib/ruby/gems/2.7.0/gems/xcode-install-2.6.8/lib/xcode/install/list.rb:13:in `run'
==> vsphere-clone: 	from /usr/local/lib/ruby/gems/2.7.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
==> vsphere-clone: 	from /usr/local/lib/ruby/gems/2.7.0/gems/xcode-install-2.6.8/bin/xcversion:12:in `<top (required)>'
==> vsphere-clone: 	from /usr/local/lib/ruby/gems/2.7.0/bin/xcversion:23:in `load'
==> vsphere-clone: 	from /usr/local/lib/ruby/gems/2.7.0/bin/xcversion:23:in `<main>'
==> vsphere-clone: Exception: /Users/runner/image-generation/helpers/Xcode.Installer.psm1:28
==> vsphere-clone: Line |
==> vsphere-clone:   28 |          throw "Version '$Version' can't be matched to any available v …
==> vsphere-clone:      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==> vsphere-clone:      | Version '10.3' can't be matched to any available version
==> vsphere-clone:
==> vsphere-clone: Script exited with non-zero exit status: 1.Allowed exit codes are: [0]

Environment

[12:38:54]: Learn more at https://docs.fastlane.tools/#metrics
[12:38:54]: No personal or sensitive data is sent.
[12:38:54]: You can disable this by adding opt_out_usage at the top of your Fastfile
[12:38:54]: Generating fastlane environment output, this might take a few seconds...
✅ fastlane environment ✅
Stack

Key
Value

OS
10.15.7

Ruby
2.7.2

Bundler?
false

Git
git version 2.30.0

Installation Source
/usr/local/lib/ruby/gems/2.7.0/bin/fastlane

Host
Mac OS X 10.15.7 (19H512)

Ruby Lib Dir
<EMAIL_ADDRESS>

OpenSSL Version
OpenSSL 1.1.1i  8 Dec 2020

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode_12.3.app/Contents/Developer/

Xcode Version
12.3

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.173.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.4.0

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
3.0.3

claide
1.0.3

colored2
3.1.2

nanaimo
0.3.0

xcodeproj
1.19.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

public_suffix
4.0.6

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

artifactory
3.0.15

babosa
1.0.4

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.79.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.7

faraday_middleware
1.0.0

fastimage
2.2.2

gh_inspector
1.1.3

mini_magick
4.11.0

rubyzip
2.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.1

dotenv
2.7.6

bundler
2.2.8

naturally
2.2.1

simctl
1.6.8

jwt
2.2.2

uber
0.1.0

declarative
0.0.20

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mini_mime
1.0.2

multi_json
1.15.0

signet
0.14.1

memoist
0.16.2

os
1.1.1

googleauth
0.15.0

httpclient
2.8.3

google-api-client
0.38.0

google-cloud-env
1.4.0

google-cloud-errors
1.0.1

google-cloud-core
1.5.0

rexml
3.2.3

webrick
1.6.0

google-apis-core
0.2.1

google-apis-iamcredentials_v1
0.1.0

google-apis-storage_v1
0.1.0

rake
13.0.1

digest-crc
0.6.3

google-cloud-storage
1.30.0

emoji_regex
3.2.1

jmespath
1.4.0

aws-partitions
1.424.0

aws-eventstream
1.1.0

aws-sigv4
1.2.2

aws-sdk-core
3.112.0

aws-sdk-kms
1.42.0

aws-sdk-s3
1.88.0

uri
0.10.0

unicode-display_width
1.7.0

terminal-table
1.8.0

plist
3.6.0

ruby2_keywords
0.0.4

faraday-net_http
1.0.1

faraday
1.3.0

json
2.3.0

forwardable
1.3.1

logger
1.4.2

cgi
0.1.0

date
3.0.0

timeout
0.1.0

stringio
0.1.0

zlib
1.1.0

ipaddr
1.2.2

openssl
2.1.2

ostruct
0.2.0

strscan
1.0.3

delegate
0.1.0

fileutils
1.4.1

open3
0.1.0

singleton
0.1.0

mini_portile2
2.1.0

nokogiri
<IP_ADDRESS>

racc
1.4.16

yaml
0.1.0

psych
3.1.0

mutex_m
0.1.0

generated on: 2021-02-09

[12:38:54]: Take notice that this output may contain sensitive information, or simply information that you don't want to make public.
[12:38:54]: Open https://github.com/fastlane/fastlane/issues/new to submit a new issue ✅

Could you please take a look on it ?
cc: @joshdholtz

Try adding the env var to the Fastfile, maybe the CI is not picking it up for some reason
eg:
# iOS only @tempfix for Getting error "Need to acknowledge to Apple's Apple ID and Privacy statement." https://stackoverflow.com/questions/66024297/getting-error-need-to-acknowledge-to-apples-apple-id-and-privacy-statement
ENV['SPACESHIP_SKIP_2FA_UPGRADE']="1"

So seeing Failed to bypass 2FA upgrade does look like it attempted the bypass but failed in one of the 5ish requests that the bypass does to get it to work 😔
Have you tried to run this locally on your machine at all? I'm curious if there is some firewall thingy or something that azure has that is causing the bypass to fail 🤔

Hello @joshdholtz , thank you for your response. As far as we know, we don’t have a firewall on macOS machines (we run build on self-hosted machines, they are outside Azure).
Also we see that this flag can work and doesn’t work on the same machine in the same build (previous Xcode is installed successfully, next one will fail). Sometimes we see that Xcode is installed successfully but this logic looks unreliable.
For example: https://github.visualstudio.com/virtual-environments/_build/results?buildId=98564&view=logs&j=80d86624-2c9a-5cad-9434-144b838e69fb&t=7f6ff0d4-adc5-5557-eba3-0604338bbbf7&l=3498
On my local machine it works well.
May be we could add some retry logic during resolving this modal window or any additional checks could be help?

@dmitry-shibanov Would you be able to try a weird thing for me? 😇
Can you try deleting the existing spaceship session before you run your fastlane stuff?
rm -rf<EMAIL_ADDRESS>I have no idea why this would help but 🤷♂  Knowing if this solves it for you would help me debug a little more on my end 🙏

@joshdholtz Hi, this problem also was discussing in prev topic about authentication problem, my comment: https://github.com/fastlane/fastlane/issues/18098#issuecomment-774108424.
In https://github.com/fastlane/fastlane/blob/master/spaceship/lib/spaceship/client.rb#L896 script detect 403 HTTP status and after it throw exception in 889 line.
I found that problem happen on some ip set, example on AWS, on myself PC script work without this problem.

Hello @joshdholtz. Thank you for help. I cleaned ~/.fastlane/spaceship/ before each fastlane stuff, but it failed.
Build: https://github.visualstudio.com/virtual-environments/_build/results?buildId=98621&view=logs&j=80d86624-2c9a-5cad-9434-144b838e69fb&t=7f6ff0d4-adc5-5557-eba3-0604338bbbf7&l=4774

@joshdholtz Hi, this problem also was discussing in prev topic about authentication problem, my comment: https://github.com/fastlane/fastlane/issues/18098#issuecomment-774108424.
In https://github.com/fastlane/fastlane/blob/master/spaceship/lib/spaceship/client.rb#L896 script detect 403 HTTP status and after it throw exception in 889 line.
I found that problem happen on some ip set, example on AWS, on myself PC script work without this problem. Perhaps Apple blocking requests from some ip's.

@AlexTheLost Ughhhh... this was kind of my fear 😔
I'm not exactly sure how to solve or how much time to put into solving since 2FA will probably be fully required here soon 😬

I am not sure that it is IP related because we run xcversion a few times on the same machine in row. Some requests fail, some pass. Obviously, machine has the same IP between requests.
I wonder if small delays between requests could help: https://github.com/fastlane/fastlane/pull/18116/files#diff-5e20dec12daa93019cabbf31b209b09c81265e9057545416201fe8c3e05df453R31
Or may be some retry logic will help?

I am not sure that it is IP related because we run xcversion a few times on the same machine in row. Some requests fail, some pass. Obviously, machine has the same IP between requests.
I wonder if small delays between requests could help: https://github.com/fastlane/fastlane/pull/18116/files#diff-5e20dec12daa93019cabbf31b209b09c81265e9057545416201fe8c3e05df453R31
Or may be some retry logic will help?

@maxim-lobanov How quick do these run in a row? I'm now wondering if they are maybe rate limiting it? 🤔
I have no idea. I'm super stumped here so just trying to think of anything I can.

@joshdholtz , I don't think that it is rate limit. Installation of one Xcode takes about 10 minutes. So we have 1 auth request, then 10 minutes timeout, then 1 more auth request


Issue form

Pushing to issue_form branch, you can delete the other IssueFormCreation branch (was a test).
Made changes to input fields to reflect Issue #3 user story first task. Updated backend to reflect.

Okay got it! Thanks for the feedback!
On Tue, Oct 1, 2024 at 5:30 PM Mirasol Davila @.***>
wrote:

@.**** requested changes on this pull request.
Great job on the IssueForm.tsx and ESLint configuration! I’ve left some
specific comments in the code for areas where we can make tweaks:
File Upload Handling: I’ve suggested using FormData for file uploads to handle the picture field properly.
Status Dropdown: I noticed you’ve hardcoded the status as "reported" for now, which makes sense as a placeholder. When you're ready, you can switch this to a dropdown as per the user story.
Checkbox Handling: I suggested refactoring the checkbox logic into your existing handleChange function for consistency and cleaner code.
ESLint Configuration: I also noted a few differences in the ESLint setup—since the project uses TypeScript, it should target **/.ts and **/.tsx instead of JavaScript/JSX files.
Let me know if you need help with any of these updates. Thanks again for
the hard work!
—
Reply to this email directly, view it on GitHub
https://github.com/mirasoldavila13/NeighborhoodAid/pull/25#pullrequestreview-2341663580,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGPGYV75UDRGR4XAVKZYDZTZZM5CFAVCNFSM6AAAAABPGTHRN2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGNBRGY3DGNJYGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Enable content collection cache

Description (required)

Re-enables the experimental content collection caching feature

Looks like there's still a bug. Initial build for this branch succeeded, then when I re-ran the deployment with the same build cache, it failed.

@delucis how are you rerunning the deployment? I don't see it on the page. In any event, mind rerunning it again? I upgrade to the latest Astro, not sure if that's the reason yet, though.

Redeployed manually from the Vercel dashboard. Just triggered one again.

Ok thanks, think this is some extra information we need to retain in our cache manifest, will work on it.

@delucis I did a preview release with what I think is the fix. Can you try rerunning? Thanks.

Looking good! https://vercel.com/astrodotbuild/docs/CPitQx2B7xJkUTiUKZvbvFUCypvA

Marking this as a draft until https://github.com/withastro/astro/pull/11170 is released.


Package Shows up twice in Package List

I created the following packages:

MyPackage.1.0.0alpha.nupkg
MyPackage.1.0.0alpha2.nupkg
MyPackage.1.0.0beta.nupkg
MyPackage.1.0.1alpha.nupkg

When I visit /packages I see "MyPackage" twice.

MyPackage 1.0.0
MyPackage 1.0.1alpha

I would expect to only see MyPackage once.

Fixed in changeset https://preview.nuget.org/api/Feeds/v2/


Feature/button

Finally merge feature/button into master
This also includes changes to build workflow .yaml to run spotless (instead of ktLint) and the rename of the sample app.

I"m closing and re-opening as a new PR. For some reason GithubActions is not picking up on the latest commit (still failing tests that are fixed see 69f52ed


src/Makefile: avoid verbosity checks inside targets

TL; DR: use a trick allowed by GNU make to avoid verbosity checks inside targets. Also, unify output according to logic of rules.mk from ChibiOS: if verbosity then print full command only, if silent then print message only; but not both nor neither.

I use projects with make for a few years myself but only recently I discovered this trick. Sometimes I use it myself when I need to switch on/off verbosity on the fly. I hope it will be useful here as well. But if it's too hacky to accept, then I will understand.
Oh, and since there is -f flag for rm, then ignoring possible errors (such as File doesn't exist) through - prefix inside related call is not necessarily as far as I understand.
Test builds (with and without USE_VERBOSE_COMPILE=yes) have been done successfully locally on Ubuntu 18.04 with GNU Make 4.1.
One more thing. I'm aware that the original block:
ifeq ($(USE_VERBOSE_COMPILE),)
  USE_VERBOSE_COMPILE = no
endif

comes from samples with ChibiOS. But since in rules.mk there are checks for USE_VERBOSE_COMPILE = yes ? only anyway, I guess it will be more clear & less confusing to check for it here as well. But sorry in advance if I miss something here.
Now I'm very curious to hear opinions about this refactoring. :)

Thanks for your contribution that seems to be a very interesting PR to cleanup/simplify/enhance the Makefile
I will do some tests to be sure all work fine also on Windows (as it seems you have tested it only on Ubuntu 18.04)

I have tested with success the build on Windows(MSYS2) & Ubuntu 22.04 LTS (with default USE_VERBOSE_COMPILE no and with export USE_VERBOSE_COMPILE=yes) and I confirm all work fine with the expected output verbose or no verbose


Inclusion doesn't work with array

iex(14)> Tarams.cast(%{"farm" => ["cow","sheep","goat"]}, %{farm: [type: {:array, :string}, in: ["cow", "sheep", "goat"]]})
{:error, %{farm: ["not be in the inclusion list"]}}

How can I validate each element of the array?

@prithvihv Tarams not support validate each item of the array.
I think we can improve this in the next release

@prithvihv I have update in version 1.6.0
you can use like this
Tarams.cast(%{"farm" => ["cow","sheep","goat"]}, %{farm: [type: {:array, :string}, each: [in: ["cow", "sheep", "goat"]]]})

Thanks @bluzky


no reshade?

Acknowledgement of preliminary instructions

[x] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
i remember it had a reshade option in integrations but i dont seem to find it now

It was removed in May because the Hyperion anticheat update rendered it unusable.

oh yeah when i tried to add it myself it broke roblox


Convert blog entries from base Entry model to PlaceholderEntry model (cmsplugin management command, django-cms)

As a django CMS 2.4.3 + Zinnia 0.13 + cmsplugin-zinnia 0.5.1 user I want to convert all blog entries from the base Entry model to the PlaceholderEntry model, so that I can have a unified frontend editing experience after migrating to django CMS 3 (and the latest Zinnia).
I've tried to discuss this on the mailing list, to understand whether there are implementations to accomplish this task already. Until now there has been no response to this yet, so I will start implementing a management command in the cmsplugin-zinnia myself.
Any hints or suggestions are still very welcome!

Moved to cmsplugin-zinnia issue #47.


Compile benchmarks without building cudf benchmarks

Closes #337
Currently, building benchmarks in spark-rapids-jni requires building of the cudf benchmarks in order to get the libcudf_datagen library. This PR copies the library from cudf and disables building the cudf benchmarks.
Signed-off-by: Srikar<EMAIL_ADDRESS>

Artifact repository hiccup, kicking the build again

build

build


Add new sample for retrieving external users in site groups in SharePoint Online.

This script shows how you can check if external users are added to site groups. It will show all external users across all site collections and the site groups they where added to.

Hey @martinlingstuyl , thank you!! 👏😊 This should be live shortly 😊
I noticed the sample included reference to another author, do you have details e..g GitHub Profile and/or Twitter handle so I can credit as well? Or is it all you?

Hi @pkbullock,
I see the sample.json file is missing. I had filled it all out and added his name and github handle in there. 🙄
Shall I PR that?

Oh wait, it's there. in the assets folder. 😂 It contains Bart-Jans github handle

@bjdekker1982 is his twitter handle

Brilliant, I see that now - thank you.


chore: redo typo PR by youyyytrok

Thanks youyyytrok for https://github.com/AztecProtocol/aztec-packages/pull/9680. Our policy is to redo typo changes to dissuade metric farming. This is an automated script.

Docs Preview
Hey there! 👋 You can check your preview at https://6726567e06bc45d792f1e049--aztec-docs-dev.netlify.app


Bug: Select For Compare feature broken

VSCode Version: Code 1.14.0 (b8cd5b9556d8b70ea560d35b903422363f6c5c40, 2017-07-10T18:36:31.751Z)
OS Version: Windows_NT ia32 10.0.10586
Extensions:

Extension
Author (truncated)
Version

python
don
0.6.7

gitlens
eam
4.3.1

terraform
mau
0.0.16

terraform-snippets
min
1.4.2

PowerShell
ms-
1.4.1

python
tht
0.2.3

Steps to Reproduce:

Open multiple files
In the Open Editors, right-click one file and select Select For Compare.
Attempt to right-click on a different file either in Open Editors or in the currently open folder
Expected: context menu appears, from which "Compare with [filename]" can be selected
Observed: no apparent response to right-click, no context menu

Reproduces without extensions: Yes

Can no longer reproduce. Feel free to close this issue if you can't either/anymore.

I'm still seeing this issue. Right-click doesn't work for me after I select a file to compare.

https://github.com/Microsoft/vscode/issues/30269

I'm still getting this issue. how to fix it?


GDMP 4.6.1 Failing to Load on Windows 10 Pro x64

Hi guys. I am having problems launching and entering (my music library) - GDMP 4.6.1 on W10 64-bit. I have tried reading through some prior posts but couldn't find my exact issue (many apologies if I missed something, I don't use GitHub much and may have gone blind...)
I have a suspicion about what the problem might be (since I occasionally get the same thing with Chrome, where I occasionally have to delete a certain folder containing my user data or it won't open)
OS: Windows 10 Pro x64
GPMDP Version: 4.6.1
Issue Descriptions: When I open GDMP it gets stuck on "Loading Music Library". The loading progress bar remains at 0% and never increases
Steps to Reproduce: Open GDMP 4.6.1 on Windows 10 Pro x64 (sorry, that's all I got!)
What I Tried: Uninstalling GDMP via add/remove programs then re-installing and re-launching. Setting all EXE files to 'Run as Administrator'. Nothing works
Suspected Issue: I noticed upon reinstall that GDMP didn't prompt me to login again, so it obviously stores my Google login info somewhere which is not cleansed when the app is uninstalled. Maybe there's some kind of cache which is to do with my user-data, which has become corrupted. I want to try hard-erasing it (to force login prompt) but I can't find where this is stored...

I have the trouble in Maxthon browser as well. I watch console and see
Uncaught TypeError: window.customElements.upgrade is not a function
    at RF (listen_v2.js:1136)
    at iLa.init (listen_v2.js:3360)
    at listen_v2.js:3372
    at HTMLScriptElement.onScriptLoad (listen:559)

I hope, it helps for solving.

Maybe the same issue as #3660 ?

Maybe the same issue as #3660 ?

Not the same issue, as this issue is for the W10 build and that issue was for the MacOS build (though the issues may be strongly related, but I have no knowledge to support that). That being said; the comments on that issue (3660) factually did resolve this problem for me (which is a good bit of luck!)
In 3660, Gibbel91 said:

I have the same issue on Windows 10.

There was a response from jfries289 which stated:

You can find the latest windows build to download at https://ci.appveyor.com/project/MarshallOfSound/google-play-music-desktop-player-unofficial/build/artifacts
I believe it has the fix for this in it.

This proved to be the correct fix and I can categorically state, it did work for me. The reason I didn't find the advice was that, I hadn't looked far back enough in the archive - and also the issues was tagged as MacOS. We could leave these as distinct threads for people performing Google searches, or they could be merged (or one could be deleted)
Thank you to everyone who has commented and helped :) problem solved

Removing C:\Users%username%\AppData\Roaming\Google Play Music Desktop Player folder and entering the login information again worked for me, tried the developments versions but the UI keeps hanged after the loading library screen.

I'm having the same issue here. I just tried what @jarayama proposed and still it does not work for me. Any other ideas?

Absolutely the same issue as #3660.


Support for GCB provenance

See https://cloud.google.com/build/docs/securing-builds/view-build-provenance
We need to decide what provenance input file we take as input:

The full result of the command above:

image_summary:
  digest: sha256:370938421b670a1489b98adac2ad41709bf0892be36382d50d563868dbfa5b16
  fully_qualified_digest: us-central1-docker.pkg.dev/PROJECT_ID/REPOSITORY/IMAGE@sha256:HASH
  registry: us-central1-docker.pkg.dev
  repository: REPOSITORY
provenance_summary:
  provenance:
  - build:
  ...

Or just the .payload part.
Both, because users make mistakes

Verification will work roughly as follows:

Use the keyid field to look up a hard-coded key. There are keys for each region, so we need to download them all ahead of time and add pre-submits to check whether some new regions have been created. (Note: keyid looks like projects/verified-builder/locations/<region>/keyRings/attestor/cryptoKeys/builtByGCB/cryptoKeyVersions/1)
Verify the signature using hardcoded key
Verify the builder is https://cloudbuild.googleapis.com/GoogleHostedWorker@vX. X depends on the SLSA levels. 0.2 is SLSA 2.
Verify fileHash is same as digest.sha256
Verify source. ~~Bucket does no work well yet. Building with gs://bucketname/source.zip gave:
gs://bucketname_cloudbuild/source/1659399946.445909-f440f71d9f054ecc8476c4c5ec39b465.zip#1659399946910830" in materials,  and:

"sourceProvenance": {
          "resolvedStorageSource": {
            "bucket": "bucketname_cloudbuild",
            "object": "source/1659399946.445909-f440f71d9f054ecc8476c4c5ec39b465.zip",
            "generation": "1659399946910830"
          },

in a custom field. Update: let's not support bucket since it does not meet the "version control" requirement.
I'll update this issue once I have tried building from a repository.
We are also going to need a --builder option to differentiate between builders. Having short names like GCB_level3 and GHA_generic_level3, etc could be useful. Maybe we could do that as part of https://github.com/slsa-framework/slsa-verifier/issues/158? Suggestions welcome.
It may also be useful to support provenance directly from stdin:
gcloud ... --show-provenance | slsa-verifier ...

I'll see if the team is interested in storing the provenance along the image on the registry (like cosign does): that would be a usability improvement.

/cc @ianlewis @asraa @joshuagl

Use the keyid field to look up a hard-coded key. There are keys for each region, so we need to download them all ahead of time and add pre-submits to check whether some new regions have been created. (Note: keyid looks like projects/verified-builder/locations/<region>/keyRings/attestor/cryptoKeys/builtByGCB/cryptoKeyVersions/1)

Can we not just download them on the fly rather than downloading them ahead of time? We could use the GetPublicKey API call (I hope there are hints in the provenance as to which region's key was used).

Fetching at runtime means we'd only rely on TLS, and TLS is sometimes intercepted. Hardcoding the keys is similar to the root CAs pre-stored on devices. It's good book-keeping to have these keys hardcoded in the code and in the commit history.
Cosign does something similar for Fulcio CA cert.

ok. We can at least automate it during the build using the API perhaps.

Cosign has TUF to securely update to newer versions of the keys when they are issued, is there an easy way to detect when GCB keys have expired or been replaced?

I see, thanks. There is currently no key rotation in place for GCB. They will add keys when a new region is created (keys are bound to a region). We need to work with them for v2 to have built-in support for key rotation. I'll mention TUF to them for v2.
re: TLS interception. The REST API seems to use the Google CA http://pki.goog/gsr1/gsr1.crt. If we could pin the CA in the https connection, I think it'd be acceptable to fetch the cert real-time, instead of hardcoding it.
@ianlewis do you know if this is something we can rely on? Are they going to keep using this CA.. or is there a chance they will change?

re: TLS interception. The REST API seems to use the Google CA http://pki.goog/gsr1/gsr1.crt. If we could pin the CA in the https connection, I think it'd be acceptable to fetch the cert real-time, instead of hardcoding it. @ianlewis do you know if this is something we can rely on? Are they going to keep using this CA.. or is there a chance they will change?

I think it's pretty unlikely that it will change, But I think if we are going to pin certs, we might as well pin the ones we really care about and pin the GCB ones.

I'll see if the team is interested in storing the provenance along the image on the registry (like cosign does): that would be a usability improvement.

quick comment: when they migrate to tekton and support tekton chains for provenance, that exposes an option to store provenance in a variety of places, including on the oci registry itself.

you're correct, they are planning for this in a future version.

This done. Closing.


vak learncurve fails to create training sets

configs_llb11_llb16.zip
Birds llb11 and llb16 have datasets of ~30,000 seconds each.
Still, after running prep several times with the attached configs the learncurve step does not succeed in creating the training sets.
The training set duration specified are larger than previously (and successfully) attempted.
Can it be that now training sets are prevented from overlap?

we are working on this now -- closing since there's not a specific code issue here to address


Docs fixes (NDabs, Proposal, MultiProposal)

Description
Documentation updates.

Fixes #13429 - Note that NDabs no longer incorrectly appears in the Optimization API: preview Optimization
Fixes #15134 - Docs updated according to suggestion from @William-jia

preview MultiProposal
preview Proposal

@mxnet-label-bot Add [Doc]


Go 117

Codecov Report

Merging #12 (e9b37cc) into main (6231811) will not change coverage.
The diff coverage is 87.50%.

@@           Coverage Diff           @@
##             main      #12   +/-   ##
=======================================
  Coverage   79.25%   79.25%
=======================================
  Files          32       32
  Lines        5524     5524
=======================================
  Hits         4378     4378
  Misses        827      827
  Partials      319      319

Impacted Files
Coverage Δ

font.go
52.91% <50.00%> (ø)

compare.go
42.37% <100.00%> (ø)

fpdf.go
82.08% <100.00%> (ø)

svgbasic.go
89.18% <100.00%> (ø)

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 6231811...e9b37cc. Read the comment docs.


fix: improve TS types for launching browsers

This commit tidies up the quite confusing state of all the various types
required to launch a browser. As we saw when upgrading DevTools
(https://source.chromium.org/chromium/chromium/src/+/master:third_party/devtools-frontend/src/test/conductor/hooks.ts;l=77),
we had to define our launch options variable like so:
const opts: puppeteer.LaunchOptions & puppeteer.ChromeArgOptions & puppeteer.BrowserOptions = {
  ...
};

This commit fixes that by introducing AllNodeLaunchOptions, which is
defined as the intersection of all the above types.
Additionally, the types defined as ChromeArgOptions are actually used
for launching both Chrome and Firefox, so I have renamed them to
BrowserArgOptions, and therefore this change is breaking because
anyone using ChromeArgOptions in their types will need to switch.
BREAKING CHANGE: renamed type ChromeArgOptions to BrowserArgOptions

@sadym-chromium Please also take a look


Adds Compatibility for macOS/OS X

Allows macOS users to compile just as easily as Linux users can.
Somewhat significant changes were required for tutorial 6, everything else is straightforward.  In tutorial 6 for macOS, GLEW is not needed, as all its functionality is implemented in Apple's OpenGL.  Also it doesn't come preinstalled, and is very tough to install/compile from source (at least I couldn't do it) -- therefore it has been removed altogether for macOS.
Also, the only places where the code for Ubuntu also changes is inside the shaders.  #version 120 is the correct version to use (not 130), because that is the one which corresponds to OpenGL 2.1 (Wikipedia).  Neither shader compiles on macOS if #version 130 is done.
All other changes are only applied to macOS using #ifdef __APPLE__, so the Linux code remains unchanged.  Similarly for Makefiles, uname -s is used to determine which OS the user is on.
I have tested this on macOS Sierra 10.12 (16A323) and Ubuntu 16.04 myself.

Installing glew in macOS is very simple - just use homebrew (http://brew.sh/). After homebrew is installed

brew install glew

will install glew.
Thank you, for the updates.


arrows are not displayed on the images

Hello,
I cannot manage to add arrows or to have them visible (and the background-color is not a problem, because the images have different colors and on neither of them are the arrows visible).
Did I do something wrong? Sorry if it isn't a bug.
I tried adding arrowPrevIcon and arrowNextIcon, but the arrows are not visible with or without these properties.
This is the code:
         <ngx-gallery [options]="galleryOptions" [images]="galleryImages"></ngx-gallery>
`            this.galleryOptions = [
{
thumbnails: false,
preview: false,
imageBullets: true,
width: '300px',
height: '200px',
arrowPrevIcon: "fa fa-arrow-circle-o-left",
arrowNextIcon: "fa fa-arrow-circle-o-right"
},
//max-width 800
{
breakpoint: 800,
width: '200px',
height: '170px'
},
//max-width
{
breakpoint: 400
}
]
    this.galleryImages = [
      {
        small: 'assets/images/calendar/autumn.jpg',
        medium: 'assets/images/calendar/autumn.jpg',
        big: 'assets/images/calendar/autumn.jpg'
      },
      {
        small: 'assets/images/calendar/spring.jpg',
        medium: 'assets/images/calendar/spring.jpg',
        big: 'assets/images/calendar/spring.jpg'
      },
      {
        small: 'assets/images/calendar/summer.jpg',
        medium: 'assets/images/calendar/summer.jpg',
        big: 'assets/images/calendar/summer.jpg'
      },
      {
        small: 'assets/images/calendar/winter.jpg',
        medium: 'assets/images/calendar/winter.jpg',
        big: 'assets/images/calendar/winter.jpg'
      }
    ];
     }`

@idomiralin , you need to install "npm install --save font-awesome angular-font-awesome" and do some changes in your angular-cli.json
https://www.npmjs.com/package/angular-font-awesome

@naveen554 thank you, but now I can see two small boxes instead of arrows. Do you have any idea why?

any lucky ? Same problem here

What I do is instead of pasting the font-awesome.css in angular.json I pasted it on my styles.scss like
@import '~font-awesome/css/font-awesome.css'; and it works fine.

The '~' means it will tell angular to look for font-awesome inside the node_modules. In your case maybe your path is incorrect?

is arrows are displaying   ?

Yes both arrows and close button displays but is there any solution that i
could set the width of the preview? Thanks for response.
On Tue, 15 Oct 2019, 8:57 pm naveen554<EMAIL_ADDRESS>wrote:

is arrows are displaying ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/lukasz-galka/ngx-gallery/issues/276?email_source=notifications&email_token=ADNAKEHWHECNPE5EWQXCPLTQOW42DA5CNFSM4IVG7TSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBIUPRA#issuecomment-542197700,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADNAKEH42Q6QV6F6CF4SK5DQOW42DANCNFSM4IVG7TSA
.

same issue here.. i am using angular 8


Further CMake magic

Pull request checklist:

[x] CHANGELOG.md was updated, if applicable

Description

TODO:
MacOS build failing because PajladaSettings doesn't build with our version of the FindRapidJSON package

CMAKE build for windows missing libcrypto & libssl .dll files:

Copying them over from existing nightly build allows Chatterino CMAKE build to run, however.

MacOS is missing the Icon

CMAKE build for windows missing libcrypto & libssl .dll files:

Copying them over from existing nightly build allows Chatterino CMAKE build to run, however.

Could you try the new windows zip in the cmake-build release https://github.com/Chatterino/chatterino2/releases/tag/cmake-build ?

Could you try the new windows zip in the cmake-build release https://github.com/Chatterino/chatterino2/releases/tag/cmake-build ?

The missing .dll files are now included and it launches now. Cool.


Implement SSO for Plesk

thnx for the reviews, i will look at it how we could generalise the flow. currently i have only plesk to test, if anyone knows the api docs of other server management tools or test account, it would be great to know

thnx for the reviews, i will look at it how we could generalise the flow. currently i have only plesk to test, if anyone knows the api docs of other server management tools or test account, it would be great to know

We need to rename things so it could be used generally and update the server adapter it self to support sso. So in the future other users can implement their own system....

any review?

any review?

I see @BelleNottelling has already engaged with you, so I will leave it for them to further review.
However, note that this is not currently passing the CI checks - these should all be passing before requesting review.

I had problems also when i was installing the fossbilling manually:
https://fossbilling.org/docs/getting-started/building
I didn't make any change in composer.json / lock. So it would be great if someone give a look, thx.

I rarely review things that still have failing checks as that to mean that the PR is likely still incomplete.

I had problems with "composer install" also when i was installing the fossbilling manually

I'm sorry, but we can't really help you unless you give details on what problems you had.
The preview workflow is building correctly so the best I can say is that the issue seems to be specific to your setup

I had problems with "composer install" also when i was installing the fossbilling manually: https://fossbilling.org/docs/getting-started/building I didn't make any change in composer.json / lock. So it would be great if someone give a look, thx.

Could you advise what the issues/errors are? It's difficult to comment without knowing what is going wrong.

sorry i totally forgot about tests, now it should be solved :)

Okay, I've given a good look over the changes and my initial thought is that this can be done cleaner while retaining the current implementation, however there are two variants of implementations that I can think of:

We implement a "login" API endpoint that accepts an order ID. That will fetch the correct info from the DB and then pass that along to a server manager's getLoginUrl function. If the server manager supports SSO, it'll use the info provided to create an SSO link and return it, but if it doesn't then it just returns a link to the login page as they currently do now. The login endpoint will then take that link and send it to the client as a temporary redirect header (to prevent it from being cached by the browser). This method would reduce the number of similar functions that need to be implemented and removes to the need to ask a server manager if it supports SSO. The downside is that this would be another breaking change and would either need to happen basically at this very moment or it will have to wait until 0.7.0.
The implementation you've done here were server managers need to define 3 different functions and it also needs to be checked within the panel. This is functionally fine, I just consider to to be less optimal implementation. Ultimately if other team members are OK with that choice then I am also OK with it, but only once you clean it up more as things can be done so that server managers which lack SSO support don't need to define getLoginUrl, generateSsoLink, and ssoSupport all at the same time.

Personally, I would much rather do option number 1 and if everyone else agrees I am willing to spin up a new PR that implements that and your SSO login code for the Plesk adapter with you as a co-author and then get that to be one of the final items for 0.6.0.
Otherwise, I will probably say that this needs to wait and be a part of 0.6.1 as we are basically in the final week of changes and at this stage we really only want to be merging either bug-fixes or some of the very final items for the 0.6.0 release (which even then, some of those are somewhat likely to get delayed until a later release).
@admdly, @John-S4, @jaapmarcus, and @evrifaessa please share your thoughts

Thnx for review.
I think the "getLoginUrl" should only return the ServerUrl to output or redirect. One function should have only one task, so it's independent executable/callable.
Either way we have to check if the ServerManager supports SSO, that's why i don't see a redundant here with 3 Functions.
getLoginUrl() => the server url
ssoSupport => checks if the server manager supports sso. could be stored in db to detach this function.
generateSsoLink => generates a link for 1minute.

I think the "getLoginUrl" should only return the ServerUrl to output or redirect. One function should have only one task, so it's independent executable/callable.

With what I suggested, it does exactly that. It turns a link and the system handles the redirect when needed, not the function. But at the end of the day getLoginUrl and generateSsoLink in this PR are two seperate functions which are handling virtually identical purposes. Both give a link that will get the user logged into the control panel. One option simply bypasses the need for them to enter their credentials manually.
Separately as you have proposed means the system needs to have separate code paths and behavior that allows it to do nearly the same thing in two different ways which is simply unneeded complexity. If we pass the order info to getLoginUrl a sever manager that supports SSO can generate an SSO link and return that. If it doesn't support SSO then it has to do nothing other than return a link to the login page much like they do now. Merging them reduces branching behavior and complexity for both the system and the server manger.

Either way we have to check if the ServerManager supports SSO, that's why i don't see a redundant here with 3 Functions.

I am sorry, but this is simply wrong. If the Server_Manager class is setup correctly the ssoSupport and generateSsoLink functions can have default returns for when a server does not support SSO link generation. Then the only time a server manager would need to define all 3 is it does support SSO link generation. The other server managers would not need to do so & this would reduce what is otherwise completely unnecessary clutter in those server managers.

in your suggestion the usecase would be;

"Login" button redirects to intern api andpoint/controller
This endpoint calls "getLoginUrl"
getLoginUrl redirects either with SSO or without
So the ssoSupport and generateSsoLink will be detached. Correct?

Kind of, except with what I proposed we shouldn't need ssoSupport or generateSsoLink.
At the absolute most if we need a way to generate non SSO links we can either add an optional parameter to the function or build it to expect null in place of the Server_Account parameter. Either way gives us an expected behavior to generate a non-SSO link.
But you don't need to go and change your PR right now.
I intentionally opened the conversation up to other team members. If they are happy with your solution, all I want is for the little bit of cleanup that's needed to remove the ssoSupport and generateSsoLink functions from server managers that don't support SSO link generation.
If the other team members prefer what I proposed. I can also handle that work and make a PR that does that + the code you've created to get the plesk SSO going, so that way you still don't need to completely redo your PR again.

We implement a "login" API endpoint that accepts an order ID...

@BelleNottelling This seems like a sensible option to me, clean and simple. I'd vote for option 1 over option 2.

@BelleNottelling has made some great suggestions here, and like @John-S4 I would vote for option 1 over option 2 (assuming the login endpoint is authenticated - which I'm sure doesn't need to be said, but I will state anyway for clarity).
@azizozbek I understand the argument about separation of concerns with individual functions, however as with everything there is a balance to be had between simplicity and sticking to a rigid definition of a "function". At the end of the day, there's no reason to add additional complexity simply to stick to some stated programming ideal.

thnx for reviews. @BelleNottelling would you refactor the code and do the PR or should i do it?

thnx for reviews. @BelleNottelling would you refactor the code and do the PR or should i do it?

Hi thanks! I'll take care of it and get a PR up in a bit


docs(examples): explain supply chain live development

We should have documentation for how to develop the supply chain app front-end with live-reloading enabled.
The ionic serve command has a built-in reverse-proxy feature that makes this possible quite easily with
the right configuration in place.
How to achieve this is explained in the README.md file of the supply chain app and the necessary updates
were made so that it actually works.

cc: @RafaelAPB


🐛 Bug Report: System limit for number of file watchers reached

📜 Description
I am getting the following issue in the build pipeline
The docker image I am using 18.14.1-alpine
yarn run v1.22.19
$ tsc
Done in 31.32s.
yarn run v1.22.19
$ backstage-cli package build
Building app separately because it is a bundled package
app:  [2K
app:  [1G[2m$ backstage-cli package build[22m
app:
app:
app:  [31mError: ENOSPC: System limit for number of file watchers reached, watch '/app/app-config.yaml'[39m
app:
app:
app:  [2K
app:  [1G[31merror[39m Command failed with exit code 1.
app:
app:  [2K[1G[34minfo[39m Visit [1mhttps://yarnpkg.com/en/docs/cli/run[22m for documentation about this command.
app:
Command 'yarn' exited with code 1
👍 Expected behavior
The prod pipeline should have any file watchers.
👎 Actual Behavior with Screenshots
INFO[1198] Running: [/bin/sh -c yarn tsc &&  yarn --cwd packages/backend build]
yarn run v1.22.19
$ tsc
Done in 31.32s.
yarn run v1.22.19
$ backstage-cli package build
Building app separately because it is a bundled package
app:
app:  $ backstage-cli package build
app:
app:
app:  Error: ENOSPC: System limit for number of file watchers reached, watch '/app/app-config.yaml'
app:
app:
app:
app:  error Command failed with exit code 1.
app:
app:  info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
app:
Command 'yarn' exited with code 1
👟 Reproduction steps
The build pipeline produces the above error.
📃 Provide the context for the Bug.

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, I don't have time to work on this right now

I am not sure if it is an environmental issue or not. However, I am interested to know the purpose of the file watcher in the production environment.

Hi @myplaybooks, would it be possible to share your Dockerfile, please?

@awanlin
This is my Dockerfile, its based on the https://backstage.io/docs/deployment/docker/#multi-stage-build
I am facing issue at: yarn --cwd packages/backend build
`
FROM my-private-repo/docker.io/node:18.14.1-alpine AS build
ARG CACHEBUST=1
WORKDIR /app
COPY package.json yarn.lock .yarnrc generate_npmrc.sh ./
COPY packages packages
COPY plugins plugins
RUN find packages ! -name "package.json" -mindepth 2 -maxdepth 2 -exec rm -rf {} +
install sqlite3 dependencies
RUN apk update &&
apk add -q --no-cache sqlite-dev~=3.40 python3~=3.10 g++~=12.2 build-base~=0.5 &&
yarn config set python /usr/bin/python3 &&
yarn config set strict-ssl false
RUN yarn install --frozen-lockfile --network-timeout 600000 && rm -rf "$(yarn cache dir)"
COPY . .
RUN yarn tsc &&
yarn --cwd packages/backend build
Stage 2 - Build the actual backend image and install production dependencies
FROM my-private-repo/docker.io/node:18.14.1-alpine
RUN npm update -g npm &&
npm install -g<EMAIL_ADDRESS>&&
apk update &&
apk add -q --no-cache sqlite-dev~=3.40 python3~=3.10 g++~=12.2 build-base~=0.5 py3-pipcommunity~=22.3 binutils~=2.40 &&
yarn config set python /usr/bin/python3 &&
yarn config set strict-ssl false
WORKDIR /app
Copy the install dependencies from the build stage and context
COPY --from=build /app/yarn.lock /app/package.json /app/packages/backend/dist/skeleton.tar.gz ./
COPY --from=build /app/.yarnrc ./
RUN tar xzf skeleton.tar.gz && rm skeleton.tar.gz && yarn config set strict-ssl false
RUN yarn install --frozen-lockfile --production --network-timeout 600000 && rm -rf "$(yarn cache dir)"
Copy the built packages from the build stage
COPY --from=build /app/packages/backend/dist/bundle.tar.gz .
RUN tar xzf bundle.tar.gz && rm bundle.tar.gz
Copy any other files that we need at runtime
COPY app-config.ist.yaml ./
RUN chown -R node:node /app
USER node
CMD ["node", "packages/backend", "--config", "app-config.ist.yaml"]
`

Thanks @myplaybooks, can you tell me where are you running this when you hit the error? Just locally? When you build this in maybe a CI/CD pipeline?
Also, host custom is this: my-private-repo/docker.io/node:18.14.1-alpine?

Yeah, its happening in the production CI/CD pipeline. I couldn't reproduce the error locally.
The Alpine image is from my-private-repo/docker.io, which is our private repository, I just masked the company URL.
I think ENOSPC: System limit for number of file watchers reached error is due to fs.inotify.max_user_watches value.
I need to know why we have file watchers? can we disable it in the production environment?

Was just going to follow up with what @camilaibs suggested, also if possible reboot as that was another solution I saw on the Backstage Discord server that worked.
Some more ideas might in this issue: https://github.com/gatsbyjs/gatsby/issues/11406
Also, a bit more background, I'm still digging into this myself as a learning opportunity: from my reading react seems to use watchman on Linuix which then uses inotify, but I'm still not sure why that gets used for this command by Backstage, it could just be some underlying part of react that is using it. https://reactnative.dev/docs/troubleshooting.html#unable-to-start-react-native-package-manager-on-linux

@camilaibs @awanlin
I have tried to increase the max_user_watches through dockerfile file, but when I try to reload the configuration after I set the value, I got sysctl: error setting key 'fs.inotify.max_user_watches': Read-only file system error.
After some research, I got to know that Docker doesn't let the sysctl to be modified during the build for images because it takes it from the host. To increase max_user_watches in the host, the DevOps team is asking for the reason for watchers in the production environment: https://shorturl.at/emzQ5.
Do we know why we need watchers? Hard to get approval to increase the number of file watchers without knowing the reason.

I have the same issue during application startup.

@Rugvip
I reproduced the issue locally by reducing fs.inotify.max_user_watches < 300 and got the above error.
My doubt is are we using ~300 file watchers?? Will the above PR fix that?

Is the 300ish file watcher happening during yarn build or yarn start? If it's yarn start locally we expect a lot of file watchers as we monitor source files for hot reload

during backstage-cli package build stage

Alright, thanks for reporting back. That does sound unexpected. Maybe the webpack build spins up watchers and needs to have that explicitly disabled, or similar? Opening up for more investigation and contributions 🙏

@freben
PR added disable config watching flag is already in progress. I have tested the changes in the PR in our environment and it worked fine.
Thanks for the help @jhaals @Rugvip @freben


Update perf target and cleanup

This PR:

Avoids threaded functions when threading is disabled
Adds held suarez forcing to the perf target (I noticed allocations in Held Suarez forcing, so it could be costing us)
Adds a call to Profile.clear() in the flame graph script (I'm hoping that this may clear out global scope calls)
Cleans up some unused functions

Wow, this actually changes the picture quite a bit. Alleviating ^ seems definitely worth the effort now.

bors r+

bors r+


Prepare Lisk Service v0.9.0 for alpha

Description
The purpose of this epic is to prepare the Lisk Service v0.9.0-alpha.0 release
Tasks

We will no longer have alpha preparation epics, hence closing.


python: Expose vendored vega version string

Originally posted by @dangotbanned in review

@mattijn I've settled on the solution here for now:

feat: Adds vl_convert_to_vega_version, remove vegalite_to_vega_ver…

I'm going to open an issue on https://github.com/vega/vl-convert to see if we can later replace this with a public vl_convert function/attribute.
The result would be the same and depend on the same const, but would be less reliant on the structure of vl-convert-vendor/src/main.rs

@jonmmease I was wondering if you'd be able to expose the version string component ("v5.30.0") of this under the top level vl_convert.___?
https://github.com/vega/vl-convert/blob/65bb8360d9adfe64d0d17d1364005aebec6bf5cd/vl-convert-vendor/src/main.rs#L58
The specific use-case here is to ensure we generate the correct alt.expr.___ methods, corresponding to a given vega release.
My first attempt used the dependencies in vega-lite, but this doesn't specify v5.3.0
https://github.com/vega/vega-lite/blob/c7697dc293b606ba60c7e374dbf9a77226f91225/package.json#L137-L138
Related

https://github.com/vega/altair/pull/3600#discussion_r1781010865

Hi @dangotbanned, yeah exposing the vendored version numbers makes a lot of sense.


Some images are not visible

Reproduction steps
I go through this project and see the images are not visible properly
Expected behavior
The images should properly arranged in a manner and in a equal distance . and it should visible properly.
Actual Behavior

The images are not visible
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

pls assign me the design of these images.

@Nikita110602 You can go for it.
For any help, you can reach out to me here: https://sauravmukherjee.bio.link/

Thank you @SauravMukherjee44
On Tue, 30 May 2023, 8:54 am Saurav Mukherjee, @.***>
wrote:

@Nikita110602 https://github.com/Nikita110602 You can go for it.
For any help, you can reach out to me here:
https://sauravmukherjee.bio.link/
—
Reply to this email directly, view it on GitHub
https://github.com/SauravMukherjee44/Aec-Library-Website/issues/1252#issuecomment-1567708025,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2SZRK6PBCWSVYRSJ6RZ5MLXIVR5NANCNFSM6AAAAAAYSADAQY
.
You are receiving this because you were mentioned.Message ID:
@.***>

I'm a GSSoC contributor ..
I would like to work on this section...
would you please assign me to this task ??


Fix index out of range error in ZeRO optimizer

Fix index out of range error when parameter count is not multiple of ranks.
Closing #129

Changes look fine to me. If there's a feasible way to add a reproducing unit test, I think that is a good idea too.

Thanks for the suggestion. I will work on that.

Awesome, thanks Tunji!


Responsive

WHEN I resize the page or view the site on various screens and devices
THEN I am presented with a responsive layout that adapts to my viewport

done, but without media queries and breakpoints. adding another issue to tackle those


Untested port of cis-benchmark action to the kubernetes-control-plane

Overview
Addresses LP#2044219
Re adds the cis-benchmark action from the reactive charm implementation
Details
Takes a shot at porting the action from layer-cis-benchmark into ops.  If it works out well -- likely convert to an ops version of this file in the original layer and included it as a pip package.

any chance of movement on this?

@VariableDeclared should be in 1.31/edge tomorrow... i'll kick the build to be sure


Dev milestone 3 stellar relay pallet validator set 110

definitely it is possible. i am preparing the unit tests and will commit them.

Good job with the tests, I like it 👍


Fix test for converting tensor to proper dtype

I made a typo in #920 and forgot a not while copy-pasting some code :grimacing:
This PR fixes that.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Parsing error: Cannot read property 'map' of undefined

Appears related to: https://github.com/facebook/create-react-app/issues/9583
Causing build failure on my mac.

[ ] Investigate

[ ] Fix

[ ] Merge

No need to publish - package build time problem only.


CI / CD - production auto update on anyway master commit

It's inconvenient for us today to maintain releases - since some airflow dags use anyway code - and we need to create a release every time anyway code updates.
For now, we prefer production to update every time anyway master updates.

The airflow dags only depend on anyway model, not on anyway code so I think they only rarely require to be updated
Which dags are you referring to?

I see there are many changes which I didn't review, so I don't know exactly the current status, but AFAIK the waze and cbs dags depend on anyway model in the following places:

https://github.com/hasadna/anyway-etl/blob/main/anyway_etl/cbs/import_to_datastore.py#L10
https://github.com/hasadna/anyway-etl/blob/main/anyway_etl/waze/config.py#L4

Thanks.
In that case I believe we can use CI/CD to airflow master - when merging to anyway master.
I see no reason to do it by release - and I assume it's a minor change in the CI/CD pipeline

yes, it's easy to do, but it increases the risk of breaking the airflow dags, this happened in the past in this issue - https://github.com/hasadna/anyway/issues/1910 - where the anyway code was updated with the error in August 30, but the airflow dags only broke when anyway-etl was released on September 16. Also, if we test anyway-etl releases before deploying we can catch these errors before production, if we deploy immediately to prod we have no chance to catch it before breaking production.
In addition, until now there was never a reason to publish a release for the sole reason of updating the related anyway code (and I don't see any reason to do it in the future). So this change does not make anything easier and doesn't improve anything.

I understand. Thank you @OriHoch!
Just to make sure things clear - Any DAG that uses anyway code (rather than anyway model) - for example these dags - will run in anyway production (meaning they actually depend on www.github.com/hasadna/anyway CI/CD rather than airflow CI/CD?

They run the code same as jenkins did on the anyway-main pod, so whatever version is on amyway-main pod is the version that they will run


How to calculate contract address of starkPubKey ?

I have starkPubKey generated from keypair which is also generated from my privateKey,
How could I calculate the contract address from that starkPubKey ?

You need deploy a account contract

@mthinh As stated by @leezijie you first deploy an account, check out how this is done in the workshop repository https://github.com/0xs34n/starknet.js-workshop/blob/d1f51b81e724886d66895d27d08e668465631eb5/index.js#L47

Although, I have to double check if possible in starknet.js, but there should be a way to calculate the address without deploying an account first, similar to https://docs.openzeppelin.com/cli/2.8/deploying-with-create2

This should be it:
https://github.com/0xs34n/starknet.js/blob/f296554c48873f57eaeb879978ca43920ffbeebc/src/utils/hash.ts#L144

@ivpavici Tks, I have used this function but the output was not the same with the address I receive from deployContract response.
I used contract and starkPubkey as an input of deployContract.
then when I call
calculateContractAddressFromHash(starkPubKey, undefined, [], 0)
Is this the correct way to calculate address ?

export  function calculateContractAddressFromHash(salt: BigNumberish, classHash: BigNumberish, constructorCalldata: RawCalldata, deployerAddress: BigNumberish): string;
Are classHash constructorCalldata and deployerAddress always required ?
Sr I have no idea and where to get deployerAddress
Sr I'm really new to blockchain

Yes. deployerAddress is mostly the factoryAddress. You can learn more about Factory Pattern here .
Having said so, it doesn't HAVE to be a factory contract. If you are deploying a contract, you can just use your account address in deployerAddress.

@dhruvkelawala hmm, I don't really get you here, but let me tell you my context.
Im working on restoring a deployed account.
So I have a private key then I get a keypair and publicStarkKey from that private key tks to ec.getKeyPair(privKey) and ec.getStarkKey(keypaird) . The thing is how can I calculate my account address (the account that I had deployed before) from those two ?


Update to Jest 28

Currently blocked by https://github.com/facebook/jest/issues/12745.

Need to change https://github.com/nicolo-ribaudo/jest-light-runner/blob/53ceb2abd515f80afecb1f00a02c2d4fa7dc0141/src/global-setup.js#L4 to import { expect } from "expect";


SignatureDef of saved Keras models should match the Keras input and output dict

System information

TensorFlow version (you are using): 2.6.0-dev20210329
Are you willing to contribute it (Yes/No): Yes (although I'd need some pointers to where to look for this particular issue)

Describe the feature and the current behavior/state.
Currently when saving Keras models using the saved model format, the input and output names in the SignatureDef refer to the names of the tensors of the model. Unfortunately these names are not fixes since they depend on implementation details like the number of times the model has been built (this might be problematic during fine tuning). This makes it hard to construct multi input and output models that are intended to be used with saved models during serving or with TFLite.
In contrast to Keras the saved model format and therefore also the TFLite converter do not preserve the output ordering, which makes using a list as output of the Keras model not a valid use. For more information why this leads to problems please see #47927.
It would be great if the SignatureDef of the saved model would match the dictionary keys of the input and output of the Keras model or if saved models would preserve the order of inputs and outputs matching Python and Keras:
import tensorflow as tf

def build_model():
    input_tensor = tf.keras.layers.Input((32, 32, 128))
    x = input_tensor

    boxes = tf.keras.layers.Conv2D(4, (3, 3))(x)
    boxes = tf.reshape(boxes, (-1, 4))

    scores = tf.keras.layers.Conv2D(1, (3, 3))(x)
    scores = tf.reshape(scores, (-1,))

    return  tf.keras.Model({"inputs": input_tensor}, {"boxes": boxes, "scores": scores})

model = build_model()
model = build_model()

model.save("/tmp/model")

restored_fn = tf.saved_model.load("/tmp/model")
concrete_fn = restored_fn.signatures["serving_default"]

# Would be great if these would match the Keras model:
# signature_wrapper(*, input_6)
# Args:
#   input: float32 Tensor, shape=(None, 32, 32, 128)
# Returns:
#   {'boxes': <1>, 'scores': <2>}
#     <1>: float32 Tensor, shape=(None, 4)
#     <2>: float32 Tensor, shape=(None,)

# Instead the keys are layer names which depends on implementation details and on how often the model
# was instantiated: (e.g input_6, tf.reshape_8, tf.reshape_9)
print(concrete_fn.pretty_printed_signature())

To make this work currently one needs to use the following workaround which requires users to learn about the low-level tf.function API despite that all the information was already present in the Keras model:
@tf.function(input_signature=[tf.TensorSpec([None, 32, 32, 128], dtype=tf.float32, name="input")])
def override_output_signatures(input_tensor):
   outputs = model(input_tensor)
   return {"boxes": outputs["boxes"], "scores": outputs["scores"]}

signatures = override_output_signatures.get_concrete_function()
tf.saved_model.save(model, export_dir="/tmp/saved_model", signatures=signatures)

For a complete reproducible example please see this notebook.
Will this change the current api? How?
This proposal wouldn't require any the API changes on the Python side since this usage is already supported in Keras, however it might change the names of serialized multi input/output models. However, I don't think this is a problem in general since currently Keras saved models do not have deterministic output naming either.
Who will benefit with this feature?
People working with multi input and output models that require serialization to saved models would greatly benefit from a way to easily set function signatures when saving Keras models. For more motivation for TFLite users, please see #47927.

The signature def API is designed intentionally without having an intuitive order. It would be better to stick with the naming instead of the order.

I think this is a problem of exporting the given keras model to the corresponding saved model, which means that this is not related to TFLite.

I am trying to use this to solve an issue we are experiencing with TF rearranging the output order of our Keras models (it seems to always want them to be in alphabetical order), but unfortunately your workaround still re-orders the outputs...
If I reproduce your example, but swap the output order so that "scores" is first, the original signature is in the correct order, but does not contain the names:
from collections import OrderedDict
import tensorflow as tf

def build_model():
    input_tensor = tf.keras.layers.Input((32, 32, 128))
    x = input_tensor

    scores = tf.keras.layers.Conv2D(1, (3, 3))(x)
    scores = tf.reshape(scores, (-1,))

    boxes = tf.keras.layers.Conv2D(4, (3, 3))(x)
    boxes = tf.reshape(boxes, (-1, 4))

    return tf.keras.Model({"inputs": input_tensor}, {"scores": scores, "boxes": boxes})

model = build_model()
model.save("/tmp/model")
restored_fn = tf.saved_model.load("/tmp/model")
concrete_fn = restored_fn.signatures["serving_default"]
print(concrete_fn.pretty_printed_signature())

Prints:
  Args:
    input_1: float32 Tensor, shape=(None, 32, 32, 128)
  Returns:
    {'tf.reshape': <1>, 'tf.reshape_1': <2>}
      <1>: float32 Tensor, shape=(None,)
      <2>: float32 Tensor, shape=(None, 4)

Whereas, with your workaround, the signature contains the names, but is out-of-order (I'm trying to force scores to appear first):
@tf.function(input_signature=[tf.TensorSpec([None, 32, 32, 128], dtype=tf.float32, name="input")])
def override_output_signatures(input_tensor):
   outputs = model(input_tensor)
   return OrderedDict([("scores", outputs["scores"]), ("boxes", outputs["boxes"])])

signatures = override_output_signatures.get_concrete_function()
tf.saved_model.save(model, export_dir="/tmp/saved_model", signatures=signatures)
print(tf.saved_model.load("/tmp/saved_model").signatures["serving_default"].pretty_printed_signature())

Prints:
  Args:
    input: float32 Tensor, shape=(None, 32, 32, 128)
  Returns:
    {'boxes': <1>, 'scores': <2>}
      <1>: float32 Tensor, shape=(None, 4)
      <2>: float32 Tensor, shape=(None,)

Any suggestions on how to alter your workaround to force consistent output order?

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


Frontend UX punchlist

From @MalteTinnus - this collects issues not captured elsewhere
Homepage

[x] Setup nav
[ ] Hook up (or hide) twitter and facebook sharing buttons
[x] Dynamic ‘runs’ and ‘views’ numbers for each app
[ ] Cleanup

Apps

[ ] Review results pages
[ ] Hookup (or hide) sharing buttons
[ ] Numbering of steps
[ ] Clarify input types for VERTICAL DETACHMENT ENERGY:

Enter PDB ID (text area), or upload PDB/mmCIF - no radio buttons

[ ] Clarify input file type for LIGAND REFINEMENT:

Text area + select one of: SMILES, IUPAC name, inCHI key
Or upload: XYZ, SDF, mol2, mmcif, PDB

[ ] Cleanup

After catching up with @MalteTinnus this morning, here are a few updates:

[ ] Homepage social buttons should just be hidden
[ ] Add PDBID title in view after upload
[ ] Cancel workflow confirmation
[ ] Canceled page design
[ ] Canceled status should redirect to the workflow
[ ] Links on "thank you" page

Dynamic runs and views in this PR: https://github.com/Autodesk/molecular-design-applications/pull/92

Also homepage nav anchors in https://github.com/Autodesk/molecular-design-applications/pull/92 as a bonus!

Another update from Malte in Slack:
Workflows

[ ] Put ‘Enter’ button behind all inputs
[ ] PDB and Email
[ ] Replace green dot with green checkmark
[ ] Next step only selectable if previous one has checkmark
[ ] No rollover indication
[ ] Steps with checkmarks are freely selectable
[ ] Text fields should keep entered text
[ ] Next step label fades in /out from 0.5 to 1 opacity once previous one has finished
[ ] Stops animation once clicked
[ ] Stays at 1 opacity
[ ] Add loading bar at bottom when loading PBD
[ ] Replace current ‘Run’ button with step button and number it. Put directly underneath all other steps
[ ] Rename ‘Run’ to ’Run Workflow’
[ ] Move ‘About’ to where ‘Run’ was
[ ] Rewrite text in ’Enter email’ step to: ‘Enter email. Once you click ‘Run Workflow’ we will send an email…’ (Aaron)

Running web page

[ ] Results page should replace waiting page automatically
[ ] Animation on running page missing

Result step

[ ] ‘Download button’ doesn’t work
[ ] Remove ‘Share’
[ ] Remove ‘Colorize’

Email

[ ] Remove blue and black box from email (Aaron)
[ ] Image don’t load
[ ] Clicking ‘view results’ should open workflow with ‘Results’ step selected

VDE

[ ] Add text in ‘Load molecule’ step (Aaron)
[ ] Input: Enter molecule here
[ ] Text underneath: Accepts SMILES, IUPAC, INCHI
—
[ ] Text: Or upload file.
[ ] Text: Accepts XYZ, SDF, MOL2, PDB, mmCIF
[ ] Button: Browse File

Some results checkboxes ticked with: https://github.com/Autodesk/molecular-design-applications/pull/130

@avirshup I'm going to close this issue in favor of specific smaller issues for anything that's still left.
Issues mentioned here:
https://github.com/Autodesk/molecular-design-applications/issues/176
https://github.com/Autodesk/molecular-design-applications/issues/177
PRs in progress mentioned here:
https://github.com/Autodesk/molecular-design-applications/pull/158
https://github.com/Autodesk/molecular-design-applications/pull/175
Let me know if there's anything else I'm missing here.  It's probably worth going over this with Malte when he gets back, because I wasn't sure on some of the last unchecked points here.


Intelligentbee - The job location does not match the information on the company's website for one of the job listings

ENVIRONMENT: production
URL: https://peviitor.ro
Browser: Chrome
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:

Open the url
Type "Intelligentbee" in search field
Press on search button
Click on "Run Scraper"
Navigate to and click the "Careers" button.

EXPECTED RESULTS:
The job location displayed on scrapers-UI for  "QA Tester - 6 months contract, hybrid, Bucuresti" role match information on the company's website
ACTUAL RESULTS:
The job location displayed on scrapers-UI for  "QA Tester - 6 months contract, hybrid, Bucuresti" role does not match information on the company's website
ATTACHMENTS:

fixed can you retest?

Retested ✅


WebGPU: add texture support flags

Added in https://github.com/DiligentGraphics/DiligentCore/commit/cbb9288905435c94ab90d7aee119778faae8a502


Housing prices quandl api

Exploring and getting data from Qunadl API which is getting their data from Zillow's database.

Pushing new data


Error: Please add a title

🐛  Bug Report

🤷♀ What did you do

⛔  Error log
Command failed with exit code 1: yarn add pg
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">=18.0.0 <=20.x.x". Got "21.7.1"
error Found incompatible module.
yarn add v1.22.21
[1/5] Validating package.json...
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
🕵♀ Stack trace
Error: Command failed with exit code 1: yarn add pg
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">=18.0.0 <=20.x.x". Got "21.7.1"
error Found incompatible module.
yarn add v1.22.21
[1/5] Validating package.json...
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
    at makeError (/Users/macos/.npm/_npx/a642ee8303c0fc2f/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/macos/.npm/_npx/a642ee8303c0fc2f/node_modules/execa/index.js:118:26)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async installDependecies (/Users/macos/.npm/_npx/a642ee8303c0fc2f/node_modules/@strapi-community/dockerize/core/dependencies.js:21:3)
    at async /Users/macos/.npm/_npx/a642ee8303c0fc2f/node_modules/@strapi-community/dockerize/index.js:63:4

🙇♀  Expected behavior/code
A clear and concise description of what you expected to happen (or code).
👩💻 Environment

📦  Node version:  v21.7.1
💻  OS: darwin x64

💡 Possible Solution

📺 Additional context/Screenshots

Your using node 21 not 20 downgrade node js


Fixed .head on empty list bug.

The strange part of this error is that if we have data on a partition, it should have a ReferenceRegion that  fits that partition bounds. If it does not, it should not be on that partition. This error was only happening on load. Is it possible that the number of partitions or partitioning changed somehow after loading from disk? I want to avoid filtering out data with the None values if we can.

Ugh! If an saved shard is larger than the HDFS block size (which is puny by default on the local FS implementation) then it may get split on load. I think we can address this problem but I'm not sure of the best way. Let me think on it.

Sorry I didn't clarify earlier today. I will also look into this and we can discuss it sometime later this week.


build: update server.ts location

Updates app.config.ts to match default one in v19 + custom app needs

#853
#852  👈 (View in Graphite)
#851
main

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


PR #1018 breaks commands that both echo text and renames the buffer

If I run a command that echoes text (such that I should have to hit return to continue) and renames the current buffer, vim-airline causes the message buffer to disappear instantly instead of waiting for the user to hit return.
Trivial reproduction scenario:

Open a new buffer
Type something into it
Run the following: :echo 'one' | echo 'two' | write /tmp/foo

You should see the message buffer appear and then disappear a fraction of a second later.

Specifically, this was caused by 08a877926805739446d8636bebf36fa78c3ea4f0.

does that fix it?
index 2e547f8..482bf47 100644
--- a/autoload/airline/extensions/tabline.vim
+++ b/autoload/airline/extensions/tabline.vim
@@ -57,7 +57,7 @@ function! s:update_tabline()
     return
   endif
   if empty(mapcheck("<Plug>AirlineTablineRefresh", 'n'))
-    noremap <silent> <Plug>AirlineTablineRefresh :set mod!<cr>
+    noremap <silent> <Plug>AirlineTablineRefresh :sil! set mod!<cr>
   endif
   call feedkeys("\<Plug>AirlineTablineRefresh")
   call feedkeys("\<Plug>AirlineTablineRefresh")

Else I suggest to set :let airline#extensions#tabline#disable_refresh = 1

@chrisbra No, that does not fix the problem.
How about this? Does this solve the problem that your mapping is trying to solve? Because I've verified that it fixes the issue I described:
diff --git a/autoload/airline/extensions/tabline.vim b/autoload/airline/extensions/tabline.vim
index 2e547f8..4848c85 100644
--- a/autoload/airline/extensions/tabline.vim
+++ b/autoload/airline/extensions/tabline.vim
@@ -56,11 +56,8 @@ function! s:update_tabline()
         \ || isdirectory(expand("<afile>"))
     return
   endif
-  if empty(mapcheck("<Plug>AirlineTablineRefresh", 'n'))
-    noremap <silent> <Plug>AirlineTablineRefresh :set mod!<cr>
-  endif
-  call feedkeys("\<Plug>AirlineTablineRefresh")
-  call feedkeys("\<Plug>AirlineTablineRefresh")
+  call setbufvar("", "mod", !&mod)
+  call setbufvar("", "mod", !&mod)
 endfunction

 function! airline#extensions#tabline#load_theme(palette)

unfortunately, this does not work. it only works when Vim thinks, this has been entered by the user, therefore, the feedkeys call. As a workaround, you can set :let airline#extensions#tabline#disable_refresh = 0 which should prevent this.

That workaround is not acceptable. vim-airline didn't used to break these plugins, and it probably breaks other things too that I'm not aware of.
Why does vim-airline need to toggle 'mod' like this?

Am 2016-03-01 01:10, schrieb Kevin Ballard:

That workaround is not acceptable. vim-airline didn't used to break
these plugins, and it probably breaks other things too that I'm not
aware of.
Why does vim-airline need to toggle 'mod' like this?

It's the only way I know of, to force re-evaluating the tabline
function.
(Try ':badd foobar', the tabline should update and show the newly added
buffer).
Might be better to write a patch for vim for having a :redrawtabline
command
similar to :redrawstatus. Will probably do that, but in any case it will
take some time, until it will get merged.
I don't have another solution however.

can you check PR #1076

@chrisbra Sorry for the delay. PR #1076 solves my problem. Thanks!


Sl/test solver

ConvAsm3x3 solver test. Passed CI after disabling Navi21 which is not supported by this solver.

This can't be merged in due to Navi21 issues. I recommend converting this into draft.

@junliume @JehandadKhan I highly recommend pausing with new GoogleTests until https://github.com/ROCmSoftwarePlatform/MIOpen/issues/1843#issuecomment-1307952826 is resolved.

@xinlipn

ConvAsm3x3 solver test.

Please describe which aspects of the solver's behavior this test is intended to check. Thanks.

This can't be merged in due to Navi21 issues. I recommend converting this into draft.

@atamazov ConvAsm3x3 doesn't support Navi21, only supports gfx8* and gfx9*.

@atamazov ConvAsm3x3 doesn't support Navi21, only supports gfx8* and gfx9*.

That is why this test won't pass on Navi21. If this PR is merged in, CI will always fail.

@xinlipn

@atamazov the intension is to bring test down to solver level for more granularity, i.e. each solver test will have its own gtest. Hope this makes sense.

Yes, this makes sense. However, this does not answer my question.

If we are writing tests for solvers then there should be unit tests for IsApplicable, GetSolution, and IsValidPerformanceConfig to get full branch coverage. For example, there is a lot of checking that is in IsApplicable, I would expect a unit test for each one of these branches. These unit tests should be very fast so it should easy to run through many configs to check all the branches.

This can't be merged in due to Navi21 issues. I recommend converting this into draft.

That is a false issue, if the solver is not applicable on Navi, then the test should skip instead of failing, since there is nothing to test! Please see my suggestion here

@junliume @JehandadKhan I highly recommend pausing with new GoogleTests until https://github.com/ROCmSoftwarePlatform/MIOpen/issues/1843#issuecomment-1307952826 is resolved.

I dont agree with that, since that would mean a new test which would enhance test coverage in MIOpen would be withering in our PR section. Since we wish to get to a place where we test each solver individually.

If we are writing tests for solvers then there should be unit tests for IsApplicable, GetSolution, and IsValidPerformanceConfig to get full branch coverage. For example, there is a lot of checking that is in IsApplicable, I would expect a unit test for each one of these branches. These unit tests should be very fast so it should easy to run through many configs to check all the branches.

I agree, however, that is not the intent of this PR. The purpose of this PR to increase numerical accuracy coverage to a new solver, which previously does not exists. The current testing infra uses the API to test numerical accuracy on the API level where individual solvers might get skipped since they were not fast enough. Once we have numerical coverage over all the solvers, we can start the work on unit testing each solver as you propose.
cc @xinlipn